Searched refs:Gep (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/Analysis/ |
D | VectorUtils.cpp | 231 unsigned llvm::getGEPInductionOperand(const GetElementPtrInst *Gep) { in getGEPInductionOperand() argument 232 const DataLayout &DL = Gep->getModule()->getDataLayout(); in getGEPInductionOperand() 233 unsigned LastOperand = Gep->getNumOperands() - 1; in getGEPInductionOperand() 235 cast<PointerType>(Gep->getType()->getScalarType())->getElementType()); in getGEPInductionOperand() 238 while (LastOperand > 1 && match(Gep->getOperand(LastOperand), m_Zero())) { in getGEPInductionOperand() 240 gep_type_iterator GEPTI = gep_type_begin(Gep); in getGEPInductionOperand()
|
D | Delinearization.cpp | 78 else if (GetElementPtrInst *Gep = dyn_cast<GetElementPtrInst>(&Inst)) in getPointerOperand() local 79 return Gep->getPointerOperand(); in getPointerOperand()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 2001 GetElementPtrInst *Gep = getGEPInstruction(Ptr); in isConsecutivePtr() local 2002 if (!Gep) in isConsecutivePtr() 2005 unsigned NumOperands = Gep->getNumOperands(); in isConsecutivePtr() 2006 Value *GpPtr = Gep->getPointerOperand(); in isConsecutivePtr() 2019 if (!SE->isLoopInvariant(PSE.getSCEV(Gep->getOperand(i)), TheLoop)) in isConsecutivePtr() 2026 unsigned InductionOperand = getGEPInductionOperand(Gep); in isConsecutivePtr() 2032 !SE->isLoopInvariant(PSE.getSCEV(Gep->getOperand(i)), TheLoop)) in isConsecutivePtr() 2038 if (!Strides.count(Gep)) in isConsecutivePtr() 2039 Last = PSE.getSCEV(Gep->getOperand(InductionOperand)); in isConsecutivePtr() 2051 Gep->getOperand(InductionOperand), Gep); in isConsecutivePtr() [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | VectorUtils.h | 67 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/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1189 Value *Gep = in ScalarizeMaskedLoad() local 1191 LoadInst* Load = Builder.CreateAlignedLoad(Gep, AlignVal); in ScalarizeMaskedLoad() 1234 Value *Gep = in ScalarizeMaskedLoad() local 1236 LoadInst *Load = Builder.CreateAlignedLoad(Gep, AlignVal); in ScalarizeMaskedLoad() 1327 Value *Gep = in ScalarizeMaskedStore() local 1329 Builder.CreateAlignedStore(OneElt, Gep, AlignVal); in ScalarizeMaskedStore() 1358 Value *Gep = in ScalarizeMaskedStore() local 1360 Builder.CreateAlignedStore(OneElt, Gep, AlignVal); in ScalarizeMaskedStore()
|