Home
last modified time | relevance | path

Searched refs:setSuccessor (Results 1 – 25 of 35) sorted by relevance

12

/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLoopUnrollAndJam.cpp497 ForeTerm->setSuccessor(0, SubLoopBlocksFirst[0]); in UnrollAndJamLoop()
515 ForeTerm->setSuccessor(0, ForeBlocksFirst[It]); in UnrollAndJamLoop()
521 SubTerm->setSuccessor(!SubLoopContinueOnTrue, SubLoopBlocksFirst[0]); in UnrollAndJamLoop()
522 SubTerm->setSuccessor(SubLoopContinueOnTrue, AftBlocksFirst[0]); in UnrollAndJamLoop()
549 AftTerm->setSuccessor(!ContinueOnTrue, ForeBlocksFirst[0]); in UnrollAndJamLoop()
H A DBreakCriticalEdges.cpp191 TI->setSuccessor(SuccNum, NewBB); in SplitKnownCriticalEdge()
225 TI->setSuccessor(i, NewBB); in SplitKnownCriticalEdge()
H A DMatrixUtils.cpp50 PreheaderBr->setSuccessor(0, Header); in CreateLoop()
H A DLoopPeel.cpp565 InsertTop->getTerminator()->setSuccessor(0, cast<BasicBlock>(VMap[Header])); in cloneLoopBlocks()
576 LatchBR->setSuccessor(idx, InsertBot); in cloneLoopBlocks()
H A DBasicBlockUtils.cpp274 PredBB_BI->setSuccessor(FallThruPath, NewSucc); in MergeBlockIntoPredecessor()
1613 Branch->setSuccessor(0, FirstGuardBlock); in redirectToHub()
1620 Branch->setSuccessor(0, FirstGuardBlock); in redirectToHub()
1622 Branch->setSuccessor(1, FirstGuardBlock); in redirectToHub()
H A DLowerMemIntrinsics.cpp47 PreLoopBB->getTerminator()->setSuccessor(0, LoopBB); in createMemCpyLoopKnownSize()
H A DSimplifyCFG.cpp1316 NewSI->setSuccessor(i, InfLoopBlock); in PerformValueComparisonIntoPredecessorFolding()
2684 PredBBTI->setSuccessor(i, EdgeBB); in FoldCondBranchOnPHI()
3142 PBI->setSuccessor(PBI->getSuccessor(0) != BB, UniqueSucc); in performBranchToCommonDestFolding()
3641 BI->setSuccessor(1, IfFalseBB); in tryWidenCondBranchToCondBranch()
3653 BI->setSuccessor(0, IfFalseBB); in tryWidenCondBranchToCondBranch()
3842 PBI->setSuccessor(0, CommonDest); in SimplifyCondBranchToCondBranch()
3843 PBI->setSuccessor(1, OtherDest); in SimplifyCondBranchToCondBranch()
H A DLoopUnroll.cpp726 Term->setSuccessor(!(*ContinueOnTrue), Dest); in UnrollLoop()
H A DLoopUnrollRuntime.cpp337 InsertTop->getTerminator()->setSuccessor(0, NewBB); in CloneLoopBlocks()
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGCleanup.cpp345 Fixup.InitialBranch->setSuccessor(0, CleanupEntry); in ResolveAllBranchFixups()
592 Br->setSuccessor(0, To); in ForwardPrebranchedFallthrough()
597 Switch->setSuccessor(I, To); in ForwardPrebranchedFallthrough()
944 Fixup.InitialBranch->setSuccessor(0, NormalEntry); in PopCleanupBlock()
1121 BI->setSuccessor(0, CreateNormalEntry(*this, Scope)); in EmitBranchThroughCleanup()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DInstructions.h3003 void setSuccessor(unsigned idx, BasicBlock *B) {
3280 void setSuccessor(BasicBlock *S) {
3281 SI->setSuccessor(getSuccessorIndex(), S);
3666 void setSuccessor(unsigned i, BasicBlock *NewSucc) {
3856 void setSuccessor(unsigned i, BasicBlock *NewSucc) {
4098 void setSuccessor(unsigned i, BasicBlock *NewSucc) {
4516 void setSuccessor(BasicBlock *NewSucc) {
4542 void setSuccessor(unsigned Idx, BasicBlock *B) {
4544 setSuccessor(B);
4638 void setSuccessor(unsigned Idx, BasicBlock *B) {
[all …]
H A DCFG.h174 It.Inst->setSuccessor(It.Idx, RHS);
H A DInstruction.h740 void setSuccessor(unsigned Idx, BasicBlock *BB);
/netbsd/external/apache2/llvm/dist/llvm/lib/IR/
H A DInstruction.cpp760 void Instruction::setSuccessor(unsigned idx, BasicBlock *B) { in setSuccessor() function in Instruction
764 return static_cast<CLASS *>(this)->setSuccessor(idx, B); in setSuccessor()
776 setSuccessor(Idx, NewBB); in replaceSuccessorWith()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp500 BI.setSuccessor(LoopExitSuccIdx, UnswitchedBB); in unswitchTrivialBranch()
501 BI.setSuccessor(1 - LoopExitSuccIdx, NewPH); in unswitchTrivialBranch()
2131 BI->setSuccessor(ClonedSucc, ClonedPH); in unswitchNontrivialInvariants()
2132 BI->setSuccessor(1 - ClonedSucc, LoopPH); in unswitchNontrivialInvariants()
2143 Case.setSuccessor(LoopPH); in unswitchNontrivialInvariants()
2145 Case.setSuccessor(ClonedPHs.find(Case.getCaseSuccessor())->second); in unswitchNontrivialInvariants()
H A DADCE.cpp668 PredTerm->setSuccessor(0, Target); in makeUnconditional()
H A DJumpThreading.cpp2299 PredPredTerm->setSuccessor(i, NewBB); in threadThroughTwoBasicBlocks()
2422 PredTerm->setSuccessor(i, NewBB); in threadEdge()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DWinEHPrepare.cpp837 CatchRet->setSuccessor(NewBlock); in cloneCommonBlocks()
1223 Goto->setSuccessor(0, PHIBlock); in replaceUseWithLoad()
1224 CatchRet->setSuccessor(NewBlock); in replaceUseWithLoad()
H A DExpandMemCmp.cpp642 StartBlock->getTerminator()->setSuccessor(0, LoadCmpBlocks[0]); in getMemCmpExpansion()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/
H A DVPlan.cpp291 PredBBTerminator->setSuccessor(idx, NewBB); in createEmptyBasicBlock()
356 CondBr->setSuccessor(0, nullptr); in execute()
733 BBTerminator->setSuccessor(Idx, State->CFG.VPBB2IRBB[SuccVPBB]); in execute()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DOpenMPOpt.cpp667 CGStartBB->getTerminator()->setSuccessor(0, StartBB); in mergeParallelRegions()
669 EndBB->getTerminator()->setSuccessor(0, CGEndBB); in mergeParallelRegions()
707 CGStartBB->getTerminator()->setSuccessor(0, SeqStartBB); in mergeParallelRegions()
709 SeqEndBB->getTerminator()->setSuccessor(0, CGEndBB); in mergeParallelRegions()
H A DIROutliner.cpp1108 Term->setSuccessor(0, ReturnBlock); in createSwitchStatement()
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/
H A DCoroSplit.cpp410 cast<BranchInst>(SuspendBB->getTerminator())->setSuccessor(0, LandingBB); in createResumeEntryBlock()
1590 Branch->setSuccessor(0, ReturnBB); in splitAsyncCoroutine()
1734 Branch->setSuccessor(0, ReturnBB); in splitRetconCoroutine()
/netbsd/external/apache2/llvm/dist/llvm/lib/Target/X86/
H A DX86LowerAMXIntrinsics.cpp130 PreheaderBr->setSuccessor(0, Header); in createLoop()
/netbsd/external/apache2/llvm/dist/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp1469 Br->setSuccessor(0, OuterCond); in createDynamicWorkshareLoop()
1483 BI->setSuccessor(1, OuterCond); in createDynamicWorkshareLoop()
1509 Br->setSuccessor(0, Target); in redirectTo()

12