hanchenye-llvm-project/llvm/lib/LTO
Rafael Espindola 79e238afee Delete Default and JITDefault code models
IMHO it is an antipattern to have a enum value that is Default.

At any given piece of code it is not clear if we have to handle
Default or if has already been mapped to a concrete value. In this
case in particular, only the target can do the mapping and it is nice
to make sure it is always done.

This deletes the two default enum values of CodeModel and uses an
explicit Optional<CodeModel> when it is possible that it is
unspecified.

llvm-svn: 309911
2017-08-03 02:16:21 +00:00
..
CMakeLists.txt
Caching.cpp
LLVMBuild.txt
LTO.cpp Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00
LTOBackend.cpp Fix the bug that parseAAPipeline is not invoked in runNewPMPasses in release compiler. 2017-08-02 03:03:19 +00:00
LTOCodeGenerator.cpp Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00
LTOModule.cpp
ThinLTOCodeGenerator.cpp Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00
UpdateCompilerUsed.cpp