Lines Matching refs:GetElementPtrInst
237 static Value *Extract(Value *Idx, GetElementPtrInst *GEP,
243 static int64_t Find(Value *Idx, GetElementPtrInst *GEP,
394 bool splitGEP(GetElementPtrInst *GEP);
403 void lowerToSingleIndexGEPs(GetElementPtrInst *Variadic,
413 void lowerToArithmetics(GetElementPtrInst *Variadic,
421 int64_t accumulateByteOffset(GetElementPtrInst *GEP, bool &NeedsExtraction);
438 bool canonicalizeArrayIndicesToIndexSize(GetElementPtrInst *GEP);
465 void swapGEPOperand(GetElementPtrInst *First, GetElementPtrInst *Second);
468 bool isLegalToSwapOperand(GetElementPtrInst *First, GetElementPtrInst *Second,
780 Value *ConstantOffsetExtractor::Extract(Value *Idx, GetElementPtrInst *GEP, in Extract()
798 int64_t ConstantOffsetExtractor::Find(Value *Idx, GetElementPtrInst *GEP, in Find()
808 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::splitGEP(GetElementPtrInst *GEP) { in splitGEP()
1143 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(&I)) in run()
1250 GetElementPtrInst *FirstGEP, GetElementPtrInst *SecondGEP, Loop *CurLoop) { in isLegalToSwapOperand()
1316 void SeparateConstOffsetFromGEP::swapGEPOperand(GetElementPtrInst *First, in swapGEPOperand()
1317 GetElementPtrInst *Second) { in swapGEPOperand()