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

References

include/llvm/IR/Module.h
  155   static bool isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB);
  158     ModFlagBehavior Behavior;
  162     ModuleFlagEntry(ModFlagBehavior B, MDString *K, Metadata *V)
  490   void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val);
  491   void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Constant *Val);
  492   void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val);
lib/IR/Core.cpp
  293 static Module::ModFlagBehavior
  297     return Module::ModFlagBehavior::Error;
  299     return Module::ModFlagBehavior::Warning;
  301     return Module::ModFlagBehavior::Require;
  303     return Module::ModFlagBehavior::Override;
  305     return Module::ModFlagBehavior::Append;
  307     return Module::ModFlagBehavior::AppendUnique;
  313 map_from_llvmModFlagBehavior(Module::ModFlagBehavior Behavior) {
  315   case Module::ModFlagBehavior::Error:
  317   case Module::ModFlagBehavior::Warning:
  319   case Module::ModFlagBehavior::Require:
  321   case Module::ModFlagBehavior::Override:
  323   case Module::ModFlagBehavior::Append:
  325   case Module::ModFlagBehavior::AppendUnique:
lib/IR/Module.cpp
  277 bool Module::isValidModFlagBehavior(Metadata *MD, ModFlagBehavior &MFB) {
  295     ModFlagBehavior MFB;
  337 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key,
  345 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key,
  349 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key,
  499   addModuleFlag(ModFlagBehavior::Max, "PIC Level", PL);
  513   addModuleFlag(ModFlagBehavior::Max, "PIE Level", PL);
  531   addModuleFlag(ModFlagBehavior::Error, "Code Model", CL);
  536     addModuleFlag(ModFlagBehavior::Error, "CSProfileSummary", M);
  538     addModuleFlag(ModFlagBehavior::Error, "ProfileSummary", M);
  556   addModuleFlag(ModFlagBehavior::Max, "RtLibUseGOT", 1);
  569   addModuleFlag(ModFlagBehavior::Warning, "SDK Version",
lib/IR/Verifier.cpp
 1398   Module::ModFlagBehavior MFB;
lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  284         M.addModuleFlag(Module::ModFlagBehavior::Error, MDKey,
  288         M.addModuleFlag(Module::ModFlagBehavior::Error, MDKey,