OSDN Git Service
Chris Lattner [Tue, 17 Aug 2004 21:38:40 +0000 (21:38 +0000)]
Add support for targets without a .zero directive
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15894
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 20:23:33 +0000 (20:23 +0000)]
This file is no longer used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15893
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 19:26:03 +0000 (19:26 +0000)]
Start using alignment output routines from AsmPrinter.
Changes to make this more similar to the X86 asmprinter
Fix overalignment of globals.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15891
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 19:25:42 +0000 (19:25 +0000)]
Start using alignment output routines from AsmPrinter.
Changes to make this more similar to the ppc asmprinter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15890
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 19:17:10 +0000 (19:17 +0000)]
Add an overload
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15889
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 19:14:29 +0000 (19:14 +0000)]
Add support for alignment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15888
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 19:13:00 +0000 (19:13 +0000)]
Add a new helper method to get log2(type alignment)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15887
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 19:12:44 +0000 (19:12 +0000)]
Add punctuation, add a new method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15886
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 18:08:52 +0000 (18:08 +0000)]
Add itostr(long) for our furry 64-bit friends.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15885
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 17:52:36 +0000 (17:52 +0000)]
Ultra-doxygenify some function header comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15884
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 17:28:46 +0000 (17:28 +0000)]
Check constant expression validity more strictly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15883
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 17:26:41 +0000 (17:26 +0000)]
Work around PR424 for old c/c++ frontends.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15882
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 16:27:26 +0000 (16:27 +0000)]
Print comments with ;
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15881
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 16:27:05 +0000 (16:27 +0000)]
Use a designated comment character when printing comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15880
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 16:26:36 +0000 (16:26 +0000)]
Allow targets to specify a comment character
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15879
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 17 Aug 2004 09:38:50 +0000 (09:38 +0000)]
Added a *very* initial cut at a lexicon for LLVM. I don't plan to write
this whole thing. Just use the pattern in the file to add entries as you
think of them. This will be really helpful for newbies to advanced compiler
optimization techniques such as myself.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15878
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 17 Aug 2004 09:18:37 +0000 (09:18 +0000)]
Documented (Java properties file like) syntax of config file format
Added definitions for some of the configuration items.
Made the document HTML 4.01 Strict compliant.
Ran ispell on it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15877
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 17 Aug 2004 08:01:57 +0000 (08:01 +0000)]
Add a reference to the ComilerDriver documentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15876
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 17 Aug 2004 07:45:14 +0000 (07:45 +0000)]
Bytecode File Format Changes:
- File format version number bumped to 4
- Writer will now align nothing
- Reader now only expects alignment for version 3 or earlier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15875
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 17 Aug 2004 07:43:43 +0000 (07:43 +0000)]
Documented the removal of alignment in version 4 bytecode files (version 3
was released with LLVM 1.3). Alignment of fields can add severe size to
certain kinds of functions (those with lots of long format instructions) so
we decided to do away with alignment altogether in this bc version.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15874
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Tue, 17 Aug 2004 07:17:44 +0000 (07:17 +0000)]
Re-fix hiding the Frame Pointer from the register allocator in functions
that have a frame pointer. This change fixes Burg. In addition, make
the necessary changes to floating point code gen and constant loading after
Chris Lattner's fixes to the asm writer. These changes fix MallocBench/gs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15873
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 06:48:55 +0000 (06:48 +0000)]
Use the AsmPrinter emitGlobalConstant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15872
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 06:48:34 +0000 (06:48 +0000)]
Add missing \t
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15871
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 06:48:16 +0000 (06:48 +0000)]
Add support for targets that have .quad, drop extra tab inserted
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15870
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 06:37:12 +0000 (06:37 +0000)]
Use the emitGlobalConstant defined in AsmPrinter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15869
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 06:36:49 +0000 (06:36 +0000)]
Implement emitGlobalConstant
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15868
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 06:36:27 +0000 (06:36 +0000)]
Add some hooks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15867
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 06:07:43 +0000 (06:07 +0000)]
New, more general, interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15866
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 06:06:54 +0000 (06:06 +0000)]
Allow an arbitrary prefix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15865
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 06:06:37 +0000 (06:06 +0000)]
Allow an arbitrary prefix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15864
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 06:06:19 +0000 (06:06 +0000)]
We now allow targets to use any prefix they want for global symbols. Lets
hear it for ".".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15863
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 05:11:54 +0000 (05:11 +0000)]
Rewrite targets/rules to generate files for just PowerPC or PPC{32,64}
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15862
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 05:10:31 +0000 (05:10 +0000)]
Register classes are target-dependent
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15861
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 05:09:39 +0000 (05:09 +0000)]
#include <map> is not necessary here
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15860
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 05:09:10 +0000 (05:09 +0000)]
`PowerPC' is no longer a real target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15859
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 05:08:44 +0000 (05:08 +0000)]
Move variables and methods which need PPC{32,64}* distinction to subclasses
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15858
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 05:06:47 +0000 (05:06 +0000)]
No need for an `is64bit' flag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15857
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 05:05:00 +0000 (05:05 +0000)]
PowerPCInstrInfo and PowerPCRegisterInfo have gone away; they are replaced
by 32- and 64-bit customized files, named appropriately.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15856
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 05:02:58 +0000 (05:02 +0000)]
Consistently name passed with 32 or 64 in their name
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15855
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 05:02:18 +0000 (05:02 +0000)]
PowerPCRegisterInfo no longer takes a bool to differentiate 32 vs 64 bits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15854
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 05:00:46 +0000 (05:00 +0000)]
The PowerPCInstrInfo class has gone away.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15853
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 04:58:50 +0000 (04:58 +0000)]
PowerPCInstrInfo has gone away, PPC32 and PPC64 share opcodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15852
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 04:57:37 +0000 (04:57 +0000)]
PowerPC 32-/64-bit split: Part II, 64-bit customizations on PowerPC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15851
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Tue, 17 Aug 2004 04:55:41 +0000 (04:55 +0000)]
PowerPC 32-/64-bit split: Part I, PPC32* bit files, adapted from former PowerPC*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15850
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 03:08:28 +0000 (03:08 +0000)]
Do not #include files into the llvm namespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15849
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 17 Aug 2004 02:59:02 +0000 (02:59 +0000)]
Correct the comments in the symbol table writer to reflect reality.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15848
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 02:48:44 +0000 (02:48 +0000)]
Print float constants as 4 byte values.
Also, fix endianness problems when cross compiling from little-endian host.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15847
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 02:29:00 +0000 (02:29 +0000)]
Make sure to put an _ prefix on all identifiers!
Also, add some (currently disabled) code to print float's as 32-bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15846
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 02:28:26 +0000 (02:28 +0000)]
Some asmwriters want an _ prefix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15845
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 17 Aug 2004 02:28:12 +0000 (02:28 +0000)]
Some asmweriters want an _ prefix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15844
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 17 Aug 2004 00:49:03 +0000 (00:49 +0000)]
Technical Corrections (thanks to Robert Mykland):
- Define the "opcode" data type and reference the Instruction.def file
- Clean up the definition of symtab by indicating that it is composed of
two llists.
- Fix some broken links.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15843
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 23:38:36 +0000 (23:38 +0000)]
More changes to make PPC32 and X86 more similar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15842
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 23:30:16 +0000 (23:30 +0000)]
Minor changes to make the diff be nothing against the X86 version
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15841
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 23:25:21 +0000 (23:25 +0000)]
Finegrainify namespacification
Start using the AsmPrinter base class to factor out a bunch of code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15840
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 23:16:06 +0000 (23:16 +0000)]
Start using the AsmPrinter to emit our first class constants. This also
drops our half-assed support for cygwin, which noone uses and doesn't work
anyway.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15839
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 23:15:22 +0000 (23:15 +0000)]
Initial implementation of the asmprinter base class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15838
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 22:38:02 +0000 (22:38 +0000)]
Moved this file out of lib/CodeGen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15837
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 22:37:18 +0000 (22:37 +0000)]
Hacks to make the MachineFunction class be able to delete the MFI object
without knowing anything about it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15836
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 22:36:54 +0000 (22:36 +0000)]
Code moved out of lib/CodeGen/MachineFunction.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15835
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 22:36:34 +0000 (22:36 +0000)]
Move this code to lib/Target/SparcV9/MachineFunctionInfo.cpp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15834
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 22:36:10 +0000 (22:36 +0000)]
This file is moving to lib/Target/SparcV9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15833
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 22:35:26 +0000 (22:35 +0000)]
Fit into 80 lines, add a gross hack for MachineFunctionInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15832
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 21:56:15 +0000 (21:56 +0000)]
These files now live in lib/Target/SparcV9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15831
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 21:55:02 +0000 (21:55 +0000)]
Move MachineCodeForInstruction.h and MachineFunctionInfo.h into lib/Target/SparcV9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15830
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 21:36:40 +0000 (21:36 +0000)]
Nuke this file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15829
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 21:36:31 +0000 (21:36 +0000)]
Fold MachineInstrAnnot.cpp into this file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15828
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 20:20:46 +0000 (20:20 +0000)]
Spaces arg!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15827
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 16 Aug 2004 19:24:36 +0000 (19:24 +0000)]
Correct the documentation for the module block header which uses the long
format instead of the short format used in other blocks.
Discrepancy noted by Robert Mykland. Thanks Robert!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15826
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Mon, 16 Aug 2004 19:04:36 +0000 (19:04 +0000)]
Move these files (which are dependent on VMCore) into VMCore
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15825
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 16 Aug 2004 18:27:25 +0000 (18:27 +0000)]
Update and consolidate comments. Remove some excess whitespace.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15824
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Mon, 16 Aug 2004 18:27:24 +0000 (18:27 +0000)]
Add a note that people shouldn't use MachineFunctionInfo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15823
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 16 Aug 2004 16:48:19 +0000 (16:48 +0000)]
Bug 422 fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15822
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Mon, 16 Aug 2004 15:19:02 +0000 (15:19 +0000)]
Merged in RELEASE_13. This fixes the Command Guide link when browsing the
files from a local filesystem.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15821
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Mon, 16 Aug 2004 15:17:40 +0000 (15:17 +0000)]
Updated for 1.3.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15820
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Mon, 16 Aug 2004 14:51:33 +0000 (14:51 +0000)]
Merged in release_13 branch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15819
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 16 Aug 2004 07:46:33 +0000 (07:46 +0000)]
Fix PR422.
Ouch! Changes in the lazy initialization code caused each incorporated
function to reprocess the entire function on every lookup of a value's
slot number. This caused a horrible slowdown in all functions. This
fix made llvm-dis go from "longer than I care to wait" (minutes) on a large
test case to 0.53 seconds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15818
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 16 Aug 2004 07:10:09 +0000 (07:10 +0000)]
Back out include/llvm/System changes until a satisfactory solution can
be determined.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15817
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 16 Aug 2004 07:08:38 +0000 (07:08 +0000)]
Remove lib/System contents until a satisfactory solution can be
provided.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15816
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 16 Aug 2004 07:06:38 +0000 (07:06 +0000)]
Back out dependencies on lib/System/Path.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15815
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 16 Aug 2004 07:06:13 +0000 (07:06 +0000)]
Fix definitions to match tool's actual capabilities.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15814
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 05:46:57 +0000 (05:46 +0000)]
Bug fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15813
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 05:39:19 +0000 (05:39 +0000)]
Believe it or not, this was broken in LLVM 1.3
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15812
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 05:38:02 +0000 (05:38 +0000)]
Fix a bug that caused the pass to go into infinite loops on trivial testcases.
This is fallout of the Bug 122 changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15811
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 05:09:58 +0000 (05:09 +0000)]
There is no need for a cast here
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15810
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Mon, 16 Aug 2004 05:06:43 +0000 (05:06 +0000)]
Update the current state of the world
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15809
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Mon, 16 Aug 2004 02:12:49 +0000 (02:12 +0000)]
Fix typo of the word 'implicit' I made resolving a CVS conflict. Whoops!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15808
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Mon, 16 Aug 2004 01:52:12 +0000 (01:52 +0000)]
Fix frame pointer handling:
Reserve R0 in store/load from stack slot for building >32k offsets from SP
or FP. This also requires we use R11 rather than R0 for holding the LR
value we want to save or restore. Also, tell the register allocator not
to use R31 (our FP) in functions that have a frame pointer. These changes
fix Burg.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15807
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Mon, 16 Aug 2004 01:50:22 +0000 (01:50 +0000)]
Fix mismatched adjust down/up of SP in functions that contain variable
sized allocas.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15806
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 01:10:21 +0000 (01:10 +0000)]
Use CodeGenRegister class to make reading in of register information more
systematic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15805
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 01:09:52 +0000 (01:09 +0000)]
Add initial support for register and register class representation.
Obviously this is not done.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15804
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 01:07:53 +0000 (01:07 +0000)]
Flags and TSFlags were (thankfully) never used, so remove them. But wait,
not so fast, add some fields for spill slot size and alignment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15803
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 01:07:04 +0000 (01:07 +0000)]
Add a special case for argc,argv
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15802
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 01:05:35 +0000 (01:05 +0000)]
Don't pass too many arguments into runFunction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15801
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 00:20:18 +0000 (00:20 +0000)]
Scrub all LLVM 1.3 stuff, changing over to 1.4. Add info about PR419,
which is now fixed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15800
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 16 Aug 2004 00:14:18 +0000 (00:14 +0000)]
Finally, add support for calling arbitrary non-varargs functions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15799
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Aug 2004 23:53:06 +0000 (23:53 +0000)]
Handle all nullary functions, of any valid return type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15798
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Aug 2004 23:39:59 +0000 (23:39 +0000)]
Fine, go all of the way and check that the argument types are correct as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15797
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Aug 2004 23:34:48 +0000 (23:34 +0000)]
These only really work if returning int or void
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15796
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Aug 2004 23:31:57 +0000 (23:31 +0000)]
Switch to using the JIT now that it can directly call zeroarg functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15795
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 15 Aug 2004 23:31:43 +0000 (23:31 +0000)]
Handle zero arg function case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15794
91177308-0d34-0410-b5e6-
96231b3b80d8