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

/frameworks/compile/slang/BitWriter_2_9/
H A DValueEnumerator.cpp88 auto *MD = dyn_cast<MetadataAsValue>(&Op); local
89 if (!MD) {
95 if (isa<LocalAsMetadata>(MD->getMetadata()))
98 EnumerateMetadata(MD->getMetadata());
134 if (auto *MD = dyn_cast<MetadataAsValue>(V))
135 return getMetadataID(MD->getMetadata());
184 const llvm::Metadata *MD = I->first; local
186 MD->print(OS);
244 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { argument
245 for (unsigned i = 0, e = MD
253 Metadata *MD = N->getOperand(i); local
261 EnumerateMetadata(const llvm::Metadata *MD) argument
[all...]
H A DValueEnumerator.h108 unsigned getMetadataID(const llvm::Metadata *MD) const {
109 auto ID = getMetadataOrNullID(MD);
113 unsigned getMetadataOrNullID(const llvm::Metadata *MD) const {
114 return MDValueMap.lookup(MD);
181 void EnumerateMetadata(const llvm::Metadata *MD);
H A DBitcodeWriter.cpp541 static void WriteValueAsMetadata(const ValueAsMetadata *MD, argument
546 Value *V = MD->getValue();
557 Metadata *MD = N->getOperand(i); local
558 assert(!(MD && isa<LocalAsMetadata>(MD)) &&
560 if (!MD) {
564 } else if (const auto *MDC = dyn_cast<ConstantAsMetadata>(MD)) {
570 Record.push_back(VE.getMetadataID(MD));
647 for (const Metadata *MD : MDs) {
648 if (const MDNode *N = dyn_cast<MDNode>(MD)) {
[all...]
/frameworks/compile/slang/BitWriter_2_9_func/
H A DValueEnumerator.cpp88 auto *MD = dyn_cast<MetadataAsValue>(&Op); local
89 if (!MD) {
95 if (isa<LocalAsMetadata>(MD->getMetadata()))
98 EnumerateMetadata(MD->getMetadata());
134 if (auto *MD = dyn_cast<MetadataAsValue>(V))
135 return getMetadataID(MD->getMetadata());
184 const llvm::Metadata *MD = I->first; local
186 MD->print(OS);
244 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { argument
245 for (unsigned i = 0, e = MD
253 Metadata *MD = N->getOperand(i); local
261 EnumerateMetadata(const llvm::Metadata *MD) argument
[all...]
H A DValueEnumerator.h108 unsigned getMetadataID(const llvm::Metadata *MD) const {
109 auto ID = getMetadataOrNullID(MD);
113 unsigned getMetadataOrNullID(const llvm::Metadata *MD) const {
114 return MDValueMap.lookup(MD);
181 void EnumerateMetadata(const llvm::Metadata *MD);
H A DBitcodeWriter.cpp540 static void WriteValueAsMetadata(const ValueAsMetadata *MD, argument
545 Value *V = MD->getValue();
556 Metadata *MD = N->getOperand(i); local
557 assert(!(MD && isa<LocalAsMetadata>(MD)) &&
559 if (!MD) {
563 } else if (const auto *MDC = dyn_cast<ConstantAsMetadata>(MD)) {
569 Record.push_back(VE.getMetadataID(MD));
646 for (const Metadata *MD : MDs) {
647 if (const MDNode *N = dyn_cast<MDNode>(MD)) {
[all...]
/frameworks/compile/slang/BitWriter_3_2/
H A DValueEnumerator.cpp88 auto *MD = dyn_cast<MetadataAsValue>(&Op); local
89 if (!MD) {
95 if (isa<LocalAsMetadata>(MD->getMetadata()))
98 EnumerateMetadata(MD->getMetadata());
134 if (auto *MD = dyn_cast<MetadataAsValue>(V))
135 return getMetadataID(MD->getMetadata());
184 const llvm::Metadata *MD = I->first; local
186 MD->print(OS);
244 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { argument
245 for (unsigned i = 0, e = MD
253 Metadata *MD = N->getOperand(i); local
261 EnumerateMetadata(const llvm::Metadata *MD) argument
[all...]
H A DValueEnumerator.h111 unsigned getMetadataID(const llvm::Metadata *MD) const {
112 auto ID = getMetadataOrNullID(MD);
116 unsigned getMetadataOrNullID(const llvm::Metadata *MD) const {
117 return MDValueMap.lookup(MD);
184 void EnumerateMetadata(const llvm::Metadata *MD);
H A DBitcodeWriter.cpp569 static void WriteValueAsMetadata(const ValueAsMetadata *MD, argument
574 Value *V = MD->getValue();
585 Metadata *MD = N->getOperand(i); local
586 assert(!(MD && isa<LocalAsMetadata>(MD)) &&
588 if (!MD) {
592 } else if (const auto *MDC = dyn_cast<ConstantAsMetadata>(MD)) {
598 Record.push_back(VE.getMetadataID(MD));
675 for (const Metadata *MD : MDs) {
676 if (const MDNode *N = dyn_cast<MDNode>(MD)) {
[all...]
/frameworks/rs/driver/runtime/
H A Dbuild_bc_lib_internal.mk43 bc_cflags := -MD \
/frameworks/compile/slang/
H A DRSCCOptions.td104 def MD : Flag<["-"], "MD">, HelpText<"Emit .d dependency files">;
/frameworks/compile/libbcc/bcinfo/BitReader_2_7/
H A DBitcodeReader.cpp164 void push_back(Metadata *MD) { MDValuePtrs.emplace_back(MD); }
181 void AssignValue(Metadata *MD, unsigned Idx);
713 void BitcodeReaderMDValueList::AssignValue(Metadata *MD, unsigned Idx) { argument
715 push_back(MD);
724 OldMD.reset(MD);
730 PrevMD->replaceAllUsesWith(MD);
738 if (Metadata *MD = MDValuePtrs[Idx])
739 return MD;
744 Metadata *MD local
1454 MDNode *MD = dyn_cast_or_null<MDNode>(MDValueList.getValueFwdRef(Record[i])); local
1488 auto *MD = local
1502 Metadata *MD = MDString::get(Context, String); local
[all...]
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/
H A DBitcodeReader.cpp407 void push_back(Metadata *MD) { MDValuePtrs.emplace_back(MD); }
424 void AssignValue(Metadata *MD, unsigned Idx);
989 void BitcodeReaderMDValueList::AssignValue(Metadata *MD, unsigned Idx) { argument
991 push_back(MD);
1000 OldMD.reset(MD);
1006 PrevMD->replaceAllUsesWith(MD);
1014 if (Metadata *MD = MDValuePtrs[Idx])
1015 return MD;
1020 Metadata *MD local
1759 MDNode *MD = dyn_cast_or_null<MDNode>(MDValueList.getValueFwdRef(Record[i])); local
1782 auto *MD = local
1796 Metadata *MD = MDString::get(Context, String); local
[all...]

Completed in 354 milliseconds