Searched refs:MDBasicType (Results 1 - 15 of 15) sorted by relevance

/external/llvm/include/llvm/IR/
H A DDebugInfo.h156 MDBasicType *N;
159 DIBasicType(const MDBasicType *N = nullptr)
160 : N(const_cast<MDBasicType *>(N)) {}
164 operator MDBasicType *() const { return N; }
165 MDBasicType *operator->() const { return N; }
166 MDBasicType &operator*() const { return *N; }
H A DDIBuilder.h122 MDBasicType *createUnspecifiedType(StringRef Name);
125 MDBasicType *createNullPtrType();
133 MDBasicType *createBasicType(StringRef Name, uint64_t SizeInBits,
416 MDBasicType *createUnspecifiedParameter();
H A DDebugInfoMetadata.h601 class MDBasicType : public MDType { class in namespace:llvm
607 MDBasicType(LLVMContext &C, StorageType Storage, unsigned Tag, function in class:llvm::MDBasicType
613 ~MDBasicType() = default;
615 static MDBasicType *getImpl(LLVMContext &Context, unsigned Tag,
622 static MDBasicType *getImpl(LLVMContext &Context, unsigned Tag,
633 DEFINE_MDNODE_GET(MDBasicType, (unsigned Tag, StringRef Name),
635 DEFINE_MDNODE_GET(MDBasicType,
639 DEFINE_MDNODE_GET(MDBasicType,
/external/llvm/lib/Analysis/
H A DModuleDebugInfoPrinter.cpp106 if (auto *BT = dyn_cast<MDBasicType>(T)) {
/external/llvm/lib/IR/
H A DDebugInfoMetadata.cpp242 MDBasicType *MDBasicType::getImpl(LLVMContext &Context, unsigned Tag,
248 MDBasicType, (Tag, getString(Name), SizeInBits, AlignInBits, Encoding));
250 DEFINE_GETIMPL_STORE(MDBasicType, (Tag, SizeInBits, AlignInBits, Encoding),
H A DDIBuilder.cpp210 MDBasicType *DIBuilder::createUnspecifiedType(StringRef Name) {
212 return MDBasicType::get(VMContext, dwarf::DW_TAG_unspecified_type, Name);
215 MDBasicType *DIBuilder::createNullPtrType() {
219 MDBasicType *DIBuilder::createBasicType(StringRef Name, uint64_t SizeInBits,
223 return MDBasicType::get(VMContext, dwarf::DW_TAG_base_type, Name, SizeInBits,
496 MDBasicType *DIBuilder::createUnspecifiedParameter() { return nullptr; }
H A DLLVMContextImpl.h305 template <> struct MDNodeKeyImpl<MDBasicType> {
316 MDNodeKeyImpl(const MDBasicType *N)
320 bool isKeyOf(const MDBasicType *RHS) const {
H A DAsmWriter.cpp1519 static void writeMDBasicType(raw_ostream &Out, const MDBasicType *N,
1521 Out << "!MDBasicType(";
H A DVerifier.cpp776 void Verifier::visitMDBasicType(const MDBasicType &N) {
/external/llvm/unittests/IR/
H A DMetadataTest.cpp93 return MDBasicType::get(Context, dwarf::DW_TAG_unspecified_type, Name)
889 MDBasicType::get(Context, dwarf::DW_TAG_base_type, "special", 33, 26, 7);
896 EXPECT_EQ(N, MDBasicType::get(Context, dwarf::DW_TAG_base_type, "special", 33,
899 EXPECT_NE(N, MDBasicType::get(Context, dwarf::DW_TAG_unspecified_type,
902 MDBasicType::get(Context, dwarf::DW_TAG_base_type, "s", 33, 26, 7));
903 EXPECT_NE(N, MDBasicType::get(Context, dwarf::DW_TAG_base_type, "special", 32,
905 EXPECT_NE(N, MDBasicType::get(Context, dwarf::DW_TAG_base_type, "special", 33,
907 EXPECT_NE(N, MDBasicType::get(Context, dwarf::DW_TAG_base_type, "special", 33,
915 auto *N = MDBasicType::get(Context, dwarf::DW_TAG_base_type, "special",
923 MDBasicType
[all...]
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp628 DIBasicType BTy = cast<MDBasicType>(Ty);
833 if (auto *BT = dyn_cast<MDBasicType>(Ty))
H A DDwarfDebug.cpp1484 auto *B = dyn_cast<MDBasicType>(T);
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp844 static void WriteMDBasicType(const MDBasicType *N, const ValueEnumerator &VE,
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1759 GET_OR_DISTINCT(MDBasicType, Record[0],
/external/llvm/lib/AsmParser/
H A DLLParser.cpp3430 /// ::= !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32)
3441 Result = GET_OR_DISTINCT(MDBasicType, (Context, tag.Val, name.Val, size.Val,

Completed in 838 milliseconds