Home
last modified time | relevance | path

Searched refs:StringValue (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h34 struct StringValue { struct
38 StringValue() = default; argument
39 StringValue(std::string Value) : Value(std::move(Value)) {} in StringValue() argument
40 StringValue(const char Val[]) : Value(Val) {} in StringValue() function
42 bool operator==(const StringValue &Other) const {
47 template <> struct ScalarTraits<StringValue> {
48 static void output(const StringValue &S, void *, raw_ostream &OS) {
52 static StringRef input(StringRef Scalar, void *Ctx, StringValue &S) {
63 struct FlowStringValue : StringValue {
65 FlowStringValue(std::string Value) : StringValue(std::move(Value)) {}
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYELFStreamer.h27 std::string StringValue; member
64 Item->StringValue = std::string(Value); in setAttributeItem()
73 StringRef StringValue, bool OverwriteExisting) { in setAttributeItems() argument
80 Item->StringValue = std::string(StringValue); in setAttributeItems()
86 std::string(StringValue)}); in setAttributeItems()
H A DCSKYELFStreamer.cpp122 Streamer.emitBytes(item.StringValue); in finishAttributeSection()
127 Streamer.emitBytes(item.StringValue); in finishAttributeSection()
148 Result += item.StringValue.size() + 1; // string + '\0' in calculateContentSize()
153 Result += item.StringValue.size() + 1; // string + '\0'; in calculateContentSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMachineFunctionInfo.h94 StringValue RegisterName;
104 new (&RegisterName) StringValue(Other.RegisterName); in SIArgument()
114 new (&RegisterName) StringValue();
116 RegisterName.~StringValue();
128 RegisterName.~StringValue(); in ~SIArgument()
278 SmallVector<StringValue, 2> SpillPhysVGPRS;
279 SmallVector<StringValue> WWMReservedRegs;
281 StringValue ScratchRSrcReg = "$private_rsrc_reg";
282 StringValue FrameOffsetReg = "$fp_reg";
283 StringValue StackPtrOffsetReg = "$sp_reg";
[all …]
H A DSIMachineFunctionInfo.cpp640 static yaml::StringValue regToString(Register Reg, in regToString()
642 yaml::StringValue Dest; in regToString()
H A DAMDGPUTargetMachine.cpp1806 auto parseRegister = [&](const yaml::StringValue &RegName, Register &RegVal) { in parseMachineFunctionInfo()
1817 auto parseOptionalRegister = [&](const yaml::StringValue &RegName, in parseMachineFunctionInfo()
1832 auto diagnoseRegisterClass = [&](const yaml::StringValue &RegName) { in parseMachineFunctionInfo()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCELFStreamer.cpp547 Item->StringValue = std::string(Value); in setAttributeItem()
558 StringRef StringValue, in setAttributeItems() argument
566 Item->StringValue = std::string(StringValue); in setAttributeItems()
572 IntValue, std::string(StringValue)}; in setAttributeItems()
597 Result += Item.StringValue.size() + 1; // string + '\0' in calculateContentSize()
602 Result += Item.StringValue.size() + 1; // string + '\0'; in calculateContentSize()
657 emitBytes(Item.StringValue); in createAttributesSection()
662 emitBytes(Item.StringValue); in createAttributesSection()
718 emitBytes(Item.StringValue); in createAttributesWithSubsection()
723 emitBytes(Item.StringValue); in createAttributesWithSubsection()
/freebsd/sys/contrib/dev/acpica/compiler/
H A Ddtfield.c565 char *StringValue, in DtCompileBuffer() argument
577 StringValue = DtNormalizeBuffer (StringValue, &Count); in DtCompileBuffer()
578 Substring = StringValue; in DtCompileBuffer()
612 ACPI_FREE (StringValue); in DtCompileBuffer()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DELFAttributes.h35 std::string StringValue; member
37 : Type(Ty), Tag(Tg), IntValue(IV), StringValue(std::move(SV)) {} in BuildAttributeItem()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIRParser.cpp132 const yaml::StringValue &RegisterSource,
142 const yaml::StringValue &VarStr,
143 const yaml::StringValue &ExprStr,
144 const yaml::StringValue &LocStr);
166 const yaml::StringValue &Source);
170 const yaml::StringValue &Source);
173 const yaml::StringValue &Source);
925 const yaml::StringValue &Name = Object.Name; in initializeFrameInfo()
988 const yaml::StringValue &RegisterSource, bool IsRestored, int FrameIdx) { in parseCalleeSavedRegister()
1004 const yaml::StringValue &Source, in typecheckMDNode()
[all …]
H A DMILexer.h191 StringRef StringValue; member
240 StringRef stringValue() const { return StringValue; } in stringValue()
H A DMILexer.cpp69 StringValue = StrVal; in setStringValue()
75 StringValue = StringValueStorage; in setOwnedStringValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCELFStreamer.h99 std::string StringValue; member
101 : Type(Ty), Tag(Tg), IntValue(IV), StringValue(std::move(SV)) {} in AttributeItem()
120 StringRef StringValue, bool OverwriteExisting);
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVTargetStreamer.h60 StringRef StringValue);
79 StringRef StringValue) override;
H A DRISCVELFStreamer.cpp65 StringRef StringValue) { in emitIntTextAttribute() argument
66 getStreamer().setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
H A DRISCVTargetStreamer.cpp62 StringRef StringValue) {} in emitIntTextAttribute() argument
236 StringRef StringValue) {} in emitIntTextAttribute() argument
H A DRISCVELFStreamer.h50 StringRef StringValue) override;
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DAMDGPUMetadataVerifier.cpp39 StringRef StringValue = Node.getString(); in verifyScalar()
40 Node.fromString(StringValue); in verifyScalar() local
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMELFStreamer.cpp94 StringRef StringValue) override;
228 StringRef StringValue) { in emitIntTextAttribute() argument
233 if (!StringValue.empty()) in emitIntTextAttribute()
234 OS << ", \"" << StringValue << "\""; in emitIntTextAttribute()
437 StringRef StringValue) override;
809 StringRef StringValue) { in emitIntTextAttribute() argument
810 getStreamer().setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
H A DARMTargetStreamer.cpp110 StringRef StringValue) {} in emitIntTextAttribute() argument
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/
H A DCSKYAsmParser.cpp1570 StringRef StringValue; in parseDirectiveAttribute() local
1590 StringValue = Parser.getTok().getStringContents(); in parseDirectiveAttribute()
1600 getTargetStreamer().emitTextAttribute(Tag, StringValue); in parseDirectiveAttribute()
1603 ? CSKY::parseArch(StringValue) in parseDirectiveAttribute()
1604 : CSKY::parseCPUArch(StringValue); in parseDirectiveAttribute()
1610 getTargetStreamer().emitTextAttribute(Tag, StringValue); in parseDirectiveAttribute()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DELFAttrParserExtended.cpp59 return std::optional<StringRef>(BAItem.StringValue); in getAttributeString()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64TargetStreamer.cpp223 Item.StringValue = unsigned(-1) != Value ? "" : String; in emitAttribute()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp601 StringRef StringValue; in parseChangeSectionLMA() local
603 StringValue = ArgValue.substr(2); in parseChangeSectionLMA()
605 StringValue = ArgValue.substr(1); in parseChangeSectionLMA()
617 if (StringValue.empty()) in parseChangeSectionLMA()
622 auto LMAValue = getAsInteger<int64_t>(StringValue); in parseChangeSectionLMA()
626 ArgValue.slice(0, 2) + " is " + StringValue + in parseChangeSectionLMA()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRPrinter.cpp126 static void printRegMIR(Register Reg, yaml::StringValue &Dest, in printRegMIR()
263 static void printRegClassOrBank(Register Reg, yaml::StringValue &Dest, in printRegClassOrBank()
468 yaml::StringValue Reg; in convertStackObjects()

12