Benjamin Kramer
3a0f5a0df3
Compute hashes directly with hash_combine instead of taking a detour through FoldingSetNodeID.
...
llvm-svn: 154495
2012-04-11 14:06:39 +00:00
Eric Christopher
a715203dda
Spacing.
...
llvm-svn: 141727
2011-10-11 22:58:58 +00:00
Chris Lattner
e1fe7061ce
land David Blaikie's patch to de-constify Type, with a few tweaks.
...
llvm-svn: 135375
2011-07-18 04:54:35 +00:00
Devang Patel
369cd5cef5
Add dump()
...
llvm-svn: 135200
2011-07-14 21:50:04 +00:00
Devang Patel
1856a523ea
Simplify and delay extracting DebugLoc elements, scope and InlinedAt, as much as possible.
...
llvm-svn: 135124
2011-07-14 01:14:57 +00:00
Jay Foad
32fce4d563
PR9214: Convert Metadata API to use ArrayRef.
...
llvm-svn: 129932
2011-04-21 19:59:31 +00:00
Nick Lewycky
e15c6c11b4
Add an empty key for DebugLoc so that you can store an empty DebugLoc in a
...
DenseMap.
llvm-svn: 128994
2011-04-06 06:49:59 +00:00
Nick Lewycky
dfed8e0ff5
Support using DebugLoc's in a DenseMap.
...
llvm-svn: 128988
2011-04-06 05:36:52 +00:00
Chris Lattner
a686e27bab
rename NewDebugLoc -> DebugLoc, prune #includes in DebugLoc.h.
...
This keeps around temporary typedef for clang/llvm-gcc so the
build won't break when I commit this :)
llvm-svn: 100218
2010-04-02 20:21:22 +00:00
Chris Lattner
ff4e2688f5
fix a bug in DebugRecVH::deleted/allUsesReplacedWith. If an
...
entry in the Scope+InlinedAt drops to a non-canonical form,
we need to reset the idx member of both VH's to 0.
llvm-svn: 100084
2010-04-01 05:12:07 +00:00
Chris Lattner
a913028fc0
add a method to decode a DILocation into a NewDebugLoc.
...
llvm-svn: 100081
2010-04-01 03:55:42 +00:00
Chris Lattner
b19f7964ea
Add a new "NewDebugLoc" class which will eventually replace DebugLoc,
...
and will replace the 'DbgInfo' member in Instruction.
The benefit of NewDebugLoc is that it is compact (8 bytes vs 12/24
bytes for the DbgInfo member in Instruction on a 32/64 bit system),
it means that we will end up not having to allocate MDNodes to
represent the "DILocations" in common cases of -O0 -g, and it is
much more efficient to get things out of than the MDNode.
llvm-svn: 100072
2010-04-01 00:37:44 +00:00