Home
last modified time | relevance | path

Searched refs:RecordVal (Results 1 – 18 of 18) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
H A DError.h30 LLVM_ATTRIBUTE_NORETURN void PrintFatalNote(const RecordVal *RecVal,
41 void PrintError(const RecordVal *RecVal, const Twine &Msg);
48 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(const RecordVal *RecVal,
H A DRecord.h47 class RecordVal; variable
1402 class RecordVal {
1419 RecordVal(Init *N, RecTy *T, FieldKind K);
1420 RecordVal(Init *N, SMLoc Loc, RecTy *T, FieldKind K);
1467 inline raw_ostream &operator<<(raw_ostream &OS, const RecordVal &RV) {
1493 SmallVector<RecordVal, 0> Values;
1567 ArrayRef<RecordVal> getValues() const { return Values; } in getValues()
1585 const RecordVal *getValue(const Init *Name) const { in getValue()
1586 for (const RecordVal &Val : Values) in getValue()
1591 const RecordVal *getValue(StringRef Name) const { in getValue()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DError.cpp80 void PrintFatalNote(const RecordVal *RecVal, const Twine &Msg) { in PrintFatalNote()
119 void PrintError(const RecordVal *RecVal, const Twine &Msg) { in PrintError()
150 void PrintFatalError(const RecordVal *RecVal, const Twine &Msg) { in PrintFatalError()
H A DRecord.cpp1609 if (RecordVal *Field = Rec->getValue(FieldName)) in getFieldType()
1786 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType()
1835 for (const RecordVal &Val : Class->getValues()) in instantiate()
2210 RecordVal::RecordVal(Init *N, RecTy *T, FieldKind K) in RecordVal() function in RecordVal
2218 RecordVal::RecordVal(Init *N, SMLoc Loc, RecTy *T, FieldKind K) in RecordVal() function in RecordVal
2224 StringRef RecordVal::getName() const { in getName()
2228 std::string RecordVal::getPrintType() const { in getPrintType()
2243 bool RecordVal::setValue(Init *V) { in setValue()
2267 bool RecordVal::setValue(Init *V, SMLoc NewLoc) { in setValue()
2292 LLVM_DUMP_METHOD void RecordVal::dump() const { errs() << *this; } in dump()
[all …]
H A DTGParser.cpp73 static bool checkBitsConcrete(Record &R, const RecordVal &RV) { in checkBitsConcrete()
93 for (const RecordVal &RV : R.getValues()) { in checkConcrete()
142 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) { in AddValue()
146 if (RecordVal *ERV = CurRec->getValue(RV.getNameInit())) { in AddValue()
168 RecordVal *RV = CurRec->getValue(ValName); in SetValue()
236 for (const RecordVal &Field : SC->getValues()) { in AddSubClass()
863 if (const RecordVal *RV = CurRec->getValue(Name)) in ParseIDValue()
877 const RecordVal *RV = TemplateRec->getValue(TemplateArgName); in ParseIDValue()
1613 ParseRec->addValue(RecordVal(A, Start->getType(), RecordVal::FK_Normal)); in ParseOperation()
1614 ParseRec->addValue(RecordVal(B, ListType->getElementType(), in ParseOperation()
[all …]
H A DDetailedRecordsBackend.cpp148 const RecordVal *Value = Rec->getValue(ArgName); in printTemplateArgs()
186 for (const RecordVal &Value : ValueList) in printFields()
H A DJSONBackend.cpp144 for (const RecordVal &RV : Def.getValues()) { in run()
H A DTGParser.h197 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV);
/netbsd-src/external/apache2/llvm/dist/llvm/docs/TableGen/
H A DBackGuide.rst88 ``RecordVal`` instances (see `RecordVal`_), each of which contains both the
126 ``RecordVal``
129 Each field of a record is stored in an instance of the ``RecordVal`` class.
131 ``RecordVal`` instance contains the name of the field, stored in an ``Init``
135 In addition to those primary members, the ``RecordVal`` has other data members.
142 The ``RecordVal`` class provides some useful functions.
155 A ``RecordVal`` instance can be printed to an output stream with the ``<<``
247 ``RecordVal`` class, which represents record fields, both their names and
576 for (const RecordVal &Field : SomeRec->getValues()) {
580 You will recall that ``RecordVal`` is the class whose instances contain
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp269 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in getInstructionCase()
300 for (const RecordVal &RV : R->getValues()) { in getInstructionCaseForEncoding()
311 for (const RecordVal &RV : EncodingDef->getValues()) { in getInstructionCaseForEncoding()
367 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in emitInstructionBaseValues()
409 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in run()
H A DCodeGenMapTable.cpp106 const RecordVal *Filter = MapRec->getValue("FilterClass"); in InstrMap()
235 RecordVal *RecVal = CurInstr->getValue(RowField); in buildRowInstrMap()
266 RecordVal *ColFieldName = CurInstr->getValue(ColFields->getElement(j)); in isKeyColInstr()
H A DFixedLenDecoderEmitter.cpp1793 RecordVal *DecoderString = Record->getValue("DecoderMethod"); in findOperandDecoderMethod()
1876 const std::vector<RecordVal> &Vals = Def.getValues(); in populateInstruction()
1960 RecordVal *DecoderString = TypeRecord->getValue("DecoderMethod"); in populateInstruction()
1993 RecordVal *HasCompleteDecoderVal = in populateInstruction()
2053 RecordVal *HasCompleteDecoderVal = in populateInstruction()
2064 if (const RecordVal *EncodedValue = EncodingDef.getValue(Op.second)) in populateInstruction()
2427 if (const RecordVal *RV = in run()
2445 if (const RecordVal *RV = in run()
H A DSearchableTableEmitter.cpp196 parseSearchIndex(GenericTable &Table, const RecordVal *RecVal, StringRef Name,
548 GenericTable &Table, const RecordVal *KeyRecVal, StringRef Name, in parseSearchIndex()
781 for (const RecordVal &Field : Class->getValues()) { in run()
H A DDFAEmitter.cpp342 RecordVal *SymbolV = R->getValue(A); in Transition()
H A DCodeGenRegisters.cpp678 RecordVal RV = Proto->getValues()[i]; in expand()
712 if (const RecordVal *DefRV = RegisterCl->getValue(Field)) in expand()
784 if (const RecordVal *RV = R->getValue("RegInfos")) in CodeGenRegisterClass()
H A DCodeGenInstruction.cpp438 } else if (RecordVal *Dep = R->getValue("DeprecatedFeatureMask")) { in CodeGenInstruction()
H A DAsmMatcherEmitter.cpp952 const RecordVal *DepMask = TheDef->getValue("DeprecatedFeatureMask"); in initialize()
1160 const RecordVal *R = Rec->getValue("ParserMatchClass"); in getOperandClass()
H A DRegisterInfoEmitter.cpp452 const RecordVal *V = Reg->getValue("DwarfAlias"); in EmitRegMappingTables()