Home
last modified time | relevance | path

Searched refs:MD (Results 1 – 14 of 14) sorted by relevance

/frameworks/compile/slang/BitWriter_2_9_func/
DValueEnumerator.cpp88 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() local
89 if (!MD) { in ValueEnumerator()
95 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()
98 EnumerateMetadata(MD->getMetadata()); in ValueEnumerator()
134 if (auto *MD = dyn_cast<MetadataAsValue>(V)) in getValueID() local
135 return getMetadataID(MD->getMetadata()); in getValueID()
184 const llvm::Metadata *MD = I->first; in print() local
186 MD->print(OS); in print()
244 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { in EnumerateNamedMDNode() argument
245 for (unsigned i = 0, e = MD->getNumOperands(); i != e; ++i) in EnumerateNamedMDNode()
[all …]
DValueEnumerator.h108 unsigned getMetadataID(const llvm::Metadata *MD) const { in getMetadataID() argument
109 auto ID = getMetadataOrNullID(MD); in getMetadataID()
113 unsigned getMetadataOrNullID(const llvm::Metadata *MD) const { in getMetadataOrNullID() argument
114 return MDValueMap.lookup(MD); in getMetadataOrNullID()
181 void EnumerateMetadata(const llvm::Metadata *MD);
DBitcodeWriter.cpp540 static void WriteValueAsMetadata(const ValueAsMetadata *MD, in WriteValueAsMetadata() argument
545 Value *V = MD->getValue(); in WriteValueAsMetadata()
556 Metadata *MD = N->getOperand(i); in WriteMDTuple() local
557 assert(!(MD && isa<LocalAsMetadata>(MD)) && in WriteMDTuple()
559 if (!MD) { in WriteMDTuple()
563 } else if (const auto *MDC = dyn_cast<ConstantAsMetadata>(MD)) { in WriteMDTuple()
569 Record.push_back(VE.getMetadataID(MD)); in WriteMDTuple()
646 for (const Metadata *MD : MDs) { in WriteModuleMetadata() local
647 if (const MDNode *N = dyn_cast<MDNode>(MD)) { in WriteModuleMetadata()
659 if (const auto *MDC = dyn_cast<ConstantAsMetadata>(MD)) { in WriteModuleMetadata()
[all …]
/frameworks/compile/slang/BitWriter_3_2/
DValueEnumerator.cpp88 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() local
89 if (!MD) { in ValueEnumerator()
95 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()
98 EnumerateMetadata(MD->getMetadata()); in ValueEnumerator()
134 if (auto *MD = dyn_cast<MetadataAsValue>(V)) in getValueID() local
135 return getMetadataID(MD->getMetadata()); in getValueID()
184 const llvm::Metadata *MD = I->first; in print() local
186 MD->print(OS); in print()
244 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { in EnumerateNamedMDNode() argument
245 for (unsigned i = 0, e = MD->getNumOperands(); i != e; ++i) in EnumerateNamedMDNode()
[all …]
DValueEnumerator.h111 unsigned getMetadataID(const llvm::Metadata *MD) const { in getMetadataID() argument
112 auto ID = getMetadataOrNullID(MD); in getMetadataID()
116 unsigned getMetadataOrNullID(const llvm::Metadata *MD) const { in getMetadataOrNullID() argument
117 return MDValueMap.lookup(MD); in getMetadataOrNullID()
184 void EnumerateMetadata(const llvm::Metadata *MD);
DBitcodeWriter.cpp570 static void WriteValueAsMetadata(const ValueAsMetadata *MD, in WriteValueAsMetadata() argument
575 Value *V = MD->getValue(); in WriteValueAsMetadata()
586 Metadata *MD = N->getOperand(i); in WriteMDTuple() local
587 assert(!(MD && isa<LocalAsMetadata>(MD)) && in WriteMDTuple()
589 if (!MD) { in WriteMDTuple()
593 } else if (const auto *MDC = dyn_cast<ConstantAsMetadata>(MD)) { in WriteMDTuple()
599 Record.push_back(VE.getMetadataID(MD)); in WriteMDTuple()
676 for (const Metadata *MD : MDs) { in WriteModuleMetadata() local
677 if (const MDNode *N = dyn_cast<MDNode>(MD)) { in WriteModuleMetadata()
689 if (const auto *MDC = dyn_cast<ConstantAsMetadata>(MD)) { in WriteModuleMetadata()
[all …]
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.cpp88 auto *MD = dyn_cast<MetadataAsValue>(&Op); in ValueEnumerator() local
89 if (!MD) { in ValueEnumerator()
95 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()
98 EnumerateMetadata(MD->getMetadata()); in ValueEnumerator()
134 if (auto *MD = dyn_cast<MetadataAsValue>(V)) in getValueID() local
135 return getMetadataID(MD->getMetadata()); in getValueID()
184 const llvm::Metadata *MD = I->first; in print() local
186 MD->print(OS); in print()
244 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { in EnumerateNamedMDNode() argument
245 for (unsigned i = 0, e = MD->getNumOperands(); i != e; ++i) in EnumerateNamedMDNode()
[all …]
DValueEnumerator.h108 unsigned getMetadataID(const llvm::Metadata *MD) const { in getMetadataID() argument
109 auto ID = getMetadataOrNullID(MD); in getMetadataID()
113 unsigned getMetadataOrNullID(const llvm::Metadata *MD) const { in getMetadataOrNullID() argument
114 return MDValueMap.lookup(MD); in getMetadataOrNullID()
181 void EnumerateMetadata(const llvm::Metadata *MD);
DBitcodeWriter.cpp542 static void WriteValueAsMetadata(const ValueAsMetadata *MD, in WriteValueAsMetadata() argument
547 Value *V = MD->getValue(); in WriteValueAsMetadata()
558 Metadata *MD = N->getOperand(i); in WriteMDTuple() local
559 assert(!(MD && isa<LocalAsMetadata>(MD)) && in WriteMDTuple()
561 if (!MD) { in WriteMDTuple()
565 } else if (const auto *MDC = dyn_cast<ConstantAsMetadata>(MD)) { in WriteMDTuple()
571 Record.push_back(VE.getMetadataID(MD)); in WriteMDTuple()
648 for (const Metadata *MD : MDs) { in WriteModuleMetadata() local
649 if (const MDNode *N = dyn_cast<MDNode>(MD)) { in WriteModuleMetadata()
661 if (const auto *MDC = dyn_cast<ConstantAsMetadata>(MD)) { in WriteModuleMetadata()
[all …]
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
DBitcodeReader.cpp164 void push_back(Metadata *MD) { MDValuePtrs.emplace_back(MD); } in push_back() argument
181 void AssignValue(Metadata *MD, unsigned Idx);
722 void BitcodeReaderMDValueList::AssignValue(Metadata *MD, unsigned Idx) { in AssignValue() argument
724 push_back(MD); in AssignValue()
733 OldMD.reset(MD); in AssignValue()
739 PrevMD->replaceAllUsesWith(MD); in AssignValue()
747 if (Metadata *MD = MDValuePtrs[Idx]) in getValueFwdRef() local
748 return MD; in getValueFwdRef()
753 Metadata *MD = MDNode::getTemporary(Context, None).release(); in getValueFwdRef() local
754 MDValuePtrs[Idx].reset(MD); in getValueFwdRef()
[all …]
/frameworks/rs/driver/runtime/
Dbuild_bc_lib_internal.mk36 bc_cflags := -MD \
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
DBitcodeReader.cpp406 void push_back(Metadata *MD) { MDValuePtrs.emplace_back(MD); } in push_back() argument
423 void AssignValue(Metadata *MD, unsigned Idx);
997 void BitcodeReaderMDValueList::AssignValue(Metadata *MD, unsigned Idx) { in AssignValue() argument
999 push_back(MD); in AssignValue()
1008 OldMD.reset(MD); in AssignValue()
1014 PrevMD->replaceAllUsesWith(MD); in AssignValue()
1022 if (Metadata *MD = MDValuePtrs[Idx]) in getValueFwdRef() local
1023 return MD; in getValueFwdRef()
1028 Metadata *MD = MDNode::getTemporary(Context, None).release(); in getValueFwdRef() local
1029 MDValuePtrs[Idx].reset(MD); in getValueFwdRef()
[all …]
/frameworks/compile/slang/
DRSCCOptions.td104 def MD : Flag<["-"], "MD">, HelpText<"Emit .d dependency files">;
DREADME.rst53 * *-MD*
55 Note that *-MD* will tell llvm-rs-cc to output dependence information.
77 -MD \