Home | History | Annotate | Download | only in IR

Lines Matching refs:Key

307       MDString *Key = cast<MDString>(Flag->getOperand(1));
309 Flags.push_back(ModuleFlagEntry(MFB, Key, Val));
314 /// Return the corresponding value if Key appears in module flags, otherwise
316 Metadata *Module::getModuleFlag(StringRef Key) const {
320 if (Key == MFE.Key->getString())
343 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key,
348 MDString::get(Context, Key), Val};
351 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key,
353 addModuleFlag(Behavior, Key, ConstantAsMetadata::get(Val));
355 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key,
358 addModuleFlag(Behavior, Key, ConstantInt::get(Int32Ty, Val));