Home
last modified time | relevance | path

Searched refs:BBTerm (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp1002 Instruction *BBTerm = BB->getTerminator(); in getBestDestForJumpOnUndef() local
1004 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() local
1101 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 …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/bugpoint/
H A DCrashDebugger.cpp481 Instruction *BBTerm = BB.getTerminator(); in TestBlocks() local
482 if (BBTerm->isEHPad() || BBTerm->getType()->isTokenTy()) in TestBlocks()
484 if (!BBTerm->getType()->isVoidTy()) in TestBlocks()
485 BBTerm->replaceAllUsesWith(Constant::getNullValue(BBTerm->getType())); in TestBlocks()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp582 const Instruction *BBTerm = BB->getTerminator(); in getBranchHint() local
584 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()