Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp920 Instruction *BBTerm = BB->getTerminator(); in getBestDestForJumpOnUndef() local
922 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() local
1019 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 …]
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DCrashDebugger.cpp496 Instruction *BBTerm = BB.getTerminator(); in TestBlocks() local
497 if (BBTerm->isEHPad() || BBTerm->getType()->isTokenTy()) in TestBlocks()
499 if (!BBTerm->getType()->isVoidTy()) in TestBlocks()
500 BBTerm->replaceAllUsesWith(Constant::getNullValue(BBTerm->getType())); in TestBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelDAGToDAG.cpp591 const Instruction *BBTerm = BB->getTerminator(); in getBranchHint() local
593 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()