Searched refs:CondBranch (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinaryBasicBlock.cpp | 119 MCInst *CondBranch = nullptr; in validateSuccessorInvariants() local 122 if (analyzeBranch(TBB, FBB, CondBranch, UncondBranch)) { in validateSuccessorInvariants() 125 Valid = !CondBranch && !UncondBranch; in validateSuccessorInvariants() 129 CondBranch && Function->getBasicBlockForLabel( in validateSuccessorInvariants() 130 BC.MIB->getTargetSymbol(*CondBranch)); in validateSuccessorInvariants() 131 Valid = !CondBranch || !HasCondBlock; in validateSuccessorInvariants() 135 Valid = (CondBranch && in validateSuccessorInvariants() 334 void BinaryBasicBlock::removeDuplicateConditionalSuccessor(MCInst *CondBranch) { in removeDuplicateConditionalSuccessor() argument 342 eraseInstruction(findInstruction(CondBranch)); in removeDuplicateConditionalSuccessor() 403 MCInst *&CondBranch, in analyzeBranch() argument [all …]
|
| H A D | DynoStats.cpp | 282 MCInst *CondBranch = nullptr; in getDynoStats() local 284 if (!BB->analyzeBranch(TBB, FBB, CondBranch, UncondBranch)) in getDynoStats() 287 if (!CondBranch && !UncondBranch) in getDynoStats() 291 if (!CondBranch) { in getDynoStats()
|
| H A D | BinaryFunction.cpp | 3051 MCInst *CondBranch = nullptr; in dumpGraph() local 3064 CondBranch->getOpcode())) in dumpGraph() 3222 MCInst *CondBranch = nullptr; in fixBranches() local 3240 if (CondBranch) in fixBranches() 3241 BB->eraseInstruction(BB->findInstruction(CondBranch)); in fixBranches() 3246 assert(CondBranch && "conditional branch expected"); in fixBranches() 3251 !MIB->isUnsupportedBranch(CondBranch->getOpcode()); in fixBranches() 3264 BB->removeDuplicateConditionalSuccessor(CondBranch); in fixBranches() 3533 MCInst *CondBranch = nullptr; in dfs() local 3535 if (BB->analyzeBranch(TBB, FBB, CondBranch, UncondBranch) && CondBranch && in dfs() [all …]
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | BinaryPasses.cpp | 660 MCInst *CondBranch = nullptr; in fixDoubleJumps() local 672 assert((CondBranch || (!CondBranch && Pred->succ_size() == 1)) && in fixDoubleJumps() 674 if (CondBranch && MIB->getTargetSymbol(*CondBranch) == BB.getLabel()) { in fixDoubleJumps() 746 const BinaryBasicBlock *PredBB, const MCInst &CondBranch, in shouldRewriteBranch() argument 827 MCInst *CondBranch = nullptr; in fixTailCalls() local 839 assert(CondBranch && "conditional branch expected"); in fixTailCalls() 879 MIB->setConditionalTailCall(*CondBranch); in fixTailCalls() 912 MCInst *CondBranch = nullptr; in fixTailCalls() local 1060 MCInst *CondBranch = nullptr; in removeUselessCondBranches() local 1066 if (!Result || !CondBranch) in removeUselessCondBranches() [all …]
|
| /llvm-project-15.0.7/bolt/lib/Target/AArch64/ |
| H A D | AArch64MCPlusBuilder.cpp | 903 MCInst *&CondBranch, in analyzeBranch() argument 922 CondBranch = nullptr; in analyzeBranch() 935 if (CondBranch == nullptr) { in analyzeBranch() 943 CondBranch = &*I; in analyzeBranch()
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | BinaryBasicBlock.h | 630 void removeDuplicateConditionalSuccessor(MCInst *CondBranch); 856 MCInst *&CondBranch, MCInst *&UncondBranch);
|
| H A D | MCPlusBuilder.h | 1335 MCInst *&CondBranch, MCInst *&UncondBranch) const { in analyzeBranch() argument
|
| /llvm-project-15.0.7/bolt/include/bolt/Passes/ |
| H A D | BinaryPasses.h | 268 const MCInst &CondBranch, const BinaryBasicBlock *BB,
|
| /llvm-project-15.0.7/bolt/lib/Target/X86/ |
| H A D | X86MCPlusBuilder.cpp | 1966 MCInst *&CondBranch, in analyzeBranch() argument 1991 CondBranch = nullptr; in analyzeBranch() 2007 if (CondBranch == nullptr) { in analyzeBranch() 2015 CondBranch = &*I; in analyzeBranch()
|