Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DModule.cpp337 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
345 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
347 addModuleFlag(Behavior, Key, ConstantAsMetadata::get(Val)); in addModuleFlag()
349 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
352 addModuleFlag(Behavior, Key, ConstantInt::get(Int32Ty, Val)); in addModuleFlag()
354 void Module::addModuleFlag(MDNode *Node) { in addModuleFlag() function in Module
515 addModuleFlag(ModFlagBehavior::Max, "PIC Level", PL); in setPICLevel()
529 addModuleFlag(ModFlagBehavior::Max, "PIE Level", PL); in setPIELevel()
547 addModuleFlag(ModFlagBehavior::Error, "Code Model", CL); in setCodeModel()
552 addModuleFlag(ModFlagBehavior::Error, "CSProfileSummary", M); in setProfileSummary()
[all …]
/external/llvm-project/llvm/lib/IR/
DModule.cpp348 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
356 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
358 addModuleFlag(Behavior, Key, ConstantAsMetadata::get(Val)); in addModuleFlag()
360 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
363 addModuleFlag(Behavior, Key, ConstantInt::get(Int32Ty, Val)); in addModuleFlag()
365 void Module::addModuleFlag(MDNode *Node) { in addModuleFlag() function in Module
388 addModuleFlag(Behavior, Key, Val); in setModuleFlag()
543 addModuleFlag(ModFlagBehavior::Max, "PIC Level", PL); in setPICLevel()
557 addModuleFlag(ModFlagBehavior::Max, "PIE Level", PL); in setPIELevel()
575 addModuleFlag(ModFlagBehavior::Error, "Code Model", CL); in setCodeModel()
[all …]
/external/llvm/lib/IR/
DModule.cpp350 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
358 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
360 addModuleFlag(Behavior, Key, ConstantAsMetadata::get(Val)); in addModuleFlag()
362 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
365 addModuleFlag(Behavior, Key, ConstantInt::get(Int32Ty, Val)); in addModuleFlag()
367 void Module::addModuleFlag(MDNode *Node) { in addModuleFlag() function in Module
497 addModuleFlag(ModFlagBehavior::Error, "PIC Level", PL); in setPICLevel()
511 addModuleFlag(ModFlagBehavior::Error, "PIE Level", PL); in setPIELevel()
515 addModuleFlag(ModFlagBehavior::Error, "ProfileSummary", M); in setProfileSummary()
/external/llvm/include/llvm/IR/
DModule.h451 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val);
452 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Constant *Val);
453 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val);
454 void addModuleFlag(MDNode *Node);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DModule.h490 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val);
491 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Constant *Val);
492 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val);
493 void addModuleFlag(MDNode *Node);
/external/llvm-project/llvm/include/llvm/IR/
DModule.h494 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val);
495 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Constant *Val);
496 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val);
497 void addModuleFlag(MDNode *Node);
/external/llvm-project/mlir/lib/Target/LLVMIR/
DDebugTranslation.cpp49 llvmModule.addModuleFlag(llvm::Module::Warning, debugVersionKey, in DebugTranslation()
59 llvmModule.addModuleFlag(llvm::Module::Warning, "CodeView", 1); in DebugTranslation()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DCGProfile.cpp97 M.addModuleFlag(Module::Append, "CG Profile", MDNode::get(Context, Nodes)); in addModuleFlags()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetMachine.cpp293 M.addModuleFlag(Module::ModFlagBehavior::Error, MDKey, in recordFeatures()
303 M.addModuleFlag(Module::ModFlagBehavior::Error, "wasm-feature-shared-mem", in recordFeatures()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyTargetMachine.cpp284 M.addModuleFlag(Module::ModFlagBehavior::Error, MDKey, in recordFeatures()
288 M.addModuleFlag(Module::ModFlagBehavior::Error, MDKey, in recordFeatures()
/external/llvm-project/clang/lib/CodeGen/
DCodeGenModule.cpp526 getModule().addModuleFlag(llvm::Module::Error, "NumRegisterParameters", in Release()
530 getModule().addModuleFlag(llvm::Module::Max, "Dwarf Version", in Release()
543 getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1); in Release()
546 getModule().addModuleFlag(llvm::Module::Warning, "CodeViewGHash", 1); in Release()
550 getModule().addModuleFlag(llvm::Module::Warning, "cfguard", 2); in Release()
553 getModule().addModuleFlag(llvm::Module::Warning, "cfguard", 1); in Release()
560 getModule().addModuleFlag(llvm::Module::Error, "StrictVTablePointers",1); in Release()
567 getModule().addModuleFlag(llvm::Module::Require, in Release()
575 getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version", in Release()
583 getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth); in Release()
[all …]
DBackendUtil.cpp951 TheModule->addModuleFlag(Module::Error, "EnableSplitLTOUnit", in EmitAssembly()
965 TheModule->addModuleFlag(Module::Error, "ThinLTO", uint32_t(0)); in EmitAssembly()
966 TheModule->addModuleFlag(Module::Error, "EnableSplitLTOUnit", in EmitAssembly()
1356 TheModule->addModuleFlag(Module::Error, "EnableSplitLTOUnit", in EmitAssemblyWithNewPassManager()
1370 TheModule->addModuleFlag(Module::Error, "ThinLTO", uint32_t(0)); in EmitAssemblyWithNewPassManager()
1371 TheModule->addModuleFlag(Module::Error, "EnableSplitLTOUnit", in EmitAssemblyWithNewPassManager()
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DCGProfile.cpp45 M.addModuleFlag(Module::Append, "CG Profile", MDNode::get(Context, Nodes)); in addModuleFlags()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp208 M.addModuleFlag(Module::Error, "ThinLTO", uint32_t(0)); in splitAndWriteThinLTOBitcode()
396 MergedM->addModuleFlag(Module::Error, "ThinLTO", uint32_t(0)); in splitAndWriteThinLTOBitcode()
/external/llvm-project/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp208 M.addModuleFlag(Module::Error, "ThinLTO", uint32_t(0)); in splitAndWriteThinLTOBitcode()
396 MergedM->addModuleFlag(Module::Error, "ThinLTO", uint32_t(0)); in splitAndWriteThinLTOBitcode()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp420 getModule().addModuleFlag(llvm::Module::Warning, "Dwarf Version", in Release()
425 getModule().addModuleFlag(llvm::Module::Warning, "CodeView", 1); in Release()
432 getModule().addModuleFlag(llvm::Module::Error, "StrictVTablePointers",1); in Release()
439 getModule().addModuleFlag(llvm::Module::Require, in Release()
447 getModule().addModuleFlag(llvm::Module::Warning, "Debug Info Version", in Release()
460 getModule().addModuleFlag(llvm::Module::Error, "wchar_size", WCharWidth); in Release()
464 getModule().addModuleFlag(llvm::Module::Error, "min_enum_size", EnumWidth); in Release()
469 getModule().addModuleFlag(llvm::Module::Override, "Cross-DSO CFI", 1); in Release()
476 getModule().addModuleFlag(llvm::Module::Override, "nvvm-reflect-ftz", in Release()
1248 getModule().addModuleFlag(llvm::Module::AppendUnique, "Linker Options", in EmitModuleLinkOptions()
DCGObjCMac.cpp4536 Mod.addModuleFlag(llvm::Module::Error, "Objective-C Version", ObjCABI); in EmitImageInfo()
4537 Mod.addModuleFlag(llvm::Module::Error, "Objective-C Image Info Version", in EmitImageInfo()
4539 Mod.addModuleFlag(llvm::Module::Error, "Objective-C Image Info Section", in EmitImageInfo()
4544 Mod.addModuleFlag(llvm::Module::Override, in EmitImageInfo()
4548 Mod.addModuleFlag(llvm::Module::Error, in EmitImageInfo()
4554 Mod.addModuleFlag(llvm::Module::Error, "Objective-C GC Only", in EmitImageInfo()
4562 Mod.addModuleFlag(llvm::Module::Require, "Objective-C GC Only", in EmitImageInfo()
4572 Mod.addModuleFlag(llvm::Module::Error, "Objective-C Is Simulated", in EmitImageInfo()
4576 Mod.addModuleFlag(llvm::Module::Error, "Objective-C Class Properties", in EmitImageInfo()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DDebugify.cpp157 M.addModuleFlag(Module::Warning, DIVersionKey, DEBUG_METADATA_VERSION); in applyDebugifyMetadata()
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp371 Dst.addModuleFlag(MapMetadata(MF, VMap)); in cloneModuleFlagsMetadata()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp373 Dst.addModuleFlag(MapMetadata(MF, VMap)); in cloneModuleFlagsMetadata()
/external/llvm-project/llvm/lib/Transforms/Utils/
DDebugify.cpp197 M.addModuleFlag(Module::Warning, DIVersionKey, DEBUG_METADATA_VERSION); in applyDebugifyMetadata()
/external/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp1419 TheModule->addModuleFlag(Module::Warning, "Debug Info Version", in main()
1424 TheModule->addModuleFlag(llvm::Module::Warning, "Dwarf Version", 2); in main()
/external/llvm-project/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp1434 TheModule->addModuleFlag(Module::Warning, "Debug Info Version", in main()
1439 TheModule->addModuleFlag(llvm::Module::Warning, "Dwarf Version", 2); in main()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/LTO/
DLTOCodeGenerator.cpp466 MergedModule->addModuleFlag(Module::Error, "LTOPostLink", 1); in applyScopeRestrictions()
/external/llvm-project/llvm/lib/LTO/
DLTOCodeGenerator.cpp575 MergedModule->addModuleFlag(Module::Error, "LTOPostLink", 1); in optimize()

12