Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoF.td201 DAGOperand rty, bit Commutable>
204 let isCommutable = Commutable;
207 list<ExtInfo_r> Exts, bit Commutable = 0> {
210 def Ext.Suffix : FPALU_rr<funct7, funct3, opcodestr, Ext.Reg, Commutable>;
216 bit Commutable>
220 let isCommutable = Commutable;
223 list<ExtInfo_r> Exts, bit Commutable = 0> {
226 def Ext.Suffix : FPALU_rr_frm<funct7, opcodestr, Ext.Reg, Commutable>;
288 DAGOperand rty, bit Commutable>
291 let isCommutable = Commutable;
[all …]
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 DRISCVInstrInfoD.td117 defm FADD_D : FPALU_rr_frm_m<0b0000001, "fadd.d", DINX, /*Commutable*/1>;
121 defm FMUL_D : FPALU_rr_frm_m<0b0001001, "fmul.d", DINX, /*Commutable*/1>;
143 defm FMIN_D : FPALU_rr_m<0b0010101, 0b000, "fmin.d", DINX, /*Commutable*/1>;
144 defm FMAX_D : FPALU_rr_m<0b0010101, 0b001, "fmax.d", DINX, /*Commutable*/1>;
155 defm FEQ_D : FPCmp_rr_m<0b1010001, 0b010, "feq.d", DINX, /*Commutable*/1>;
H A DRISCVInstrInfoZfh.td112 defm FADD_H : FPALU_rr_frm_m<0b0000010, "fadd.h", HINX, /*Commutable*/1>;
116 defm FMUL_H : FPALU_rr_frm_m<0b0001010, "fmul.h", HINX, /*Commutable*/1>;
138 defm FMIN_H : FPALU_rr_m<0b0010110, 0b000, "fmin.h", HINX, /*Commutable*/1>;
139 defm FMAX_H : FPALU_rr_m<0b0010110, 0b001, "fmax.h", HINX, /*Commutable*/1>;
178 defm FEQ_H : FPCmp_rr_m<0b1010010, 0b010, "feq.h", HINX, /*Commutable*/1>;
H A DRISCVInstrInfoZb.td420 def CLMULR : ALU_rr<0b0000101, 0b010, "clmulr", /*Commutable*/1>,
425 def CLMUL : ALU_rr<0b0000101, 0b001, "clmul", /*Commutable*/1>,
427 def CLMULH : ALU_rr<0b0000101, 0b011, "clmulh", /*Commutable*/1>,
432 def MIN : ALU_rr<0b0000101, 0b100, "min", /*Commutable*/1>,
434 def MINU : ALU_rr<0b0000101, 0b101, "minu", /*Commutable*/1>,
436 def MAX : ALU_rr<0b0000101, 0b110, "max", /*Commutable*/1>,
438 def MAXU : ALU_rr<0b0000101, 0b111, "maxu", /*Commutable*/1>,
H A DRISCVInstrInfo.td551 bit Commutable = 0>
554 let isCommutable = Commutable;
579 bit Commutable = 0>
582 let isCommutable = Commutable;
661 def ADD : ALU_rr<0b0000000, 0b000, "add", /*Commutable*/1>,
673 def XOR : ALU_rr<0b0000000, 0b100, "xor", /*Commutable*/1>,
679 def OR : ALU_rr<0b0000000, 0b110, "or", /*Commutable*/1>,
681 def AND : ALU_rr<0b0000000, 0b111, "and", /*Commutable*/1>,
775 def ADDW : ALUW_rr<0b0000000, 0b000, "addw", /*Commutable*/1>,
H A DRISCVInstrInfoVPseudos.td3052 bit Commutable = 0> {
3054 let isCommutable = Commutable in
3062 Constraint, /*Commutable*/1>;
3071 Constraint, /*Commutable*/1>;
3077 /*Commutable*/1>;
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DPatternMatch.h903 template <typename LHS_t, typename RHS_t, bool Commutable = false>
915 (Commutable && L.match(I->getOperand(1)) && in match()
951 bool Commutable = false>
964 (Commutable && L.match(I->getOperand(1)) && in match()
970 (Commutable && L.match(CE->getOperand(1)) && in match()
1219 template <typename LHS_t, typename RHS_t, bool Commutable = false>
1221 : public BinaryOp_match<LHS_t, RHS_t, 0, Commutable> {
1225 : BinaryOp_match<LHS_t, RHS_t, 0, Commutable>(LHS, RHS), Opcode(Opcode) {} in SpecificBinaryOp_match()
1228 return BinaryOp_match<LHS_t, RHS_t, 0, Commutable>::match(Opcode, V); in match()
1360 bool Commutable = false>
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCInstrDesc.h174 Commutable, enumerator
485 bool isCommutable() const { return Flags & (1ULL << MCID::Commutable); } in isCommutable()
/openbsd-src/gnu/llvm/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) &&
/openbsd-src/gnu/llvm/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
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMInstrNEON.td2621 ValueType ResTy, ValueType OpTy, SDNode OpNode, bit Commutable>
2628 let isCommutable = Commutable;
2634 SDNode OpNode, bit Commutable>
2641 let isCommutable = Commutable;
2672 ValueType ResTy, ValueType OpTy, SDNode OpNode, bit Commutable>
2679 let isCommutable = Commutable;
2683 ValueType ResTy, ValueType OpTy, SDNode OpNode, bit Commutable>
2690 let isCommutable = Commutable;
2723 ValueType ResTy, ValueType OpTy, SDPatternOperator IntOp, bit Commutable>
2730 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;
1027 bit Commutable = 0> {
1043 let isCommutable = Commutable;
H A DARMInstrInfo.td1531 SDPatternOperator opnode, bit Commutable = 0> {
1556 let isCommutable = Commutable;
1677 bit Commutable = 0> {
1687 let isCommutable = Commutable;
1737 SDPatternOperator opnode, bit Commutable = 0,
1759 let isCommutable = Commutable;
1868 bit Commutable = 0> {
1893 let isCommutable = Commutable;
/openbsd-src/gnu/llvm/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>;
/openbsd-src/gnu/llvm/llvm/lib/Target/CSKY/
H A DCSKYInstrFormats.td538 bit Commutable = 0> : R_YXZ<0x31, sop, pcode, (outs GPR:$rz),
540 let isCommutable = Commutable;
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineInstr.h1109 return hasProperty(MCID::Commutable, Type);