llvm-project/clang/lib
Bob Wilson 68f475faf7 Refactor PGO code in preparation for handling non-C/C++ code.
Move the PGO.assignRegionCounters() call out of StartFunction, because that
function is called from many places where it does not make sense to do PGO
instrumentation (e.g., compiler-generated helper functions). Change several
functions to take a StringRef argument for the unique name associated with
a function, so that the name can be set differently for things like Objective-C
methods and block literals.

llvm-svn: 203073
2014-03-06 04:55:35 +00:00
..
ARCMigrate [C++11] Replace llvm::tie with std::tie. 2014-03-02 13:01:17 +00:00
AST Change the color of comment nodes from bright yellow to blue. Bright yellow on 2014-03-06 01:09:03 +00:00
ASTMatchers [C++11] Simplify compare operators with std::tie. 2014-03-03 20:26:46 +00:00
Analysis [-Wunreachable-code] Handle idiomatic do...while() with an uninteresting condition. 2014-03-06 01:09:45 +00:00
Basic Attempt to re-enable the VFS unittests on Windows 2014-03-05 21:32:20 +00:00
CodeGen Refactor PGO code in preparation for handling non-C/C++ code. 2014-03-06 04:55:35 +00:00
Driver Revert "[C++11] Replace trivial lambda with std::cref." 2014-03-05 13:25:00 +00:00
Edit [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
Format [C++11] Switch the clang-format LLVM style to use C++11 style braced 2014-03-02 12:37:31 +00:00
Frontend When building a module from the command line via -emit-module, add an entry to 2014-03-05 20:55:36 +00:00
FrontendTool [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
Headers Headers: Provide an ABI compatible max_align_t when _MSC_VER is defined 2014-03-04 23:43:48 +00:00
Index [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
Lex If a #include finds a file relative to the current file, don't forget to check 2014-03-05 20:51:45 +00:00
Parse [-cxx-abi microsoft] Implement local manglings accurately 2014-03-05 08:57:59 +00:00
Rewrite [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
Sema Suppress diagnostics during name lookup for absolute value type. 2014-03-06 02:25:04 +00:00
Serialization Fix crash if a submodule overrides one of its own macros, and add support for 2014-03-06 03:16:27 +00:00
StaticAnalyzer [C++11] Simplify compare operators with std::tie. 2014-03-03 20:26:46 +00:00
Tooling Added a const qualifier to SourceManager& parameters. 2014-03-05 10:38:27 +00:00
CMakeLists.txt Fix dependencies now that the ARC migrator depends on the static analyzer. 2013-08-22 15:50:02 +00:00
Makefile Fix dependencies now that the ARC migrator depends on the static analyzer. 2013-08-22 15:50:02 +00:00