Home
last modified time | relevance | path

Searched refs:Rs (Results 1 – 25 of 56) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonPatterns.td46 // 5. Compound instructions (e.g. Rx+Rs*Rt) are generated under the condition
120 def LoReg: OutPatFrag<(ops node:$Rs), (EXTRACT_SUBREG $Rs, isub_lo)>;
121 def HiReg: OutPatFrag<(ops node:$Rs), (EXTRACT_SUBREG $Rs, isub_hi)>;
246 def I1toI32: OutPatFrag<(ops node:$Rs), (C2_muxii (i1 $Rs), 1, 0)>;
247 def I32toI1: OutPatFrag<(ops node:$Rs), (i1 (C2_cmpgtui (i32 $Rs), (i32 0)))>;
248 def ToZext64: OutPatFrag<(ops node:$Rs), (i64 (A4_combineir 0, (i32 $Rs)))>;
249 def ToSext64: OutPatFrag<(ops node:$Rs), (i64 (A2_sxtw (i32 $Rs)))>;
250 def ToAext64: OutPatFrag<(ops node:$Rs),
251 (REG_SEQUENCE DoubleRegs, (i32 (IMPLICIT_DEF)), isub_hi, (i32 $Rs), isub_lo)>;
253 def Combinew: OutPatFrag<(ops node:$Rs, node:$Rt),
[all …]
H A DHexagonIntrinsics.td12 : Pat <(IntID I32:$Rs),
13 (MI I32:$Rs)>;
16 : Pat <(IntID I32:$Rs, I32:$Rt),
17 (MI I32:$Rs, I32:$Rt)>;
20 : Pat <(IntID I32:$Rs, I64:$Rt),
21 (MI I32:$Rs, I64:$Rt)>;
23 def: Pat<(int_hexagon_A2_add IntRegs:$Rs, IntRegs:$Rt),
24 (A2_add IntRegs:$Rs, IntRegs:$Rt)>;
25 def: Pat<(int_hexagon_A2_addi IntRegs:$Rs, timm:$s16),
26 (A2_addi IntRegs:$Rs, imm:$s16)>;
[all …]
H A DHexagonRegisterInfo.td90 // Rs - system registers
91 class Rs<bits<7> num, string n,
289 def SGP0 : Rs<0, "sgp0", ["s0"]>, DwarfRegNum<[144]>;
290 def SGP1 : Rs<1, "sgp1", ["s1"]>, DwarfRegNum<[145]>;
291 def STID : Rs<2, "stid", ["s2"]>, DwarfRegNum<[146]>;
292 def ELR : Rs<3, "elr", ["s3"]>, DwarfRegNum<[147]>;
293 def BADVA0 : Rs<4, "badva0", ["s4"]>, DwarfRegNum<[148]>;
294 def BADVA1 : Rs<5, "badva1", ["s5"]>, DwarfRegNum<[149]>;
295 def SSR : Rs<6, "ssr", ["s6"]>, DwarfRegNum<[150]>;
296 def CCR : Rs<7, "ccr", ["s7"]>, DwarfRegNum<[151]>;
[all …]
H A DHexagonConstExtenders.cpp293 Register Rs; member
298 ExtExpr(Register RS, bool NG, unsigned SH) : Rs(RS), S(SH), Neg(NG) {} in ExtExpr()
301 return Rs.Reg == 0; in trivial()
304 return Rs == Ex.Rs && S == Ex.S && Neg == Ex.Neg; in operator ==()
310 if (Rs != Ex.Rs) in operator <()
311 return Rs < Ex.Rs; in operator <()
446 : Rs(R), HRI(I) {} in PrintRegister()
447 HCE::Register Rs; member
453 if (P.Rs.Reg != 0) in operator <<()
454 OS << printReg(P.Rs.Reg, &P.HRI, P.Rs.Sub); in operator <<()
[all …]
H A DHexagonPatternsHVX.td300 def: Pat<(HexagonVEXTRACTW HVI8:$Vu, I32:$Rs),
301 (V6_extractw HvxVR:$Vu, I32:$Rs)>;
302 def: Pat<(HexagonVEXTRACTW HVI16:$Vu, I32:$Rs),
303 (V6_extractw HvxVR:$Vu, I32:$Rs)>;
304 def: Pat<(HexagonVEXTRACTW HVI32:$Vu, I32:$Rs),
305 (V6_extractw HvxVR:$Vu, I32:$Rs)>;
348 def: Pat<(VecI8 (splat_vector I32:$Rs)), (PS_vsplatrb $Rs)>;
349 def: Pat<(VecI16 (splat_vector I32:$Rs)), (PS_vsplatrh $Rs)>;
350 def: Pat<(VecI32 (splat_vector I32:$Rs)), (PS_vsplatrw $Rs)>;
351 def: Pat<(VecPI8 (splat_vector I32:$Rs)), (Rep (PS_vsplatrb $Rs))>;
[all …]
H A DHexagonIntrinsicsV5.td41 // Rdd=vmpyhsu(Rs,Rt)[:<<1]:sat
45 // Rxx+=vmpyhsu(Rs,Rt)[:<<1]:sat
50 // Rdd=vpmpyh(Rs,Rt)
52 // Rxx[^]=vpmpyh(Rs,Rt)
56 // Rdd=pmpyw(Rs,Rt)
58 // Rxx^=pmpyw(Rs,Rt)
302 // Rd=[cround|round](Rs,Rt)[:sat]
303 // Rd=[cround|round](Rs,#u5)[:sat]
328 // Rdd=vmpyb[s]u(Rs,Rt)
332 // Rxx+=vmpyb[s]u(Rs,Rt)
H A DHexagonSplitDouble.cpp103 void collectIndRegsForLoop(const MachineLoop *L, USet &Rs);
147 const USet &Rs = I.second; in isInduction() local
148 if (Rs.find(Reg) != Rs.end()) in isInduction()
373 Register Rs = MI->getOperand(1).getReg(); in profit() local
375 return profit(Rs) + profit(Rt); in profit()
475 USet &Rs) { in collectIndRegsForLoop() argument
559 Rs.insert(DP.begin(), End); in collectIndRegsForLoop()
560 Rs.insert(CmpR1); in collectIndRegsForLoop()
561 Rs.insert(CmpR2); in collectIndRegsForLoop()
565 dump_partition(dbgs(), Rs, *TRI); in collectIndRegsForLoop()
[all …]
H A DHexagonPseudo.td42 class REG_IMMED<string RegHalf, bit Rs, bits<3> MajOp, bit MinOp,
51 let Inst{27} = Rs;
209 def PS_callr_nr: InstHexagon<(outs), (ins IntRegs:$Rs),
210 "callr $Rs", [], "", J2_callr.Itinerary, TypeJ>, OpcodeHexagon {
211 bits<5> Rs;
217 let Inst{20-16} = Rs;
286 (ins IntRegs:$Rs, IntRegs:$fi, s32_0Imm:$off), "">;
336 (ins IntRegs:$Rs, u32_0Imm:$A), "", []>;
355 (ins PredRegs:$Pu, DoubleRegs:$Rs, DoubleRegs:$Rt),
432 class Vsplatr_template : InstHexagon<(outs HvxVR:$Vd), (ins IntRegs:$Rs),
[all …]
H A DHexagonGenInsert.cpp128 RegisterSet &insert(const RegisterSet &Rs) { in insert()
129 return static_cast<RegisterSet&>(BitVector::operator|=(Rs)); in insert()
131 RegisterSet &remove(const RegisterSet &Rs) { in remove()
132 return static_cast<RegisterSet&>(BitVector::reset(Rs)); in remove()
155 bool includes(const RegisterSet &Rs) const { in includes()
157 return !Rs.BitVector::test(*this); in includes()
159 bool intersects(const RegisterSet &Rs) const { in intersects()
160 return BitVector::anyCommon(Rs); in intersects()
1211 void stats(const RegisterSet &Rs, unsigned &Size, unsigned &Zero,
1248 void IFOrdering::stats(const RegisterSet &Rs, unsigned &Size, unsigned &Zero, in stats() argument
[all …]
H A DHexagonBitSimplify.cpp136 RegisterSet &insert(const RegisterSet &Rs) { in insert()
137 for (unsigned R = Rs.find_first(); R; R = Rs.find_next(R)) in insert()
141 RegisterSet &remove(const RegisterSet &Rs) { in remove()
142 for (unsigned R = Rs.find_first(); R; R = Rs.find_next(R)) in remove()
161 bool includes(const RegisterSet &Rs) const { in includes()
163 return !Rs.Bits.test(Bits); in includes()
165 bool intersects(const RegisterSet &Rs) const { in intersects()
166 return Bits.anyCommon(Rs.Bits); in intersects()
1793 BitTracker::RegisterRef &Rs, BitTracker::RegisterRef &Rt);
1919 const BitTracker::RegisterCell &RC, BitTracker::RegisterRef &Rs, in matchPackhl() argument
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DRISCVCInstructions.h26 operator Rs() { return Rs{rd + (shift ? 8 : 0)}; } in Rs() function
59 return LW{rd, Rs{gpr_sp_riscv}, uint32_t(offset)}; in DecodeC_LWSP()
69 return LD{rd, Rs{gpr_sp_riscv}, uint32_t(offset)}; in DecodeC_LDSP()
75 return SW{Rs{gpr_sp_riscv}, DecodeCSS_RS2(inst), uint32_t(offset)}; in DecodeC_SWSP()
81 return SD{Rs{gpr_sp_riscv}, DecodeCSS_RS2(inst), uint32_t(offset)}; in DecodeC_SDSP()
150 return B{rs1, Rs{0}, uint32_t(offset), 0b001}; in DecodeC_BNEZ()
151 return B{rs1, Rs{0}, uint32_t(int32_t(int16_t(offset | 0xfe00))), 0b001}; in DecodeC_BNEZ()
158 return B{rs1, Rs{0}, uint32_t(offset), 0b000}; in DecodeC_BEQZ()
159 return B{rs1, Rs{0}, uint32_t(int32_t(int16_t(offset | 0xfe00))), 0b000}; in DecodeC_BEQZ()
166 return ADDI{rd, Rs{0}, uint32_t(imm)}; in DecodeC_LI()
[all …]
H A DRISCVInstructions.h28 struct Rs { struct
46 Rs rs1; \ argument
52 Rs rs1; \
53 Rs rs2; \
68 Rs rs1; \
69 Rs rs2; \
75 Rs rs1; \
82 Rs rs1; \
88 Rs rs1; \
89 Rs rs2; \
[all …]
H A DEmulateInstructionRISCV.cpp133 std::optional<uint64_t> Rs::Read(EmulateInstructionRISCV &emulator) { in Read()
141 std::optional<int32_t> Rs::ReadI32(EmulateInstructionRISCV &emulator) { in ReadI32()
146 std::optional<int64_t> Rs::ReadI64(EmulateInstructionRISCV &emulator) { in ReadI64()
151 std::optional<uint32_t> Rs::ReadU32(EmulateInstructionRISCV &emulator) { in ReadU32()
156 std::optional<APFloat> Rs::ReadAPFloat(EmulateInstructionRISCV &emulator, in ReadAPFloat()
393 return T{Rd{DecodeRD(inst)}, Rs{DecodeRS1(inst)}, DecodeIImm(inst)}; in DecodeIType()
397 return T{Rs{DecodeRS1(inst)}, Rs{DecodeRS2(inst)}, DecodeBImm(inst), in DecodeBType()
402 return T{Rs{DecodeRS1(inst)}, Rs{DecodeRS2(inst)}, DecodeSImm(inst)}; in DecodeSType()
406 return T{Rd{DecodeRD(inst)}, Rs{DecodeRS1(inst)}, Rs{DecodeRS2(inst)}}; in DecodeRType()
410 return T{Rd{DecodeRD(inst)}, Rs{DecodeRS1(inst)}, DecodeRS2(inst)}; in DecodeRShamtType()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCCompound.cpp201 MCOperand Rs, Rt; in getCompoundInsn() local
223 Rs = L.getOperand(1); in getCompoundInsn()
229 CompoundInsn->addOperand(Rs); in getCompoundInsn()
236 Rs = L.getOperand(1); in getCompoundInsn()
242 CompoundInsn->addOperand(Rs); in getCompoundInsn()
249 Rs = L.getOperand(1); in getCompoundInsn()
255 CompoundInsn->addOperand(Rs); in getCompoundInsn()
262 Rs = L.getOperand(1); in getCompoundInsn()
268 CompoundInsn->addOperand(Rs); in getCompoundInsn()
283 Rs = L.getOperand(1); in getCompoundInsn()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/Disassembler/
H A DMipsDisassembler.cpp578 InsnType Rs = fieldFromInstruction(insn, 16, 5); in DecodeDAHIDATIMMR6() local
581 Rs))); in DecodeDAHIDATIMMR6()
583 Rs))); in DecodeDAHIDATIMMR6()
592 InsnType Rs = fieldFromInstruction(insn, 21, 5); in DecodeDAHIDATI() local
595 Rs))); in DecodeDAHIDATI()
597 Rs))); in DecodeDAHIDATI()
617 InsnType Rs = fieldFromInstruction(insn, 21, 5); in DecodeAddiGroupBranch() local
622 if (Rs >= Rt) { in DecodeAddiGroupBranch()
625 } else if (Rs != 0 && Rs < Rt) { in DecodeAddiGroupBranch()
633 Rs))); in DecodeAddiGroupBranch()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_mips.cpp40 inline static uint32_t encodeInstruction(uint32_t Opcode, uint32_t Rs, in encodeInstruction() argument
43 return (Opcode | Rs << 21 | Rt << 16 | Imm); in encodeInstruction()
47 encodeSpecialInstruction(uint32_t Opcode, uint32_t Rs, uint32_t Rt, uint32_t Rd, in encodeSpecialInstruction() argument
49 return (Rs << 21 | Rt << 16 | Rd << 11 | Imm << 6 | Opcode); in encodeSpecialInstruction()
H A Dxray_mips64.cpp41 inline static uint32_t encodeInstruction(uint32_t Opcode, uint32_t Rs, in encodeInstruction() argument
44 return (Opcode | Rs << 21 | Rt << 16 | Imm); in encodeInstruction()
48 encodeSpecialInstruction(uint32_t Opcode, uint32_t Rs, uint32_t Rt, uint32_t Rd, in encodeSpecialInstruction() argument
50 return (Rs << 21 | Rt << 16 | Rd << 11 | Imm << 6 | Opcode); in encodeSpecialInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/Disassembler/
H A DMSP430Disassembler.cpp154 static AddrMode DecodeSrcAddrMode(unsigned Rs, unsigned As) { in DecodeSrcAddrMode() argument
155 switch (Rs) { in DecodeSrcAddrMode()
182 unsigned Rs = fieldFromInstruction(Insn, 8, 4); in DecodeSrcAddrModeI() local
184 return DecodeSrcAddrMode(Rs, As); in DecodeSrcAddrModeI()
188 unsigned Rs = fieldFromInstruction(Insn, 0, 4); in DecodeSrcAddrModeII() local
190 return DecodeSrcAddrMode(Rs, As); in DecodeSrcAddrModeII()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionDivision.cpp151 SmallVector<const SCEV *, 2> Qs, Rs; in visitAddExpr() local
163 Rs.push_back(R); in visitAddExpr()
168 Remainder = Rs[0]; in visitAddExpr()
173 Remainder = SE.getAddExpr(Rs); in visitAddExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/AsmParser/
H A DHexagonAsmParser.cpp1684 MCOperand &Rs = Inst.getOperand(2); in processInstruction() local
1694 TmpInst.addOperand(Rs); in processInstruction()
1704 MCOperand &Rs = Inst.getOperand(2); in processInstruction() local
1714 TmpInst.addOperand(Rs); in processInstruction()
1724 MCOperand &Rs = Inst.getOperand(2); in processInstruction() local
1734 TmpInst.addOperand(Rs); in processInstruction()
1747 MCOperand &Rs = Inst.getOperand(1); in processInstruction() local
1764 TmpInst.addOperand(Rs); in processInstruction()
1780 MCOperand &Rs = Inst.getOperand(1); in processInstruction() local
1782 TmpInst.addOperand(Rs); in processInstruction()
[all …]
/freebsd/contrib/mandoc/
H A Dmandoc.css166 .Rs { font-style: normal;
276 .Ic, code.In, .Lb, .Lk, .Ms, .Mt, .Nd, code.Nm, .Pa, .Rs,
303 .Rs::before { content: "Rs"; }
318 .Pa::before, .Rs::before,
340 .Rs:hover::before, h2.Sh:hover::before, h3.Ss:hover::before, .St:hover::before,
/freebsd/contrib/llvm-project/clang/lib/Headers/
H A Dhvx_hexagon_protos.h30 #define Q6_R_vextract_VR(Vu,Rs) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_extractw)(Vu,Rs) argument
4001 #define Q6_vgather_ARMVh(Rs,Rt,Mu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vgathermh)(Rs,Rt,M… argument
4012 #define Q6_vgather_AQRMVh(Rs,Qs,Rt,Mu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vgathermhq)(Rs argument
4023 #define Q6_vgather_ARMWw(Rs,Rt,Mu,Vvv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vgathermhw)(Rs,Rt… argument
4034 #define Q6_vgather_AQRMWw(Rs,Qs,Rt,Mu,Vvv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vgathermhwq)( argument
4045 #define Q6_vgather_ARMVw(Rs,Rt,Mu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vgathermw)(Rs,Rt,M… argument
4056 #define Q6_vgather_AQRMVw(Rs,Qs,Rt,Mu,Vv) __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vgathermwq)(Rs argument
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMSchedule.td17 // Rd <- ADD Rn, Rm, <shift> Rs
19 // 2 | Rn: 1 Rm: 4 Rs: 4 | uop T0, Rm, Rs - P01 - 3
22 // Rd after a minimum of three cycles after the result in Rm and Rs is available
27 // the latency to Rm and Rs. The scheduler can decrease Rn's producer latency by
/freebsd/libexec/atrun/
H A DLEGAL27 1Y67zJ+0HFb1mPnSBOrS5RFiQAe3KqmGec6E14Rih/qNoFQZBVRFXZ4xxuwP+0Rs
/freebsd/usr.bin/at/
H A DLEGAL26 1Y67zJ+0HFb1mPnSBOrS5RFiQAe3KqmGec6E14Rih/qNoFQZBVRFXZ4xxuwP+0Rs

123