| /openbsd-src/gnu/llvm/llvm/include/llvm/TableGen/ |
| H A D | Error.h | 28 [[noreturn]] void PrintFatalNote(const RecordVal *RecVal, const Twine &Msg); 38 void PrintError(const RecordVal *RecVal, const Twine &Msg); 43 [[noreturn]] void PrintFatalError(const RecordVal *RecVal, const Twine &Msg);
|
| H A D | Record.h | 49 class RecordVal; variable 1489 class RecordVal { 1510 RecordVal(Init *N, RecTy *T, FieldKind K); 1511 RecordVal(Init *N, SMLoc Loc, RecTy *T, FieldKind K); 1572 inline raw_ostream &operator<<(raw_ostream &OS, const RecordVal &RV) { 1599 SmallVector<RecordVal, 0> Values; 1688 ArrayRef<RecordVal> getValues() const { return Values; } in getValues() 1706 const RecordVal *getValue(const Init *Name) const { in getValue() 1707 for (const RecordVal &Val : Values) in getValue() 1712 const RecordVal *getValue(StringRef Name) const { in getValue() [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | VarLenCodeEmitterGen.h | 29 const RecordVal *TheDef; 42 explicit VarLenInst(const DagInit *DI, const RecordVal *TheDef);
|
| H A D | VarLenCodeEmitterGen.cpp | 115 VarLenInst::VarLenInst(const DagInit *DI, const RecordVal *TheDef) in VarLenInst() 228 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in run() 234 RecordVal *RV = EncodingDef->getValue("Inst"); in run() 241 RecordVal *RV = R->getValue("Inst"); in run() 371 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in emitInstructionBaseValues() 419 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in getInstructionCase()
|
| H A D | CodeEmitterGen.cpp | 299 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in getInstructionCase() 330 for (const RecordVal &RV : R->getValues()) { in getInstructionCaseForEncoding() 342 for (const RecordVal &RV : EncodingDef->getValues()) { in getInstructionCaseForEncoding() 400 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in emitInstructionBaseValues() 448 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in run()
|
| H A D | DecoderEmitter.cpp | 210 const RecordVal *RV = def.getValue(str); in getBitsField() 441 const RecordVal *RV = in insnWithID() 1338 const RecordVal *RV = AllInstructions[Opc].EncodingDef->getValue("SoftFail"); in emitSoftFailTableEntry() 1818 RecordVal *DecoderString = Record->getValue("DecoderMethod"); in findOperandDecoderMethod() 1843 RecordVal *HasCompleteDecoderVal = TypeRecord->getValue("hasCompleteDecoder"); in getOpInfo() 1858 const RecordVal *RV = Def.getValue("Inst"); in parseVarLenInstOperand() 1928 if (const RecordVal *EncodedValue = EncodingDef.getValue(OpName)) in addOneOperandFields() 2039 const std::vector<RecordVal> &Vals = Def.getValues(); in populateInstruction() 2126 RecordVal *DecoderString = TypeRecord->getValue("DecoderMethod"); in populateInstruction() 2158 RecordVal *HasCompleteDecoderVal = in populateInstruction() [all …]
|
| H A D | CodeGenMapTable.cpp | 106 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 D | SearchableTableEmitter.cpp | 194 parseSearchIndex(GenericTable &Table, const RecordVal *RecVal, StringRef Name, 546 GenericTable &Table, const RecordVal *KeyRecVal, StringRef Name, in parseSearchIndex() 786 for (const RecordVal &Field : Class->getValues()) { in run()
|
| H A D | DFAEmitter.cpp | 322 RecordVal *SymbolV = R->getValue(A); in Transition()
|
| H A D | CodeGenRegisters.cpp | 682 RecordVal RV = Proto->getValues()[i]; in expand() 716 if (const RecordVal *DefRV = RegisterCl->getValue(Field)) in expand() 788 if (const RecordVal *RV = R->getValue("RegInfos")) in CodeGenRegisterClass()
|
| H A D | CodeGenInstruction.cpp | 506 } else if (RecordVal *Dep = R->getValue("DeprecatedFeatureMask")) { in CodeGenInstruction()
|
| H A D | AsmMatcherEmitter.cpp | 963 const RecordVal *DepMask = TheDef->getValue("DeprecatedFeatureMask"); in initialize() 1171 const RecordVal *R = Rec->getValue("ParserMatchClass"); in getOperandClass()
|
| H A D | RegisterInfoEmitter.cpp | 452 const RecordVal *V = Reg->getValue("DwarfAlias"); in EmitRegMappingTables()
|
| /openbsd-src/gnu/llvm/llvm/lib/TableGen/ |
| H A D | Error.cpp | 80 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 D | Record.cpp | 1827 if (RecordVal *Field = Rec->getValue(FieldName)) in getFieldType() 1992 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType() 2044 for (const RecordVal &Val : Class->getValues()) in instantiate() 2419 RecordVal::RecordVal(Init *N, RecTy *T, FieldKind K) in RecordVal() function in RecordVal 2427 RecordVal::RecordVal(Init *N, SMLoc Loc, RecTy *T, FieldKind K) in RecordVal() function in RecordVal 2433 StringRef RecordVal::getName() const { in getName() 2437 std::string RecordVal::getPrintType() const { in getPrintType() 2452 bool RecordVal::setValue(Init *V) { in setValue() 2476 bool RecordVal::setValue(Init *V, SMLoc NewLoc) { in setValue() 2501 LLVM_DUMP_METHOD void RecordVal::dump() const { errs() << *this; } in dump() [all …]
|
| H A D | TGParser.cpp | 71 static bool checkBitsConcrete(Record &R, const RecordVal &RV) { in checkBitsConcrete() 91 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() 874 if (RecordVal *RV = CurRec->getValue(Name)) { in ParseIDValue() 891 RecordVal *RV = TemplateRec->getValue(TemplateArgName); in ParseIDValue() 1708 ParseRec->addValue(RecordVal(A, Start->getType(), RecordVal::FK_Normal)); in ParseOperation() 1709 ParseRec->addValue(RecordVal(B, ListType->getElementType(), in ParseOperation() [all …]
|
| H A D | DetailedRecordsBackend.cpp | 147 const RecordVal *Value = Rec->getValue(ArgName); in printTemplateArgs() 185 for (const RecordVal &Value : ValueList) in printFields()
|
| H A D | JSONBackend.cpp | 144 for (const RecordVal &RV : Def.getValues()) { in run()
|
| H A D | TGParser.h | 203 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV);
|
| /openbsd-src/gnu/llvm/llvm/docs/TableGen/ |
| H A D | BackGuide.rst | 88 ``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 …]
|