Home
last modified time | relevance | path

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

123

/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DX86InstrMappingEmitter.cpp33 std::vector<const CodeGenInstruction *> PreCompressionInsts;
36 std::map<uint64_t, std::vector<const CodeGenInstruction *>> CompressedInsts;
38 typedef std::pair<const CodeGenInstruction *, const CodeGenInstruction *>
40 typedef std::map<StringRef, std::vector<const CodeGenInstruction *>>
53 void emitCompressEVEXTable(ArrayRef<const CodeGenInstruction *> Insts,
55 void emitNFTransformTable(ArrayRef<const CodeGenInstruction *> Insts,
57 void emitND2NonNDTable(ArrayRef<const CodeGenInstruction *> Insts,
59 void emitSSE2AVXTable(ArrayRef<const CodeGenInstruction *> Insts,
123 const CodeGenInstruction *OldInst;
126 IsMatch(const CodeGenInstruction *OldInst) : OldInst(OldInst) {} in IsMatch()
[all …]
H A DX86FoldTablesEmitter.cpp53 static bool isExplicitAlign(const CodeGenInstruction *Inst) { in isExplicitAlign()
59 static bool isExplicitUnalign(const CodeGenInstruction *Inst) { in isExplicitUnalign()
71 const CodeGenInstruction *RegInst;
72 const CodeGenInstruction *MemInst;
93 X86FoldTableEntry(const CodeGenInstruction *RegInst, in X86FoldTableEntry()
94 const CodeGenInstruction *MemInst) in X86FoldTableEntry()
166 bool operator()(const CodeGenInstruction *LHS, in operator ()()
167 const CodeGenInstruction *RHS) const { in operator ()()
176 typedef std::map<const CodeGenInstruction *, X86FoldTableEntry,
207 void updateTables(const CodeGenInstruction *RegInst,
[all …]
H A DX86EVEX2VEXTablesEmitter.cpp
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,
74 Record *Rec, DagInit *Dag, CodeGenInstruction &Insn, in addDagOperandMapping()
157 CodeGenInstruction Insn(Operator); in evaluateExpansion()
193 CodeGenInstruction SourceInsn(Rec); in evaluateExpansion()
239 CodeGenInstruction &Source = Expansion.Source; in emitLoweringEmitter()
240 CodeGenInstruction &Dest = Expansion.Dest; in emitLoweringEmitter()
H A DInstrInfoEmitter.cpp90 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
96 ArrayRef<const CodeGenInstruction *> NumberedInstructions);
98 initOperandMapData(ArrayRef<const CodeGenInstruction *> NumberedInstructions,
104 ArrayRef<const CodeGenInstruction *> NumberedInstructions);
108 ArrayRef<const CodeGenInstruction *> NumberedInstructions);
111 ArrayRef<const CodeGenInstruction *> NumberedInstructions);
117 OperandInfoTy GetOperandInfo(const CodeGenInstruction &Inst);
127 InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) { in GetOperandInfo()
219 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) { in CollectOperandInfo()
249 ArrayRef<const CodeGenInstruction *> NumberedInstructions, in initOperandMapData()
[all …]
H A DCompressInstEmitter.cpp102 CodeGenInstruction Source;
104 CodeGenInstruction Dest;
115 CompressPat(CodeGenInstruction &S, CodeGenInstruction &D, in CompressPat()
126 void addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Inst,
142 CodeGenInstruction &DestInst);
200 CodeGenInstruction &Inst, in addDagOperandMapping()
267 static bool verifyDagOpCount(CodeGenInstruction &Inst, DagInit *Dag, in verifyDagOpCount()
356 StringMap<unsigned> &SourceOperands, CodeGenInstruction &DestInst) { in createInstOperandMapping()
431 CodeGenInstruction SourceInst(SourceOperator); in evaluateCompressPat()
440 CodeGenInstruction DestInst(DestOperator); in evaluateCompressPat()
[all …]
H A DWebAssemblyDisassemblerEmitter.h21 class CodeGenInstruction; variable
26 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions);
H A DX86RecognizableInstr.h234 RecognizableInstrBase(const CodeGenInstruction &insn);
363 RecognizableInstr(DisassemblerTables &tables, const CodeGenInstruction &insn,
374 const CodeGenInstruction &insn, InstrUID uid);
377 std::string getMnemonic(const CodeGenInstruction *I, unsigned Variant);
H A DCodeEmitterGen.cpp70 raw_ostream &o, ArrayRef<const CodeGenInstruction *> NumberedInstructions,
101 CodeGenInstruction &CGI = Target.getInstruction(R); in addCodeToMergeInOperand()
396 raw_ostream &o, ArrayRef<const CodeGenInstruction *> NumberedInstructions, in emitInstructionBaseValues()
405 for (const CodeGenInstruction *CGI : NumberedInstructions) { in emitInstructionBaseValues()
477 ArrayRef<const CodeGenInstruction *> NumberedInstructions = in run()
487 for (const CodeGenInstruction *CGI : NumberedInstructions) { in run()
H A DWebAssemblyDisassemblerEmitter.cpp28 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions) { in emitWebAssemblyDisassemblerTables()
32 std::map<unsigned, std::pair<unsigned, const CodeGenInstruction *>>> in emitWebAssemblyDisassemblerTables()
H A DInstrDocsEmitter.cpp75 for (const CodeGenInstruction *II : Target.getInstructionsByEnumValue()) { in EmitInstrDocs()
94 CodeGenInstruction::FlattenAsmStringVariants(II->AsmString, VarNum); in EmitInstrDocs()
H A DDisassemblerEmitter.cpp105 ArrayRef<const CodeGenInstruction *> numberedInstructions = in EmitDisassembler()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DGIMatchDagPredicate.h
H A DGIMatchDagInstr.h
H A DGIMatchDagPredicate.cpp
H A DGIMatchDagOperands.h
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenTarget.h61 mutable DenseMap<const Record *, std::unique_ptr<CodeGenInstruction>>
77 mutable std::vector<const CodeGenInstruction *> InstrsByEnum;
162 DenseMap<const Record *, std::unique_ptr<CodeGenInstruction>> &
170 CodeGenInstruction &getInstruction(const Record *InstRec) const { in getInstruction()
194 ArrayRef<const CodeGenInstruction *> getInstructionsByEnumValue() const { in getInstructionsByEnumValue()
207 typedef ArrayRef<const CodeGenInstruction *>::const_iterator inst_iterator;
H A DCodeGenTarget.cpp107 for (const CodeGenInstruction *Inst : getInstructionsByEnumValue()) { in getInstNamespace()
279 Instructions[R] = std::make_unique<CodeGenInstruction>(R); in ReadInstructions()
285 static const CodeGenInstruction *GetInstByName( in GetInstByName()
287 const DenseMap<const Record *, std::unique_ptr<CodeGenInstruction>> &Insts, in GetInstByName()
311 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum()
321 const CodeGenInstruction *CGI = I.second.get(); in ComputeInstrsByEnum()
334 [](const CodeGenInstruction *Rec1, const CodeGenInstruction *Rec2) { in ComputeInstrsByEnum()
343 for (const CodeGenInstruction *Inst : InstrsByEnum) in ComputeInstrsByEnum()
H A DAsmWriterInst.h23 class CodeGenInstruction; variable
83 const CodeGenInstruction *CGI;
86 AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex,
H A DCodeGenInstAlias.h26 class CodeGenInstruction; variable
46 CodeGenInstruction *ResultInst;
H A DVarLenCodeEmitterGen.cpp85 ArrayRef<const CodeGenInstruction *> NumberedInstructions,
229 for (const CodeGenInstruction *CGI : NumberedInstructions) { in run()
349 raw_ostream &OS, ArrayRef<const CodeGenInstruction *> NumberedInstructions, in emitInstructionBaseValues()
358 for (const CodeGenInstruction *CGI : NumberedInstructions) { in emitInstructionBaseValues()
451 CodeGenInstruction &CGI = Target.getInstruction(R); in getInstructionCaseForEncoding()
H A DCodeGenInstruction.cpp431 CodeGenInstruction::CodeGenInstruction(Record *R) in CodeGenInstruction() function in CodeGenInstruction
518 MVT::SimpleValueType CodeGenInstruction::HasOneImplicitDefWithKnownVT( in HasOneImplicitDefWithKnownVT()
535 std::string CodeGenInstruction::FlattenAsmStringVariants(StringRef Cur, in FlattenAsmStringVariants()
580 bool CodeGenInstruction::isOperandImpl(StringRef OpListName, unsigned i, in isOperandImpl()
H A DCodeGenInstruction.h223 class CodeGenInstruction {
305 CodeGenInstruction(Record *R);
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DPatterns.h36 class CodeGenInstruction; variable
162 void addOpcode(const CodeGenInstruction *I) { Insts.push_back(I); } in addOpcode()
168 SmallVector<const CodeGenInstruction *, 4> Insts;
434 CodeGenInstructionPattern(const CodeGenInstruction &I, StringRef Name) in CodeGenInstructionPattern()
455 const CodeGenInstruction &getInst() const { return I; } in getInst()
461 const CodeGenInstruction &I;

123