#
b46e5165 |
| 07-Jul-2008 |
Bill Wendling <isanbard@gmail.com> |
Use the canonical way to get an empty structure.
llvm-svn: 53206
|
#
1214860a |
| 07-Jul-2008 |
Bill Wendling <isanbard@gmail.com> |
Use StringMap for greater justice!
llvm-svn: 53202
|
#
4bb9089d |
| 03-Jul-2008 |
Bill Wendling <isanbard@gmail.com> |
Don't return std::vector by value, but pass it in by reference to be filled.
llvm-svn: 53123
|
#
2e506894 |
| 03-Jul-2008 |
Bill Wendling <isanbard@gmail.com> |
Revert my previous check-in that split up MachineModuleInfo. It turns out to slow the compiler down at -O0 some 30% or more. Ooops.
llvm-svn: 53120
|
#
536fb953 |
| 02-Jul-2008 |
Bill Wendling <isanbard@gmail.com> |
Use the canonical form for getting an empty structure.
llvm-svn: 53003
|
#
82a9321f |
| 02-Jul-2008 |
Bill Wendling <isanbard@gmail.com> |
Sorry. I couldn't sleep at night knowing I put these ugly casts into the source tree.
llvm-svn: 53001
|
#
c8cdb883 |
| 01-Jul-2008 |
Bill Wendling <isanbard@gmail.com> |
- Update comments. - Don't use GlobalVariable::LinkageTypes when unsigned works.
llvm-svn: 52987
|
#
da3db11d |
| 30-Jun-2008 |
Evan Cheng <evan.cheng@apple.com> |
- Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an empty string for ConstantAggregateZero case which surprises selectiondag. - Correctly handle memcpy from constant string whic
- Re-apply 52748 and friends with fix. GetConstantStringInfo() returns an empty string for ConstantAggregateZero case which surprises selectiondag. - Correctly handle memcpy from constant string which is zero-initialized.
llvm-svn: 52891
show more ...
|
#
a7c583d5 |
| 29-Jun-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
Revert (52748 and friends):
Move GetConstantStringInfo to lib/Analysis. Remove string output routine from Constant. Update all callers. Change debug intrinsic api slightly to accomodate move of rout
Revert (52748 and friends):
Move GetConstantStringInfo to lib/Analysis. Remove string output routine from Constant. Update all callers. Change debug intrinsic api slightly to accomodate move of routine, these now return values instead of strings.
This unbreaks llvm-gcc bootstrap.
llvm-svn: 52884
show more ...
|
#
196c78f0 |
| 27-Jun-2008 |
Bill Wendling <isanbard@gmail.com> |
Reduce number of times .size() is called on a vector. Rename some variables to match normal naming scheme.
llvm-svn: 52820
|
#
3d92cbff |
| 27-Jun-2008 |
Bill Wendling <isanbard@gmail.com> |
Cruft left from patch revert...sorry. :-(
llvm-svn: 52808
|
#
fcbb9525 |
| 27-Jun-2008 |
Bill Wendling <isanbard@gmail.com> |
Reverting broken patch r52803.
llvm-svn: 52806
|
#
f96d046d |
| 27-Jun-2008 |
Bill Wendling <isanbard@gmail.com> |
- Remove a use of std::vector. - Make sure that we're not recalculating the size of a vector that never changes.
llvm-svn: 52803
|
#
c758698d |
| 27-Jun-2008 |
Bill Wendling <isanbard@gmail.com> |
Refactor the DebugInfoDesc stuff out of the MachineModuleInfo file. Clean up some uses of std::vector, where it's return std::vector by value. Yuck!
llvm-svn: 52800
|
#
7df0d585 |
| 26-Jun-2008 |
Owen Anderson <resistor@mac.com> |
Don't create a whole new string just to copy the elements into it.
llvm-svn: 52785
|
#
d0ab9c47 |
| 26-Jun-2008 |
Eric Christopher <echristo@apple.com> |
Move GetConstantStringInfo to lib/Analysis. Remove string output routine from Constant. Update all callers. Change debug intrinsic api slightly to accomodate move of routine, these now return values
Move GetConstantStringInfo to lib/Analysis. Remove string output routine from Constant. Update all callers. Change debug intrinsic api slightly to accomodate move of routine, these now return values instead of strings.
llvm-svn: 52748
show more ...
|
Revision tags: llvmorg-2.3.0 |
|
#
d78c400b |
| 13-May-2008 |
Dan Gohman <gohman@apple.com> |
Clean up the use of static and anonymous namespaces. This turned up several things that were neither in an anonymous namespace nor static but not intended to be global.
llvm-svn: 51017
|
#
fd967cf3 |
| 02-Apr-2008 |
Dale Johannesen <dalej@apple.com> |
Recommitting EH patch; this should answer most of the review feedback. -enable-eh is still accepted but doesn't do anything. EH intrinsics use Dwarf EH if the target supports that, and are handled by
Recommitting EH patch; this should answer most of the review feedback. -enable-eh is still accepted but doesn't do anything. EH intrinsics use Dwarf EH if the target supports that, and are handled by LowerInvoke otherwise. The separation of the EH table and frame move data is, I think, logically figured out, but either one still causes full EH info to be generated (not sure how to split the metadata correctly). MachineModuleInfo::needsFrameInfo is no longer used and is removed.
llvm-svn: 49064
show more ...
|
#
bdc24ada |
| 25-Mar-2008 |
Dan Gohman <gohman@apple.com> |
A quick nm audit turned up several fixed tables and objects that were marked read-write. Use const so that they can be allocated in a read-only segment.
llvm-svn: 48800
|
Revision tags: llvmorg-2.2.0 |
|
#
efd142a9 |
| 02-Feb-2008 |
Evan Cheng <evan.cheng@apple.com> |
SDIsel processes llvm.dbg.declare by recording the variable debug information descriptor and its corresponding stack frame index in MachineModuleInfo. This only works if the local variable is "homed"
SDIsel processes llvm.dbg.declare by recording the variable debug information descriptor and its corresponding stack frame index in MachineModuleInfo. This only works if the local variable is "homed" in the stack frame. It does not work for byval parameter, etc. Added ISD::DECLARE node type to represent llvm.dbg.declare intrinsic. Now the intrinsic calls are lowered into a SDNode and lives on through out the codegen passes. For now, since all the debugging information recording is done at isel time, when a ISD::DECLARE node is selected, it has the side effect of also recording the variable. This is a short term solution that should be fixed in time.
llvm-svn: 46659
show more ...
|
#
263070ea |
| 01-Feb-2008 |
Evan Cheng <evan.cheng@apple.com> |
Rename RecordLabel to RecordSourceLine because that's what it is doing.
llvm-svn: 46628
|
#
1c6c16ea |
| 31-Jan-2008 |
Evan Cheng <evan.cheng@apple.com> |
Add an extra operand to LABEL nodes which distinguishes between debug, EH, or misc labels. This fixes the EH breakage. However I am not convinced this is *the* solution.
llvm-svn: 46609
|
#
19cf69ff |
| 30-Jan-2008 |
Dale Johannesen <dalej@apple.com> |
Adjust loop per review feedback.
llvm-svn: 46569
|
#
56d4903d |
| 30-Jan-2008 |
Dale Johannesen <dalej@apple.com> |
Accept getelementptr starting at GV with all 0 indices as a legitimate way of representing global variable GV in debug info.
llvm-svn: 46565
|
#
70de4cb1 |
| 29-Jan-2008 |
Dan Gohman <gohman@apple.com> |
Use empty() instead of comparing size() with zero.
llvm-svn: 46514
|