Lines Matching refs:GetElementPtrInst

238   static Value *Extract(Value *Idx, GetElementPtrInst *GEP,
244 static int64_t Find(Value *Idx, GetElementPtrInst *GEP);
392 bool splitGEP(GetElementPtrInst *GEP);
397 bool reorderGEP(GetElementPtrInst *GEP, TargetTransformInfo &TTI);
406 void lowerToSingleIndexGEPs(GetElementPtrInst *Variadic,
416 void lowerToArithmetics(GetElementPtrInst *Variadic,
424 int64_t accumulateByteOffset(GetElementPtrInst *GEP, bool &NeedsExtraction);
441 bool canonicalizeArrayIndicesToIndexSize(GetElementPtrInst *GEP);
468 void swapGEPOperand(GetElementPtrInst *First, GetElementPtrInst *Second);
471 bool isLegalToSwapOperand(GetElementPtrInst *First, GetElementPtrInst *Second,
781 Value *ConstantOffsetExtractor::Extract(Value *Idx, GetElementPtrInst *GEP, in Extract()
798 int64_t ConstantOffsetExtractor::Find(Value *Idx, GetElementPtrInst *GEP) { in Find()
807 GetElementPtrInst *GEP) { in canonicalizeArrayIndicesToIndexSize()
826 SeparateConstOffsetFromGEP::accumulateByteOffset(GetElementPtrInst *GEP, in accumulateByteOffset()
863 GetElementPtrInst *Variadic, int64_t AccumulativeByteOffset) { in lowerToSingleIndexGEPs()
915 auto *FirstGEP = dyn_cast_or_null<GetElementPtrInst>(FirstResult); in lowerToSingleIndexGEPs()
916 auto *SecondGEP = dyn_cast<GetElementPtrInst>(ResultPtr); in lowerToSingleIndexGEPs()
925 SeparateConstOffsetFromGEP::lowerToArithmetics(GetElementPtrInst *Variadic, in lowerToArithmetics()
973 bool SeparateConstOffsetFromGEP::reorderGEP(GetElementPtrInst *GEP, in reorderGEP()
975 auto PtrGEP = dyn_cast<GetElementPtrInst>(GEP->getPointerOperand()); in reorderGEP()
1016 bool SeparateConstOffsetFromGEP::splitGEP(GetElementPtrInst *GEP) { in splitGEP()
1189 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I)) in run()
1300 GetElementPtrInst *FirstGEP, GetElementPtrInst *SecondGEP, Loop *CurLoop) { in isLegalToSwapOperand()
1366 void SeparateConstOffsetFromGEP::swapGEPOperand(GetElementPtrInst *First, in swapGEPOperand()
1367 GetElementPtrInst *Second) { in swapGEPOperand()