Lines Matching refs:Hexagon
45 : HexagonGenRegisterInfo(Hexagon::R31, 0/*DwarfFlavor*/, 0/*EHFlavor*/, in HexagonRegisterInfo()
50 return R == Hexagon::R0 || R == Hexagon::R1 || R == Hexagon::R2 || in isEHReturnCalleeSaveReg()
51 R == Hexagon::R3 || R == Hexagon::D0 || R == Hexagon::D1; in isEHReturnCalleeSaveReg()
57 using namespace Hexagon; in getCallerSavedRegs()
109 Hexagon::R16, Hexagon::R17, Hexagon::R18, Hexagon::R19, in getCalleeSavedRegs()
110 Hexagon::R20, Hexagon::R21, Hexagon::R22, Hexagon::R23, in getCalleeSavedRegs()
111 Hexagon::R24, Hexagon::R25, Hexagon::R26, Hexagon::R27, 0 in getCalleeSavedRegs()
117 Hexagon::R0, Hexagon::R1, Hexagon::R2, Hexagon::R3, in getCalleeSavedRegs()
118 Hexagon::R16, Hexagon::R17, Hexagon::R18, Hexagon::R19, in getCalleeSavedRegs()
119 Hexagon::R20, Hexagon::R21, Hexagon::R22, Hexagon::R23, in getCalleeSavedRegs()
120 Hexagon::R24, Hexagon::R25, Hexagon::R26, Hexagon::R27, 0 in getCalleeSavedRegs()
138 Reserved.set(Hexagon::R29); in getReservedRegs()
139 Reserved.set(Hexagon::R30); in getReservedRegs()
140 Reserved.set(Hexagon::R31); in getReservedRegs()
141 Reserved.set(Hexagon::VTMP); in getReservedRegs()
144 Reserved.set(Hexagon::GELR); // G0 in getReservedRegs()
145 Reserved.set(Hexagon::GSR); // G1 in getReservedRegs()
146 Reserved.set(Hexagon::GOSP); // G2 in getReservedRegs()
147 Reserved.set(Hexagon::G3); // G3 in getReservedRegs()
150 Reserved.set(Hexagon::SA0); // C0 in getReservedRegs()
151 Reserved.set(Hexagon::LC0); // C1 in getReservedRegs()
152 Reserved.set(Hexagon::SA1); // C2 in getReservedRegs()
153 Reserved.set(Hexagon::LC1); // C3 in getReservedRegs()
154 Reserved.set(Hexagon::P3_0); // C4 in getReservedRegs()
155 Reserved.set(Hexagon::USR); // C8 in getReservedRegs()
156 Reserved.set(Hexagon::PC); // C9 in getReservedRegs()
157 Reserved.set(Hexagon::UGP); // C10 in getReservedRegs()
158 Reserved.set(Hexagon::GP); // C11 in getReservedRegs()
159 Reserved.set(Hexagon::CS0); // C12 in getReservedRegs()
160 Reserved.set(Hexagon::CS1); // C13 in getReservedRegs()
161 Reserved.set(Hexagon::UPCYCLELO); // C14 in getReservedRegs()
162 Reserved.set(Hexagon::UPCYCLEHI); // C15 in getReservedRegs()
163 Reserved.set(Hexagon::FRAMELIMIT); // C16 in getReservedRegs()
164 Reserved.set(Hexagon::FRAMEKEY); // C17 in getReservedRegs()
165 Reserved.set(Hexagon::PKTCOUNTLO); // C18 in getReservedRegs()
166 Reserved.set(Hexagon::PKTCOUNTHI); // C19 in getReservedRegs()
167 Reserved.set(Hexagon::UTIMERLO); // C30 in getReservedRegs()
168 Reserved.set(Hexagon::UTIMERHI); // C31 in getReservedRegs()
172 Reserved.set(Hexagon::C8); in getReservedRegs()
173 Reserved.set(Hexagon::USR_OVF); in getReservedRegs()
183 Reserved.set(Hexagon::R19); in getReservedRegs()
217 case Hexagon::PS_fia: in eliminateFrameIndex()
218 MI.setDesc(HII.get(Hexagon::A2_addi)); in eliminateFrameIndex()
222 case Hexagon::PS_fi: in eliminateFrameIndex()
224 MI.setDesc(HII.get(Hexagon::A2_addi)); in eliminateFrameIndex()
232 Register TmpR = MRI.createVirtualRegister(&Hexagon::IntRegsRegClass); in eliminateFrameIndex()
234 BuildMI(MB, II, DL, HII.get(Hexagon::A2_addi), TmpR) in eliminateFrameIndex()
257 if (!HST.useHVXOps() || NewRC->getID() != Hexagon::HvxWRRegClass.getID()) in shouldCoalesce()
259 bool SmallSrc = SrcRC->getID() == Hexagon::HvxVRRegClass.getID(); in shouldCoalesce()
260 bool SmallDst = DstRC->getID() == Hexagon::HvxVRRegClass.getID(); in shouldCoalesce()
297 return Hexagon::R31; in getRARegister()
311 return Hexagon::R30; in getFrameRegister()
316 return Hexagon::R29; in getStackRegister()
322 assert(GenIdx == Hexagon::ps_sub_lo || GenIdx == Hexagon::ps_sub_hi); in getHexagonSubRegIndex()
324 static const unsigned ISub[] = { Hexagon::isub_lo, Hexagon::isub_hi }; in getHexagonSubRegIndex()
325 static const unsigned VSub[] = { Hexagon::vsub_lo, Hexagon::vsub_hi }; in getHexagonSubRegIndex()
326 static const unsigned WSub[] = { Hexagon::wsub_lo, Hexagon::wsub_hi }; in getHexagonSubRegIndex()
329 case Hexagon::CtrRegs64RegClassID: in getHexagonSubRegIndex()
330 case Hexagon::DoubleRegsRegClassID: in getHexagonSubRegIndex()
332 case Hexagon::HvxWRRegClassID: in getHexagonSubRegIndex()
334 case Hexagon::HvxVQRRegClassID: in getHexagonSubRegIndex()
352 return &Hexagon::IntRegsRegClass; in getPointerRegClass()
356 return Hexagon::R6; in getFirstCallerSavedNonParamReg()