Lines Matching refs:MD
81 if (MDNode *MD = dyn_cast<MDNode>(*OI))
82 if (MD->isFunctionLocal() && MD->getFunction())
223 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) {
224 for (unsigned i = 0, e = MD->getNumOperands(); i != e; ++i)
225 EnumerateMetadata(MD->getOperand(i));
242 void ValueEnumerator::EnumerateMetadata(const Value *MD) {
243 assert((isa<MDNode>(MD) || isa<MDString>(MD)) && "Invalid metadata kind");
246 EnumerateType(MD->getType());
248 const MDNode *N = dyn_cast<MDNode>(MD);
258 unsigned &MDValueID = MDValueMap[MD];
264 MDValues.push_back(std::make_pair(MD, 1U));
483 if (MDNode *MD = dyn_cast<MDNode>(*OI))
484 if (MD->isFunctionLocal() && MD->getFunction())
486 FnLocalMDVector.push_back(MD);