Home
last modified time | relevance | path

Searched refs:DIStringType (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/llvm/test/DebugInfo/
H A Dfortran-string-type.ll1 ;; Test for !DIStringType. This DI is used to construct a Fortran CHARACTER
7 ; CHECK: !DIStringType(name: "character(*)", stringLength: !{{[0-9]+}}, stringLengthExpression: !DI…
8 ; CHECK: !DIStringType(name: "character(10)", size: 80, align: 8)
10 ; CHECK: !DIStringType(name: ".str.DEFERRED", stringLengthExpression: !DIExpression(DW_OP_push_obje…
21 !6 = !DIStringType(name: "character(*)", stringLength: !7, stringLengthExpression: !DIExpression(),…
27 !12 = !DIStringType(name: "character(10)", size: 80, align: 8)
29 !14 = !DIStringType(name: ".str.DEFERRED", stringLengthExpression: !DIExpression(DW_OP_push_object_…
/llvm-project-15.0.7/llvm/test/Bitcode/
H A Ddistringtype-backward.ll1 ; This test verifies the backward compatibility of DIStringType.
2 ;; Specifically, it makes sure that bitcode for DIStringType without
8 ; CHECK: !DIStringType(name: ".str.DEFERRED", stringLengthExpression: !DIExpression(DW_OP_push_obje…
45 !9 = !DIStringType(name: ".str.DEFERRED", stringLengthExpression: !DIExpression(DW_OP_push_object_a…
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Ddistringtype.ll1 ;; Test for !DIStringType.!DIStringType is used to construct a Fortran
4 ;; processing !DIStringType metadata in either of the following forms,
6 ;; !DIStringType(name: "character(*)", stringLength: !{{[0-9]+}})
7 ;; !DIStringType(name: "character(*)", stringLengthExpr: !DIExpression(...))
9 ;; !DIStringType has an optional stringLocationExpr field. This
158 !9 = !DIStringType(name: ".str.DEFERRED", stringLengthExpression: !DIExpression(DW_OP_push_object_a…
171 !22 = !DIStringType(name: "character(*)!2", stringLength: !19)
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Ddbg-distringtype-uint.ll76 !7 = !DIStringType(name: "CHARACTER_0", size: 64)
82 !13 = !DIStringType(name: "CHARACTER_1", size: 64)
86 !17 = !DIStringType(name: "CHARACTER_2", size: 64)
/llvm-project-15.0.7/llvm/unittests/IR/
H A DDebugInfoTest.cpp270 DIStringType *StringType = in TEST()
273 EXPECT_TRUE(isa_and_nonnull<DIStringType>(StringType)); in TEST()
280 DIStringType *StringTypeExp = in TEST()
283 EXPECT_TRUE(isa_and_nonnull<DIStringType>(StringTypeExp)); in TEST()
/llvm-project-15.0.7/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfDebug.h431 DenseMap<const DIStringType *, unsigned> StringTypeLocMap;
813 unsigned getStringTypeLoc(const DIStringType *ST) const { in getStringTypeLoc()
817 void addStringTypeLoc(const DIStringType *ST, unsigned Loc) { in addStringTypeLoc()
H A DDwarfUnit.h319 void constructTypeDIE(DIE &Buffer, const DIStringType *BTy);
H A DDebugHandlerBase.cpp177 if (isa<DIStringType>(Ty)) { in isUnsignedDIType()
H A DCodeViewDebug.h419 codeview::TypeIndex lowerTypeString(const DIStringType *Ty);
H A DDwarfUnit.cpp585 else if (auto *ST = dyn_cast<DIStringType>(Ty)) in createTypeDIE()
716 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DIStringType *STy) { in constructTypeDIE()
H A DCodeViewDebug.cpp1651 return lowerTypeString(cast<DIStringType>(Ty)); in lowerType()
1739 TypeIndex CodeViewDebug::lowerTypeString(const DIStringType *Ty) { in lowerTypeString()
/llvm-project-15.0.7/llvm/test/CodeGen/Generic/
H A Dpr49872.ll39 !9 = !DIStringType(name: "char string", size: 8)
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DDIBuilder.h222 DIStringType *createStringType(StringRef Name, uint64_t SizeInBits);
229 DIStringType *createStringType(StringRef Name, DIVariable *StringLength,
237 DIStringType *createStringType(StringRef Name,
H A DMetadata.def118 HANDLE_SPECIALIZED_MDNODE_LEAF_UNIQUABLE(DIStringType)
H A DDebugInfoMetadata.h832 class DIStringType : public DIType {
838 DIStringType(LLVMContext &C, StorageType Storage, unsigned Tag, in DIStringType() function
844 ~DIStringType() = default;
846 static DIStringType *getImpl(LLVMContext &Context, unsigned Tag,
856 static DIStringType *getImpl(LLVMContext &Context, unsigned Tag,
871 DEFINE_MDNODE_GET(DIStringType,
876 DEFINE_MDNODE_GET(DIStringType,
883 DEFINE_MDNODE_GET(DIStringType,
/llvm-project-15.0.7/llvm/lib/IR/
H A DDIBuilder.cpp289 DIStringType *DIBuilder::createStringType(StringRef Name, uint64_t SizeInBits) { in createStringType()
291 return DIStringType::get(VMContext, dwarf::DW_TAG_string_type, Name, in createStringType()
295 DIStringType *DIBuilder::createStringType(StringRef Name, in createStringType()
299 return DIStringType::get(VMContext, dwarf::DW_TAG_string_type, Name, in createStringType()
303 DIStringType *DIBuilder::createStringType(StringRef Name, in createStringType()
307 return DIStringType::get(VMContext, dwarf::DW_TAG_string_type, Name, nullptr, in createStringType()
H A DDebugInfoMetadata.cpp586 DIStringType *DIStringType::getImpl(LLVMContext &Context, unsigned Tag, in getImpl()
594 DEFINE_GETIMPL_LOOKUP(DIStringType, in getImpl()
599 DEFINE_GETIMPL_STORE(DIStringType, (Tag, SizeInBits, AlignInBits, Encoding), in getImpl()
H A DLLVMContextImpl.h441 template <> struct MDNodeKeyImpl<DIStringType> {
457 MDNodeKeyImpl(const DIStringType *N)
465 bool isKeyOf(const DIStringType *RHS) const {
H A DAsmWriter.cpp1979 static void writeDIStringType(raw_ostream &Out, const DIStringType *N, in writeDIStringType()
H A DVerifier.cpp1070 void Verifier::visitDIStringType(const DIStringType &N) { in visitDIStringType()
/llvm-project-15.0.7/llvm/test/DebugInfo/COFF/
H A Dfortran-basic.ll120 !14 = !DIStringType(name: "CHARACTER_0", size: 48)
/llvm-project-15.0.7/llvm/docs/
H A DSourceLevelDebugging.rst1077 …TAG_string_type for representing Fortran character(n). In LLVM this is represented as DIStringType.
1088 …!DIStringType(name: "character(*)!2", stringLength: !16, stringLengthExpression: !DIExpression(), …
1092 …!DIStringType(name: "character(*)!2", stringLengthExpression: !DIExpression(), stringLocationExpre…
/llvm-project-15.0.7/llvm/lib/Bitcode/Reader/
H A DMetadataLoader.cpp1434 GET_OR_DISTINCT(DIStringType, in parseOneMetadata()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp311 void writeDIStringType(const DIStringType *N,
1680 void ModuleBitcodeWriter::writeDIStringType(const DIStringType *N, in writeDIStringType()
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp239 void writeDIStringType(const DIStringType *N, in writeDIStringType()

12