Home
last modified time | relevance | path

Searched refs:FieldName (Results 1 – 25 of 37) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DRecord.cpp1606 RecTy *TypedInit::getFieldType(StringInit *FieldName) const { in getFieldType()
1609 if (RecordVal *Field = Rec->getValue(FieldName)) in getFieldType()
1785 RecTy *DefInit::getFieldType(StringInit *FieldName) const { in getFieldType()
1786 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType()
1943 return FieldInit::get(NewRec, FieldName)->Fold(R.getCurrentRecord()); in resolveReferences()
1953 FieldName->getAsUnquotedString() + "' of '" + in Fold()
1955 Init *FieldVal = Def->getValue(FieldName)->getValue(); in Fold()
1964 Init *FieldVal = DI->getDef()->getValue(FieldName)->getValue(); in isConcrete()
2457 SMLoc Record::getFieldLoc(StringRef FieldName) const { in getFieldLoc()
2458 const RecordVal *R = getValue(FieldName); in getFieldLoc()
[all …]
H A DSetTheory.cpp242 StringRef FieldName; member
244 FieldExpander(StringRef fn) : FieldName(fn) {} in FieldExpander()
247 ST.evaluate(Def->getValueInit(FieldName), Elts, Def->getLoc()); in expand()
278 void SetTheory::addFieldExpander(StringRef ClassName, StringRef FieldName) { in addFieldExpander() argument
279 addExpander(ClassName, std::make_unique<FieldExpander>(FieldName)); in addFieldExpander()
H A DTGParser.cpp2454 StringInit *FieldName = StringInit::get(Lex.getCurStrVal()); in ParseValue() local
2455 if (!Result->getFieldType(FieldName)) { in ParseValue()
2460 Result = FieldInit::get(Result, FieldName)->Fold(CurRec); in ParseValue()
2885 StringInit *FieldName = StringInit::get(Lex.getCurStrVal()); in ParseBodyItem() local
2896 RecordVal *Field = CurRec->getValue(FieldName); in ParseBodyItem()
2898 return TokError("Value '" + FieldName->getValue() + "' unknown!"); in ParseBodyItem()
2913 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp555 for (const auto &FieldName : Key) { in parseSearchIndex() local
556 const GenericField *Field = Table.getFieldByName(FieldName); in parseSearchIndex()
562 FieldName + "'"); in parseSearchIndex()
694 for (const auto &FieldName : Fields) { in run() local
695 Table->Fields.emplace_back(FieldName); // Construct a GenericField. in run()
697 if (auto TypeOfRecordVal = TableRec->getValue(("TypeOf_" + FieldName).str())) { in run()
701 "' has invalid 'TypeOf_" + FieldName + in run()
782 std::string FieldName = std::string(Field.getName()); in run() local
786 if (FieldName.find(':') != std::string::npos || in run()
787 FieldName == "SearchableFields" || FieldName == "EnumNameField" || in run()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
H A DTypeIndex.cpp92 void llvm::codeview::printTypeIndex(ScopedPrinter &Printer, StringRef FieldName, in printTypeIndex() argument
103 Printer.printHex(FieldName, TypeName, TI.getIndex()); in printTypeIndex()
105 Printer.printHex(FieldName, TI.getIndex()); in printTypeIndex()
H A DTypeDumpVisitor.cpp161 void TypeDumpVisitor::printTypeIndex(StringRef FieldName, TypeIndex TI) const { in printTypeIndex() argument
162 codeview::printTypeIndex(*W, FieldName, TI, TpiTypes); in printTypeIndex()
165 void TypeDumpVisitor::printItemIndex(StringRef FieldName, TypeIndex TI) const { in printItemIndex() argument
166 codeview::printTypeIndex(*W, FieldName, TI, getSourceTypes()); in printItemIndex()
H A DSymbolDumper.cpp54 void printTypeIndex(StringRef FieldName, TypeIndex TI);
99 void CVSymbolDumperImpl::printTypeIndex(StringRef FieldName, TypeIndex TI) { in printTypeIndex() argument
100 codeview::printTypeIndex(W, FieldName, TI, Types); in printTypeIndex()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/TableGen/
H A DRecord.h385 virtual RecTy *getFieldType(StringInit *FieldName) const { in getFieldType() argument
435 RecTy *getFieldType(StringInit *FieldName) const override;
1201 RecTy *getFieldType(StringInit *FieldName) const override;
1266 StringInit *FieldName; // Field we are accessing variable
1269 : TypedInit(IK_FieldInit, R->getFieldType(FN)), Rec(R), FieldName(FN) { in FieldInit()
1273 << ", got FieldName = " << *FieldName in FieldInit()
1291 StringInit *getFieldName() const { return FieldName; } in getFieldName()
1300 return Rec->getAsString() + "." + FieldName->getValue().str(); in getAsString()
1691 SMLoc getFieldLoc(StringRef FieldName) const;
1695 Init *getValueInit(StringRef FieldName) const;
[all …]
H A DSetTheory.h121 void addFieldExpander(StringRef ClassName, StringRef FieldName);
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/
H A Dppatomfwctrl.h33 #define GetIndexIntoMasterCmdTable(FieldName) \ argument
34 …(((char*)(&((struct atom_master_list_of_command_functions_v2_1*)0)->FieldName)-(char*)0)/sizeof(ui…
35 #define GetIndexIntoMasterDataTable(FieldName) \ argument
36 …(((char*)(&((struct atom_master_list_of_data_tables_v2_1*)0)->FieldName)-(char*)0)/sizeof(uint16_t…
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeDumpVisitor.h38 void printTypeIndex(StringRef FieldName, TypeIndex TI) const;
40 void printItemIndex(StringRef FieldName, TypeIndex TI) const;
H A DTypeIndex.h286 void printTypeIndex(ScopedPrinter &Printer, StringRef FieldName, TypeIndex TI,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DTFUtils.cpp89 const char *FieldName = "<invalid>"; in writeRawTensorsAsFeatureLists() local
96 FieldName = "int64_list"; in writeRawTensorsAsFeatureLists()
101 FieldName = "int64_list"; in writeRawTensorsAsFeatureLists()
107 FieldName = "float_list"; in writeRawTensorsAsFeatureLists()
125 OutFile << " feature: { " << FieldName << ": { value: "; in writeRawTensorsAsFeatureLists()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rc/
H A DResourceFileWriter.cpp52 const Twine &FieldName) { in checkNumberFits() argument
56 return createError(FieldName + " (" + Twine(Number) + ") does not fit in " + in checkNumberFits()
62 static Error checkNumberFits(uint32_t Number, const Twine &FieldName) { in checkNumberFits() argument
63 return checkNumberFits(Number, sizeof(FitType) * 8, FieldName); in checkNumberFits()
68 static Error checkSignedNumberFits(uint32_t Number, const Twine &FieldName, in checkSignedNumberFits() argument
73 return createError(FieldName + " (" + Twine(SignedNum) + in checkSignedNumberFits()
79 return createError(FieldName + " (" + Twine(SignedNum) + in checkSignedNumberFits()
85 static Error checkRCInt(RCInt Number, const Twine &FieldName) { in checkRCInt() argument
88 return checkNumberFits<uint16_t>(Number, FieldName); in checkRCInt()
91 static Error checkIntOrString(IntOrString Value, const Twine &FieldName) { in checkIntOrString() argument
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseInit.cpp168 const IdentifierInfo *FieldName = Tok.getIdentifierInfo(); in ParseInitializerWithPotentialDesignator() local
171 llvm::raw_svector_ostream(NewSyntax) << '.' << FieldName->getName() in ParseInitializerWithPotentialDesignator()
184 D.AddDesignator(Designator::getField(FieldName, SourceLocation(), NameLoc)); in ParseInitializerWithPotentialDesignator()
/netbsd-src/sys/external/bsd/acpica/dist/common/
H A Ddmtbinfo3.c773 #define ACPI_DM_GENERIC_ENTRY(FieldType, FieldName) \
774 {{FieldType, 0, FieldName, 0}, ACPI_DMT_TERMINATOR}
756 ACPI_DM_GENERIC_ENTRY(FieldType,FieldName) global() argument
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DJSON.cpp325 llvm::StringRef FieldName = S.field(); in printErrorContext() local
327 if (!O || !O->get(FieldName)) in printErrorContext()
332 if (FieldName.equals(KV->first)) in printErrorContext()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/bios/
H A Damdgpu_command_table2.c51 #define GET_INDEX_INTO_MASTER_TABLE(MasterOrData, FieldName)\ argument
54 ->FieldName)-(char *)0)/sizeof(uint16_t))
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp117 void printDataDirectory(uint32_t Index, const std::string &FieldName);
135 void printTypeIndex(StringRef FieldName, TypeIndex TI) { in printTypeIndex() argument
137 codeview::printTypeIndex(Writer, FieldName, TI, Types); in printTypeIndex()
608 const std::string &FieldName) { in printDataDirectory() argument
612 W.printHex(FieldName + "RVA", Data->RelativeVirtualAddress); in printDataDirectory()
613 W.printHex(FieldName + "Size", Data->Size); in printDataDirectory()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DWasmObjectFile.cpp780 StringRef FieldName = readString(Ctx); in parseProducersSection() local
781 if (!FieldsSeen.insert(FieldName).second) in parseProducersSection()
786 if (FieldName == "language") { in parseProducersSection()
788 } else if (FieldName == "processed-by") { in parseProducersSection()
790 } else if (FieldName == "sdk") { in parseProducersSection()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3418 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
3419 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
3437 QT.getAsStringInternal(FieldName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
3441 S += FieldName + ";\n"; in SynthesizeBlockImpl()
3447 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
3448 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
3451 RewriteByRefString(TypeString, FieldName, (*I)); in SynthesizeBlockImpl()
3453 FieldName = TypeString + FieldName; in SynthesizeBlockImpl()
3457 S += FieldName + "; // by ref\n"; in SynthesizeBlockImpl()
H A DRewriteModernObjC.cpp4207 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
4208 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
4226 QT.getAsStringInternal(FieldName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
4230 S += FieldName + ";\n"; in SynthesizeBlockImpl()
4236 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
4237 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
4240 RewriteByRefString(TypeString, FieldName, (*I)); in SynthesizeBlockImpl()
4242 FieldName = TypeString + FieldName; in SynthesizeBlockImpl()
4246 S += FieldName + "; // by ref\n"; in SynthesizeBlockImpl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2777 StringRef FieldName = Field->getName(); in CreateTypeDefinition() local
2780 if (FieldName.empty()) in CreateTypeDefinition()
2846 FieldTy = DBuilder.createObjCIVar(FieldName, FieldDefUnit, FieldLine, in CreateTypeDefinition()
4336 StringRef FieldName = Field->getName(); in EmitDeclare() local
4339 if (FieldName.empty() && !isa<RecordType>(Field->getType())) in EmitDeclare()
4345 Scope, FieldName, Unit, Line, FieldTy, CGM.getLangOpts().Optimize, in EmitDeclare()
4747 StringRef FieldName = Field->getName(); in CollectAnonRecordDecls() local
4750 if (FieldName.empty()) { in CollectAnonRecordDecls()
4758 DContext, FieldName, LinkageName, Unit, LineNo, FieldTy, in CollectAnonRecordDecls()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXType.cpp1023 DeclarationName FieldName(II); in clang_Type_getOffsetOf() local
1028 RecordDecl::lookup_result Res = RD->lookup(FieldName); in clang_Type_getOffsetOf()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DMasmParser.cpp137 FieldInfo &addField(StringRef FieldName, FieldType FT,
341 FieldInfo &StructInfo::addField(StringRef FieldName, FieldType FT, in addField() argument
343 if (!FieldName.empty()) in addField()
344 FieldsByName[FieldName.lower()] = Fields.size(); in addField()
6976 const StringRef FieldName = Split.first, FieldMember = Split.second; in lookUpField() local
6978 auto StructIt = Structs.find(FieldName.lower()); in lookUpField()
6982 auto FieldIt = Structure.FieldsByName.find(FieldName.lower()); in lookUpField()

12