Lines Matching refs:Insts
278 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); in ReadInstructions() local
279 if (Insts.size() <= 2) in ReadInstructions()
283 for (unsigned i = 0, e = Insts.size(); i != e; ++i) in ReadInstructions()
284 Instructions[Insts[i]] = llvm::make_unique<CodeGenInstruction>(Insts[i]); in ReadInstructions()
290 std::unique_ptr<CodeGenInstruction>> &Insts, in GetInstByName() argument
294 const auto I = Insts.find(Rec); in GetInstByName()
295 if (!Rec || I == Insts.end()) in GetInstByName()
307 const auto &Insts = getInstructions(); in ComputeInstrsByEnum() local
309 const CodeGenInstruction *Instr = GetInstByName(*p, Insts, Records); in ComputeInstrsByEnum()
316 for (const auto &I : Insts) { in ComputeInstrsByEnum()
322 assert(InstrsByEnum.size() == Insts.size() && "Missing predefined instr"); in ComputeInstrsByEnum()
346 std::vector<Record*> Insts = Records.getAllDerivedDefinitions("Instruction"); in reverseBitsForLittleEndianEncoding() local
347 for (Record *R : Insts) { in reverseBitsForLittleEndianEncoding()