Chris Lattner
|
93f4ff73a6
|
Implement a bunch of new external functions
llvm-svn: 5885
|
2003-04-23 19:55:24 +00:00 |
Chris Lattner
|
7881fc8704
|
Implement &|^ on bool values
llvm-svn: 5884
|
2003-04-23 19:21:00 +00:00 |
Chris Lattner
|
26a4a1f5ca
|
Add support for _IO_getc function used on linux
llvm-svn: 5883
|
2003-04-23 19:20:50 +00:00 |
Chris Lattner
|
5bc7eb5fd8
|
Fix problem where labels were being incorrectly elided, and fix problem
where PHI copies where not emitted for the default label of switch insts
llvm-svn: 5882
|
2003-04-23 19:15:13 +00:00 |
Chris Lattner
|
5cc1270689
|
Fix the super obnoxious "cast to pointer from integer of different size" warnings
llvm-svn: 5881
|
2003-04-23 19:09:22 +00:00 |
Chris Lattner
|
9de0d14dec
|
* Implement access to external variables in LLI
* Implement GetElementPtr constant expressions when initializing global variables
llvm-svn: 5880
|
2003-04-23 19:01:49 +00:00 |
Chris Lattner
|
21a8e8a2c9
|
Fix Bug: Linker/2003-04-23-LinkOnceLost.ll
llvm-svn: 5879
|
2003-04-23 18:38:39 +00:00 |
Chris Lattner
|
00a2d7e769
|
New testcase
llvm-svn: 5878
|
2003-04-23 18:38:24 +00:00 |
Chris Lattner
|
6db556a06d
|
Tweak testcases to use linkonce as appropriate
llvm-svn: 5877
|
2003-04-23 18:38:13 +00:00 |
Chris Lattner
|
ec6f16eae6
|
Fix iterator invalidation problem with cast instructions
llvm-svn: 5876
|
2003-04-23 17:57:48 +00:00 |
Chris Lattner
|
2670371c9a
|
Implement the constantexpr CAST instruction correctly
llvm-svn: 5875
|
2003-04-23 17:22:12 +00:00 |
Chris Lattner
|
7d4c04c99a
|
We now need to link libscalar to get the switch lowering pass
llvm-svn: 5874
|
2003-04-23 16:43:02 +00:00 |
Chris Lattner
|
e695da3f54
|
Remove unnecessary &*
llvm-svn: 5873
|
2003-04-23 16:38:00 +00:00 |
Chris Lattner
|
889f620841
|
Remove unnecesary &*'s
llvm-svn: 5872
|
2003-04-23 16:37:45 +00:00 |
Chris Lattner
|
6ee2cf5d89
|
Remove unneccesary &*
llvm-svn: 5871
|
2003-04-23 16:36:11 +00:00 |
Chris Lattner
|
1d724408d0
|
Kill unneccesary &*
llvm-svn: 5870
|
2003-04-23 16:35:30 +00:00 |
Chris Lattner
|
9a01f15e24
|
Remove documented problem that is now fixed
llvm-svn: 5869
|
2003-04-23 16:26:15 +00:00 |
Chris Lattner
|
5033c4c286
|
Properly convert some &'s to &'s
llvm-svn: 5868
|
2003-04-23 16:25:38 +00:00 |
Chris Lattner
|
524608ab79
|
Add support for the Switch instruction by running the lowerSwitch pass first
llvm-svn: 5867
|
2003-04-23 16:24:55 +00:00 |
Chris Lattner
|
1dd9185996
|
Add stub to create lowerSwitches pass
llvm-svn: 5866
|
2003-04-23 16:24:19 +00:00 |
Chris Lattner
|
1b094a0f2e
|
New pass to lower switch instructions to branch instructions
llvm-svn: 5865
|
2003-04-23 16:23:59 +00:00 |
Chris Lattner
|
1f45f4e4d8
|
Minor cleanups
llvm-svn: 5863
|
2003-04-23 16:18:14 +00:00 |
Chris Lattner
|
ecb0bac0ec
|
Allow autoconversion from ilist_iterator<T> to T* in a dyn_cast and friends
llvm-svn: 5862
|
2003-04-23 16:17:53 +00:00 |
Chris Lattner
|
215b00589f
|
Allow dyn_cast to operate on things that aren't OBVIOUSLY a pointer type.
These things can be converted to a pointer, like ilist_iterators
llvm-svn: 5861
|
2003-04-23 16:17:28 +00:00 |
Misha Brukman
|
1d6f220a87
|
Fixed 'prevalent'.
llvm-svn: 5860
|
2003-04-23 02:59:05 +00:00 |
Misha Brukman
|
3b78995848
|
Just some code beautification changes I had sitting around in my tree.
llvm-svn: 5859
|
2003-04-22 23:00:08 +00:00 |
Chris Lattner
|
4183b34d39
|
Fix bug: BasicAA/2003-04-22-GEPProblem.ll
llvm-svn: 5858
|
2003-04-22 22:00:27 +00:00 |
Chris Lattner
|
79dfcac6d1
|
New testcase
llvm-svn: 5857
|
2003-04-22 22:00:15 +00:00 |
Chris Lattner
|
aee56b8d34
|
Kill using declarations
Kill code for invalid operations on pointers
llvm-svn: 5856
|
2003-04-22 21:22:33 +00:00 |
Chris Lattner
|
bbd1157f71
|
Implement cast to bool
llvm-svn: 5855
|
2003-04-22 21:15:56 +00:00 |
Chris Lattner
|
fa5fc55f83
|
Get rid of extraneous arguments to implementation functions
llvm-svn: 5852
|
2003-04-22 20:37:39 +00:00 |
Chris Lattner
|
d215af03a3
|
Add support to LLI for switch instruction
llvm-svn: 5851
|
2003-04-22 20:34:47 +00:00 |
Chris Lattner
|
62fa743e75
|
Use a union to cast int to fp
llvm-svn: 5849
|
2003-04-22 20:20:28 +00:00 |
Misha Brukman
|
dd4745241f
|
It's "necessary"...
llvm-svn: 5848
|
2003-04-22 20:20:11 +00:00 |
Chris Lattner
|
f86060f45a
|
Add support for the switch instruction to the CWriter
llvm-svn: 5847
|
2003-04-22 20:19:52 +00:00 |
Chris Lattner
|
3c5c9e176b
|
Update to add new keywords
llvm-svn: 5846
|
2003-04-22 19:31:55 +00:00 |
Chris Lattner
|
c6ce4dafbe
|
Add warning when linking modules with disagreeing target properties
llvm-svn: 5845
|
2003-04-22 19:13:20 +00:00 |
Chris Lattner
|
c840aa64e2
|
Emit information about target
llvm-svn: 5844
|
2003-04-22 19:07:19 +00:00 |
Chris Lattner
|
2012613040
|
Allow information about the target to be specified in the .ll file
llvm-svn: 5843
|
2003-04-22 19:07:06 +00:00 |
Chris Lattner
|
f234e9975a
|
Add testcase for target information
llvm-svn: 5842
|
2003-04-22 19:06:48 +00:00 |
Chris Lattner
|
8b6d5c58ae
|
ADd newline to end of file
llvm-svn: 5841
|
2003-04-22 18:43:23 +00:00 |
Chris Lattner
|
89da8a3b31
|
Namespacify
llvm-svn: 5840
|
2003-04-22 18:42:41 +00:00 |
Chris Lattner
|
35834a503b
|
Add support for reading and writing pointersize/endianness to and from bytecode
llvm-svn: 5839
|
2003-04-22 18:15:10 +00:00 |
Chris Lattner
|
cebde8d74c
|
Build the appropriate target machine for the input pointer size and endianness
llvm-svn: 5838
|
2003-04-22 18:10:32 +00:00 |
Chris Lattner
|
085ca7d3ed
|
Add information about the module source
llvm-svn: 5837
|
2003-04-22 18:03:13 +00:00 |
Chris Lattner
|
b672b5607f
|
Preserve module source information in the ModuleID
llvm-svn: 5836
|
2003-04-22 18:02:52 +00:00 |
Chris Lattner
|
d36ad926f2
|
Preserve the new moduleID field
llvm-svn: 5835
|
2003-04-22 18:02:26 +00:00 |
Chris Lattner
|
c3f6e00011
|
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
llvm-svn: 5834
|
2003-04-22 18:02:04 +00:00 |
Misha Brukman
|
e569e992d8
|
It's "necessary" to spell "necessarily" correctly.
llvm-svn: 5833
|
2003-04-22 17:54:23 +00:00 |
Chris Lattner
|
9a3ccdbdfb
|
Make stderr, stdout, stdin work with LLI
llvm-svn: 5832
|
2003-04-21 22:44:36 +00:00 |