/frameworks/compile/slang/BitWriter_2_9/ |
D | ValueEnumerator.cpp | 88 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 …]
|
D | ValueEnumerator.h | 108 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);
|
D | BitcodeWriter.cpp | 542 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/slang/BitWriter_3_2/ |
D | ValueEnumerator.cpp | 88 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 …]
|
D | ValueEnumerator.h | 111 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);
|
D | BitcodeWriter.cpp | 570 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_func/ |
D | ValueEnumerator.cpp | 88 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 …]
|
D | ValueEnumerator.h | 108 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);
|
D | BitcodeWriter.cpp | 540 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/libbcc/bcinfo/BitReader_2_7/ |
D | BitcodeReader.cpp | 164 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/ |
D | build_bc_lib_internal.mk | 36 bc_cflags := -MD \
|
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/ |
D | BitcodeReader.cpp | 406 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/ |
D | RSCCOptions.td | 104 def MD : Flag<["-"], "MD">, HelpText<"Emit .d dependency files">;
|
D | README.rst | 53 * *-MD* 55 Note that *-MD* will tell llvm-rs-cc to output dependence information. 77 -MD \
|