Home
last modified time | relevance | path

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

123

/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64MachineFunctionInfo.cpp44 M.getModuleFlag("sign-return-address"))) { in GetSignReturnAddress()
47 M.getModuleFlag("sign-return-address-all"))) in GetSignReturnAddress()
69 F.getParent()->getModuleFlag("sign-return-address-with-bkey"))) in ShouldSignWithBKey()
92 F.getParent()->getModuleFlag("branch-target-enforcement"))) in AArch64FunctionInfo()
/external/llvm-project/llvm/lib/IR/
DModule.cpp321 Metadata *Module::getModuleFlag(StringRef Key) const { in getModuleFlag() function in Module
499 cast_or_null<ConstantAsMetadata>(getModuleFlag("NumRegisterParameters")); in getNumberRegisterParameters()
506 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Dwarf Version")); in getDwarfVersion()
513 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("CodeView")); in getCodeViewFlag()
533 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIC Level")); in getPICLevel()
547 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIE Level")); in getPIELevel()
561 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Code Model")); in getCodeModel()
586 return (IsCS ? getModuleFlag("CSProfileSummary") in getProfileSummary()
587 : getModuleFlag("ProfileSummary")); in getProfileSummary()
591 Metadata *MF = getModuleFlag("SemanticInterposition"); in getSemanticInterposition()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModule.cpp310 Metadata *Module::getModuleFlag(StringRef Key) const { in getModuleFlag() function in Module
471 cast_or_null<ConstantAsMetadata>(getModuleFlag("NumRegisterParameters")); in getNumberRegisterParameters()
478 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Dwarf Version")); in getDwarfVersion()
485 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("CodeView")); in getCodeViewFlag()
505 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIC Level")); in getPICLevel()
519 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("PIE Level")); in getPIELevel()
533 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("Code Model")); in getCodeModel()
558 return (IsCS ? getModuleFlag("CSProfileSummary") in getProfileSummary()
559 : getModuleFlag("ProfileSummary")); in getProfileSummary()
567 auto *Val = cast_or_null<ConstantAsMetadata>(getModuleFlag("RtLibUseGOT")); in getRtLibUseGOT()
[all …]
/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/llvm-project/llvm/unittests/IR/
DModuleTest.cpp84 EXPECT_EQ(nullptr, M.getModuleFlag(Key)); in TEST()
86 EXPECT_EQ(Val1, M.getModuleFlag(Key)); in TEST()
88 EXPECT_EQ(Val2, M.getModuleFlag(Key)); in TEST()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCFGuardLongjmp.cpp64 if (!MF.getMMI().getModule()->getModuleFlag("cfguard")) in runOnMachineFunction()
/external/llvm-project/llvm/lib/CodeGen/
DCFGuardLongjmp.cpp64 if (!MF.getMMI().getModule()->getModuleFlag("cfguard")) in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86IndirectBranchTracking.cpp104 MF.getMMI().getModule()->getModuleFlag("cf-protection-branch"); in runOnMachineFunction()
DX86AsmPrinter.cpp584 if (M.getModuleFlag("cf-protection-branch")) in EmitStartOfAsmFile()
586 if (M.getModuleFlag("cf-protection-return")) in EmitStartOfAsmFile()
639 if (M.getModuleFlag("cfguard")) in EmitStartOfAsmFile()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVVMReflect.cpp168 F.getParent()->getModuleFlag("nvvm-reflect-ftz"))) in runOnFunction()
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVVMReflect.cpp168 F.getParent()->getModuleFlag("nvvm-reflect-ftz"))) in runOnFunction()
/external/llvm-project/llvm/lib/Transforms/IPO/
DGlobalDCE.cpp165 cast_or_null<ConstantAsMetadata>(M.getModuleFlag("LTOPostLink")); in ScanVTables()
271 M.getModuleFlag("Virtual Function Elim")); in AddVirtualFunctionDependencies()
DCrossDSOCFI.cpp163 if (M.getModuleFlag("Cross-DSO CFI") == nullptr) in runOnModule()
/external/llvm-project/llvm/lib/Target/X86/
DX86IndirectBranchTracking.cpp103 MF.getMMI().getModule()->getModuleFlag("cf-protection-branch"); in runOnMachineFunction()
DX86AsmPrinter.cpp631 if (M.getModuleFlag("cf-protection-branch")) in emitStartOfAsmFile()
633 if (M.getModuleFlag("cf-protection-return")) in emitStartOfAsmFile()
686 if (M.getModuleFlag("cfguard")) in emitStartOfAsmFile()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVTargetMachine.cpp95 F.getParent()->getModuleFlag("target-abi"))) { in getSubtargetImpl()
/external/llvm/lib/Target/NVPTX/
DNVVMReflect.cpp209 F.getParent()->getModuleFlag("nvvm-reflect-ftz"))) in runOnFunction()
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVTargetMachine.cpp97 F.getParent()->getModuleFlag("target-abi"))) { in getSubtargetImpl()
/external/llvm-project/llvm/lib/Transforms/CFGuard/
DCFGuard.cpp225 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("cfguard"))) in doInitialization()
/external/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp152 if (M.getModuleFlag("Cross-DSO CFI") == nullptr) in runOnModule()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/CFGuard/
DCFGuard.cpp230 mdconst::extract_or_null<ConstantInt>(M.getModuleFlag("cfguard"))) in doInitialization()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DCrossDSOCFI.cpp163 if (M.getModuleFlag("Cross-DSO CFI") == nullptr) in runOnModule()
DGlobalDCE.cpp165 cast_or_null<ConstantAsMetadata>(M.getModuleFlag("LTOPostLink")); in ScanVTables()
/external/llvm-project/mlir/lib/Target/LLVMIR/
DDebugTranslation.cpp48 if (!llvmModule.getModuleFlag(debugVersionKey)) in DebugTranslation()

123