Home
last modified time | relevance | path

Searched refs:addModuleFlag (Results 1 – 12 of 12) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/IR/
H A DModule.cpp339 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
347 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
349 addModuleFlag(Behavior, Key, ConstantAsMetadata::get(Val)); in addModuleFlag()
354 addModuleFlag(Behavior, Key, ConstantInt::get(Int32Ty, Val)); in addModuleFlag()
356 void Module::addModuleFlag(MDNode *Node) { in addModuleFlag() function in Module
501 addModuleFlag(ModFlagBehavior::Max, "PIC Level", PL); in setPICLevel()
515 addModuleFlag(ModFlagBehavior::Max, "PIE Level", PL); in setPIELevel()
533 addModuleFlag(ModFlagBehavior::Error, "Code Model", CL); in setCodeModel()
537 addModuleFlag(ModFlagBehavior::Error, "ProfileSummary", M); in setProfileSummary()
554 addModuleFlag(ModFlagBehavior::Max, "RtLibUseGOT", 1); in setRtLibUseGOT()
[all …]
H A DAutoUpgrade.cpp3734 M.addModuleFlag(llvm::Module::Override, "Objective-C Class Properties", in UpgradeModuleFlags()
H A DCore.cpp376 unwrap(M)->addModuleFlag(map_to_llvmModFlagBehavior(Behavior), in LLVMAddModuleFlag()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DModule.h486 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val);
487 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Constant *Val);
488 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val);
489 void addModuleFlag(MDNode *Node);
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DCGProfile.cpp98 M.addModuleFlag(Module::Append, "CG Profile", MDNode::get(Context, Nodes)); in addModuleFlags()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DBackendUtil.cpp818 TheModule->addModuleFlag(Module::Error, "EnableSplitLTOUnit", in EmitAssembly()
832 TheModule->addModuleFlag(Module::Error, "ThinLTO", uint32_t(0)); in EmitAssembly()
833 TheModule->addModuleFlag(Module::Error, "EnableSplitLTOUnit", in EmitAssembly()
1063 TheModule->addModuleFlag(Module::Error, "EnableSplitLTOUnit", in EmitAssemblyWithNewPassManager()
1077 TheModule->addModuleFlag(Module::Error, "ThinLTO", uint32_t(0)); in EmitAssemblyWithNewPassManager()
1078 TheModule->addModuleFlag(Module::Error, "EnableSplitLTOUnit", in EmitAssemblyWithNewPassManager()
H A DCodeGenModule.cpp448 getModule().addModuleFlag(llvm::Module::Error, "NumRegisterParameters", in Release()
454 getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version", in Release()
459 getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1); in Release()
462 getModule().addModuleFlag(llvm::Module::Warning, "CodeViewGHash", 1); in Release()
466 getModule().addModuleFlag(llvm::Module::Warning, "cfguardtable", 1); in Release()
473 getModule().addModuleFlag(llvm::Module::Error, "StrictVTablePointers",1); in Release()
480 getModule().addModuleFlag(llvm::Module::Require, in Release()
488 getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version", in Release()
496 getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth); in Release()
510 getModule().addModuleFlag(llvm::Module::Override, "Cross-DSO CFI", 1); in Release()
[all …]
H A DCGObjCMac.cpp4909 Mod.addModuleFlag(llvm::Module::Error, "Objective-C Version", ObjCABI); in EmitImageInfo()
4910 Mod.addModuleFlag(llvm::Module::Error, "Objective-C Image Info Version", in EmitImageInfo()
4912 Mod.addModuleFlag(llvm::Module::Error, "Objective-C Image Info Section", in EmitImageInfo()
4917 Mod.addModuleFlag(llvm::Module::Override, in EmitImageInfo()
4921 Mod.addModuleFlag(llvm::Module::Error, in EmitImageInfo()
4927 Mod.addModuleFlag(llvm::Module::Error, "Objective-C GC Only", in EmitImageInfo()
4935 Mod.addModuleFlag(llvm::Module::Require, "Objective-C GC Only", in EmitImageInfo()
4942 Mod.addModuleFlag(llvm::Module::Error, "Objective-C Is Simulated", in EmitImageInfo()
4946 Mod.addModuleFlag(llvm::Module::Error, "Objective-C Class Properties", in EmitImageInfo()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp207 M.addModuleFlag(Module::Error, "ThinLTO", uint32_t(0)); in splitAndWriteThinLTOBitcode()
387 MergedM->addModuleFlag(Module::Error, "ThinLTO", uint32_t(0)); in splitAndWriteThinLTOBitcode()
/freebsd-12.1/contrib/llvm/tools/opt/
H A DDebugify.cpp165 M.addModuleFlag(Module::Warning, DIVersionKey, DEBUG_METADATA_VERSION); in applyDebugifyMetadata()
H A Dopt.cpp604 M->addModuleFlag(Module::Error, "EnableSplitLTOUnit", SplitLTOUnit); in main()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/Orc/
H A DIndirectionUtils.cpp368 Dst.addModuleFlag(MapMetadata(MF, VMap)); in cloneModuleFlagsMetadata()