Chris Lattner
|
3907d11200
|
Fix iterator invalidation problem with cast instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5876 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-23 17:57:48 +00:00 |
|
Chris Lattner
|
548f61d66a
|
Implement the constantexpr CAST instruction correctly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5875 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-23 17:22:12 +00:00 |
|
Chris Lattner
|
cf31784c69
|
We now need to link libscalar to get the switch lowering pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5874 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-23 16:43:02 +00:00 |
|
Chris Lattner
|
e408e25132
|
Remove unnecesary &*'s
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5872 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-23 16:37:45 +00:00 |
|
Chris Lattner
|
2ee82e05e3
|
Remove unneccesary &*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5871 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-23 16:36:11 +00:00 |
|
Chris Lattner
|
155e68feea
|
Add support for the Switch instruction by running the lowerSwitch pass first
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5867 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-23 16:24:55 +00:00 |
|
Chris Lattner
|
14383485ac
|
New pass to lower switch instructions to branch instructions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5865 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-23 16:23:59 +00:00 |
|
Chris Lattner
|
350c0a8216
|
Minor cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5863 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-23 16:18:14 +00:00 |
|
Misha Brukman
|
09ff1509ba
|
Fixed 'prevalent'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5860 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-23 02:59:05 +00:00 |
|
Misha Brukman
|
63e04f3ccb
|
Just some code beautification changes I had sitting around in my tree.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5859 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 23:00:08 +00:00 |
|
Chris Lattner
|
b581148bd9
|
Fix bug: BasicAA/2003-04-22-GEPProblem.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5858 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 22:00:27 +00:00 |
|
Chris Lattner
|
0286835685
|
Kill using declarations
Kill code for invalid operations on pointers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5856 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 21:22:33 +00:00 |
|
Chris Lattner
|
5bff50d1b0
|
Implement cast to bool
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5855 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 21:15:56 +00:00 |
|
Chris Lattner
|
b945e4ddae
|
Get rid of extraneous arguments to implementation functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5852 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 20:37:39 +00:00 |
|
Chris Lattner
|
09e9392d63
|
Add support to LLI for switch instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5851 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 20:34:47 +00:00 |
|
Chris Lattner
|
7a5a1f790f
|
Use a union to cast int to fp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5849 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 20:20:28 +00:00 |
|
Misha Brukman
|
8829dcd15b
|
It's "necessary"...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5848 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 20:20:11 +00:00 |
|
Chris Lattner
|
a9f5e0517e
|
Add support for the switch instruction to the CWriter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5847 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 20:19:52 +00:00 |
|
Chris Lattner
|
43a9994c01
|
Add warning when linking modules with disagreeing target properties
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5845 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 19:13:20 +00:00 |
|
Chris Lattner
|
61a909a6fd
|
Emit information about target
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5844 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 19:07:19 +00:00 |
|
Chris Lattner
|
b9bcbb533f
|
Allow information about the target to be specified in the .ll file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5843 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 19:07:06 +00:00 |
|
Chris Lattner
|
9232b99461
|
Namespacify
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5840 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 18:42:41 +00:00 |
|
Chris Lattner
|
76e3896881
|
Add support for reading and writing pointersize/endianness to and from bytecode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5839 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 18:15:10 +00:00 |
|
Chris Lattner
|
75f20532ec
|
Preserve module source information in the ModuleID
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5836 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 18:02:52 +00:00 |
|
Chris Lattner
|
37f59419b8
|
Preserve the new moduleID field
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5835 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 18:02:26 +00:00 |
|
Chris Lattner
|
678c6a089d
|
Add support for tracking whether a module is 64/32 bit and big/little endian
Also add a moduleID field which can be used for diagnostics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5834 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 18:02:04 +00:00 |
|
Misha Brukman
|
baf0607cbc
|
It's "necessary" to spell "necessarily" correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5833 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-22 17:54:23 +00:00 |
|
Chris Lattner
|
59ee0eeffd
|
Make stderr, stdout, stdin work with LLI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5832 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-21 22:44:36 +00:00 |
|
Chris Lattner
|
04e2ad76f8
|
Fix wierd idiom
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5831 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-21 22:43:32 +00:00 |
|
Chris Lattner
|
9dbf6dddce
|
fprintf CAN take exactly 2 args
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5830 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-21 22:43:20 +00:00 |
|
Chris Lattner
|
4b12cdec01
|
Add support for a simple constantexpr: cast of one ptr type to another
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5829 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-21 21:33:44 +00:00 |
|
Chris Lattner
|
2719bac905
|
Fix bug: 2003-01-30-LinkerRename.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5828 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-21 21:15:04 +00:00 |
|
Chris Lattner
|
0fec08eb58
|
Fix linking a function with qualifiers to a external function declaration:
Fixed bug: Linker/2003-04-21-Linkage.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5827 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-21 21:07:05 +00:00 |
|
Chris Lattner
|
085c801dee
|
Fix bug where use still existed in dead code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5824 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-21 19:15:26 +00:00 |
|
Chris Lattner
|
968cfd0b6e
|
Initial support for reading standard .a files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5820 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-19 21:45:34 +00:00 |
|
Chris Lattner
|
f6099df194
|
Add support for reading unaligned bytecode buffers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5819 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-19 21:45:17 +00:00 |
|
Chris Lattner
|
14e8e29105
|
Remove arbitrary limitation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5818 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-19 00:50:37 +00:00 |
|
Chris Lattner
|
ea2294a498
|
Implement: FunctionResolve/2003-04-18-ForwardDeclGlobal.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5816 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-19 00:15:27 +00:00 |
|
Chris Lattner
|
393689afa9
|
Fix bug: Mem2reg/2003-04-18-DeadBlockProblem.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5810 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-18 19:25:22 +00:00 |
|
Chris Lattner
|
156bcf3f65
|
Global constants CAN be external
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5808 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-18 04:34:29 +00:00 |
|
Chris Lattner
|
869de25380
|
Fix a big bad bug I checked in yesterday :(
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5807 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-18 04:11:56 +00:00 |
|
Chris Lattner
|
17d145d26f
|
Refactor CloneFunction to expose the new CloneBasicBlock function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5806 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-18 03:50:09 +00:00 |
|
Chris Lattner
|
15faa8498c
|
New const_cast instead of c style cast
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5805 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-18 03:49:49 +00:00 |
|
Chris Lattner
|
3e8ba10750
|
Allow hexadecimal integer constants to be used
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5802 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-17 22:17:32 +00:00 |
|
Chris Lattner
|
d628f6a9a4
|
Don't build constantexprs that could be folded
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5801 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-17 19:24:48 +00:00 |
|
Chris Lattner
|
27287de06b
|
Allow constant folding of GEP instructions, even if we don't do a whole lot yet.
Fold ConstExpr casts better
castToPointer shouldn't be forced to return a constantpointer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5800 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-17 19:24:18 +00:00 |
|
Chris Lattner
|
fd73cf895c
|
Don't force a ConstantPointer to be returned
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5799 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-17 19:22:47 +00:00 |
|
Chris Lattner
|
ac7ad68cc0
|
Fix bug: IndVarSimplify/2003-04-16-ExprAnalysis.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5795 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-16 22:50:19 +00:00 |
|
Chris Lattner
|
fb242b6edc
|
Change the interface to constant expressions to allow automatic folding
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5793 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-16 22:40:51 +00:00 |
|
Chris Lattner
|
e3869c83e7
|
Add support to the bytecode reader/writer for the new linkage types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5790 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-16 21:16:05 +00:00 |
|