#
9bd736e2 |
| 21-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
no really, I can spell!
llvm-svn: 76679
|
#
cfb01e26 |
| 21-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
add an API so target-independent codegen can determine if a constant pool entry will require relocations against it. I implemented this conservatively for ARM, someone who is knowledgable about it s
add an API so target-independent codegen can determine if a constant pool entry will require relocations against it. I implemented this conservatively for ARM, someone who is knowledgable about it should see if this can be improved.
llvm-svn: 76678
show more ...
|
#
1eede6c6 |
| 21-Jul-2009 |
Chris Lattner <sabre@nondot.org> |
revert r76602, 76603, and r76615, pending design discussions.
llvm-svn: 76646
|
#
3b458645 |
| 21-Jul-2009 |
David Greene <greened@obbligato.org> |
Add PrefixPrinter arguments to the dump routines for MachineFunction and MachineBasicBlock. We'll use these shortly.
llvm-svn: 76603
|
#
31ceb1bc |
| 30-Jun-2009 |
Bill Wendling <isanbard@gmail.com> |
Add an "alignment" field to the MachineFunction object. It makes more sense to have the alignment be calculated up front, and have the back-ends obey whatever alignment is decided upon.
This allows
Add an "alignment" field to the MachineFunction object. It makes more sense to have the alignment be calculated up front, and have the back-ends obey whatever alignment is decided upon.
This allows for future work that would allow for precise no-op placement and the like.
llvm-svn: 74564
show more ...
|
#
7f7eb8ac |
| 25-Jun-2009 |
Bill Wendling <isanbard@gmail.com> |
My guess is that RegInfo should only call the Allocator.Deallocator if it's not null.
llvm-svn: 74147
|
#
b70adf2b |
| 24-Jun-2009 |
Owen Anderson <resistor@mac.com> |
Get rid of the global CFGOnly flag by threading a ShortNames parameters through the GraphViz rendering code. Update other uses in the codebase for this change.
llvm-svn: 74084
|
#
f99bd3a8 |
| 21-May-2009 |
Bill Wendling <isanbard@gmail.com> |
Temporarily revert r72191. It was causing an assert during llvm-gcc bootstrapping.
llvm-svn: 72200
|
#
2b59a5fc |
| 20-May-2009 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Introduce DebugScope which gets embedded into the machine instructions' DebugLoc. DebugScope refers to a debug region, function or block.
llvm-svn: 72191
|
#
672855eb |
| 14-May-2009 |
Owen Anderson <resistor@mac.com> |
Down with static variables!
Part one of many.
llvm-svn: 71785
|
#
4f915313 |
| 13-May-2009 |
Jim Grosbach <grosbach@apple.com> |
Removing the HasBuiltinSetjmp flag and associated bits. Flagging the presence of exception handling builtin sjlj targets in functions turns out not to be necessary. Marking the intrinsic implementat
Removing the HasBuiltinSetjmp flag and associated bits. Flagging the presence of exception handling builtin sjlj targets in functions turns out not to be necessary. Marking the intrinsic implementation in the .td file as defining all registers is sufficient to get the context saved properly by the containing function.
llvm-svn: 71743
show more ...
|
#
aeca45dd |
| 12-May-2009 |
Jim Grosbach <grosbach@apple.com> |
Add support for GCC compatible builtin setjmp and longjmp intrinsics. This is a supporting preliminary patch for GCC-compatible SjLJ exception handling. Note that these intrinsics are not designed to
Add support for GCC compatible builtin setjmp and longjmp intrinsics. This is a supporting preliminary patch for GCC-compatible SjLJ exception handling. Note that these intrinsics are not designed to be invoked directly by the user, but rather used by the front-end as target hooks for exception handling.
llvm-svn: 71610
show more ...
|
#
a5037484 |
| 30-Apr-2009 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Make DebugLoc independent of DwarfWriter.
-Replace DebugLocTuple's Source ID with CompileUnit's GlobalVariable* -Remove DwarfWriter::getOrCreateSourceID -Make necessary changes for the above (fix ca
Make DebugLoc independent of DwarfWriter.
-Replace DebugLocTuple's Source ID with CompileUnit's GlobalVariable* -Remove DwarfWriter::getOrCreateSourceID -Make necessary changes for the above (fix callsites, etc.)
llvm-svn: 70520
show more ...
|
#
f8b85477 |
| 20-Apr-2009 |
Bob Wilson <bob.wilson@apple.com> |
Move duplicated AddLiveIn function from X86 and ARM backends to be a method in the MachineFunction class, renaming it to addLiveIn for consistency with the same method in MachineBasicBlock. Thanks f
Move duplicated AddLiveIn function from X86 and ARM backends to be a method in the MachineFunction class, renaming it to addLiveIn for consistency with the same method in MachineBasicBlock. Thanks for Anton for suggesting this.
llvm-svn: 69615
show more ...
|
#
505065cd |
| 15-Apr-2009 |
Dan Gohman <gohman@apple.com> |
Move MachineJumpTableInfo::ReplaceMBBInJumpTables out of line.
llvm-svn: 69125
|
#
184f1be4 |
| 13-Apr-2009 |
Chris Lattner <sabre@nondot.org> |
Add a new "available_externally" linkage type. This is intended to support C99 inline, GNU extern inline, etc. Related bugzilla's include PR3517, PR3100, & PR2933. Nothing uses this yet, but it ap
Add a new "available_externally" linkage type. This is intended to support C99 inline, GNU extern inline, etc. Related bugzilla's include PR3517, PR3100, & PR2933. Nothing uses this yet, but it appears to work.
llvm-svn: 68940
show more ...
|
#
4f2fea1a |
| 23-Mar-2009 |
Dan Gohman <gohman@apple.com> |
Now that errs() is properly non-buffered, there's no need to explicitly flush it.
llvm-svn: 67526
|
#
1fb8aedd |
| 13-Mar-2009 |
Evan Cheng <evan.cheng@apple.com> |
Fix some significant problems with constant pools that resulted in unnecessary paddings between constant pool entries, larger than necessary alignments (e.g. 8 byte alignment for .literal4 sections),
Fix some significant problems with constant pools that resulted in unnecessary paddings between constant pool entries, larger than necessary alignments (e.g. 8 byte alignment for .literal4 sections), and potentially other issues.
1. ConstantPoolSDNode alignment field is log2 value of the alignment requirement. This is not consistent with other SDNode variants. 2. MachineConstantPool alignment field is also a log2 value. 3. However, some places are creating ConstantPoolSDNode with alignment value rather than log2 values. This creates entries with artificially large alignments, e.g. 256 for SSE vector values. 4. Constant pool entry offsets are computed when they are created. However, asm printer group them by sections. That means the offsets are no longer valid. However, asm printer uses them to determine size of padding between entries. 5. Asm printer uses expensive data structure multimap to track constant pool entries by sections. 6. Asm printer iterate over SmallPtrSet when it's emitting constant pool entries. This is non-deterministic.
Solutions: 1. ConstantPoolSDNode alignment field is changed to keep non-log2 value. 2. MachineConstantPool alignment field is also changed to keep non-log2 value. 3. Functions that create ConstantPool nodes are passing in non-log2 alignments. 4. MachineConstantPoolEntry no longer keeps an offset field. It's replaced with an alignment field. Offsets are not computed when constant pool entries are created. They are computed on the fly in asm printer and JIT. 5. Asm printer uses cheaper data structure to group constant pool entries. 6. Asm printer compute entry offsets after grouping is done. 7. Change JIT code to compute entry offsets on the fly.
llvm-svn: 66875
show more ...
|
Revision tags: llvmorg-2.5.0 |
|
#
0b4403f9 |
| 04-Feb-2009 |
Bill Wendling <isanbard@gmail.com> |
Constify and don't return a reference.
llvm-svn: 63689
|
#
77b3be8e |
| 03-Feb-2009 |
Bill Wendling <isanbard@gmail.com> |
Erm. Would be nice to initialize this variable. . .
llvm-svn: 63677
|
#
2c0a4fe4 |
| 03-Feb-2009 |
Bill Wendling <isanbard@gmail.com> |
Add getDebugLocTuple to retrieve the DebugLocTuple for a given DebugLoc object.
llvm-svn: 63676
|
#
e3c78361 |
| 03-Feb-2009 |
Bill Wendling <isanbard@gmail.com> |
Create DebugLoc information in FastISel. Several temporary methods were created. Specifically, those BuildMIs which use "DebugLoc::getUnknownLoc()". I'll remove them soon.
llvm-svn: 63584
|
#
573e5291 |
| 27-Jan-2009 |
Evan Cheng <evan.cheng@apple.com> |
Refine DebugLoc per review comments.
llvm-svn: 63132
|
#
b8c79bdc |
| 26-Jan-2009 |
Evan Cheng <evan.cheng@apple.com> |
No need to keep size of DebugLocations vector separately.
llvm-svn: 63070
|
#
4e6871da |
| 26-Jan-2009 |
Evan Cheng <evan.cheng@apple.com> |
Actually source file has already been uniquified into an id during isel. Eliminate the StringMap.
llvm-svn: 63009
|