Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/llvm/lib/TableGen/
H A DRecord.cpp1824 RecTy *TypedInit::getFieldType(StringInit *FieldName) const { in getFieldType()
1827 if (RecordVal *Field = Rec->getValue(FieldName)) in getFieldType()
1991 RecTy *DefInit::getFieldType(StringInit *FieldName) const { in getFieldType()
1992 if (const RecordVal *RV = Def->getValue(FieldName)) in getFieldType()
2149 return FieldInit::get(NewRec, FieldName)->Fold(R.getCurrentRecord()); in resolveReferences()
2159 FieldName->getAsUnquotedString() + "' of '" + in Fold()
2161 Init *FieldVal = Def->getValue(FieldName)->getValue(); in Fold()
2170 Init *FieldVal = DI->getDef()->getValue(FieldName)->getValue(); in isConcrete()
2678 SMLoc Record::getFieldLoc(StringRef FieldName) const { in getFieldLoc()
2679 const RecordVal *R = getValue(FieldName); in getFieldLoc()
[all …]
H A DSetTheory.cpp241 StringRef FieldName; member
243 FieldExpander(StringRef fn) : FieldName(fn) {} in FieldExpander()
246 ST.evaluate(Def->getValueInit(FieldName), Elts, Def->getLoc()); in expand()
277 void SetTheory::addFieldExpander(StringRef ClassName, StringRef FieldName) { in addFieldExpander() argument
278 addExpander(ClassName, std::make_unique<FieldExpander>(FieldName)); in addFieldExpander()
H A DTGParser.cpp2559 StringInit *FieldName = StringInit::get(Records, Lex.getCurStrVal()); in ParseValue() local
2560 if (!Result->getFieldType(FieldName)) { in ParseValue()
2569 DI->getDef()->getValue(FieldName)->addReferenceLoc(FieldNameLoc); in ParseValue()
2573 if (auto *RV = R->getValue(FieldName)) in ParseValue()
2579 Result = FieldInit::get(Result, FieldName)->Fold(CurRec); in ParseValue()
3003 StringInit *FieldName = StringInit::get(Records, Lex.getCurStrVal()); in ParseBodyItem() local
3014 RecordVal *Field = CurRec->getValue(FieldName); in ParseBodyItem()
3016 return TokError("Value '" + FieldName->getValue() + "' unknown!"); in ParseBodyItem()
3031 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DTypeIndex.cpp93 void llvm::codeview::printTypeIndex(ScopedPrinter &Printer, StringRef FieldName, in printTypeIndex() argument
104 Printer.printHex(FieldName, TypeName, TI.getIndex()); in printTypeIndex()
106 Printer.printHex(FieldName, TI.getIndex()); in printTypeIndex()
H A DTypeDumpVisitor.cpp162 void TypeDumpVisitor::printTypeIndex(StringRef FieldName, TypeIndex TI) const { in printTypeIndex() argument
163 codeview::printTypeIndex(*W, FieldName, TI, TpiTypes); in printTypeIndex()
166 void TypeDumpVisitor::printItemIndex(StringRef FieldName, TypeIndex TI) const { in printItemIndex() argument
167 codeview::printTypeIndex(*W, FieldName, TI, getSourceTypes()); in printItemIndex()
H A DSymbolDumper.cpp52 void printTypeIndex(StringRef FieldName, TypeIndex TI);
97 void CVSymbolDumperImpl::printTypeIndex(StringRef FieldName, TypeIndex TI) { in printTypeIndex() argument
98 codeview::printTypeIndex(W, FieldName, TI, Types); in printTypeIndex()
/openbsd-src/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dppatomfwctrl.h31 #define GetIndexIntoMasterCmdTable(FieldName) \ argument
32 (offsetof(struct atom_master_list_of_command_functions_v2_1, FieldName) / sizeof(uint16_t))
33 #define GetIndexIntoMasterDataTable(FieldName) \ argument
34 (offsetof(struct atom_master_list_of_data_tables_v2_1, FieldName) / sizeof(uint16_t))
/openbsd-src/gnu/llvm/llvm/utils/TableGen/
H A DSearchableTableEmitter.cpp553 for (const auto &FieldName : Key) { in parseSearchIndex() local
554 const GenericField *Field = Table.getFieldByName(FieldName); in parseSearchIndex()
560 FieldName + "'"); in parseSearchIndex()
699 for (const auto &FieldName : Fields) { in run() local
700 Table->Fields.emplace_back(FieldName); // Construct a GenericField. in run()
702 if (auto TypeOfRecordVal = TableRec->getValue(("TypeOf_" + FieldName).str())) { in run()
706 "' has invalid 'TypeOf_" + FieldName + in run()
787 std::string FieldName = std::string(Field.getName()); in run() local
791 if (FieldName.find(':') != std::string::npos || in run()
792 FieldName == "SearchableFields" || FieldName == "EnumNameField" || in run()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/TableGen/
H A DRecord.h400 virtual RecTy *getFieldType(StringInit *FieldName) const { in getFieldType() argument
453 RecTy *getFieldType(StringInit *FieldName) const override;
1289 RecTy *getFieldType(StringInit *FieldName) const override;
1353 StringInit *FieldName; // Field we are accessing variable
1356 : TypedInit(IK_FieldInit, R->getFieldType(FN)), Rec(R), FieldName(FN) { in FieldInit()
1360 << ", got FieldName = " << *FieldName in FieldInit()
1378 StringInit *getFieldName() const { return FieldName; } in getFieldName()
1387 return Rec->getAsString() + "." + FieldName->getValue().str(); in getAsString()
1813 SMLoc getFieldLoc(StringRef FieldName) const;
1817 Init *getValueInit(StringRef FieldName) const;
[all …]
H A DSetTheory.h122 void addFieldExpander(StringRef ClassName, StringRef FieldName);
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeDumpVisitor.h40 void printTypeIndex(StringRef FieldName, TypeIndex TI) const;
42 void printItemIndex(StringRef FieldName, TypeIndex TI) const;
H A DTypeIndex.h287 void printTypeIndex(ScopedPrinter &Printer, StringRef FieldName, TypeIndex TI,
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/
H A DEHFrameSupportImpl.h95 Block &InBlock, const char *FieldName);
101 size_t PointerFieldOffset, const char *FieldName);
H A DEHFrameSupport.cpp461 const char *FieldName) { in readPointerEncoding() argument
493 FieldName + "in CFI record at " + in readPointerEncoding()
525 size_t PointerFieldOffset, const char *FieldName) { in getOrCreateEncodedPointerEdge() argument
539 << FieldName << " at " << EdgeI->second.Target->getAddress(); in getOrCreateEncodedPointerEdge()
601 << FieldName << " at " << TargetSym->getAddress(); in getOrCreateEncodedPointerEdge()
/openbsd-src/gnu/llvm/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 …]
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Object/
H A DArchive.cpp173 getArchiveMemberDecField(Twine FieldName, const StringRef RawField, in getArchiveMemberDecField() argument
179 return malformedError("characters in " + FieldName + in getArchiveMemberDecField()
191 getArchiveMemberOctField(Twine FieldName, const StringRef RawField, in getArchiveMemberOctField() argument
197 return malformedError("characters in " + FieldName + in getArchiveMemberOctField()
H A DWasmObjectFile.cpp852 StringRef FieldName = readString(Ctx); in parseProducersSection() local
853 if (!FieldsSeen.insert(FieldName).second) in parseProducersSection()
858 if (FieldName == "language") { in parseProducersSection()
860 } else if (FieldName == "processed-by") { in parseProducersSection()
862 } else if (FieldName == "sdk") { in parseProducersSection()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DJSON.cpp330 llvm::StringRef FieldName = S.field(); in printErrorContext() local
332 if (!O || !O->get(FieldName)) in printErrorContext()
337 if (FieldName.equals(KV->first)) in printErrorContext()
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/
H A DCOFFDumper.cpp118 void printDataDirectory(uint32_t Index, const std::string &FieldName);
136 void printTypeIndex(StringRef FieldName, TypeIndex TI) { in printTypeIndex() argument
138 codeview::printTypeIndex(Writer, FieldName, TI, Types); in printTypeIndex()
655 const std::string &FieldName) { in printDataDirectory() argument
659 W.printHex(FieldName + "RVA", Data->RelativeVirtualAddress); in printDataDirectory()
660 W.printHex(FieldName + "Size", Data->Size); in printDataDirectory()
/openbsd-src/sys/dev/pci/drm/amd/display/dc/bios/
H A Dcommand_table2.c46 #define GET_INDEX_INTO_MASTER_TABLE(MasterOrData, FieldName)\ argument
47 …(offsetof(struct atom_master_list_of_##MasterOrData##_functions_v2_1, FieldName) / sizeof(uint16_t…
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3406 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
3407 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
3425 QT.getAsStringInternal(FieldName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
3429 S += FieldName + ";\n"; in SynthesizeBlockImpl()
3435 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
3436 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
3439 RewriteByRefString(TypeString, FieldName, (*I)); in SynthesizeBlockImpl()
3441 FieldName = TypeString + FieldName; in SynthesizeBlockImpl()
3445 S += FieldName + "; // by ref\n"; in SynthesizeBlockImpl()
H A DRewriteModernObjC.cpp4197 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
4198 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
4216 QT.getAsStringInternal(FieldName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
4220 S += FieldName + ";\n"; in SynthesizeBlockImpl()
4226 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
4227 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
4230 RewriteByRefString(TypeString, FieldName, (*I)); in SynthesizeBlockImpl()
4232 FieldName = TypeString + FieldName; in SynthesizeBlockImpl()
4236 S += FieldName + "; // by ref\n"; in SynthesizeBlockImpl()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2899 StringRef FieldName = Field->getName(); in CreateTypeDefinition() local
2902 if (FieldName.empty()) in CreateTypeDefinition()
2971 FieldTy = DBuilder.createObjCIVar(FieldName, FieldDefUnit, FieldLine, in CreateTypeDefinition()
4538 StringRef FieldName = Field->getName(); in EmitDeclare() local
4541 if (FieldName.empty() && !isa<RecordType>(Field->getType())) in EmitDeclare()
4547 Scope, FieldName, Unit, Line, FieldTy, CGM.getLangOpts().Optimize, in EmitDeclare()
5042 StringRef FieldName = Field->getName(); in CollectAnonRecordDecls() local
5045 if (FieldName.empty()) { in CollectAnonRecordDecls()
5053 DContext, FieldName, LinkageName, Unit, LineNo, FieldTy, in CollectAnonRecordDecls()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCXType.cpp1044 DeclarationName FieldName(II); in clang_Type_getOffsetOf() local
1049 RecordDecl::lookup_result Res = RD->lookup(FieldName); in clang_Type_getOffsetOf()

12