/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | CallPromotionUtils.cpp | 295 Instruction *ThenTerm = in versionCallSiteWithCond() local 297 BasicBlock *ThenBlock = ThenTerm->getParent(); in versionCallSiteWithCond() 300 NewInst->insertBefore(ThenTerm); in versionCallSiteWithCond() 310 NewBitCast->insertBefore(ThenTerm); in versionCallSiteWithCond() 321 NewRet->insertBefore(ThenTerm); in versionCallSiteWithCond() 325 ThenTerm->eraseFromParent(); in versionCallSiteWithCond() 333 Instruction *ThenTerm = nullptr; in versionCallSiteWithCond() local 335 SplitBlockAndInsertIfThenElse(Cond, &CB, &ThenTerm, &ElseTerm, BranchWeights); in versionCallSiteWithCond() 336 BasicBlock *ThenBlock = ThenTerm->getParent(); in versionCallSiteWithCond() 346 NewInst->insertBefore(ThenTerm); in versionCallSiteWithCond() [all …]
|
H A D | LowerMemIntrinsics.cpp | 392 Instruction *ThenTerm, *ElseTerm; in createMemMoveLoop() local 393 SplitBlockAndInsertIfThenElse(PtrCompare, InsertBefore->getIterator(), &ThenTerm, in createMemMoveLoop() 401 BasicBlock *CopyBackwardsBB = ThenTerm->getParent(); in createMemMoveLoop() 437 BranchInst::Create(ExitBB, LoopBB, CompareN, ThenTerm->getIterator()); in createMemMoveLoop() 438 ThenTerm->eraseFromParent(); in createMemMoveLoop()
|
H A D | BasicBlockUtils.cpp | 1635 Instruction **ThenTerm, in SplitBlockAndInsertIfThenElse() argument 1645 *ThenTerm = ThenBlock->getTerminator(); in SplitBlockAndInsertIfThenElse()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | ScalarizeMaskedMemIntrin.cpp | 223 Instruction *ThenTerm = in scalarizeMaskedLoad() local 227 BasicBlock *CondBlock = ThenTerm->getParent(); in scalarizeMaskedLoad() 236 BasicBlock *NewIfBlock = ThenTerm->getSuccessor(0); in scalarizeMaskedLoad() 353 Instruction *ThenTerm = in scalarizeMaskedStore() local 357 BasicBlock *CondBlock = ThenTerm->getParent(); in scalarizeMaskedStore() 366 BasicBlock *NewIfBlock = ThenTerm->getSuccessor(0); in scalarizeMaskedStore() 475 Instruction *ThenTerm = in scalarizeMaskedGather() local 479 BasicBlock *CondBlock = ThenTerm->getParent(); in scalarizeMaskedGather() 490 BasicBlock *NewIfBlock = ThenTerm->getSuccessor(0); in scalarizeMaskedGather() 602 Instruction *ThenTerm = in scalarizeMaskedScatter() local [all …]
|
H A D | SROA.cpp | 1790 Instruction *ThenTerm = nullptr; in rewriteMemOpOfSelect() local 1793 SplitBlockAndInsertIfThenElse(SI.getCondition(), &I, &ThenTerm, &ElseTerm, in rewriteMemOpOfSelect()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | KCFI.cpp | 110 Instruction *ThenTerm = in run() local 112 Builder.SetInsertPoint(ThenTerm); in run()
|
H A D | InstrProfiling.cpp | 763 Instruction *ThenTerm = SplitBlockAndInsertIfThen( in doSampling() local 769 I->moveBefore(ThenTerm); in doSampling() 776 Instruction *ThenTerm, *ElseTerm; in doSampling() local 781 SplitBlockAndInsertIfThenElse(PeriodCond, SamplingVarIncr, &ThenTerm, in doSampling() 786 I->moveBefore(ThenTerm); in doSampling() 788 IRBuilder<> ResetBuilder(ThenTerm); in doSampling() 1155 auto *ThenTerm = BasicBlock::Create(Ctx, "", Fn); in createRMWOrFunc() local 1159 Builder.CreateCondBr(ShouldStore, ThenTerm, ElseTerm, Unlikely); in createRMWOrFunc() 1161 IRBuilder<> ThenBuilder(ThenTerm); in createRMWOrFunc()
|
H A D | SanitizerCoverage.cpp | 988 auto ThenTerm = SplitBlockAndInsertIfThen( in InjectCoverageAtBlock() local 991 IRBuilder<> ThenIRB(ThenTerm); in InjectCoverageAtBlock() 1007 auto ThenTerm = SplitBlockAndInsertIfThen( in InjectCoverageAtBlock() local 1010 IRBuilder<> ThenIRB(ThenTerm); in InjectCoverageAtBlock()
|
H A D | AddressSanitizer.cpp | 1229 Instruction *ThenTerm, Value *ValueIfFalse); 1661 Instruction *ThenTerm = SplitBlockAndInsertIfThen( in instrumentMaskedLoadOrStore() local 1663 IRB.SetInsertPoint(ThenTerm); in instrumentMaskedLoadOrStore() 3273 Instruction *ThenTerm, in createPHI() argument 3278 BasicBlock *ThenBlock = ThenTerm->getParent(); in createPHI() 3639 Instruction *ThenTerm, *ElseTerm; in processStaticAllocas() local 3640 SplitBlockAndInsertIfThenElse(Cmp, Ret, &ThenTerm, &ElseTerm); in processStaticAllocas() 3642 IRBuilder<> IRBPoison(ThenTerm); in processStaticAllocas()
|
H A D | MemProfiler.cpp | 443 Instruction *ThenTerm = SplitBlockAndInsertIfThen(MaskElem, I, false); in instrumentMaskedLoadOrStore() local 444 InsertBefore = ThenTerm; in instrumentMaskedLoadOrStore()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | BasicBlockUtils.h | 472 Instruction **ThenTerm, 479 Instruction **ThenTerm, 485 SplitBlockAndInsertIfThenElse(Cond, SplitBefore->getIterator(), ThenTerm,
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | WholeProgramDevirt.cpp | 1187 Instruction *ThenTerm = in applySingleImplDevirt() local 1189 Builder.SetInsertPoint(ThenTerm); in applySingleImplDevirt()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 7227 Instruction *ThenTerm = nullptr; in optimizeSelectInst() local 7229 SplitBlockAndInsertIfThenElse(CondFr, SplitPt, &ThenTerm, &ElseTerm, in optimizeSelectInst() 7231 TrueBranch = cast<BranchInst>(ThenTerm); in optimizeSelectInst()
|