Home
last modified time | relevance | path

Searched refs:ModFlags (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/llvm/lib/IR/
DModule.cpp304 const NamedMDNode *ModFlags = getModuleFlagsMetadata(); in getModuleFlagsMetadata() local
305 if (!ModFlags) return; in getModuleFlagsMetadata()
307 for (const MDNode *Flag : ModFlags->operands()) { in getModuleFlagsMetadata()
376 NamedMDNode *ModFlags = getOrInsertModuleFlagsMetadata(); in setModuleFlag() local
378 for (unsigned I = 0, E = ModFlags->getNumOperands(); I != E; ++I) { in setModuleFlag()
379 MDNode *Flag = ModFlags->getOperand(I); in setModuleFlag()
DAutoUpgrade.cpp4147 NamedMDNode *ModFlags = M.getModuleFlagsMetadata(); in UpgradeModuleFlags() local
4148 if (!ModFlags) in UpgradeModuleFlags()
4158 for (unsigned I = 0, E = ModFlags->getNumOperands(); I != E; ++I) { in UpgradeModuleFlags()
4159 MDNode *Op = ModFlags->getOperand(I); in UpgradeModuleFlags()
4180 ModFlags->setOperand(I, MDNode::get(M.getContext(), Ops)); in UpgradeModuleFlags()
4198 ModFlags->setOperand(I, MDNode::get(M.getContext(), Ops)); in UpgradeModuleFlags()
4224 ModFlags->setOperand(I, MDNode::get(M.getContext(), Ops)); in UpgradeModuleFlags()
/external/llvm/lib/IR/
DModule.cpp304 const NamedMDNode *ModFlags = getModuleFlagsMetadata(); in getModuleFlagsMetadata() local
305 if (!ModFlags) return; in getModuleFlagsMetadata()
307 for (const MDNode *Flag : ModFlags->operands()) { in getModuleFlagsMetadata()
DAutoUpgrade.cpp1454 const NamedMDNode *ModFlags = M.getModuleFlagsMetadata(); in UpgradeModuleFlags() local
1455 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModule.cpp291 const NamedMDNode *ModFlags = getModuleFlagsMetadata(); in getModuleFlagsMetadata() local
292 if (!ModFlags) return; in getModuleFlagsMetadata()
294 for (const MDNode *Flag : ModFlags->operands()) { in getModuleFlagsMetadata()
DAutoUpgrade.cpp4003 NamedMDNode *ModFlags = M.getModuleFlagsMetadata(); in UpgradeModuleFlags() local
4004 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()