Searched refs:BBTerm (Results 1 – 3 of 3) sorted by relevance
1002 Instruction *BBTerm = BB->getTerminator(); in getBestDestForJumpOnUndef() local1004 BasicBlock *TestBB = BBTerm->getSuccessor(MinSucc); in getBestDestForJumpOnUndef()1007 for (unsigned i = 1, e = BBTerm->getNumSuccessors(); i != e; ++i) { in getBestDestForJumpOnUndef()1008 TestBB = BBTerm->getSuccessor(i); in getBestDestForJumpOnUndef()1100 Instruction *BBTerm = BB->getTerminator(); in processBlock() local1101 Updates.reserve(BBTerm->getNumSuccessors()); in processBlock()1102 for (unsigned i = 0, e = BBTerm->getNumSuccessors(); i != e; ++i) { in processBlock()1104 BasicBlock *Succ = BBTerm->getSuccessor(i); in processBlock()1110 << "' folding undef terminator: " << *BBTerm << '\n'); in processBlock()1111 BranchInst::Create(BBTerm->getSuccessor(BestSucc), BBTerm); in processBlock()[all …]
481 Instruction *BBTerm = BB.getTerminator(); in TestBlocks() local482 if (BBTerm->isEHPad() || BBTerm->getType()->isTokenTy()) in TestBlocks()484 if (!BBTerm->getType()->isVoidTy()) in TestBlocks()485 BBTerm->replaceAllUsesWith(Constant::getNullValue(BBTerm->getType())); in TestBlocks()
582 const Instruction *BBTerm = BB->getTerminator(); in getBranchHint() local584 if (BBTerm->getNumSuccessors() != 2) return PPC::BR_NO_HINT; in getBranchHint()586 const BasicBlock *TBB = BBTerm->getSuccessor(0); in getBranchHint()587 const BasicBlock *FBB = BBTerm->getSuccessor(1); in getBranchHint()