Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp2457 const RecordVal *R = getValue(FieldName); in getFieldLoc()
2465 const RecordVal *R = getValue(FieldName); in getValueInit()
2482 const RecordVal *R = getValue(FieldName); in getValueAsOptionalString()
2497 const RecordVal *R = getValue(FieldName); in getValueAsBitsInit()
2509 const RecordVal *R = getValue(FieldName); in getValueAsListInit()
2535 const RecordVal *R = getValue(FieldName); in getValueAsInt()
2543 FieldName + in getValueAsInt()
2581 const RecordVal *R = getValue(FieldName); in getValueAsDef()
2593 const RecordVal *R = getValue(FieldName); in getValueAsOptionalDef()
2608 const RecordVal *R = getValue(FieldName); in getValueAsBit()
[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()
2882 StringInit *FieldName = StringInit::get(Lex.getCurStrVal()); in ParseBodyItem() local
2893 RecordVal *Field = CurRec->getValue(FieldName); in ParseBodyItem()
2895 return TokError("Value '" + FieldName->getValue() + "' unknown!"); in ParseBodyItem()
2910 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
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()
788 FieldName == "EnumValueField") in run()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h1266 StringInit *FieldName; // Field we are accessing variable
1273 << ", got FieldName = " << *FieldName in FieldInit()
1291 StringInit *getFieldName() const { return FieldName; } in getFieldName()
1691 SMLoc getFieldLoc(StringRef FieldName) const;
1695 Init *getValueInit(StringRef FieldName) const;
1698 bool isValueUnset(StringRef FieldName) const { in isValueUnset() argument
1699 return isa<UnsetInit>(getValueInit(FieldName)); in isValueUnset()
1740 Record *getValueAsDef(StringRef FieldName) const;
1751 bool getValueAsBit(StringRef FieldName) const;
1761 int64_t getValueAsInt(StringRef FieldName) const;
[all …]
H A DSetTheory.h121 void addFieldExpander(StringRef ClassName, StringRef FieldName);
/freebsd-13.1/contrib/llvm-project/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,
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/stand/efi/libefi/
H A Defihttp.c476 headers[0].FieldName = (CHAR8 *)"Host"; in _efihttp_fs_open()
478 headers[1].FieldName = (CHAR8 *)"Connection"; in _efihttp_fs_open()
480 headers[2].FieldName = (CHAR8 *)"Accept"; in _efihttp_fs_open()
550 if (strcasecmp((const char *)message.Headers[i].FieldName, in _efihttp_fs_open()
554 else if (strcasecmp((const char *)message.Headers[i].FieldName, in _efihttp_fs_open()
/freebsd-13.1/stand/efi/include/Protocol/
H A DHttp.h222 CHAR8 *FieldName; member
/freebsd-13.1/sys/contrib/dev/acpica/common/
H A Ddmtbinfo3.c746 #define ACPI_DM_GENERIC_ENTRY(FieldType, FieldName) \ argument
747 {{FieldType, 0, FieldName, 0}, ACPI_DMT_TERMINATOR}
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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.cpp4196 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
4197 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
4215 QT.getAsStringInternal(FieldName, Context->getPrintingPolicy()); in SynthesizeBlockImpl()
4219 S += FieldName + ";\n"; in SynthesizeBlockImpl()
4225 std::string FieldName = (*I)->getNameAsString(); in SynthesizeBlockImpl() local
4226 std::string ArgName = "_" + FieldName; in SynthesizeBlockImpl()
4229 RewriteByRefString(TypeString, FieldName, (*I)); in SynthesizeBlockImpl()
4231 FieldName = TypeString + FieldName; in SynthesizeBlockImpl()
4235 S += FieldName + "; // by ref\n"; in SynthesizeBlockImpl()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.cpp2758 StringRef FieldName = Field->getName(); in CreateTypeDefinition() local
2761 if (FieldName.empty()) in CreateTypeDefinition()
2827 FieldTy = DBuilder.createObjCIVar(FieldName, FieldDefUnit, FieldLine, in CreateTypeDefinition()
4314 StringRef FieldName = Field->getName(); in EmitDeclare() local
4317 if (FieldName.empty() && !isa<RecordType>(Field->getType())) in EmitDeclare()
4323 Scope, FieldName, Unit, Line, FieldTy, CGM.getLangOpts().Optimize, in EmitDeclare()
4725 StringRef FieldName = Field->getName(); in CollectAnonRecordDecls() local
4728 if (FieldName.empty()) { in CollectAnonRecordDecls()
4736 DContext, FieldName, LinkageName, Unit, LineNo, FieldTy, in CollectAnonRecordDecls()
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DMasmParser.cpp142 FieldInfo &addField(StringRef FieldName, FieldType FT,
346 FieldInfo &StructInfo::addField(StringRef FieldName, FieldType FT, in addField() argument
348 if (!FieldName.empty()) in addField()
349 FieldsByName[FieldName.lower()] = Fields.size(); in addField()
7323 const StringRef FieldName = Split.first, FieldMember = Split.second; in lookUpField() local
7325 auto StructIt = Structs.find(FieldName.lower()); in lookUpField()
7329 auto FieldIt = Structure.FieldsByName.find(FieldName.lower()); in lookUpField()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp2434 enum FieldName { enum
2450 FieldName compare(const ExtAddrMode &other) { in compare()
2485 return static_cast<FieldName>(Result); in compare()
2498 Value *GetFieldAsValue(FieldName Field, Type *IntPtrTy) { in GetFieldAsValue()
2513 void SetCombinedField(FieldName Field, Value *V, in SetCombinedField()
3448 ExtAddrMode::FieldName DifferentField = ExtAddrMode::NoField;
3489 ExtAddrMode::FieldName ThisDifferentField = in addNewAddrMode()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp16610 IdentifierInfo *FieldName, in VerifyBitField() argument
16628 if (FieldName) in VerifyBitField()
16630 << FieldName << FieldTy << BitWidth->getSourceRange(); in VerifyBitField()
16652 if (Value == 0 && FieldName) in VerifyBitField()
16653 return Diag(FieldLoc, diag::err_bitfield_has_zero_width) << FieldName; in VerifyBitField()
16656 if (FieldName) in VerifyBitField()
16658 << FieldName << toString(Value, 10); in VerifyBitField()
16667 << !FieldName << FieldName << toString(Value, 10); in VerifyBitField()
16686 << (bool)FieldName << FieldName << toString(Value, 10) in VerifyBitField()
16693 if (BitfieldIsOverwide && !FieldTy->isBooleanType() && FieldName) { in VerifyBitField()
[all …]
H A DSemaInit.cpp2539 IdentifierInfo *FieldName = D->getFieldName(); in CheckDesignatedInitializer() local
2540 DeclContext::lookup_result Lookup = RT->getDecl()->lookup(FieldName); in CheckDesignatedInitializer()
2565 << FieldName; in CheckDesignatedInitializer()
2576 DeclarationNameInfo(FieldName, D->getFieldLoc()), in CheckDesignatedInitializer()
2582 << FieldName << CurrentObjectType); in CheckDesignatedInitializer()
2588 << FieldName << CurrentObjectType; in CheckDesignatedInitializer()

12