Home
last modified time | relevance | path

Searched refs:getModuleFlag (Results 1 – 25 of 49) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DModule.cpp322 Metadata *Module::getModuleFlag(StringRef Key) const { in getModuleFlag() function in Module
550 cast_or_null<ConstantAsMetadata>(getModuleFlag("NumRegisterParameters")); in getNumberRegisterParameters()
557 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Dwarf Version")); in getDwarfVersion()
564 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("DWARF64")); in isDwarf64()
569 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("CodeView")); in getCodeViewFlag()
589 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIC Level")); in getPICLevel()
605 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIE Level")); in getPIELevel()
619 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Code Model")); in getCodeModel()
644 return (IsCS ? getModuleFlag("CSProfileSummary") in getProfileSummary()
645 : getModuleFlag("ProfileSummary")); in getProfileSummary()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64MachineFunctionInfo.cpp47 M.getModuleFlag("sign-return-address"))) { in GetSignReturnAddress()
50 M.getModuleFlag("sign-return-address-all"))) in GetSignReturnAddress()
72 F.getParent()->getModuleFlag("sign-return-address-with-bkey"))) in ShouldSignWithBKey()
98 F.getParent()->getModuleFlag("branch-target-enforcement"))) in AArch64FunctionInfo()
H A DAArch64KCFI.cpp98 if (!M->getModuleFlag("kcfi")) in runOnMachineFunction()
H A DAArch64AsmPrinter.cpp212 if (M.getModuleFlag("cfguard")) { in emitStartOfAsmFile()
217 if (M.getModuleFlag("ehcontguard")) { in emitStartOfAsmFile()
222 if (M.getModuleFlag("ms-kernel")) { in emitStartOfAsmFile()
238 M.getModuleFlag("branch-target-enforcement"))) in emitStartOfAsmFile()
243 M.getModuleFlag("sign-return-address"))) in emitStartOfAsmFile()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMMachineFunctionInfo.cpp23 F.getParent()->getModuleFlag("branch-target-enforcement"))) in GetBranchTargetEnforcement()
41 M.getModuleFlag("sign-return-address"))) { in GetSignReturnAddress()
44 M.getModuleFlag("sign-return-address-all"))) in GetSignReturnAddress()
H A DARMAsmPrinter.cpp745 SourceModule->getModuleFlag("wchar_size"))) { in emitAttributes()
756 SourceModule->getModuleFlag("min_enum_size"))) { in emitAttributes()
765 SourceModule->getModuleFlag("sign-return-address")); in emitAttributes()
778 SourceModule->getModuleFlag("branch-target-enforcement")); in emitAttributes()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86AsmPrinter.cpp71 MF.getMMI().getModule()->getModuleFlag("indirect_branch_cs_prefix"); in runOnMachineFunction()
155 if (!F.getParent()->getModuleFlag("kcfi")) in emitKCFITypeId()
758 if (M.getModuleFlag("cf-protection-branch")) in emitStartOfAsmFile()
760 if (M.getModuleFlag("cf-protection-return")) in emitStartOfAsmFile()
812 if (M.getModuleFlag("cfguard")) { in emitStartOfAsmFile()
817 if (M.getModuleFlag("ehcontguard")) { in emitStartOfAsmFile()
822 if (M.getModuleFlag("ms-kernel")) { in emitStartOfAsmFile()
H A DX86ReturnThunks.cpp80 MF.getMMI().getModule()->getModuleFlag("indirect_branch_cs_prefix"); in runOnMachineFunction()
H A DX86KCFI.cpp133 if (!M->getModuleFlag("kcfi")) in runOnMachineFunction()
H A DX86IndirectBranchTracking.cpp120 Metadata *isCFProtectionSupported = M->getModuleFlag("cf-protection-branch"); in runOnMachineFunction()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DEHContGuardCatchret.cpp64 if (!MF.getMMI().getModule()->getModuleFlag("ehcontguard")) in runOnMachineFunction()
H A DCFGuardLongjmp.cpp64 if (!MF.getMMI().getModule()->getModuleFlag("cfguard")) in runOnMachineFunction()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DKCFI.cpp53 if (!M.getModuleFlag("kcfi")) in run()
/openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp170 F.getParent()->getModuleFlag("nvvm-reflect-ftz"))) in runNVVMReflect()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/
H A DGlobalDCE.cpp167 cast_or_null<ConstantAsMetadata>(M.getModuleFlag("LTOPostLink")); in ScanVTables()
273 M.getModuleFlag("Virtual Function Elim")); in AddVirtualFunctionDependencies()
H A DCrossDSOCFI.cpp158 if (M.getModuleFlag("Cross-DSO CFI") == nullptr) in runOnModule()
H A DLowerTypeTests.cpp244 F->getParent()->getModuleFlag("CFI Canonical Jump Tables")); in isJumpTableCanonical()
1192 M.getModuleFlag("cf-protection-branch"))) in getJumpTableEntrySize()
1201 M.getModuleFlag("branch-target-enforcement"))) in getJumpTableEntrySize()
1225 Dest->getParent()->getModuleFlag("cf-protection-branch"))) in createJumpTableEntry()
1238 Dest->getParent()->getModuleFlag("branch-target-enforcement"))) in createJumpTableEntry()
1924 const bool CrossDsoCfi = M.getModuleFlag("Cross-DSO CFI") != nullptr; in lower()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/ObjCARC/
H A DObjCARC.h94 return dyn_cast_or_null<MDString>(M.getModuleFlag(MarkerKey)); in getRVInstMarker()
/openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchTargetMachine.cpp84 F.getParent()->getModuleFlag("target-abi"))) { in getSubtargetImpl()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/CFGuard/
H A DCFGuard.cpp231 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("cfguard"))) in doInitialization()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DModuleUtils.cpp154 if (!M.getModuleFlag("kcfi")) in setKCFIType()
167 M.getModuleFlag("kcfi-offset"))) { in setKCFIType()
/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVTargetMachine.cpp184 F.getParent()->getModuleFlag("target-abi"))) { in getSubtargetImpl()
H A DRISCVAsmPrinter.cpp202 dyn_cast_or_null<MDString>(M.getModuleFlag("target-abi"))) in emitStartOfAsmFile()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DBackendUtil.cpp1009 if (!TheModule->getModuleFlag("EnableSplitLTOUnit")) in RunOptimizationPipeline()
1030 if (!TheModule->getModuleFlag("ThinLTO")) in RunOptimizationPipeline()
1032 if (!TheModule->getModuleFlag("EnableSplitLTOUnit")) in RunOptimizationPipeline()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp745 M.getModuleFlag("EnableSplitLTOUnit"))) in buildModuleSummaryIndex()
837 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("ThinLTO"))) in buildModuleSummaryIndex()

12