| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | X86FoldTablesEmitter.cpp | 102 const CodeGenInstruction *RegInst; 103 const CodeGenInstruction *MemInst; 171 void updateTables(const CodeGenInstruction *RegInstr, 172 const CodeGenInstruction *MemInstr, 244 static inline const CodeGenInstruction * 259 const CodeGenInstruction *MemInst; 263 IsMatch(const CodeGenInstruction *Inst, unsigned V) in IsMatch() 266 bool operator()(const CodeGenInstruction *RegInst) { in operator ()() 517 std::vector<const CodeGenInstruction *> MemInsts; in run() 571 const CodeGenInstruction *RegInst = *Match; in run() [all …]
|
| H A D | X86EVEX2VEXTablesEmitter.cpp | 30 std::vector<const CodeGenInstruction *> EVEXInsts; 33 std::map<uint64_t, std::vector<const CodeGenInstruction *>> VEXInsts; 35 typedef std::pair<const CodeGenInstruction *, const CodeGenInstruction *> Entry; 108 const CodeGenInstruction *EVEXInst; 111 IsMatch(const CodeGenInstruction *EVEXInst) : EVEXInst(EVEXInst) {} in IsMatch() 113 bool operator()(const CodeGenInstruction *VEXInst) { in operator ()() 166 auto getPredicates = [&](const CodeGenInstruction *Inst) { in run() 180 ArrayRef<const CodeGenInstruction *> NumberedInstructions = in run() 183 for (const CodeGenInstruction *Inst : NumberedInstructions) { in run() 200 for (const CodeGenInstruction *EVEXInst : EVEXInsts) { in run() [all …]
|
| H A D | CodeGenTarget.h | 28 class CodeGenInstruction; variable 51 std::unique_ptr<CodeGenInstruction>> Instructions; 63 mutable std::vector<const CodeGenInstruction*> InstrsByEnum; 144 DenseMap<const Record*, std::unique_ptr<CodeGenInstruction>> & 151 CodeGenInstruction &getInstruction(const Record *InstRec) const { in getInstruction() 174 ArrayRef<const CodeGenInstruction *> getInstructionsByEnumValue() const { in getInstructionsByEnumValue() 180 typedef ArrayRef<const CodeGenInstruction *>::const_iterator inst_iterator;
|
| H A D | X86MnemonicTables.cpp | 41 StringMap<SmallVector<const CodeGenInstruction *, 0>> MnemonicToCGInstrMap; in run() 43 ArrayRef<const CodeGenInstruction *> NumberedInstructions = in run() 45 for (const CodeGenInstruction *I : NumberedInstructions) { in run() 74 const CodeGenInstruction *CGI = *Mnemonics.begin(); in run() 78 for (const CodeGenInstruction *CGI : Mnemonics) { in run()
|
| H A D | PseudoLoweringEmitter.cpp | 36 CodeGenInstruction Source; // The source pseudo instruction definition. 37 CodeGenInstruction Dest; // The destination instruction to lower to. 40 PseudoExpansion(CodeGenInstruction &s, CodeGenInstruction &d, in PseudoExpansion() 55 CodeGenInstruction &Insn, 73 addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Insn, in addDagOperandMapping() 156 CodeGenInstruction Insn(Operator); in evaluateExpansion() 192 CodeGenInstruction SourceInsn(Rec); in evaluateExpansion() 237 CodeGenInstruction &Source = Expansion.Source; in emitLoweringEmitter() 238 CodeGenInstruction &Dest = Expansion.Dest; in emitLoweringEmitter()
|
| H A D | InstrInfoEmitter.cpp | 87 void emitRecord(const CodeGenInstruction &Inst, unsigned Num, 94 ArrayRef<const CodeGenInstruction *> NumberedInstructions); 105 ArrayRef<const CodeGenInstruction *> NumberedInstructions); 108 ArrayRef<const CodeGenInstruction *> NumberedInstructions); 130 InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) { in GetOperandInfo() 252 for (const CodeGenInstruction *Inst : NumberedInstructions) { in initOperandMapData() 355 ArrayRef<const CodeGenInstruction *> NumberedInstructions) { in emitOperandTypeMappings() 497 ArrayRef<const CodeGenInstruction *> NumberedInstructions) { in emitLogicalOperandSizeMappings() 933 ArrayRef<const CodeGenInstruction*> NumberedInstructions = in run() 938 for (const CodeGenInstruction *Inst : NumberedInstructions) { in run() [all …]
|
| H A D | AsmWriterInst.h | 23 class CodeGenInstruction; variable 84 const CodeGenInstruction *CGI; 87 AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex,
|
| H A D | WebAssemblyDisassemblerEmitter.h | 21 class CodeGenInstruction; variable 26 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions);
|
| H A D | CompressInstEmitter.cpp | 105 CodeGenInstruction Source; 107 CodeGenInstruction Dest; 118 CompressPat(CodeGenInstruction &S, CodeGenInstruction &D, in CompressPat() 145 CodeGenInstruction &DestInst); 203 CodeGenInstruction &Inst, in addDagOperandMapping() 270 static bool verifyDagOpCount(CodeGenInstruction &Inst, DagInit *Dag, in verifyDagOpCount() 359 StringMap<unsigned> &SourceOperands, CodeGenInstruction &DestInst) { in createInstOperandMapping() 433 CodeGenInstruction SourceInst(Operator); in evaluateCompressPat() 442 CodeGenInstruction DestInst(DestOperator); in evaluateCompressPat() 659 CodeGenInstruction &Source = in emitCompressInstEmitter() [all …]
|
| H A D | CodeEmitterGen.cpp | 60 raw_ostream &o, ArrayRef<const CodeGenInstruction *> NumberedInstructions, 87 CodeGenInstruction &CGI = Target.getInstruction(R); in AddCodeToMergeInOperand() 301 CodeGenInstruction &CGI = Target.getInstruction(R); in getInstructionCaseForEncoding() 342 raw_ostream &o, ArrayRef<const CodeGenInstruction *> NumberedInstructions, in emitInstructionBaseValues() 351 for (const CodeGenInstruction *CGI : NumberedInstructions) { in emitInstructionBaseValues() 390 ArrayRef<const CodeGenInstruction*> NumberedInstructions = in run() 393 if (any_of(NumberedInstructions, [](const CodeGenInstruction *CGI) { in run() 403 for (const CodeGenInstruction *CGI : NumberedInstructions) { in run()
|
| H A D | X86RecognizableInstr.h | 209 RecognizableInstrBase(const CodeGenInstruction &insn); 341 const CodeGenInstruction &insn, 352 const CodeGenInstruction &insn, 356 std::string getMnemonic(const CodeGenInstruction *I, unsigned Variant);
|
| H A D | VarLenCodeEmitterGen.cpp | 74 ArrayRef<const CodeGenInstruction *> NumberedInstructions, 195 for (const CodeGenInstruction *CGI : NumberedInstructions) { in run() 320 raw_ostream &OS, ArrayRef<const CodeGenInstruction *> NumberedInstructions, in emitInstructionBaseValues() 336 for (const CodeGenInstruction *CGI : NumberedInstructions) { in emitInstructionBaseValues() 421 CodeGenInstruction &CGI = Target.getInstruction(R); in getInstructionCaseForEncoding()
|
| H A D | CodeGenTarget.cpp | 289 for (const CodeGenInstruction *Inst : getInstructionsByEnumValue()) { in getInstNamespace() 463 Instructions[Insts[i]] = std::make_unique<CodeGenInstruction>(Insts[i]); in ReadInstructions() 466 static const CodeGenInstruction * 469 std::unique_ptr<CodeGenInstruction>> &Insts, in GetInstByName() 493 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum() 503 const CodeGenInstruction *CGI = I.second.get(); in ComputeInstrsByEnum() 516 [](const CodeGenInstruction *Rec1, const CodeGenInstruction *Rec2) { in ComputeInstrsByEnum()
|
| H A D | WebAssemblyDisassemblerEmitter.cpp | 28 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions) { in emitWebAssemblyDisassemblerTables() 32 std::map<unsigned, std::pair<unsigned, const CodeGenInstruction *>>> in emitWebAssemblyDisassemblerTables()
|
| H A D | CodeGenInstruction.h | 219 class CodeGenInstruction { 298 CodeGenInstruction(Record *R); 344 CodeGenInstruction *ResultInst;
|
| H A D | InstrDocsEmitter.cpp | 69 for (const CodeGenInstruction *II : Target.getInstructionsByEnumValue()) { in EmitInstrDocs() 88 CodeGenInstruction::FlattenAsmStringVariants(II->AsmString, VarNum); in EmitInstrDocs()
|
| H A D | CodeGenInstruction.cpp | 364 CodeGenInstruction::CodeGenInstruction(Record *R) in CodeGenInstruction() function in CodeGenInstruction 452 MVT::SimpleValueType CodeGenInstruction:: 469 std::string CodeGenInstruction:: 514 bool CodeGenInstruction::isOperandImpl(unsigned i, in isOperandImpl()
|
| H A D | DisassemblerEmitter.cpp | 112 ArrayRef<const CodeGenInstruction*> numberedInstructions = in EmitDisassembler()
|
| H A D | CMakeLists.txt | 14 CodeGenInstruction.cpp
|
| H A D | CodeGenSchedule.h | 27 class CodeGenInstruction; variable 272 bool isUnsupported(const CodeGenInstruction &Inst) const; 549 unsigned getSchedClassIdx(const CodeGenInstruction &Inst) const;
|
| /llvm-project-15.0.7/llvm/utils/TableGen/GlobalISel/ |
| H A D | GIMatchDagPredicate.h | 21 class CodeGenInstruction; variable 84 const CodeGenInstruction &Instr; 88 const CodeGenInstruction &Instr); 94 const CodeGenInstruction *getInstr() const { return &Instr; } in getInstr() 104 SmallVector<const CodeGenInstruction *, 4> Instrs; 109 void addOpcode(const CodeGenInstruction *Instr) { Instrs.push_back(Instr); } in addOpcode() 115 const SmallVectorImpl<const CodeGenInstruction *> &getInstrs() const { in getInstrs()
|
| H A D | GIMatchDagInstr.h | 17 class CodeGenInstruction; variable 67 CodeGenInstruction *OpcodeAnnotation = nullptr; 105 void setOpcodeAnnotation(CodeGenInstruction *I) { OpcodeAnnotation = I; } in setOpcodeAnnotation() 106 CodeGenInstruction *getOpcodeAnnotation() const { return OpcodeAnnotation; } in getOpcodeAnnotation()
|
| H A D | GIMatchDagPredicate.cpp | 27 GIMatchDagContext &Ctx, StringRef Name, const CodeGenInstruction &Instr) in GIMatchDagOpcodePredicate() 44 for (const CodeGenInstruction *Instr : Instrs) { in printDescription()
|
| H A D | GIMatchDagOperands.h | 23 class CodeGenInstruction; variable 122 const GIMatchDagOperandList &makeOperandList(const CodeGenInstruction &I);
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/llvm/utils/TableGen/ |
| H A D | BUILD.gn | 18 "CodeGenInstruction.cpp",
|