Searched refs:BBTerm (Results 1 – 3 of 3) sorted by relevance
920 Instruction *BBTerm = BB->getTerminator(); in getBestDestForJumpOnUndef() local922 BasicBlock *TestBB = BBTerm->getSuccessor(MinSucc); in getBestDestForJumpOnUndef()925 for (unsigned i = 1, e = BBTerm->getNumSuccessors(); i != e; ++i) { in getBestDestForJumpOnUndef()926 TestBB = BBTerm->getSuccessor(i); in getBestDestForJumpOnUndef()1018 Instruction *BBTerm = BB->getTerminator(); in processBlock() local1019 Updates.reserve(BBTerm->getNumSuccessors()); in processBlock()1020 for (unsigned i = 0, e = BBTerm->getNumSuccessors(); i != e; ++i) { in processBlock()1022 BasicBlock *Succ = BBTerm->getSuccessor(i); in processBlock()1028 << "' folding undef terminator: " << *BBTerm << '\n'); in processBlock()1029 Instruction *NewBI = BranchInst::Create(BBTerm->getSuccessor(BestSucc), BBTerm->getIterator()); 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()
591 const Instruction *BBTerm = BB->getTerminator(); in getBranchHint() local593 if (BBTerm->getNumSuccessors() != 2) return PPC::BR_NO_HINT; in getBranchHint()595 const BasicBlock *TBB = BBTerm->getSuccessor(0); in getBranchHint()596 const BasicBlock *FBB = BBTerm->getSuccessor(1); in getBranchHint()