summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* continued readcyclecounter supportAndrew Lenharth2005-11-1110-4/+44
| | | | llvm-svn: 24300
* Fix the optimized code handling of user asm stringsChris Lattner2005-11-101-8/+15
| | | | llvm-svn: 24296
* Make BB and CPI labels use the function number, not the function name as aChris Lattner2005-11-101-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 quotedChris Lattner2005-11-101-7/+20
| | | | llvm-svn: 24294
* Allow per-character control over what target assemblers allow in symbolChris Lattner2005-11-101-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 namesChris Lattner2005-11-101-0/+1
| | | | llvm-svn: 24292
* the pain isn't gone unless the phinodes are spilled tooAndrew Lenharth2005-11-101-1/+2
| | | | llvm-svn: 24288
* Darwin supports quoted labels. This implements:Chris Lattner2005-11-101-0/+3
| | | | | | test/Regression/CodeGen/PowerPC/darwin-labels.ll llvm-svn: 24287
* Add a new option for targets that accept quoted labels.Chris Lattner2005-11-101-17/+44
| | | | llvm-svn: 24283
* remove the M instance varChris Lattner2005-11-101-2/+2
| | | | llvm-svn: 24281
* Call this method with the object we haveChris Lattner2005-11-101-2/+2
| | | | llvm-svn: 24279
* nuke blank lineChris Lattner2005-11-101-1/+0
| | | | llvm-svn: 24278
* Make this more efficient of the common case where we are only mangling globals.Chris Lattner2005-11-101-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 headerChris Lattner2005-11-101-6/+6
| | | | llvm-svn: 24275
* Make the aix asm printer interface properly with the parent classChris Lattner2005-11-101-3/+3
| | | | llvm-svn: 24274
* Compile C strings to:Chris Lattner2005-11-101-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 Lattner2005-11-101-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 betterAndrew Lenharth2005-11-101-2/+3
| | | | llvm-svn: 24270
* fix a bunch of regressionsAndrew Lenharth2005-11-101-2/+2
| | | | llvm-svn: 24269
* The pass everyone has been waiting for!Andrew Lenharth2005-11-101-0/+79
| | | | | | | | Reg2Mem for fun you can opt -reg2mem -mem2reg llvm-svn: 24267
* Force vectors to be a power of two in sizeChris Lattner2005-11-102-170/+170
| | | | llvm-svn: 24265
* Force packed vectors to be a power of two in length.Chris Lattner2005-11-101-0/+2
| | | | llvm-svn: 24264
* Switch the allnodes list from a vector of pointers to an ilist of nodes.This ↵Chris Lattner2005-11-094-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 visitCallChris Lattner2005-11-091-98/+107
| | | | llvm-svn: 24261
* whatever. Intermediate patch to see what breaks. Seems ok.Andrew Lenharth2005-11-098-136/+277
| | | | llvm-svn: 24260
* Handle the trivial (but common) two-op case more efficientlyChris Lattner2005-11-091-11/+18
| | | | llvm-svn: 24259
* Nuke noop copies.Chris Lattner2005-11-091-4/+11
| | | | llvm-svn: 24258
* Fix CodeGen/X86/shift-folding.ll:test3 on X86Chris Lattner2005-11-091-1/+1
| | | | llvm-svn: 24256
* Disable some overly-aggressive checking code. This speeds up the localChris Lattner2005-11-091-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. ThisChris Lattner2005-11-091-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 andChris Lattner2005-11-091-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 Lattner2005-11-081-0/+1
| | | | llvm-svn: 24252
* Change the ValueList array for each node to be shared instead of ↵Chris Lattner2005-11-081-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 Lattner2005-11-081-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 varsChris Lattner2005-11-081-4/+5
| | | | llvm-svn: 24247
* Clean up RemoveDeadNodes significantly, by eliminating the need for a temporaryChris Lattner2005-11-081-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 Lattner2005-11-082-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 Lattner2005-11-0814-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 Laskey2005-11-071-0/+2
| | | | llvm-svn: 24231
* add support for storing and returning boolsDuraid Madina2005-11-071-5/+26
| | | | llvm-svn: 24228
* Always compute max align.Chris Lattner2005-11-061-6/+5
| | | | llvm-svn: 24227
* just some random hacking - calls (particularly indirect) need a lot ofDuraid Madina2005-11-061-14/+25
| | | | | | love (especially with -sched=simple) llvm-svn: 24225
* Add the necessary support to the ISel to allow targets to codegen the newNate Begeman2005-11-063-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 Lattner2005-11-061-2/+2
| | | | llvm-svn: 24223
* don't misencode CC#'sChris Lattner2005-11-062-4/+5
| | | | llvm-svn: 24219
* encode/decode function alignment in bc filesChris Lattner2005-11-062-24/+30
| | | | llvm-svn: 24218
* Read/write global variable alignments if presentChris Lattner2005-11-062-6/+37
| | | | llvm-svn: 24216
* print alignment info for globals and functionsChris Lattner2005-11-061-0/+7
| | | | llvm-svn: 24212
* regenerateChris Lattner2005-11-061-785/+793
| | | | llvm-svn: 24211
* Allow globals to have an alignment specified. Switch to using isPowerOf2_32Chris Lattner2005-11-061-13/+25
| | | | | | at Jim's request for the checking code. llvm-svn: 24210
OpenPOWER on IntegriCloud