Chris Lattner
|
657fbe68b8
|
rethrow is really the language independent primitive here. "throw" can be written
in terms of it and llvm.exc.setcurrent.
Rework the intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8111 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-24 12:24:11 +00:00 |
|
Chris Lattner
|
80a38d2453
|
*** Implement inlining of Invoke instructions!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8106 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-24 06:59:16 +00:00 |
|
Chris Lattner
|
7152c237b4
|
Implement: Inline/cfg_preserve_test.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8099 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-24 04:06:56 +00:00 |
|
Chris Lattner
|
7d6c24cdbf
|
Implement SimplifyCFG/2003-08-17-FoldSwitch.ll:test5
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8093 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-23 23:18:19 +00:00 |
|
Chris Lattner
|
44bb541c01
|
Fix bug: LowerSwitch/2003-08-23-EmptySwitch.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8087 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-23 22:54:34 +00:00 |
|
Chris Lattner
|
f44c6051e0
|
Do not consider any types that exist in the global symbol table!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8084 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-23 21:32:24 +00:00 |
|
Chris Lattner
|
e3092c94ad
|
Fix bug: Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8083 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-23 21:25:54 +00:00 |
|
Chris Lattner
|
fcd0234de6
|
Implement Linker/2003-08-23-GlobalVarLinking.ll, which should fix 176.gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8080 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-23 20:31:10 +00:00 |
|
Chris Lattner
|
9732be769e
|
Fix typeo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8059 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-22 20:16:48 +00:00 |
|
Chris Lattner
|
43f4ba8c7d
|
The process of linking types can cause their addresses to become invalid. For this reason, we must use TypeHandles!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8057 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-22 19:12:55 +00:00 |
|
Chris Lattner
|
e76c57ad46
|
Implement Linker/2003-08-20-OpaqueTypeResolve.ll
Hopefully this will fix the 176.gcc spec test as well.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8051 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-22 06:07:12 +00:00 |
|
Misha Brukman
|
ef6a6a69ff
|
The word dependent' has no a'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8030 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-21 22:14:26 +00:00 |
|
Chris Lattner
|
e6f7f61cda
|
Fix grammar, add comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7967 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-18 22:54:06 +00:00 |
|
Misha Brukman
|
5560c9d49c
|
Spell `necessary' correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7944 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-18 14:43:39 +00:00 |
|
Chris Lattner
|
10b1f5a941
|
Implement folding of switch instructions.
Implements SimplifyCFG/2003-08-17-FoldSwitch.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7923 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-17 20:21:14 +00:00 |
|
Chris Lattner
|
694e37f08a
|
Fix bug: SimplifyCFG/2003-08-17-BranchFoldOrdering.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7921 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-17 19:41:53 +00:00 |
|
Chris Lattner
|
342a9d1464
|
The fixme is irrelevant: if that happens, the LLVM bytecode is malformed.
This fixes testcase: SimplifyCFG/2003-08-17-BranchFold.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7919 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-17 19:34:55 +00:00 |
|
Brian Gaeke
|
bf3c4cfaad
|
Factory methods for function passes now return type FunctionPass *.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7839 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-14 06:09:32 +00:00 |
|
Brian Gaeke
|
19df3876e6
|
Factory methods for FunctionPasses now return type FunctionPass *.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7823 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-13 18:18:15 +00:00 |
|
Chris Lattner
|
122558b05b
|
Fix bug: SimplifyCFG/2003-08-05-InvokeCrash.ll
Fix bug: SimplifyCFG/2003-08-05-MishandleInvoke.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7599 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-05 16:27:44 +00:00 |
|
Chris Lattner
|
83c39d2edb
|
Fix bug: Mem2Reg/2003-06-26-IterativePromote.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6901 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-06-25 14:58:56 +00:00 |
|
Tanya Lattner
|
658c5bcdb2
|
Fixed comment width, changed arg to be const, fixed indentation, removed unnecessary includes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6476 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-05-31 20:01:37 +00:00 |
|
Tanya Lattner
|
6074d2f37a
|
Added the CloneTrace function which clones traces. It takes a vector of basic blocks, removes
internal phi nodes, and returns a new vector of basic blocks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6431 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-05-30 15:50:18 +00:00 |
|
Chris Lattner
|
ab2b328c78
|
Eliminate unnecessary ->get calls that are now automatically handled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6397 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-05-29 15:12:27 +00:00 |
|
Chris Lattner
|
ca398dc398
|
* Separate all of the grunt work of inlining out into the Utils library.
* Make the function inliner _significantly_ smarter. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6396 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-05-29 15:11:31 +00:00 |
|
Chris Lattner
|
de579f11ff
|
Remove using declarations
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6306 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-05-22 22:00:07 +00:00 |
|
Misha Brukman
|
82c89b9f3a
|
Hopefully, the final fix for `[Pp]ropogate'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6251 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-05-20 21:01:22 +00:00 |
|
Chris Lattner
|
6d23d97e90
|
Fix long standing bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6232 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-05-15 18:25:13 +00:00 |
|
Chris Lattner
|
4c00e53b81
|
Fix Bug: Linker/2003-05-15-TypeProblem.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6225 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-05-15 16:30:55 +00:00 |
|
Chris Lattner
|
f41464618f
|
Fix major problem with appending linkage changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6185 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-05-14 12:11:51 +00:00 |
|
Chris Lattner
|
8166e6eef6
|
Implement linkage of appending global variables!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6178 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-05-13 21:33:43 +00:00 |
|
Chris Lattner
|
8f6396e80f
|
Fix bug: LoopPreheaders/2003-05-12-PreheaderExitOfChild.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6153 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-05-12 22:04:34 +00:00 |
|
Chris Lattner
|
20af3222da
|
Fix Bug: LowerSwitch/2003-05-01-PHIProblem.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5979 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-05-01 22:21:21 +00:00 |
|
Chris Lattner
|
c8789cb40b
|
Fix bug: mem2reg/2003-04-24-MultipleIdenticalSuccessors.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5919 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-25 00:54:58 +00:00 |
|
Chris Lattner
|
ad80a46caa
|
Fix iterator invalidation problem
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5895 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-24 17:52:20 +00:00 |
|
Chris Lattner
|
892310eaff
|
Make sure that the cloned module retains the type symbol table entries!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5894 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-24 17:15:33 +00:00 |
|
Chris Lattner
|
7899b74fdb
|
Make sure to preserve endiannes and pointer size when cloning modules!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5892 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-24 15:54:40 +00:00 |
|
Chris Lattner
|
c2b97d43a0
|
Fix Bug: Linker/2003-04-23-LinkOnceLost.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5879 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-23 18:38:39 +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
|
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 |
|
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
|
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
|
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
|
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
|
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
|
4ad02e726d
|
Add new linkage types to support a real frontend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5786 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-04-16 20:28:45 +00:00 |
|