Home
last modified time | relevance | path

Searched refs:IntRegs (Results 1 – 21 of 21) sorted by relevance

/external/llvm/lib/Target/Hexagon/
DHexagonSelectCCInfo.td14 def : Pat <(i32 (selectcc IntRegs:$lhs, IntRegs:$rhs, IntRegs:$tval,
15 IntRegs:$fval, SETEQ)),
16 (i32 (MUX_rr (i1 (CMPEQrr IntRegs:$lhs, IntRegs:$rhs)),
17 IntRegs:$tval, IntRegs:$fval))>;
19 def : Pat <(i32 (selectcc IntRegs:$lhs, IntRegs:$rhs, IntRegs:$tval,
20 IntRegs:$fval, SETNE)),
21 (i32 (MUX_rr (i1 (NOT_p (CMPEQrr IntRegs:$lhs, IntRegs:$rhs))),
22 IntRegs:$tval, IntRegs:$fval))>;
24 def : Pat <(i32 (selectcc IntRegs:$lhs, IntRegs:$rhs, IntRegs:$tval,
25 IntRegs:$fval, SETGT)),
[all …]
DHexagonInstrInfo.td23 def I32 : PatLeaf<(i32 IntRegs:$R)>;
25 def F32 : PatLeaf<(f32 IntRegs:$R)>;
70 (ins IntRegs:$src1, ImmOp:$src2),
97 : Pat<(i1 (OpNode (i32 IntRegs:$src1), ImmPred:$src2)),
98 (MI IntRegs:$src1, ImmPred:$src2)>;
121 : ALU32_rr<(outs IntRegs:$Rd), (ins IntRegs:$Rs, IntRegs:$Rt),
144 : ALU32_rr<(outs IntRegs:$Rd), (ins PredRegs:$Pu, IntRegs:$Rs, IntRegs:$Rt),
229 : Pat<(ResT (Op (i32 IntRegs:$Rs), (i32 IntRegs:$Rt))),
230 (ResT (MI IntRegs:$Rs, IntRegs:$Rt))>;
257 : ALU32_rr<(outs PredRegs:$Pd), (ins IntRegs:$Rs, IntRegs:$Rt),
[all …]
DHexagonInstrInfoV4.td164 : SInst<(outs PredRegs:$Pd), (ins IntRegs:$Rs, IntRegs:$Rt),
193 def: Pat<(i1 (seteq (and (xor (i32 IntRegs:$Rs), (i32 IntRegs:$Rt)),
195 (A4_cmpbeq IntRegs:$Rs, IntRegs:$Rt)>;
196 def: Pat<(i1 (setne (and (xor (i32 IntRegs:$Rs), (i32 IntRegs:$Rt)),
198 (C2_not (A4_cmpbeq IntRegs:$Rs, IntRegs:$Rt))>;
199 def: Pat<(i1 (seteq (and (xor (i32 IntRegs:$Rs), (i32 IntRegs:$Rt)),
201 (A4_cmpheq IntRegs:$Rs, IntRegs:$Rt)>;
202 def: Pat<(i1 (setne (and (xor (i32 IntRegs:$Rs), (i32 IntRegs:$Rt)),
204 (C2_not (A4_cmpheq IntRegs:$Rs, IntRegs:$Rt))>;
209 : ALU64Inst<(outs PredRegs:$Pd), (ins IntRegs:$Rs, ImmType:$Imm),
[all …]
DHexagonInstrInfoV3.td103 (ins IntRegs:$Rs, DoubleRegs:$Rt), "$Rd = add($Rs, $Rt)",
104 [(set (i64 DoubleRegs:$Rd), (i64 (add (i64 (sext (i32 IntRegs:$Rs))),
157 //def : Pat <(brcond (i1 (seteq (i32 IntRegs:$src1), 0)), bb:$offset),
158 // (JMP_RegEzt (i32 IntRegs:$src1), bb:$offset)>;
160 //def : Pat <(brcond (i1 (setne (i32 IntRegs:$src1), 0)), bb:$offset),
161 // (JMP_RegNzt (i32 IntRegs:$src1), bb:$offset)>;
163 //def : Pat <(brcond (i1 (setle (i32 IntRegs:$src1), 0)), bb:$offset),
164 // (JMP_RegLezt (i32 IntRegs:$src1), bb:$offset)>;
166 //def : Pat <(brcond (i1 (setge (i32 IntRegs:$src1), 0)), bb:$offset),
167 // (JMP_RegGezt (i32 IntRegs:$src1), bb:$offset)>;
[all …]
DHexagonIntrinsicsV4.td119 def : Pat <(int_hexagon_M4_mpyrr_addr IntRegs:$src1, IntRegs:$src2,
120 IntRegs:$src3),
121 (M4_mpyrr_addr IntRegs:$src1, IntRegs:$src2, IntRegs:$src3)>;
180 def : Pat <(int_hexagon_S4_vrcrotate DoubleRegs:$src1, IntRegs:$src2,
182 (S4_vrcrotate DoubleRegs:$src1, IntRegs:$src2, u2ImmPred:$src3)>;
187 IntRegs:$src3, u2ImmPred:$src4),
189 IntRegs:$src3, u2ImmPred:$src4)>;
262 Pat<(i32 (IntID IntRegs:$Rs, IntRegs:$Rt, IntRegs:$Ru)),
263 (i32 (C2_tfrpr (Inst (C2_tfrrp IntRegs:$Rs),
264 (C2_tfrrp IntRegs:$Rt),
[all …]
DHexagonInstrInfoV5.td43 def A5_vaddhubs: T_S3op_1 <"vaddhub", IntRegs, 0b01, 0b001, 0, 1>;
75 def FCONST32_nsdata : LDInst<(outs IntRegs:$dst), (ins globaladdress:$global),
88 def CONST32_Float_Real : LDInst<(outs IntRegs:$dst), (ins f32imm:$src1),
102 def TFRI_f : ALU32_ri<(outs IntRegs:$dst), (ins f32Ext:$src1),
109 def TFRI_cPt_f : ALU32_ri<(outs IntRegs:$dst),
116 def TFRI_cNotPt_f : ALU32_ri<(outs IntRegs:$dst),
127 def S5_popcountp : ALU64_rr<(outs IntRegs:$Rd), (ins DoubleRegs:$Rss),
152 : MInst<(outs IntRegs:$Rd),
153 (ins IntRegs:$Rs, IntRegs:$Rt),
218 (outs IntRegs:$Rd, PredRegs:$Pe),
[all …]
DHexagonIntrinsics.td664 (A2_subri -1, IntRegs:$Rs)>;
667 def : Pat <(int_hexagon_A2_neg IntRegs:$Rs),
668 (A2_subri 0, IntRegs:$Rs)>;
672 (A2_tfril IntRegs:$Rs, u16_0ImmPred:$Is)>;
674 (A2_tfrih IntRegs:$Rs, u16_0ImmPred:$Is)>;
696 (i32 (C2_mux (C2_tfrrp IntRegs:$Rp), IntRegs:$Rs, IntRegs:$Rt))>;
909 Pat<(i32 (IntID IntRegs:$Rs)),
910 (i32 (C2_tfrpr (Inst (C2_tfrrp IntRegs:$Rs))))>;
913 Pat<(i32 (IntID IntRegs:$Rs, IntRegs:$Rt)),
914 (i32 (C2_tfrpr (Inst (C2_tfrrp IntRegs:$Rs), (C2_tfrrp IntRegs:$Rt))))>;
[all …]
DHexagonInstrInfoVector.td17 def V4I8: PatLeaf<(v4i8 IntRegs:$R)>;
18 def V2I16: PatLeaf<(v2i16 IntRegs:$R)>;
25 def : Pat <(b (bitconvert (a IntRegs:$src))),
26 (b IntRegs:$src)>;
27 def : Pat <(a (bitconvert (b IntRegs:$src))),
28 (a IntRegs:$src)>;
75 def : Pat<(v2i16 (add (v2i16 IntRegs:$src1), (v2i16 IntRegs:$src2))),
76 (A2_svaddh IntRegs:$src1, IntRegs:$src2)>;
78 def : Pat<(v2i16 (sub (v2i16 IntRegs:$src1), (v2i16 IntRegs:$src2))),
79 (A2_svsubh IntRegs:$src1, IntRegs:$src2)>;
[all …]
DHexagonRegisterInfo.td166 def IntRegs : RegisterClass<"Hexagon", [i32, f32, v4i8, v2i16], 32,
206 def PositiveHalfWord : PatLeaf<(i32 IntRegs:$a),
/external/llvm/docs/
DHowToUseInstrMappings.rst121 def ADD : ALU32_rr<(outs IntRegs:$dst), (ins IntRegs:$a, IntRegs:$b),
123 [(set (i32 IntRegs:$dst), (add (i32 IntRegs:$a),
124 (i32 IntRegs:$b)))]>;
126 def ADD_Pt : ALU32_rr<(outs IntRegs:$dst),
127 (ins PredRegs:$p, IntRegs:$a, IntRegs:$b),
131 def ADD_Pf : ALU32_rr<(outs IntRegs:$dst),
132 (ins PredRegs:$p, IntRegs:$a, IntRegs:$b),
142 def ADD : PredRel, ALU32_rr<(outs IntRegs:$dst), (ins IntRegs:$a, IntRegs:$b),
144 [(set (i32 IntRegs:$dst), (add (i32 IntRegs:$a),
145 (i32 IntRegs:$b)))]> {
[all …]
DWritingAnLLVMBackend.rst531 ``FPRegs``, ``DFPRegs``, and ``IntRegs``. For all three register classes, the
546 def IntRegs : RegisterClass<"SP", [i32], 32,
573 associated register classes. The order of registers in ``IntRegs`` reflects
574 the order in the definition of ``IntRegs`` in the target description file.
578 // IntRegs Register Class...
579 static const unsigned IntRegs[] = {
598 // IntRegs Sub-register Classess...
603 // IntRegs Super-register Classess...
608 // IntRegs Register Class sub-classes...
613 // IntRegs Register Class super-classes...
[all …]
/external/llvm/lib/Target/Sparc/
DSparcInstrInfo.td265 (outs IntRegs:$rd), (ins IntRegs:$rs1, IntRegs:$rs2),
268 (outs IntRegs:$rd), (ins IntRegs:$rs1, simm13Op:$simm13),
347 : Pseudo<(outs IntRegs:$dst), (ins IntRegs:$T, IntRegs:$F, i32imm:$Cond),
369 : Pseudo<(outs IntRegs:$dst), (ins IntRegs:$T, IntRegs:$F, i32imm:$Cond),
390 def JMPLrr: F3_1<2, 0b111000, (outs IntRegs:$dst), (ins MEMrr:$addr),
392 def JMPLri: F3_2<2, 0b111000, (outs IntRegs:$dst), (ins MEMri:$addr),
419 defm LDSB : Load<"ldsb", 0b001001, sextloadi8, IntRegs, i32>;
420 defm LDSH : Load<"ldsh", 0b001010, sextloadi16, IntRegs, i32>;
421 defm LDUB : Load<"ldub", 0b000001, zextloadi8, IntRegs, i32>;
422 defm LDUH : Load<"lduh", 0b000010, zextloadi16, IntRegs, i32>;
[all …]
DSparcInstrAliases.td23 (movrr IntRegs:$rd, IntRegs:$rs2, condVal)>;
28 (movri IntRegs:$rd, i32imm:$simm11, condVal)>;
48 (movrr IntRegs:$rd, FCCRegs:$cc, IntRegs:$rs2, condVal)>;
52 (movri IntRegs:$rd, FCCRegs:$cc, i32imm:$simm11, condVal)>;
141 (TICCrr IntRegs:$rs1, IntRegs:$rs2, condVal)>,
146 (TICCrr G0, IntRegs:$rs2, condVal)>,
151 (TXCCrr IntRegs:$rs1, IntRegs:$rs2, condVal)>,
156 (TXCCrr G0, IntRegs:$rs2, condVal)>,
161 (TICCrr IntRegs:$rs1, IntRegs:$rs2, condVal)>;
165 (TICCrr G0, IntRegs:$rs2, condVal)>;
[all …]
DSparcInstr64Bit.td23 def : Pat<(i32 (trunc i64:$val)), (COPY_TO_REGCLASS $val, IntRegs)>;
196 (outs IntRegs:$rd), (ins IntRegs:$rs1, i64imm:$simm13),
207 (outs IntRegs:$rd), (ins IntRegs:$rs1, i64imm:$simm13),
216 (outs IntRegs:$rd), (ins IntRegs:$rs1, i64imm:$simm13),
243 (outs IntRegs:$dst), (ins MEMrr:$addr, TLSSym:$sym),
316 def MOVXCCrr : F4_1<0b101100, (outs IntRegs:$rd),
317 (ins IntRegs:$rs2, IntRegs:$f, CCOp:$cond),
321 def MOVXCCri : F4_2<0b101100, (outs IntRegs:$rd),
322 (ins i32imm:$simm11, IntRegs:$f, CCOp:$cond),
384 (ins I64Regs:$rs1, IntRegs:$rs2),
[all …]
DSparcRegisterInfo.td191 def IntRegs : RegisterClass<"SP", [i32, i64], 32,
199 // to be a sub-class of IntRegs. That works out because requiring a 64-bit
201 def I64Regs : RegisterClass<"SP", [i64], 64, (add IntRegs)>;
DSparcInstrFormats.td211 def rr : F3_Sr<2, Op3Val, XVal, (outs RC:$rd), (ins RC:$rs1, IntRegs:$rs2),
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp91 static unsigned IntRegs[32] = { variable
786 RegNo = IntRegs[intVal]; in matchRegisterName()
794 RegNo = IntRegs[8 + intVal]; in matchRegisterName()
801 RegNo = IntRegs[16 + intVal]; in matchRegisterName()
808 RegNo = IntRegs[24 + intVal]; in matchRegisterName()
832 RegNo = IntRegs[intVal]; in matchRegisterName()
/external/valgrind/none/tests/x86/
Dgen_insn_test.pl70 our @IntRegs = (
195 my @intregs = @IntRegs;
/external/valgrind/none/tests/amd64/
Dgen_insn_test.pl86 our @IntRegs = (
217 my @intregs = @IntRegs;
/external/llvm/lib/Target/Mips/
DMipsISelLowering.cpp2329 static const MCPhysReg IntRegs[] = { Mips::A0, Mips::A1, Mips::A2, Mips::A3 }; in CC_MipsO32() local
2371 Reg = State.AllocateReg(IntRegs); in CC_MipsO32()
2375 Reg = State.AllocateReg(IntRegs); in CC_MipsO32()
2380 Reg = State.AllocateReg(IntRegs); in CC_MipsO32()
2382 Reg = State.AllocateReg(IntRegs); in CC_MipsO32()
2383 State.AllocateReg(IntRegs); in CC_MipsO32()
2390 State.AllocateReg(IntRegs); in CC_MipsO32()
2394 unsigned Reg2 = State.AllocateReg(IntRegs); in CC_MipsO32()
2396 State.AllocateReg(IntRegs); in CC_MipsO32()
2397 State.AllocateReg(IntRegs); in CC_MipsO32()
/external/llvm/test/CodeGen/Hexagon/
Dcirc_ldd_bug.ll10 ; %vreg0 (CRRegs) = TFCR %vreg0 (IntRegs)
12 ; %vreg1 (CRRegs) = TFCR %vreg1 (IntRegs)