Commit Graph

14073 Commits

Author SHA1 Message Date
Brian Gaeke 35eb7aeae3 New version of Bill Wendling's PR33 patch.
llvm-svn: 16050
2004-08-25 19:00:42 +00:00
Reid Spencer ebb91dcfe7 Fix documentation.
Make the library name LLVMsystem instead of just system so as to not
to be confused with other "system" libraries.

llvm-svn: 16049
2004-08-25 06:23:45 +00:00
Reid Spencer 814ba578ba Initial implementation of the Path operating system concept.
llvm-svn: 16048
2004-08-25 06:20:07 +00:00
Reid Spencer 13ebda70ea License for this library.
llvm-svn: 16047
2004-08-25 00:48:02 +00:00
Reid Spencer 135006cab1 Update to include tools/llvmc and lib/System as having additional copyright
licenses.

llvm-svn: 16046
2004-08-25 00:45:35 +00:00
Reid Spencer 6275eee949 License file for llvmc.
llvm-svn: 16045
2004-08-25 00:41:06 +00:00
Reid Spencer 01b22282fc Document definitions and computations provided by llvm-bcanalyzer.
llvm-svn: 16044
2004-08-25 00:35:20 +00:00
Reid Spencer 44bc15064c Insert declarations for two new functions that support the dependent
libraries feature.

llvm-svn: 16043
2004-08-24 22:55:34 +00:00
Reid Spencer 7a0348b163 Run the compilation actions before we attempt linking work.
Correctly implement the dependent libraries feature so that linked bytecode
files automatically include any dependent libraries they specify.

llvm-svn: 16042
2004-08-24 22:54:32 +00:00
Reid Spencer 3aac4f7d88 Add the directory specified by LLVM_LIB_SEARCH_PATH to the list of
directories to be searched during linking.

llvm-svn: 16041
2004-08-24 22:53:13 +00:00
Reid Spencer f20d76d71e Add dependent library support for Stacker. It now inserts "stkr_runtime" as
a dependent library.

llvm-svn: 16040
2004-08-24 22:52:01 +00:00
Reid Spencer db0bdd69f5 Add a function that gets just the dependent libraries from a bytecode file.
Doxygenify comments.

llvm-svn: 16039
2004-08-24 22:49:07 +00:00
Reid Spencer ce9b84a6af Provide a method for wholesale extraction of the dependent libraries.
llvm-svn: 16038
2004-08-24 22:47:39 +00:00
Reid Spencer 79725deeb0 Add a wrapper for extraction of the dependent libraries from a bytecode
file.

llvm-svn: 16037
2004-08-24 22:46:20 +00:00
Reid Spencer f341d29514 Rearrange output a little to make it nicer.
llvm-svn: 16036
2004-08-24 22:45:32 +00:00
Chris Lattner 7bf499c040 Add some details
llvm-svn: 16035
2004-08-24 18:53:39 +00:00
Reid Spencer 7c8d658efc Added BURS.
llvm-svn: 16034
2004-08-24 18:34:10 +00:00
Reid Spencer 8d86dd6453 Get rid of error messages from CommandLine because -time-passes was
defined twice. We make use of the new TimePassesIsEnabled global boolean
value from Pass.h to access the value.

llvm-svn: 16033
2004-08-24 17:54:26 +00:00
Reid Spencer 2e4bfff37c Give the -time-passes tool option a global storage location so that its
value can be discovered by the various LLVM tools.

llvm-svn: 16032
2004-08-24 17:52:35 +00:00
Chris Lattner d8b5be4726 Fix a bug in a previous checkin of mine, correcting
Regression.CodeGen.Generic.2004-04-09-SameValueCoalescing.llx and the
code size problem.

This bug prevented us from doing most register coallesces.

llvm-svn: 16031
2004-08-24 17:48:29 +00:00
Reid Spencer ad4c8e330f Add the examples directory to these scripts.
llvm-svn: 16030
2004-08-24 17:42:33 +00:00
Chris Lattner 57a2c3bad9 Modify testcase to merit a warning, though no warning is still printed!
llvm-svn: 16029
2004-08-24 17:40:02 +00:00
Reid Spencer b1a014f786 Include the "examples" directory as optional.
Update configure script to configure the examples/Makefile

llvm-svn: 16028
2004-08-24 16:32:21 +00:00
Reid Spencer a407007e07 Ensure that the examples get built.
llvm-svn: 16027
2004-08-24 16:31:01 +00:00
Reid Spencer b26202f10c Adjustments for changes in the configuration language.
llvm-svn: 16026
2004-08-24 14:24:14 +00:00
Reid Spencer a86672b929 - Unify format of output messages
- All errors throw std::string
- Default output file name to a.out (if we're linking)

llvm-svn: 16025
2004-08-24 14:05:30 +00:00
Reid Spencer 5b902eba71 Link with bcreader and vmcore.
llvm-svn: 16024
2004-08-24 14:04:07 +00:00
Reid Spencer a1049043d7 - Implement the %args% substitution
- Implement parsing of the .output={bytecode|assembly} item.
- Drop parsing support for translator.optimizes, translator.groks_dash_O,
  optimizer.groks_dash_O, translator.output_is_asm, optimizer.output_is_asm
- Add parsing support for translator.output and optimizer.output
- Add optimizer.required parsing support
- Add linker.libs and linker.libpaths parsing support
- Fix error messages to list correct set of tokens expected.
- Rename FileReadable -> FileIsReadable (changed in CompilerDriver.cpp)

llvm-svn: 16023
2004-08-24 14:03:23 +00:00
Reid Spencer ed9b3c4c20 - Alphabetize the list of token enumerators.
- Drop old tokens, insert new tokens

llvm-svn: 16022
2004-08-24 13:59:35 +00:00
Reid Spencer 20db3234bc - Rename and rearrange for clarity
- Drop name tokens not used any more (GROKS_DASH_O)
- Rename OUTPUT_IS_ASM as OUTPUT and allow "bytecode" and "assembly" as
  values of it.
- Simplify handleContext (now handleNameContext) arguments and ensure that
  it returns OPTION tokens exactly as scanned.

llvm-svn: 16021
2004-08-24 13:58:37 +00:00
Reid Spencer f62f89b3eb - Remove unused GetSuffix function
- Renamed FileReadable -> FileIsReadable
- Remove support for GROKS_DASH_O; deferr it to %opts% substitution
- Require a -o option except in case of linking where it defaults to a.out
- Fix problem processing *.o and *.bc files.
- Ignore optimization phase if -emit-raw-code
- Correct the assembly generation phase to support -emit-native-code
- Implement dependent library lookup

llvm-svn: 16020
2004-08-24 13:55:17 +00:00
Reid Spencer 6ad2030f7a Remove unneeded flags.
llvm-svn: 16019
2004-08-24 13:49:57 +00:00
Chris Lattner dfa9dbceaa Add -sse[,2,3] arguments to LLC
llvm-svn: 16018
2004-08-24 08:18:44 +00:00
Chris Lattner 61e6dbc761 Nuke commented out stuff
llvm-svn: 16017
2004-08-24 08:18:27 +00:00
Brian Gaeke 730d8d6259 bug fixed
llvm-svn: 16016
2004-08-24 07:43:48 +00:00
Brian Gaeke 1bd0804f6d note pr#
llvm-svn: 16015
2004-08-24 07:28:45 +00:00
Brian Gaeke 75dca84c7f This code is dodgy, but the guaranteed assertion failure doesn't help anything.
llvm-svn: 16014
2004-08-24 06:41:40 +00:00
Brian Gaeke 98aa7797c3 Fix bug in PhyRegAlloc::setCallInterferences() handling call through a
null pointer.

llvm-svn: 16013
2004-08-24 06:41:39 +00:00
Brian Gaeke d315f43587 Revise head-of-file comment.
Eliminate some excess whitespace.
Fix bug in CallArgsDescriptor::get() handling call through a null pointer.

llvm-svn: 16012
2004-08-24 06:41:38 +00:00
Reid Spencer be36a8cd2a Actually get the URL to my notes page correct.
llvm-svn: 16011
2004-08-24 05:40:25 +00:00
Reid Spencer ea6ad243e9 Correct my home page. Shorten my entry. Reference home page in description.
llvm-svn: 16010
2004-08-24 05:21:49 +00:00
Misha Brukman 2ace8cbb17 Change LVN -> Load-VN since that's the name of the cmdline switch
llvm-svn: 16009
2004-08-24 04:13:17 +00:00
Misha Brukman 4c70105c4c Fix some grammar.
llvm-svn: 16008
2004-08-24 02:23:58 +00:00
Misha Brukman 00b21aef7b Added DSE, LICM, LVN, PRE, SCCP, and SSA
llvm-svn: 16007
2004-08-24 01:57:02 +00:00
Chris Lattner a88d667487 Do not use .xword and friends to emit zeros on V9. Apparently there are issues
with emitting .xwords when not on an 8-byte boundary (.xword 0 is not the
same as 8 .byte 0's).  Because we do not know when or when we are not aligned,
just emit bytes like the old V9 asmprinter did.

llvm-svn: 16006
2004-08-24 00:26:11 +00:00
Brian Gaeke adc0b83eec A PR60 test case
llvm-svn: 16005
2004-08-23 20:49:33 +00:00
Misha Brukman 62a2c1fd7a Document 'gmake install' vs. 'install-bytecode' (used for bytecode libs)
llvm-svn: 16004
2004-08-23 20:25:33 +00:00
Reid Spencer 5b81eea7a5 Moved small examples from /projects/SmallExamples to /examples.
Made the "ModuleMaker" into an example since its just one source file.

llvm-svn: 16003
2004-08-23 19:29:54 +00:00
Reid Spencer b987b7cede Moved the "SmallExamples" out of the /projects directory and into a new
/examples directory. History was maintained. These programs do not need to
be configured but things in /projects must be.

llvm-svn: 16002
2004-08-23 19:28:39 +00:00
Reid Spencer 300396971c Fix Title line
Make the "DIRS" option descend any directory with a Makefile.

llvm-svn: 16001
2004-08-23 18:06:31 +00:00