Commit Graph

173 Commits

Author SHA1 Message Date
John Criswell 2660cef6d7 Convert .cvsignore files
llvm-svn: 37801
2007-06-29 16:35:07 +00:00
Chris Lattner 8597d69961 avoid collision with /usr/bin/sample if this ever gets installed.
llvm-svn: 34387
2007-02-18 03:03:41 +00:00
Chris Lattner 24a0e7b8f4 remove obsolete comment
llvm-svn: 33292
2007-01-17 05:26:57 +00:00
Reid Spencer e6fd0e826b For PR1074:
Remove the projects/Stacker directory. LLVM is now free of dependency
on llvm-gcc.

llvm-svn: 33278
2007-01-17 02:18:44 +00:00
Chris Lattner 59585a61fc relax type
llvm-svn: 32993
2007-01-07 08:39:27 +00:00
Reid Spencer bc013ba367 For PR950:
Convert signed integer types to signless.

llvm-svn: 32786
2006-12-31 05:50:28 +00:00
Reid Spencer 266e42b312 For PR950:
This patch removes the SetCC instructions and replaces them with the ICmp
and FCmp instructions. The SetCondInst instruction has been removed and
been replaced with ICmpInst and FCmpInst.

llvm-svn: 32751
2006-12-23 06:05:41 +00:00
Chris Lattner 874e55d551 switch statistic over, remove misspelt comment.
llvm-svn: 32704
2006-12-19 23:03:41 +00:00
Reid Spencer 2b768652db Update for llvm-gcc4 build.
llvm-svn: 32533
2006-12-13 08:03:25 +00:00
Reid Spencer d845dc00c7 Change createInferredCast calls to more accurate cast creation calls.
llvm-svn: 32520
2006-12-13 00:47:58 +00:00
Bill Wendling f3baad3ee1 Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp.

llvm-svn: 32298
2006-12-07 01:30:32 +00:00
Devang Patel e06e9fdf0b Detemplatize the Statistic class.
llvm-svn: 32283
2006-12-06 19:00:27 +00:00
Bill Wendling afd54eb8b6 Replacing std::iostreams with llvm iostreams. Some of these changes involve
adding a temporary wrapper around the ostream to make it friendly to
functions expecting an LLVM stream. This should be fixed in the future.

llvm-svn: 31990
2006-11-29 00:19:40 +00:00
Reid Spencer 6c38f0bb07 For PR950:
The long awaited CAST patch. This introduces 12 new instructions into LLVM
to replace the cast instruction. Corresponding changes throughout LLVM are
provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
exception of 175.vpr which fails only on a slight floating point output
difference.

llvm-svn: 31931
2006-11-27 01:05:10 +00:00
Reid Spencer fdff938a7e For PR950:
This patch converts the old SHR instruction into two instructions,
AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not
dependent on the sign of their operands.

llvm-svn: 31542
2006-11-08 06:47:33 +00:00
Reid Spencer 0f43e646f8 Don't check variables before they are set.
Be careful about blanks when checking LLVMGCC variable.

llvm-svn: 31455
2006-11-05 03:58:44 +00:00
Reid Spencer b795c434e5 Make sample project -pedantic clean.
llvm-svn: 31391
2006-11-03 00:09:53 +00:00
Reid Spencer c4e5de55a2 Make Stacker Runtime -pedantic clean.
llvm-svn: 31390
2006-11-03 00:08:08 +00:00
Reid Spencer de46e48420 For PR786:
Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting
fall out by removing unused variables. Remaining warnings have to do with
unused functions (I didn't want to delete code without review) and unused
variables in generated code. Maintainers should clean up the remaining
issues when they see them. All changes pass DejaGnu tests and Olden.

llvm-svn: 31380
2006-11-02 20:25:50 +00:00
Reid Spencer 7eb55b395f For PR950:
Replace the REM instruction with UREM, SREM and FREM.

llvm-svn: 31369
2006-11-02 01:53:59 +00:00
Reid Spencer 7e80b0b31e For PR950:
Make necessary changes to support DIV -> [SUF]Div. This changes llvm to
have three division instructions: signed, unsigned, floating point. The
bytecode and assembler are bacwards compatible, however.

llvm-svn: 31195
2006-10-26 06:15:43 +00:00
Reid Spencer e0fc4dfc22 For PR950:
This patch implements the first increment for the Signless Types feature.
All changes pertain to removing the ConstantSInt and ConstantUInt classes
in favor of just using ConstantInt.

llvm-svn: 31063
2006-10-20 07:07:24 +00:00
Reid Spencer 62ad409c2b Don't build the runtime library if LLVMGCC is not configured.
llvm-svn: 30691
2006-10-02 19:10:56 +00:00
Chris Lattner eb45775347 Stacker doesn't build universal right.
llvm-svn: 30675
2006-09-30 00:24:20 +00:00
Chris Lattner 537b547468 Fix a race condition in the makefile that broke grawp's tester last night.
llvm-svn: 29873
2006-08-25 17:15:23 +00:00
Reid Spencer 2f94c5d186 For PR797:
Update to reflect ParseException becoming ParseError (from Parser.h)

llvm-svn: 29766
2006-08-18 09:07:54 +00:00
Reid Spencer 2da905c53b Drop the -s2048 option, it is specified incorrectly and the correct
specification can't be handled by llvmc (= confuses it)

llvm-svn: 29764
2006-08-18 09:00:22 +00:00
Reid Spencer e6458c3fb2 For PR780:
1. Change the usage of LOADABLE_MODULE so that it implies all the things
   necessary to make a loadable module. This reduces the user's burdern to
   get a loadable module correctly built.
2. Document the usage of LOADABLE_MODULE in the MakefileGuide
3. Adjust the makefile for lib/Transforms/Hello to use the new specification
   for building loadable modules
4. Adjust the sample project to not attempt to build a shared library for
   its little library. This was just wasteful and not instructive at all.

llvm-svn: 29551
2006-08-07 23:12:15 +00:00
Chris Lattner 5096bfd80f Stacker uses EH.
llvm-svn: 29032
2006-07-07 00:20:39 +00:00
Chris Lattner 16cf81306e Don't pass target name into TargetData anymore, it is never used or needed.
llvm-svn: 28831
2006-06-16 18:23:49 +00:00
Chris Lattner d1fe870e08 Fix build on systems with broken bison
llvm-svn: 28658
2006-06-02 18:21:11 +00:00
Reid Spencer a62f097c96 For PR786:
Turn -pedantic and -Wno-long-long compile flags on by default. In a few
places, avoid the warnings by removing these options in the local makefile.
One notable exception: lib/Target/CBackend/Writer.cpp. These warnings are
left on as a reminder to developers to clean them up.

llvm-svn: 28614
2006-06-01 01:55:21 +00:00
Reid Spencer a647c7ff42 Use archive libraries instead of object files for VMCore, BCReader,
BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate
these changes. This was done to speed up link times.

llvm-svn: 28610
2006-06-01 01:30:27 +00:00
Chris Lattner 36d256f170 Avoid defining dead result
llvm-svn: 28246
2006-05-12 17:29:40 +00:00
Reid Spencer b687ce80cd Have the AutoRegen.sh script prompt the user for the LLVM src and obj
directories if it can't find them. Then, replace those values into the
configure.ac script and pass them to the LLVM_CONFIG_PROJECT so that the
values become the default for llvm_src and llvm_obj variables. In this way
the user is required to input this exactly once, and the scripts take it
from there.

llvm-svn: 27798
2006-04-18 06:27:47 +00:00
Reid Spencer 04896a7d71 Distribute the Stacker samples directory.
llvm-svn: 27648
2006-04-13 06:16:37 +00:00
Reid Spencer d538792a85 Distribute the lex/yacc files from the cvs version.
llvm-svn: 27628
2006-04-12 20:55:23 +00:00
Reid Spencer f90ea1d2aa Ignored generated files.
llvm-svn: 27016
2006-03-23 23:53:13 +00:00
Reid Spencer 1148363c55 Ignore generated files.
llvm-svn: 27015
2006-03-23 23:51:43 +00:00
Chris Lattner a7c9234fde Convert over to the new way of handling lex/bison checked into cvs
llvm-svn: 26209
2006-02-15 07:26:07 +00:00
Robert Bocchino cdd229a82e Fixed Makefile so it does, indeed, build a dynamic library.
llvm-svn: 25135
2006-01-06 22:51:19 +00:00
Chris Lattner 525b923a8a unbreak the build again
llvm-svn: 24041
2005-10-27 16:30:44 +00:00
Chris Lattner 6d92ce7be7 Make sure to build things in the right order, build with the .o file, not the
.a file to unbreak the build after john's change

llvm-svn: 24024
2005-10-27 00:53:16 +00:00
Chris Lattner c64f3de8d5 use archives when possible
llvm-svn: 23932
2005-10-24 01:52:15 +00:00
Reid Spencer dfb3fb4a25 Implement PR614:
These changes modify the makefiles so that the output of flex and bison are
placed in the SRC directory, not the OBJ directory. It is intended that they
be checked in as any other LLVM source so that platforms without convenient
access to flex/bison can be compiled. From now on, if you change a .y or
.l file you *must* also commit the generated .cpp and .h files.

llvm-svn: 23115
2005-08-27 18:50:39 +00:00
Andrew Lenharth 8c220defa8 oops
llvm-svn: 22334
2005-07-05 16:36:18 +00:00
Andrew Lenharth a1f37d616e updates
llvm-svn: 22333
2005-07-05 15:18:33 +00:00
Reid Spencer ba1e216183 Make the value to -s not be interpreted as a file name
llvm-svn: 22134
2005-05-19 01:05:02 +00:00
Reid Spencer 33d07dc48f Add an llvmc specification file for the "st" suffix. This allows Stacker
programs to benefit from the optimization capabilities of the llvmc.

llvm-svn: 22133
2005-05-19 00:54:10 +00:00
Reid Spencer daeb5f0900 The previous hack didn't work because tools-only isn't defined and isn't
a target at this level of build. There shouldn't be a problem with building
the runtime library without llvm-gcc because the Makefile.rules checks
for an empty LLVMGCC variable before building bytecode modules.

llvm-svn: 21942
2005-05-13 17:42:54 +00:00