Commit Graph

15186 Commits

Author SHA1 Message Date
Tanya Lattner d9a3cebc49 Adding RUN lines.
llvm-svn: 17529
2004-11-06 22:29:57 +00:00
Tanya Lattner 32f81a5f58 Adding RUN lines.
llvm-svn: 17528
2004-11-06 22:07:09 +00:00
Tanya Lattner f14e76db43 Adding RUN lines.
llvm-svn: 17527
2004-11-06 21:40:51 +00:00
Chris Lattner 0ff1828349 Adjust to printing user+system times instead of wall times. Run the olden
numbers in 'stable' mode so that the numbers are more stable.

llvm-svn: 17525
2004-11-06 21:35:40 +00:00
Chris Lattner 1f0758cb95 Add missing run line
llvm-svn: 17522
2004-11-06 21:11:04 +00:00
Tanya Lattner b2b06fa405 First crack at support to run tests using dejagnu. This file contains a procedure to run a test like TestRunner.sh does.
llvm-svn: 17521
2004-11-06 21:07:41 +00:00
Chris Lattner 726ecb840b Add a run line
llvm-svn: 17520
2004-11-06 21:07:31 +00:00
Chris Lattner cddf99256e Add a missing run line
llvm-svn: 17519
2004-11-06 21:03:41 +00:00
Chris Lattner ca8e39d91f This pass has been removed from LLVM
llvm-svn: 17518
2004-11-06 21:02:30 +00:00
Chris Lattner 7ffc0d97aa Add missing run line
llvm-svn: 17517
2004-11-06 21:01:45 +00:00
Tanya Lattner 1d28bdac94 Adding XFAIL lines for dejagnu support.
llvm-svn: 17514
2004-11-06 20:38:27 +00:00
Chris Lattner 331854d283 From Jeff Cohen:
I checked out from cvs directly on Windows and I ran into another
problem with the project files.  Evidently, the files were initially
checked in on Unix, and the files were transfered to Unix without
converting the CR/LF line endings first.  When checked out on Windows,
cvs converts the files to DOS format, resulting in two CRs for each LF.

llvm-svn: 17504
2004-11-06 17:07:36 +00:00
Reid Spencer c686a2b64b Implement the GetBytecodeSymbols interface function to extract just the
externally visible defined symbols from a bytecode file.

llvm-svn: 17503
2004-11-06 08:56:40 +00:00
Reid Spencer 20f6dc0156 Provide an interface for getting just the external symbols from a
Bytecode file.

llvm-svn: 17502
2004-11-06 08:54:47 +00:00
Reid Spencer ef24b9139a Deprecate constructors we don't want users to use.
Temporarily comment out two interface methods we might not implement.

llvm-svn: 17501
2004-11-06 08:53:59 +00:00
Reid Spencer 0f8359b061 Makefile for the LLVMArchive library.
llvm-svn: 17500
2004-11-06 08:52:36 +00:00
Reid Spencer 0cc653e59b First kinda/sorta working version of the Archive library. Reading is not
yet supported but writing works. Way too early to review this. More to come

llvm-svn: 17499
2004-11-06 08:51:45 +00:00
Reid Spencer 0c6a283b2a Stop propagating method names that violate the coding standard
llvm-svn: 17498
2004-11-05 22:15:36 +00:00
Reid Spencer ed3f95892d Go ahead and trust the client not to mess with the ModuleProvider* returned
by the findModuleContainingSymbol method.

llvm-svn: 17491
2004-11-05 18:48:02 +00:00
Reid Spencer 6d2c0efec5 * Documentation corrections (thanks to Chris for nit-picking)
* Remove dead typedefs.
* Redefine how getAllPaths treats its argument.

llvm-svn: 17489
2004-11-05 17:44:26 +00:00
John Criswell ab79288e37 Fix compilation problem; make the cast and the LHS be the same type.
llvm-svn: 17488
2004-11-05 16:17:06 +00:00
Reid Spencer 50b78a6342 First version of the interface to Archive files. This introduces the
llvm::Archive class to provide for reading, writing, indexing and search
functions on standard ar(1) format files that contain bytecode modules.

Implementation to follow.

llvm-svn: 17487
2004-11-05 09:19:17 +00:00
Chris Lattner 303bdd1e4b Remove dead var
llvm-svn: 17485
2004-11-05 04:52:08 +00:00
Chris Lattner 429aaa5855 Quiet VC++ warnings
llvm-svn: 17484
2004-11-05 04:50:59 +00:00
Chris Lattner c22ffc26b0 Do not make i have bigger scope that we need
llvm-svn: 17483
2004-11-05 04:47:37 +00:00
Chris Lattner 3c670cb65a Remove dead vars
llvm-svn: 17482
2004-11-05 04:46:22 +00:00
Chris Lattner 33eb909939 Fix some warnings on VC++
llvm-svn: 17481
2004-11-05 04:45:43 +00:00
Chris Lattner 6f38d28817 Remove this file as suggested by Jeff Cohen
llvm-svn: 17480
2004-11-05 04:17:19 +00:00
Chris Lattner 7d7f23b7db Fix project file, patch contributed by Jeff Cohen
llvm-svn: 17479
2004-11-05 04:15:30 +00:00
Misha Brukman a73e7cae72 Clean up code layout, delete extra blank line, say `fibonacci' instead of `foo'
llvm-svn: 17478
2004-11-05 04:11:40 +00:00
Nate Begeman bff3d4abf0 Thanks to sabre for pointing out that we were incorrectly codegen'ing
int test(int x) { return 32768 - x; }

Fixed by teaching the function that checks a constant's validity to be used
as an immediate argument about subtract-from instructions.

llvm-svn: 17476
2004-11-04 19:43:18 +00:00
Chris Lattner adb5342ae8 Fix typeo
llvm-svn: 17466
2004-11-04 05:00:18 +00:00
Brian Gaeke 0da246f535 Handle "call" operands of type long/ulong passed in registers.
llvm-svn: 17464
2004-11-04 00:27:04 +00:00
Chris Lattner bd2886d1f0 Cleanup this example, simplifying it and making it conform to LLVM coding
standards

llvm-svn: 17459
2004-11-03 21:43:03 +00:00
Chris Lattner a67a030d9d Don't call Constant::getNullValue when the argument could be VoidTy
llvm-svn: 17457
2004-11-03 18:51:26 +00:00
Chris Lattner f305b0ae1b defining __STDC_LIMIT_MACROS on the command line is not really necessary
for Visual Studio, and is a bit of a pain when you want to include the
LLVM headers from your own project, so I moved the check a bit down into
the Unix case to avoid the hassle... Here is a patch

Patch by Morten Ofstad!

llvm-svn: 17450
2004-11-03 17:15:45 +00:00
Brian Gaeke 1845e9b4c7 CONFIGURATION isn't spelled Configuration, it's spelled BuildMode.
Due to qmtest's or llvm.py's lousy error checking, this single error
causes qmtest to fork-bomb the machine, filling the process table with
python processes that do nothing.  Clearly, better error checking is
needed.

llvm-svn: 17449
2004-11-03 17:11:23 +00:00
Reid Spencer 7206bf9e9f Top level files for building natively on win32
llvm-svn: 17447
2004-11-03 16:14:40 +00:00
Reid Spencer 67b62fbaa7 MS Visual Studio files for building LLVM on Win32 platforms.
llvm-svn: 17446
2004-11-03 16:13:14 +00:00
Chris Lattner cff3b41e95 Fix this function to not say that longs have 8-byte alignment on X86/PPC.
This method is really a gross hack, but at least we can make it work on
the targets we support right now.

This bug fix stops a crash in a testcase reduced from 176.gcc

llvm-svn: 17443
2004-11-02 22:18:18 +00:00
Tanya Lattner 444be61ea6 Added gross hacks such as creating my own def-use map, and picking on Instruction that I can add all my TmpInstructions to its MCFI.
llvm-svn: 17441
2004-11-02 21:04:56 +00:00
Chris Lattner de7a85895c Graphs that are part of equivalence sets can be multi-function SCC's
themselves.  Make sure to update DSInfo correctly.  This fixes a testcase
reduced from Prolangs-C++/objects

llvm-svn: 17439
2004-11-02 20:31:06 +00:00
Chris Lattner 661b8552bb Correctly handle new SCC's found as a result of merging EQ graphs do to
function pointer equivalences.  This fixes many problems, including a testcase
reduced Prolangs-C++/objects.

llvm-svn: 17437
2004-11-02 19:29:59 +00:00
Chris Lattner ddb4d2a524 Substantially cleanup/speedup the eq graphs pass by walking the callgraph
a DSGraph at a time instead of a function at a time.  This is also more
correct, though it doesn't seem to fix any programs.

llvm-svn: 17435
2004-11-02 17:51:11 +00:00
Chris Lattner 32b01c3143 Fix typo, contributed by Henrik Bach!
llvm-svn: 17434
2004-11-02 17:31:02 +00:00
Reid Spencer 651dd3ad5a * New Recursive Target: clean-all. This target will recursively descend the
$(ObjDir) and clean out all build modes (Debug, Release, Profile) in
  addition to the normal "clean" rules.
* Fix "clean" problems with Lex/Yacc so all files are remove properly.
* Ensure errors from "rm" don't thwart the uninstall and clean targets.

llvm-svn: 17433
2004-11-02 16:56:15 +00:00
Reid Spencer 9d0c1e0de6 * New Recursive Target: clean-all
llvm-svn: 17432
2004-11-02 16:36:03 +00:00
Chris Lattner 99d7bb3378 Fix a warning
llvm-svn: 17431
2004-11-02 15:27:57 +00:00
Chris Lattner e5370f56ae Minor cleanups
llvm-svn: 17428
2004-11-02 06:38:58 +00:00
Chris Lattner 96f6616479 * Rearrange code slightly
* Disable broken transforms for simplifying (setcc (cast X to larger), CI)
  where CC is not != or ==

llvm-svn: 17422
2004-11-02 03:50:32 +00:00