Home
last modified time | relevance | path

Searched refs:GPR (Results 1 – 25 of 134) sorted by relevance

123456

/freebsd-12.1/contrib/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoA.td37 (outs GPR:$rd), (ins GPR:$rs1, GPR:$rs2),
179 : Pseudo<(outs GPR:$res, GPR:$scratch1, GPR:$scratch2),
190 : Pseudo<(outs GPR:$res, GPR:$scratch1, GPR:$scratch2),
204 : Pat<(intrin GPR:$addr, GPR:$incr, GPR:$mask, GPR:$shiftamt,
206 (AMOInst GPR:$addr, GPR:$incr, GPR:$mask, GPR:$shiftamt,
249 (CmpXchgInst GPR:$addr, GPR:$cmp, GPR:$new, 2)>;
251 (CmpXchgInst GPR:$addr, GPR:$cmp, GPR:$new, 4)>;
253 (CmpXchgInst GPR:$addr, GPR:$cmp, GPR:$new, 5)>;
265 (ins GPR:$addr, GPR:$cmpval, GPR:$newval, GPR:$mask,
274 GPR:$addr, GPR:$cmpval, GPR:$newval, GPR:$mask, imm:$ordering),
[all …]
H A DRISCVInstrInfo.td645 : Pat<(OpNode GPR:$rs1, GPR:$rs2), (Inst GPR:$rs1, GPR:$rs2)>;
734 def : Pat<(seteq GPR:$rs1, GPR:$rs2), (SLTIU (XOR GPR:$rs1, GPR:$rs2), 1)>;
736 def : Pat<(setne GPR:$rs1, GPR:$rs2), (SLTU X0, (XOR GPR:$rs1, GPR:$rs2))>;
737 def : Pat<(setugt GPR:$rs1, GPR:$rs2), (SLTU GPR:$rs2, GPR:$rs1)>;
738 def : Pat<(setuge GPR:$rs1, GPR:$rs2), (XORI (SLTU GPR:$rs1, GPR:$rs2), 1)>;
739 def : Pat<(setule GPR:$rs1, GPR:$rs2), (XORI (SLTU GPR:$rs2, GPR:$rs1), 1)>;
740 def : Pat<(setgt GPR:$rs1, GPR:$rs2), (SLT GPR:$rs2, GPR:$rs1)>;
741 def : Pat<(setge GPR:$rs1, GPR:$rs2), (XORI (SLT GPR:$rs1, GPR:$rs2), 1)>;
742 def : Pat<(setle GPR:$rs1, GPR:$rs2), (XORI (SLT GPR:$rs2, GPR:$rs1), 1)>;
926 (ADDW GPR:$rs1, GPR:$rs2)>;
[all …]
H A DRISCVInstrInfoM.td54 def : Pat<(sext_inreg (mul GPR:$rs1, GPR:$rs2), i32),
55 (MULW GPR:$rs1, GPR:$rs2)>;
58 (DIVW GPR:$rs1, GPR:$rs2)>;
61 (SRLI (SLLI (DIVW GPR:$rs1, GPR:$rs2), 32), 32)>;
63 (DIVUW GPR:$rs1, GPR:$rs2)>;
67 (SRLI (SLLI (DIVUW GPR:$rs1, GPR:$rs2), 32), 32)>;
71 def : Pat<(srem (sexti32 GPR:$rs1), (sexti32 GPR:$rs2)),
72 (REMW GPR:$rs1, GPR:$rs2)>;
75 (REMW GPR:$rs1, GPR:$rs2)>;
77 (REMUW GPR:$rs1, GPR:$rs2)>;
[all …]
H A DRISCVInstrInfoF.td82 : RVInstR<0b1010000, funct3, OPC_OP_FP, (outs GPR:$rd),
92 (ins GPR:$rs1, simm12:$imm12),
100 (ins FPR32:$rs2, GPR:$rs1, simm12:$imm12),
206 (FLT_S GPR:$rd, FPR32:$rt, FPR32:$rs), 0>;
208 (FLE_S GPR:$rd, FPR32:$rt, FPR32:$rs), 0>;
215 def : InstAlias<"fscsr $rd, $rs", (CSRRW GPR:$rd, 0x003, GPR:$rs)>;
219 def : InstAlias<"fsrm $rd, $rs", (CSRRW GPR:$rd, 0x002, GPR:$rs)>;
225 def : InstAlias<"fsflags $rd, $rs", (CSRRW GPR:$rd, 0x001, GPR:$rs)>;
252 def : Pat<(bitconvert GPR:$rs1), (FMV_W_X GPR:$rs1)>;
334 def : Pat<(sint_to_fp GPR:$rs1), (FCVT_S_W $rs1, 0b111)>;
[all …]
H A DRISCVInstrInfoD.td60 : RVInstR<0b1010001, funct3, OPC_OP_FP, (outs GPR:$rd),
71 (ins GPR:$rs1, simm12:$imm12),
79 (ins FPR64:$rs2, GPR:$rs1, simm12:$imm12),
192 (FLT_D GPR:$rd, FPR64:$rt, FPR64:$rs), 0>;
194 (FLE_D GPR:$rd, FPR64:$rt, FPR64:$rs), 0>;
291 : Pseudo<(outs FPR64:$dst), (ins GPR:$src1, GPR:$src2),
292 [(set FPR64:$dst, (RISCVBuildPairF64 GPR:$src1, GPR:$src2))]>;
297 : Pseudo<(outs GPR:$dst1, GPR:$dst2), (ins FPR64:$src),
298 [(set GPR:$dst1, GPR:$dst2, (RISCVSplitF64 FPR64:$src))]>;
308 def : Pat<(sint_to_fp GPR:$rs1), (FCVT_D_W GPR:$rs1)>;
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/Lanai/
H A DLanaiInstrInfo.td294 def R : InstRR<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, GPR:$Rs2, pred:$DDDI),
296 [(set GPR:$Rd, (OpNode GPR:$Rs1, GPR:$Rs2))]>;
307 def R : InstRR<subOp, (outs GPR:$Rd), (ins GPR:$Rs1, GPR:$Rs2, pred:$DDDI),
309 [(set GPR:$Rd, (OpNode GPR:$Rs1, GPR:$Rs2))]>;
396 def : Pat<(LanaiSubbF GPR:$Rs1, GPR:$Rs2),
397 (SUBB_F_R GPR:$Rs1, GPR:$Rs2)>;
444 : InstRR<0b111, (outs GPR:$Rd), (ins GPR:$Rs1, GPR:$Rs2, pred:$DDDI), AsmStr,
450 [(set GPR:$Rd, (shl GPR:$Rs1, GPR:$Rs2))]>;
471 def : Pat<(srl GPR:$Rs1, GPR:$Rs2),
472 (SRL_R GPR:$Rs1, (SUB_R R0, GPR:$Rs2))>;
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMInstrInfo.td3711 // GPR:$dst = GPR:$a op GPR:$b
3820 def USADA8 : AI<(outs GPR:$Rd), (ins GPR:$Rn, GPR:$Rm, GPR:$Ra),
4193 (SMLAL GPR:$RdLo, GPR:$RdHi, GPR:$Rn, GPR:$Rm, GPR:$RLo, GPR:$RHi,
4200 (UMLAL GPR:$RdLo, GPR:$RdHi, GPR:$Rn, GPR:$Rm, GPR:$RLo, GPR:$RHi,
4226 (ins GPR:$Rn, GPR:$Rm, GPR:$Ra),
4235 [(set GPR:$Rd, (ARMsmmlar GPR:$Rn, GPR:$Rm, GPR:$Ra))]>,
4248 [(set GPR:$Rd, (ARMsmmlsr GPR:$Rn, GPR:$Rm, GPR:$Ra))]>,
4361 def : ARMV5TEPat<(ARMsmlalbb GPR:$Rn, GPR:$Rm, GPR:$RLo, GPR:$RHi),
4363 def : ARMV5TEPat<(ARMsmlalbt GPR:$Rn, GPR:$Rm, GPR:$RLo, GPR:$RHi),
4365 def : ARMV5TEPat<(ARMsmlaltb GPR:$Rn, GPR:$Rm, GPR:$RLo, GPR:$RHi),
[all …]
H A DARMInstrThumb2.td2805 def : Thumb2DSPPat<(int_arm_smlabb GPR:$a, GPR:$b, GPR:$acc),
2806 (t2SMLABB GPR:$a, GPR:$b, GPR:$acc)>;
2808 (t2SMLABT GPR:$a, GPR:$b, GPR:$acc)>;
2810 (t2SMLATB GPR:$a, GPR:$b, GPR:$acc)>;
2812 (t2SMLATT GPR:$a, GPR:$b, GPR:$acc)>;
2814 (t2SMLAWB GPR:$a, GPR:$b, GPR:$acc)>;
2816 (t2SMLAWT GPR:$a, GPR:$b, GPR:$acc)>;
2828 def : Thumb2DSPPat<(ARMsmlalbb GPR:$Rn, GPR:$Rm, GPR:$RLo, GPR:$RHi),
2830 def : Thumb2DSPPat<(ARMsmlalbt GPR:$Rn, GPR:$Rm, GPR:$RLo, GPR:$RHi),
2832 def : Thumb2DSPPat<(ARMsmlaltb GPR:$Rn, GPR:$Rm, GPR:$RLo, GPR:$RHi),
[all …]
H A DARMInstrVFP.td173 AXDI4<(outs GPR:$wb), (ins GPR:$Rn, pred:$p, dpr_reglist:$regs,
182 AXDI4<(outs GPR:$wb), (ins GPR:$Rn, pred:$p, dpr_reglist:$regs,
205 AXSI4<(outs GPR:$wb), (ins GPR:$Rn, pred:$p, spr_reglist:$regs,
218 AXSI4<(outs GPR:$wb), (ins GPR:$Rn, pred:$p, spr_reglist:$regs,
1084 (outs GPR:$Rt, GPR:$Rt2), (ins DPR:$Dm),
1139 (outs DPR:$Dm), (ins GPR:$Rt, GPR:$Rt2),
1168 def : Pat<(fabs (arm_fmdrr GPR:$Rl, GPR:$Rh)),
1169 (VMOVDRR GPR:$Rl, (BFC GPR:$Rh, (i32 0x7FFFFFFF)))>,
1171 def : Pat<(fabs (arm_fmdrr GPR:$Rl, GPR:$Rh)),
1174 def : Pat<(fneg (arm_fmdrr GPR:$Rl, GPR:$Rh)),
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/BPF/
H A DBPFInstrInfo.td141 (ins GPR:$dst, GPR:$src, brtarget:$BrDst),
215 (ins GPR:$src2, GPR:$src),
222 [(set GPR:$dst, (OpNode GPR:$src2, i64immSExt32:$imm))]>;
260 def NEG_64: NEG_RR<BPF_ALU64, BPF_NEG, (outs GPR:$dst), (ins GPR:$src),
487 (ins GPR:$lhs, GPR:$rhs, i64imm:$imm, GPR:$src, GPR:$src2),
492 (ins GPR:$lhs, i64imm:$rhs, i64imm:$imm, GPR:$src, GPR:$src2),
539 def : Pat<(BPFcall GPR:$dst), (JALX GPR:$dst)>;
554 [(set GPR:$dst, (OpNode ADDRri:$addr, GPR:$val))]> {
616 (ins GPR:$skb, GPR:$val),
618 [(set R0, (OpNode GPR:$skb, GPR:$val))]> {
[all …]
/freebsd-12.1/contrib/gcc/config/rs6000/
H A Dsync.md54 (unspec_volatile:GPR
73 (unspec:GPR
139 (unspec:GPR
236 (unspec:GPR
237 [(and:GPR (not:GPR (match_dup 0))
344 (unspec:GPR
345 [(and:GPR (not:GPR (match_dup 1))
454 (and:GPR
455 (not:GPR (match_operand:GPR 1 "memory_operand" "+Z"))
458 (unspec:GPR
[all …]
/freebsd-12.1/contrib/gcc/config/mips/
H A Dmips.md662 (plus:GPR (match_operand:GPR 1 "register_operand")
683 (plus:GPR (reg:GPR 29)
695 (plus:GPR (reg:GPR 29)
1013 (mult:GPR (match_operand:GPR 1 "register_operand")
1091 (mult:GPR (match_operand:GPR 1 "register_operand" "d")
1101 (mult:GPR (match_operand:GPR 1 "register_operand" "d")
1886 (div:GPR (match_operand:GPR 1 "register_operand" "d")
2075 (and:GPR (match_operand:GPR 1 "register_operand")
2105 (ior:GPR (match_operand:GPR 1 "register_operand")
2135 (xor:GPR (match_operand:GPR 1 "register_operand")
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Process/Utility/
H A DRegisterInfoPOSIX_arm64.cpp22 (LLVM_EXTENSION offsetof(RegisterInfoPOSIX_arm64::GPR, reg))
24 #define FPU_OFFSET(idx) ((idx)*16 + sizeof(RegisterInfoPOSIX_arm64::GPR))
27 sizeof(RegisterInfoPOSIX_arm64::GPR))
31 sizeof(RegisterInfoPOSIX_arm64::GPR) + \
35 sizeof(RegisterInfoPOSIX_arm64::GPR) + \
48 (sizeof(RegisterInfoPOSIX_arm64::GPR) + \
89 return sizeof(struct RegisterInfoPOSIX_arm64::GPR); in GetGPRSize()
H A DRegisterInfoPOSIX_arm.cpp24 #define FPU_OFFSET(idx) ((idx)*4 + sizeof(RegisterInfoPOSIX_arm::GPR))
27 sizeof(RegisterInfoPOSIX_arm::GPR))
29 ((idx)*4 + sizeof(RegisterInfoPOSIX_arm::GPR) + \
33 sizeof(RegisterInfoPOSIX_arm::GPR) + sizeof(RegisterInfoPOSIX_arm::FPU) + \
44 (sizeof(RegisterInfoPOSIX_arm::GPR) + sizeof(RegisterInfoPOSIX_arm::FPU) + \
84 return sizeof(struct RegisterInfoPOSIX_arm::GPR); in GetGPRSize()
H A DRegisterInfos_powerpc.h13 #define GPR_OFFSET(regname) (offsetof(GPR, regname))
16 #define GPR_SIZE(regname) (sizeof(((GPR *)NULL)->regname))
189 #define GPR GPR64 macro
191 #undef GPR
195 #define GPR GPR32 macro
197 #undef GPR
201 #define GPR GPR64 macro
206 (offsetof(GPR, regname) + (sizeof(((GPR *)NULL)->regname) - GPR_SIZE(reg)))
208 #undef GPR
H A DRegisterContextLinux_i386.cpp16 struct GPR { struct
62 GPR regs; // General purpose registers.
97 sizeof(((GPR *)NULL)->orig_eax), in RegisterContextLinux_i386()
98 (LLVM_EXTENSION offsetof(GPR, orig_eax)), in RegisterContextLinux_i386()
111 size_t RegisterContextLinux_i386::GetGPRSize() const { return sizeof(GPR); } in GetGPRSize()
H A DRegisterContextLinux_x86_64.cpp46 } GPR; typedef
53 GPR gpr; // General purpose registers.
166 sizeof(((GPR *)NULL)->orig_rax), in RegisterContextLinux_x86_64()
167 (LLVM_EXTENSION offsetof(GPR, orig_rax)), in RegisterContextLinux_x86_64()
180 size_t RegisterContextLinux_x86_64::GetGPRSize() const { return sizeof(GPR); } in GetGPRSize()
H A DRegisterContextDarwin_arm64.h67 struct GPR { struct
114 GPRWordCount = sizeof(GPR) / sizeof(uint32_t), // ARM_THREAD_STATE64_COUNT
123 GPR gpr;
203 virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) { return -1; } in DoReadGPR()
211 virtual int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) = 0;
H A DRegisterContextDarwin_i386.h48 struct GPR { struct
107 GPRWordCount = sizeof(GPR) / sizeof(uint32_t),
114 GPR gpr;
184 virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) = 0;
190 virtual int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) = 0;
H A DRegisterContextDarwin_x86_64.h48 struct GPR { struct
112 GPRWordCount = sizeof(GPR) / sizeof(uint32_t),
119 GPR gpr;
189 virtual int DoReadGPR(lldb::tid_t tid, int flavor, GPR &gpr) = 0;
195 virtual int DoWriteGPR(lldb::tid_t tid, int flavor, const GPR &gpr) = 0;
H A DRegisterContextOpenBSD_i386.cpp17 struct GPR { struct
47 GPR gpr; argument
65 size_t RegisterContextOpenBSD_i386::GetGPRSize() const { return sizeof(GPR); } in GetGPRSize()
H A DRegisterContextFreeBSD_i386.cpp17 struct GPR { struct
50 GPR gpr; argument
68 size_t RegisterContextFreeBSD_i386::GetGPRSize() const { return sizeof(GPR); } in GetGPRSize()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/
H A DAArch64GenRegisterBankInfo.def29 // 6: GPR 32-bit value.
31 // 7: GPR 64-bit value.
66 // 19: GPR 32-bit value.
80 // 27: FPR 32-bit value to GPR 32-bit value.
83 // 29: FPR 64-bit value to GPR 64-bit value.
86 // 31: FPR 128-bit value to GPR 128-bit value (invalid)
89 // 33: FPR 256-bit value to GPR 256-bit value (invalid)
92 // 35: FPR 512-bit value to GPR 512-bit value (invalid)
95 // 37: GPR 32-bit value to FPR 32-bit value.
208 PMI_FirstGPR, // GPR
[all …]
H A DAArch64RegisterBankInfo.cpp123 CHECK_VALUEMAP(GPR, 32); in AArch64RegisterBankInfo()
124 CHECK_VALUEMAP(GPR, 64); in AArch64RegisterBankInfo()
141 CHECK_VALUEMAP_3OPS(GPR, 32); in AArch64RegisterBankInfo()
142 CHECK_VALUEMAP_3OPS(GPR, 64); in AArch64RegisterBankInfo()
169 CHECK_VALUEMAP_CROSSREGCPY(GPR, GPR, 32); in AArch64RegisterBankInfo()
170 CHECK_VALUEMAP_CROSSREGCPY(GPR, FPR, 32); in AArch64RegisterBankInfo()
171 CHECK_VALUEMAP_CROSSREGCPY(GPR, GPR, 64); in AArch64RegisterBankInfo()
172 CHECK_VALUEMAP_CROSSREGCPY(GPR, FPR, 64); in AArch64RegisterBankInfo()
174 CHECK_VALUEMAP_CROSSREGCPY(FPR, GPR, 32); in AArch64RegisterBankInfo()
176 CHECK_VALUEMAP_CROSSREGCPY(FPR, GPR, 64); in AArch64RegisterBankInfo()
/freebsd-12.1/contrib/gcc/config/s390/
H A Ds390.md2952 (and:GPR (match_operand:GPR 1 "nonimmediate_operand" "")
4232 (plus:GPR (plus:GPR (match_operand:GPR 1 "nonimmediate_operand" "%0,0")
4247 (plus:GPR (plus:GPR (match_operand:GPR 1 "nonimmediate_operand" "%0,0")
4261 (minus:GPR (minus:GPR (match_operand:GPR 1 "nonimmediate_operand" "0,0")
4276 (minus:GPR (minus:GPR (match_operand:GPR 1 "nonimmediate_operand" "0,0")
6158 (compare (neg:GPR (abs:GPR (match_operand:GPR 1 "register_operand" "d")))
6161 (neg:GPR (abs:GPR (match_dup 1))))]
6169 (compare (neg:GPR (abs:GPR (match_operand:GPR 1 "register_operand" "d")))
6179 (neg:GPR (abs:GPR (match_operand:GPR 1 "register_operand" "d"))))
6314 (rotate:GPR (match_operand:GPR 1 "register_operand" "d")
[all …]

123456