Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
DInstrInfoEmitter.cpp55 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
62 const std::vector<const CodeGenInstruction *> &NumberedInstructions,
67 const std::vector<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.instructions()) { in EmitOperandInfo()
201 const std::vector<const CodeGenInstruction *> &NumberedInstructions, in initOperandMapData()
207 for (const CodeGenInstruction *Inst : NumberedInstructions) { in initOperandMapData()
237 const std::vector<const CodeGenInstruction*> &NumberedInstructions) { in emitOperandNameMappings()
361 for (const CodeGenInstruction *II : Target.instructions()) { in run()
[all …]
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()
DCodeGenTarget.h69 std::unique_ptr<CodeGenInstruction>> Instructions;
79 mutable std::vector<const CodeGenInstruction*> InstrsByEnum;
150 DenseMap<const Record*, std::unique_ptr<CodeGenInstruction>> &
157 CodeGenInstruction &getInstruction(const Record *InstRec) const { in getInstruction()
166 const std::vector<const CodeGenInstruction*> &
172 typedef std::vector<const CodeGenInstruction*>::const_iterator inst_iterator;
DAsmWriterInst.h24 class CodeGenInstruction; variable
94 const CodeGenInstruction *CGI;
96 AsmWriterInst(const CodeGenInstruction &CGI,
DCodeEmitterGen.cpp67 CodeGenInstruction &CGI = Target.getInstruction(R); in AddCodeToMergeInOperand()
191 CodeGenInstruction &CGI = Target.getInstruction(R); in getInstructionCase()
230 const std::vector<const CodeGenInstruction*> &NumberedInstructions = in run()
241 for (std::vector<const CodeGenInstruction*>::const_iterator in run()
245 const CodeGenInstruction *CGI = *IN; in run()
DCodeGenTarget.cpp165 for (const CodeGenInstruction *Inst : instructions()) { 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()
314 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum()
322 const CodeGenInstruction *CGI = I.second.get(); in ComputeInstrsByEnum()
332 [](const CodeGenInstruction *Rec1, const CodeGenInstruction *Rec2) { in ComputeInstrsByEnum()
DX86RecognizableInstr.h220 const CodeGenInstruction &insn,
232 const CodeGenInstruction &insn,
DCodeGenInstruction.h207 class CodeGenInstruction {
273 CodeGenInstruction(Record *R);
303 CodeGenInstruction *ResultInst;
DCodeGenInstruction.cpp295 CodeGenInstruction::CodeGenInstruction(Record *R) in CodeGenInstruction() function in CodeGenInstruction
365 MVT::SimpleValueType CodeGenInstruction::
382 std::string CodeGenInstruction::
579 AsmString = CodeGenInstruction::FlattenAsmStringVariants(AsmString, Variant); in CodeGenInstAlias()
DCMakeLists.txt11 CodeGenInstruction.cpp
DAsmMatcherEmitter.cpp420 PointerUnion<const CodeGenInstruction*, const CodeGenInstAlias*> DefRec;
422 const CodeGenInstruction *getResultInst() const { in getResultInst()
423 if (DefRec.is<const CodeGenInstruction*>()) in getResultInst()
424 return DefRec.get<const CodeGenInstruction*>(); in getResultInst()
458 MatchableInfo(const CodeGenInstruction &CGI) in MatchableInfo()
845 CodeGenInstruction::FlattenAsmStringVariants(AsmString, AsmVariantNo); in initialize()
1389 for (const CodeGenInstruction *CGI : Target.instructions()) { in buildInfo()
1483 if (II->DefRec.is<const CodeGenInstruction*>()) in buildInfo()
1489 if (II->DefRec.is<const CodeGenInstruction*>()) { in buildInfo()
1538 const CodeGenInstruction &CGI = *II->DefRec.get<const CodeGenInstruction*>(); in buildInstructionOperandReference()
[all …]
DDisassemblerEmitter.cpp114 const std::vector<const CodeGenInstruction*> &numberedInstructions = in EmitDisassembler()
DAndroid.mk13 CodeGenInstruction.cpp \
DAsmWriterEmitter.cpp39 std::map<const CodeGenInstruction*, AsmWriterInst*> CGIAWIMap;
40 const std::vector<const CodeGenInstruction*> *NumberedInstructions;
55 std::map<const CodeGenInstruction*, AsmWriterInst*>::const_iterator I = in getAsmWriterInstByID()
757 CodeGenInstruction::FlattenAsmStringVariants(AsmString, Variant); in CountNumOperands()
1101 for (const CodeGenInstruction *I : Target.instructions()) in AsmWriterEmitter()
DCodeGenSchedule.h28 class CodeGenInstruction; variable
351 unsigned getSchedClassIdx(const CodeGenInstruction &Inst) const;
DCodeGenDAGPatterns.cpp1243 CodeGenInstruction &InstInfo = CDP.getTargetInfo().getInstruction(Operator); in GetNumNodeResults()
1823 CodeGenInstruction &InstInfo = in ApplyTypeConstraints()
2833 static bool InferFromPattern(CodeGenInstruction &InstInfo, in InferFromPattern()
2949 CodeGenInstruction &CGI, ListInit *Pat, DAGInstMap &DAGInsts) { in parseInstructionPattern()
3129 CodeGenInstruction &InstInfo = Target.getInstruction(Instr); in ParseInstructions()
3148 CodeGenInstruction &CGI = Target.getInstruction(Instr); in ParseInstructions()
3252 const std::vector<const CodeGenInstruction*> &Instructions = in InferInstructionFlags()
3256 SmallVector<CodeGenInstruction*, 8> Revisit; in InferInstructionFlags()
3259 CodeGenInstruction &InstInfo = in InferInstructionFlags()
3260 const_cast<CodeGenInstruction &>(*Instructions[i]); in InferInstructionFlags()
[all …]
DDAGISelEmitter.cpp49 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in getResultPatternCost()
DAsmWriterInst.cpp53 AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, unsigned Variant, in AsmWriterInst()
DDAGISelMatcherGen.cpp689 CodeGenInstruction &II = CGT.getInstruction(Op); in mayInstNodeLoadOrStore()
718 CodeGenInstruction &II = CGT.getInstruction(Op); in EmitResultInstructionAsOperand()
976 CodeGenInstruction &II = CGT.getInstruction(DstPat->getOperator()); in EmitResultCode()
DFixedLenDecoderEmitter.cpp81 const std::vector<const CodeGenInstruction*> *NumberedInstructions;
309 const std::vector<const CodeGenInstruction*> &AllInstructions;
340 FilterChooser(const std::vector<const CodeGenInstruction*> &Insts, in FilterChooser()
351 FilterChooser(const std::vector<const CodeGenInstruction*> &Insts, in FilterChooser()
1718 const CodeGenInstruction &CGI, unsigned Opc, in populateInstruction()
2259 const CodeGenInstruction *Inst = NumberedInstructions->at(i); in run()
DCodeGenSchedule.cpp71 for (const CodeGenInstruction *Inst : Target.instructions()) { in apply()
207 for (const CodeGenInstruction *Inst : Target.instructions()) { in collectSchedRW()
501 for (const CodeGenInstruction *Inst : Target.instructions()) { in collectSchedClasses()
526 for (const CodeGenInstruction *Inst : Target.instructions()) { in collectSchedClasses()
595 const CodeGenInstruction &Inst) const { in getSchedClassIdx()
DCodeGenMapTable.cpp358 const std::vector<const CodeGenInstruction*> &NumberedInstructions = in emitBinSearchTable()
DX86RecognizableInstr.cpp192 const CodeGenInstruction &insn, in RecognizableInstr()
266 const CodeGenInstruction &insn, in processInstr()
DCodeGenDAGPatterns.h822 CodeGenInstruction &CGI, ListInit *Pattern,
DFastISelEmitter.cpp461 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in collectPatterns()