Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/CSKY/
H A DCSKYInstrInfo16Instr.td591 def : CompressPat<
595 def : CompressPat<
648 def : CompressPat<(NOT32 sGPR:$rd, sGPR:$rd),
652 def : CompressPat<(REVB32 sGPR:$rd, sGPR:$rs),
676 def : CompressPat<(JSR32 sGPR:$rd),
680 def : CompressPat<(MVCV32 sGPR:$rd, CARRY:$ca),
682 def : CompressPat<(MOV32 sGPR:$rd, sGPR:$ca),
713 def : CompressPat<(ZEXTB32 sGPR:$rd, sGPR:$rs),
715 def : CompressPat<(ZEXTH32 sGPR:$rd, sGPR:$rs),
717 def : CompressPat<(SEXTB32 sGPR:$rd, sGPR:$rs),
[all …]
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoC.td783 def : CompressPat<(ADDI X0, X0, 0), (C_NOP)>;
789 def : CompressPat<(JAL X1, simm12_lsb0:$offset),
799 def : CompressPat<(ADDI GPRNoX0:$rd, X0, simm6:$imm),
803 def : CompressPat<(LUI GPRNoX0X2:$rd, c_lui_imm:$imm),
818 def : CompressPat<(OR GPRC:$rs1, GPRC:$rs1, GPRC:$rs2),
832 def : CompressPat<(ADDIW GPRNoX0:$rd, X0, simm6:$imm),
844 def : CompressPat<(JAL X0, simm12_lsb0:$offset),
879 def : CompressPat<(JALR X0, GPRNoX0:$rs1, 0),
889 def : CompressPat<(EBREAK), (C_EBREAK)>;
890 def : CompressPat<(UNIMP), (C_UNIMP)>;
[all …]
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DCompressInstEmitter.cpp103 struct CompressPat { struct in __anonfc3a356f0111::CompressInstEmitter
118 CompressPat(CodeGenInstruction &S, CodeGenInstruction &D, in CompressPat() function
127 SmallVector<CompressPat, 4> CompressPatterns;
579 llvm::stable_sort(CompressPatterns, [EType](const CompressPat &LHS, in emitCompressInstEmitter()
580 const CompressPat &RHS) { in emitCompressInstEmitter()
651 for (auto &CompressPat : CompressPatterns) { in emitCompressInstEmitter() local
652 if (EType == EmitterType::Uncompress && CompressPat.IsCompressOnly) in emitCompressInstEmitter()
660 CompressOrCheck ? CompressPat.Source : CompressPat.Dest; in emitCompressInstEmitter()
662 CompressOrCheck ? CompressPat.Dest : CompressPat.Source; in emitCompressInstEmitter()
665 : CompressPat.DestOperandMap; in emitCompressInstEmitter()
[all …]
/llvm-project-15.0.7/llvm/test/TableGen/
H A DAsmPredicateCombiningRISCV.td61 def : CompressPat<(BigInst Regs:$r), (SmallInst1 Regs:$r), [AsmPred1]>;
67 def : CompressPat<(BigInst Regs:$r), (SmallInst2 Regs:$r), [AsmPred2]>;
74 def : CompressPat<(BigInst Regs:$r), (SmallInst3 Regs:$r), [AsmPred3]>;
80 def : CompressPat<(BigInst Regs:$r), (SmallInst4 Regs:$r), [AsmPred1, AsmPred2]>;
88 def : CompressPat<(BigInst Regs:$r), (SmallInst5 Regs:$r), [AsmPred1, AsmPred3]>;
/llvm-project-15.0.7/llvm/include/llvm/Target/
H A DTarget.td679 class CompressPat<dag input, dag output, list<Predicate> predicates = []> {