Lines Matching refs:CondBranch
3051 MCInst *CondBranch = nullptr; in dumpGraph() local
3053 const bool Success = BB->analyzeBranch(TBB, FBB, CondBranch, UncondBranch); in dumpGraph()
3063 Branch = CondBranch ? std::string(BC.InstPrinter->getOpcodeName( in dumpGraph()
3064 CondBranch->getOpcode())) in dumpGraph()
3222 MCInst *CondBranch = nullptr; in fixBranches() local
3224 if (!BB->analyzeBranch(TBB, FBB, CondBranch, UncondBranch)) in fixBranches()
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()
3256 MIB->reverseBranchCondition(*CondBranch, TSuccessor->getLabel(), Ctx); in fixBranches()
3261 MIB->replaceBranchTarget(*CondBranch, TSuccessor->getLabel(), Ctx); in fixBranches()
3264 BB->removeDuplicateConditionalSuccessor(CondBranch); in fixBranches()
3276 MIB->reverseBranchCondition(*CondBranch, TSuccessor->getLabel(), in fixBranches()
3533 MCInst *CondBranch = nullptr; in dfs() local
3535 if (BB->analyzeBranch(TBB, FBB, CondBranch, UncondBranch) && CondBranch && in dfs()
3538 *CondBranch)) == BC.MIB->getCondCode(*CondBranch)) { in dfs()