Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp295 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 DLowerMemIntrinsics.cpp392 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 DBasicBlockUtils.cpp1635 Instruction **ThenTerm, in SplitBlockAndInsertIfThenElse() argument
1645 *ThenTerm = ThenBlock->getTerminator(); in SplitBlockAndInsertIfThenElse()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DScalarizeMaskedMemIntrin.cpp223 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 DSROA.cpp1790 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 DKCFI.cpp110 Instruction *ThenTerm = in run() local
112 Builder.SetInsertPoint(ThenTerm); in run()
H A DInstrProfiling.cpp763 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 DSanitizerCoverage.cpp988 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 DAddressSanitizer.cpp1229 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 DMemProfiler.cpp443 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 DBasicBlockUtils.h472 Instruction **ThenTerm,
479 Instruction **ThenTerm,
485 SplitBlockAndInsertIfThenElse(Cond, SplitBefore->getIterator(), ThenTerm,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DWholeProgramDevirt.cpp1187 Instruction *ThenTerm = in applySingleImplDevirt() local
1189 Builder.SetInsertPoint(ThenTerm); in applySingleImplDevirt()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp7227 Instruction *ThenTerm = nullptr; in optimizeSelectInst() local
7229 SplitBlockAndInsertIfThenElse(CondFr, SplitPt, &ThenTerm, &ElseTerm, in optimizeSelectInst()
7231 TrueBranch = cast<BranchInst>(ThenTerm); in optimizeSelectInst()