| /llvm-project-15.0.7/llvm/include/llvm/CodeGen/ |
| H A D | MIRYamlMapping.h | 34 struct StringValue { struct 38 StringValue() = default; argument 81 StringValue Value; 190 StringValue Class; 213 StringValue Register; 243 StringValue Name; 253 StringValue DebugVar; 255 StringValue DebugLoc; 320 StringValue DebugVar; 435 StringValue Reg; [all …]
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVELFStreamer.h | 25 std::string StringValue; member 63 Item->StringValue = std::string(Value); in setAttributeItem() 72 StringRef StringValue, bool OverwriteExisting) { in setAttributeItems() argument 79 Item->StringValue = std::string(StringValue); in setAttributeItems() 85 std::string(StringValue)}); in setAttributeItems() 91 StringRef StringValue) override;
|
| H A D | RISCVELFStreamer.cpp | 66 StringRef StringValue) { in emitIntTextAttribute() argument 67 setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute() 112 Streamer.emitBytes(item.StringValue); in finishAttributeSection() 117 Streamer.emitBytes(item.StringValue); in finishAttributeSection() 138 Result += item.StringValue.size() + 1; // string + '\0' in calculateContentSize() 143 Result += item.StringValue.size() + 1; // string + '\0'; in calculateContentSize()
|
| H A D | RISCVTargetStreamer.h | 40 StringRef StringValue); 55 StringRef StringValue) override;
|
| H A D | RISCVTargetStreamer.cpp | 41 StringRef StringValue) {} in emitIntTextAttribute() argument 111 StringRef StringValue) {} in emitIntTextAttribute() argument
|
| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIMachineFunctionInfo.h | 116 StringValue RegisterName; 127 StringValue(Other.RegisterName); in SIArgument() 136 StringValue(Other.RegisterName); 144 RegisterName.~StringValue(); in ~SIArgument() 290 SmallVector<StringValue> WWMReservedRegs; 292 StringValue ScratchRSrcReg = "$private_rsrc_reg"; 293 StringValue FrameOffsetReg = "$fp_reg"; 294 StringValue StackPtrOffsetReg = "$sp_reg"; 302 StringValue VGPRForAGPRCopy; 330 StringValue("$fp_reg")); [all …]
|
| H A D | SIMachineFunctionInfo.cpp | 532 static yaml::StringValue regToString(Register Reg, in regToString() 534 yaml::StringValue Dest; in regToString()
|
| H A D | AMDGPUTargetMachine.cpp | 1479 auto parseRegister = [&](const yaml::StringValue &RegName, Register &RegVal) { in parseMachineFunctionInfo() 1490 auto parseOptionalRegister = [&](const yaml::StringValue &RegName, in parseMachineFunctionInfo() 1498 auto diagnoseRegisterClass = [&](const yaml::StringValue &RegName) { in parseMachineFunctionInfo()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | CSKYAttributeParserTest.cpp | 20 const char *StringValue; member 28 Value.StringValue = value; in CSKYAttributeSection() 57 << (uint8_t)(16 + strlen(Value.StringValue)) << (uint8_t)0 << (uint8_t)0 in writeString() 65 << (uint8_t)(6 + strlen(Value.StringValue)) << (uint8_t)0 << (uint8_t)0 in writeString() 70 << Value.StringValue << '\0'; in writeString()
|
| H A D | ScopedPrinterTest.cpp | 817 const std::string StringValue = "Value"; in TEST_F() local 820 W.printString("String", StringValue); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | MCELFStreamer.cpp | 760 Item->StringValue = std::string(Value); in setAttributeItem() 771 StringRef StringValue, in setAttributeItems() argument 779 Item->StringValue = std::string(StringValue); in setAttributeItems() 785 IntValue, std::string(StringValue)}; in setAttributeItems() 811 Result += Item.StringValue.size() + 1; // string + '\0' in calculateContentSize() 816 Result += Item.StringValue.size() + 1; // string + '\0'; in calculateContentSize() 872 emitBytes(Item.StringValue); in createAttributesSection() 877 emitBytes(Item.StringValue); in createAttributesSection()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIRParser.cpp | 130 const yaml::StringValue &RegisterSource, 151 const yaml::StringValue &Source); 155 const yaml::StringValue &Source); 158 const yaml::StringValue &Source); 785 const yaml::StringValue &Name = Object.Name; in initializeFrameInfo() 848 const yaml::StringValue &RegisterSource, bool IsRestored, int FrameIdx) { in parseCalleeSavedRegister() 864 const yaml::StringValue &Source, in typecheckMDNode() 900 MDNode *&Node, const yaml::StringValue &Source) { in parseMDNode() 960 const yaml::StringValue &Source) { in parseMBBReference() 968 const yaml::StringValue &Source) { in parseMachineMetadata()
|
| H A D | MILexer.h | 177 StringRef StringValue; member 226 StringRef stringValue() const { return StringValue; } in stringValue()
|
| H A D | MILexer.cpp | 70 StringValue = StrVal; in setStringValue() 76 StringValue = StringValueStorage; in setOwnedStringValue()
|
| H A D | MIParser.cpp | 454 bool parseIRConstant(StringRef::iterator Loc, StringRef StringValue, 1788 static bool parseIRConstant(StringRef::iterator Loc, StringRef StringValue, in parseIRConstant() argument 1791 auto Source = StringValue.str(); // The source has to be null terminated. in parseIRConstant() 1800 bool MIParser::parseIRConstant(StringRef::iterator Loc, StringRef StringValue, in parseIRConstant() argument 1803 Loc, StringValue, PFS, C, in parseIRConstant()
|
| /llvm-project-15.0.7/llvm/include/llvm/MC/ |
| H A D | MCELFStreamer.h | 103 std::string StringValue; member 113 StringRef StringValue, bool OverwriteExisting);
|
| /llvm-project-15.0.7/llvm/lib/BinaryFormat/ |
| H A D | AMDGPUMetadataVerifier.cpp | 41 StringRef StringValue = Node.getString(); in verifyScalar() local 42 Node.fromString(StringValue); in verifyScalar()
|
| /llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMELFStreamer.cpp | 93 StringRef StringValue) override; 219 StringRef StringValue) { in emitIntTextAttribute() argument 224 if (!StringValue.empty()) in emitIntTextAttribute() 225 OS << ", \"" << StringValue << "\""; in emitIntTextAttribute() 410 StringRef StringValue) override; 809 StringRef StringValue) { in emitIntTextAttribute() argument 810 getStreamer().setAttributeItems(Attribute, IntValue, StringValue, in emitIntTextAttribute()
|
| H A D | ARMTargetStreamer.cpp | 111 StringRef StringValue) {} in emitIntTextAttribute() argument
|
| /llvm-project-15.0.7/llvm/lib/Target/CSKY/AsmParser/ |
| H A D | CSKYAsmParser.cpp | 1665 StringRef StringValue; in parseDirectiveAttribute() local 1685 StringValue = Parser.getTok().getStringContents(); in parseDirectiveAttribute() 1695 getTargetStreamer().emitTextAttribute(Tag, StringValue); in parseDirectiveAttribute() 1698 ? CSKY::parseArch(StringValue) in parseDirectiveAttribute() 1699 : CSKY::parseCPUArch(StringValue); in parseDirectiveAttribute() 1705 getTargetStreamer().emitTextAttribute(Tag, StringValue); in parseDirectiveAttribute()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | MIRPrinter.cpp | 183 static void printRegMIR(unsigned Reg, yaml::StringValue &Dest, in printRegMIR() 279 static void printRegClassOrBank(unsigned Reg, yaml::StringValue &Dest, in printRegClassOrBank() 450 yaml::StringValue Reg; in convertStackObjects()
|
| /llvm-project-15.0.7/llvm/unittests/FileCheck/ |
| H A D | FileCheckTest.cpp | 763 StringRef StringValue = "925"; in TEST_F() local 764 FooVar.setValue(ExpressionValue(925u), StringValue); in TEST_F() 769 EXPECT_EQ(StringValue.begin(), FooVar.getStringValue().value().begin()); in TEST_F() 770 EXPECT_EQ(StringValue.end(), FooVar.getStringValue().value().end()); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/Target/RISCV/AsmParser/ |
| H A D | RISCVAsmParser.cpp | 2193 StringRef StringValue; in parseDirectiveAttribute() local 2216 StringValue = Parser.getTok().getStringContents(); in parseDirectiveAttribute() 2226 getTargetStreamer().emitTextAttribute(Tag, StringValue); in parseDirectiveAttribute() 2228 StringRef Arch = StringValue; in parseDirectiveAttribute() 2234 StringValue, /*EnableExperimentalExtension=*/true, in parseDirectiveAttribute()
|