Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp302 Instruction *ThenTerm = in versionCallSite() local
304 BasicBlock *ThenBlock = ThenTerm->getParent(); in versionCallSite()
307 NewInst->insertBefore(ThenTerm); in versionCallSite()
317 NewBitCast->insertBefore(ThenTerm); in versionCallSite()
328 NewRet->insertBefore(ThenTerm); in versionCallSite()
332 ThenTerm->eraseFromParent(); in versionCallSite()
340 Instruction *ThenTerm = nullptr; in versionCallSite() local
342 SplitBlockAndInsertIfThenElse(Cond, &CB, &ThenTerm, &ElseTerm, BranchWeights); in versionCallSite()
343 BasicBlock *ThenBlock = ThenTerm->getParent(); in versionCallSite()
353 NewInst->insertBefore(ThenTerm); in versionCallSite()
[all …]
DLowerMemIntrinsics.cpp310 Instruction *ThenTerm, *ElseTerm; in createMemMoveLoop() local
311 SplitBlockAndInsertIfThenElse(PtrCompare, InsertBefore, &ThenTerm, in createMemMoveLoop()
319 BasicBlock *CopyBackwardsBB = ThenTerm->getParent(); in createMemMoveLoop()
354 BranchInst::Create(ExitBB, LoopBB, CompareN, ThenTerm); in createMemMoveLoop()
355 ThenTerm->eraseFromParent(); in createMemMoveLoop()
DBasicBlockUtils.cpp1034 Instruction **ThenTerm, in SplitBlockAndInsertIfThenElse() argument
1043 *ThenTerm = BranchInst::Create(Tail, ThenBlock); in SplitBlockAndInsertIfThenElse()
1044 (*ThenTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp272 Instruction *ThenTerm = nullptr; in versionCallSite() local
274 SplitBlockAndInsertIfThenElse(Cond, CS.getInstruction(), &ThenTerm, &ElseTerm, in versionCallSite()
276 BasicBlock *ThenBlock = ThenTerm->getParent(); in versionCallSite()
286 NewInst->insertBefore(ThenTerm); in versionCallSite()
296 ThenTerm->eraseFromParent(); in versionCallSite()
DLowerMemIntrinsics.cpp305 Instruction *ThenTerm, *ElseTerm; in createMemMoveLoop() local
306 SplitBlockAndInsertIfThenElse(PtrCompare, InsertBefore, &ThenTerm, in createMemMoveLoop()
314 BasicBlock *CopyBackwardsBB = ThenTerm->getParent(); in createMemMoveLoop()
344 BranchInst::Create(ExitBB, LoopBB, CompareN, ThenTerm); in createMemMoveLoop()
345 ThenTerm->eraseFromParent(); in createMemMoveLoop()
DBasicBlockUtils.cpp978 Instruction **ThenTerm, in SplitBlockAndInsertIfThenElse() argument
987 *ThenTerm = BranchInst::Create(Tail, ThenBlock); in SplitBlockAndInsertIfThenElse()
988 (*ThenTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp146 TerminatorInst *ThenTerm, *ElseTerm; in convertMemMoveToLoop() local
147 SplitBlockAndInsertIfThenElse(PtrCompare, ConvertedInst, &ThenTerm, in convertMemMoveToLoop()
155 BasicBlock *CopyBackwardsBB = ThenTerm->getParent(); in convertMemMoveToLoop()
184 BranchInst::Create(ExitBB, LoopBB, CompareN, ThenTerm); in convertMemMoveToLoop()
185 ThenTerm->eraseFromParent(); in convertMemMoveToLoop()
/external/llvm/lib/Transforms/Instrumentation/
DIndirectCallPromotion.cpp333 TerminatorInst *ThenTerm, *ElseTerm; in createIfThenElse() local
334 SplitBlockAndInsertIfThenElse(PtrCmp, Inst, &ThenTerm, &ElseTerm, in createIfThenElse()
336 *DirectCallBB = ThenTerm->getParent(); in createIfThenElse()
349 ThenTerm->eraseFromParent(); in createIfThenElse()
DAddressSanitizer.cpp797 Instruction *ThenTerm, Value *ValueIfFalse);
1982 Instruction *ThenTerm, in createPHI() argument
1987 BasicBlock *ThenBlock = ThenTerm->getParent(); in createPHI()
2212 TerminatorInst *ThenTerm, *ElseTerm; in poisonStack() local
2213 SplitBlockAndInsertIfThenElse(Cmp, Ret, &ThenTerm, &ElseTerm); in poisonStack()
2215 IRBuilder<> IRBPoison(ThenTerm); in poisonStack()
/external/llvm-project/llvm/unittests/Frontend/
DOpenMPIRBuilderTest.cpp353 Instruction *ThenTerm, *ElseTerm; in TEST_F() local
355 &ThenTerm, &ElseTerm); in TEST_F()
357 Builder.SetInsertPoint(ThenTerm); in TEST_F()
359 ThenTerm->eraseFromParent(); in TEST_F()
658 Instruction *ThenTerm, *ElseTerm; in TEST_F() local
660 &ThenTerm, &ElseTerm); in TEST_F()
662 Builder.SetInsertPoint(ThenTerm); in TEST_F()
664 ThenTerm->eraseFromParent(); in TEST_F()
959 Instruction *ThenTerm, *ElseTerm; in TEST_F() local
961 &ThenTerm, &ElseTerm); in TEST_F()
/external/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h271 TerminatorInst **ThenTerm,
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp658 TerminatorInst **ThenTerm, in SplitBlockAndInsertIfThenElse() argument
667 *ThenTerm = BranchInst::Create(Tail, ThenBlock); in SplitBlockAndInsertIfThenElse()
668 (*ThenTerm)->setDebugLoc(SplitBefore->getDebugLoc()); in SplitBlockAndInsertIfThenElse()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DSanitizerCoverage.cpp923 auto ThenTerm = in InjectCoverageAtBlock() local
925 IRBuilder<> ThenIRB(ThenTerm); in InjectCoverageAtBlock()
941 auto ThenTerm = SplitBlockAndInsertIfThen(IsStackLower, &*IP, false); in InjectCoverageAtBlock() local
942 IRBuilder<> ThenIRB(ThenTerm); in InjectCoverageAtBlock()
DMemProfiler.cpp437 Instruction *ThenTerm = SplitBlockAndInsertIfThen(MaskElem, I, false); in instrumentMaskedLoadOrStore() local
438 InsertBefore = ThenTerm; in instrumentMaskedLoadOrStore()
DAddressSanitizer.cpp1112 Instruction *ThenTerm, Value *ValueIfFalse);
1530 Instruction *ThenTerm = SplitBlockAndInsertIfThen(MaskElem, I, false); in instrumentMaskedLoadOrStore() local
1531 InsertBefore = ThenTerm; in instrumentMaskedLoadOrStore()
2983 Instruction *ThenTerm, in createPHI() argument
2988 BasicBlock *ThenBlock = ThenTerm->getParent(); in createPHI()
3335 Instruction *ThenTerm, *ElseTerm; in processStaticAllocas() local
3336 SplitBlockAndInsertIfThenElse(Cmp, Ret, &ThenTerm, &ElseTerm); in processStaticAllocas()
3338 IRBuilder<> IRBPoison(ThenTerm); in processStaticAllocas()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h327 Instruction **ThenTerm,
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h350 Instruction **ThenTerm,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DAddressSanitizer.cpp1109 Instruction *ThenTerm, Value *ValueIfFalse);
1535 Instruction *ThenTerm = SplitBlockAndInsertIfThen(MaskElem, I, false); in instrumentMaskedLoadOrStore() local
1536 InsertBefore = ThenTerm; in instrumentMaskedLoadOrStore()
2922 Instruction *ThenTerm, in createPHI() argument
2927 BasicBlock *ThenBlock = ThenTerm->getParent(); in createPHI()
3202 Instruction *ThenTerm, *ElseTerm; in processStaticAllocas() local
3203 SplitBlockAndInsertIfThenElse(Cmp, Ret, &ThenTerm, &ElseTerm); in processStaticAllocas()
3205 IRBuilder<> IRBPoison(ThenTerm); in processStaticAllocas()
DSanitizerCoverage.cpp900 auto ThenTerm = SplitBlockAndInsertIfThen(IsStackLower, &*IP, false); in InjectCoverageAtBlock() local
901 IRBuilder<> ThenIRB(ThenTerm); in InjectCoverageAtBlock()