/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/ |
H A D | CSKYInstrInfo16Instr.td | 579 def : CompressPat<(ADDU32 sGPR:$rd, sGPR:$rd, sGPR:$rs2), 581 def : CompressPat<(ADDU32 sGPR:$rd, sGPR:$rs1, sGPR:$rd), 583 def : CompressPat<(ADDU32 mGPR:$rd, mGPR:$rs1, mGPR:$rs2), 585 def : CompressPat<(SUBU32 sGPR:$rd, sGPR:$rd, sGPR:$rs2), 587 def : CompressPat<(SUBU32 mGPR:$rd, mGPR:$rs1, mGPR:$rs2), 590 def : CompressPat< 594 def : CompressPat< 599 def : CompressPat<(ADDI32 mGPR:$rd, mGPR:$rs, oimm3:$imm), 601 def : CompressPat<(SUBI32 mGPR:$rd, mGPR:$rs, oimm3:$imm), 604 def : CompressPat<(ADDI32 mGPR:$rd, mGPR:$rd, oimm8:$imm), [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoC.td | 860 def : CompressPat<(ADDI GPRC:$rd, SP:$rs1, uimm10_lsb00nonzero:$imm), 865 def : CompressPat<(FLD FPR64C:$rd, GPRCMem:$rs1, uimm8_lsb000:$imm), 870 def : CompressPat<(LW GPRC:$rd, GPRCMem:$rs1, uimm7_lsb00:$imm), 875 def : CompressPat<(FLW FPR32C:$rd, GPRCMem:$rs1, uimm7_lsb00:$imm), 880 def : CompressPat<(LD GPRC:$rd, GPRCMem:$rs1, uimm8_lsb000:$imm), 885 def : CompressPat<(FSD FPR64C:$rs2, GPRCMem:$rs1, uimm8_lsb000:$imm), 890 def : CompressPat<(SW GPRC:$rs2, GPRCMem:$rs1, uimm7_lsb00:$imm), 895 def : CompressPat<(FSW FPR32C:$rs2, GPRCMem:$rs1, uimm7_lsb00:$imm), 900 def : CompressPat<(SD GPRC:$rs2, GPRCMem:$rs1, uimm8_lsb000:$imm), 906 def : CompressPat<(ADDI X0, X0, 0), (C_NOP)>; [all …]
|
H A D | RISCVInstrInfoZc.td | 274 def : CompressPat<(MUL GPRC:$rs1, GPRC:$rs1, GPRC:$rs2), 277 def : CompressPat<(MUL GPRC:$rs1, GPRC:$rs2, GPRC:$rs1), 282 def : CompressPat<(SEXT_B GPRC:$rs1, GPRC:$rs1), 284 def : CompressPat<(SEXT_H GPRC:$rs1, GPRC:$rs1), 289 def : CompressPat<(ZEXT_H_RV32 GPRC:$rs1, GPRC:$rs1), 291 def : CompressPat<(ZEXT_H_RV64 GPRC:$rs1, GPRC:$rs1), 296 def : CompressPat<(ANDI GPRC:$rs1, GPRC:$rs1, 255), 301 def : CompressPat<(ADD_UW GPRC:$rs1, GPRC:$rs1, X0), 306 def : CompressPat<(XORI GPRC:$rs1, GPRC:$rs1, -1), 311 def : CompressPat<(LBU GPRC:$rd, GPRCMem:$rs1, uimm2:$imm), [all …]
|
H A D | RISCVInstrInfoXwch.td | 183 def : CompressPat<(LBU GPRC:$rd, GPRCMem:$rs1, uimm5_with_predicate:$imm), 185 def : CompressPat<(SB GPRC:$rs2, GPRCMem:$rs1, uimm5_with_predicate:$imm), 187 def : CompressPat<(LHU GPRC:$rd, GPRCMem:$rs1, uimm6_lsb0:$imm), 189 def : CompressPat<(SH GPRC:$rs2, GPRCMem:$rs1, uimm6_lsb0:$imm), 191 def : CompressPat<(LBU GPRC:$rd, SPMem:$rs1, uimm4_with_predicate:$imm), 193 def : CompressPat<(SB GPRC:$rs2, SPMem:$rs1, uimm4_with_predicate:$imm), 195 def : CompressPat<(LHU GPRC:$rd, SPMem:$rs1, uimm5_lsb0:$imm), 197 def : CompressPat<(SH GPRC:$rs2, SPMem:$rs1, uimm5_lsb0:$imm),
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | CompressInstEmitter.cpp | 100 struct CompressPat { struct in __anon4777ea3f0111::CompressInstEmitter 115 CompressPat(CodeGenInstruction &S, CodeGenInstruction &D, in CompressPat() argument 124 SmallVector<CompressPat, 4> CompressPatterns; 481 CompressPatterns.push_back(CompressPat(SourceInst, DestInst, PatReqFeatures, in evaluateCompressPat() 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() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/ |
H A D | Target.td | 789 class CompressPat<dag input, dag output, list<Predicate> predicates = []> {
|