Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DX86FoldTablesEmitter.cpp95 const CodeGenInstruction *RegInst;
96 const CodeGenInstruction *MemInst;
105 X86FoldTableEntry(const CodeGenInstruction *RegInst, in X86FoldTableEntry()
106 const CodeGenInstruction *MemInst) in X86FoldTableEntry()
150 void updateTables(const CodeGenInstruction *RegInstr,
151 const CodeGenInstruction *MemInstr,
295 static inline const CodeGenInstruction *
310 const CodeGenInstruction *MemInst;
565 std::vector<const CodeGenInstruction *> MemInsts; in run()
618 const CodeGenInstruction *RegInst = *Match; in run()
[all …]
H A DX86EVEX2VEXTablesEmitter.cpp28 std::vector<const CodeGenInstruction *> EVEXInsts;
31 std::map<uint64_t, std::vector<const CodeGenInstruction *>> VEXInsts;
33 typedef std::pair<const CodeGenInstruction *, const CodeGenInstruction *> Entry;
104 const CodeGenInstruction *EVEXInst;
107 IsMatch(const CodeGenInstruction *EVEXInst) : EVEXInst(EVEXInst) {} in IsMatch()
109 bool operator()(const CodeGenInstruction *VEXInst) { in operator ()()
191 ArrayRef<const CodeGenInstruction *> NumberedInstructions = in run()
194 for (const CodeGenInstruction *Inst : NumberedInstructions) { in run()
216 for (const CodeGenInstruction *EVEXInst : EVEXInsts) { in run()
222 const CodeGenInstruction *VEXInst = nullptr; in run()
H A DPseudoLoweringEmitter.cpp37 CodeGenInstruction Source; // The source pseudo instruction definition.
38 CodeGenInstruction Dest; // The destination instruction to lower to.
41 PseudoExpansion(CodeGenInstruction &s, CodeGenInstruction &d, in PseudoExpansion()
56 CodeGenInstruction &Insn,
74 addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Insn, in addDagOperandMapping()
140 CodeGenInstruction Insn(Operator); in evaluateExpansion()
168 CodeGenInstruction SourceInsn(Rec); in evaluateExpansion()
210 CodeGenInstruction &Source = Expansion.Source; in emitLoweringEmitter()
211 CodeGenInstruction &Dest = Expansion.Dest; in emitLoweringEmitter()
H A DCodeGenTarget.h53 std::unique_ptr<CodeGenInstruction>> Instructions;
64 mutable std::vector<const CodeGenInstruction*> InstrsByEnum;
135 DenseMap<const Record*, std::unique_ptr<CodeGenInstruction>> &
142 CodeGenInstruction &getInstruction(const Record *InstRec) const { in getInstruction()
165 ArrayRef<const CodeGenInstruction *> getInstructionsByEnumValue() const { in getInstructionsByEnumValue()
171 typedef ArrayRef<const CodeGenInstruction *>::const_iterator inst_iterator;
H A DInstrInfoEmitter.cpp75 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
82 ArrayRef<const CodeGenInstruction *> NumberedInstructions,
87 ArrayRef<const CodeGenInstruction*> NumberedInstructions);
91 std::vector<std::string> GetOperandInfo(const CodeGenInstruction &Inst);
109 InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) { in GetOperandInfo()
222 ArrayRef<const CodeGenInstruction *> NumberedInstructions, in initOperandMapData()
227 for (const CodeGenInstruction *Inst : NumberedInstructions) { in initOperandMapData()
258 ArrayRef<const CodeGenInstruction*> NumberedInstructions) { in emitOperandNameMappings()
476 ArrayRef<const CodeGenInstruction*> NumberedInstructions = in run()
481 for (const CodeGenInstruction *Inst : NumberedInstructions) { in run()
[all …]
H A DRISCVCompressInstEmitter.cpp86 CodeGenInstruction Source; // The source instruction definition.
87 CodeGenInstruction Dest; // The destination instruction to transform to.
96 CompressPat(CodeGenInstruction &S, CodeGenInstruction &D, in CompressPat()
107 void addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Inst,
123 CodeGenInstruction &DestInst);
183 Record *Rec, DagInit *Dag, CodeGenInstruction &Inst, in addDagOperandMapping()
249 static bool verifyDagOpCount(CodeGenInstruction &Inst, DagInit *Dag, in verifyDagOpCount()
339 StringMap<unsigned> &SourceOperands, CodeGenInstruction &DestInst) { in createInstOperandMapping()
420 CodeGenInstruction SourceInst(Operator); in evaluateCompressPat()
438 CodeGenInstruction DestInst(DestOperator); in evaluateCompressPat()
[all …]
H A DAsmWriterInst.h24 class CodeGenInstruction; variable
82 const CodeGenInstruction *CGI;
85 AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex,
H A DCodeEmitterGen.cpp77 CodeGenInstruction &CGI = Target.getInstruction(R); in AddCodeToMergeInOperand()
198 CodeGenInstruction &CGI = Target.getInstruction(R); in getInstructionCase()
239 ArrayRef<const CodeGenInstruction*> NumberedInstructions = in run()
250 for (const CodeGenInstruction *CGI : NumberedInstructions) { in run()
350 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) { in run()
H A DCodeGenTarget.cpp214 for (const CodeGenInstruction *Inst : getInstructionsByEnumValue()) { in getInstNamespace()
336 Instructions[Insts[i]] = llvm::make_unique<CodeGenInstruction>(Insts[i]); in ReadInstructions()
339 static const CodeGenInstruction *
342 std::unique_ptr<CodeGenInstruction>> &Insts, in GetInstByName()
366 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum()
376 const CodeGenInstruction *CGI = I.second.get(); in ComputeInstrsByEnum()
389 [](const CodeGenInstruction *Rec1, const CodeGenInstruction *Rec2) { in ComputeInstrsByEnum()
H A DCodeGenInstruction.h217 class CodeGenInstruction {
292 CodeGenInstruction(Record *R);
328 CodeGenInstruction *ResultInst;
H A DWebAssemblyDisassemblerEmitter.cpp26 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions) { in emitWebAssemblyDisassemblerTables()
30 std::map<unsigned, std::pair<unsigned, const CodeGenInstruction *>>> in emitWebAssemblyDisassemblerTables()
H A DWebAssemblyDisassemblerEmitter.h26 const ArrayRef<const CodeGenInstruction *> &NumberedInstructions);
H A DInstrDocsEmitter.cpp70 for (const CodeGenInstruction *II : Target.getInstructionsByEnumValue()) { in EmitInstrDocs()
89 CodeGenInstruction::FlattenAsmStringVariants(II->AsmString, VarNum); in EmitInstrDocs()
H A DX86RecognizableInstr.h337 const CodeGenInstruction &insn,
349 const CodeGenInstruction &insn,
H A DCodeGenInstruction.cpp338 CodeGenInstruction::CodeGenInstruction(Record *R) in CodeGenInstruction() function in CodeGenInstruction
419 MVT::SimpleValueType CodeGenInstruction::
436 std::string CodeGenInstruction::
481 bool CodeGenInstruction::isOperandAPointer(unsigned i) const { in isOperandAPointer()
H A DDisassemblerEmitter.cpp114 ArrayRef<const CodeGenInstruction*> numberedInstructions = in EmitDisassembler()
H A DAsmMatcherEmitter.cpp505 PointerUnion<const CodeGenInstruction*, const CodeGenInstAlias*> DefRec;
507 const CodeGenInstruction *getResultInst() const { in getResultInst()
508 if (DefRec.is<const CodeGenInstruction*>()) in getResultInst()
509 return DefRec.get<const CodeGenInstruction*>(); in getResultInst()
543 MatchableInfo(const CodeGenInstruction &CGI) in MatchableInfo()
918 CodeGenInstruction::FlattenAsmStringVariants(AsmString, in initialize()
1602 if (II->DefRec.is<const CodeGenInstruction*>()) in buildInfo()
1608 if (II->DefRec.is<const CodeGenInstruction*>()) { in buildInfo()
1671 const CodeGenInstruction &CGI = *II->DefRec.get<const CodeGenInstruction*>(); in buildInstructionOperandReference()
1758 const CodeGenInstruction *ResultInst = getResultInst(); in buildInstructionResultOperands()
[all …]
H A DCodeGenSchedule.h29 class CodeGenInstruction; variable
273 bool isUnsupported(const CodeGenInstruction &Inst) const;
549 unsigned getSchedClassIdx(const CodeGenInstruction &Inst) const;
H A DCodeGenSchedule.cpp81 ArrayRef<const CodeGenInstruction *> Instructions = in apply()
134 bool operator()(const CodeGenInstruction *LHS, StringRef RHS) { in apply()
137 bool operator()(StringRef LHS, const CodeGenInstruction *RHS) { in apply()
149 const auto HandleNonGeneric = [&](const CodeGenInstruction *Inst) { in apply()
602 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) { in collectSchedRW()
878 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) { in collectSchedClasses()
905 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) { in collectSchedClasses()
972 CodeGenSchedModels::getSchedClassIdx(const CodeGenInstruction &Inst) const { in getSchedClassIdx()
1931 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) { in checkCompleteness()
2144 bool CodeGenProcModel::isUnsupported(const CodeGenInstruction &Inst) const { in isUnsupported()
H A DAsmWriterEmitter.cpp60 ArrayRef<const CodeGenInstruction *> NumberedInstructions;
799 CodeGenInstruction::FlattenAsmStringVariants(CGA.ResultInst->AsmString, in EmitPrintAliasInstruction()
804 CodeGenInstruction::FlattenAsmStringVariants(CGA.AsmString, in EmitPrintAliasInstruction()
1136 const CodeGenInstruction *I = NumberedInstructions[i]; in AsmWriterEmitter()
H A DGlobalISelEmitter.cpp1548 const CodeGenInstruction *I;
1620 DenseMap<const CodeGenInstruction *, unsigned>
2508 const CodeGenInstruction *I;
2534 BuildMIAction(unsigned InsnID, const CodeGenInstruction *I) in BuildMIAction()
2538 const CodeGenInstruction *getCGI() const { return I; } in getCGI()
2998 const CodeGenInstruction *getEquivNode(Record &Equiv,
3121 const CodeGenInstruction *
3158 const CodeGenInstruction *SrcGIOrNull = nullptr; in createAndImportSelDAGMatcher()
3686 CodeGenInstruction *DstI = &Target.getInstruction(DstOp); in createInstructionRenderer()
3703 const CodeGenInstruction *DstI = DstMIBuilder.getCGI(); in importExplicitDefRenderers()
[all …]
H A DAsmWriterInst.cpp53 AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex, in AsmWriterInst()
H A DDAGISelEmitter.cpp49 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in getResultPatternCost()
H A DDAGISelMatcherGen.cpp703 CodeGenInstruction &II = CGT.getInstruction(Op); in mayInstNodeLoadOrStore()
732 CodeGenInstruction &II = CGT.getInstruction(Op); in EmitResultInstructionAsOperand()
990 CodeGenInstruction &II = CGT.getInstruction(DstPat->getOperator()); in EmitResultCode()
/freebsd-12.1/usr.bin/clang/llvm-tblgen/
H A DMakefile15 SRCS+= CodeGenInstruction.cpp

12