Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerConstantIntrinsics.cpp88 Instruction *NewBI = BranchInst::Create(Target, Source); in replaceConditionalBranchesOnConstant() local
89 NewBI->setDebugLoc(BI->getDebugLoc()); in replaceConditionalBranchesOnConstant()
H A DSimpleLoopUnswitch.cpp641 Instruction *NewBI = BranchInst::Create(ContinueBB, ParentBB); in unswitchTrivialBranch() local
642 NewBI->setDebugLoc(BI.getDebugLoc()); in unswitchTrivialBranch()
679 Instruction *NewBI = BranchInst::Create(ContinueBB, ParentBB); in unswitchTrivialBranch() local
680 NewBI->setDebugLoc(Term->getDebugLoc()); in unswitchTrivialBranch()
986 Instruction *NewBI = BranchInst::Create(CommonSuccBB, BB); in unswitchTrivialSwitch() local
987 NewBI->setDebugLoc(SIW->getDebugLoc()); in unswitchTrivialSwitch()
2460 Instruction *NewBI = BranchInst::Create(RetainedSuccBB, ParentBB); in unswitchNontrivialInvariants() local
2461 NewBI->setDebugLoc(NewTI->getDebugLoc()); in unswitchNontrivialInvariants()
H A DTailRecursionElimination.cpp753 BranchInst *NewBI = BranchInst::Create(HeaderBB, Ret->getIterator()); in eliminateCall() local
754 NewBI->setDebugLoc(CI->getDebugLoc()); in eliminateCall()
H A DJumpThreading.cpp1026 Instruction *NewBI = BranchInst::Create(BBTerm->getSuccessor(BestSucc), BBTerm->getIterator()); in processBlock() local
1027 NewBI->setDebugLoc(BBTerm->getDebugLoc()); in processBlock()
1656 Instruction *NewBI = BranchInst::Create(OnlyDest, Term->getIterator()); in processThreadableEdges() local
1657 NewBI->setDebugLoc(Term->getDebugLoc()); in processThreadableEdges()
2450 BranchInst *NewBI = BranchInst::Create(SuccBB, NewBB); in threadEdge() local
2451 NewBI->setDebugLoc(BB->getTerminator()->getDebugLoc()); in threadEdge()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBreakCriticalEdges.cpp175 BranchInst *NewBI = BranchInst::Create(DestBB, NewBB); in SplitKnownCriticalEdge() local
176 NewBI->setDebugLoc(TI->getDebugLoc()); in SplitKnownCriticalEdge()
178 NewBI->setMetadata(LLVMContext::MD_loop, LoopMD); in SplitKnownCriticalEdge()
H A DCloneFunction.cpp641 auto *NewBI = BranchInst::Create(Dest, NewBB); in CloneBlock() local
642 NewBI->setDebugLoc(BI->getDebugLoc()); in CloneBlock()
643 VMap[OldTI] = NewBI; in CloneBlock()
658 auto *NewBI = BranchInst::Create(Dest, NewBB); in CloneBlock() local
659 NewBI->setDebugLoc(SI->getDebugLoc()); in CloneBlock()
660 VMap[OldTI] = NewBI; in CloneBlock()
H A DLoopRotationUtils.cpp869 BranchInst *NewBI = BranchInst::Create(NewHeader, PHBI->getIterator()); in rotateLoop() local
870 NewBI->setDebugLoc(PHBI->getDebugLoc()); in rotateLoop()
H A DLocal.cpp157 BranchInst *NewBI = Builder.CreateBr(Dest1); in ConstantFoldTerminator() local
160 NewBI->copyMetadata(*BI, {LLVMContext::MD_loop, LLVMContext::MD_dbg, in ConstantFoldTerminator()
181 BranchInst *NewBI = Builder.CreateBr(Destination); in ConstantFoldTerminator() local
184 NewBI->copyMetadata(*BI, {LLVMContext::MD_loop, LLVMContext::MD_dbg, in ConstantFoldTerminator()
H A DLoopUtils.cpp750 auto *NewBI = Builder.CreateBr(ExitBB); in breakLoopBackedge() local
753 NewBI->copyMetadata(*BI, {LLVMContext::MD_dbg, in breakLoopBackedge()
H A DSimplifyCFG.cpp4809 BranchInst *NewBI = Builder.CreateCondBr(Cond, TrueBB, FalseBB); in simplifyTerminatorOnSelect() local
4811 setBranchWeights(NewBI, TrueWeight, FalseWeight, /*IsExpected=*/false); in simplifyTerminatorOnSelect()
5740 BranchInst *NewBI = Builder.CreateCondBr(Cmp, ContiguousDest, OtherDest); in turnSwitchRangeIntoICmp() local
5759 setBranchWeights(NewBI, TrueWeight, FalseWeight, /*IsExpected=*/false); in turnSwitchRangeIntoICmp()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenTarget.cpp320 const BitsInit *NewBI = BitsInit::get(MutableRC, NewBits); in reverseBitsForLittleEndianEncoding() local
327 MutableR->getValue("Inst")->setValue(NewBI); in reverseBitsForLittleEndianEncoding()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DInterleavedAccessPass.cpp422 BinaryOperator *NewBI = BinaryOperator::CreateWithCopiedFlags( in replaceBinOpShuffles() local
424 SVI->replaceAllUsesWith(NewBI); in replaceBinOpShuffles()
427 << *NewSVI2 << "\n And : " << *NewBI << "\n"); in replaceBinOpShuffles()