Lines Matching refs:LoongArch
45 InitLoongArchMCRegisterInfo(X, LoongArch::R1); in createLoongArchMCRegisterInfo()
68 MCRegister SP = MRI.getDwarfRegNum(LoongArch::R3, true); in createLoongArchMCAsmInfo()
101 Inst.getOpcode() == LoongArch::BL) { in evaluateBranch()
116 case LoongArch::JIRL: in isTerminator()
117 return Inst.getOperand(0).getReg() == LoongArch::R0; in isTerminator()
128 case LoongArch::JIRL: in isCall()
129 return Inst.getOperand(0).getReg() != LoongArch::R0; in isCall()
140 case LoongArch::JIRL: in isReturn()
141 return Inst.getOperand(0).getReg() == LoongArch::R0 && in isReturn()
142 Inst.getOperand(1).getReg() == LoongArch::R1; in isReturn()
153 case LoongArch::JIRL: in isBranch()
154 return Inst.getOperand(0).getReg() == LoongArch::R0 && in isBranch()
155 Inst.getOperand(1).getReg() != LoongArch::R1; in isBranch()
166 case LoongArch::JIRL: in isUnconditionalBranch()
167 return Inst.getOperand(0).getReg() == LoongArch::R0 && in isUnconditionalBranch()
168 Inst.getOperand(1).getReg() != LoongArch::R1; in isUnconditionalBranch()
179 case LoongArch::JIRL: in isIndirectBranch()
180 return Inst.getOperand(0).getReg() == LoongArch::R0 && in isIndirectBranch()
181 Inst.getOperand(1).getReg() != LoongArch::R1; in isIndirectBranch()