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

Declarations

include/llvm/IR/Module.h
  492   void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val);

References

examples/Kaleidoscope/Chapter9/toy.cpp
 1424   TheModule->addModuleFlag(Module::Warning, "Debug Info Version",
 1429     TheModule->addModuleFlag(llvm::Module::Warning, "Dwarf Version", 2);
lib/IR/AutoUpgrade.cpp
 4039     M.addModuleFlag(llvm::Module::Override, "Objective-C Class Properties",
lib/IR/Module.cpp
  499   addModuleFlag(ModFlagBehavior::Max, "PIC Level", PL);
  513   addModuleFlag(ModFlagBehavior::Max, "PIE Level", PL);
  531   addModuleFlag(ModFlagBehavior::Error, "Code Model", CL);
  556   addModuleFlag(ModFlagBehavior::Max, "RtLibUseGOT", 1);
lib/LTO/LTO.cpp
 1007     RegularLTO.CombinedModule->addModuleFlag(Module::Error, "LTOPostLink", 1);
lib/LTO/LTOCodeGenerator.cpp
  466   MergedModule->addModuleFlag(Module::Error, "LTOPostLink", 1);
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  284         M.addModuleFlag(Module::ModFlagBehavior::Error, MDKey,
  288         M.addModuleFlag(Module::ModFlagBehavior::Error, MDKey,
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  207     M.addModuleFlag(Module::Error, "ThinLTO", uint32_t(0));
  395   MergedM->addModuleFlag(Module::Error, "ThinLTO", uint32_t(0));
tools/clang/lib/CodeGen/BackendUtil.cpp
  850       TheModule->addModuleFlag(Module::Error, "EnableSplitLTOUnit",
  864           TheModule->addModuleFlag(Module::Error, "ThinLTO", uint32_t(0));
  865         TheModule->addModuleFlag(Module::Error, "EnableSplitLTOUnit",
 1273       TheModule->addModuleFlag(Module::Error, "EnableSplitLTOUnit",
 1287           TheModule->addModuleFlag(Module::Error, "ThinLTO", uint32_t(0));
 1288         TheModule->addModuleFlag(Module::Error, "EnableSplitLTOUnit",
tools/clang/lib/CodeGen/CGObjCMac.cpp
 4979   Mod.addModuleFlag(llvm::Module::Error, "Objective-C Version", ObjCABI);
 4980   Mod.addModuleFlag(llvm::Module::Error, "Objective-C Image Info Version",
 4987     Mod.addModuleFlag(llvm::Module::Override,
 4991     Mod.addModuleFlag(llvm::Module::Error,
 4997       Mod.addModuleFlag(llvm::Module::Error, "Objective-C GC Only",
 5012     Mod.addModuleFlag(llvm::Module::Error, "Objective-C Is Simulated",
 5016   Mod.addModuleFlag(llvm::Module::Error, "Objective-C Class Properties",
tools/clang/lib/CodeGen/CodeGenModule.cpp
  468     getModule().addModuleFlag(llvm::Module::Error, "NumRegisterParameters",
  474     getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version",
  479     getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1);
  482     getModule().addModuleFlag(llvm::Module::Warning, "CodeViewGHash", 1);
  486     getModule().addModuleFlag(llvm::Module::Warning, "cfguard", 2);
  489     getModule().addModuleFlag(llvm::Module::Warning, "cfguard", 1);
  496     getModule().addModuleFlag(llvm::Module::Error, "StrictVTablePointers",1);
  511     getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version",
  519   getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth);
  528     getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth);
  533     getModule().addModuleFlag(llvm::Module::Override, "Cross-DSO CFI", 1);
  537     getModule().addModuleFlag(llvm::Module::Override,
  545     getModule().addModuleFlag(llvm::Module::Override, "cf-protection-return",
  552     getModule().addModuleFlag(llvm::Module::Override, "cf-protection-branch",
  560     getModule().addModuleFlag(llvm::Module::Override, "nvvm-reflect-ftz",
tools/opt/Debugify.cpp
  164     M.addModuleFlag(Module::Warning, DIVersionKey, DEBUG_METADATA_VERSION);
tools/opt/opt.cpp
  662     M->addModuleFlag(Module::Error, "EnableSplitLTOUnit", SplitLTOUnit);