| /freebsd/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Module.cpp | 352 Metadata *Module::getModuleFlag(StringRef Key) const { in getModuleFlag() function in Module 577 cast_or_null<ConstantAsMetadata>(getModuleFlag("NumRegisterParameters")); in getNumberRegisterParameters() 584 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Dwarf Version")); in getDwarfVersion() 591 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("DWARF64")); in isDwarf64() 596 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("CodeView")); in getCodeViewFlag() 616 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIC Level")); in getPICLevel() 632 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIE Level")); in getPIELevel() 646 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Code Model")); in getCodeModel() 665 cast_or_null<ConstantAsMetadata>(getModuleFlag("Large Data Threshold")); in getLargeDataThreshold() 688 return (IsCS ? getModuleFlag("CSProfileSummary") in getProfileSummary() [all …]
|
| H A D | EHPersonalities.cpp | 109 bool EHa = M->getModuleFlag("eh-asynch"); in canSimplifyInvokeNoUnwind()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64MachineFunctionInfo.cpp | 86 M->getModuleFlag("ptrauth-elf-got")); in hasELFSignedGOTHelper() 118 F.getParent()->getModuleFlag("stack-probe-size"))) in AArch64FunctionInfo() 134 F.getParent()->getModuleFlag("probe-stack"))) in AArch64FunctionInfo()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVMachineFunctionInfo.cpp | 40 F.getParent()->getModuleFlag("stack-probe-size"))) in RISCVMachineFunctionInfo() 52 F.getParent()->getModuleFlag("probe-stack"))) in RISCVMachineFunctionInfo()
|
| H A D | RISCVTargetMachine.cpp | 265 F.getParent()->getModuleFlag("target-abi"))) { in getSubtargetImpl() 598 return MF.getFunction().getParent()->getModuleFlag("kcfi"); in addPreEmitPass2()
|
| H A D | RISCVAsmPrinter.cpp | 549 dyn_cast_or_null<MDString>(M.getModuleFlag("target-abi"))) in emitStartOfAsmFile() 555 if (auto *MD = dyn_cast_or_null<MDNode>(M.getModuleFlag("riscv-isa"))) { in emitStartOfAsmFile() 947 if (const Metadata *const Flag = M.getModuleFlag("cf-protection-return"); in emitNoteGnuProperty()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | EHContGuardTargets.cpp | 65 if (!MF.getFunction().getParent()->getModuleFlag("ehcontguard")) in runOnMachineFunction()
|
| H A D | CFGuardLongjmp.cpp | 65 if (!MF.getFunction().getParent()->getModuleFlag("cfguard")) in runOnMachineFunction()
|
| H A D | MachineModuleInfoImpls.cpp | 68 M->getModuleFlag("ptrauth-sign-personality")); in MachineModuleInfoELF()
|
| H A D | KCFI.cpp | 92 if (!M->getModuleFlag("kcfi")) in runOnMachineFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86AsmPrinter.cpp | 81 IndCSPrefix = M->getModuleFlag("indirect_branch_cs_prefix"); in runOnMachineFunction() 165 if (!F.getParent()->getModuleFlag("kcfi")) in emitKCFITypeId() 194 if (F.getParent()->getModuleFlag("kcfi-arity")) { in emitKCFITypeId() 892 if (M.getModuleFlag("cf-protection-branch")) in emitStartOfAsmFile() 894 if (M.getModuleFlag("cf-protection-return")) in emitStartOfAsmFile() 931 if (M.getModuleFlag("import-call-optimization")) in emitStartOfAsmFile()
|
| H A D | X86ReturnThunks.cpp | 81 MF.getFunction().getParent()->getModuleFlag("indirect_branch_cs_prefix"); in runOnMachineFunction()
|
| H A D | X86IndirectBranchTracking.cpp | 121 Metadata *isCFProtectionSupported = M->getModuleFlag("cf-protection-branch"); in runOnMachineFunction()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ModuleUtils.cpp | 203 if (!M.getModuleFlag("kcfi")) in setKCFIType() 209 if (M.getModuleFlag("cfi-normalize-integers")) in setKCFIType() 218 M.getModuleFlag("kcfi-offset"))) { in setKCFIType() 351 M->getModuleFlag("Unique Source File Identifier")); in getUniqueModuleId()
|
| H A D | Instrumentation.cpp | 29 if (!M.getModuleFlag(Flag)) { in checkIfAlreadyInstrumented()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | KCFI.cpp | 49 if (!M.getModuleFlag("kcfi")) in run()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILShaderFlags.cpp | 251 M.getModuleFlag("dx.nativelowprec"))) in gatherGlobalModuleFlags() 272 M.getModuleFlag("dx.resmayalias"))) in initialize()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZAsmPrinter.cpp | 979 if (M.getModuleFlag("s390x-visible-vector-ABI")) { in emitAttributes() 1189 if (auto *MD = M.getModuleFlag("zos_product_id")) in getProductID() 1198 M.getModuleFlag("zos_product_major_version"))) in getProductVersion() 1205 M.getModuleFlag("zos_product_minor_version"))) in getProductRelease() 1212 M.getModuleFlag("zos_product_patchlevel"))) in getProductPatch() 1220 M.getModuleFlag("zos_translation_time"))) { in getTranslationTime() 1621 if (auto *MD = M.getModuleFlag("zos_cu_language")) { in emitPPA2() 1645 if (auto *MD = M.getModuleFlag("zos_le_char_mode")) { in emitPPA2()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | ObjCARC.h | 95 return dyn_cast_or_null<MDString>(M.getModuleFlag(MarkerKey)); in getRVInstMarker()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | CrossDSOCFI.cpp | 142 if (M.getModuleFlag("Cross-DSO CFI") == nullptr) in runOnModule()
|
| H A D | ThinLTOBitcodeWriter.cpp | 266 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("UnifiedLTO"))) in enableUnifiedLTO() 528 M.getModuleFlag("EnableSplitLTOUnit"))) in enableSplitLTOUnit()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
| H A D | NVVMReflect.cpp | 108 M.getModuleFlag(CUDA_FTZ_MODULE_NAME))) in populateReflectMap()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/CFGuard/ |
| H A D | CFGuard.cpp | 242 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("cfguard"))) in doInitialization()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchTargetMachine.cpp | 127 F.getParent()->getModuleFlag("target-abi"))) { in getSubtargetImpl()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ModuleSummaryAnalysis.cpp | 943 M.getModuleFlag("EnableSplitLTOUnit"))) in buildModuleSummaryIndex() 946 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("UnifiedLTO"))) in buildModuleSummaryIndex() 1039 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("ThinLTO"))) in buildModuleSummaryIndex()
|