/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MIRYamlMapping.h | 34 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() 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 D | CSKYELFStreamer.h | 27 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 D | CSKYELFStreamer.cpp | 121 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 D | SIMachineFunctionInfo.h | 94 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 D | SIMachineFunctionInfo.cpp | 608 static yaml::StringValue regToString(Register Reg, in regToString() 610 yaml::StringValue Dest; in regToString()
|
H A D | AMDGPUTargetMachine.cpp | 1552 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 D | dtfield.c | 565 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 D | MIRParser.cpp | 132 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 D | MILexer.h | 189 StringRef StringValue; member 238 StringRef stringValue() const { return StringValue; } in stringValue()
|
H A D | MILexer.cpp | 69 StringValue = StrVal; in setStringValue() 75 StringValue = StringValueStorage; in setOwnedStringValue()
|
H A D | MIParser.cpp | 455 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 D | MCELFStreamer.cpp | 663 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 D | RISCVTargetStreamer.h | 58 StringRef StringValue); 76 StringRef StringValue) override;
|
H A D | RISCVTargetStreamer.cpp | 53 StringRef StringValue) {} in emitIntTextAttribute() argument 168 StringRef StringValue) {} in emitIntTextAttribute() argument
|
H A D | RISCVELFStreamer.cpp | 74 StringRef StringValue) { in emitIntTextAttribute() argument 75 getStreamer().setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
|
H A D | RISCVELFStreamer.h | 52 StringRef StringValue) override;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCELFStreamer.h | 107 std::string StringValue; member 117 StringRef StringValue, bool OverwriteExisting);
|
H A D | MCStreamer.h | 160 StringRef StringValue = "");
|
/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/ |
H A D | AMDGPUMetadataVerifier.cpp | 39 StringRef StringValue = Node.getString(); in verifyScalar() 40 Node.fromString(StringValue); in verifyScalar() local
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMELFStreamer.cpp | 93 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 D | ARMTargetStreamer.cpp | 110 StringRef StringValue) {} in emitIntTextAttribute() argument
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/AsmParser/ |
H A D | CSKYAsmParser.cpp | 1572 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 D | ObjcopyOptions.cpp | 557 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 D | MIRPrinter.cpp | 188 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 D | RISCVAsmParser.cpp | 3040 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()
|