| /openbsd-src/gnu/llvm/llvm/lib/TableGen/ |
| H A D | Record.cpp | 1824 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 D | SetTheory.cpp | 241 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 D | TGParser.cpp | 2559 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 D | TypeIndex.cpp | 93 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 D | TypeDumpVisitor.cpp | 162 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 D | SymbolDumper.cpp | 52 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 D | ppatomfwctrl.h | 31 #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 D | SearchableTableEmitter.cpp | 553 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 D | Record.h | 400 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 D | SetTheory.h | 122 void addFieldExpander(StringRef ClassName, StringRef FieldName);
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeDumpVisitor.h | 40 void printTypeIndex(StringRef FieldName, TypeIndex TI) const; 42 void printItemIndex(StringRef FieldName, TypeIndex TI) const;
|
| H A D | TypeIndex.h | 287 void printTypeIndex(ScopedPrinter &Printer, StringRef FieldName, TypeIndex TI,
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | EHFrameSupportImpl.h | 95 Block &InBlock, const char *FieldName); 101 size_t PointerFieldOffset, const char *FieldName);
|
| H A D | EHFrameSupport.cpp | 461 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 D | ResourceFileWriter.cpp | 52 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 D | ParseInit.cpp | 168 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 D | Archive.cpp | 173 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 D | WasmObjectFile.cpp | 852 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 D | JSON.cpp | 330 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 D | COFFDumper.cpp | 118 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 D | command_table2.c | 46 #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 D | RewriteObjC.cpp | 3406 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 D | RewriteModernObjC.cpp | 4197 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 D | CGDebugInfo.cpp | 2899 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 D | CXType.cpp | 1044 DeclarationName FieldName(II); in clang_Type_getOffsetOf() local 1049 RecordDecl::lookup_result Res = RD->lookup(FieldName); in clang_Type_getOffsetOf()
|