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 Support: Add a VCSRevision.h header file. 2017-04-13 01:26:12 +00:00
Caching.cpp Try using llvm::errc, should hopefully fix version mismatch problem on clang-s390x-linux bot. 2017-03-20 18:19:41 +00:00
LLVMBuild.txt [lib/LTO] Add a way to run a custom pipeline 2016-09-07 17:46:16 +00:00
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 Apply summary-based dead stripping to regular LTO modules with summaries. 2017-06-15 17:26:13 +00:00
ThinLTOCodeGenerator.cpp Delete Default and JITDefault code models 2017-08-03 02:16:21 +00:00
UpdateCompilerUsed.cpp [Analysis] Add LibFunc_ prefix to enums in TargetLibraryInfo. (NFC) 2017-01-23 23:16:46 +00:00