Chris Lattner
463b90cb78
ConcretePass should not be a templated class!
...
llvm-svn: 838
2001-10-15 17:47:13 +00:00
Chris Lattner
9bfad5b7b1
Add new Pass infrastructure and some examples
...
llvm-svn: 836
2001-10-15 17:31:51 +00:00
Chris Lattner
9e0f07c207
Convert to use Pass infrastructure
...
llvm-svn: 834
2001-10-15 17:30:18 +00:00
Chris Lattner
6a4db15e88
File moved to: llvm/Transforms/HoistPHIConstants.h
...
llvm-svn: 833
2001-10-15 17:30:06 +00:00
Ruchira Sasanka
bd3efa900e
--changed Sugesting colors for method calls/return values etc.
...
llvm-svn: 829
2001-10-15 16:23:48 +00:00
Ruchira Sasanka
54051b75a7
fixed a coalscing bug
...
llvm-svn: 828
2001-10-15 16:22:44 +00:00
Chris Lattner
eba2b7cf61
Be const correct
...
llvm-svn: 826
2001-10-15 15:54:43 +00:00
Chris Lattner
d9c11e528c
Add cast_or_null & dyn_cast_or_null
...
llvm-svn: 824
2001-10-15 13:41:37 +00:00
Chris Lattner
fd1ab08cba
Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get tired typing that much
...
llvm-svn: 822
2001-10-15 13:21:42 +00:00
Chris Lattner
b66d7f5416
Improve error messages on assertion failure.
...
llvm-svn: 821
2001-10-15 13:13:32 +00:00
Chris Lattner
657954e39b
*** empty log message ***
...
llvm-svn: 813
2001-10-14 23:34:12 +00:00
Chris Lattner
c86be70de5
Update comment, remove misleading method
...
llvm-svn: 806
2001-10-14 23:26:24 +00:00
Chris Lattner
7de225b35d
Initializers are not const even if the GV is.
...
llvm-svn: 805
2001-10-14 23:24:46 +00:00
Vikram S. Adve
ebdf1737c4
Cast NULL when requested.
...
llvm-svn: 803
2001-10-14 23:21:06 +00:00
Vikram S. Adve
c46b4eb5fe
Added getEntryNode() and getExitNode() functions.
...
The latter are actually bogus and will be fixed by me soon.
llvm-svn: 802
2001-10-14 23:20:44 +00:00
Vikram S. Adve
a62d1703a1
Insert code to trace values at basic block and method exits.
...
llvm-svn: 801
2001-10-14 23:19:02 +00:00
Vikram S. Adve
8a6626476e
Added routine to create a char array for a string.
...
llvm-svn: 798
2001-10-14 23:16:27 +00:00
Chris Lattner
42433c96b6
Use the instruction.def file to remain up to date with future instruction
...
changes
llvm-svn: 792
2001-10-14 17:24:50 +00:00
Chris Lattner
a23671c6ba
New file to define instructions...
...
llvm-svn: 791
2001-10-14 17:24:33 +00:00
Chris Lattner
b789255b4e
New module linking functionality prototype
...
llvm-svn: 789
2001-10-13 16:57:49 +00:00
Chris Lattner
d4a327ff93
Dang, I screwed up the merge. This should be better
...
llvm-svn: 785
2001-10-13 07:18:40 +00:00
Chris Lattner
010b35c757
Fix filename in comment
...
llvm-svn: 751
2001-10-13 06:32:42 +00:00
Chris Lattner
7ca4d97de9
Better linux support. This file still sucks
...
llvm-svn: 750
2001-10-13 06:31:55 +00:00
Chris Lattner
217ae5645d
Fix broken #endif
...
llvm-svn: 749
2001-10-13 06:31:00 +00:00
Chris Lattner
815755f9f9
not is a keyword in Ansi C++. Avoid it
...
llvm-svn: 748
2001-10-13 06:30:39 +00:00
Chris Lattner
a4d1133109
Clean up initializers for GCC 2.96
...
llvm-svn: 747
2001-10-13 06:30:10 +00:00
Chris Lattner
c6085d8351
Remove exception specification. Only slows code down.
...
llvm-svn: 746
2001-10-13 06:25:30 +00:00
Chris Lattner
99189a2ebf
Changes to compile with GCC 2.96
...
llvm-svn: 745
2001-10-13 06:25:03 +00:00
Chris Lattner
1e90c0f0c8
Add comment indicating semantics of indirect calls
...
llvm-svn: 744
2001-10-13 06:24:35 +00:00
Chris Lattner
9fbe12b850
New ctor for invoke inst
...
llvm-svn: 743
2001-10-13 06:24:10 +00:00
Chris Lattner
f17ca56ec5
Add support for indirect calls
...
llvm-svn: 742
2001-10-13 06:23:14 +00:00
Chris Lattner
ef76e319e9
Add some casts to make GCC 2.96 happy.
...
llvm-svn: 741
2001-10-13 06:20:07 +00:00
Chris Lattner
7fc8835f8a
Add use_back() methods
...
llvm-svn: 740
2001-10-13 06:18:19 +00:00
Chris Lattner
027f8b242b
Add classof implementations for User
...
llvm-svn: 739
2001-10-13 06:18:05 +00:00
Chris Lattner
be717b6402
Expose typedefs
...
llvm-svn: 738
2001-10-13 06:17:50 +00:00
Chris Lattner
6a615c53a2
Add support for module local constants
...
llvm-svn: 737
2001-10-13 06:17:32 +00:00
Chris Lattner
c950dfff3a
Add new opcode for Invoke instruction
...
llvm-svn: 736
2001-10-13 06:15:20 +00:00
Chris Lattner
08d4945387
Minor changes, add new ctor for invoke instruction
...
llvm-svn: 735
2001-10-13 06:14:53 +00:00
Chris Lattner
8cf2a5b5c2
Add assertions
...
llvm-svn: 734
2001-10-13 06:12:38 +00:00
Chris Lattner
a9747cdcb4
* Minor Formatting changes.
...
* MethodType now takes an explicit isVarArg arg instead of an implicit
voidTy on the argument list
llvm-svn: 733
2001-10-13 06:12:30 +00:00
Chris Lattner
36b4a2152b
* Add destroyConstant stuff to handle module local constants
...
* Add classof implementations for more ConstPoolVal subclasses
* Pull null pointer implementation stuff out of ConstPoolPointer into
a subclass ConstPoolPointerNull
* Implement ConstPoolPointerReference correctly and completely
llvm-svn: 732
2001-10-13 06:11:10 +00:00
Ruchira Sasanka
44e467ec90
--added support for implicit operands in machine instructions
...
llvm-svn: 727
2001-10-12 17:46:27 +00:00
Vikram S. Adve
cc2f052087
Record implicitRefs for each machine instruction instead of
...
each VM instruction.
llvm-svn: 725
2001-10-11 04:23:19 +00:00
Vikram S. Adve
2c19cf9a69
Machine-independent code generation routines used in instruction
...
selection. These used to live in several different places before.
llvm-svn: 719
2001-10-10 20:50:43 +00:00
Vikram S. Adve
392ad31850
Moved code generation support routines to InstrSelectionSupport.{h,cpp}.
...
llvm-svn: 718
2001-10-10 20:50:20 +00:00
Chris Lattner
ac7f7b4758
Factor parentness out of Module & GlobalVariable into GlobalValue
...
Implement SymbolTable debug/dump utility
llvm-svn: 710
2001-10-03 19:28:15 +00:00
Chris Lattner
5fa26313dd
Share ConstPoolPointer elements correctly
...
llvm-svn: 706
2001-10-03 15:38:36 +00:00
Chris Lattner
a01eda3091
* Both Method & GlobalVariable now subclass GlobalValue
...
* ConstPoolPointerReference now represents a pointer to a GlobalValue
* Methods name references are now explicit pointers to methods
* Rename Value::GlobalVal to Value::GlobalVariableVal to avoid confusion
llvm-svn: 703
2001-10-03 14:53:21 +00:00
Chris Lattner
af910dda17
First try at a horrible global value reference wrapper
...
llvm-svn: 701
2001-10-03 06:12:09 +00:00
Chris Lattner
08b1dde37e
Commit more code over to new cast style
...
llvm-svn: 697
2001-10-02 03:41:24 +00:00