Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/TableGen/
H A DRecord.cpp2592 const RecordVal *R = getValue(FieldName); in getFieldLoc()
2600 const RecordVal *R = getValue(FieldName); in getValueInit()
2617 const RecordVal *R = getValue(FieldName); in getValueAsOptionalString()
2632 const RecordVal *R = getValue(FieldName); in getValueAsBitsInit()
2644 const RecordVal *R = getValue(FieldName); in getValueAsListInit()
2670 const RecordVal *R = getValue(FieldName); in getValueAsInt()
2678 FieldName + in getValueAsInt()
2716 const RecordVal *R = getValue(FieldName); in getValueAsDef()
2728 const RecordVal *R = getValue(FieldName); in getValueAsOptionalDef()
2743 const RecordVal *R = getValue(FieldName); in getValueAsBit()
[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.cpp2513 StringInit *FieldName = StringInit::get(Records, Lex.getCurStrVal()); in ParseValue() local
2514 if (!Result->getFieldType(FieldName)) { in ParseValue()
2519 Result = FieldInit::get(Result, FieldName)->Fold(CurRec); in ParseValue()
2941 StringInit *FieldName = StringInit::get(Records, Lex.getCurStrVal()); in ParseBodyItem() local
2952 RecordVal *Field = CurRec->getValue(FieldName); in ParseBodyItem()
2954 return TokError("Value '" + FieldName->getValue() + "' unknown!"); in ParseBodyItem()
2969 return SetValue(CurRec, IdLoc, FieldName, BitList, Val); in ParseBodyItem()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/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()
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()
793 FieldName == "EnumValueField") in run()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/TableGen/
H A DRecord.h1328 StringInit *FieldName; // Field we are accessing variable
1335 << ", got FieldName = " << *FieldName in FieldInit()
1353 StringInit *getFieldName() const { return FieldName; } in getFieldName()
1771 SMLoc getFieldLoc(StringRef FieldName) const;
1775 Init *getValueInit(StringRef FieldName) const;
1778 bool isValueUnset(StringRef FieldName) const { in isValueUnset() argument
1779 return isa<UnsetInit>(getValueInit(FieldName)); in isValueUnset()
1820 Record *getValueAsDef(StringRef FieldName) const;
1831 bool getValueAsBit(StringRef FieldName) const;
1840 int64_t getValueAsInt(StringRef FieldName) const;
[all …]
H A DSetTheory.h121 void addFieldExpander(StringRef ClassName, StringRef FieldName);
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dvortex-bug.ll6 define fastcc i32 @Env_GetFieldStruc(ptr %FieldName, ptr %Status, ptr %FieldStruc) nounwind {
19 %tmp139.i = getelementptr i8, ptr %FieldName, i64 %tmp139.rec.i ; <ptr> [#uses=0]
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DInlayHints.cpp80 llvm::StringRef FieldName; in append() local
82 FieldName = II->getName(); in append()
88 (OneField && isReservedName(FieldName)))) in append()
91 if (!FieldName.empty() && !isReservedName(FieldName)) { in append()
93 Out.append(FieldName.begin(), FieldName.end()); in append()
/llvm-project-15.0.7/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,
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/performance/
H A DInefficientVectorOperationCheck.cpp235 llvm::StringRef FieldName = ProtoAddFieldCall->getMethodDecl()->getName(); in check() local
236 FieldName.consume_front("add_"); in check()
237 std::string MutableFieldName = ("mutable_" + FieldName).str(); in check()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DEHFrameSupportImpl.h95 Block &InBlock, const char *FieldName);
101 size_t PointerFieldOffset, const char *FieldName);
H A DEHFrameSupport.cpp437 const char *FieldName) { in readPointerEncoding() argument
469 FieldName + "in CFI record at " + in readPointerEncoding()
501 size_t PointerFieldOffset, const char *FieldName) { in getOrCreateEncodedPointerEdge() argument
515 << FieldName << " at " << EdgeI->second.Target->getAddress(); in getOrCreateEncodedPointerEdge()
577 << FieldName << " at " << TargetSym->getAddress(); in getOrCreateEncodedPointerEdge()
/llvm-project-15.0.7/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 …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/Object/
H A DArchive.cpp171 getArchiveMemberDecField(Twine FieldName, const StringRef RawField, in getArchiveMemberDecField() argument
177 return malformedError("characters in " + FieldName + in getArchiveMemberDecField()
189 getArchiveMemberOctField(Twine FieldName, const StringRef RawField, in getArchiveMemberOctField() argument
195 return malformedError("characters in " + FieldName + in getArchiveMemberOctField()
H A DWasmObjectFile.cpp860 StringRef FieldName = readString(Ctx); in parseProducersSection() local
861 if (!FieldsSeen.insert(FieldName).second) in parseProducersSection()
866 if (FieldName == "language") { in parseProducersSection()
868 } else if (FieldName == "processed-by") { in parseProducersSection()
870 } else if (FieldName == "sdk") { in parseProducersSection()
/llvm-project-15.0.7/llvm/lib/Support/
H A DJSON.cpp329 llvm::StringRef FieldName = S.field(); in printErrorContext() local
331 if (!O || !O->get(FieldName)) in printErrorContext()
336 if (FieldName.equals(KV->first)) in printErrorContext()
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A D2010-06-21-nondarwin-tc.ll31 …llvm::Record"* %R, %"class.llvm::RecordVal"* %RV, %"class.std::basic_string"* %FieldName) align 2 {
139 …ecord"* %R, %"class.llvm::RecordVal"* %RV, %"class.std::basic_string"* %FieldName) ; <%"struct.llv…
/llvm-project-15.0.7/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()
609 const std::string &FieldName) { in printDataDirectory() argument
613 W.printHex(FieldName + "RVA", Data->RelativeVirtualAddress); in printDataDirectory()
614 W.printHex(FieldName + "Size", Data->Size); in printDataDirectory()
/llvm-project-15.0.7/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()

12