Home
last modified time | relevance | path

Searched refs:CRReg (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCBranchSelector.cpp145 unsigned CRReg = I->getOperand(1).getReg(); in runOnMachineFunction() local
152 .addImm(PPC::InvertPredicate(Pred)).addReg(CRReg).addImm(2); in runOnMachineFunction()
/external/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp198 unsigned CRReg = I->getOperand(1).getReg(); in runOnMachineFunction() local
202 .addImm(PPC::InvertPredicate(Pred)).addReg(CRReg).addImm(2); in runOnMachineFunction()
DPPCInstrInfo.cpp888 unsigned CRReg = getCRFromCRBit(SrcReg); in copyPhysReg() local
889 BuildMI(MBB, I, DL, get(PPC::MFOCRF), DestReg).addReg(CRReg); in copyPhysReg()
895 .addImm(TRI->getEncodingValue(CRReg) * 4 + (4 - getCRBitValue(SrcReg))) in copyPhysReg()
1534 unsigned CRReg = CmpInstr.getOperand(0).getReg(); in optimizeCompareInstr() local
1597 for (MachineRegisterInfo::use_instr_iterator I =MRI->use_instr_begin(CRReg), in optimizeCompareInstr()
1620 for (MachineRegisterInfo::use_instr_iterator J =MRI->use_instr_begin(CRReg), in optimizeCompareInstr()
1729 I = MRI->use_instr_begin(CRReg), IE = MRI->use_instr_end(); in optimizeCompareInstr()
1763 get(TargetOpcode::COPY), CRReg) in optimizeCompareInstr()
DPPCFrameLowering.cpp1079 unsigned CRReg = isELFv2ABI? Reg : (unsigned) PPC::CR2; in emitPrologue() local
1081 nullptr, MRI->getDwarfRegNum(CRReg, true), 8)); in emitPrologue()
DPPCISelLowering.cpp9424 unsigned CRReg = RegInfo.createVirtualRegister(&PPC::CRRCRegClass); in EmitInstrWithCustomInserter() local
9425 BuildMI(*BB, MI, Dl, TII->get(PPC::TCHECK), CRReg); in EmitInstrWithCustomInserter()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCBranchSelector.cpp215 unsigned CRReg = I->getOperand(1).getReg(); in runOnMachineFunction() local
219 .addImm(PPC::InvertPredicate(Pred)).addReg(CRReg).addImm(2); in runOnMachineFunction()
DPPCInstrInfo.cpp922 unsigned CRReg = getCRFromCRBit(SrcReg); in copyPhysReg() local
923 BuildMI(MBB, I, DL, get(PPC::MFOCRF), DestReg).addReg(CRReg); in copyPhysReg()
929 .addImm(TRI->getEncodingValue(CRReg) * 4 + (4 - getCRBitValue(SrcReg))) in copyPhysReg()
1632 unsigned CRReg = CmpInstr.getOperand(0).getReg(); in optimizeCompareInstr() local
1682 I = MRI->use_instr_begin(CRReg), IE = MRI->use_instr_end(); in optimizeCompareInstr()
1708 J = MRI->use_instr_begin(CRReg), JE = MRI->use_instr_end(); in optimizeCompareInstr()
1744 if (equalityOnly || !MRI->hasOneUse(CRReg)) in optimizeCompareInstr()
1747 MachineInstr *UseMI = &*MRI->use_instr_begin(CRReg); in optimizeCompareInstr()
1860 I = MRI->use_instr_begin(CRReg), IE = MRI->use_instr_end(); in optimizeCompareInstr()
1899 get(TargetOpcode::COPY), CRReg) in optimizeCompareInstr()
DPPCFrameLowering.cpp1208 unsigned CRReg = isELFv2ABI? Reg : (unsigned) PPC::CR2; in emitPrologue() local
1210 nullptr, MRI->getDwarfRegNum(CRReg, true), 8)); in emitPrologue()
DPPCISelLowering.cpp10794 unsigned CRReg = RegInfo.createVirtualRegister(&PPC::CRRCRegClass); in EmitInstrWithCustomInserter() local
10795 BuildMI(*BB, MI, Dl, TII->get(PPC::TCHECK), CRReg); in EmitInstrWithCustomInserter()