Searched refs:BBTerm (Results 1 – 7 of 7) sorted by relevance
269 const TerminatorInst *BBTerm = BB->getTerminator(); in getJumpThreadDuplicationCost() local272 if (isa<SwitchInst>(BBTerm)) in getJumpThreadDuplicationCost()276 if (isa<IndirectBrInst>(BBTerm)) in getJumpThreadDuplicationCost()674 TerminatorInst *BBTerm = BB->getTerminator(); in GetBestDestForJumpOnUndef() local676 BasicBlock *TestBB = BBTerm->getSuccessor(MinSucc); in GetBestDestForJumpOnUndef()679 for (unsigned i = 1, e = BBTerm->getNumSuccessors(); i != e; ++i) { in GetBestDestForJumpOnUndef()680 TestBB = BBTerm->getSuccessor(i); in GetBestDestForJumpOnUndef()772 TerminatorInst *BBTerm = BB->getTerminator(); in ProcessBlock() local773 for (unsigned i = 0, e = BBTerm->getNumSuccessors(); i != e; ++i) { in ProcessBlock()775 BBTerm->getSuccessor(i)->removePredecessor(BB, true); in ProcessBlock()[all …]
595 TerminatorInst *BBTerm = BB->getTerminator(); in GetBestDestForJumpOnUndef() local597 BasicBlock *TestBB = BBTerm->getSuccessor(MinSucc); in GetBestDestForJumpOnUndef()600 for (unsigned i = 1, e = BBTerm->getNumSuccessors(); i != e; ++i) { in GetBestDestForJumpOnUndef()601 TestBB = BBTerm->getSuccessor(i); in GetBestDestForJumpOnUndef()691 TerminatorInst *BBTerm = BB->getTerminator(); in ProcessBlock() local692 for (unsigned i = 0, e = BBTerm->getNumSuccessors(); i != e; ++i) { in ProcessBlock()694 BBTerm->getSuccessor(i)->removePredecessor(BB, true); in ProcessBlock()698 << "' folding undef terminator: " << *BBTerm << '\n'); in ProcessBlock()699 BranchInst::Create(BBTerm->getSuccessor(BestSucc), BBTerm); in ProcessBlock()700 BBTerm->eraseFromParent(); in ProcessBlock()
376 TerminatorInst *BBTerm = BB->getTerminator(); in TestBlocks() local377 if (BBTerm->isEHPad() || BBTerm->getType()->isTokenTy()) in TestBlocks()379 if (!BBTerm->getType()->isVoidTy()) in TestBlocks()380 BBTerm->replaceAllUsesWith(Constant::getNullValue(BBTerm->getType())); in TestBlocks()
39 TerminatorInst *BBTerm = BB->getTerminator(); in DeleteDeadBlock() local43 for (unsigned i = 0, e = BBTerm->getNumSuccessors(); i != e; ++i) in DeleteDeadBlock()44 BBTerm->getSuccessor(i)->removePredecessor(BB); in DeleteDeadBlock()
300 TerminatorInst *BBTerm = BB->getTerminator(); in TestBlocks() local303 BBTerm->replaceAllUsesWith(Constant::getNullValue(BBTerm->getType())); in TestBlocks()
38 TerminatorInst *BBTerm = BB->getTerminator(); in DeleteDeadBlock() local42 for (BasicBlock *Succ : BBTerm->successors()) in DeleteDeadBlock()
405 const TerminatorInst *BBTerm = BB->getTerminator(); in getBranchHint() local407 if (BBTerm->getNumSuccessors() != 2) return PPC::BR_NO_HINT; in getBranchHint()409 const BasicBlock *TBB = BBTerm->getSuccessor(0); in getBranchHint()410 const BasicBlock *FBB = BBTerm->getSuccessor(1); in getBranchHint()