Searched refs:BBTerm (Results 1 – 3 of 3) sorted by relevance
931 Instruction *BBTerm = BB->getTerminator(); in getBestDestForJumpOnUndef() local933 BasicBlock *TestBB = BBTerm->getSuccessor(MinSucc); in getBestDestForJumpOnUndef()936 for (unsigned i = 1, e = BBTerm->getNumSuccessors(); i != e; ++i) { in getBestDestForJumpOnUndef()937 TestBB = BBTerm->getSuccessor(i); in getBestDestForJumpOnUndef()1029 Instruction *BBTerm = BB->getTerminator(); in processBlock() local1030 Updates.reserve(BBTerm->getNumSuccessors()); in processBlock()1031 for (unsigned i = 0, e = BBTerm->getNumSuccessors(); i != e; ++i) { in processBlock()1033 BasicBlock *Succ = BBTerm->getSuccessor(i); in processBlock()1039 << "' folding undef terminator: " << *BBTerm << '\n'); in processBlock()1040 BranchInst::Create(BBTerm->getSuccessor(BestSucc), BBTerm); in processBlock()[all …]
496 Instruction *BBTerm = BB.getTerminator(); in TestBlocks() local497 if (BBTerm->isEHPad() || BBTerm->getType()->isTokenTy()) in TestBlocks()499 if (!BBTerm->getType()->isVoidTy()) in TestBlocks()500 BBTerm->replaceAllUsesWith(Constant::getNullValue(BBTerm->getType())); in TestBlocks()
604 const Instruction *BBTerm = BB->getTerminator(); in getBranchHint() local606 if (BBTerm->getNumSuccessors() != 2) return PPC::BR_NO_HINT; in getBranchHint()608 const BasicBlock *TBB = BBTerm->getSuccessor(0); in getBranchHint()609 const BasicBlock *FBB = BBTerm->getSuccessor(1); in getBranchHint()