Lines Matching refs:MD
83 if (MDNode *MD = dyn_cast<MDNode>(&Op)) in ValueEnumerator() local
84 if (MD->isFunctionLocal() && MD->getFunction()) in ValueEnumerator()
220 void ValueEnumerator::EnumerateNamedMDNode(const NamedMDNode *MD) { in EnumerateNamedMDNode() argument
221 for (unsigned i = 0, e = MD->getNumOperands(); i != e; ++i) in EnumerateNamedMDNode()
222 EnumerateMetadata(MD->getOperand(i)); in EnumerateNamedMDNode()
239 void ValueEnumerator::EnumerateMetadata(const Value *MD) { in EnumerateMetadata() argument
240 assert((isa<MDNode>(MD) || isa<MDString>(MD)) && "Invalid metadata kind"); in EnumerateMetadata()
243 EnumerateType(MD->getType()); in EnumerateMetadata()
245 const MDNode *N = dyn_cast<MDNode>(MD); in EnumerateMetadata()
255 unsigned &MDValueID = MDValueMap[MD]; in EnumerateMetadata()
261 MDValues.push_back(std::make_pair(MD, 1U)); in EnumerateMetadata()
484 if (MDNode *MD = dyn_cast<MDNode>(*OI)) in incorporateFunction() local
485 if (MD->isFunctionLocal() && MD->getFunction()) in incorporateFunction()
487 FnLocalMDVector.push_back(MD); in incorporateFunction()