aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 3 more bugs from the SPEC codes and from richards_benchmark.cVikram S. Adve2003-05-316-0/+524
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6458 91177308-0d34-0410-b5e6-96231b3b80d8
* Enabling some of these passes causes lli to breakMisha Brukman2003-05-311-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6457 91177308-0d34-0410-b5e6-96231b3b80d8
* The actual order of parameters in a 2-reg-immediate assembly instructions isMisha Brukman2003-05-311-2/+34
| | | | | | | "rs1, imm, rd": most importantly, rd goes last. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6456 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-05-301-0/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6454 91177308-0d34-0410-b5e6-96231b3b80d8
* Since malloc is no longer used, no need to free() memory.Misha Brukman2003-05-301-15/+11
| | | | | | | Fixed BasicBlock patching by supplying correct type for the displacement. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6453 91177308-0d34-0410-b5e6-96231b3b80d8
* When converting virtual registers to immediate constants, change the opcode.Misha Brukman2003-05-302-0/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6452 91177308-0d34-0410-b5e6-96231b3b80d8
* Added saveBBreferences() for BasicBlock resolution.Misha Brukman2003-05-302-4/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6451 91177308-0d34-0410-b5e6-96231b3b80d8
* getValueOp() now takes a MachineInstr as well as a MachineOperand.Misha Brukman2003-05-302-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6450 91177308-0d34-0410-b5e6-96231b3b80d8
* Added:Misha Brukman2003-05-302-15/+108
| | | | | | | | * ability to save BasicBlock references to be resolved later * register remappings from the enum values to the real hardware numbers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6449 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed the namespace to match SparcInternals.h; added notes on some missingMisha Brukman2003-05-301-5/+18
| | | | | | | sections of instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6448 91177308-0d34-0410-b5e6-96231b3b80d8
* The register types need to be visible outside of the class to be useful.Misha Brukman2003-05-301-14/+13
| | | | | | | For one, converting register numbers based on class in the code emitter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6447 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved and expanded convertOpcodeFromRegToImm() to conver more opcodes.Misha Brukman2003-05-302-448/+457
| | | | | | | | Code beautification for the rest of the code: changed layout to match the rest of the code base. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6446 91177308-0d34-0410-b5e6-96231b3b80d8
* Make LLI behave just like LLC with regard to the compile passes it uses.Misha Brukman2003-05-301-0/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6444 91177308-0d34-0410-b5e6-96231b3b80d8
* Add SRoA pass to gccasChris Lattner2003-05-301-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6442 91177308-0d34-0410-b5e6-96231b3b80d8
* Move indvars pass after mem2reg pass where it is more likely to be usefulChris Lattner2003-05-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6441 91177308-0d34-0410-b5e6-96231b3b80d8
* Okay totally give up on trying to optimize aggregates that cannot be completelyChris Lattner2003-05-301-40/+6
| | | | | | | broken up into their elements. Too many programs break because of this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6440 91177308-0d34-0410-b5e6-96231b3b80d8
* Made the register and immediate versions of instructions consecutive.Misha Brukman2003-05-301-7/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6439 91177308-0d34-0410-b5e6-96231b3b80d8
* add a check that allows the SRoA pass to avoid breaking programs, even if theirChris Lattner2003-05-301-1/+33
| | | | | | | behavior is technically undefined git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6438 91177308-0d34-0410-b5e6-96231b3b80d8
* Because the format of the shift instructions is `shift r, shcnt, r', theMisha Brukman2003-05-301-7/+11
| | | | | | | | | | | | | | instructions of format 3.12 and 3.13 cannot inherit from F3rdrs1, because that implies that the two registers are the first two parameters to the instruction. Thus I made the instructions inherit from F3rd again, and manually added an rs1 field AFTER the shcnt field in the instruction, which maps to the appropriate place in the instruction. The other changes are just elimination of unnecessary spaces. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6437 91177308-0d34-0410-b5e6-96231b3b80d8
* Sorry, correcting small typo.Tanya Lattner2003-05-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6433 91177308-0d34-0410-b5e6-96231b3b80d8
* Added configurable options for the Linker and Archiver.John Criswell2003-05-303-4/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6432 91177308-0d34-0410-b5e6-96231b3b80d8
* Added the CloneTrace function which clones traces. It takes a vector of ↵Tanya Lattner2003-05-301-0/+83
| | | | | | | | | basic blocks, removes internal phi nodes, and returns a new vector of basic blocks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6431 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for cloning a trace.Tanya Lattner2003-05-301-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6430 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefile: Make SparcV9CodeEmitter.inc depend on SparcV9_F*.td as well.Brian Gaeke2003-05-302-3/+7
| | | | | | | | SparcV9_F3.td: F3_12 and F3_13 instructions have rd and rs1 fields. Also, their fields were totally screwed up. This seems to fix the problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6429 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: ScalarRepl/2003-05-30-MultiLevel.llChris Lattner2003-05-301-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6428 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-05-301-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6427 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: ScalarRepl/2003-05-29-ArrayFail.llChris Lattner2003-05-301-42/+128
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6425 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix call to mmap, so that it can be used on sparc.Brian Gaeke2003-05-301-10/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6424 91177308-0d34-0410-b5e6-96231b3b80d8
* so far everything compilesGuochun Shi2003-05-304-46/+78
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6423 91177308-0d34-0410-b5e6-96231b3b80d8
* Implementation of Equivalence ClassesSumant Kowshik2003-05-292-0/+186
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6422 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to support function pointersSumant Kowshik2003-05-291-4/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6421 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for function pointersSumant Kowshik2003-05-291-104/+583
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6420 91177308-0d34-0410-b5e6-96231b3b80d8
* Prevent lines from wrapping.Misha Brukman2003-05-291-13/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6419 91177308-0d34-0410-b5e6-96231b3b80d8
* Added documentation for the project optionsDinakar Dhurjati2003-05-292-8/+46
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6418 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-05-291-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6417 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of extraneous ""sChris Lattner2003-05-292-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6416 91177308-0d34-0410-b5e6-96231b3b80d8
* Add commentChris Lattner2003-05-291-0/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6415 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkinChris Lattner2003-05-291-0/+251
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6414 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcasesChris Lattner2003-05-292-0/+66
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6412 91177308-0d34-0410-b5e6-96231b3b80d8
* Since there is now another derived .inc file, ignore them all.Misha Brukman2003-05-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6411 91177308-0d34-0410-b5e6-96231b3b80d8
* Use an absolute path to TableGen because not everyone (e.g. automatic tester)Misha Brukman2003-05-291-1/+1
| | | | | | | has their path set up by this point. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6410 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a path to the current version of the built TableGen.Misha Brukman2003-05-292-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6409 91177308-0d34-0410-b5e6-96231b3b80d8
* Check in old testsChris Lattner2003-05-292-0/+36
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6408 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor reordering of optionsChris Lattner2003-05-291-11/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6407 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed configuration options that are better served in Makefile.config.John Criswell2003-05-292-46/+4
| | | | | | | | Fixed the LibInstDir macro. Added the use of the FLEX variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6405 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved the FLEX and BISON macros from Makefile.common since they areJohn Criswell2003-05-291-1/+50
| | | | | | | | | | | configuration options like CC and CXX. Updated LLVMGCCDIR so that it refers to the valid LLVM gcc code. Added pathnames and flags to be used by some of the tests. Moved configuration options from Makefile.common to here since they should all be in one place. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6404 91177308-0d34-0410-b5e6-96231b3b80d8
* Added the target-independent part of TableGen data.Misha Brukman2003-05-291-0/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6403 91177308-0d34-0410-b5e6-96231b3b80d8
* Added project options to the Makefile.commonDinakar Dhurjati2003-05-292-84/+234
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6402 91177308-0d34-0410-b5e6-96231b3b80d8
* Run more post-link xformsChris Lattner2003-05-291-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6400 91177308-0d34-0410-b5e6-96231b3b80d8
* Change tests to use testrunnerChris Lattner2003-05-293-6/+23
| | | | | | | new test git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6399 91177308-0d34-0410-b5e6-96231b3b80d8