llvm-6502/lib/Transforms
Hal Finkel 390564206f Add the cold attribute to error-reporting call sites
Generally speaking, control flow paths with error reporting calls are cold.
So far, error reporting calls are calls to perror and calls to fprintf,
fwrite, etc. with stderr as the stream. This can be extended in the future.

The primary motivation is to improve block placement (the cold attribute
affects the static branch prediction heuristics).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194943 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-17 02:06:35 +00:00
..
Hello First check in. Modified a comment. 2013-09-27 07:36:10 +00:00
InstCombine Apply the InstCombine fptrunc sqrt optimization to llvm.sqrt 2013-11-16 21:29:08 +00:00
Instrumentation [asan] use GlobalValue::PrivateLinkage for coverage guard to save quite a bit of code size 2013-11-15 09:52:05 +00:00
IPO Add a loop rerolling pass 2013-11-16 23:59:05 +00:00
ObjCARC [objc-arc] Convert the one directional retain/release relation assert to a conditional check + fail. 2013-11-05 16:02:40 +00:00
Scalar Fix ndebug-build unused variable in loop rerolling 2013-11-17 01:21:54 +00:00
Utils Add the cold attribute to error-reporting call sites 2013-11-17 02:06:35 +00:00
Vectorize LoopVectorizer: Use abi alignment for accesses with no alignment 2013-11-15 23:09:33 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile