Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/LLVM/utils/TableGen/
DPseudoLoweringEmitter.h32 CodeGenInstruction Source; // The source pseudo instruction definition.
33 CodeGenInstruction Dest; // The destination instruction to lower to.
36 PseudoExpansion(CodeGenInstruction &s, CodeGenInstruction &d, in PseudoExpansion()
51 CodeGenInstruction &Insn,
DCodeGenTarget.h67 mutable DenseMap<const Record*, CodeGenInstruction*> Instructions;
75 mutable std::vector<const CodeGenInstruction*> InstrsByEnum;
133 DenseMap<const Record*, CodeGenInstruction*> &getInstructions() const { in getInstructions()
139 CodeGenInstruction &getInstruction(const Record *InstRec) const { in getInstruction()
141 DenseMap<const Record*, CodeGenInstruction*>::iterator I = in getInstruction()
149 const std::vector<const CodeGenInstruction*> &
155 typedef std::vector<const CodeGenInstruction*>::const_iterator inst_iterator;
DAsmWriterEmitter.h25 class CodeGenInstruction; variable
29 std::map<const CodeGenInstruction*, AsmWriterInst*> CGIAWIMap;
30 std::vector<const CodeGenInstruction*> NumberedInstructions;
46 std::map<const CodeGenInstruction*, AsmWriterInst*>::const_iterator I = in getAsmWriterInstByID()
DInstrInfoEmitter.h28 class CodeGenInstruction; variable
45 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
57 std::vector<std::string> GetOperandInfo(const CodeGenInstruction &Inst);
DCodeGenTarget.cpp224 Instructions[Insts[i]] = new CodeGenInstruction(Insts[i]); in ReadInstructions()
227 static const CodeGenInstruction *
229 const DenseMap<const Record*, CodeGenInstruction*> &Insts, in GetInstByName()
233 DenseMap<const Record*, CodeGenInstruction*>::const_iterator in GetInstByName()
244 bool operator()(const CodeGenInstruction *Rec1, in operator ()()
245 const CodeGenInstruction *Rec2) const { in operator ()()
272 const DenseMap<const Record*, CodeGenInstruction*> &Insts = getInstructions(); in ComputeInstrsByEnum()
274 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum()
281 for (DenseMap<const Record*, CodeGenInstruction*>::const_iterator in ComputeInstrsByEnum()
283 const CodeGenInstruction *CGI = I->second; in ComputeInstrsByEnum()
DAsmWriterInst.h24 class CodeGenInstruction; variable
88 const CodeGenInstruction *CGI;
90 AsmWriterInst(const CodeGenInstruction &CGI,
DPseudoLoweringEmitter.cpp27 addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Insn, in addDagOperandMapping()
93 CodeGenInstruction Insn(Operator); in evaluateExpansion()
119 CodeGenInstruction SourceInsn(Rec); in evaluateExpansion()
159 CodeGenInstruction &Source = Expansion.Source; in emitLoweringEmitter()
160 CodeGenInstruction &Dest = Expansion.Dest; in emitLoweringEmitter()
DEDEmitter.cpp217 const CodeGenInstruction &inst, in populateOperandOrder()
352 const CodeGenInstruction &inst) { in X86PopulateOperands()
382 const CodeGenInstruction &inst, in decorate1()
434 const CodeGenInstruction &inst) { in X86ExtractSemantics()
716 const CodeGenInstruction &inst) { in ARMPopulateOperands()
760 const CodeGenInstruction &inst) { in ARMExtractSemantics()
797 const std::vector<const CodeGenInstruction*> &numberedInstructions = in populateInstInfo()
804 const CodeGenInstruction& inst = *numberedInstructions[index]; in populateInstInfo()
DCodeEmitterGen.cpp87 CodeGenInstruction &CGI = Target.getInstruction(R); in AddCodeToMergeInOperand()
219 const std::vector<const CodeGenInstruction*> &NumberedInstructions = in run()
232 for (std::vector<const CodeGenInstruction*>::const_iterator in run()
236 const CodeGenInstruction *CGI = *IN; in run()
DX86RecognizableInstr.h240 const CodeGenInstruction &insn,
252 const CodeGenInstruction &insn,
DCodeGenInstruction.h201 class CodeGenInstruction {
248 CodeGenInstruction(Record *R);
278 CodeGenInstruction *ResultInst;
DInstrInfoEmitter.cpp52 InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) { in GetOperandInfo()
207 const std::vector<const CodeGenInstruction*> &NumberedInstructions = in run()
252 void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num, in emitRecord()
355 const std::vector<const CodeGenInstruction*> &NumberedInstructions = in emitEnums()
DAsmMatcherEmitter.cpp374 PointerUnion<const CodeGenInstruction*, const CodeGenInstAlias*> DefRec;
376 const CodeGenInstruction *getResultInst() const { in getResultInst()
377 if (DefRec.is<const CodeGenInstruction*>()) in getResultInst()
378 return DefRec.get<const CodeGenInstruction*>(); in getResultInst()
408 MatchableInfo(const CodeGenInstruction &CGI) in MatchableInfo()
650 AsmString = CodeGenInstruction::FlattenAsmStringVariants(AsmString, 0); in Initialize()
1168 const CodeGenInstruction &CGI = **I; in BuildInfo()
1288 if (II->DefRec.is<const CodeGenInstruction*>()) in BuildInfo()
1294 if (II->DefRec.is<const CodeGenInstruction*>()) in BuildInfo()
1310 const CodeGenInstruction &CGI = *II->DefRec.get<const CodeGenInstruction*>(); in BuildInstructionOperandReference()
[all …]
DInstrEnumEmitter.cpp36 const std::vector<const CodeGenInstruction*> &NumberedInstructions = in run()
DDisassemblerEmitter.cpp115 const std::vector<const CodeGenInstruction*> &numberedInstructions = in run()
/external/llvm/utils/TableGen/
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()
209 CodeGenInstruction &Source = Expansion.Source; in emitLoweringEmitter()
210 CodeGenInstruction &Dest = Expansion.Dest; in emitLoweringEmitter()
DInstrInfoEmitter.cpp55 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
62 ArrayRef<const CodeGenInstruction *> NumberedInstructions,
67 ArrayRef<const CodeGenInstruction*> NumberedInstructions);
71 std::vector<std::string> GetOperandInfo(const CodeGenInstruction &Inst);
88 InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) { in GetOperandInfo()
180 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) { in EmitOperandInfo()
201 ArrayRef<const CodeGenInstruction *> NumberedInstructions, in initOperandMapData()
207 for (const CodeGenInstruction *Inst : NumberedInstructions) { in initOperandMapData()
237 ArrayRef<const CodeGenInstruction*> NumberedInstructions) { in emitOperandNameMappings()
359 for (const CodeGenInstruction *II : Target.getInstructionsByEnumValue()) { in run()
[all …]
DCodeGenTarget.h69 std::unique_ptr<CodeGenInstruction>> Instructions;
79 mutable std::vector<const CodeGenInstruction*> InstrsByEnum;
148 DenseMap<const Record*, std::unique_ptr<CodeGenInstruction>> &
155 CodeGenInstruction &getInstruction(const Record *InstRec) const { in getInstruction()
164 ArrayRef<const CodeGenInstruction *>
170 typedef ArrayRef<const CodeGenInstruction *>::const_iterator inst_iterator;
DAsmWriterInst.h24 class CodeGenInstruction; variable
82 const CodeGenInstruction *CGI;
85 AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex,
DCodeGenTarget.cpp165 for (const CodeGenInstruction *Inst : getInstructionsByEnumValue()) { in getInstNamespace()
284 Instructions[Insts[i]] = llvm::make_unique<CodeGenInstruction>(Insts[i]); in ReadInstructions()
287 static const CodeGenInstruction *
290 std::unique_ptr<CodeGenInstruction>> &Insts, in GetInstByName()
309 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum()
317 const CodeGenInstruction *CGI = I.second.get(); in ComputeInstrsByEnum()
327 [](const CodeGenInstruction *Rec1, const CodeGenInstruction *Rec2) { in ComputeInstrsByEnum()
DCodeEmitterGen.cpp66 CodeGenInstruction &CGI = Target.getInstruction(R); in AddCodeToMergeInOperand()
190 CodeGenInstruction &CGI = Target.getInstruction(R); in getInstructionCase()
229 ArrayRef<const CodeGenInstruction*> NumberedInstructions = in run()
240 for (const CodeGenInstruction *CGI : NumberedInstructions) { in run()
DX86RecognizableInstr.h217 const CodeGenInstruction &insn,
229 const CodeGenInstruction &insn,
DCodeGenInstruction.h206 class CodeGenInstruction {
273 CodeGenInstruction(Record *R);
303 CodeGenInstruction *ResultInst;
DCodeGenSchedule.h28 class CodeGenInstruction; variable
218 bool isUnsupported(const CodeGenInstruction &Inst) const;
361 unsigned getSchedClassIdx(const CodeGenInstruction &Inst) const;
DCodeGenInstruction.cpp298 CodeGenInstruction::CodeGenInstruction(Record *R) in CodeGenInstruction() function in CodeGenInstruction
369 MVT::SimpleValueType CodeGenInstruction::
386 std::string CodeGenInstruction::
583 AsmString = CodeGenInstruction::FlattenAsmStringVariants(AsmString, Variant); in CodeGenInstAlias()

12