summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove usage of allocaChris Lattner2003-06-161-6/+6
| | | | llvm-svn: 6726
* Remove two using declsChris Lattner2003-06-161-18/+14
| | | | | | Remove usage of alloca llvm-svn: 6725
* Isolate machine-dependent use of <alloca.h> in "Support/Alloca.h",Brian Gaeke2003-06-163-3/+3
| | | | | | | so that we can easily change its use to be conditional on the result of an autoconf test later. llvm-svn: 6723
* Rename FInfo.cpp to FunctionInfo.cpp, eliminate FInfo.hChris Lattner2003-06-161-2/+0
| | | | llvm-svn: 6712
* move contents of include/llvm/Reoptimizer/Mapping/FInfo.h into here, it is ↵Chris Lattner2003-06-161-0/+2
| | | | | | sparc internal llvm-svn: 6711
* Fix typeoChris Lattner2003-06-161-2/+2
| | | | llvm-svn: 6704
* Fix bug: Linker/2003-06-02-TypeResolveProblem2.llChris Lattner2003-06-161-16/+28
| | | | llvm-svn: 6699
* Fix bug: ADCE/2003-06-11-InvalidCFG.llChris Lattner2003-06-161-5/+14
| | | | | | | This was because we were deleting large chunks of functions without an exit block, because the post-dominance information was not useful. This broke crafty and twolf. llvm-svn: 6698
* Fix bug: CBackend/2003-06-11-HexConstant.llChris Lattner2003-06-161-5/+17
| | | | | | Fix bug: CBackend/2003-06-11-LiteralStringProblem.ll llvm-svn: 6697
* Nodes get forwarded when they are collapsed currently.Chris Lattner2003-06-161-1/+4
| | | | llvm-svn: 6696
* Remove bogus assertion: a node with no referrers could be collapsed if ↵Chris Lattner2003-06-161-2/+0
| | | | | | field-sensitivity was disabled llvm-svn: 6695
* Implement forwarding from stores to loads of must-aliased pointers.Chris Lattner2003-06-161-14/+96
| | | | | | This implements: GCSE/2003-06-13-LoadStoreEliminate.ll llvm-svn: 6694
* Fix invalid number of arguments problemChris Lattner2003-06-161-2/+2
| | | | llvm-svn: 6692
* Included assert.h so that the code compiles under newer versions of GCC.John Criswell2003-06-112-0/+3
| | | | llvm-svn: 6682
* Updated for the new projects Makefile.John Criswell2003-06-111-4/+4
| | | | llvm-svn: 6678
* add some commentsGuochun Shi2003-06-102-54/+114
| | | | | | add a function ModuloScheduling::dumpFinalSchedule() to print out final schedule llvm-svn: 6677
* add an brief instruction what this pass isGuochun Shi2003-06-101-1/+1
| | | | llvm-svn: 6676
* a simple introduction to this passGuochun Shi2003-06-101-0/+33
| | | | llvm-svn: 6675
* cleaned codeGuochun Shi2003-06-103-127/+321
| | | | | | add some comments llvm-svn: 6674
* delete useless functionsGuochun Shi2003-06-084-216/+190
| | | | | | add comment llvm-svn: 6673
* change DEBUG to DEBUG_PRINTGuochun Shi2003-06-083-102/+106
| | | | llvm-svn: 6672
* Add #include for older GCC'sChris Lattner2003-06-081-0/+1
| | | | llvm-svn: 6670
* Fix bug: LevelRaise/2003-06-07-EmptyArrayTest.llChris Lattner2003-06-071-1/+2
| | | | llvm-svn: 6669
* Fix compilation problem on GCC 2.9xChris Lattner2003-06-071-1/+1
| | | | llvm-svn: 6667
* Do not hastily change the Opcode from 'r' to 'i' type if we're not actuallyMisha Brukman2003-06-071-7/+6
| | | | | | | | SETTING the operand to be an immediate or have verified that one of the operands is really a SignExtended or Unextended immediate value already, which warrants an 'i' opcode. llvm-svn: 6662
* Fix compilation problem with some versions of G++Chris Lattner2003-06-061-1/+1
| | | | llvm-svn: 6660
* Fix problem with perrorChris Lattner2003-06-061-0/+1
| | | | llvm-svn: 6659
* Fix warnings on SparcChris Lattner2003-06-061-5/+8
| | | | llvm-svn: 6658
* Print address out as hex.Misha Brukman2003-06-061-1/+1
| | | | llvm-svn: 6657
* Added 'r' and 'i' versions to WRCCR.Misha Brukman2003-06-061-1/+2
| | | | llvm-svn: 6656
* * Changed Bcc instructions to behave like BPcc instructionsMisha Brukman2003-06-067-38/+64
| | | | | | | | | * BPA and BPN do not take a %cc register as a parameter * SLL/SRL/SRA{r,i}5 are there for a reason - they are ONLY 32-bit instructions * Likewise, SLL/SRL/SRAX{r,i}6 are only 64-bit * Added WRCCR{r,i} opcodes llvm-svn: 6655
* * Removed PreSelection pass because that is now done in the JITMisha Brukman2003-06-061-22/+10
| | | | | | | * Removed instruction scheduling as it is too slow to run in a JIT environment * Removed other passes because they aren't necessary and can slow JIT down llvm-svn: 6652
* Don't output explicit initializers for globals that are zero initializedChris Lattner2003-06-061-4/+4
| | | | llvm-svn: 6651
* ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT :::Misha Brukman2003-06-061-1/+14
| | | | | | | | | | | | | | | | | The JIT is designed to code-generate a function at-a-time. That means that any pass can only make local changes to its function. Period. Because the Sparc PreSelection pass claims to be a BasicBlock pass while adding globals to the Module, it cannot be run with the other passes, because by this time, the globals have been output already by the JIT, and the addresses of any globals appearing AFTER this point are not recognized. However, the PreSelection pass is a requirement for correctness in the Sparc codegen path, so it MUST be run. ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: llvm-svn: 6650
* Output function address as hex.Misha Brukman2003-06-061-3/+2
| | | | llvm-svn: 6649
* Fixed a bunch of test cases in test/Regression/Jello which could not get theMisha Brukman2003-06-061-2/+13
| | | | | | address of a floating-point (allocated via ConstantPool) correctly. llvm-svn: 6647
* Add statistic for # machine instrs emittedChris Lattner2003-06-061-1/+13
| | | | | | Add GROSS HACK to get CompilationCallback to work when compiled in release mode llvm-svn: 6646
* * If a global is not a function, just ask the MachineCodeEmitter for the addrMisha Brukman2003-06-061-3/+3
| | | | | | * Do not block a print statement with a DEBUG() guard if we're going to abort() llvm-svn: 6645
* The SUB*i instructions belong to a different class than their SUB*r brethren.Misha Brukman2003-06-061-4/+4
| | | | llvm-svn: 6644
* Put all debug print statements under the DEBUG() guard to make output clean soMisha Brukman2003-06-061-35/+36
| | | | | | that tests can automatically diff the output. llvm-svn: 6642
* Removed debug print statement.Misha Brukman2003-06-061-1/+0
| | | | llvm-svn: 6641
* Fixed confusion between register classes and register types.Misha Brukman2003-06-051-2/+4
| | | | | | Now %fcc registers are recognized correctly. llvm-svn: 6640
* Added missing directive to store the instruction name.Misha Brukman2003-06-051-0/+1
| | | | llvm-svn: 6639
* Moved predict and annul fields to the end of each individual instructionMisha Brukman2003-06-051-12/+15
| | | | | | class, because they are currently unused. llvm-svn: 6638
* Do not preset the cc register, the instructions actually use it.Misha Brukman2003-06-051-20/+17
| | | | llvm-svn: 6637
* Minor tuning -- avoid a non-inlinable function call on every operand.Vikram S. Adve2003-06-051-70/+72
| | | | | | Also, reorder a couple of functions for inlining. llvm-svn: 6635
* Fix (bogus) possibly uninitialized warningChris Lattner2003-06-051-1/+1
| | | | llvm-svn: 6634
* Added lazy function resolution to the JIT.Misha Brukman2003-06-052-31/+223
| | | | llvm-svn: 6633
* * The textual output of (non-)predicted FP branches is the same.Misha Brukman2003-06-051-24/+50
| | | | | | | * Stop mapping FBcc instructions to deprecated opcodes, map to FBPcc instead. * Fixed opf in FCMPxy instructions. llvm-svn: 6632
* Fix bug: InstCombine/2003-06-05-BranchInvertInfLoop.llChris Lattner2003-06-051-1/+1
| | | | llvm-svn: 6630
OpenPOWER on IntegriCloud