Searched refs:ModFlags (Results 1 – 2 of 2) sorted by relevance
291 const NamedMDNode *ModFlags = getModuleFlagsMetadata(); in getModuleFlagsMetadata() local292 if (!ModFlags) return; in getModuleFlagsMetadata()294 for (const MDNode *Flag : ModFlags->operands()) { in getModuleFlagsMetadata()
4003 NamedMDNode *ModFlags = M.getModuleFlagsMetadata(); in UpgradeModuleFlags() local4004 if (!ModFlags) in UpgradeModuleFlags()4008 for (unsigned I = 0, E = ModFlags->getNumOperands(); I != E; ++I) { in UpgradeModuleFlags()4009 MDNode *Op = ModFlags->getOperand(I); in UpgradeModuleFlags()4030 ModFlags->setOperand(I, MDNode::get(M.getContext(), Ops)); in UpgradeModuleFlags()4048 ModFlags->setOperand(I, MDNode::get(M.getContext(), Ops)); in UpgradeModuleFlags()