Home
last modified time | relevance | path

Searched refs:removePredecessor (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project-15.0.7/llvm/examples/IRTransforms/
H A DSimplifyCFG.cpp78 Succ->removePredecessor(&BB); in removeDeadBlocks_v1()
119 Succ->removePredecessor(&BB); in removeDeadBlocks_v2()
158 RemovedSucc->removePredecessor(&BB); in eliminateCondBranches_v1()
194 RemovedSucc->removePredecessor(&BB); in eliminateCondBranches_v2()
241 RemovedSucc->removePredecessor(&BB); in eliminateCondBranches_v3()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryBasicBlock.cpp272 Succ->removePredecessor(this, /*Multiple=*/false); in replaceSuccessor()
291 SuccessorBB->removePredecessor(this); in removeAllSuccessors()
297 Succ->removePredecessor(this, /*Multiple=*/false); in removeSuccessor()
316 void BinaryBasicBlock::removePredecessor(BinaryBasicBlock *Pred, in removePredecessor() function in llvm::bolt::BinaryBasicBlock
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLowerInvoke.cpp66 II->getUnwindDest()->removePredecessor(&BB); in runImpl()
H A DSimplifyCFG.cpp956 Successor->removePredecessor(PredDef); in SimplifyEqualityComparisonWithOnlyPredecessor()
1008 Succ->removePredecessor(TIBB); in SimplifyEqualityComparisonWithOnlyPredecessor()
1228 PredDefault->removePredecessor(Pred); in PerformValueComparisonIntoPredecessorFolding()
3101 BB->removePredecessor(EdgeBB); in FoldCondBranchOnValueKnownInPredecessorImpl()
4278 Succ->removePredecessor(BB, in SimplifyTerminatorOnSelect()
4870 BB->removePredecessor(PredBB); in removeEmptyCleanup()
5119 OrigDefaultBlock->removePredecessor(BB); in createUnreachableSwitchDefault()
5749 Succ->removePredecessor(SelectBB); in removeSwitchAfterSelectFold()
6464 Succ->removePredecessor(BB); in SwitchToLookupTable()
6635 Dest->removePredecessor(BB); in simplifyIndirectBr()
[all …]
H A DLocal.cpp145 Dest1->removePredecessor(BI->getParent()); in ConstantFoldTerminator()
169 OldDest->removePredecessor(BB); in ConstantFoldTerminator()
237 DefaultDest->removePredecessor(ParentBB); in ConstantFoldTerminator()
278 Succ->removePredecessor(BB); in ConstantFoldTerminator()
352 DestBB->removePredecessor(BB); in ConstantFoldTerminator()
2136 Successor->removePredecessor(BB, PreserveLCSSA); in changeToUnreachable()
2201 UnwindDestBB->removePredecessor(BB); in changeToCall()
2356 OrigNormalDest->removePredecessor(II->getParent()); in markAliveBlocks()
2375 UnwindDestBB->removePredecessor(II->getParent()); in markAliveBlocks()
2476 UnwindDest->removePredecessor(BB); in removeUnwindEdge()
H A DLowerSwitch.cpp480 Default->removePredecessor(OrigBlock); in ProcessSwitchInst()
496 PopSucc->removePredecessor(OrigBlock); in ProcessSwitchInst()
H A DLoopSimplify.cpp693 BI->getSuccessor(0)->removePredecessor( in simplifyOneLoop()
695 BI->getSuccessor(1)->removePredecessor( in simplifyOneLoop()
H A DBreakCriticalEdges.cpp216 DestBB->removePredecessor(TIBB, Options.KeepOneInputPHIs); in SplitKnownCriticalEdge()
H A DLoopRotationUtils.cpp639 Exit->removePredecessor(OrigPreheader, true /*preserve LCSSA*/); in rotateLoop()
H A DLoopUnroll.cpp688 DeadSucc->removePredecessor(Src, /* KeepOneInputPHIs */ true); in UnrollLoop()
H A DBasicBlockUtils.cpp69 Succ->removePredecessor(BB, KeepOneInputPHIs); in detachDeadBlocks()
1366 BB->removePredecessor(Pred); in FoldReturnIntoUncondBranch()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSCCP.cpp400 Succ->removePredecessor(BB); in removeNonFeasibleEdges()
420 Succ->removePredecessor(BB); in removeNonFeasibleEdges()
454 Succ->removePredecessor(BB); in removeNonFeasibleEdges()
H A DLowerConstantIntrinsics.cpp85 Other->removePredecessor(Source); in replaceConditionalBranchesOnConstant()
H A DLoopSimplifyCFG.cpp498 Succ->removePredecessor(BB, PreserveLCSSAPhi); in foldTerminators()
510 TheOnlySucc->removePredecessor(BB, PreserveLCSSAPhi); in foldTerminators()
H A DJumpThreading.cpp1097 Succ->removePredecessor(BB, true); in processBlock()
1267 RemoveSucc->removePredecessor(BB); in processImpliedCondition()
1709 SuccBB->removePredecessor(BB, true); // This is unreachable successor. in processThreadableEdges()
2282 PredBB->removePredecessor(PredPredBB, true); in threadThroughTwoBasicBlocks()
2405 BB->removePredecessor(PredBB, true); in threadEdge()
2700 BB->removePredecessor(PredBB, true); in duplicateCondBranchOnPHIIntoPred()
H A DSimpleLoopUnswitch.cpp905 CommonSuccBB->removePredecessor(BB, in unswitchTrivialSwitch()
1219 ClonedSuccBB->removePredecessor(ClonedParentBB, in buildClonedLoopBlocks()
1597 SuccBB->removePredecessor(ClonedBB); in deleteDeadClonedBlocks()
1635 SuccBB->removePredecessor(BB); in deleteDeadBlocksFromLoop()
2296 UnswitchedSuccBB->removePredecessor(ParentBB, in unswitchNontrivialInvariants()
2310 Case.getCaseSuccessor()->removePredecessor( in unswitchNontrivialInvariants()
H A DADCE.cpp612 Succ->removePredecessor(BB); in updateDeadRegions()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DDomTreeUpdaterTest.cpp92 BB3->removePredecessor(BB0); in TEST()
136 BB2->removePredecessor(BB0); in TEST()
656 BB3->removePredecessor(BB0); in TEST()
686 BB2->removePredecessor(BB0); in TEST()
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceBasicBlocks.cpp119 Succ->removePredecessor(&BB); in extractBasicBlocksFromModule()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DPruneEH.cpp257 Succs[i]->removePredecessor(BB); in DeleteBasicBlock()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DBasicBlock.h396 void removePredecessor(BasicBlock *Pred, bool KeepOneInputPHIs = false);
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineBasicBlock.cpp804 (*I)->removePredecessor(this); in removeSuccessor()
832 Old->removePredecessor(this); in replaceSuccessor()
860 void MachineBasicBlock::removePredecessor(MachineBasicBlock *Pred) { in removePredecessor() function in MachineBasicBlock
/llvm-project-15.0.7/llvm/lib/IR/
H A DBasicBlock.cpp318 void BasicBlock::removePredecessor(BasicBlock *Pred, in removePredecessor() function in BasicBlock
/llvm-project-15.0.7/llvm/tools/bugpoint/
H A DCrashDebugger.cpp419 Successor->removePredecessor(&*BB); in simpleSimplifyCfg()
478 Succ->removePredecessor(&BB); in TestBlocks()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryBasicBlock.h950 void removePredecessor(BinaryBasicBlock *Pred, bool Multiple = true);

12