Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Coroutines/
DCoroSplit.cpp95 auto *GepIndex = Builder.CreateConstInBoundsGEP2_32( in createResumeEntryBlock() local
97 auto *Index = Builder.CreateLoad(GepIndex, "index"); in createResumeEntryBlock()
113 auto *GepIndex = Builder.CreateConstInBoundsGEP2_32(FrameTy, FramePtr, 0, in createResumeEntryBlock() local
116 cast<PointerType>(GepIndex->getType())->getElementType())); in createResumeEntryBlock()
117 Builder.CreateStore(NullPtr, GepIndex); in createResumeEntryBlock()
119 auto *GepIndex = Builder.CreateConstInBoundsGEP2_32( in createResumeEntryBlock() local
121 Builder.CreateStore(IndexVal, GepIndex); in createResumeEntryBlock()
231 auto *GepIndex = Builder.CreateConstInBoundsGEP2_32(Shape.FrameTy, FramePtr, in handleFinalSuspend() local
233 auto *Load = Builder.CreateLoad(GepIndex); in handleFinalSuspend()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp108 uint64_t GepIndex = BytesCopied / OperandSize; in createMemCpyLoopKnownSize() local
109 assert(GepIndex * OperandSize == BytesCopied && in createMemCpyLoopKnownSize()
117 OpTy, CastedSrc, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
126 OpTy, CastedDst, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()