Lines Matching full:mdnode
145 SmallPtrSet<MDNode *, 32> MDNodes;
260 void visitMDNode(MDNode &MD, Function *F);
262 void visitModuleFlag(MDNode *Op, DenseMap<MDString*, MDNode*> &SeenIDs,
263 SmallVectorImpl<MDNode*> &Requirements);
569 MDNode *MD = NMD.getOperand(i);
579 void Verifier::visitMDNode(MDNode &MD, Function *F) {
591 if (MDNode *N = dyn_cast<MDNode>(Op)) {
620 DenseMap<MDString*, MDNode*> SeenIDs;
621 SmallVector<MDNode*, 16> Requirements;
628 MDNode *Requirement = Requirements[I];
632 MDNode *Op = SeenIDs.lookup(Flag);
648 void Verifier::visitModuleFlag(MDNode *Op, DenseMap<MDString*, MDNode*>&SeenIDs,
649 SmallVectorImpl<MDNode*> &Requirements) {
679 // The value should itself be an MDNode with two operands, a flag ID (an
681 MDNode *Value = dyn_cast<MDNode>(Op->getOperand(2));
698 // These behavior types require the operand be an MDNode.
699 Assert1(isa<MDNode>(Op->getOperand(2)),
1753 if (MDNode *Range = LI.getMetadata(LLVMContext::MD_range)) {
2082 if (MDNode *MD = I.getMetadata(LLVMContext::MD_fpmath)) {
2096 MDNode *MD = I.getMetadata(LLVMContext::MD_range);
2219 // If the intrinsic takes MDNode arguments, verify that they are either global
2222 if (MDNode *MD = dyn_cast<MDNode>(CI.getArgOperand(i)))
2235 Assert1(CI.getArgOperand(0) && isa<MDNode>(CI.getArgOperand(0)),
2237 MDNode *MD = cast<MDNode>(CI.getArgOperand(0));
2245 Assert1(CI.getArgOperand(0) && isa<MDNode>(CI.getArgOperand(0)),