Home
last modified time | relevance | path

Searched refs:PredTerm (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DADCE.cpp651 Instruction *PredTerm = BB->getTerminator(); in makeUnconditional() local
653 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional()
657 if (isUnconditionalBranch(PredTerm)) { in makeUnconditional()
658 PredTerm->setSuccessor(0, Target); in makeUnconditional()
659 InstInfo[PredTerm].Live = true; in makeUnconditional()
664 IRBuilder<> Builder(PredTerm); in makeUnconditional()
667 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional()
670 InstInfo.erase(PredTerm); in makeUnconditional()
671 PredTerm->eraseFromParent(); in makeUnconditional()
DJumpThreading.cpp2115 Instruction *PredTerm = PredBB->getTerminator(); in ThreadEdge() local
2116 for (unsigned i = 0, e = PredTerm->getNumSuccessors(); i != e; ++i) in ThreadEdge()
2117 if (PredTerm->getSuccessor(i) == BB) { in ThreadEdge()
2119 PredTerm->setSuccessor(i, NewBB); in ThreadEdge()
2441 BranchInst *PredTerm = cast<BranchInst>(Pred->getTerminator()); in UnfoldSelectInstr() local
2445 PredTerm->removeFromParent(); in UnfoldSelectInstr()
2446 NewBB->getInstList().insert(NewBB->end(), PredTerm); in UnfoldSelectInstr()
2480 BranchInst *PredTerm = dyn_cast<BranchInst>(Pred->getTerminator()); in TryToUnfoldSelect() local
2481 if (!PredTerm || !PredTerm->isUnconditional()) in TryToUnfoldSelect()
2520 BranchInst *PredTerm = dyn_cast<BranchInst>(Pred->getTerminator()); in TryToUnfoldSelect() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp338 Instruction *PredTerm = PredBB->getTerminator(); in findIBRPredecessor() local
339 switch (PredTerm->getOpcode()) { in findIBRPredecessor()