Chris Lattner [Tue, 10 Sep 2002 22:52:51 +0000 (22:52 +0000)]
Fix minor problems in previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3669
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 22:52:49 +0000 (22:52 +0000)]
Fix minor problems in previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3668
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 22:39:04 +0000 (22:39 +0000)]
Fix config file due to directories changing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3667
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 22:38:49 +0000 (22:38 +0000)]
Clean up code due to auto-insert constructors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3666
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 22:38:47 +0000 (22:38 +0000)]
Clean up code due to auto-insert constructors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3665
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 22:38:06 +0000 (22:38 +0000)]
Clean up code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3664
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 22:37:46 +0000 (22:37 +0000)]
Use explicit ctor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3663
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 20:04:19 +0000 (20:04 +0000)]
Clean up pointer using testcases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3662
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 19:57:53 +0000 (19:57 +0000)]
Tighten up assertion checking for binary operators, not allowing invalid
instructions to _even be created_.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3661
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 19:57:26 +0000 (19:57 +0000)]
Tighten up error checking in parser, disallowing instructions that f.e.,
add pointers together.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3660
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 19:55:40 +0000 (19:55 +0000)]
Remove a testcase that is irrelevant now, fix a pointer adding testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3659
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 19:42:53 +0000 (19:42 +0000)]
Fix bug: test/Regression/Transforms/LevelRaise/2002-09-10-PointerAdds.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3658
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 19:41:57 +0000 (19:41 +0000)]
New testcase for poitner problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3657
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 17:04:02 +0000 (17:04 +0000)]
Simplify code (somtimes dramatically), by using the new "auto-insert" feature
of instruction constructors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3656
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 17:03:06 +0000 (17:03 +0000)]
Simplify code (somtimes dramatically), by using the new "auto-insert" feature
of instruction constructors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3655
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 15:53:49 +0000 (15:53 +0000)]
Add support for printing constpointerrefs more nicely
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3654
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 15:45:53 +0000 (15:45 +0000)]
Add capability to insert an instruction into a basic block immediately after
it is created, as part of the ctor call.
Eliminate the GenericBinaryInst class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3653
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 15:43:30 +0000 (15:43 +0000)]
Remove extra #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3652
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 15:36:11 +0000 (15:36 +0000)]
Implement support for inserting an instruction into a basic block right when it
is created.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3651
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 15:35:39 +0000 (15:35 +0000)]
Clean up indvar printing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3650
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 15:35:23 +0000 (15:35 +0000)]
Eliminate the GenericBinaryInst class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3649
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 15:34:41 +0000 (15:34 +0000)]
* Eliminate GenericBinaryInst class
* Allow specifying where to insert a newly created SetCondInst
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3648
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 15:27:31 +0000 (15:27 +0000)]
Eliminate the GenericBinaryInst class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3647
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 15:26:27 +0000 (15:26 +0000)]
Eliminate setType method
Now the only way to set the type of a value is in the ctor for an object
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3646
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 15:20:46 +0000 (15:20 +0000)]
Finish up the isa/cast/dyn_cast section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3645
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 05:24:05 +0000 (05:24 +0000)]
* Clean up code a little bit
* Fix bug: test/Regression/Transforms/IndVarsSimplify/2002-09-09-PointerIndVar.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3644
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 04:55:36 +0000 (04:55 +0000)]
Run indvars tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3643
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 04:54:44 +0000 (04:54 +0000)]
Add new testcase for broken indvars case
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3642
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 04:52:59 +0000 (04:52 +0000)]
Fix typeo in assertion message
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3641
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 03:50:54 +0000 (03:50 +0000)]
Hack unneccesary now that shifts of pointers are no longer legal!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3640
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 10 Sep 2002 00:39:05 +0000 (00:39 +0000)]
Write most of the isa, cast, dyn_cast section. It's not done yet though.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3639
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Sep 2002 20:26:04 +0000 (20:26 +0000)]
Do not allow adds of pointer types, or many other operations on pointer types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3638
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Sep 2002 20:25:21 +0000 (20:25 +0000)]
Disallow creation of pointer typed shift instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3637
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Sep 2002 19:58:18 +0000 (19:58 +0000)]
* Write the prose for the Basic Inspection and Traversal Routines section
* Fix some minor problems with < and &
* Add links to later parts of the document for classes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3636
91177308-0d34-0410-b5e6-
96231b3b80d8
Joel Stanley [Mon, 9 Sep 2002 16:29:58 +0000 (16:29 +0000)]
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3635
91177308-0d34-0410-b5e6-
96231b3b80d8
Joel Stanley [Mon, 9 Sep 2002 15:50:33 +0000 (15:50 +0000)]
- Made distinction between object->iterator and iterator->object
conversion more clear.
- Added content to "Iterating over Instructions in a Function"
section.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3634
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Mon, 9 Sep 2002 14:54:21 +0000 (14:54 +0000)]
Silly bug fix: Machine code vector could be empty for a no-op cast instruction,
e.g., cast double to double.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3633
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Sep 2002 05:53:21 +0000 (05:53 +0000)]
Clean up the isa section stub. It should not be listed twice
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3632
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Sep 2002 05:49:39 +0000 (05:49 +0000)]
Stub out another couple sections that it looks like 426's MP1 will really
need.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3631
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Sep 2002 03:48:46 +0000 (03:48 +0000)]
Fix minor typo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3630
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Sep 2002 03:43:09 +0000 (03:43 +0000)]
Testcase no longer applicable since shifts of pointers are no longer allowed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3629
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Mon, 9 Sep 2002 03:42:14 +0000 (03:42 +0000)]
Eliminate multiply of pointer type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3628
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Sep 2002 21:47:54 +0000 (21:47 +0000)]
Factor silly code duplication out
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3627
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Sep 2002 21:39:07 +0000 (21:39 +0000)]
Fix Bug: test/Regression/Transforms/InstCombine/2002-09-08-PointerShiftBug.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3626
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Sep 2002 21:37:49 +0000 (21:37 +0000)]
New testcase for a bug identified by Vikram
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3625
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Sep 2002 21:19:29 +0000 (21:19 +0000)]
Make sure the leakdetector is told about temporary Phi nodes also, so it doesn't
erroneously report them as leaks
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3624
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Sep 2002 21:08:43 +0000 (21:08 +0000)]
Inform the memory leak detector that TmpInstruction objects should not be
subject to memory leak checking.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3623
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Sep 2002 21:07:51 +0000 (21:07 +0000)]
Move TmpInstruction ctor to InstrSelection.cpp file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3622
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Sep 2002 19:00:07 +0000 (19:00 +0000)]
Enable "garbage detection" of LLVM objects. Check for leaks after running
every pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3621
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Sep 2002 18:59:35 +0000 (18:59 +0000)]
Enable "garbage detection" of LLVM objects. Now users should be obnoxious
warnings. If they accidentally leak LLVM Value's.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3620
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Sep 2002 18:55:04 +0000 (18:55 +0000)]
Minor simplification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3619
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Sep 2002 18:51:16 +0000 (18:51 +0000)]
Checkin initial support for automatic memory leak detection routines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3618
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Sep 2002 18:51:12 +0000 (18:51 +0000)]
Checkin initial support for automatic memory leak detection routines
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3617
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Sep 2002 18:45:18 +0000 (18:45 +0000)]
* Add capability to recognize alias properties of the following common cases:
- A[c1] cannot alias A[c2] where constants c1 != c2
- A[i] cannot alias B[j] if A & B are provably different arrays
This should help out array based codes. For example, from bzip2 from spec,
3 additional loads can be GCSE'd, and _21_ additional loads can be LICMd due
to this change.
In a test example from the Spec GAP benchmark (vecffe.c), this change allows
_52_ additional loads to be GCSE'd and _224_ additional LICM'd loads.
Not bad for such a simple change. Other testcases show no change at all
because they just don't use arrays. Not too suprising there.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3616
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sun, 8 Sep 2002 18:08:36 +0000 (18:08 +0000)]
New testcase that tests for array pointer analysis type stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3615
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Sep 2002 22:50:41 +0000 (22:50 +0000)]
Fix bug in testcase now that load-vn is not built into gcse
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3614
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Sep 2002 22:48:30 +0000 (22:48 +0000)]
Fix broken test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3613
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Sat, 7 Sep 2002 05:33:45 +0000 (05:33 +0000)]
Test commit
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3612
91177308-0d34-0410-b5e6-
96231b3b80d8
Joel Stanley [Fri, 6 Sep 2002 23:42:40 +0000 (23:42 +0000)]
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3611
91177308-0d34-0410-b5e6-
96231b3b80d8
Joel Stanley [Fri, 6 Sep 2002 23:05:12 +0000 (23:05 +0000)]
Fixed typos and added </>/& tags where appropriate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3610
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 22:51:10 +0000 (22:51 +0000)]
* Fix a couple more <>&'s
* Correct an extremely minor technical point about a deprecated interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3609
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 22:12:58 +0000 (22:12 +0000)]
Minor fixes html type fixes: & -> & > -> > etc.
Hopefully permission thing works this time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3608
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 22:09:21 +0000 (22:09 +0000)]
Minor fix, test that web autoupdate works for people non-chris
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3607
91177308-0d34-0410-b5e6-
96231b3b80d8
Joel Stanley [Fri, 6 Sep 2002 21:55:13 +0000 (21:55 +0000)]
Added subsections to 'Basic Inspection and Traversal Routines':
* Iterating over the BasicBlocks in a Function
* Iterating over the Instructions in a BasicBlock
* Turning an iterator into a class pointer
* Finding call sites: a more complex example
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3606
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 21:33:15 +0000 (21:33 +0000)]
Move code out of header files into .cpp files to make future changes easier
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3605
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 21:31:57 +0000 (21:31 +0000)]
* Clean up some comments
* Move code out of header file to .cpp files, to make future changes easier
* Add arguments to classes so that they can be automatically inserted into their
parent structure upon creation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3604
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 21:04:36 +0000 (21:04 +0000)]
Fix script due to new www/ top level directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3603
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 21:04:22 +0000 (21:04 +0000)]
Remove obsolete script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3602
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 20:47:31 +0000 (20:47 +0000)]
* Clean up indentation a bit
* Fix broken comments (copy and pasto)
* Remove irrelevant comment
* Add extra argument to function that causes it to get inserted into a module
automatically.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3601
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 20:46:32 +0000 (20:46 +0000)]
* Remove extraneous #includes
* Add extra argument to Function ctor to allow automatic insertion into module
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3600
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 18:41:55 +0000 (18:41 +0000)]
Initial checkin of Correlated Expression Elimination Pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3599
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 18:41:33 +0000 (18:41 +0000)]
* No longer need to run die after instcombine
* Run new correlated expressions pass
* Simplify the CFG (removing dead blocks, merging blocks, eliminating branches
on constant booleans, etc) after correlated exprs pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3598
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 18:39:29 +0000 (18:39 +0000)]
Include stub for correlated expression elimination pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3597
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 18:31:18 +0000 (18:31 +0000)]
Add skeleton to the section contents so that Joel knows what to fill in
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3596
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 16:40:10 +0000 (16:40 +0000)]
Add new section
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3595
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 16:33:54 +0000 (16:33 +0000)]
Trivial change to test CVS checkout scripts
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3594
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 16:26:13 +0000 (16:26 +0000)]
Commit Vikram's changes for 426 class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3593
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 14:50:55 +0000 (14:50 +0000)]
Add information about the GlobalVariable and Module classes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3592
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 03:59:56 +0000 (03:59 +0000)]
Fix file header to be accurate, instead of something I just copied and pasted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3591
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 03:51:45 +0000 (03:51 +0000)]
Fix bug with critical edge splitting code where it wouldn't update PHI nodes
in the old destination block to indicate that the value flows from the new
edge splitting block, not from the original multi-successor block.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3590
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 02:50:58 +0000 (02:50 +0000)]
Initial checkin of the first part of the Programmer's Manual
There is still much to be done, but it's a good start.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3589
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 02:35:34 +0000 (02:35 +0000)]
Check in the implementation of critical edge detection and splitting
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3588
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 02:35:11 +0000 (02:35 +0000)]
- Rename BreakCriticalEdge to the slightly more standard SplitCriticalEdge
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3587
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 02:19:25 +0000 (02:19 +0000)]
* Doxygenize API
* Add new functions for identifying and breaking critical edges
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3586
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 02:16:27 +0000 (02:16 +0000)]
- Doxygenize comments
- Add new method to dominatorset: properlyDominates
- Add synonmys for operator[] to classes so that pointers to dominator
information can be used more easily.
- Add API's to update dominator information
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3585
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 02:14:47 +0000 (02:14 +0000)]
Make getAnalysisToUpdate<AnalysisType>() public so that transformation APIs
can update analysis information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3584
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Fri, 6 Sep 2002 02:02:58 +0000 (02:02 +0000)]
* Remove notes at the top of the file
* Add information about how to debug a dynamically loaded pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3583
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Thu, 5 Sep 2002 18:36:41 +0000 (18:36 +0000)]
Add new function MachineInstrInfo::CreateZeroExtensionInstructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3582
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Thu, 5 Sep 2002 18:34:31 +0000 (18:34 +0000)]
Add new function UltraSparcInstrInfo::CreateZeroExtensionInstructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3581
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Thu, 5 Sep 2002 18:33:59 +0000 (18:33 +0000)]
Bug fixes in casting between floats and ints smaller than 64 bits.
Add UltraSparcInstrInfo::CreateZeroExtensionInstructions to help with that.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3580
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Thu, 5 Sep 2002 18:32:13 +0000 (18:32 +0000)]
-- Use size of pointer element type instead of pointer type in array offsets!
-- A few bug fixes in casting between floats and ints.
-- Use SRL reg, 0 instead of AND reg, 0xffffffff to clear high 32 bits.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3579
91177308-0d34-0410-b5e6-
96231b3b80d8
Vikram S. Adve [Thu, 5 Sep 2002 18:28:10 +0000 (18:28 +0000)]
-- Bug fix: use byte offsets not typed offsets in output assembly!
-- Add support for ConstantExpr constants (only cast and add operators so far)
-- Avoid generating label Bbss.bss, which sometimes came out twice.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3578
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Sep 2002 23:12:40 +0000 (23:12 +0000)]
Minor bug fix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3577
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Sep 2002 20:09:49 +0000 (20:09 +0000)]
Implement setcc for booleans. Fixes bug:
test/Regression/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3576
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Sep 2002 20:09:23 +0000 (20:09 +0000)]
Make sure that setcc is implemented for bools.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3575
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Sep 2002 01:08:28 +0000 (01:08 +0000)]
- Renamed Type::isIntegral() to Type::isInteger()
- Added new method Type::isIntegral() that is the same as isInteger, but
also accepts bool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3574
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Sep 2002 01:07:35 +0000 (01:07 +0000)]
- Renamed Type::isIntegral() to Type::isInteger()
- Added new method Type::isIntegral() that is the same as isInteger, but
also accepts bool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3573
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Sep 2002 01:05:48 +0000 (01:05 +0000)]
- Renamed Type::isIntegral() to Type::isInteger()
- Added new method Type::isIntegral() that is the same as isInteger, but
also accepts bool.
SCVS: ----------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3572
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Sep 2002 01:05:31 +0000 (01:05 +0000)]
Implement operator== and != for ranges
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3571
91177308-0d34-0410-b5e6-
96231b3b80d8
Chris Lattner [Tue, 3 Sep 2002 00:52:52 +0000 (00:52 +0000)]
Add distinction between integer and integral types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3570
91177308-0d34-0410-b5e6-
96231b3b80d8