Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp1852 Value *GEPBase = IndVar->getIncomingValueForBlock(L->getLoopPreheader()); in genLoopLimit() local
1853 assert(AR->getStart() == SE->getSCEV(GEPBase) && "bad loop counter"); in genLoopLimit()
1857 cast<PointerType>(GEPBase->getType()) in genLoopLimit()
1862 return Builder.CreateGEP(nullptr, GEPBase, GEPOffset, "lftr.limit"); in genLoopLimit()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp2138 Value *GEPBase = IndVar->getIncomingValueForBlock(L->getLoopPreheader()); in genLoopLimit() local
2139 assert(AR->getStart() == SE->getSCEV(GEPBase) && "bad loop counter"); in genLoopLimit()
2143 cast<PointerType>(GEPBase->getType()) in genLoopLimit()
2148 return Builder.CreateGEP(nullptr, GEPBase, GEPOffset, "lftr.limit"); in genLoopLimit()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DInstructionsTest.cpp648 Value *GEPBase = Constant::getNullValue(B.getInt8PtrTy()); in TEST_F() local
649 auto *GI = cast<GetElementPtrInst>(B.CreateInBoundsGEP(GEPBase, {Arg0})); in TEST_F()