Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/IR/
H A DModule.cpp312 Metadata *Module::getModuleFlag(StringRef Key) const { in getModuleFlag() function in Module
457 cast_or_null<ConstantAsMetadata>(getModuleFlag("NumRegisterParameters")); in getNumberRegisterParameters()
464 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Dwarf Version")); in getDwarfVersion()
471 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("CodeView")); in getCodeViewFlag()
491 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIC Level")); in getPICLevel()
505 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIE Level")); in getPIELevel()
519 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Code Model")); in getCodeModel()
541 return getModuleFlag("ProfileSummary"); in getProfileSummary()
549 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("RtLibUseGOT")); in getRtLibUseGOT()
572 auto *CM = dyn_cast_or_null<ConstantAsMetadata>(getModuleFlag("SDK Version")); in getSDKVersion()
H A DDebugInfo.cpp684 M.getModuleFlag("Debug Info Version"))) in getDebugMetadataVersionFromModule()
H A DCore.cpp370 return wrap(unwrap(M)->getModuleFlag({Key, KeyLen})); in LLVMGetModuleFlag()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86IndirectBranchTracking.cpp94 MF.getMMI().getModule()->getModuleFlag("cf-protection-branch"); in runOnMachineFunction()
H A DX86AsmPrinter.cpp551 if (M.getModuleFlag("cf-protection-branch")) in EmitStartOfAsmFile()
553 if (M.getModuleFlag("cf-protection-return")) in EmitStartOfAsmFile()
606 if (M.getModuleFlag("cfguardtable")) in EmitStartOfAsmFile()
H A DX86ISelLowering.cpp3611 Metadata *IsCFProtectionSupported = M->getModuleFlag("cf-protection-branch"); in LowerCall()
29162 if (MF->getMMI().getModule()->getModuleFlag("cf-protection-return")) { in emitEHSjLjSetJmp()
29423 if (MF->getMMI().getModule()->getModuleFlag("cf-protection-return")) { in emitEHSjLjLongJmp()
41678 Metadata *IsCFProtectionSupported = M->getModuleFlag("cf-protection-branch"); in expandIndirectJTBranch()
/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp168 F.getParent()->getModuleFlag("nvvm-reflect-ftz"))) in runOnFunction()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DCrossDSOCFI.cpp167 if (M.getModuleFlag("Cross-DSO CFI") == nullptr) in runOnModule()
H A DThinLTOBitcodeWriter.cpp427 M.getModuleFlag("EnableSplitLTOUnit"))) in requiresSplit()
H A DLowerTypeTests.cpp1771 const bool CrossDsoCfi = M.getModuleFlag("Cross-DSO CFI") != nullptr; in lower()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DModuleSummaryAnalysis.cpp462 M.getModuleFlag("EnableSplitLTOUnit"))) in buildModuleSummaryIndex()
543 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("ThinLTO"))) in buildModuleSummaryIndex()
H A DTargetLibraryInfo.cpp1675 M.getModuleFlag("wchar_size"))) in getWCharSize()
/freebsd-12.1/contrib/llvm/tools/opt/
H A DDebugify.cpp164 if (!M.getModuleFlag(DIVersionKey)) in applyDebugifyMetadata()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DModule.h473 Metadata *getModuleFlag(StringRef Key) const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DBackendUtil.cpp831 if (!TheModule->getModuleFlag("ThinLTO")) in EmitAssembly()
1076 if (!TheModule->getModuleFlag("ThinLTO")) in EmitAssemblyWithNewPassManager()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/
H A DARMAsmPrinter.cpp741 SourceModule->getModuleFlag("wchar_size"))) { in emitAttributes()
752 SourceModule->getModuleFlag("min_enum_size"))) { in emitAttributes()
/freebsd-12.1/contrib/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp369 MMI->getModule()->getModuleFlag("cfguardtable"))) in doInitialization()
H A DCodeViewDebug.cpp131 MMI->getModule()->getModuleFlag("CodeViewGHash")); in CodeViewDebug()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp3613 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("ThinLTO"))) in writePerModuleGlobalValueSummary()
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2732 if (Metadata *Val = TheModule->getModuleFlag("Linker Options")) { in materializeMetadata()