/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/VectorCompiler/lib/GenXCodeGen/ |
H A D | GenXGEPLowering.cpp | 154 Value *PtrOp = GEP->getPointerOperand(); in lowerGetElementPtrInst() local 157 PointerType *PtrTy = dyn_cast<PointerType>(PtrOp->getType()); in lowerGetElementPtrInst() 163 IGC_ASSERT(PtrOp->getType()->isVectorTy()); in lowerGetElementPtrInst() 164 auto PtrOpVTy = cast<IGCLLVM::FixedVectorType>(PtrOp->getType()); in lowerGetElementPtrInst() 174 if (auto *I2PI = dyn_cast<IntToPtrInst>(PtrOp)) { in lowerGetElementPtrInst() 179 PointerValue = Builder->CreatePtrToInt(PtrOp, IntPtrTy); in lowerGetElementPtrInst() 186 if (GEPVecTy && isa<PointerType>(PtrOp->getType())) { in lowerGetElementPtrInst() 188 GEPVecTy->getNumElements(), PointerValue, PtrOp->getName() + ".splat"); in lowerGetElementPtrInst() 191 Type *Ty = PtrOp->getType(); in lowerGetElementPtrInst()
|
H A D | GenXPromoteArray.cpp | 290 auto *PtrOp = StI->getPointerOperand(); in replaceAggregatedStore() local 293 PtrOp, makeArrayRef(Indices)); in replaceAggregatedStore() 296 PtrOp, makeArrayRef(Indices)); in replaceAggregatedStore() 298 Ptr->setName(PtrOp->getName() + ".noAggrGEP"); in replaceAggregatedStore() 749 Value *PtrOp = GEP->getPointerOperand(); in handleGEPInst() local 750 PointerType *PtrTy = dyn_cast<PointerType>(PtrOp->getType()); in handleGEPInst()
|
/dports/devel/oclgrind/Oclgrind-21.10/src/plugins/ |
H A D | MemCheck.cpp | 30 const llvm::Value* PtrOp = nullptr; in instructionExecuted() local 34 PtrOp = LI->getPointerOperand(); in instructionExecuted() 38 PtrOp = SI->getPointerOperand(); in instructionExecuted() 47 llvm::dyn_cast<llvm::GetElementPtrInst>(PtrOp->stripPointerCasts())) in instructionExecuted() 51 PtrOp = GEPI->getPointerOperand(); in instructionExecuted()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 112 Value *PtrOp = Load->getPointerOperand()->stripPointerCasts(); in vectorizeLoadInsert() local 113 assert(isa<PointerType>(PtrOp->getType()) && "Expected a pointer type"); in vectorizeLoadInsert() 119 if (AS != PtrOp->getType()->getPointerAddressSpace()) in vectorizeLoadInsert() 120 PtrOp = Load->getPointerOperand(); in vectorizeLoadInsert() 133 if (!isSafeToLoadUnconditionally(PtrOp, MinVecTy, Alignment, DL, Load, &DT)) in vectorizeLoadInsert() 153 Value *CastedPtr = Builder.CreateBitCast(PtrOp, MinVecTy->getPointerTo(AS)); in vectorizeLoadInsert()
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/CISACodeGen/ |
H A D | GenIRLowering.cpp | 573 Value* const PtrOp = GEP->getPointerOperand(); in lowerGetElementPtrInst() local 574 IGC_ASSERT(nullptr != PtrOp); in lowerGetElementPtrInst() 575 PointerType* const PtrTy = dyn_cast<PointerType>(PtrOp->getType()); in lowerGetElementPtrInst() 620 if (IntToPtrInst * I2PI = dyn_cast<IntToPtrInst>(PtrOp)) { in lowerGetElementPtrInst() 627 BasePointer = Builder->CreatePtrToInt(PtrOp, IntPtrTy); in lowerGetElementPtrInst() 729 … if (loop != nullptr && loop->isLoopInvariant(PtrOp) && binaryOp->getOpcode() == Instruction::Add) in lowerGetElementPtrInst() 780 if (loop && loop->isLoopInvariant(PtrOp)) in lowerGetElementPtrInst()
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/IGCInstCombiner/4.0/ |
H A D | InstructionCombining.cpp | 1402 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 1443 if (PHINode *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 1546 PtrOp = NewGEP; in visitGetElementPtrInst() 1553 if (GEPOperator *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 1599 Sum = Builder->CreateAdd(SO1, GO1, PtrOp->getName()+".sum"); in visitGetElementPtrInst() 1676 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 1683 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 1859 PtrOp = BC; in visitGetElementPtrInst() 1867 if (BitCastInst *BCI = dyn_cast<BitCastInst>(PtrOp)) { in visitGetElementPtrInst() 1923 PtrOp->stripAndAccumulateInBoundsConstantOffsets(DL, in visitGetElementPtrInst() [all …]
|
/dports/devel/intel-graphics-compiler/intel-graphics-compiler-igc-1.0.9636/IGC/Compiler/Optimizer/IGCInstCombiner/7.0/ |
H A D | InstructionCombining.cpp | 1473 Value* PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 1518 if (auto * PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 1625 PtrOp = NewGEP; in visitGetElementPtrInst() 1631 if (auto * Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 1674 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst() 1800 Value* StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 1803 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 1972 Value* ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst() 1973 if (auto * ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst() 2061 PtrOp->stripAndAccumulateInBoundsConstantOffsets(DL, in visitGetElementPtrInst() [all …]
|
/dports/devel/llvm80/llvm-8.0.1.src/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1561 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 1606 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 1709 PtrOp = NewGEP; in visitGetElementPtrInst() 1715 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 1757 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst() 1880 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 1883 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 2053 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst() 2054 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst() 2155 PtrOp->stripAndAccumulateInBoundsConstantOffsets(DL, in visitGetElementPtrInst() [all …]
|
/dports/devel/llvm70/llvm-7.0.1.src/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1446 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 1491 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 1594 PtrOp = NewGEP; in visitGetElementPtrInst() 1600 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 1642 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst() 1765 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 1768 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 1938 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst() 1939 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst() 2027 PtrOp->stripAndAccumulateInBoundsConstantOffsets(DL, in visitGetElementPtrInst() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1685 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 1730 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 1836 PtrOp = NewGEP; in visitGetElementPtrInst() 1842 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 1884 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst() 2008 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 2011 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 2185 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst() 2186 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst() 2286 DL.getIndexSizeInBits(PtrOp->getType()->getPointerAddressSpace()); in visitGetElementPtrInst() [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1685 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 1730 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 1836 PtrOp = NewGEP; in visitGetElementPtrInst() 1842 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 1884 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst() 2008 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 2011 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 2185 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst() 2186 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst() 2286 DL.getIndexSizeInBits(PtrOp->getType()->getPointerAddressSpace()); in visitGetElementPtrInst() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1685 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 1730 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 1836 PtrOp = NewGEP; in visitGetElementPtrInst() 1842 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 1884 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst() 2008 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 2011 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 2185 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst() 2186 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst() 2286 DL.getIndexSizeInBits(PtrOp->getType()->getPointerAddressSpace()); in visitGetElementPtrInst() [all …]
|
/dports/devel/llvm90/llvm-9.0.1.src/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1634 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 1679 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 1782 PtrOp = NewGEP; in visitGetElementPtrInst() 1788 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 1830 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst() 1953 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 1956 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 2130 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst() 2131 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst() 2229 DL.getIndexSizeInBits(PtrOp->getType()->getPointerAddressSpace()); in visitGetElementPtrInst() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1789 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 1835 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 1937 PtrOp = NewGEP; in visitGetElementPtrInst() 1943 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 1985 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst() 2111 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 2114 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 2296 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst() 2297 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst() 2401 DL.getIndexSizeInBits(PtrOp->getType()->getPointerAddressSpace()); in visitGetElementPtrInst() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1879 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 1925 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 2027 PtrOp = NewGEP; in visitGetElementPtrInst() 2033 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 2075 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst() 2201 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 2204 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 2380 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst() 2381 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst() 2482 DL.getIndexSizeInBits(PtrOp->getType()->getPointerAddressSpace()); in visitGetElementPtrInst() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1789 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 1835 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 1937 PtrOp = NewGEP; in visitGetElementPtrInst() 1943 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 1985 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst() 2111 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 2114 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 2290 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst() 2291 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst() 2392 DL.getIndexSizeInBits(PtrOp->getType()->getPointerAddressSpace()); in visitGetElementPtrInst() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1879 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 1925 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 2027 PtrOp = NewGEP; in visitGetElementPtrInst() 2033 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 2075 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst() 2201 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 2204 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 2380 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst() 2381 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst() 2482 DL.getIndexSizeInBits(PtrOp->getType()->getPointerAddressSpace()); in visitGetElementPtrInst() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Transforms/InstCombine/ |
H A D | InstructionCombining.cpp | 1852 Value *PtrOp = GEP.getOperand(0); in visitGetElementPtrInst() local 1898 if (auto *PN = dyn_cast<PHINode>(PtrOp)) { in visitGetElementPtrInst() 2000 PtrOp = NewGEP; in visitGetElementPtrInst() 2006 if (auto *Src = dyn_cast<GEPOperator>(PtrOp)) { in visitGetElementPtrInst() 2048 Builder.SetInsertPoint(cast<Instruction>(PtrOp)); in visitGetElementPtrInst() 2174 Value *StrippedPtr = PtrOp->stripPointerCasts(); in visitGetElementPtrInst() 2177 if (StrippedPtr != PtrOp) { in visitGetElementPtrInst() 2353 Value *ASCStrippedPtrOp = PtrOp; in visitGetElementPtrInst() 2354 if (auto *ASC = dyn_cast<AddrSpaceCastInst>(PtrOp)) { in visitGetElementPtrInst() 2455 DL.getIndexSizeInBits(PtrOp->getType()->getPointerAddressSpace()); in visitGetElementPtrInst() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 338 Value *PtrOp = GepI->getPointerOperand(); in processGepInst() local 340 ValueToNodeMap::iterator F = NM.find(PtrOp); in processGepInst() 342 N->BaseVal = PtrOp; in processGepInst() 350 N->PTy = PtrOp->getType(); in processGepInst() 373 Type *PtrTy = cast<PointerType>(PtrOp->getType())->getElementType(); in processGepInst()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 338 Value *PtrOp = GepI->getPointerOperand(); in processGepInst() local 340 ValueToNodeMap::iterator F = NM.find(PtrOp); in processGepInst() 342 N->BaseVal = PtrOp; in processGepInst() 350 N->PTy = PtrOp->getType(); in processGepInst() 373 Type *PtrTy = cast<PointerType>(PtrOp->getType())->getElementType(); in processGepInst()
|
/dports/devel/llvm10/llvm-10.0.1.src/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 348 Value *PtrOp = GepI->getPointerOperand(); in processGepInst() local 350 ValueToNodeMap::iterator F = NM.find(PtrOp); in processGepInst() 352 N->BaseVal = PtrOp; in processGepInst() 360 N->PTy = PtrOp->getType(); in processGepInst() 383 Type *PtrTy = cast<PointerType>(PtrOp->getType())->getElementType(); in processGepInst()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 338 Value *PtrOp = GepI->getPointerOperand(); in processGepInst() local 340 ValueToNodeMap::iterator F = NM.find(PtrOp); in processGepInst() 342 N->BaseVal = PtrOp; in processGepInst() 350 N->PTy = PtrOp->getType(); in processGepInst() 373 Type *PtrTy = cast<PointerType>(PtrOp->getType())->getElementType(); in processGepInst()
|
/dports/devel/llvm11/llvm-11.0.1.src/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 338 Value *PtrOp = GepI->getPointerOperand(); in processGepInst() local 340 ValueToNodeMap::iterator F = NM.find(PtrOp); in processGepInst() 342 N->BaseVal = PtrOp; in processGepInst() 350 N->PTy = PtrOp->getType(); in processGepInst() 373 Type *PtrTy = cast<PointerType>(PtrOp->getType())->getElementType(); in processGepInst()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 348 Value *PtrOp = GepI->getPointerOperand(); in processGepInst() local 350 ValueToNodeMap::iterator F = NM.find(PtrOp); in processGepInst() 352 N->BaseVal = PtrOp; in processGepInst() 360 N->PTy = PtrOp->getType(); in processGepInst() 383 Type *PtrTy = cast<PointerType>(PtrOp->getType())->getElementType(); in processGepInst()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/lib/Target/Hexagon/ |
H A D | HexagonCommonGEP.cpp | 338 Value *PtrOp = GepI->getPointerOperand(); in processGepInst() local 340 ValueToNodeMap::iterator F = NM.find(PtrOp); in processGepInst() 342 N->BaseVal = PtrOp; in processGepInst() 350 N->PTy = PtrOp->getType(); in processGepInst() 373 Type *PtrTy = cast<PointerType>(PtrOp->getType())->getElementType(); in processGepInst()
|