Chris Lattner [Sun, 7 Nov 2004 00:42:29 +0000 (00:42 +0000)]
This is V9 specific stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17546
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:39:26 +0000 (00:39 +0000)]
This is V9 specific, move it there.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17545
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:39:09 +0000 (00:39 +0000)]
Move this file from lib/Transforms/Scalar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17544
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:38:16 +0000 (00:38 +0000)]
Tests for this xforms should be .ll files, and they should have run lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17543
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:36:30 +0000 (00:36 +0000)]
Remove dead tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17542
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:34:45 +0000 (00:34 +0000)]
This is not part of the test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17541
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:33:14 +0000 (00:33 +0000)]
Fix a test.
These other tests should be in test/Programs/SingleSource/UnitTests if anyone
cares enough to save them
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17540
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:30:51 +0000 (00:30 +0000)]
Nuke useless testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17539
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 7 Nov 2004 00:24:14 +0000 (00:24 +0000)]
These files are all moved to test/Regression/CodeGen/Generic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17538
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 23:42:32 +0000 (23:42 +0000)]
This test is obsolete and incorrect
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17537
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 23:32:43 +0000 (23:32 +0000)]
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17536
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Nov 2004 23:17:23 +0000 (23:17 +0000)]
Add support for compressed bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17535
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 23:16:51 +0000 (23:16 +0000)]
Adding RUN line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17534
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 23:08:26 +0000 (23:08 +0000)]
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17533
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 22:41:00 +0000 (22:41 +0000)]
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17532
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 22:29:57 +0000 (22:29 +0000)]
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17529
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 22:07:09 +0000 (22:07 +0000)]
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17528
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 21:40:51 +0000 (21:40 +0000)]
Adding RUN lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17527
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 21:35:40 +0000 (21:35 +0000)]
Adjust to printing user+system times instead of wall times. Run the olden
numbers in 'stable' mode so that the numbers are more stable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17525
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 21:11:04 +0000 (21:11 +0000)]
Add missing run line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17522
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 21:07:41 +0000 (21:07 +0000)]
First crack at support to run tests using dejagnu. This file contains a procedure to run a test like TestRunner.sh does.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17521
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 21:07:31 +0000 (21:07 +0000)]
Add a run line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17520
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 21:03:41 +0000 (21:03 +0000)]
Add a missing run line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17519
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 21:02:30 +0000 (21:02 +0000)]
This pass has been removed from LLVM
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17518
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 21:01:45 +0000 (21:01 +0000)]
Add missing run line
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17517
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Sat, 6 Nov 2004 20:38:27 +0000 (20:38 +0000)]
Adding XFAIL lines for dejagnu support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17514
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 6 Nov 2004 17:07:36 +0000 (17:07 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17504
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Nov 2004 08:56:40 +0000 (08:56 +0000)]
Implement the GetBytecodeSymbols interface function to extract just the
externally visible defined symbols from a bytecode file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17503
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Nov 2004 08:54:47 +0000 (08:54 +0000)]
Provide an interface for getting just the external symbols from a
Bytecode file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17502
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Nov 2004 08:53:59 +0000 (08:53 +0000)]
Deprecate constructors we don't want users to use.
Temporarily comment out two interface methods we might not implement.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17501
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Nov 2004 08:52:36 +0000 (08:52 +0000)]
Makefile for the LLVMArchive library.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17500
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sat, 6 Nov 2004 08:51:45 +0000 (08:51 +0000)]
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17499
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 5 Nov 2004 22:15:36 +0000 (22:15 +0000)]
Stop propagating method names that violate the coding standard
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17498
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 5 Nov 2004 18:48:02 +0000 (18:48 +0000)]
Go ahead and trust the client not to mess with the ModuleProvider* returned
by the findModuleContainingSymbol method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17491
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 5 Nov 2004 17:44:26 +0000 (17:44 +0000)]
* Documentation corrections (thanks to Chris for nit-picking)
* Remove dead typedefs.
* Redefine how getAllPaths treats its argument.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17489
91177308-0d34-0410-b5e6-
96231b3b80d8
John Criswell [Fri, 5 Nov 2004 16:17:06 +0000 (16:17 +0000)]
Fix compilation problem; make the cast and the LHS be the same type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17488
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Fri, 5 Nov 2004 09:19:17 +0000 (09:19 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17487
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:52:08 +0000 (04:52 +0000)]
Remove dead var
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17485
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:50:59 +0000 (04:50 +0000)]
Quiet VC++ warnings
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17484
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:47:37 +0000 (04:47 +0000)]
Do not make i have bigger scope that we need
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17483
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:46:22 +0000 (04:46 +0000)]
Remove dead vars
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17482
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:45:43 +0000 (04:45 +0000)]
Fix some warnings on VC++
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17481
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:17:19 +0000 (04:17 +0000)]
Remove this file as suggested by Jeff Cohen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17480
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 5 Nov 2004 04:15:30 +0000 (04:15 +0000)]
Fix project file, patch contributed by Jeff Cohen
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17479
91177308-0d34-0410-b5e6-
96231b3b80d8
Misha Brukman [Fri, 5 Nov 2004 04:11:40 +0000 (04:11 +0000)]
Clean up code layout, delete extra blank line, say `fibonacci' instead of `foo'
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17478
91177308-0d34-0410-b5e6-
96231b3b80d8
Nate Begeman [Thu, 4 Nov 2004 19:43:18 +0000 (19:43 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17476
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Thu, 4 Nov 2004 05:00:18 +0000 (05:00 +0000)]
Fix typeo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17466
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Thu, 4 Nov 2004 00:27:04 +0000 (00:27 +0000)]
Handle "call" operands of type long/ulong passed in registers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17464
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 3 Nov 2004 21:43:03 +0000 (21:43 +0000)]
Cleanup this example, simplifying it and making it conform to LLVM coding
standards
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17459
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 3 Nov 2004 18:51:26 +0000 (18:51 +0000)]
Don't call Constant::getNullValue when the argument could be VoidTy
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17457
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Wed, 3 Nov 2004 17:15:45 +0000 (17:15 +0000)]
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!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17450
91177308-0d34-0410-b5e6-
96231b3b80d8
Brian Gaeke [Wed, 3 Nov 2004 17:11:23 +0000 (17:11 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17449
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 3 Nov 2004 16:14:40 +0000 (16:14 +0000)]
Top level files for building natively on win32
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17447
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Wed, 3 Nov 2004 16:13:14 +0000 (16:13 +0000)]
MS Visual Studio files for building LLVM on Win32 platforms.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17446
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 22:18:18 +0000 (22:18 +0000)]
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17443
91177308-0d34-0410-b5e6-
96231b3b80d8
Tanya Lattner [Tue, 2 Nov 2004 21:04:56 +0000 (21:04 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17441
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 20:31:06 +0000 (20:31 +0000)]
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17439
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 19:29:59 +0000 (19:29 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17437
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 17:51:11 +0000 (17:51 +0000)]
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17435
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 17:31:02 +0000 (17:31 +0000)]
Fix typo, contributed by Henrik Bach!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17434
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 2 Nov 2004 16:56:15 +0000 (16:56 +0000)]
* 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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17433
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Tue, 2 Nov 2004 16:36:03 +0000 (16:36 +0000)]
* New Recursive Target: clean-all
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17432
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 15:27:57 +0000 (15:27 +0000)]
Fix a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17431
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 06:38:58 +0000 (06:38 +0000)]
Minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17428
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 2 Nov 2004 03:50:32 +0000 (03:50 +0000)]
* Rearrange code slightly
* Disable broken transforms for simplifying (setcc (cast X to larger), CI)
where CC is not != or ==
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17422
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 21:57:35 +0000 (21:57 +0000)]
List the individual tools for easier reference.
Make the bugpoint link reference the man page in the CommandGuide until
the Bugpoint.html file can describe bugpoint in a little more of a tutorial
style instead of just being a man page.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17416
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 21:55:46 +0000 (21:55 +0000)]
Add compliant header.
NOTE: This doc needs to describe the bugpoint "subsystem" not the tool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17415
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 21:31:39 +0000 (21:31 +0000)]
Add missing tag.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17414
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Nov 2004 21:07:05 +0000 (21:07 +0000)]
Remove more dead methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17413
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Nov 2004 21:04:47 +0000 (21:04 +0000)]
Delete a dead method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17412
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Nov 2004 21:02:23 +0000 (21:02 +0000)]
Rename FoldedGraph -> DSInfo to be consistent with other passes
delete some dead methods
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17410
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 20:47:22 +0000 (20:47 +0000)]
Update table to llvm.css standards.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17409
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 20:41:01 +0000 (20:41 +0000)]
Get rid of bogus entity references.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17408
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Nov 2004 20:37:00 +0000 (20:37 +0000)]
Get rid of the EquivClassGraphArgsInfo class, and the map that held it.
We only need one instance of the vector that it contains at a time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17407
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Nov 2004 20:10:20 +0000 (20:10 +0000)]
Add placeholder variable to make Win32 work, applied for Morten Ofstad
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17406
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Nov 2004 19:54:06 +0000 (19:54 +0000)]
Eliminate the cloneGraph method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17405
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 09:26:57 +0000 (09:26 +0000)]
Attempt CSS 2 compliance.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17404
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 09:25:03 +0000 (09:25 +0000)]
Attempt CSS 2 validation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17403
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 09:22:49 +0000 (09:22 +0000)]
HTML 4.01 Strict compliance.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17402
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 09:21:32 +0000 (09:21 +0000)]
Correct the document type declaration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17401
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 09:19:53 +0000 (09:19 +0000)]
Add the HTML 4.01 and CSS icons with links to validators.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17400
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 09:16:30 +0000 (09:16 +0000)]
Attempt HTML 4.01 Strict compliance.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17399
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 09:02:53 +0000 (09:02 +0000)]
Cleanup the constants section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17398
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 08:30:14 +0000 (08:30 +0000)]
Remove spurious end tag, fix indentation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17397
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 08:26:25 +0000 (08:26 +0000)]
Make HTML 4.01 Strict compliant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17396
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 08:24:13 +0000 (08:24 +0000)]
Fix tag placement to make HTML 4.01 Strict compliant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17395
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 08:19:36 +0000 (08:19 +0000)]
Minor format tweask for tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17394
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 08:18:06 +0000 (08:18 +0000)]
Add layout classes for table elements so tables can be used for layouts.
This is easier than attempting to figure out dual purpose columnar layouts
for multiple browser types. All browsers understand tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17393
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 07:53:17 +0000 (07:53 +0000)]
Configuration -> BuildMode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17392
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Mon, 1 Nov 2004 07:50:27 +0000 (07:50 +0000)]
Eliminate redundant variable definition. Rename Configuration -> BuildMode
Make lex/yacc output cleaned only if in a directory that has those sources.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17391
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Nov 2004 07:05:07 +0000 (07:05 +0000)]
Speed up the tail duplication pass on the testcase below from 68.2s to 1.23s:
#define CL0(a) case a: f(); goto c;
#define CL1(a) CL0(a##0) CL0(a##1) CL0(a##2) CL0(a##3) CL0(a##4) CL0(a##5) \
CL0(a##6) CL0(a##7) CL0(a##8) CL0(a##9)
#define CL2(a) CL1(a##0) CL1(a##1) CL1(a##2) CL1(a##3) CL1(a##4) CL1(a##5) \
CL1(a##6) CL1(a##7) CL1(a##8) CL1(a##9)
#define CL3(a) CL2(a##0) CL2(a##1) CL2(a##2) CL2(a##3) CL2(a##4) CL2(a##5) \
CL2(a##6) CL2(a##7) CL2(a##8) CL2(a##9)
#define CL4(a) CL3(a##0) CL3(a##1) CL3(a##2) CL3(a##3) CL3(a##4) CL3(a##5) \
CL3(a##6) CL3(a##7) CL3(a##8) CL3(a##9)
void f();
void a() {
int b;
c: switch (b) {
CL4(1)
}
}
This comes from GCC PR 15524
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17390
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Nov 2004 06:53:58 +0000 (06:53 +0000)]
Do not compute the predecessor list for a block unless we need it.
This speeds up simplifycfg on this program, from 44.87s to 0.29s (with
a profiled build):
#define CL0(a) case a: goto c;
#define CL1(a) CL0(a##0) CL0(a##1) CL0(a##2) CL0(a##3) CL0(a##4) CL0(a##5) \
CL0(a##6) CL0(a##7) CL0(a##8) CL0(a##9)
#define CL2(a) CL1(a##0) CL1(a##1) CL1(a##2) CL1(a##3) CL1(a##4) CL1(a##5) \
CL1(a##6) CL1(a##7) CL1(a##8) CL1(a##9)
#define CL3(a) CL2(a##0) CL2(a##1) CL2(a##2) CL2(a##3) CL2(a##4) CL2(a##5) \
CL2(a##6) CL2(a##7) CL2(a##8) CL2(a##9)
#define CL4(a) CL3(a##0) CL3(a##1) CL3(a##2) CL3(a##3) CL3(a##4) CL3(a##5) \
CL3(a##6) CL3(a##7) CL3(a##8) CL3(a##9)
void f();
void a() {
int b;
c: switch (b) {
CL4(1)
}
}
This testcase is contrived to expose N^2 behavior, but this patch should speedup
simplifycfg on any programs that use large switch statements. This testcase
comes from GCC PR17895.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17389
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 1 Nov 2004 06:14:59 +0000 (06:14 +0000)]
When compiling a file, indicate what build it is for
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17388
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 31 Oct 2004 23:41:26 +0000 (23:41 +0000)]
* Do not refer to ActualCallees in CBU, when we can do it locally.
* *DO NOT* print CBU graphs when asked to print our own. This is just
FREAKING confusing and misleading: it's better to not print anything.
* Simplify and clean up some code
* Add some more paranoia assertion checking code that I found to track
down this bug:
* Fix a nasty bug that was causing us to crash on Prolangs-C++/objects,
where we were missing processing some graphs. This hunk is the bugfix:
- if (!I->isExternal() && !FoldedGraphsMap.count(I))
+ if (!I->isExternal() && !ValMap.count(I))
urg!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17386
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 31 Oct 2004 23:24:31 +0000 (23:24 +0000)]
Wrap to 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17385
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 31 Oct 2004 23:02:38 +0000 (23:02 +0000)]
Add UsingLibraries.html link.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17384
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 31 Oct 2004 23:01:34 +0000 (23:01 +0000)]
Simplify graph traversal, improve grammar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17383
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 31 Oct 2004 23:01:02 +0000 (23:01 +0000)]
Give table headers the striped background.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17382
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 31 Oct 2004 23:00:25 +0000 (23:00 +0000)]
* Moved from ObjectFiles.html
* Changed names of libraries to reflect new naming scheme
* Added some more introductory material
* Added a rule of thumb.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17381
91177308-0d34-0410-b5e6-
96231b3b80d8
Reid Spencer [Sun, 31 Oct 2004 22:59:06 +0000 (22:59 +0000)]
Renamed UsingLibraries.html
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17380
91177308-0d34-0410-b5e6-
96231b3b80d8