Searched refs:CodeGenInstruction (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-current/contrib/llvm-project/llvm/utils/TableGen/
H A DWebAssemblyDisassemblerEmitter.h21 class CodeGenInstruction;
26 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions);
H A DX86MnemonicTables.cpp14 #include "CodeGenInstruction.h"
41 StringMap<SmallVector<const CodeGenInstruction *, 0>> MnemonicToCGInstrMap;
43 ArrayRef<const CodeGenInstruction *> NumberedInstructions =
45 for (const CodeGenInstruction *I : NumberedInstructions) {
74 const CodeGenInstruction *CGI = *Mnemonics.begin();
78 for (const CodeGenInstruction *CGI : Mnemonics) {
H A DX86CompressEVEXTablesEmitter.cpp14 #include "CodeGenInstruction.h"
42 std::vector<const CodeGenInstruction *> PreCompressionInsts;
45 std::map<uint64_t, std::vector<const CodeGenInstruction *>> CompressedInsts;
47 typedef std::pair<const CodeGenInstruction *, const CodeGenInstruction *>
49 typedef std::map<const Record *, std::vector<const CodeGenInstruction *>>
112 const CodeGenInstruction *OldInst;
115 IsMatch(const CodeGenInstruction *OldInst) : OldInst(OldInst) {}
117 bool operator()(const CodeGenInstruction *NewInst) {
156 ArrayRef<const CodeGenInstruction *> NumberedInstruction
[all...]
H A DCodeGenTarget.h37 class CodeGenInstruction;
62 std::unique_ptr<CodeGenInstruction>> Instructions;
76 mutable std::vector<const CodeGenInstruction*> InstrsByEnum;
159 DenseMap<const Record*, std::unique_ptr<CodeGenInstruction>> &
166 CodeGenInstruction &getInstruction(const Record *InstRec) const {
189 ArrayRef<const CodeGenInstruction *> getInstructionsByEnumValue() const {
195 typedef ArrayRef<const CodeGenInstruction *>::const_iterator inst_iterator;
H A DAsmWriterInst.h23 class CodeGenInstruction;
83 const CodeGenInstruction *CGI;
86 AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex,
H A DX86FoldTablesEmitter.cpp14 #include "CodeGenInstruction.h"
56 static bool isExplicitAlign(const CodeGenInstruction *Inst) {
62 static bool isExplicitUnalign(const CodeGenInstruction *Inst) {
74 const CodeGenInstruction *RegInst;
75 const CodeGenInstruction *MemInst;
96 X86FoldTableEntry(const CodeGenInstruction *RegInst,
97 const CodeGenInstruction *MemInst)
169 bool operator()(const CodeGenInstruction *LHS,
170 const CodeGenInstruction *RHS) const {
179 typedef std::map<const CodeGenInstruction *, X86FoldTableEntr
[all...]
H A DPseudoLoweringEmitter.cpp9 #include "CodeGenInstruction.h"
36 CodeGenInstruction Source; // The source pseudo instruction definition.
37 CodeGenInstruction Dest; // The destination instruction to lower to.
40 PseudoExpansion(CodeGenInstruction &s, CodeGenInstruction &d,
55 CodeGenInstruction &Insn,
73 addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Insn,
156 CodeGenInstruction Insn(Operator);
192 CodeGenInstruction SourceInsn(Rec);
237 CodeGenInstruction
[all...]
H A DDisassemblerEmitter.cpp92 /// which knows how to translate itself from a CodeGenInstruction and provide
105 ArrayRef<const CodeGenInstruction*> numberedInstructions =
H A DCodeGenInstAlias.h26 class CodeGenInstruction;
46 CodeGenInstruction *ResultInst;
H A DInstrInfoEmitter.cpp15 #include "CodeGenInstruction.h"
90 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
96 ArrayRef<const CodeGenInstruction *> NumberedInstructions);
98 ArrayRef<const CodeGenInstruction *> NumberedInstructions,
103 ArrayRef<const CodeGenInstruction*> NumberedInstructions);
107 ArrayRef<const CodeGenInstruction *> NumberedInstructions);
110 ArrayRef<const CodeGenInstruction *> NumberedInstructions);
116 OperandInfoTy GetOperandInfo(const CodeGenInstruction &Inst);
126 InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) {
219 for (const CodeGenInstruction *Ins
[all...]
H A DX86RecognizableInstr.h19 #include "CodeGenInstruction.h"
180 /// Extract common fields of a single X86 instruction from a CodeGenInstruction
229 /// \param insn The CodeGenInstruction to extract information from.
230 RecognizableInstrBase(const CodeGenInstruction &insn);
249 /// The operands of the instruction, as listed in the CodeGenInstruction.
270 /// on a CodeGenInstruction::OperandInfo.
354 /// from a CodeGenInstruction.
357 /// \param insn The CodeGenInstruction to extract information from.
359 RecognizableInstr(DisassemblerTables &tables, const CodeGenInstruction &insn,
361 /// processInstr - Accepts a CodeGenInstruction an
[all...]
H A DCompressInstEmitter.cpp67 #include "CodeGenInstruction.h"
102 CodeGenInstruction Source;
104 CodeGenInstruction Dest;
115 CompressPat(CodeGenInstruction &S, CodeGenInstruction &D,
126 void addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Inst,
142 CodeGenInstruction &DestInst);
200 CodeGenInstruction &Inst,
267 static bool verifyDagOpCount(CodeGenInstruction &Inst, DagInit *Dag,
356 StringMap<unsigned> &SourceOperands, CodeGenInstruction
[all...]
H A DWebAssemblyDisassemblerEmitter.cpp17 #include "CodeGenInstruction.h"
28 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions) {
32 std::map<unsigned, std::pair<unsigned, const CodeGenInstruction *>>>
H A DCodeGenTarget.cpp17 #include "CodeGenInstruction.h"
306 for (const CodeGenInstruction *Inst : getInstructionsByEnumValue()) {
482 Instructions[Insts[i]] = std::make_unique<CodeGenInstruction>(Insts[i]);
485 static const CodeGenInstruction *
488 std::unique_ptr<CodeGenInstruction>> &Insts,
512 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records);
522 const CodeGenInstruction *CGI = I.second.get();
535 [](const CodeGenInstruction *Rec1, const CodeGenInstruction *Rec2) {
H A DCodeEmitterGen.cpp26 #include "CodeGenInstruction.h"
70 raw_ostream &o, ArrayRef<const CodeGenInstruction *> NumberedInstructions,
101 CodeGenInstruction &CGI = Target.getInstruction(R);
357 raw_ostream &o, ArrayRef<const CodeGenInstruction *> NumberedInstructions,
366 for (const CodeGenInstruction *CGI : NumberedInstructions) {
427 ArrayRef<const CodeGenInstruction*> NumberedInstructions =
430 if (any_of(NumberedInstructions, [](const CodeGenInstruction *CGI) {
440 for (const CodeGenInstruction *CGI : NumberedInstructions) {
H A DInstrDocsEmitter.cpp22 #include "CodeGenInstruction.h"
68 for (const CodeGenInstruction *II : Target.getInstructionsByEnumValue()) {
87 CodeGenInstruction::FlattenAsmStringVariants(II->AsmString, VarNum);
H A DCodeGenInstruction.h1 //===- CodeGenInstruction.h - Instruction Class Wrapper ---------*- C++ -*-===//
227 class CodeGenInstruction { class in namespace:llvm
306 CodeGenInstruction(Record *R);
H A DCodeGenInstruction.cpp1 //===- CodeGenInstruction.cpp - CodeGen Instruction Class Wrapper ---------===//
9 // This file implements the CodeGenInstruction class.
13 #include "CodeGenInstruction.h"
428 // CodeGenInstruction Implementation
431 CodeGenInstruction::CodeGenInstruction(Record *R) function in class:CodeGenInstruction
519 MVT::SimpleValueType CodeGenInstruction::
536 std::string CodeGenInstruction::
581 bool CodeGenInstruction::isOperandImpl(StringRef OpListName, unsigned i,
H A DVarLenCodeEmitterGen.cpp54 #include "CodeGenInstruction.h"
85 ArrayRef<const CodeGenInstruction *> NumberedInstructions,
229 for (const CodeGenInstruction *CGI : NumberedInstructions) {
349 raw_ostream &OS, ArrayRef<const CodeGenInstruction *> NumberedInstructions,
358 for (const CodeGenInstruction *CGI : NumberedInstructions) {
451 CodeGenInstruction &CGI = Target.getInstruction(R);
H A DAsmWriterInst.cpp14 #include "CodeGenInstruction.h"
49 AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex,
H A DDAGISelEmitter.cpp14 #include "CodeGenInstruction.h"
51 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op);
H A DDAGISelMatcher.h26 class CodeGenInstruction;
1027 const CodeGenInstruction &CGI;
1037 EmitNodeMatcherCommon(const CodeGenInstruction &cgi,
1047 const CodeGenInstruction &getInstruction() const { return CGI; }
1085 EmitNodeMatcher(const CodeGenInstruction &cgi,
1107 MorphNodeToMatcher(const CodeGenInstruction &cgi,
H A DCodeGenSchedule.h34 class CodeGenInstruction;
278 bool isUnsupported(const CodeGenInstruction &Inst) const;
555 unsigned getSchedClassIdx(const CodeGenInstruction &Inst) const;
/freebsd-current/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DPatterns.h36 class CodeGenInstruction;
110 /// - Two CodeGenInstruction Patterns
161 void addOpcode(const CodeGenInstruction *I) { Insts.push_back(I); }
167 SmallVector<const CodeGenInstruction *, 4> Insts;
419 CodeGenInstructionPattern(const CodeGenInstruction &I, StringRef Name)
436 const CodeGenInstruction &getInst() const { return I; }
442 const CodeGenInstruction &I;
491 /// equivalent of a CodeGenInstruction, but for PatFragPatterns.
/freebsd-current/usr.bin/clang/llvm-tblgen/
H A DMakefile18 SRCS+= CodeGenInstruction.cpp

Completed in 138 milliseconds

12