aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Make various adjustments to parsing so that the separator character doesn'tReid Spencer2004-11-231-36/+156
| | | | | | | | terminate options or paths, so that SPACE tokens legally separate options on a command line, and so that the lang.libs paths are parsed properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18184 91177308-0d34-0410-b5e6-96231b3b80d8
* SPACE is a legitimate token now, to separate option words.Reid Spencer2004-11-231-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18183 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle space, separators, bad substitutions, and library search path betterReid Spencer2004-11-231-6/+7
| | | | | | | than before. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18182 91177308-0d34-0410-b5e6-96231b3b80d8
* Configurable language configuration files.Reid Spencer2004-11-234-0/+203
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18181 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow reading of member names that begin with an _ character.Reid Spencer2004-11-232-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18179 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix encoding of blr and bctrChris Lattner2004-11-231-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18178 91177308-0d34-0410-b5e6-96231b3b80d8
* Added remark about GCC 3.2.2. Someone with more knowledge of the problemJohn Criswell2004-11-231-1/+2
| | | | | | | can elaborate. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18177 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the correct register class as a constaint to gcc's inline assembly, soNate Begeman2004-11-231-2/+2
| | | | | | | that we don't end up trying to use r0 as a base register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18176 91177308-0d34-0410-b5e6-96231b3b80d8
* Save/Restore arg regs and nonvolatile regs the compiler might use duringNate Begeman2004-11-231-12/+29
| | | | | | | CompilationCallback git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18175 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the encoding of OR, AND and many other instructionsChris Lattner2004-11-231-1/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18174 91177308-0d34-0410-b5e6-96231b3b80d8
* Support shr long/ulong.Brian Gaeke2004-11-232-102/+234
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18173 91177308-0d34-0410-b5e6-96231b3b80d8
* Support printing ConstantAggregateZeros.Brian Gaeke2004-11-232-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18172 91177308-0d34-0410-b5e6-96231b3b80d8
* Update failing SingleSource test-case list.Brian Gaeke2004-11-232-20/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18171 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove argtype and argcount magic, which was used by the old asmprinter.Chris Lattner2004-11-231-189/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18170 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of flags that are deadChris Lattner2004-11-234-52/+38
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18169 91177308-0d34-0410-b5e6-96231b3b80d8
* We also provide a source distribution of the GCC front-endMisha Brukman2004-11-231-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18166 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix encoding of rlwinm?Chris Lattner2004-11-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18165 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix encodingsChris Lattner2004-11-231-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18164 91177308-0d34-0410-b5e6-96231b3b80d8
* Enumerate CR registersChris Lattner2004-11-231-8/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18162 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial implementation of exiting CompilationCallbackChris Lattner2004-11-231-9/+24
| | | | | | | | This should save all argument registers on entry and restore on exit, despite that, simple things seem to work!!! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18161 91177308-0d34-0410-b5e6-96231b3b80d8
* This method is deadChris Lattner2004-11-231-7/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18160 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove this method.Chris Lattner2004-11-231-5/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18159 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure the timing output is also sent to the log file for dejagnu, notReid Spencer2004-11-231-1/+1
| | | | | | | the log file of the NightlyTest.pl script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18158 91177308-0d34-0410-b5e6-96231b3b80d8
* Squelch a bogus warningChris Lattner2004-11-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18157 91177308-0d34-0410-b5e6-96231b3b80d8
* Squelch a bogus warning.Chris Lattner2004-11-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18156 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't return value from void function. This is only temporary anyway whileNate Begeman2004-11-231-1/+1
| | | | | | | the JIT is made to work! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18155 91177308-0d34-0410-b5e6-96231b3b80d8
* pseudocode for 64-bit lshr.Brian Gaeke2004-11-232-2/+104
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18154 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a minor bugChris Lattner2004-11-231-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18153 91177308-0d34-0410-b5e6-96231b3b80d8
* Be really paranoid about not breaking stuff yetChris Lattner2004-11-231-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18152 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the first hunk of CompilationCallback. The pieces missing are theChris Lattner2004-11-231-10/+54
| | | | | | | | | | | ones noted, which require funny PPC specific inline assembly. If some angel felt the desire to help me, I think this is that last bit missing for JIT support (however, generic code emitter might night work right with the constant pool yet). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18151 91177308-0d34-0410-b5e6-96231b3b80d8
* Change formats, as suggested by DuraidChris Lattner2004-11-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18150 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more known-failing tests.Brian Gaeke2004-11-232-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18149 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the rest of the logical instructions.Brian Gaeke2004-11-232-12/+48
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18148 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the stub needed to get into compilation callback.Chris Lattner2004-11-231-5/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18147 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify code a bitChris Lattner2004-11-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18146 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial implementation of the JIT interfaces. Relocation is done and stubsChris Lattner2004-11-231-0/+117
| | | | | | | | | | for external functions work. CompilationCallback has not been written, and stubs for internal functions are not generated yet. This means you can call printf and exit, and use global variables, but cannot call functions local to a module yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18145 91177308-0d34-0410-b5e6-96231b3b80d8
* Emit relocations for the global variable using instructions. This gets usChris Lattner2004-11-231-48/+44
| | | | | | | | LA, LOADHiAddr, CALLpcrel, and MovePCtoLR working, though the constant pool probably is not right. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18144 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow configuration files to be themselves configured and found in theReid Spencer2004-11-231-1/+7
| | | | | | | OBJ dir instead of only in the SRC dir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18143 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement all of the methodsChris Lattner2004-11-231-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18142 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of the 32-bit PPC relocation typesChris Lattner2004-11-231-0/+38
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18141 91177308-0d34-0410-b5e6-96231b3b80d8
* Move JITInfo from PPCTM to PPC32TMChris Lattner2004-11-232-6/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18140 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not provide the non-specialized PowerPCJITInfo object, it is pretty useless.Chris Lattner2004-11-231-9/+1
| | | | | | | Instead, let derived classes provide specialized ones. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18139 91177308-0d34-0410-b5e6-96231b3b80d8
* LA is really addi. Be consistent with operand ordering to avoid confusing ↵Chris Lattner2004-11-232-5/+7
| | | | | | the code emitter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18138 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed the CreateCodeToLoadConst function to preserve SSA form. This ↵Tanya Lattner2004-11-231-7/+24
| | | | | | basically means adding extra tmp instructions for intermediate values. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18137 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove some dead codeChris Lattner2004-11-221-76/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18136 91177308-0d34-0410-b5e6-96231b3b80d8
* Comment out a couple of unused instructions.Chris Lattner2004-11-221-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18135 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not push two return addresses on the stack when we call external ↵Chris Lattner2004-11-221-10/+16
| | | | | | functions who have their addresses taken. This fixes test-call.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18134 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a note about the JIT changes.Chris Lattner2004-11-221-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18133 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename Emitter.cpp -> JITEmitter.cppChris Lattner2004-11-221-20/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18132 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the FIXME, nuke the JIT specific forceCompilationOf method.Chris Lattner2004-11-223-36/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18131 91177308-0d34-0410-b5e6-96231b3b80d8