summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Use the new commandline flag to allow us to call bugpoint like this:Chris Lattner2004-05-061-2/+2
| | | | | | | | bugpoint ... --tool-args -enable-correct-eh-support -regalloc=linearscan --args -- -foo So that tool-args option gets the -enable-correct-eh-support -regalloc=linearscan flags instead of bugpoint. llvm-svn: 13389
* Implement the new cl::PositionalEatsArgs flag, refactor code a bitChris Lattner2004-05-061-52/+65
| | | | llvm-svn: 13388
* Add a new cl::PositionalEatsArgs flagChris Lattner2004-05-061-4/+14
| | | | llvm-svn: 13387
* Fix for PR#330.John Criswell2004-05-061-0/+8
| | | | | | | | | | | | | When looking at getelementptr instructions, make sure to use a forwarded type. We want to do this because a DerivedType may drop its uses and then refine its users, who may then use another user who hasn't been refined yet. By getting the forwarded type, we always ensure that we're looking at a Type that isn't in a halfway refined state. Now, I should be able to put this stuff in PATypeHandle, but it doesn't work for some reason. This should do for now. llvm-svn: 13386
* Remove a really old commentChris Lattner2004-05-061-9/+0
| | | | llvm-svn: 13385
* Just testing the "Reid has CVS commit access" systemReid Spencer2004-05-061-1/+1
| | | | llvm-svn: 13384
* Give props to Vladimir Prus for the inst_iterator patch.Misha Brukman2004-05-061-0/+4
| | | | llvm-svn: 13383
* numeric_limits::infinity() apparently does not work on all systems. As aChris Lattner2004-05-062-7/+5
| | | | | | workaround, use the C HUGE_VAL macro instead. llvm-svn: 13377
* Fix for gcc3.4: invalid use of forward delacred class on line 93Alkis Evlogimenos2004-05-061-2/+1
| | | | llvm-svn: 13370
* Move the stuff that fixes the size, orientation & fonts of graphs toBrian Gaeke2004-05-053-15/+6
| | | | | | | | | | | the debugging functions that call "dot". These fixed settings have various problems: for example, the fixed size that is set in the graph traits classes is not appropriate for turning the dot file into a PNG, and if TrueType font rendering is being used, the 'Courier' TrueType font may not be installed. It seems easy enough to specify these things on the command line, anyhow. llvm-svn: 13366
* Apply simplification suggested by Chris: why assign() when operator = will do?Brian Gaeke2004-05-042-4/+4
| | | | llvm-svn: 13364
* Fixed inconsistent indentation.John Criswell2004-05-041-16/+16
| | | | llvm-svn: 13363
* Missing piece of fix for Bug 333Brian Gaeke2004-05-041-1/+1
| | | | llvm-svn: 13362
* Bugs fixedBrian Gaeke2004-05-041-2/+5
| | | | llvm-svn: 13360
* update command guide to have --tool-argsBrian Gaeke2004-05-041-0/+12
| | | | llvm-svn: 13359
* Add --tool-args flag which lets you pass arguments to llc or lli.Brian Gaeke2004-05-041-9/+22
| | | | | | This is intended to address Bug 40. llvm-svn: 13358
* Correctly mangle function names when they are used as part of aBrian Gaeke2004-05-041-3/+3
| | | | | | | | | constant pool member's name. This is intended to address Bug 333. Also, fix an anachronistic usage of "M" as a parameter of type Function *. llvm-svn: 13357
* Add "Args" optional argument to AbstractInterpreter factory methods, whichBrian Gaeke2004-05-042-39/+91
| | | | | | | | | | | fills in a ToolArgs vector in the AbstractInterpreter if it is set. This ToolArgs vector is used to pass additional arguments to LLI and/or LLC. This is intended to address Bug 40. Also, make -debug-only=toolrunner work for the LLC and CBE AbstractInterpreters. llvm-svn: 13356
* Remove unneeded checkChris Lattner2004-05-041-1/+0
| | | | llvm-svn: 13355
* Improve signed division by power of 2 *dramatically* from this:Chris Lattner2004-05-041-9/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | div: mov %EDX, DWORD PTR [%ESP + 4] mov %ECX, 64 mov %EAX, %EDX sar %EDX, 31 idiv %ECX ret to this: div: mov %EAX, DWORD PTR [%ESP + 4] mov %ECX, %EAX sar %ECX, 5 shr %ECX, 26 mov %EDX, %EAX add %EDX, %ECX sar %EAX, 6 ret Note that the intel compiler is currently making this: div: movl 4(%esp), %edx #3.5 movl %edx, %eax #4.14 sarl $5, %eax #4.14 shrl $26, %eax #4.14 addl %edx, %eax #4.14 sarl $6, %eax #4.14 ret #4.14 Which has one less register->register copy. (hint hint alkis :) llvm-svn: 13354
* Provide visit(Module&) and visitModule(Module&) functionality.Misha Brukman2004-05-041-0/+5
| | | | llvm-svn: 13353
* Add stub support for reading BBTraces.Brian Gaeke2004-05-041-0/+16
| | | | llvm-svn: 13352
* Add BBTrace accessor method and data member.Brian Gaeke2004-05-041-0/+6
| | | | llvm-svn: 13351
* Bug fixedChris Lattner2004-05-041-3/+11
| | | | llvm-svn: 13350
* Do not mark instructions in unreachable sections of the function as live.Chris Lattner2004-05-041-2/+5
| | | | | | This fixes PR332 and ADCE/2004-05-04-UnreachableBlock.llx llvm-svn: 13349
* New testcase for PR332Chris Lattner2004-05-041-0/+16
| | | | llvm-svn: 13348
* New header file containing profile info enums shared between the C++ analysisBrian Gaeke2004-05-041-0/+28
| | | | | | libraries and the C runtime support library llvm-svn: 13347
* Share ProfilingType enum with the C profiling runtime libraries.Brian Gaeke2004-05-041-7/+1
| | | | llvm-svn: 13346
* Share the profile info type enum with the C++ analysis libraries.Brian Gaeke2004-05-041-9/+5
| | | | | | Add a documentation comment for write_profiling_data(). llvm-svn: 13345
* Constants for profile info type changed names to match the C++ ones.Brian Gaeke2004-05-043-3/+3
| | | | llvm-svn: 13344
* Constants for profile info type changed names to match the C++ ones.Brian Gaeke2004-05-042-11/+12
| | | | | | Edited comments. llvm-svn: 13343
* Improve code generated for integer multiplications by 2,3,5,9Chris Lattner2004-05-041-2/+16
| | | | llvm-svn: 13342
* Minor efficiency tweak, suggested by Patrick MeredithChris Lattner2004-05-041-4/+4
| | | | llvm-svn: 13341
* Fix typoBrian Gaeke2004-05-031-1/+1
| | | | llvm-svn: 13340
* Add initial implementation of basic block tracing runtimeBrian Gaeke2004-05-031-0/+67
| | | | llvm-svn: 13339
* Add basic block tracing functions as exported symbols.Brian Gaeke2004-05-031-0/+2
| | | | llvm-svn: 13338
* Add basic block tracing information as a type of "profiling" information.Brian Gaeke2004-05-031-1/+2
| | | | llvm-svn: 13337
* In InsertProfilingInitCall(), make it legal to pass in a null array, inBrian Gaeke2004-05-032-7/+13
| | | | | | which case you'll get a null array and zero passed to the profiling function. llvm-svn: 13336
* Add initial implementation of basic-block tracing instrumentation pass.Brian Gaeke2004-05-031-0/+76
| | | | llvm-svn: 13335
* Initialize member out of paranoiaChris Lattner2004-05-021-2/+1
| | | | llvm-svn: 13319
* Fix a problem with double freeing memory. For some reason, CallGraph is notChris Lattner2004-05-021-0/+1
| | | | | | acting like a normal pass. :( llvm-svn: 13318
* Plug a minor memory leakChris Lattner2004-05-021-0/+1
| | | | llvm-svn: 13317
* Do not clone arbitrary condition instructions.Chris Lattner2004-05-021-1/+1
| | | | llvm-svn: 13316
* Do not infinitely "unroll" single BB loops.Chris Lattner2004-05-021-5/+4
| | | | llvm-svn: 13315
* Add some stuff to the release notes.Chris Lattner2004-05-021-6/+17
| | | | llvm-svn: 13314
* Chris told me to take these assertions out a few days ago, but I forgot toBrian Gaeke2004-05-021-10/+0
| | | | | | check this in. llvm-svn: 13313
* Dont' merge terminators that are needed to select PHI node values.Chris Lattner2004-05-021-1/+1
| | | | llvm-svn: 13312
* Implement SimplifyCFG/branch-cond-merge.llChris Lattner2004-05-011-10/+64
| | | | | | Turning "if (A < B && B < C)" into "if (A < B & B < C)" llvm-svn: 13311
* New testcase:Chris Lattner2004-05-011-0/+21
| | | | | | Turn "if (A < B && B < C)" into "if (A < B & B < C)" llvm-svn: 13310
* Make sure to reprocess instructions used by deleted instructions to avoidChris Lattner2004-05-011-5/+12
| | | | | | missing opportunities for combination. llvm-svn: 13309
OpenPOWER on IntegriCloud