llvm-6502/lib
Diego Novillo ec2d823329 Simply test for available locations in optimization remarks.
When emitting optimization remarks, we test for the presence of
instruction locations by testing for a valid llvm.dbg.cu annotation.
This is slightly inefficient because we can simply ask whether the
debug location we have is known or not.

Additionally, if my current plan works, I will need to remove the
llvm.dbg.cu annotation from the IL (or prevent it from being generated)
when -Rpass is used without -g.  In those cases, we'll want to generate
line tables but we will want to prevent code generation from emitting
DWARF code for them.

Tested on x86_64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211204 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-18 18:46:58 +00:00
..
Analysis
AsmParser IR: add "cmpxchg weak" variant to support permitted failure. 2014-06-13 14:24:07 +00:00
Bitcode Run clang-format in a small chunk of code I am about to change. 2014-06-18 18:26:53 +00:00
CodeGen DAG: move sret demotion into most basic LowerCallTo implementation. 2014-06-18 11:52:44 +00:00
DebugInfo [DWARF parser] Use distinction between DW_AT_ranges_base and DW_AT_GNU_ranges_base instead of DWARF version 2014-06-13 22:31:03 +00:00
ExecutionEngine Remove more occurrences of the unused-mutex-parameter pattern. 2014-06-17 21:54:18 +00:00
IR Simply test for available locations in optimization remarks. 2014-06-18 18:46:58 +00:00
IRReader Remove 'using std::errro_code' from lib. 2014-06-13 02:24:39 +00:00
LineEditor
Linker Replace some assert(0)'s with llvm_unreachable. 2014-06-18 05:05:13 +00:00
LTO Remove 'using std::errro_code' from lib. 2014-06-13 02:24:39 +00:00
MC [ARM] [MC] Refactor the constant pool classes 2014-06-18 18:17:25 +00:00
Object Fix a memory leak in the error path. 2014-06-18 17:07:15 +00:00
Option
ProfileData Renaming SwapByteOrder() to getSwappedBytes() 2014-06-14 11:36:01 +00:00
Support Revert "Random Number Generator (llvm)" 2014-06-18 06:33:23 +00:00
TableGen Move SetTheory from utils/TableGen into lib/TableGen so Clang can use it. 2014-06-17 13:10:38 +00:00
Target [PowerPC] Remove unnecessary load of r12 in indirect call 2014-06-18 18:33:36 +00:00
Transforms [msan] Handle X86 *.psad.* and *.pmadd.* intrinsics. 2014-06-18 12:02:29 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile