Home
last modified time | relevance | path

Searched refs:StringValue (Results 1 – 25 of 27) 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() function
40 StringValue(const char Val[]) : Value(Val) {} in StringValue() argument
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.cpp121 Streamer.emitBytes(item.StringValue); in finishAttributeSection()
126 Streamer.emitBytes(item.StringValue); in finishAttributeSection()
147 Result += item.StringValue.size() + 1; // string + '\0' in calculateContentSize()
152 Result += item.StringValue.size() + 1; // string + '\0'; in calculateContentSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMachineFunctionInfo.h94 StringValue RegisterName;
105 StringValue(Other.RegisterName); in SIArgument()
114 StringValue(Other.RegisterName);
122 RegisterName.~StringValue(); in ~SIArgument()
272 SmallVector<StringValue> WWMReservedRegs;
274 StringValue ScratchRSrcReg = "$private_rsrc_reg";
275 StringValue FrameOffsetReg = "$fp_reg";
276 StringValue StackPtrOffsetReg = "$sp_reg";
288 StringValue VGPRForAGPRCopy;
289 StringValue SGPRForEXECCopy;
[all …]
H A DSIMachineFunctionInfo.cpp608 static yaml::StringValue regToString(Register Reg, in regToString()
610 yaml::StringValue Dest; in regToString()
H A DAMDGPUTargetMachine.cpp1552 auto parseRegister = [&](const yaml::StringValue &RegName, Register &RegVal) { in parseMachineFunctionInfo()
1563 auto parseOptionalRegister = [&](const yaml::StringValue &RegName, in parseMachineFunctionInfo()
1578 auto diagnoseRegisterClass = [&](const yaml::StringValue &RegName) { in parseMachineFunctionInfo()
/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/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);
163 const yaml::StringValue &Source);
167 const yaml::StringValue &Source);
170 const yaml::StringValue &Source);
847 const yaml::StringValue &Name = Object.Name; in initializeFrameInfo()
910 const yaml::StringValue &RegisterSource, bool IsRestored, int FrameIdx) { in parseCalleeSavedRegister()
926 const yaml::StringValue &Source, in typecheckMDNode()
[all …]
H A DMILexer.h189 StringRef StringValue; member
238 StringRef stringValue() const { return StringValue; } in stringValue()
H A DMILexer.cpp69 StringValue = StrVal; in setStringValue()
75 StringValue = StringValueStorage; in setOwnedStringValue()
H A DMIParser.cpp455 bool parseIRConstant(StringRef::iterator Loc, StringRef StringValue,
1878 static bool parseIRConstant(StringRef::iterator Loc, StringRef StringValue, in parseIRConstant() argument
1881 auto Source = StringValue.str(); // The source has to be null terminated. in parseIRConstant()
1890 bool MIParser::parseIRConstant(StringRef::iterator Loc, StringRef StringValue, in parseIRConstant() argument
1893 Loc, StringValue, PFS, C, in parseIRConstant()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCELFStreamer.cpp663 Item->StringValue = std::string(Value); in setAttributeItem()
674 StringRef StringValue, in setAttributeItems() argument
682 Item->StringValue = std::string(StringValue); in setAttributeItems()
688 IntValue, std::string(StringValue)}; in setAttributeItems()
713 Result += Item.StringValue.size() + 1; // string + '\0' in calculateContentSize()
718 Result += Item.StringValue.size() + 1; // string + '\0'; in calculateContentSize()
773 emitBytes(Item.StringValue); in createAttributesSection()
778 emitBytes(Item.StringValue); in createAttributesSection()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVTargetStreamer.h58 StringRef StringValue);
76 StringRef StringValue) override;
H A DRISCVTargetStreamer.cpp53 StringRef StringValue) {} in emitIntTextAttribute() argument
168 StringRef StringValue) {} in emitIntTextAttribute() argument
H A DRISCVELFStreamer.cpp74 StringRef StringValue) { in emitIntTextAttribute() argument
75 getStreamer().setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
H A DRISCVELFStreamer.h52 StringRef StringValue) override;
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCELFStreamer.h107 std::string StringValue; member
117 StringRef StringValue, bool OverwriteExisting);
H A DMCStreamer.h160 StringRef StringValue = "");
/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.cpp93 StringRef StringValue) override;
223 StringRef StringValue) { in emitIntTextAttribute() argument
228 if (!StringValue.empty()) in emitIntTextAttribute()
229 OS << ", \"" << StringValue << "\""; in emitIntTextAttribute()
414 StringRef StringValue) override;
805 StringRef StringValue) { in emitIntTextAttribute() argument
806 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.cpp1572 StringRef StringValue; in parseDirectiveAttribute() local
1592 StringValue = Parser.getTok().getStringContents(); in parseDirectiveAttribute()
1602 getTargetStreamer().emitTextAttribute(Tag, StringValue); in parseDirectiveAttribute()
1605 ? CSKY::parseArch(StringValue) in parseDirectiveAttribute()
1606 : CSKY::parseCPUArch(StringValue); in parseDirectiveAttribute()
1612 getTargetStreamer().emitTextAttribute(Tag, StringValue); in parseDirectiveAttribute()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DObjcopyOptions.cpp557 StringRef StringValue; in parseChangeSectionLMA() local
559 StringValue = ArgValue.slice(2, StringRef::npos); in parseChangeSectionLMA()
561 StringValue = ArgValue.slice(1, StringRef::npos); in parseChangeSectionLMA()
573 if (StringValue.empty()) in parseChangeSectionLMA()
578 auto LMAValue = getAsInteger<int64_t>(StringValue); in parseChangeSectionLMA()
582 ArgValue.slice(0, 2) + " is " + StringValue + in parseChangeSectionLMA()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMIRPrinter.cpp188 static void printRegMIR(unsigned Reg, yaml::StringValue &Dest, in printRegMIR()
287 static void printRegClassOrBank(unsigned Reg, yaml::StringValue &Dest, in printRegClassOrBank()
472 yaml::StringValue Reg; in convertStackObjects()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/
H A DRISCVAsmParser.cpp3040 StringRef StringValue; in parseDirectiveAttribute() local
3063 StringValue = Parser.getTok().getStringContents(); in parseDirectiveAttribute()
3073 getTargetStreamer().emitTextAttribute(Tag, StringValue); in parseDirectiveAttribute()
3076 if (resetToArch(StringValue, ValueExprLoc, Result, false)) in parseDirectiveAttribute()

12