Home
last modified time | relevance | path

Searched refs:Commutable (Results 1 – 19 of 19) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoM.td28 def MUL : ALU_rr<0b0000001, 0b000, "mul", Commutable=1>,
30 def MULH : ALU_rr<0b0000001, 0b001, "mulh", Commutable=1>,
34 def MULHU : ALU_rr<0b0000001, 0b011, "mulhu", Commutable=1>,
50 def MULW : ALUW_rr<0b0000001, 0b000, "mulw", Commutable=1>,
H A DRISCVInstrInfoZfa.td85 def FMINM_S: FPALU_rr<0b0010100, 0b010, "fminm.s", FPR32, Commutable=1>;
86 def FMAXM_S: FPALU_rr<0b0010100, 0b011, "fmaxm.s", FPR32, Commutable=1>;
106 def FMINM_D: FPALU_rr<0b0010101, 0b010, "fminm.d", FPR64, Commutable=1>;
107 def FMAXM_D: FPALU_rr<0b0010101, 0b011, "fmaxm.d", FPR64, Commutable=1>;
147 def FMINM_H: FPALU_rr<0b0010110, 0b010, "fminm.h", FPR16, Commutable=1>;
148 def FMAXM_H: FPALU_rr<0b0010110, 0b011, "fmaxm.h", FPR16, Commutable=1>;
H A DRISCVInstrInfoF.td191 DAGOperand rty, bit Commutable>
194 let isCommutable = Commutable;
197 ExtInfo Ext, bit Commutable = 0> {
205 bit Commutable>
209 let isCommutable = Commutable;
212 ExtInfo Ext, bit Commutable = 0> {
270 DAGOperand rty, bit Commutable = 0>
273 let isCommutable = Commutable;
276 ExtInfo Ext, bit Commutable = 0> {
318 defm FMUL_S : FPALU_rr_frm_m<0b0001000, "fmul.s", Ext, Commutable=1>;
[all …]
H A DRISCVInstrInfoZb.td414 def CLMULR : ALU_rr<0b0000101, 0b010, "clmulr", Commutable=1>,
419 def CLMUL : ALU_rr<0b0000101, 0b001, "clmul", Commutable=1>,
421 def CLMULH : ALU_rr<0b0000101, 0b011, "clmulh", Commutable=1>,
426 def MIN : ALU_rr<0b0000101, 0b100, "min", Commutable=1>,
428 def MINU : ALU_rr<0b0000101, 0b101, "minu", Commutable=1>,
430 def MAX : ALU_rr<0b0000101, 0b110, "max", Commutable=1>,
432 def MAXU : ALU_rr<0b0000101, 0b111, "maxu", Commutable=1>,
H A DRISCVInstrInfoD.td91 defm FADD_D : FPALU_rr_frm_m<0b0000001, "fadd.d", Ext, Commutable=1>;
95 defm FMUL_D : FPALU_rr_frm_m<0b0001001, "fmul.d", Ext, Commutable=1>;
112 defm FMIN_D : FPALU_rr_m<0b0010101, 0b000, "fmin.d", Ext, Commutable=1>;
113 defm FMAX_D : FPALU_rr_m<0b0010101, 0b001, "fmax.d", Ext, Commutable=1>;
125 defm FEQ_D : FPCmp_rr_m<0b1010001, 0b010, "feq.d", Ext, Commutable=1>;
H A DRISCVInstrInfoZfh.td96 defm FADD_H : FPALU_rr_frm_m<0b0000010, "fadd.h", Ext, Commutable=1>;
100 defm FMUL_H : FPALU_rr_frm_m<0b0001010, "fmul.h", Ext, Commutable=1>;
117 defm FMIN_H : FPALU_rr_m<0b0010110, 0b000, "fmin.h", Ext, Commutable=1>;
118 defm FMAX_H : FPALU_rr_m<0b0010110, 0b001, "fmax.h", Ext, Commutable=1>;
162 defm FEQ_H : FPCmp_rr_m<0b1010010, 0b010, "feq.h", Ext, Commutable=1>;
H A DRISCVInstrInfoVPseudos.td2321 multiclass VPseudoVALU_MM<bit Commutable = 0> {
2448 bit Commutable = 0,
2450 let isCommutable = Commutable in
3219 let isCommutable = Commutable in
3235 let isCommutable = Commutable in
3254 let isCommutable = Commutable in
3269 let isCommutable = Commutable in
6705 defm PseudoVMAND: VPseudoVALU_MM<Commutable=1>;
6708 defm PseudoVMXOR: VPseudoVALU_MM<Commutable=1>;
6709 defm PseudoVMOR: VPseudoVALU_MM<Commutable=1>;
[all …]
H A DRISCVInstrInfo.td554 bit Commutable = 0>
557 let isCommutable = Commutable;
582 bit Commutable = 0>
585 let isCommutable = Commutable;
662 def ADD : ALU_rr<0b0000000, 0b000, "add", Commutable=1>,
674 def XOR : ALU_rr<0b0000000, 0b100, "xor", Commutable=1>,
680 def OR : ALU_rr<0b0000000, 0b110, "or", Commutable=1>,
682 def AND : ALU_rr<0b0000000, 0b111, "and", Commutable=1>,
760 def ADDW : ALUW_rr<0b0000000, 0b000, "addw", Commutable=1>,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DPatternMatch.h923 (Commutable && L.match(I->getOperand(1)) && in match()
959 bool Commutable = false>
972 (Commutable && L.match(I->getOperand(1)) && in match()
1224 : public BinaryOp_match<LHS_t, RHS_t, 0, Commutable> {
1255 (Commutable && L.match(PDI->getOperand(1)) && in match()
1399 bool Commutable = false>
1415 } else if (Commutable && L.match(I->getOperand(1)) && in match()
1887 bool Commutable = false>
1906 (Commutable && L.match(RHS) && R.match(LHS)); in match()
1932 (Commutable && L.match(RHS) && R.match(LHS)); in match()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrDesc.h174 Commutable, enumerator
481 bool isCommutable() const { return Flags & (1ULL << MCID::Commutable); } in isCommutable()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DMIPatternMatch.h391 bool Commutable = false>
404 (Commutable && (R.match(MRI, TmpMI->getOperand(1).getReg()) &&
413 template <typename LHS_P, typename RHS_P, bool Commutable = false>
429 (Commutable && (R.match(MRI, TmpMI->getOperand(1).getReg()) &&
642 bool Commutable = false>
665 if (Commutable && L.match(MRI, RHS) && R.match(MRI, LHS) &&
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86Instr3DNow.td29 X86FoldableSchedWrite sched, bit Commutable = 0,
31 let isCommutable = Commutable in
H A DX86InstrMMX.td35 X86FoldableSchedWrite sched, bit Commutable = 0,
42 let isCommutable = Commutable;
91 bit Commutable = 0> {
92 let isCommutable = Commutable in
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstrNEON.td2628 let isCommutable = Commutable;
2641 let isCommutable = Commutable;
2679 let isCommutable = Commutable;
2690 let isCommutable = Commutable;
2730 let isCommutable = Commutable;
2740 let isCommutable = Commutable;
2786 let isCommutable = Commutable;
2796 let isCommutable = Commutable;
3050 let isCommutable = Commutable;
3061 let isCommutable = Commutable;
[all …]
H A DARMInstrThumb2.td729 SDPatternOperator opnode, bit Commutable = 0,
747 let isCommutable = Commutable;
798 SDPatternOperator opnode, bit Commutable = 0> :
799 T2I_bin_irs<opcod, opc, iii, iir, iis, opnode, Commutable, ".w"> {
872 bit Commutable = 0> {
886 let isCommutable = Commutable;
922 bit Commutable = 0> {
1000 let isCommutable = Commutable;
1026 bit Commutable = 0, bit PostISelHook = 0> {
1043 let isCommutable = Commutable;
H A DARMInstrInfo.td1551 SDPatternOperator opnode, bit Commutable = 0> {
1576 let isCommutable = Commutable;
1697 bit Commutable = 0> {
1707 let isCommutable = Commutable;
1757 SDPatternOperator opnode, bit Commutable = 0,
1779 let isCommutable = Commutable;
1888 bit Commutable = 0> {
1913 let isCommutable = Commutable;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCInstrInfo.td157 string opasm, bit Commutable> {
163 { let isCommutable = Commutable; }
255 multiclass ArcBinaryGEN4Inst<bits<6> mincode, string opasm, bit Commutable = 0> :
256 ArcBinaryInst<0b00100, mincode, opasm, Commutable>;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYInstrFormats.td538 bit Commutable = 0> : R_YXZ<0x31, sop, pcode, (outs GPR:$rz),
540 let isCommutable = Commutable;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstr.h1154 return hasProperty(MCID::Commutable, Type);