Chris Lattner
|
0b81131afc
|
Fix bug in previous checkin
llvm-svn: 3672
|
2002-09-10 23:31:12 +00:00 |
|
Chris Lattner
|
5143d4a3b3
|
Add cannonicalization of shl X, 1 -> add X, X
llvm-svn: 3671
|
2002-09-10 23:04:09 +00:00 |
|
Chris Lattner
|
9b5ccd195a
|
Check for cannonicalization of shl X, 1 -> add X, X
llvm-svn: 3670
|
2002-09-10 23:03:10 +00:00 |
|
Chris Lattner
|
f2fa52fec2
|
Fix minor problems in previous checkin
llvm-svn: 3669
|
2002-09-10 22:52:51 +00:00 |
|
Chris Lattner
|
3b3e26bb63
|
Fix minor problems in previous checkin
llvm-svn: 3668
|
2002-09-10 22:52:49 +00:00 |
|
Chris Lattner
|
ec540b9de1
|
Fix config file due to directories changing
llvm-svn: 3667
|
2002-09-10 22:39:04 +00:00 |
|
Chris Lattner
|
f2e4e61769
|
Clean up code due to auto-insert constructors
llvm-svn: 3666
|
2002-09-10 22:38:49 +00:00 |
|
Chris Lattner
|
37c3a1d80c
|
Clean up code due to auto-insert constructors
llvm-svn: 3665
|
2002-09-10 22:38:47 +00:00 |
|
Chris Lattner
|
38203aa15a
|
Clean up code
llvm-svn: 3664
|
2002-09-10 22:38:06 +00:00 |
|
Chris Lattner
|
288bd1177d
|
Use explicit ctor
llvm-svn: 3663
|
2002-09-10 22:37:46 +00:00 |
|
Chris Lattner
|
7bbde74ab5
|
Clean up pointer using testcases
llvm-svn: 3662
|
2002-09-10 20:04:19 +00:00 |
|
Chris Lattner
|
00fd7c012d
|
Tighten up assertion checking for binary operators, not allowing invalid
instructions to _even be created_.
llvm-svn: 3661
|
2002-09-10 19:57:53 +00:00 |
|
Chris Lattner
|
a7e9aba28c
|
Tighten up error checking in parser, disallowing instructions that f.e.,
add pointers together.
llvm-svn: 3660
|
2002-09-10 19:57:26 +00:00 |
|
Chris Lattner
|
5ee202eb3e
|
Remove a testcase that is irrelevant now, fix a pointer adding testcase
llvm-svn: 3659
|
2002-09-10 19:55:40 +00:00 |
|
Chris Lattner
|
acbd992f9d
|
Fix bug: test/Regression/Transforms/LevelRaise/2002-09-10-PointerAdds.ll
llvm-svn: 3658
|
2002-09-10 19:42:53 +00:00 |
|
Chris Lattner
|
f23529513c
|
New testcase for poitner problem
llvm-svn: 3657
|
2002-09-10 19:41:57 +00:00 |
|
Chris Lattner
|
da9702a8a1
|
Simplify code (somtimes dramatically), by using the new "auto-insert" feature
of instruction constructors.
llvm-svn: 3656
|
2002-09-10 17:04:02 +00:00 |
|
Chris Lattner
|
5758cf6d77
|
Simplify code (somtimes dramatically), by using the new "auto-insert" feature
of instruction constructors.
llvm-svn: 3655
|
2002-09-10 17:03:06 +00:00 |
|
Chris Lattner
|
a63519afc8
|
Add support for printing constpointerrefs more nicely
llvm-svn: 3654
|
2002-09-10 15:53:49 +00:00 |
|
Chris Lattner
|
59efee4bf0
|
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
llvm-svn: 3653
|
2002-09-10 15:45:53 +00:00 |
|
Chris Lattner
|
0580054142
|
Remove extra #include
llvm-svn: 3652
|
2002-09-10 15:43:30 +00:00 |
|
Chris Lattner
|
7636598d94
|
Implement support for inserting an instruction into a basic block right when it
is created.
llvm-svn: 3651
|
2002-09-10 15:36:11 +00:00 |
|
Chris Lattner
|
9275e21d28
|
Clean up indvar printing
llvm-svn: 3650
|
2002-09-10 15:35:39 +00:00 |
|
Chris Lattner
|
9cf88346b6
|
Eliminate the GenericBinaryInst class
llvm-svn: 3649
|
2002-09-10 15:35:23 +00:00 |
|
Chris Lattner
|
01faec5813
|
* Eliminate GenericBinaryInst class
* Allow specifying where to insert a newly created SetCondInst
llvm-svn: 3648
|
2002-09-10 15:34:41 +00:00 |
|
Chris Lattner
|
303a74440f
|
Eliminate the GenericBinaryInst class.
llvm-svn: 3647
|
2002-09-10 15:27:31 +00:00 |
|
Chris Lattner
|
9146e3b8e4
|
Eliminate setType method
Now the only way to set the type of a value is in the ctor for an object
llvm-svn: 3646
|
2002-09-10 15:26:27 +00:00 |
|
Chris Lattner
|
22e2b863dd
|
Finish up the isa/cast/dyn_cast section
llvm-svn: 3645
|
2002-09-10 15:20:46 +00:00 |
|
Chris Lattner
|
7787814c22
|
* Clean up code a little bit
* Fix bug: test/Regression/Transforms/IndVarsSimplify/2002-09-09-PointerIndVar.ll
llvm-svn: 3644
|
2002-09-10 05:24:05 +00:00 |
|
Chris Lattner
|
8d0869c928
|
Run indvars tests
llvm-svn: 3643
|
2002-09-10 04:55:36 +00:00 |
|
Chris Lattner
|
24543fac4c
|
Add new testcase for broken indvars case
llvm-svn: 3642
|
2002-09-10 04:54:44 +00:00 |
|
Chris Lattner
|
a88aeefa30
|
Fix typeo in assertion message
llvm-svn: 3641
|
2002-09-10 04:52:59 +00:00 |
|
Chris Lattner
|
4f5abce7f6
|
Hack unneccesary now that shifts of pointers are no longer legal!
llvm-svn: 3640
|
2002-09-10 03:50:54 +00:00 |
|
Chris Lattner
|
ab8acf3d00
|
Write most of the isa, cast, dyn_cast section. It's not done yet though.
llvm-svn: 3639
|
2002-09-10 00:39:05 +00:00 |
|
Chris Lattner
|
aac1fc4581
|
Do not allow adds of pointer types, or many other operations on pointer types.
llvm-svn: 3638
|
2002-09-09 20:26:04 +00:00 |
|
Chris Lattner
|
f6a9e54dda
|
Disallow creation of pointer typed shift instructions
llvm-svn: 3637
|
2002-09-09 20:25:21 +00:00 |
|
Chris Lattner
|
db2ed131d8
|
* 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
llvm-svn: 3636
|
2002-09-09 19:58:18 +00:00 |
|
Joel Stanley
|
59cce6f352
|
*** empty log message ***
llvm-svn: 3635
|
2002-09-09 16:29:58 +00:00 |
|
Joel Stanley
|
8f7c838ee2
|
- Made distinction between object->iterator and iterator->object
conversion more clear.
- Added content to "Iterating over Instructions in a Function"
section.
llvm-svn: 3634
|
2002-09-09 15:50:33 +00:00 |
|
Vikram S. Adve
|
1b1f2b2f5e
|
Silly bug fix: Machine code vector could be empty for a no-op cast instruction,
e.g., cast double to double.
llvm-svn: 3633
|
2002-09-09 14:54:21 +00:00 |
|
Chris Lattner
|
88cb1d97e8
|
Clean up the isa section stub. It should not be listed twice
llvm-svn: 3632
|
2002-09-09 05:53:21 +00:00 |
|
Chris Lattner
|
2b81a76156
|
Stub out another couple sections that it looks like 426's MP1 will really
need.
llvm-svn: 3631
|
2002-09-09 05:49:39 +00:00 |
|
Chris Lattner
|
332d3cd40e
|
Fix minor typo
llvm-svn: 3630
|
2002-09-09 03:48:46 +00:00 |
|
Chris Lattner
|
2e9fc50086
|
Testcase no longer applicable since shifts of pointers are no longer allowed
llvm-svn: 3629
|
2002-09-09 03:43:09 +00:00 |
|
Chris Lattner
|
349050906a
|
Eliminate multiply of pointer type
llvm-svn: 3628
|
2002-09-09 03:42:14 +00:00 |
|
Chris Lattner
|
4b8ce3aed2
|
Factor silly code duplication out
llvm-svn: 3627
|
2002-09-08 21:47:54 +00:00 |
|
Chris Lattner
|
c1de581f8e
|
Fix Bug: test/Regression/Transforms/InstCombine/2002-09-08-PointerShiftBug.ll
llvm-svn: 3626
|
2002-09-08 21:39:07 +00:00 |
|
Chris Lattner
|
71447ecb91
|
New testcase for a bug identified by Vikram
llvm-svn: 3625
|
2002-09-08 21:37:49 +00:00 |
|
Chris Lattner
|
22bcab6bd5
|
Make sure the leakdetector is told about temporary Phi nodes also, so it doesn't
erroneously report them as leaks
llvm-svn: 3624
|
2002-09-08 21:19:29 +00:00 |
|
Chris Lattner
|
1c2e1ebb5c
|
Inform the memory leak detector that TmpInstruction objects should not be
subject to memory leak checking.
llvm-svn: 3623
|
2002-09-08 21:08:43 +00:00 |
|