Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp975 auto PtrGEP = dyn_cast<GetElementPtrInst>(GEP->getPointerOperand()); in reorderGEP() local
976 if (!PtrGEP) in reorderGEP()
981 accumulateByteOffset(PtrGEP, NestedNeedsExtraction); in reorderGEP()
985 unsigned AddrSpace = PtrGEP->getPointerAddressSpace(); in reorderGEP()
992 bool PtrGEPInBounds = PtrGEP->isInBounds(); in reorderGEP()
1000 IsChainInBounds &= all_of(PtrGEP->indices(), IsKnownNonNegative); in reorderGEP()
1006 GEP->getSourceElementType(), PtrGEP->getPointerOperand(), in reorderGEP()
1008 Value *NewGEP = Builder.CreateGEP(PtrGEP->getSourceElementType(), NewSrc, in reorderGEP()
1009 SmallVector<Value *, 4>(PtrGEP->indices()), in reorderGEP()