Lines Matching full:arc
1 //===- ARCBranchFinalize.cpp - ARC conditional branches ---------*- C++ -*-===//
25 #define DEBUG_TYPE "arc-branch-finalize"
47 return "ARC Branch Finalization Pass"; in getPassName()
62 INITIALIZE_PASS_BEGIN(ARCBranchFinalize, "arc-branch-finalize",
63 "ARC finalize branches", false, false)
65 INITIALIZE_PASS_END(ARCBranchFinalize, "arc-branch-finalize", in INITIALIZE_PASS_DEPENDENCY()
66 "ARC finalize branches", false, false) in INITIALIZE_PASS_DEPENDENCY()
96 return !(MI->getOpcode() != ARC::BRcc_rr_p && in isBRccPseudo()
97 MI->getOpcode() != ARC::BRcc_ru6_p); in isBRccPseudo()
102 if (MI->getOpcode() == ARC::BRcc_rr_p) in getBRccForPseudo()
103 return ARC::BRcc_rr; in getBRccForPseudo()
104 return ARC::BRcc_ru6; in getBRccForPseudo()
109 if (MI->getOpcode() == ARC::BRcc_rr_p) in getCmpForPseudo()
110 return ARC::CMP_rr; in getCmpForPseudo()
111 return ARC::CMP_ru6; in getCmpForPseudo()
137 BuildMI(*MI->getParent(), MI, MI->getDebugLoc(), TII->get(ARC::Bcc)) in replaceWithCmpBcc()
144 LLVM_DEBUG(dbgs() << "Running ARC Branch Finalize on " << MF.getName() in runOnMachineFunction()