Home
last modified time | relevance | path

Searched refs:CodeGenInstruction (Results 1 – 25 of 43) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DX86FoldTablesEmitter.cpp84 static bool isExplicitAlign(const CodeGenInstruction *Inst) { in isExplicitAlign()
90 static bool isExplicitUnalign(const CodeGenInstruction *Inst) { in isExplicitUnalign()
102 const CodeGenInstruction *RegInst;
103 const CodeGenInstruction *MemInst;
112 X86FoldTableEntry(const CodeGenInstruction *RegInst, in X86FoldTableEntry()
113 const CodeGenInstruction *MemInst) in X86FoldTableEntry()
171 void updateTables(const CodeGenInstruction *RegInstr,
172 const CodeGenInstruction *MemInstr,
177 void addEntryWithFlags(FoldTable &Table, const CodeGenInstruction *RegInstr,
178 const CodeGenInstruction *MemInstr,
[all …]
H A DX86EVEX2VEXTablesEmitter.cpp30 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 DCodeGenTarget.h28 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 DX86MnemonicTables.cpp41 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 DPseudoLoweringEmitter.cpp36 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 DInstrInfoEmitter.cpp87 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
94 ArrayRef<const CodeGenInstruction *> NumberedInstructions);
96 ArrayRef<const CodeGenInstruction *> NumberedInstructions,
101 ArrayRef<const CodeGenInstruction*> NumberedInstructions);
105 ArrayRef<const CodeGenInstruction *> NumberedInstructions);
108 ArrayRef<const CodeGenInstruction *> NumberedInstructions);
112 std::vector<std::string> GetOperandInfo(const CodeGenInstruction &Inst);
130 InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) { in GetOperandInfo()
226 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) { in EmitOperandInfo()
247 ArrayRef<const CodeGenInstruction *> NumberedInstructions, in initOperandMapData()
[all …]
H A DAsmWriterInst.h23 class CodeGenInstruction; variable
84 const CodeGenInstruction *CGI;
87 AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex,
H A DWebAssemblyDisassemblerEmitter.h21 class CodeGenInstruction; variable
26 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions);
H A DCompressInstEmitter.cpp101 CodeGenInstruction Source;
103 CodeGenInstruction Dest;
114 CompressPat(CodeGenInstruction &S, CodeGenInstruction &D, in CompressPat()
125 void addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Inst,
141 CodeGenInstruction &DestInst);
199 CodeGenInstruction &Inst, in addDagOperandMapping()
266 static bool verifyDagOpCount(CodeGenInstruction &Inst, DagInit *Dag, in verifyDagOpCount()
355 StringMap<unsigned> &SourceOperands, CodeGenInstruction &DestInst) { in createInstOperandMapping()
429 CodeGenInstruction SourceInst(Operator); in evaluateCompressPat()
438 CodeGenInstruction DestInst(DestOperator); in evaluateCompressPat()
[all …]
H A DCodeEmitterGen.cpp58 raw_ostream &o, ArrayRef<const CodeGenInstruction *> NumberedInstructions,
87 CodeGenInstruction &CGI = Target.getInstruction(R); in addCodeToMergeInOperand()
329 CodeGenInstruction &CGI = Target.getInstruction(R); in getInstructionCaseForEncoding()
381 raw_ostream &o, ArrayRef<const CodeGenInstruction *> NumberedInstructions, in emitInstructionBaseValues()
390 for (const CodeGenInstruction *CGI : NumberedInstructions) { in emitInstructionBaseValues()
429 ArrayRef<const CodeGenInstruction*> NumberedInstructions = in run()
432 if (any_of(NumberedInstructions, [](const CodeGenInstruction *CGI) { in run()
442 for (const CodeGenInstruction *CGI : NumberedInstructions) { in run()
H A DX86RecognizableInstr.h210 RecognizableInstrBase(const CodeGenInstruction &insn);
342 const CodeGenInstruction &insn,
353 const CodeGenInstruction &insn,
357 std::string getMnemonic(const CodeGenInstruction *I, unsigned Variant);
H A DVarLenCodeEmitterGen.cpp74 ArrayRef<const CodeGenInstruction *> NumberedInstructions,
220 for (const CodeGenInstruction *CGI : NumberedInstructions) { in run()
345 raw_ostream &OS, ArrayRef<const CodeGenInstruction *> NumberedInstructions, in emitInstructionBaseValues()
361 for (const CodeGenInstruction *CGI : NumberedInstructions) { in emitInstructionBaseValues()
446 CodeGenInstruction &CGI = Target.getInstruction(R); in getInstructionCaseForEncoding()
H A DCodeGenTarget.cpp300 for (const CodeGenInstruction *Inst : getInstructionsByEnumValue()) { in getInstNamespace()
472 Instructions[Insts[i]] = std::make_unique<CodeGenInstruction>(Insts[i]); in ReadInstructions()
475 static const CodeGenInstruction *
478 std::unique_ptr<CodeGenInstruction>> &Insts, in GetInstByName()
502 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum()
512 const CodeGenInstruction *CGI = I.second.get(); in ComputeInstrsByEnum()
525 [](const CodeGenInstruction *Rec1, const CodeGenInstruction *Rec2) { in ComputeInstrsByEnum()
H A DWebAssemblyDisassemblerEmitter.cpp28 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions) { in emitWebAssemblyDisassemblerTables()
32 std::map<unsigned, std::pair<unsigned, const CodeGenInstruction *>>> in emitWebAssemblyDisassemblerTables()
H A DCodeGenInstruction.h229 class CodeGenInstruction {
308 CodeGenInstruction(Record *R);
359 CodeGenInstruction *ResultInst;
H A DInstrDocsEmitter.cpp69 for (const CodeGenInstruction *II : Target.getInstructionsByEnumValue()) { in EmitInstrDocs()
88 CodeGenInstruction::FlattenAsmStringVariants(II->AsmString, VarNum); in EmitInstrDocs()
H A DDisassemblerEmitter.cpp109 ArrayRef<const CodeGenInstruction*> numberedInstructions = in EmitDisassembler()
H A DCodeGenInstruction.cpp432 CodeGenInstruction::CodeGenInstruction(Record *R) in CodeGenInstruction() function in CodeGenInstruction
520 MVT::SimpleValueType CodeGenInstruction::
537 std::string CodeGenInstruction::
582 bool CodeGenInstruction::isOperandImpl(StringRef OpListName, unsigned i, in isOperandImpl()
H A DCMakeLists.txt16 CodeGenInstruction.cpp
H A DCodeGenSchedule.h27 class CodeGenInstruction; variable
271 bool isUnsupported(const CodeGenInstruction &Inst) const;
548 unsigned getSchedClassIdx(const CodeGenInstruction &Inst) const;
/openbsd-src/gnu/llvm/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDagPredicate.h21 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 DGIMatchDagInstr.h17 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 DGIMatchDagPredicate.cpp27 GIMatchDagContext &Ctx, StringRef Name, const CodeGenInstruction &Instr) in GIMatchDagOpcodePredicate()
44 for (const CodeGenInstruction *Instr : Instrs) { in printDescription()
H A DGIMatchDagOperands.h23 class CodeGenInstruction; variable
122 const GIMatchDagOperandList &makeOperandList(const CodeGenInstruction &I);
/openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/utils/TableGen/
H A DBUILD.gn18 "CodeGenInstruction.cpp",

12