Chris Lattner
|
02a3be020a
|
Rename Function::getEntryNode -> getEntryBlock
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8625 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-09-20 14:39:18 +00:00 |
|
Chris Lattner
|
ab4536e353
|
Minor cleanups, no functional changes
Rename Function::getEntryNode -> getEntryBlock
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8623 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-09-20 14:36:23 +00:00 |
|
Chris Lattner
|
e07007c2bd
|
Fix bug: Inline/2003-09-14-InlineValue.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8514 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-09-15 02:10:16 +00:00 |
|
Chris Lattner
|
c444a4228f
|
Renamed DominatorTree::Node::getNode() -> getBlock()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8469 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-09-11 16:26:13 +00:00 |
|
Chris Lattner
|
f46057be77
|
Expand the pass to unify all of the unwind blocks as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8456 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-09-10 20:34:51 +00:00 |
|
Misha Brukman
|
dfa5f83c8e
|
Spell `occurrence' correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8425 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-09-09 21:54:45 +00:00 |
|
Chris Lattner
|
ee5457cbe8
|
Eliminate support for the llvm.unwind intrinisic, using the Unwind instruction instead
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8411 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-09-08 19:44:26 +00:00 |
|
Chris Lattner
|
e4d9096409
|
Should invokify is always true
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8409 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-09-08 19:00:30 +00:00 |
|
Chris Lattner
|
7d8a86aa59
|
Use new interface, simplifies code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8242 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-31 00:22:27 +00:00 |
|
Chris Lattner
|
841e00b962
|
Fix bug where we considered function types equivalent even if they had differing numbers of arguments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8178 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-28 16:42:50 +00:00 |
|
Chris Lattner
|
f30862f33b
|
Remove special casing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8144 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-25 22:34:15 +00:00 |
|
Chris Lattner
|
77c5f733ac
|
Fix bug: Linker/2003-08-23-GlobalVarLinking.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8130 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-24 19:30:20 +00:00 |
|
Chris Lattner
|
873c5e7859
|
Implement: Linker/2003-08-24-InheritPtrSize.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8129 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-24 19:26:42 +00:00 |
|
Chris Lattner
|
dc3602bf0d
|
Implement SimplifyCFG/InvokeEliminate.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8126 91177308-0d34-0410-b5e6-96231b3b80d8
|
2003-08-24 18:36:16 +00:00 |
|
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 |
|