/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | ScalarizeMaskedMemIntrin.cpp | 164 Value *Gep = in scalarizeMaskedLoad() local 166 LoadInst *Load = Builder.CreateAlignedLoad(Gep, AlignVal); in scalarizeMaskedLoad() 209 Value *Gep = in scalarizeMaskedLoad() local 211 LoadInst *Load = Builder.CreateAlignedLoad(Gep, AlignVal); in scalarizeMaskedLoad() 302 Value *Gep = in scalarizeMaskedStore() local 304 Builder.CreateAlignedStore(OneElt, Gep, AlignVal); in scalarizeMaskedStore() 333 Value *Gep = in scalarizeMaskedStore() local 335 Builder.CreateAlignedStore(OneElt, Gep, AlignVal); in scalarizeMaskedStore()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | GVNHoist.cpp | 852 Instruction *Gep) const { in makeGepsAvailable() 853 assert(allGepOperandsAvailable(Gep, HoistPt) && in makeGepsAvailable() 856 Instruction *ClonedGep = Gep->clone(); in makeGepsAvailable() 857 for (unsigned i = 0, e = Gep->getNumOperands(); i != e; ++i) in makeGepsAvailable() 858 if (Instruction *Op = dyn_cast<Instruction>(Gep->getOperand(i))) { in makeGepsAvailable() 889 Repl->replaceUsesOfWith(Gep, ClonedGep); in makeGepsAvailable() 980 GetElementPtrInst *Gep = nullptr; in makeGepOperandsAvailable() local 983 Gep = dyn_cast<GetElementPtrInst>(Ld->getPointerOperand()); in makeGepOperandsAvailable() 985 Gep = dyn_cast<GetElementPtrInst>(St->getPointerOperand()); in makeGepOperandsAvailable() 999 if (!Gep || !allGepOperandsAvailable(Gep, HoistPt)) in makeGepOperandsAvailable() [all …]
|
/external/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 101 unsigned llvm::getGEPInductionOperand(const GetElementPtrInst *Gep) { in getGEPInductionOperand() argument 102 const DataLayout &DL = Gep->getModule()->getDataLayout(); in getGEPInductionOperand() 103 unsigned LastOperand = Gep->getNumOperands() - 1; in getGEPInductionOperand() 104 unsigned GEPAllocSize = DL.getTypeAllocSize(Gep->getResultElementType()); in getGEPInductionOperand() 107 while (LastOperand > 1 && match(Gep->getOperand(LastOperand), m_Zero())) { in getGEPInductionOperand() 109 gep_type_iterator GEPTI = gep_type_begin(Gep); in getGEPInductionOperand()
|
D | Delinearization.cpp | 77 else if (GetElementPtrInst *Gep = dyn_cast<GetElementPtrInst>(&Inst)) in getPointerOperand() local 78 return Gep->getPointerOperand(); in getPointerOperand()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 103 unsigned llvm::getGEPInductionOperand(const GetElementPtrInst *Gep) { in getGEPInductionOperand() argument 104 const DataLayout &DL = Gep->getModule()->getDataLayout(); in getGEPInductionOperand() 105 unsigned LastOperand = Gep->getNumOperands() - 1; in getGEPInductionOperand() 106 unsigned GEPAllocSize = DL.getTypeAllocSize(Gep->getResultElementType()); in getGEPInductionOperand() 109 while (LastOperand > 1 && match(Gep->getOperand(LastOperand), m_Zero())) { in getGEPInductionOperand() 111 gep_type_iterator GEPTI = gep_type_begin(Gep); in getGEPInductionOperand()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/ |
D | CoroCleanup.cpp | 52 auto *Gep = Builder.CreateConstInBoundsGEP2_32(FrameTy, FramePtr, 0, Index); in lowerSubFn() local 53 auto *Load = Builder.CreateLoad(Gep); in lowerSubFn()
|
D | CoroEarly.cpp | 100 auto *Gep = Builder.CreateConstInBoundsGEP1_32(FrameTy, BCI, 0); in lowerCoroDone() local 101 auto *Load = Builder.CreateLoad(Gep); in lowerCoroDone()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 2041 GetElementPtrInst *Gep = getGEPInstruction(Ptr); in isConsecutivePtr() local 2042 if (!Gep) in isConsecutivePtr() 2045 unsigned NumOperands = Gep->getNumOperands(); in isConsecutivePtr() 2046 Value *GpPtr = Gep->getPointerOperand(); in isConsecutivePtr() 2059 if (!SE->isLoopInvariant(PSE.getSCEV(Gep->getOperand(i)), TheLoop)) in isConsecutivePtr() 2066 unsigned InductionOperand = getGEPInductionOperand(Gep); in isConsecutivePtr() 2072 !SE->isLoopInvariant(PSE.getSCEV(Gep->getOperand(i)), TheLoop)) in isConsecutivePtr() 2078 if (!getSymbolicStrides() || !getSymbolicStrides()->count(Gep)) in isConsecutivePtr() 2079 Last = PSE.getSCEV(Gep->getOperand(InductionOperand)); in isConsecutivePtr() 2091 Gep->getOperand(InductionOperand), Gep); in isConsecutivePtr() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | VectorUtils.h | 54 unsigned getGEPInductionOperand(const GetElementPtrInst *Gep);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | VectorUtils.h | 55 unsigned getGEPInductionOperand(const GetElementPtrInst *Gep);
|
/external/llvm/test/Instrumentation/AddressSanitizer/ |
D | instrument_global.ll | 40 ; GlobSt is accessed with Gep that has non-0 first index -- can't optimize.
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Instrumentation/AddressSanitizer/ |
D | instrument_global.ll | 41 ; GlobSt is accessed with Gep that has non-0 first index -- can't optimize.
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 199 Instruction *Gep = cast<Instruction>(V)->getPrevNode(); in TEST_F() local 200 EXPECT_TRUE(isa<GetElementPtrInst>(Gep)); in TEST_F() 201 EXPECT_TRUE(isa<ConstantInt>(Gep->getOperand(1))); in TEST_F() 202 EXPECT_EQ(cast<ConstantInt>(Gep->getOperand(1))->getSExtValue(), -1); in TEST_F() 203 EXPECT_TRUE(isa<BitCastInst>(Gep->getPrevNode())); in TEST_F()
|
/external/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1227 Value *Gep = in scalarizeMaskedLoad() local 1229 LoadInst* Load = Builder.CreateAlignedLoad(Gep, AlignVal); in scalarizeMaskedLoad() 1272 Value *Gep = in scalarizeMaskedLoad() local 1274 LoadInst *Load = Builder.CreateAlignedLoad(Gep, AlignVal); in scalarizeMaskedLoad() 1365 Value *Gep = in scalarizeMaskedStore() local 1367 Builder.CreateAlignedStore(OneElt, Gep, AlignVal); in scalarizeMaskedStore() 1396 Value *Gep = in scalarizeMaskedStore() local 1398 Builder.CreateAlignedStore(OneElt, Gep, AlignVal); in scalarizeMaskedStore()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 5666 auto *Gep = dyn_cast<GetElementPtrInst>(Ptr); in getAddressAccessSCEV() local 5667 if (!Gep) in getAddressAccessSCEV() 5673 unsigned NumOperands = Gep->getNumOperands(); in getAddressAccessSCEV() 5675 Value *Opd = Gep->getOperand(i); in getAddressAccessSCEV()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Instructions.h | 5246 if (auto *Gep = dyn_cast<GetElementPtrInst>(V)) 5247 return Gep->getPointerOperand();
|