| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | PGO: instrumentation based profiling sets function attributes. | Manman Ren | 2014-02-05 | 1 | -1/+40 |
| | | | | | | | | | | | | | | | | We collect a maximal function count among all functions in the pgo data file. For functions that are hot, we set its InlineHint attribute. For functions that are cold, we set its Cold attribute. We currently treat functions with >= 30% of the maximal function count as hot and functions with <= 1% of the maximal function count are treated as cold. These two numbers are from preliminary tuning on SPEC. This commit should not affect non-PGO builds and should boost performance on instrumentation based PGO. llvm-svn: 200874 | ||||
| * | Enforce safe usage of DiagnosticsEngine::getCustomDiagID() | Alp Toker | 2014-01-26 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | Replace the last incorrect uses and templatize the function to require a compile-time constant string preventing further misuse. The diagnostic formatter expects well-formed input and has undefined behaviour with arbitrary input or crafted user strings in source files. Accepting user input would also have caused unbounded generation of new diagnostic IDs which can be problematic in long-running sessions or language bindings. This completes the work to fix several incorrect callers that passed user input or raw messages to the diagnostics engine where a constant format string was expected. llvm-svn: 200132 | ||||
| * | CodeGen: Include llvm/Config/config.h for strtoll on Windows | Justin Bogner | 2014-01-07 | 1 | -0/+1 |
| | | | | | llvm-svn: 198672 | ||||
| * | CodeGen: Sentences end with a period | Justin Bogner | 2014-01-07 | 1 | -2/+2 |
| | | | | | llvm-svn: 198649 | ||||
| * | CodeGen: Initial instrumentation based PGO implementation | Justin Bogner | 2014-01-06 | 1 | -0/+456 |
| llvm-svn: 198640 | |||||

