Searched refs:BBTerm (Results 1 – 3 of 3) sorted by relevance
994 Instruction *BBTerm = BB->getTerminator(); in getBestDestForJumpOnUndef() local996 BasicBlock *TestBB = BBTerm->getSuccessor(MinSucc); in getBestDestForJumpOnUndef()999 for (unsigned i = 1, e = BBTerm->getNumSuccessors(); i != e; ++i) { in getBestDestForJumpOnUndef()1000 TestBB = BBTerm->getSuccessor(i); in getBestDestForJumpOnUndef()1092 Instruction *BBTerm = BB->getTerminator(); in processBlock() local1093 Updates.reserve(BBTerm->getNumSuccessors()); in processBlock()1094 for (unsigned i = 0, e = BBTerm->getNumSuccessors(); i != e; ++i) { in processBlock()1096 BasicBlock *Succ = BBTerm->getSuccessor(i); in processBlock()1102 << "' folding undef terminator: " << *BBTerm << '\n'); in processBlock()1103 BranchInst::Create(BBTerm->getSuccessor(BestSucc), BBTerm); in processBlock()[all …]
480 Instruction *BBTerm = BB.getTerminator(); in TestBlocks() local481 if (BBTerm->isEHPad() || BBTerm->getType()->isTokenTy()) in TestBlocks()483 if (!BBTerm->getType()->isVoidTy()) in TestBlocks()484 BBTerm->replaceAllUsesWith(Constant::getNullValue(BBTerm->getType())); in TestBlocks()
592 const Instruction *BBTerm = BB->getTerminator(); in getBranchHint() local594 if (BBTerm->getNumSuccessors() != 2) return PPC::BR_NO_HINT; in getBranchHint()596 const BasicBlock *TBB = BBTerm->getSuccessor(0); in getBranchHint()597 const BasicBlock *FBB = BBTerm->getSuccessor(1); in getBranchHint()