Home
last modified time | relevance | path

Searched refs:UncondBranch (Results 1 – 15 of 15) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kInstrInfo.cpp89 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 DBinaryBasicBlock.cpp120 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 DDynoStats.cpp283 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 DBinaryFunction.cpp3052 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 DBinaryPasses.cpp661 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 Dgcov.cpp151 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 DGCOV.h48 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 DAArch64MCPlusBuilder.cpp904 MCInst *&UncondBranch) const override { in analyzeBranch()
923 UncondBranch = &*I; in analyzeBranch()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryBasicBlock.h856 MCInst *&CondBranch, MCInst *&UncondBranch);
H A DMCPlusBuilder.h1335 MCInst *&CondBranch, MCInst *&UncondBranch) const { in analyzeBranch() argument
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp1320 Instruction *UncondBranch = Pred->getTerminator(); in FoldReturnIntoUncondBranch() local
1367 UncondBranch->eraseFromParent(); in FoldReturnIntoUncondBranch()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DGCOV.cpp791 else if (options.UncondBranch && NumEdges == 1) { in annotateSource()
/llvm-project-15.0.7/bolt/lib/Target/X86/
H A DX86MCPlusBuilder.cpp1967 MCInst *&UncondBranch) const override { in analyzeBranch()
1992 UncondBranch = &*I; in analyzeBranch()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMicroMipsInstrInfo.td1005 def B_MM : UncondBranch<BEQ_MM, brtarget_mm>, IsBranch,
H A DMipsInstrInfo.td1547 class UncondBranch<Instruction BEQInst, DAGOperand opnd> :
2248 def B : UncondBranch<BEQ, brtarget>, ISA_MIPS1;