Chris Lattner
|
b9d9e0ff8d
|
- Change getelementptr instruction to use long indexes instead of uint
indexes for sequential types.
llvm-svn: 3681
|
2002-09-11 01:21:29 +00:00 |
Chris Lattner
|
236c129844
|
Give better assertion message for error conditions
llvm-svn: 3680
|
2002-09-11 01:21:04 +00:00 |
Chris Lattner
|
bb4fe2c3c4
|
Recently changed getelementptr to use 'long' indexes for sequential types
instead of uints. This adds a translation scheme to be backwards compatible
with old .ll files.
llvm-svn: 3679
|
2002-09-11 01:17:27 +00:00 |
Chris Lattner
|
813d4aa6c0
|
Convert index type for getelementptr instruction from uint to long
llvm-svn: 3678
|
2002-09-11 01:16:19 +00:00 |
Chris Lattner
|
8678d4e5e8
|
Allocation insts always have one operand
llvm-svn: 3677
|
2002-09-11 00:22:39 +00:00 |
Chris Lattner
|
5f45ca443e
|
Add convenience ctor to BranchInst
llvm-svn: 3676
|
2002-09-10 23:54:58 +00:00 |
Chris Lattner
|
4ecbe74c27
|
Add convenience ctor to BranchInst
llvm-svn: 3675
|
2002-09-10 23:54:56 +00:00 |
Chris Lattner
|
cbc532603a
|
Fix the last of the silly bugs I just introduced. :(
llvm-svn: 3674
|
2002-09-10 23:46:10 +00:00 |
Chris Lattner
|
3d7720ae7d
|
Fix bugs in previous checkins
llvm-svn: 3673
|
2002-09-10 23:31:28 +00:00 |
Chris Lattner
|
9674b869e5
|
Fix bug in previous checkin
llvm-svn: 3672
|
2002-09-10 23:31:12 +00:00 |
Chris Lattner
|
55f3d94b40
|
Add cannonicalization of shl X, 1 -> add X, X
llvm-svn: 3671
|
2002-09-10 23:04:09 +00:00 |
Chris Lattner
|
025e58dfa5
|
Check for cannonicalization of shl X, 1 -> add X, X
llvm-svn: 3670
|
2002-09-10 23:03:10 +00:00 |
Chris Lattner
|
e8c927f71a
|
Fix minor problems in previous checkin
llvm-svn: 3669
|
2002-09-10 22:52:51 +00:00 |
Chris Lattner
|
db3f9bc948
|
Fix minor problems in previous checkin
llvm-svn: 3668
|
2002-09-10 22:52:49 +00:00 |
Chris Lattner
|
e167ee56c7
|
Fix config file due to directories changing
llvm-svn: 3667
|
2002-09-10 22:39:04 +00:00 |
Chris Lattner
|
f80f7b02b7
|
Clean up code due to auto-insert constructors
llvm-svn: 3666
|
2002-09-10 22:38:49 +00:00 |
Chris Lattner
|
a239e6879d
|
Clean up code due to auto-insert constructors
llvm-svn: 3665
|
2002-09-10 22:38:47 +00:00 |
Chris Lattner
|
97ff99cdf9
|
Clean up code
llvm-svn: 3664
|
2002-09-10 22:38:06 +00:00 |
Chris Lattner
|
a6834c1331
|
Use explicit ctor
llvm-svn: 3663
|
2002-09-10 22:37:46 +00:00 |
Chris Lattner
|
46e5a5f523
|
Clean up pointer using testcases
llvm-svn: 3662
|
2002-09-10 20:04:19 +00:00 |
Chris Lattner
|
66d3a46afc
|
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
|
c0686feca2
|
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
|
0f18d5042d
|
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
|
61c83bf12f
|
Fix bug: test/Regression/Transforms/LevelRaise/2002-09-10-PointerAdds.ll
llvm-svn: 3658
|
2002-09-10 19:42:53 +00:00 |
Chris Lattner
|
f8013f3ca7
|
New testcase for poitner problem
llvm-svn: 3657
|
2002-09-10 19:41:57 +00:00 |
Chris Lattner
|
28a8d2468a
|
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
|
5c447863d5
|
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
|
7d734801d1
|
Add support for printing constpointerrefs more nicely
llvm-svn: 3654
|
2002-09-10 15:53:49 +00:00 |
Chris Lattner
|
3c787446c7
|
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
|
da7daf76a4
|
Remove extra #include
llvm-svn: 3652
|
2002-09-10 15:43:30 +00:00 |
Chris Lattner
|
5bf620748f
|
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
|
e1751db3ca
|
Clean up indvar printing
llvm-svn: 3650
|
2002-09-10 15:35:39 +00:00 |
Chris Lattner
|
9ae0fd2d6c
|
Eliminate the GenericBinaryInst class
llvm-svn: 3649
|
2002-09-10 15:35:23 +00:00 |
Chris Lattner
|
7d02d3102a
|
* 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
|
9c11ca3b17
|
Eliminate the GenericBinaryInst class.
llvm-svn: 3647
|
2002-09-10 15:27:31 +00:00 |
Chris Lattner
|
45719ee85d
|
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
|
fe500386d3
|
Finish up the isa/cast/dyn_cast section
llvm-svn: 3645
|
2002-09-10 15:20:46 +00:00 |
Chris Lattner
|
4184bcc701
|
* 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
|
a6a5335197
|
Run indvars tests
llvm-svn: 3643
|
2002-09-10 04:55:36 +00:00 |
Chris Lattner
|
df422ba2b9
|
Add new testcase for broken indvars case
llvm-svn: 3642
|
2002-09-10 04:54:44 +00:00 |
Chris Lattner
|
80a2568f9b
|
Fix typeo in assertion message
llvm-svn: 3641
|
2002-09-10 04:52:59 +00:00 |
Chris Lattner
|
e103d178c5
|
Hack unneccesary now that shifts of pointers are no longer legal!
llvm-svn: 3640
|
2002-09-10 03:50:54 +00:00 |
Chris Lattner
|
4e7f7c0f30
|
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
|
1f41925300
|
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
|
ff16f07017
|
Disallow creation of pointer typed shift instructions
llvm-svn: 3637
|
2002-09-09 20:25:21 +00:00 |
Chris Lattner
|
7e03b6ee33
|
* 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
|
5d79df728a
|
*** empty log message ***
llvm-svn: 3635
|
2002-09-09 16:29:58 +00:00 |
Joel Stanley
|
0b2b897cdc
|
- 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
|
d50fb11d18
|
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
|
e40840b26b
|
Clean up the isa section stub. It should not be listed twice
llvm-svn: 3632
|
2002-09-09 05:53:21 +00:00 |