Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp34 BasicBlock *PreLoopBB = InsertBefore->getParent(); in createMemCpyLoopKnownSize() local
36 Function *ParentFunc = PreLoopBB->getParent(); in createMemCpyLoopKnownSize()
37 LLVMContext &Ctx = PreLoopBB->getContext(); in createMemCpyLoopKnownSize()
51 PostLoopBB = PreLoopBB->splitBasicBlock(InsertBefore, "memcpy-split"); in createMemCpyLoopKnownSize()
54 PreLoopBB->getTerminator()->setSuccessor(0, LoopBB); in createMemCpyLoopKnownSize()
56 IRBuilder<> PLBuilder(PreLoopBB->getTerminator()); in createMemCpyLoopKnownSize()
71 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0U), PreLoopBB); in createMemCpyLoopKnownSize()
141 BasicBlock *PreLoopBB = InsertBefore->getParent(); in createMemCpyLoopUnknownSize() local
143 PreLoopBB->splitBasicBlock(InsertBefore, "post-loop-memcpy-expansion"); in createMemCpyLoopUnknownSize()
145 Function *ParentFunc = PreLoopBB->getParent(); in createMemCpyLoopUnknownSize()
[all …]
/external/llvm-project/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp26 BasicBlock *PreLoopBB = InsertBefore->getParent(); in createMemCpyLoopKnownSize() local
28 Function *ParentFunc = PreLoopBB->getParent(); in createMemCpyLoopKnownSize()
29 LLVMContext &Ctx = PreLoopBB->getContext(); in createMemCpyLoopKnownSize()
44 PostLoopBB = PreLoopBB->splitBasicBlock(InsertBefore, "memcpy-split"); in createMemCpyLoopKnownSize()
47 PreLoopBB->getTerminator()->setSuccessor(0, LoopBB); in createMemCpyLoopKnownSize()
49 IRBuilder<> PLBuilder(PreLoopBB->getTerminator()); in createMemCpyLoopKnownSize()
67 LoopIndex->addIncoming(ConstantInt::get(TypeOfCopyLen, 0U), PreLoopBB); in createMemCpyLoopKnownSize()
139 BasicBlock *PreLoopBB = InsertBefore->getParent(); in createMemCpyLoopUnknownSize() local
141 PreLoopBB->splitBasicBlock(InsertBefore, "post-loop-memcpy-expansion"); in createMemCpyLoopUnknownSize()
143 Function *ParentFunc = PreLoopBB->getParent(); in createMemCpyLoopUnknownSize()
[all …]