Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DModule.cpp329 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
337 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
339 addModuleFlag(Behavior, Key, ConstantAsMetadata::get(Val)); in addModuleFlag()
341 void Module::addModuleFlag(ModFlagBehavior Behavior, StringRef Key, in addModuleFlag() function in Module
344 addModuleFlag(Behavior, Key, ConstantInt::get(Int32Ty, Val)); in addModuleFlag()
346 void Module::addModuleFlag(MDNode *Node) { in addModuleFlag() function in Module
491 addModuleFlag(ModFlagBehavior::Max, "PIC Level", PL); in setPICLevel()
505 addModuleFlag(ModFlagBehavior::Max, "PIE Level", PL); in setPIELevel()
509 addModuleFlag(ModFlagBehavior::Error, "ProfileSummary", M); in setProfileSummary()
526 addModuleFlag(ModFlagBehavior::Max, "RtLibUseGOT", 1); in setRtLibUseGOT()
DAutoUpgrade.cpp3624 M.addModuleFlag(llvm::Module::Override, "Objective-C Class Properties", in UpgradeModuleFlags()
DCore.cpp368 unwrap(M)->addModuleFlag(map_to_llvmModFlagBehavior(Behavior), in LLVMAddModuleFlag()
/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()
DAutoUpgrade.cpp1477 M.addModuleFlag(llvm::Module::Error, "Objective-C Class Properties", in UpgradeModuleFlags()
/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-7.0/llvm/include/llvm/IR/
DModule.h475 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Metadata *Val);
476 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, Constant *Val);
477 void addModuleFlag(ModFlagBehavior Behavior, StringRef Key, uint32_t Val);
478 void addModuleFlag(MDNode *Node);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DCGProfile.cpp99 M.addModuleFlag(Module::Append, "CG Profile", MDNode::get(Context, Nodes)); in addModuleFlags()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp206 M.addModuleFlag(Module::Error, "ThinLTO", uint32_t(0)); in splitAndWriteThinLTOBitcode()
386 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-7.0/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp350 Dst.addModuleFlag(MapMetadata(MF, VMap)); in cloneModuleFlagsMetadata()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/
Dnvptx_backend_lib.cc346 module->addModuleFlag(llvm::Module::Override, "nvvm-reflect-ftz", in CompileModuleToPtx()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/opt/
DDebugify.cpp164 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/swiftshader/third_party/llvm-7.0/llvm/examples/Kaleidoscope/Chapter9/
Dtoy.cpp1425 TheModule->addModuleFlag(Module::Warning, "Debug Info Version", in main()
1430 TheModule->addModuleFlag(llvm::Module::Warning, "Dwarf Version", 2); in main()
/external/spirv-llvm/lib/SPIRV/
DSPIRVReader.cpp204 M->addModuleFlag(Module::Warning, "Dwarf Version", in addDbgInfoVersion()
206 M->addModuleFlag(Module::Warning, "Debug Info Version", in addDbgInfoVersion()