Lines Matching refs:Insts
267 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); in ReadInstructions() local
268 if (Insts.size() <= 2) in ReadInstructions()
272 for (unsigned i = 0, e = Insts.size(); i != e; ++i) in ReadInstructions()
273 Instructions[Insts[i]] = llvm::make_unique<CodeGenInstruction>(Insts[i]); in ReadInstructions()
279 std::unique_ptr<CodeGenInstruction>> &Insts, in GetInstByName() argument
283 const auto I = Insts.find(Rec); in GetInstByName()
284 if (!Rec || I == Insts.end()) in GetInstByName()
301 const auto &Insts = getInstructions(); in ComputeInstrsByEnum() local
303 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum()
310 for (const auto &I : Insts) { in ComputeInstrsByEnum()
316 assert(InstrsByEnum.size() == Insts.size() && "Missing predefined instr"); in ComputeInstrsByEnum()
340 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); in reverseBitsForLittleEndianEncoding() local
341 for (Record *R : Insts) { in reverseBitsForLittleEndianEncoding()