Home
last modified time | relevance | path

Searched refs:CodeGenInstruction (Results 1 – 25 of 51) 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,
122 const CodeGenInstruction *OldInst;
125 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 DPseudoLoweringEmitter.cpp35 CodeGenInstruction Source; // The source pseudo instruction definition.
36 CodeGenInstruction Dest; // The destination instruction to lower to.
39 PseudoExpansion(CodeGenInstruction &s, CodeGenInstruction &d, in PseudoExpansion()
57 const CodeGenInstruction &SourceInsn);
73 const CodeGenInstruction &SourceInsn) { in addOperandMapping()
152 CodeGenInstruction Insn(Operator); in evaluateExpansion()
174 CodeGenInstruction SourceInsn(Rec); in evaluateExpansion()
230 CodeGenInstruction &Source = Expansion.Source; in emitLoweringEmitter()
231 CodeGenInstruction &Dest = Expansion.Dest; in emitLoweringEmitter()
H A DInstrInfoEmitter.cpp65 ArrayRef<const CodeGenInstruction *> NumberedInstructions);
85 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
91 ArrayRef<const CodeGenInstruction *> NumberedInstructions);
94 ArrayRef<const CodeGenInstruction *> TargetInstructions);
97 ArrayRef<const CodeGenInstruction *> TargetInstructions);
103 OperandInfoTy GetOperandInfo(const CodeGenInstruction &Inst);
113 InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) { in GetOperandInfo()
204 for (const CodeGenInstruction *Inst : Target.getInstructions()) { in CollectOperandInfo()
242 ArrayRef<const CodeGenInstruction *> TargetInstructions) { in emitOperandNameMappings()
266 for (const CodeGenInstruction *Inst : TargetInstructions) { in emitOperandNameMappings()
[all …]
H A DX86MnemonicTables.cpp41 StringMap<SmallVector<const CodeGenInstruction *, 0>> MnemonicToCGInstrMap; in run()
43 for (const CodeGenInstruction *I : Target.getInstructions()) { in run()
72 const CodeGenInstruction *CGI = *Mnemonics.begin(); in run()
76 for (const CodeGenInstruction *CGI : Mnemonics) { in run()
H A DCompressInstEmitter.cpp106 CodeGenInstruction Source;
108 CodeGenInstruction Dest;
119 CompressPat(const CodeGenInstruction &S, const CodeGenInstruction &D, in CompressPat()
132 const CodeGenInstruction &Inst,
149 const CodeGenInstruction &DestInst);
210 const CodeGenInstruction &Inst, in addDagOperandMapping()
318 static bool verifyDagOpCount(const CodeGenInstruction &Inst, const DagInit *Dag, in verifyDagOpCount()
386 StringMap<ArgData> &SourceOperands, const CodeGenInstruction &DestInst) { in createInstOperandMapping()
465 CodeGenInstruction SourceInst(SourceOperator); in evaluateCompressPat()
474 CodeGenInstruction DestInst(DestOperator); in evaluateCompressPat()
[all …]
H A DWebAssemblyDisassemblerEmitter.h21 class CodeGenInstruction; variable
25 raw_ostream &OS, ArrayRef<const CodeGenInstruction *> NumberedInstructions);
H A DX86RecognizableInstr.h236 RecognizableInstrBase(const CodeGenInstruction &insn);
366 RecognizableInstr(DisassemblerTables &tables, const CodeGenInstruction &insn,
377 const CodeGenInstruction &insn, InstrUID uid);
380 std::string getMnemonic(const CodeGenInstruction *I, unsigned Variant);
H A DCodeEmitterGen.cpp72 raw_ostream &O, ArrayRef<const CodeGenInstruction *> NumberedInstructions,
104 CodeGenInstruction &CGI = Target.getInstruction(R); in addCodeToMergeInOperand()
399 raw_ostream &O, ArrayRef<const CodeGenInstruction *> NumberedInstructions, in emitInstructionBaseValues()
408 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.cpp27 ArrayRef<const CodeGenInstruction *> NumberedInstructions) { in emitWebAssemblyDisassemblerTables()
31 std::map<unsigned, std::pair<unsigned, const CodeGenInstruction *>>> in emitWebAssemblyDisassemblerTables()
H A DInstrDocsEmitter.cpp75 for (const CodeGenInstruction *II : Target.getInstructions()) { in EmitInstrDocs()
94 CodeGenInstruction::FlattenAsmStringVariants(II->AsmString, VarNum); in EmitInstrDocs()
H A DGlobalISelEmitter.cpp297 CodeGenInstruction &InstInfo = Target.getInstruction(Dst.getOperator()); in getInstResultType()
384 const CodeGenInstruction *getEquivNode(const Record &Equiv,
535 const CodeGenInstruction *
752 const CodeGenInstruction *SrcGIOrNull = nullptr; in createAndImportSelDAGMatcher()
1191 const CodeGenInstruction &BuildVector = in importChildMatcher()
1193 const CodeGenInstruction &BuildVectorTrunc = in importChildMatcher()
1520 CodeGenInstruction *DstI = &Target.getInstruction(DstOp); in createInstructionRenderer()
1535 const CodeGenInstruction *DstI = DstMIBuilder.getCGI(); in importExplicitDefRenderers()
1603 const CodeGenInstruction *DstI = DstMIBuilder.getCGI(); in importExplicitUseRenderers()
1604 CodeGenInstruction *OrigDstI = &Target.getInstruction(Dst.getOperator()); in importExplicitUseRenderers()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DCodeGenTarget.h61 mutable DenseMap<const Record *, std::unique_ptr<CodeGenInstruction>>
76 mutable std::vector<const CodeGenInstruction *> InstrsByEnum;
156 DenseMap<const Record *, std::unique_ptr<CodeGenInstruction>> &
164 CodeGenInstruction &getInstruction(const Record *InstRec) const { in getInstruction()
179 ArrayRef<const CodeGenInstruction *> getInstructions() const { in getInstructions()
187 ArrayRef<const CodeGenInstruction *> getGenericInstructions() const { in getGenericInstructions()
191 ArrayRef<const CodeGenInstruction *> getTargetInstructions() const { in getTargetInstructions()
195 ArrayRef<const CodeGenInstruction *> getTargetPseudoInstructions() const { in getTargetPseudoInstructions()
199 ArrayRef<const CodeGenInstruction *> getTargetNonPseudoInstructions() const { in getTargetNonPseudoInstructions()
H A DCodeGenTarget.cpp91 for (const CodeGenInstruction *Inst : getInstructions()) { in getInstNamespace()
215 InstructionMap.try_emplace(R, std::make_unique<CodeGenInstruction>(R)); in ReadInstructions()
220 static const CodeGenInstruction *GetInstByName( in GetInstByName()
222 const DenseMap<const Record *, std::unique_ptr<CodeGenInstruction>> &Insts, in GetInstByName()
246 const CodeGenInstruction *Instr = GetInstByName(Name, InstMap, Records); in ComputeInstrsByEnum()
256 const CodeGenInstruction *CGI = CGIUp.get(); in ComputeInstrsByEnum()
268 [](const CodeGenInstruction *Rec1, const CodeGenInstruction *Rec2) { 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,
231 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()
452 CodeGenInstruction &CGI = Target.getInstruction(R); in getInstructionCaseForEncoding()
H A DCodeGenInstruction.cpp428 CodeGenInstruction::CodeGenInstruction(const Record *R) in CodeGenInstruction() function in CodeGenInstruction
514 MVT::SimpleValueType CodeGenInstruction::HasOneImplicitDefWithKnownVT( in HasOneImplicitDefWithKnownVT()
531 std::string CodeGenInstruction::FlattenAsmStringVariants(StringRef Cur, in FlattenAsmStringVariants()
577 bool CodeGenInstruction::isOperandImpl(StringRef OpListName, unsigned i, in isOperandImpl()
H A DCodeGenInstruction.h221 class CodeGenInstruction {
303 CodeGenInstruction(const Record *R);
/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/GlobalISel/
H A DPatterns.h36 class CodeGenInstruction; variable
184 void addOpcode(const CodeGenInstruction *I) { Insts.push_back(I); } in addOpcode()
190 SmallVector<const CodeGenInstruction *, 4> Insts;
458 CodeGenInstructionPattern(const CodeGenInstruction &I, StringRef Name) in CodeGenInstructionPattern()
479 const CodeGenInstruction &getInst() const { return I; } in getInst()
485 const CodeGenInstruction &I;

123