Lines Matching refs:GetElementPtrInst

237   static Value *Extract(Value *Idx, GetElementPtrInst *GEP,
243 static int64_t Find(Value *Idx, GetElementPtrInst *GEP,
373 bool splitGEP(GetElementPtrInst *GEP);
382 void lowerToSingleIndexGEPs(GetElementPtrInst *Variadic,
392 void lowerToArithmetics(GetElementPtrInst *Variadic,
400 int64_t accumulateByteOffset(GetElementPtrInst *GEP, bool &NeedsExtraction);
417 bool canonicalizeArrayIndicesToPointerSize(GetElementPtrInst *GEP);
442 void swapGEPOperand(GetElementPtrInst *First, GetElementPtrInst *Second);
445 bool isLegalToSwapOperand(GetElementPtrInst *First, GetElementPtrInst *Second,
736 Value *ConstantOffsetExtractor::Extract(Value *Idx, GetElementPtrInst *GEP, in Extract()
754 int64_t ConstantOffsetExtractor::Find(Value *Idx, GetElementPtrInst *GEP, in Find()
764 GetElementPtrInst *GEP) { in canonicalizeArrayIndicesToPointerSize()
782 SeparateConstOffsetFromGEP::accumulateByteOffset(GetElementPtrInst *GEP, in accumulateByteOffset()
815 GetElementPtrInst *Variadic, int64_t AccumulativeByteOffset) { in lowerToSingleIndexGEPs()
873 GetElementPtrInst *FirstGEP = dyn_cast_or_null<GetElementPtrInst>(FirstResult); in lowerToSingleIndexGEPs()
874 GetElementPtrInst *SecondGEP = dyn_cast_or_null<GetElementPtrInst>(ResultPtr); in lowerToSingleIndexGEPs()
886 SeparateConstOffsetFromGEP::lowerToArithmetics(GetElementPtrInst *Variadic, in lowerToArithmetics()
931 bool SeparateConstOffsetFromGEP::splitGEP(GetElementPtrInst *GEP) { in splitGEP()
1074 NewGEP = GetElementPtrInst::Create(GEP->getResultElementType(), NewGEP, in splitGEP()
1079 cast<GetElementPtrInst>(NewGEP)->setIsInBounds(GEPWasInBounds); in splitGEP()
1098 NewGEP = GetElementPtrInst::Create( in splitGEP()
1104 cast<GetElementPtrInst>(NewGEP)->setIsInBounds(GEPWasInBounds); in splitGEP()
1129 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I++)) in runOnFunction()
1226 GetElementPtrInst *FirstGEP, GetElementPtrInst *SecondGEP, Loop *CurLoop) { in isLegalToSwapOperand()
1292 void SeparateConstOffsetFromGEP::swapGEPOperand(GetElementPtrInst *First, in swapGEPOperand()
1293 GetElementPtrInst *Second) { in swapGEPOperand()