Lines Matching defs:std

65   std::vector<EncodingField> Fields;
66 std::string Decoder;
70 OperandInfo(std::string D, bool HCD)
71 : Decoder(std::move(D)), HasCompleteDecoder(HCD), InitValue(0) {}
79 typedef std::vector<EncodingField>::const_iterator const_iterator;
85 typedef std::vector<uint8_t> DecoderTable;
87 typedef std::vector<DecoderFixup> FixupList;
88 typedef std::vector<FixupList> FixupScopeList;
126 std::vector<EncodingAndInst> NumberedEncodings;
131 FixedLenDecoderEmitter(RecordKeeper &R, std::string PredicateNamespace,
132 std::string GPrefix = "if (",
133 std::string GPostfix = " == MCDisassembler::Fail)",
134 std::string ROK = "MCDisassembler::Success",
135 std::string RFail = "MCDisassembler::Fail",
136 std::string L = "")
137 : RK(R), Target(R), PredicateNamespace(std::move(PredicateNamespace)),
138 GuardPrefix(std::move(GPrefix)), GuardPostfix(std::move(GPostfix)),
139 ReturnOK(std::move(ROK)), ReturnFail(std::move(RFail)),
140 Locals(std::move(L)) {}
160 std::string PredicateNamespace;
161 std::string GuardPrefix, GuardPostfix;
162 std::string ReturnOK, ReturnFail;
163 std::string Locals;
225 typedef std::vector<bit_value_t> insn_t;
275 std::map<uint64_t, std::vector<EncodingIDAndOpcode>>
279 std::vector<EncodingIDAndOpcode> VariableInstructions;
282 std::map<unsigned, std::unique_ptr<const FilterChooser>> FilterChooserMap;
367 const std::vector<EncodingIDAndOpcode> &Opcodes;
370 const std::map<unsigned, std::vector<OperandInfo>> &Operands;
373 std::vector<Filter> Filters;
377 std::vector<bit_value_t> FilterBitValues;
393 const std::vector<EncodingIDAndOpcode> &IDs,
394 const std::map<unsigned, std::vector<OperandInfo>> &Ops,
403 const std::vector<EncodingIDAndOpcode> &IDs,
404 const std::map<unsigned, std::vector<OperandInfo>> &Ops,
405 const std::vector<bit_value_t> &ParentFilterBitValues,
459 const std::vector<bit_value_t> & filter) const;
478 unsigned getIslands(std::vector<unsigned> &StartBits,
479 std::vector<unsigned> &EndBits,
480 std::vector<uint64_t> &FieldVals,
547 FilteredInstructions(std::move(f.FilteredInstructions)),
548 VariableInstructions(std::move(f.VariableInstructions)),
549 FilterChooserMap(std::move(f.FilterChooserMap)), NumFiltered(f.NumFiltered),
596 std::vector<bit_value_t> BitValueArray(Owner->FilterBitValues);
606 std::make_pair(-1U, std::make_unique<FilterChooser>(
631 FilterChooserMap.insert(std::make_pair(
632 Inst.first, std::make_unique<FilterChooser>(
1012 const std::vector<bit_value_t> &filter) const {
1048 unsigned FilterChooser::getIslands(std::vector<unsigned> &StartBits,
1049 std::vector<unsigned> &EndBits,
1050 std::vector<uint64_t> &FieldVals,
1107 const std::string &Decoder = OpInfo.Decoder;
1186 const std::string &PredicateNamespace) {
1212 std::pair<StringRef, StringRef> pairs = P.split(',');
1352 std::vector<unsigned> StartBits;
1353 std::vector<unsigned> EndBits;
1354 std::vector<uint64_t> FieldVals;
1488 std::vector<unsigned> StartBits;
1489 std::vector<unsigned> EndBits;
1490 std::vector<uint64_t> FieldVals;
1523 std::vector<bitAttr_t> bitAttrs;
1766 static std::string findOperandDecoderMethod(TypedInit *TI) {
1767 std::string Decoder;
1796 std::map<unsigned, std::vector<OperandInfo>> &Operands) {
1805 std::vector<OperandInfo> InsnOperands;
1824 std::vector<std::pair<Init*, StringRef>> InOutOperands;
1828 InOutOperands.push_back(std::make_pair(Out->getArg(i),
1831 InOutOperands.push_back(std::make_pair(In->getArg(i),
1836 std::map<std::string, std::string> TiedNames;
1840 std::pair<unsigned, unsigned> SO =
1847 std::map<std::string, std::vector<OperandInfo>> NumberedInsnOperands;
1848 std::set<std::string> NumberedInsnOperandsNoTie;
1851 const std::vector<RecordVal> &Vals = Def.getValues();
1854 std::set<unsigned> NamedOpIndices;
1924 std::pair<unsigned, unsigned> SO =
1926 const std::string &Name = CGI.Operands[SO.first].Name;
1932 std::string Decoder;
2009 std::pair<unsigned, unsigned> SO =
2024 std::string Decoder = findOperandDecoderMethod(TI);
2111 const std::string &OperandName = Info.Name;
2151 "std::true_type) {\n"
2168 "std::false_type) {\n"
2180 "std::is_integral<InsnType>());\n"
2387 std::set<StringRef> HwModeNames;
2437 std::map<std::pair<std::string, unsigned>, std::vector<EncodingIDAndOpcode>>
2439 std::map<unsigned, std::vector<OperandInfo>> Operands;
2462 std::string DecoderNamespace =
2466 std::string("_") + NumberedEncodings[i].HwModeName.str();
2467 OpcMap[std::make_pair(DecoderNamespace, Size)].emplace_back(
2520 const std::string &PredicateNamespace,
2521 const std::string &GPrefix,
2522 const std::string &GPostfix, const std::string &ROK,
2523 const std::string &RFail, const std::string &L) {