Home
last modified time | relevance | path

Searched refs:NewBI (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerConstantIntrinsics.cpp89 Instruction *NewBI = BranchInst::Create(Target, Source); in replaceConditionalBranchesOnConstant() local
90 NewBI->setDebugLoc(BI->getDebugLoc()); in replaceConditionalBranchesOnConstant()
H A DSimpleLoopUnswitch.cpp635 Instruction *NewBI = BranchInst::Create(ContinueBB, ParentBB); in unswitchTrivialBranch() local
636 NewBI->setDebugLoc(BI.getDebugLoc()); in unswitchTrivialBranch()
673 Instruction *NewBI = BranchInst::Create(ContinueBB, ParentBB); in unswitchTrivialBranch() local
674 NewBI->setDebugLoc(Term->getDebugLoc()); in unswitchTrivialBranch()
981 Instruction *NewBI = BranchInst::Create(CommonSuccBB, BB); in unswitchTrivialSwitch() local
982 NewBI->setDebugLoc(SIW->getDebugLoc()); in unswitchTrivialSwitch()
2454 Instruction *NewBI = BranchInst::Create(RetainedSuccBB, ParentBB); in unswitchNontrivialInvariants()
2455 NewBI->setDebugLoc(NewTI->getDebugLoc()); in unswitchNontrivialInvariants()
2453 Instruction *NewBI = BranchInst::Create(RetainedSuccBB, ParentBB); unswitchNontrivialInvariants() local
H A DTailRecursionElimination.cpp734 BranchInst *NewBI = BranchInst::Create(HeaderBB, Ret->getIterator()); in eliminateCall() local
735 NewBI->setDebugLoc(CI->getDebugLoc()); in eliminateCall()
H A DJumpThreading.cpp1029 Instruction *NewBI = BranchInst::Create(BBTerm->getSuccessor(BestSucc), BBTerm->getIterator()); in processBlock() local
1030 NewBI->setDebugLoc(BBTerm->getDebugLoc()); in processBlock()
1646 Instruction *NewBI = BranchInst::Create(OnlyDest, Term->getIterator()); in processThreadableEdges() local
1647 NewBI->setDebugLoc(Term->getDebugLoc()); in processThreadableEdges()
2422 BranchInst *NewBI = BranchInst::Create(SuccBB, NewBB); in threadEdge() local
2423 NewBI->setDebugLoc(BB->getTerminator()->getDebugLoc()); in threadEdge()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedAccessPass.cpp376 BinaryOperator *NewBI = BinaryOperator::CreateWithCopiedFlags( in replaceBinOpShuffles() local
378 SVI->replaceAllUsesWith(NewBI); in replaceBinOpShuffles()
381 << *NewSVI2 << "\n And : " << *NewBI << "\n"); in replaceBinOpShuffles()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenTarget.cpp385 BitsInit *NewBI = BitsInit::get(Records, NewBits); in reverseBitsForLittleEndianEncoding() local
389 R->getValue("Inst")->setValue(NewBI); in reverseBitsForLittleEndianEncoding()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBreakCriticalEdges.cpp176 BranchInst *NewBI = BranchInst::Create(DestBB, NewBB); in SplitKnownCriticalEdge() local
177 NewBI->setDebugLoc(TI->getDebugLoc()); in SplitKnownCriticalEdge()
H A DLoopRotationUtils.cpp890 BranchInst *NewBI = BranchInst::Create(NewHeader, PHBI->getIterator()); in rotateLoop() local
891 NewBI->setDebugLoc(PHBI->getDebugLoc()); in rotateLoop()
H A DLocal.cpp153 BranchInst *NewBI = Builder.CreateBr(Dest1); in ConstantFoldTerminator() local
156 NewBI->copyMetadata(*BI, {LLVMContext::MD_loop, LLVMContext::MD_dbg, in ConstantFoldTerminator()
177 BranchInst *NewBI = Builder.CreateBr(Destination); in ConstantFoldTerminator() local
180 NewBI->copyMetadata(*BI, {LLVMContext::MD_loop, LLVMContext::MD_dbg, in ConstantFoldTerminator()
H A DLoopUtils.cpp763 auto *NewBI = Builder.CreateBr(ExitBB); in breakLoopBackedge() local
766 NewBI->copyMetadata(*BI, {LLVMContext::MD_dbg, in breakLoopBackedge()
H A DSimplifyCFG.cpp4659 BranchInst *NewBI = Builder.CreateCondBr(Cond, TrueBB, FalseBB); in SimplifyTerminatorOnSelect() local
4661 setBranchWeights(NewBI, TrueWeight, FalseWeight, /*IsExpected=*/false); in SimplifyTerminatorOnSelect()
5591 BranchInst *NewBI = Builder.CreateCondBr(Cmp, ContiguousDest, OtherDest); in TurnSwitchRangeIntoICmp() local
5610 setBranchWeights(NewBI, TrueWeight, FalseWeight, /*IsExpected=*/false); in TurnSwitchRangeIntoICmp()