Lines Matching defs:CMD
556 if (auto *CMD = dyn_cast<ConstantAsMetadata>(Op))
557 assert((!*MappedOp || M.getVM().count(CMD->getValue()) ||
591 static ConstantAsMetadata *wrapConstantAsMetadata(const ConstantAsMetadata &CMD,
593 if (CMD.getValue() == MappedV)
594 return const_cast<ConstantAsMetadata *>(&CMD);
608 if (auto *CMD = dyn_cast<ConstantAsMetadata>(Op))
609 return wrapConstantAsMetadata(*CMD, M.getVM().lookup(CMD->getValue()));
830 if (auto *CMD = dyn_cast<ConstantAsMetadata>(MD)) {
835 return wrapConstantAsMetadata(*CMD, mapValue(CMD->getValue()));