Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DModule.cpp302 Metadata *Module::getModuleFlag(StringRef Key) const { in getModuleFlag() function in Module
447 cast_or_null<ConstantAsMetadata>(getModuleFlag("NumRegisterParameters")); in getNumberRegisterParameters()
454 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Dwarf Version")); in getDwarfVersion()
461 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("CodeView")); in getCodeViewFlag()
481 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIC Level")); in getPICLevel()
495 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIE Level")); in getPIELevel()
513 return getModuleFlag("ProfileSummary"); in getProfileSummary()
521 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("RtLibUseGOT")); in getRtLibUseGOT()
DDebugInfo.cpp686 M.getModuleFlag("Debug Info Version"))) in getDebugMetadataVersionFromModule()
DCore.cpp362 return wrap(unwrap(M)->getModuleFlag({Key, KeyLen})); in LLVMGetModuleFlag()
/external/llvm/lib/IR/
DModule.cpp323 Metadata *Module::getModuleFlag(StringRef Key) const { in getModuleFlag() function in Module
467 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Dwarf Version")); in getDwarfVersion()
474 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("CodeView")); in getCodeViewFlag()
487 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIC Level")); in getPICLevel()
501 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIE Level")); in getPIELevel()
519 return getModuleFlag("ProfileSummary"); in getProfileSummary()
DDebugInfo.cpp292 M.getModuleFlag("Debug Info Version"))) in getDebugMetadataVersionFromModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86IndirectBranchTracking.cpp94 MF.getMMI().getModule()->getModuleFlag("cf-protection-branch"); in runOnMachineFunction()
DX86AsmPrinter.cpp547 if (M.getModuleFlag("cf-protection-branch")) in EmitStartOfAsmFile()
549 if (M.getModuleFlag("cf-protection-return")) in EmitStartOfAsmFile()
DX86ISelLowering.cpp3462 Metadata *IsCFProtectionSupported = M->getModuleFlag("cf-protection-branch"); in LowerCall()
27961 if (MF->getMMI().getModule()->getModuleFlag("cf-protection-return")) { in emitEHSjLjSetJmp()
28218 if (MF->getMMI().getModule()->getModuleFlag("cf-protection-return")) { in emitEHSjLjLongJmp()
39792 Metadata *IsCFProtectionSupported = M->getModuleFlag("cf-protection-branch"); in expandIndirectJTBranch()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVVMReflect.cpp164 F.getParent()->getModuleFlag("nvvm-reflect-ftz"))) in runOnFunction()
/external/llvm/lib/Target/NVPTX/
DNVVMReflect.cpp209 F.getParent()->getModuleFlag("nvvm-reflect-ftz"))) in runOnFunction()
/external/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp152 if (M.getModuleFlag("Cross-DSO CFI") == nullptr) in runOnModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp167 if (M.getModuleFlag("Cross-DSO CFI") == nullptr) in runOnModule()
DLowerTypeTests.cpp1757 const bool CrossDsoCfi = M.getModuleFlag("Cross-DSO CFI") != nullptr; in lower()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
DDebugify.cpp163 if (!M.getModuleFlag(DIVersionKey)) in applyDebugifyMetadata()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DModule.h462 Metadata *getModuleFlag(StringRef Key) const;
/external/llvm/include/llvm/IR/
DModule.h438 Metadata *getModuleFlag(StringRef Key) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DModuleSummaryAnalysis.cpp550 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("ThinLTO"))) in buildModuleSummaryIndex()
DTargetLibraryInfo.cpp1635 M.getModuleFlag("wchar_size"))) in getWCharSize()
/external/llvm/lib/LTO/
DLTOModule.cpp639 if (Metadata *Val = getModule().getModuleFlag("Linker Options")) { in parseMetadata()
/external/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp840 SourceModule->getModuleFlag("wchar_size"))) { in emitAttributes()
851 SourceModule->getModuleFlag("min_enum_size"))) { in emitAttributes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp729 SourceModule->getModuleFlag("wchar_size"))) { in emitAttributes()
740 SourceModule->getModuleFlag("min_enum_size"))) { in emitAttributes()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp366 MMI->getModule()->getModuleFlag("cfguard"))) in doInitialization()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp3529 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("ThinLTO"))) in writePerModuleGlobalValueSummary()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp2695 if (Metadata *Val = TheModule->getModuleFlag("Linker Options")) { in materializeMetadata()