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

Declarations

include/llvm/IR/Module.h
  477   Metadata *getModuleFlag(StringRef Key) const;

References

lib/Analysis/ModuleSummaryAnalysis.cpp
  645           M.getModuleFlag("EnableSplitLTOUnit")))
  727           mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("ThinLTO")))
lib/Analysis/TargetLibraryInfo.cpp
 1610       M.getModuleFlag("wchar_size")))
lib/Bitcode/Reader/BitcodeReader.cpp
 2924   if (Metadata *Val = TheModule->getModuleFlag("Linker Options")) {
lib/Bitcode/Writer/BitcodeWriter.cpp
 3735           mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("ThinLTO")))
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  381           MMI->getModule()->getModuleFlag("cfguard")))
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  170       MMI->getModule()->getModuleFlag("CodeViewGHash"));
lib/CodeGen/CFGuardLongjmp.cpp
   63   if (!MF.getMMI().getModule()->getModuleFlag("cfguard"))
lib/IR/Core.cpp
  378   return wrap(unwrap(M)->getModuleFlag({Key, KeyLen}));
lib/IR/DebugInfo.cpp
  684           M.getModuleFlag("Debug Info Version")))
lib/IR/Module.cpp
  455       cast_or_null<ConstantAsMetadata>(getModuleFlag("NumRegisterParameters"));
  462   auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Dwarf Version"));
  469   auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("CodeView"));
  489   auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIC Level"));
  503   auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIE Level"));
  517   auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Code Model"));
  542   return (IsCS ? getModuleFlag("CSProfileSummary")
  543                : getModuleFlag("ProfileSummary"));
  551   auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("RtLibUseGOT"));
  574   auto *CM = dyn_cast_or_null<ConstantAsMetadata>(getModuleFlag("SDK Version"));
lib/Target/ARM/ARMAsmPrinter.cpp
  730               SourceModule->getModuleFlag("wchar_size"))) {
  741               SourceModule->getModuleFlag("min_enum_size"))) {
lib/Target/NVPTX/NVVMReflect.cpp
  167               F.getParent()->getModuleFlag("nvvm-reflect-ftz")))
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  230     Metadata *Policy = M.getModuleFlag(MDKey);
lib/Target/X86/X86AsmPrinter.cpp
  562     if (M.getModuleFlag("cf-protection-branch"))
  564     if (M.getModuleFlag("cf-protection-return"))
  617     if (M.getModuleFlag("cfguard"))
lib/Target/X86/X86ISelLowering.cpp
 3630   Metadata *IsCFProtectionSupported = M->getModuleFlag("cf-protection-branch");
30574   if (MF->getMMI().getModule()->getModuleFlag("cf-protection-return")) {
30835   if (MF->getMMI().getModule()->getModuleFlag("cf-protection-return")) {
45089   Metadata *IsCFProtectionSupported = M->getModuleFlag("cf-protection-branch");
lib/Target/X86/X86IndirectBranchTracking.cpp
  104       MF.getMMI().getModule()->getModuleFlag("cf-protection-branch");
lib/Transforms/CFGuard/CFGuard.cpp
  230           mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("cfguard")))
lib/Transforms/IPO/CrossDSOCFI.cpp
  162   if (M.getModuleFlag("Cross-DSO CFI") == nullptr)
lib/Transforms/IPO/GlobalDCE.cpp
  163       cast_or_null<ConstantAsMetadata>(M.getModuleFlag("LTOPostLink"));
lib/Transforms/IPO/LowerTypeTests.cpp
  237       F->getParent()->getModuleFlag("CFI Canonical Jump Tables"));
 1834   const bool CrossDsoCfi = M.getModuleFlag("Cross-DSO CFI") != nullptr;
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  433           M.getModuleFlag("EnableSplitLTOUnit")))
lib/Transforms/ObjCARC/ObjCARCContract.cpp
  779   RVInstMarker = dyn_cast_or_null<MDString>(M.getModuleFlag(MarkerKey));
tools/clang/lib/CodeGen/BackendUtil.cpp
  863         if (!TheModule->getModuleFlag("ThinLTO"))
 1286         if (!TheModule->getModuleFlag("ThinLTO"))
tools/clang/lib/CodeGen/CGObjC.cpp
 2183       if (!CGF.CGM.getModule().getModuleFlag(markerKey)) {
tools/opt/Debugify.cpp
  163   if (!M.getModuleFlag(DIVersionKey))