| /llvm-project-15.0.7/llvm/lib/Target/M68k/ |
| H A D | M68kInstrInfo.cpp | 89 auto UncondBranch = in AnalyzeBranchImpl() 123 UncondBranch = {iter, iter->getOperand(0).getMBB()}; in AnalyzeBranchImpl() 126 TBB = UncondBranch.second; in AnalyzeBranchImpl() 138 if (MBB.isLayoutSuccessor(UncondBranch.second)) { in AnalyzeBranchImpl() 141 UncondBranch = {MBB.rend(), nullptr}; in AnalyzeBranchImpl() 174 if (UncondBranch.first != MBB.rend()) { in AnalyzeBranchImpl() 201 .addMBB(UncondBranch.second); in AnalyzeBranchImpl() 204 EraseList.push_back(*UncondBranch.first); in AnalyzeBranchImpl() 206 TBB = UncondBranch.second; in AnalyzeBranchImpl() 213 FBB = UncondBranch.second; in AnalyzeBranchImpl() [all …]
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinaryBasicBlock.cpp | 120 MCInst *UncondBranch = nullptr; in validateSuccessorInvariants() local 122 if (analyzeBranch(TBB, FBB, CondBranch, UncondBranch)) { in validateSuccessorInvariants() 125 Valid = !CondBranch && !UncondBranch; in validateSuccessorInvariants() 137 ((!UncondBranch && !FBB) || in validateSuccessorInvariants() 138 (UncondBranch && in validateSuccessorInvariants() 404 MCInst *&UncondBranch) { in analyzeBranch() argument 407 CondBranch, UncondBranch); in analyzeBranch()
|
| H A D | DynoStats.cpp | 283 MCInst *UncondBranch = nullptr; in getDynoStats() local 284 if (!BB->analyzeBranch(TBB, FBB, CondBranch, UncondBranch)) in getDynoStats() 287 if (!CondBranch && !UncondBranch) in getDynoStats() 321 if (UncondBranch) { in getDynoStats()
|
| H A D | BinaryFunction.cpp | 3052 MCInst *UncondBranch = nullptr; in dumpGraph() local 3053 const bool Success = BB->analyzeBranch(TBB, FBB, CondBranch, UncondBranch); in dumpGraph() 3067 Branch = UncondBranch ? std::string(BC.InstPrinter->getOpcodeName( in dumpGraph() 3068 UncondBranch->getOpcode())) in dumpGraph() 3223 MCInst *UncondBranch = nullptr; in fixBranches() local 3224 if (!BB->analyzeBranch(TBB, FBB, CondBranch, UncondBranch)) in fixBranches() 3228 if (UncondBranch) in fixBranches() 3229 BB->eraseInstruction(BB->findInstruction(UncondBranch)); in fixBranches() 3534 MCInst *UncondBranch = nullptr; in dfs() local 3535 if (BB->analyzeBranch(TBB, FBB, CondBranch, UncondBranch) && CondBranch && in dfs()
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | BinaryPasses.cpp | 661 MCInst *UncondBranch = nullptr; in fixDoubleJumps() local 676 } else if (UncondBranch && in fixDoubleJumps() 678 MIB->replaceBranchTarget(*UncondBranch, Succ->getLabel(), Ctx); in fixDoubleJumps() 679 } else if (!UncondBranch) { in fixDoubleJumps() 828 MCInst *UncondBranch = nullptr; in fixTailCalls() local 913 MCInst *UncondBranch = nullptr; in fixTailCalls() local 914 PredBB->analyzeBranch(TBB, FBB, CondBranch, UncondBranch); in fixTailCalls() 929 if (UncondBranch) { in fixTailCalls() 931 PredBB->eraseInstruction(PredBB->findInstruction(UncondBranch)); in fixTailCalls() 1061 MCInst *UncondBranch = nullptr; in removeUselessCondBranches() local [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | gcov.cpp | 151 cl::opt<bool> UncondBranch("u", cl::Grouping, cl::init(false), in gcovMain() local 154 cl::alias UncondBranchA("unconditional-branches", cl::aliasopt(UncondBranch)); in gcovMain() 172 PreservePaths, UncondBranch, Intermediate, LongNames, in gcovMain()
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | GCOV.h | 48 PreservePaths(P), UncondBranch(U), Intermediate(I), LongFileNames(L), in Options() 57 bool UncondBranch; member
|
| /llvm-project-15.0.7/bolt/lib/Target/AArch64/ |
| H A D | AArch64MCPlusBuilder.cpp | 904 MCInst *&UncondBranch) const override { in analyzeBranch() 923 UncondBranch = &*I; in analyzeBranch()
|
| /llvm-project-15.0.7/bolt/include/bolt/Core/ |
| H A D | BinaryBasicBlock.h | 856 MCInst *&CondBranch, MCInst *&UncondBranch);
|
| H A D | MCPlusBuilder.h | 1335 MCInst *&CondBranch, MCInst *&UncondBranch) const { in analyzeBranch() argument
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | BasicBlockUtils.cpp | 1320 Instruction *UncondBranch = Pred->getTerminator(); in FoldReturnIntoUncondBranch() local 1367 UncondBranch->eraseFromParent(); in FoldReturnIntoUncondBranch()
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | GCOV.cpp | 791 else if (options.UncondBranch && NumEdges == 1) { in annotateSource()
|
| /llvm-project-15.0.7/bolt/lib/Target/X86/ |
| H A D | X86MCPlusBuilder.cpp | 1967 MCInst *&UncondBranch) const override { in analyzeBranch() 1992 UncondBranch = &*I; in analyzeBranch()
|
| /llvm-project-15.0.7/llvm/lib/Target/Mips/ |
| H A D | MicroMipsInstrInfo.td | 1005 def B_MM : UncondBranch<BEQ_MM, brtarget_mm>, IsBranch,
|
| H A D | MipsInstrInfo.td | 1547 class UncondBranch<Instruction BEQInst, DAGOperand opnd> : 2248 def B : UncondBranch<BEQ, brtarget>, ISA_MIPS1;
|