Lines Matching refs:GetElementPtrInst

220   static Value *Extract(Value *Idx, GetElementPtrInst *GEP,
225 static int64_t Find(Value *Idx, GetElementPtrInst *GEP,
344 bool splitGEP(GetElementPtrInst *GEP);
352 void lowerToSingleIndexGEPs(GetElementPtrInst *Variadic,
361 void lowerToArithmetics(GetElementPtrInst *Variadic,
368 int64_t accumulateByteOffset(GetElementPtrInst *GEP, bool &NeedsExtraction);
384 bool canonicalizeArrayIndicesToPointerSize(GetElementPtrInst *GEP);
405 void swapGEPOperand(GetElementPtrInst *First, GetElementPtrInst *Second);
407 bool isLegalToSwapOperand(GetElementPtrInst *First, GetElementPtrInst *Second,
690 Value *ConstantOffsetExtractor::Extract(Value *Idx, GetElementPtrInst *GEP, in Extract()
708 int64_t ConstantOffsetExtractor::Find(Value *Idx, GetElementPtrInst *GEP, in Find()
718 GetElementPtrInst *GEP) { in canonicalizeArrayIndicesToPointerSize()
736 SeparateConstOffsetFromGEP::accumulateByteOffset(GetElementPtrInst *GEP, in accumulateByteOffset()
769 GetElementPtrInst *Variadic, int64_t AccumulativeByteOffset) { in lowerToSingleIndexGEPs()
827 GetElementPtrInst *FirstGEP = dyn_cast_or_null<GetElementPtrInst>(FirstResult); in lowerToSingleIndexGEPs()
828 GetElementPtrInst *SecondGEP = dyn_cast_or_null<GetElementPtrInst>(ResultPtr); in lowerToSingleIndexGEPs()
840 SeparateConstOffsetFromGEP::lowerToArithmetics(GetElementPtrInst *Variadic, in lowerToArithmetics()
885 bool SeparateConstOffsetFromGEP::splitGEP(GetElementPtrInst *GEP) { in splitGEP()
1027 NewGEP = GetElementPtrInst::Create(GEP->getResultElementType(), NewGEP, in splitGEP()
1031 cast<GetElementPtrInst>(NewGEP)->setIsInBounds(GEPWasInBounds); in splitGEP()
1050 NewGEP = GetElementPtrInst::Create( in splitGEP()
1055 cast<GetElementPtrInst>(NewGEP)->setIsInBounds(GEPWasInBounds); in splitGEP()
1080 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I++)) in runOnFunction()
1178 GetElementPtrInst *FirstGEP, GetElementPtrInst *SecondGEP, Loop *CurLoop) { in isLegalToSwapOperand()
1244 void SeparateConstOffsetFromGEP::swapGEPOperand(GetElementPtrInst *First, in swapGEPOperand()
1245 GetElementPtrInst *Second) { in swapGEPOperand()