Home
last modified time | relevance | path

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

/external/llvm/utils/TableGen/
DCodeGenTarget.h68 mutable DenseMap<const Record*, CodeGenInstruction*> Instructions;
78 mutable std::vector<const CodeGenInstruction*> InstrsByEnum;
149 DenseMap<const Record*, CodeGenInstruction*> &getInstructions() const { in getInstructions()
155 CodeGenInstruction &getInstruction(const Record *InstRec) const { in getInstruction()
157 DenseMap<const Record*, CodeGenInstruction*>::iterator I = in getInstruction()
165 const std::vector<const CodeGenInstruction*> &
171 typedef std::vector<const CodeGenInstruction*>::const_iterator inst_iterator;
DPseudoLoweringEmitter.cpp36 CodeGenInstruction Source; // The source pseudo instruction definition.
37 CodeGenInstruction Dest; // The destination instruction to lower to.
40 PseudoExpansion(CodeGenInstruction &s, CodeGenInstruction &d, in PseudoExpansion()
55 CodeGenInstruction &Insn,
73 addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Insn, in addDagOperandMapping()
139 CodeGenInstruction Insn(Operator); in evaluateExpansion()
168 CodeGenInstruction SourceInsn(Rec); in evaluateExpansion()
208 CodeGenInstruction &Source = Expansion.Source; in emitLoweringEmitter()
209 CodeGenInstruction &Dest = Expansion.Dest; in emitLoweringEmitter()
DInstrInfoEmitter.cpp55 void emitRecord(const CodeGenInstruction &Inst, unsigned Num,
61 const std::vector<const CodeGenInstruction *> NumberedInstructions,
66 const std::vector<const CodeGenInstruction*> &NumberedInstructions);
70 std::vector<std::string> GetOperandInfo(const CodeGenInstruction &Inst);
87 InstrInfoEmitter::GetOperandInfo(const CodeGenInstruction &Inst) { in GetOperandInfo()
202 const std::vector<const CodeGenInstruction *> NumberedInstructions, in initOperandMapData()
209 const CodeGenInstruction *Inst = NumberedInstructions[i]; in initOperandMapData()
241 const std::vector<const CodeGenInstruction*> &NumberedInstructions) { in emitOperandNameMappings()
362 const std::vector<const CodeGenInstruction*> &NumberedInstructions = in run()
373 const CodeGenInstruction *Instr = NumberedInstructions[i]; in run()
[all …]
DAsmWriterInst.h24 class CodeGenInstruction; variable
88 const CodeGenInstruction *CGI;
90 AsmWriterInst(const CodeGenInstruction &CGI,
DCodeGenTarget.cpp270 Instructions[Insts[i]] = new CodeGenInstruction(Insts[i]); in ReadInstructions()
273 static const CodeGenInstruction *
275 const DenseMap<const Record*, CodeGenInstruction*> &Insts, in GetInstByName()
279 DenseMap<const Record*, CodeGenInstruction*>::const_iterator in GetInstByName()
290 bool operator()(const CodeGenInstruction *Rec1, in operator ()()
291 const CodeGenInstruction *Rec2) const { in operator ()()
321 const DenseMap<const Record*, CodeGenInstruction*> &Insts = getInstructions(); in ComputeInstrsByEnum()
323 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum()
330 for (DenseMap<const Record*, CodeGenInstruction*>::const_iterator in ComputeInstrsByEnum()
332 const CodeGenInstruction *CGI = I->second; in ComputeInstrsByEnum()
DX86RecognizableInstr.h251 const CodeGenInstruction &insn,
263 const CodeGenInstruction &insn,
DCodeEmitterGen.cpp110 CodeGenInstruction &CGI = Target.getInstruction(R); in AddCodeToMergeInOperand()
244 const std::vector<const CodeGenInstruction*> &NumberedInstructions = in run()
257 for (std::vector<const CodeGenInstruction*>::const_iterator in run()
261 const CodeGenInstruction *CGI = *IN; in run()
DCodeGenInstruction.h200 class CodeGenInstruction {
260 CodeGenInstruction(Record *R);
290 CodeGenInstruction *ResultInst;
DCMakeLists.txt10 CodeGenInstruction.cpp
DDisassemblerEmitter.cpp114 const std::vector<const CodeGenInstruction*> &numberedInstructions = in EmitDisassembler()
DAndroid.mk10 CodeGenInstruction.cpp \
DCodeGenInstruction.cpp291 CodeGenInstruction::CodeGenInstruction(Record *R) in CodeGenInstruction() function in CodeGenInstruction
344 MVT::SimpleValueType CodeGenInstruction::
361 std::string CodeGenInstruction::
DCodeGenSchedule.h28 class CodeGenInstruction; variable
330 unsigned getSchedClassIdx(const CodeGenInstruction &Inst) const;
DAsmMatcherEmitter.cpp399 PointerUnion<const CodeGenInstruction*, const CodeGenInstAlias*> DefRec;
401 const CodeGenInstruction *getResultInst() const { in getResultInst()
402 if (DefRec.is<const CodeGenInstruction*>()) in getResultInst()
403 return DefRec.get<const CodeGenInstruction*>(); in getResultInst()
433 MatchableInfo(const CodeGenInstruction &CGI) in MatchableInfo()
765 CodeGenInstruction::FlattenAsmStringVariants(AsmString, AsmVariantNo); in initialize()
1317 const CodeGenInstruction &CGI = **I; in buildInfo()
1418 if (II->DefRec.is<const CodeGenInstruction*>()) in buildInfo()
1424 if (II->DefRec.is<const CodeGenInstruction*>()) { in buildInfo()
1472 const CodeGenInstruction &CGI = *II->DefRec.get<const CodeGenInstruction*>(); in buildInstructionOperandReference()
[all …]
DCodeGenDAGPatterns.cpp1108 CodeGenInstruction &InstInfo = CDP.getTargetInfo().getInstruction(Operator); in GetNumNodeResults()
1620 CodeGenInstruction &InstInfo = in ApplyTypeConstraints()
2566 static bool InferFromPattern(CodeGenInstruction &InstInfo, in InferFromPattern()
2703 CodeGenInstruction &InstInfo = Target.getInstruction(Instrs[i]); in ParseInstructions()
2767 CodeGenInstruction &CGI = Target.getInstruction(Instrs[i]); in ParseInstructions()
2980 const std::vector<const CodeGenInstruction*> &Instructions = in InferInstructionFlags()
2984 SmallVector<CodeGenInstruction*, 8> Revisit; in InferInstructionFlags()
2987 CodeGenInstruction &InstInfo = in InferInstructionFlags()
2988 const_cast<CodeGenInstruction &>(*Instructions[i]); in InferInstructionFlags()
3022 CodeGenInstruction &InstInfo = Target.getInstruction(PatInstrs.front()); in InferInstructionFlags()
[all …]
DDAGISelEmitter.cpp47 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in getResultPatternCost()
DAsmWriterInst.cpp51 AsmWriterInst::AsmWriterInst(const CodeGenInstruction &CGI, in AsmWriterInst()
DDAGISelMatcherGen.cpp659 CodeGenInstruction &II = CGT.getInstruction(Op); in mayInstNodeLoadOrStore()
688 CodeGenInstruction &II = CGT.getInstruction(Op); in EmitResultInstructionAsOperand()
933 CodeGenInstruction &II = CGT.getInstruction(DstPat->getOperator()); in EmitResultCode()
DFixedLenDecoderEmitter.cpp81 const std::vector<const CodeGenInstruction*> *NumberedInstructions;
310 const std::vector<const CodeGenInstruction*> &AllInstructions;
345 FilterChooser(const std::vector<const CodeGenInstruction*> &Insts, in FilterChooser()
358 FilterChooser(const std::vector<const CodeGenInstruction*> &Insts, in FilterChooser()
1701 static bool populateInstruction(const CodeGenInstruction &CGI, unsigned Opc, in populateInstruction()
2022 const CodeGenInstruction *Inst = NumberedInstructions->at(i); in run()
DAsmWriterEmitter.cpp34 std::map<const CodeGenInstruction*, AsmWriterInst*> CGIAWIMap;
35 std::vector<const CodeGenInstruction*> NumberedInstructions;
48 std::map<const CodeGenInstruction*, AsmWriterInst*>::const_iterator I = in getAsmWriterInstByID()
DCodeGenMapTable.cpp363 const std::vector<const CodeGenInstruction*> &NumberedInstructions = in emitBinSearchTable()
DX86RecognizableInstr.cpp212 const CodeGenInstruction &insn, in RecognizableInstr()
287 const CodeGenInstruction &insn, in processInstr()
DFastISelEmitter.cpp442 CodeGenInstruction &II = CGP.getTargetInfo().getInstruction(Op); in collectPatterns()
DCodeGenSchedule.cpp609 const CodeGenInstruction &Inst) const { in getSchedClassIdx()