Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | continued readcyclecounter support | Andrew Lenharth | 2005-11-11 | 10 | -4/+44 | |
| | | | | llvm-svn: 24300 | |||||
* | Fix the optimized code handling of user asm strings | Chris Lattner | 2005-11-10 | 1 | -8/+15 | |
| | | | | llvm-svn: 24296 | |||||
* | Make BB and CPI labels use the function number, not the function name as a | Chris Lattner | 2005-11-10 | 1 | -19/+18 | |
| | | | | | | | uniquing id. This makes things happy when the function name is quoted, preventing labels like LBB"foo"_2. llvm-svn: 24295 | |||||
* | speedup the common case where nothing needs to be quoted | Chris Lattner | 2005-11-10 | 1 | -7/+20 | |
| | | | | llvm-svn: 24294 | |||||
* | Allow per-character control over what target assemblers allow in symbol | Chris Lattner | 2005-11-10 | 1 | -7/+25 | |
| | | | | | | | | | | | names. This also changes the default to allow all of "$_." in addition to letters and numbers as symbol names. If you don't want this, use markCharUnacceptable to remove one of these or markCharAcceptable to add to the set. This corresponds with what GAS accepts by default. Also, this includes some minor speedups llvm-svn: 24293 | |||||
* | do not allow '.' in symbol names | Chris Lattner | 2005-11-10 | 1 | -0/+1 | |
| | | | | llvm-svn: 24292 | |||||
* | the pain isn't gone unless the phinodes are spilled too | Andrew Lenharth | 2005-11-10 | 1 | -1/+2 | |
| | | | | llvm-svn: 24288 | |||||
* | Darwin supports quoted labels. This implements: | Chris Lattner | 2005-11-10 | 1 | -0/+3 | |
| | | | | | | test/Regression/CodeGen/PowerPC/darwin-labels.ll llvm-svn: 24287 | |||||
* | Add a new option for targets that accept quoted labels. | Chris Lattner | 2005-11-10 | 1 | -17/+44 | |
| | | | | llvm-svn: 24283 | |||||
* | remove the M instance var | Chris Lattner | 2005-11-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 24281 | |||||
* | Call this method with the object we have | Chris Lattner | 2005-11-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 24279 | |||||
* | nuke blank line | Chris Lattner | 2005-11-10 | 1 | -1/+0 | |
| | | | | llvm-svn: 24278 | |||||
* | Make this more efficient of the common case where we are only mangling globals. | Chris Lattner | 2005-11-10 | 1 | -29/+28 | |
| | | | | | | | | | | | | | | | | Do not mangle internal global names that do not collide with anything. This gives us strings that now look like this: __2E_str_1: ; '.str_1' .asciz "foo" instead of this: l1__2E_str_1: ; '.str_1' .asciz "foo" llvm-svn: 24277 | |||||
* | Get rid of casts by #including the right header | Chris Lattner | 2005-11-10 | 1 | -6/+6 | |
| | | | | llvm-svn: 24275 | |||||
* | Make the aix asm printer interface properly with the parent class | Chris Lattner | 2005-11-10 | 1 | -3/+3 | |
| | | | | llvm-svn: 24274 | |||||
* | Compile C strings to: | Chris Lattner | 2005-11-10 | 1 | -0/+1 | |
| | | | | | | | | | | | | | l1__2E_str_1: ; '.str_1' .asciz "foo" not: .align 0 l1__2E_str_1: ; '.str_1' .asciz "foo" llvm-svn: 24273 | |||||
* | add support for .asciz, and enable it by default. If your target ↵ | Chris Lattner | 2005-11-10 | 1 | -5/+13 | |
| | | | | | | | | | | | | | | | | assemblerdoesn't support .asciz, just set AscizDirective to null in your asmprinter. This compiles C strings to: l1__2E_str_1: ; '.str_1' .asciz "foo" instead of: l1__2E_str_1: ; '.str_1' .ascii "foo\000" llvm-svn: 24272 | |||||
* | this works with backedges to the existing entry block alot better | Andrew Lenharth | 2005-11-10 | 1 | -2/+3 | |
| | | | | llvm-svn: 24270 | |||||
* | fix a bunch of regressions | Andrew Lenharth | 2005-11-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 24269 | |||||
* | The pass everyone has been waiting for! | Andrew Lenharth | 2005-11-10 | 1 | -0/+79 | |
| | | | | | | | | Reg2Mem for fun you can opt -reg2mem -mem2reg llvm-svn: 24267 | |||||
* | Force vectors to be a power of two in size | Chris Lattner | 2005-11-10 | 2 | -170/+170 | |
| | | | | llvm-svn: 24265 | |||||
* | Force packed vectors to be a power of two in length. | Chris Lattner | 2005-11-10 | 1 | -0/+2 | |
| | | | | llvm-svn: 24264 | |||||
* | Switch the allnodes list from a vector of pointers to an ilist of nodes.This ↵ | Chris Lattner | 2005-11-09 | 4 | -46/+37 | |
| | | | | | | | | eliminates the vector, allows constant time removal of a node froma graph, and makes iteration over the all nodes list stable when adding nodes to the graph. llvm-svn: 24263 | |||||
* | Refactor intrinsic lowering stuff out of visitCall | Chris Lattner | 2005-11-09 | 1 | -98/+107 | |
| | | | | llvm-svn: 24261 | |||||
* | whatever. Intermediate patch to see what breaks. Seems ok. | Andrew Lenharth | 2005-11-09 | 8 | -136/+277 | |
| | | | | llvm-svn: 24260 | |||||
* | Handle the trivial (but common) two-op case more efficiently | Chris Lattner | 2005-11-09 | 1 | -11/+18 | |
| | | | | llvm-svn: 24259 | |||||
* | Nuke noop copies. | Chris Lattner | 2005-11-09 | 1 | -4/+11 | |
| | | | | llvm-svn: 24258 | |||||
* | Fix CodeGen/X86/shift-folding.ll:test3 on X86 | Chris Lattner | 2005-11-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 24256 | |||||
* | Disable some overly-aggressive checking code. This speeds up the local | Chris Lattner | 2005-11-09 | 1 | -1/+2 | |
| | | | | | | allocator from 23s to 11s on kc++ in debug mode. llvm-svn: 24255 | |||||
* | Avoid creating a token factor node in trivially redundant cases. This | Chris Lattner | 2005-11-09 | 1 | -1/+12 | |
| | | | | | | eliminates almost one node per block in common cases. llvm-svn: 24254 | |||||
* | Handle GEP's a bit more intelligently. Fold constant indices early and | Chris Lattner | 2005-11-09 | 1 | -16/+40 | |
| | | | | | | turn power-of-two multiplies into shifts early to improve compile time. llvm-svn: 24253 | |||||
* | Allocate the right amount of memory for this vector up front. | Chris Lattner | 2005-11-08 | 1 | -0/+1 | |
| | | | | llvm-svn: 24252 | |||||
* | Change the ValueList array for each node to be shared instead of ↵ | Chris Lattner | 2005-11-08 | 1 | -5/+48 | |
| | | | | | | individuallyallocated. Further, in the common case where a node has a single value, justreference an element from a small array. This is a small compile-time win. llvm-svn: 24251 | |||||
* | Switch the operandlist/valuelist from being vectors to being just an ↵ | Chris Lattner | 2005-11-08 | 1 | -23/+33 | |
| | | | | | | | | | array.This saves 12 bytes from SDNode, but doesn't speed things up substantially (our graphs apparently already fit within the cache on my g5). In any case this reduces memory usage. llvm-svn: 24249 | |||||
* | Explicitly initialize some instance vars | Chris Lattner | 2005-11-08 | 1 | -4/+5 | |
| | | | | llvm-svn: 24247 | |||||
* | Clean up RemoveDeadNodes significantly, by eliminating the need for a temporary | Chris Lattner | 2005-11-08 | 1 | -32/+34 | |
| | | | | | | | | set and eliminating the need to iterate whenever something is removed (which can be really slow in some cases). Thx to Jim for pointing out something silly I was getting stuck on. :) llvm-svn: 24241 | |||||
* | Add a new option to indicate we want the code generator to emit code quickly, | Chris Lattner | 2005-11-08 | 2 | -4/+5 | |
| | | | | | | | not spending tons of time microoptimizing it. This is useful for an -O0 style of build. llvm-svn: 24235 | |||||
* | Add a new option to indicate we want the code generator to emit code ↵ | Chris Lattner | 2005-11-08 | 14 | -32/+20 | |
| | | | | | | quickly,not spending tons of time microoptimizing it. This is useful for an -O0style of build. llvm-svn: 24233 | |||||
* | Let's try ignoring resource utilization on the backward pass. | Jim Laskey | 2005-11-07 | 1 | -0/+2 | |
| | | | | llvm-svn: 24231 | |||||
* | add support for storing and returning bools | Duraid Madina | 2005-11-07 | 1 | -5/+26 | |
| | | | | llvm-svn: 24228 | |||||
* | Always compute max align. | Chris Lattner | 2005-11-06 | 1 | -6/+5 | |
| | | | | llvm-svn: 24227 | |||||
* | just some random hacking - calls (particularly indirect) need a lot of | Duraid Madina | 2005-11-06 | 1 | -14/+25 | |
| | | | | | | love (especially with -sched=simple) llvm-svn: 24225 | |||||
* | Add the necessary support to the ISel to allow targets to codegen the new | Nate Begeman | 2005-11-06 | 3 | -8/+42 | |
| | | | | | | | | alignment information appropriately. Includes code for PowerPC to support fixed-size allocas with alignment larger than the stack. Support for arbitrarily aligned dynamic allocas coming soon. llvm-svn: 24224 | |||||
* | minor clarity changes, no functionality difference. | Chris Lattner | 2005-11-06 | 1 | -2/+2 | |
| | | | | llvm-svn: 24223 | |||||
* | don't misencode CC#'s | Chris Lattner | 2005-11-06 | 2 | -4/+5 | |
| | | | | llvm-svn: 24219 | |||||
* | encode/decode function alignment in bc files | Chris Lattner | 2005-11-06 | 2 | -24/+30 | |
| | | | | llvm-svn: 24218 | |||||
* | Read/write global variable alignments if present | Chris Lattner | 2005-11-06 | 2 | -6/+37 | |
| | | | | llvm-svn: 24216 | |||||
* | print alignment info for globals and functions | Chris Lattner | 2005-11-06 | 1 | -0/+7 | |
| | | | | llvm-svn: 24212 | |||||
* | regenerate | Chris Lattner | 2005-11-06 | 1 | -785/+793 | |
| | | | | llvm-svn: 24211 | |||||
* | Allow globals to have an alignment specified. Switch to using isPowerOf2_32 | Chris Lattner | 2005-11-06 | 1 | -13/+25 | |
| | | | | | | at Jim's request for the checking code. llvm-svn: 24210 |