Searched refs:ModFlags (Results 1 – 4 of 4) sorted by relevance
283 const NamedMDNode *ModFlags = getModuleFlagsMetadata(); in getModuleFlagsMetadata() local284 if (!ModFlags) return; in getModuleFlagsMetadata()286 for (const MDNode *Flag : ModFlags->operands()) { in getModuleFlagsMetadata()
3566 NamedMDNode *ModFlags = M.getModuleFlagsMetadata(); in UpgradeModuleFlags() local3567 if (!ModFlags) in UpgradeModuleFlags()3571 for (unsigned I = 0, E = ModFlags->getNumOperands(); I != E; ++I) { in UpgradeModuleFlags()3572 MDNode *Op = ModFlags->getOperand(I); in UpgradeModuleFlags()3593 ModFlags->setOperand(I, MDNode::get(M.getContext(), Ops)); in UpgradeModuleFlags()3611 ModFlags->setOperand(I, MDNode::get(M.getContext(), Ops)); in UpgradeModuleFlags()
304 const NamedMDNode *ModFlags = getModuleFlagsMetadata(); in getModuleFlagsMetadata() local305 if (!ModFlags) return; in getModuleFlagsMetadata()307 for (const MDNode *Flag : ModFlags->operands()) { in getModuleFlagsMetadata()
1454 const NamedMDNode *ModFlags = M.getModuleFlagsMetadata(); in UpgradeModuleFlags() local1455 if (!ModFlags) in UpgradeModuleFlags()1459 for (unsigned I = 0, E = ModFlags->getNumOperands(); I != E; ++I) { in UpgradeModuleFlags()1460 MDNode *Op = ModFlags->getOperand(I); in UpgradeModuleFlags()