Searched refs:getModuleFlag (Results 1 – 20 of 20) sorted by relevance
312 Metadata *Module::getModuleFlag(StringRef Key) const { in getModuleFlag() function in Module457 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()
684 M.getModuleFlag("Debug Info Version"))) in getDebugMetadataVersionFromModule()
370 return wrap(unwrap(M)->getModuleFlag({Key, KeyLen})); in LLVMGetModuleFlag()
94 MF.getMMI().getModule()->getModuleFlag("cf-protection-branch"); in runOnMachineFunction()
551 if (M.getModuleFlag("cf-protection-branch")) in EmitStartOfAsmFile()553 if (M.getModuleFlag("cf-protection-return")) in EmitStartOfAsmFile()606 if (M.getModuleFlag("cfguardtable")) in EmitStartOfAsmFile()
3611 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()
168 F.getParent()->getModuleFlag("nvvm-reflect-ftz"))) in runOnFunction()
167 if (M.getModuleFlag("Cross-DSO CFI") == nullptr) in runOnModule()
427 M.getModuleFlag("EnableSplitLTOUnit"))) in requiresSplit()
1771 const bool CrossDsoCfi = M.getModuleFlag("Cross-DSO CFI") != nullptr; in lower()
462 M.getModuleFlag("EnableSplitLTOUnit"))) in buildModuleSummaryIndex()543 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("ThinLTO"))) in buildModuleSummaryIndex()
1675 M.getModuleFlag("wchar_size"))) in getWCharSize()
164 if (!M.getModuleFlag(DIVersionKey)) in applyDebugifyMetadata()
473 Metadata *getModuleFlag(StringRef Key) const;
831 if (!TheModule->getModuleFlag("ThinLTO")) in EmitAssembly()1076 if (!TheModule->getModuleFlag("ThinLTO")) in EmitAssemblyWithNewPassManager()
741 SourceModule->getModuleFlag("wchar_size"))) { in emitAttributes()752 SourceModule->getModuleFlag("min_enum_size"))) { in emitAttributes()
369 MMI->getModule()->getModuleFlag("cfguardtable"))) in doInitialization()
131 MMI->getModule()->getModuleFlag("CodeViewGHash")); in CodeViewDebug()
3613 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("ThinLTO"))) in writePerModuleGlobalValueSummary()
2732 if (Metadata *Val = TheModule->getModuleFlag("Linker Options")) { in materializeMetadata()