Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DError.h28 [[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 DRecord.h50 class RecordVal; variable
1543 class RecordVal {
1564 RecordVal(Init *N, RecTy *T, FieldKind K);
1565 RecordVal(Init *N, SMLoc Loc, RecTy *T, FieldKind K);
1626 inline raw_ostream &operator<<(raw_ostream &OS, const RecordVal &RV) {
1664 SmallVector<RecordVal, 0> Values;
1755 ArrayRef<RecordVal> getValues() const { return Values; } in getValues()
1774 const RecordVal *getValue(const Init *Name) const { in getValue()
1775 for (const RecordVal &Val : Values) in getValue()
1780 const RecordVal *getValue(StringRef Name) const { in getValue()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DVarLenCodeEmitterGen.h29 const RecordVal *TheDef;
42 explicit VarLenInst(const DagInit *DI, const RecordVal *TheDef);
H A DVarLenCodeEmitterGen.cpp127 VarLenInst::VarLenInst(const DagInit *DI, const RecordVal *TheDef) in VarLenInst()
237 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in run()
245 RecordVal *RV = EncodingDef->getValue("Inst"); in run()
252 RecordVal *RV = R->getValue("Inst"); in run()
H A DCodeGenInstruction.h337 const RecordVal *RV = TheDef->getValue("Inst"); in isVariableLengthEncoding()
H A DCodeGenRegisters.cpp58 if (const RecordVal *RV = R->getValue("SubRegRanges")) in CodeGenSubRegIndex()
704 RecordVal RV = Proto->getValues()[i]; in expand()
736 if (const RecordVal *DefRV = RegisterCl->getValue(Field)) in expand()
808 if (const RecordVal *RV = R->getValue("RegInfos")) in CodeGenRegisterClass()
H A DCodeGenInstruction.cpp504 } else if (RecordVal *Dep = R->getValue("DeprecatedFeatureMask")) { in CodeGenInstruction()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DError.cpp78 // This method takes a RecordVal and uses the source location
80 void PrintFatalNote(const RecordVal *RecVal, const Twine &Msg) { in PrintFatalNote()
117 // This method takes a RecordVal and uses the source location
119 void PrintError(const RecordVal *RecVal, const Twine &Msg) { in PrintError()
148 // This method takes a RecordVal and uses the source location
150 void PrintFatalError(const RecordVal *RecVal, const Twine &Msg) { in PrintFatalError()
H A DRecord.cpp2104 if (RecordVal *Field = Rec->getValue(FieldName)) in getFieldType()
2222 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType()
2273 for (const RecordVal &Val : Class->getValues()) in instantiate()
2666 RecordVal::RecordVal(Init *N, RecTy *T, FieldKind K) in RecordVal() function in RecordVal
2674 RecordVal::RecordVal(Init *N, SMLoc Loc, RecTy *T, FieldKind K) in RecordVal() function in RecordVal
2680 StringRef RecordVal::getName() const { in getName()
2684 std::string RecordVal::getPrintType() const { in getPrintType()
2699 bool RecordVal::setValue(Init *V) { in setValue()
2723 bool RecordVal::setValue(Init *V, SMLoc NewLoc) { in setValue()
2748 LLVM_DUMP_METHOD void RecordVal::dump() const { errs() << *this; } in dump()
[all …]
H A DDetailedRecordsBackend.cpp147 const RecordVal *Value = Rec->getValue(ArgName); in printTemplateArgs()
185 for (const RecordVal &Value : ValueList) in printFields()
H A DTGParser.cpp70 static bool checkBitsConcrete(Record &R, const RecordVal &RV) { in checkBitsConcrete()
90 for (const RecordVal &RV : R.getValues()) { in checkConcrete()
151 RecordVal *RV = Rec->getValue(ArgName); in getVar()
171 if (RecordVal *RV = CurRec->getValue(Name)) { in getVar()
210 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) { in AddValue()
214 if (RecordVal *ERV = CurRec->getValue(RV.getNameInit())) { in AddValue()
236 RecordVal *RV = CurRec->getValue(ValName); in SetValue()
304 for (const RecordVal &Field : SC->getValues()) in AddSubClass()
2144 ParseRec->addValue(RecordVal(A, Start->getType(), RecordVal::FK_Normal)); in ParseOperation()
2146 RecordVal(B, ListType->getElementType(), RecordVal::FK_Normal)); in ParseOperation()
[all …]
H A DJSONBackend.cpp144 for (const RecordVal &RV : Def.getValues()) { in run()
H A DTGParser.h227 bool AddValue(Record *TheRec, SMLoc Loc, const RecordVal &RV);
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp289 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in getInstructionCases()
355 for (const RecordVal &RV : EncodingDef->getValues()) { in addInstructionCasesForEncoding()
417 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in emitInstructionBaseValues()
493 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in run()
H A DCodeGenMapTable.cpp107 const RecordVal *Filter = MapRec->getValue("FilterClass"); in InstrMap()
233 RecordVal *RecVal = CurInstr->getValue(RowField); in buildRowInstrMap()
265 RecordVal *ColFieldName = CurInstr->getValue(ColFields->getElement(j)); in isKeyColInstr()
H A DSearchableTableEmitter.cpp201 parseSearchIndex(GenericTable &Table, const RecordVal *RecVal, StringRef Name,
599 GenericTable &Table, const RecordVal *KeyRecVal, StringRef Name, in parseSearchIndex()
778 RecordVal *FilterClassFieldVal = TableRec->getValue("FilterClassField"); in run()
785 const RecordVal *Filter = R->getValue(FilterClassField); in run()
861 for (const RecordVal &Field : Class->getValues()) { in run()
H A DDecoderEmitter.cpp239 const RecordVal *RV = def.getValue(str); in getBitsField()
470 const RecordVal *RV = EncodingDef->getValue("SoftFail"); in insnWithID()
1385 const RecordVal *RV = EncodingDef->getValue("SoftFail"); in emitSoftFailTableEntry()
1870 RecordVal *DecoderString = Record->getValue("DecoderMethod"); in findOperandDecoderMethod()
1896 RecordVal *HasCompleteDecoderVal = TypeRecord->getValue("hasCompleteDecoder"); in getOpInfo()
1911 const RecordVal *RV = Def.getValue("Inst"); in parseVarLenInstOperand()
1980 if (const RecordVal *EncodedValue = EncodingDef.getValue(OpName)) in addOneOperandFields()
2532 if (const RecordVal *RV = InstDef->getValue("EncodingInfos")) { in run()
H A DDFAEmitter.cpp321 RecordVal *SymbolV = R->getValue(A); in Transition()
H A DAsmMatcherEmitter.cpp979 const RecordVal *DepMask = TheDef->getValue("DeprecatedFeatureMask"); in initialize()
1204 const RecordVal *R = Rec->getValue("ParserMatchClass"); in getOperandClass()
H A DRegisterInfoEmitter.cpp450 const RecordVal *V = Reg->getValue("DwarfAlias"); in EmitRegMappingTables()