Home
last modified time | relevance | path

Searched refs:Gep (Results 1 – 6 of 6) sorted by relevance

/external/llvm/lib/Analysis/
DVectorUtils.cpp101 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()
DDelinearization.cpp77 else if (GetElementPtrInst *Gep = dyn_cast<GetElementPtrInst>(&Inst)) in getPointerOperand() local
78 return Gep->getPointerOperand(); in getPointerOperand()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2041 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/
DVectorUtils.h54 unsigned getGEPInductionOperand(const GetElementPtrInst *Gep);
/external/llvm/test/Instrumentation/AddressSanitizer/
Dinstrument_global.ll40 ; GlobSt is accessed with Gep that has non-0 first index -- can't optimize.
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1227 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()