Searched refs:MDEnumerator (Results 1 - 13 of 13) sorted by relevance

/external/llvm/include/llvm/IR/
H A DDebugInfo.h119 MDEnumerator *N;
122 DIEnumerator(const MDEnumerator *N = nullptr)
123 : N(const_cast<MDEnumerator *>(N)) {}
125 operator MDEnumerator *() const { return N; }
126 MDEnumerator *operator->() const { return N; }
127 MDEnumerator &operator*() const { return *N; }
H A DDebugInfoMetadata.h359 class MDEnumerator : public DebugNode { class in namespace:llvm
365 MDEnumerator(LLVMContext &C, StorageType Storage, int64_t Value, function in class:llvm::MDEnumerator
369 ~MDEnumerator() = default;
371 static MDEnumerator *getImpl(LLVMContext &Context, int64_t Value,
377 static MDEnumerator *getImpl(LLVMContext &Context, int64_t Value,
386 DEFINE_MDNODE_GET(MDEnumerator, (int64_t Value, StringRef Name),
388 DEFINE_MDNODE_GET(MDEnumerator, (int64_t Value, MDString *Name),
H A DDIBuilder.h119 MDEnumerator *createEnumerator(StringRef Name, int64_t Val);
/external/llvm/lib/IR/
H A DDebugInfoMetadata.cpp233 MDEnumerator *MDEnumerator::getImpl(LLVMContext &Context, int64_t Value,
237 DEFINE_GETIMPL_LOOKUP(MDEnumerator, (Value, getString(Name)));
239 DEFINE_GETIMPL_STORE(MDEnumerator, (Value), Ops);
H A DLLVMContextImpl.h291 template <> struct MDNodeKeyImpl<MDEnumerator> {
296 MDNodeKeyImpl(const MDEnumerator *N)
299 bool isKeyOf(const MDEnumerator *RHS) const {
H A DDIBuilder.cpp205 MDEnumerator *DIBuilder::createEnumerator(StringRef Name, int64_t Val) {
207 return MDEnumerator::get(VMContext, Val, Name);
H A DAsmWriter.cpp1510 static void writeMDEnumerator(raw_ostream &Out, const MDEnumerator *N,
1512 Out << "!MDEnumerator(";
H A DVerifier.cpp772 void Verifier::visitMDEnumerator(const MDEnumerator &N) {
/external/llvm/unittests/IR/
H A DMetadataTest.cpp872 auto *N = MDEnumerator::get(Context, 7, "name");
876 EXPECT_EQ(N, MDEnumerator::get(Context, 7, "name"));
878 EXPECT_NE(N, MDEnumerator::get(Context, 8, "name"));
879 EXPECT_NE(N, MDEnumerator::get(Context, 7, "nam"));
/external/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp1421 auto *Enum = dyn_cast_or_null<MDEnumerator>(Elements[i]);
/external/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp832 static void WriteMDEnumerator(const MDEnumerator *N, const ValueEnumerator &VE,
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp1748 MDValueList.AssignValue(GET_OR_DISTINCT(MDEnumerator, Record[0],
/external/llvm/lib/AsmParser/
H A DLLParser.cpp3417 /// ::= !MDEnumerator(value: 30, name: "SomeKind")
3425 Result = GET_OR_DISTINCT(MDEnumerator, (Context, value.Val, name.Val));

Completed in 368 milliseconds