reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Module.h
  490   void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val);

References

lib/IR/AutoUpgrade.cpp
 3850         M.addModuleFlag(Module::Error, MarkerKey, ID);
lib/IR/Core.cpp
  384   unwrap(M)->addModuleFlag(map_to_llvmModFlagBehavior(Behavior),
lib/IR/Module.cpp
  347   addModuleFlag(Behavior, Key, ConstantAsMetadata::get(Val));
  536     addModuleFlag(ModFlagBehavior::Error, "CSProfileSummary", M);
  538     addModuleFlag(ModFlagBehavior::Error, "ProfileSummary", M);
lib/Transforms/Instrumentation/CGProfile.cpp
   97   M.addModuleFlag(Module::Append, "CG Profile", MDNode::get(Context, Nodes));
tools/clang/lib/CodeGen/CGObjC.cpp
 2185         CGF.CGM.getModule().addModuleFlag(llvm::Module::Error, markerKey, str);
tools/clang/lib/CodeGen/CGObjCMac.cpp
 4982   Mod.addModuleFlag(llvm::Module::Error, "Objective-C Image Info Section",
 5005       Mod.addModuleFlag(llvm::Module::Require, "Objective-C GC Only",
tools/clang/lib/CodeGen/CodeGenModule.cpp
  503     getModule().addModuleFlag(llvm::Module::Require,