Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroSplit.cpp285 auto *GepIndex = Builder.CreateStructGEP( in createResumeEntryBlock() local
287 auto *Index = Builder.CreateLoad(Shape.getIndexType(), GepIndex, "index"); in createResumeEntryBlock()
304 auto *GepIndex = Builder.CreateStructGEP(FrameTy, FramePtr, in createResumeEntryBlock() local
308 cast<PointerType>(GepIndex->getType())->getElementType())); in createResumeEntryBlock()
309 Builder.CreateStore(NullPtr, GepIndex); in createResumeEntryBlock()
311 auto *GepIndex = Builder.CreateStructGEP( in createResumeEntryBlock() local
313 Builder.CreateStore(IndexVal, GepIndex); in createResumeEntryBlock()
384 auto *GepIndex = Builder.CreateStructGEP(Shape.FrameTy, NewFramePtr, in handleFinalSuspend() local
388 GepIndex); in handleFinalSuspend()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp107 uint64_t GepIndex = BytesCopied / OperandSize; in createMemCpyLoopKnownSize() local
108 assert(GepIndex * OperandSize == BytesCopied && in createMemCpyLoopKnownSize()
116 OpTy, CastedSrc, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
125 OpTy, CastedDst, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp104 uint64_t GepIndex = BytesCopied / OperandSize; in createMemCpyLoopKnownSize() local
105 assert(GepIndex * OperandSize == BytesCopied && in createMemCpyLoopKnownSize()
113 OpTy, CastedSrc, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
123 OpTy, CastedDst, ConstantInt::get(TypeOfCopyLen, GepIndex)); in createMemCpyLoopKnownSize()
/external/llvm-project/llvm/lib/Transforms/Coroutines/
DCoroSplit.cpp296 auto *GepIndex = Builder.CreateStructGEP( in createResumeEntryBlock() local
298 auto *Index = Builder.CreateLoad(Shape.getIndexType(), GepIndex, "index"); in createResumeEntryBlock()
315 auto *GepIndex = Builder.CreateStructGEP(FrameTy, FramePtr, in createResumeEntryBlock() local
319 cast<PointerType>(GepIndex->getType())->getElementType())); in createResumeEntryBlock()
320 Builder.CreateStore(NullPtr, GepIndex); in createResumeEntryBlock()
322 auto *GepIndex = Builder.CreateStructGEP( in createResumeEntryBlock() local
324 Builder.CreateStore(IndexVal, GepIndex); in createResumeEntryBlock()
395 auto *GepIndex = Builder.CreateStructGEP(Shape.FrameTy, NewFramePtr, in handleFinalSuspend() local
399 GepIndex); in handleFinalSuspend()