Home
last modified time | relevance | path

Searched refs:CompressPat (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/
H A DCSKYInstrInfo16Instr.td590 def : CompressPat<
594 def : CompressPat<
647 def : CompressPat<(NOT32 sGPR:$rd, sGPR:$rd),
651 def : CompressPat<(REVB32 sGPR:$rd, sGPR:$rs),
675 def : CompressPat<(JSR32 sGPR:$rd),
679 def : CompressPat<(MVCV32 sGPR:$rd, CARRY:$ca),
681 def : CompressPat<(MOV32 sGPR:$rd, sGPR:$ca),
712 def : CompressPat<(ZEXTB32 sGPR:$rd, sGPR:$rs),
714 def : CompressPat<(ZEXTH32 sGPR:$rd, sGPR:$rs),
716 def : CompressPat<(SEXTB32 sGPR:$rd, sGPR:$rs),
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoC.td894 def : CompressPat<(ADDI X0, X0, 0), (C_NOP)>;
900 def : CompressPat<(JAL X1, simm12_lsb0:$offset),
910 def : CompressPat<(ADDI GPRNoX0:$rd, X0, simm6:$imm),
914 def : CompressPat<(LUI GPRNoX0X2:$rd, c_lui_imm:$imm),
929 def : CompressPat<(OR GPRC:$rs1, GPRC:$rs1, GPRC:$rs2),
943 def : CompressPat<(ADDIW GPRNoX0:$rd, X0, simm6:$imm),
955 def : CompressPat<(JAL X0, simm12_lsb0:$offset),
996 def : CompressPat<(JALR X0, GPRNoX0:$rs1, 0),
1006 def : CompressPat<(EBREAK), (C_EBREAK)>;
1007 def : CompressPat<(UNIMP), (C_UNIMP)>;
[all …]
H A DRISCVInstrInfoZc.td228 def : CompressPat<(MUL GPRC:$rs1, GPRC:$rs1, GPRC:$rs2),
231 def : CompressPat<(MUL GPRC:$rs1, GPRC:$rs2, GPRC:$rs1),
236 def : CompressPat<(SEXT_B GPRC:$rs1, GPRC:$rs1),
238 def : CompressPat<(SEXT_H GPRC:$rs1, GPRC:$rs1),
243 def : CompressPat<(ZEXT_H_RV32 GPRC:$rs1, GPRC:$rs1),
245 def : CompressPat<(ZEXT_H_RV64 GPRC:$rs1, GPRC:$rs1),
250 def : CompressPat<(ANDI GPRC:$rs1, GPRC:$rs1, 255),
255 def : CompressPat<(ADD_UW GPRC:$rs1, GPRC:$rs1, X0),
260 def : CompressPat<(XORI GPRC:$rs1, GPRC:$rs1, -1),
265 def : CompressPat<(LBU GPRC:$rd, GPRCMem:$rs1, uimm2:$imm),
[all …]
H A DRISCVInstrInfoZicfiss.td70 def : CompressPat<(SSPUSH X1), (C_SSPUSH X1)>;
71 def : CompressPat<(SSPOPCHK X5), (C_SSPOPCHK X5)>;
/freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/
H A DCompressInstEmitter.cpp100 struct CompressPat { struct in __anon0a40fb750111::CompressInstEmitter
115 CompressPat(CodeGenInstruction &S, CodeGenInstruction &D, in CompressPat() argument
124 SmallVector<CompressPat, 4> CompressPatterns;
578 llvm::stable_sort(CompressPatterns, [EType](const CompressPat &LHS, in emitCompressInstEmitter()
579 const CompressPat &RHS) { in emitCompressInstEmitter()
650 for (auto &CompressPat : CompressPatterns) { in emitCompressInstEmitter() local
651 if (EType == EmitterType::Uncompress && CompressPat.IsCompressOnly) in emitCompressInstEmitter()
659 CompressOrCheck ? CompressPat.Source : CompressPat.Dest; in emitCompressInstEmitter()
661 CompressOrCheck ? CompressPat.Dest : CompressPat.Source; in emitCompressInstEmitter()
664 : CompressPat.DestOperandMap; in emitCompressInstEmitter()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Target/
H A DTarget.td759 class CompressPat<dag input, dag output, list<Predicate> predicates = []> {