Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DX86FoldTablesEmitter.cpp77 static bool isExplicitAlign(const CodeGenInstruction *Inst) { in isExplicitAlign()
83 static bool isExplicitUnalign(const CodeGenInstruction *Inst) { in isExplicitUnalign()
95 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,
156 void addEntryWithFlags(FoldTable &Table, const CodeGenInstruction *RegInstr,
157 const CodeGenInstruction *MemInstr,
[all …]
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()
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()
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;
DInstrInfoEmitter.cpp74 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
81 ArrayRef<const CodeGenInstruction *> NumberedInstructions,
86 ArrayRef<const CodeGenInstruction*> NumberedInstructions);
90 std::vector<std::string> GetOperandInfo(const CodeGenInstruction &Inst);
108 InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) { in GetOperandInfo()
200 for (const CodeGenInstruction *Inst : Target.getInstructionsByEnumValue()) { in EmitOperandInfo()
221 ArrayRef<const CodeGenInstruction *> NumberedInstructions, in initOperandMapData()
226 for (const CodeGenInstruction *Inst : NumberedInstructions) { in initOperandMapData()
257 ArrayRef<const CodeGenInstruction*> NumberedInstructions) { in emitOperandNameMappings()
445 for (const CodeGenInstruction *II : Target.getInstructionsByEnumValue()) { in run()
[all …]
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 …]
DAsmWriterInst.h24 class CodeGenInstruction; variable
82 const CodeGenInstruction *CGI;
85 AsmWriterInst(const CodeGenInstruction &CGI, unsigned CGIIndex,
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()
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()
/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,
/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()

1234