Commit Graph

6650 Commits

Author SHA1 Message Date
Chris Lattner
a834599225 Add clean target to clean up my mess
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6988 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 23:20:51 +00:00
Chris Lattner
dea8146787 Abstract out the predicate which decides whether a function gets complete
arguments or not...


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6987 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 22:37:07 +00:00
Chris Lattner
06e24c8447 Fix minor bug in previous checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6986 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 22:36:31 +00:00
Chris Lattner
919ffbf977 Add support for ensuring that nodes are not incomplete
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6985 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 22:36:15 +00:00
Chris Lattner
ca29178bb9 This node should not be incomplete!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6984 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 22:35:55 +00:00
Chris Lattner
9c95e52c08 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6983 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 22:20:53 +00:00
Chris Lattner
5c5b10f46a Add support for "physical subtyping", which fixes:
DSGraph/2003-06-29-NodeCollapsing2.ll & DSGraph/PhysicalSubtyping.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6982 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 20:27:45 +00:00
Chris Lattner
889fb9de96 Add print method to not get silly warning from analyze
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6981 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 20:27:16 +00:00
Chris Lattner
a3a388be36 New, smaller testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6980 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 18:17:20 +00:00
Chris Lattner
5100dbb9e7 New pass which is useful for writing regression tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6979 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 18:17:07 +00:00
Chris Lattner
b260eb82d7 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6978 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 17:18:59 +00:00
Chris Lattner
c151e4f415 Until there is a setjmp/longjmp transformation pass, codegen setjmp as a noop
and longjmp as an abort!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6977 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 16:42:32 +00:00
Chris Lattner
dbb6cd12eb Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6976 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 01:09:07 +00:00
Chris Lattner
4fe77cdcf2 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6975 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 01:03:53 +00:00
Chris Lattner
1df3112042 Make sure that the global is known to be internal
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6974 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 00:57:34 +00:00
Chris Lattner
5c70dc0456 Expose must alias information for global variables, implementing: DSGraph/mustalias.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6973 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 00:54:08 +00:00
Chris Lattner
aed2c6d2cb If the alias analysis algorithm we are using can provide MUST alias information,
expose it directly as value numbering information


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6972 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 00:53:34 +00:00
Chris Lattner
62b5c167de Add support for gathering sets of must aliases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6971 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 00:23:11 +00:00
Chris Lattner
1842a90e0b Count operands to instructions as well as just results. This allows for global variables to be checked as well
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6970 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-29 00:07:11 +00:00
Chris Lattner
9e762d0cd1 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6969 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:52:34 +00:00
Chris Lattner
202f2eab90 Do not chain to basic-aa
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6968 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:49:06 +00:00
Chris Lattner
3f6795e5ea Remove obsolete script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6967 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:32:28 +00:00
Chris Lattner
060c1f816c Remove usage of grep-not script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6966 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:32:04 +00:00
Chris Lattner
50e8682f28 Remove explicit control flow through the use of the 'not' script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6965 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:23:34 +00:00
Chris Lattner
69686725d7 Move DSGraph tests to test/Regression/Analysis/DSGraph
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6964 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:17:42 +00:00
Chris Lattner
e9062ad036 Move files to test/Regression/Analysis/DSGraph
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6963 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:17:26 +00:00
Chris Lattner
bcafe19bc4 No use in having CFGSimplify and SimplifyCFG directories!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6962 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:14:35 +00:00
Chris Lattner
d808e45658 Eliminate explicit control flow in tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6961 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:13:12 +00:00
Chris Lattner
ecf2628cc6 Use not instead of grep-not
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6960 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:02:51 +00:00
Chris Lattner
5944ba6336 Switch tests over to use the 'not' script, instead of explicit control flow
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6959 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:02:20 +00:00
Chris Lattner
9272228189 Force the interpreter for this testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6958 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 23:02:04 +00:00
Chris Lattner
e03d077941 Get rid of control flow in the test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6957 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:53:07 +00:00
Chris Lattner
2b142bd65e New script for testrunner programs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6956 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:52:52 +00:00
Chris Lattner
c6cab24151 Convert scripts from using explicit control flow to use the new grep-not script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6955 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:44:42 +00:00
Chris Lattner
35f7ba9120 Handle quoting right
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6954 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:43:58 +00:00
Chris Lattner
45983ee126 Make the TestRunner tests not print out horrible things when they run
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6953 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:35:46 +00:00
Chris Lattner
ab1a525163 Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6952 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:31:37 +00:00
Chris Lattner
cf36d1c6d1 Initial checkin of grep-not script
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6951 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:28:31 +00:00
Chris Lattner
d6b73035b7 Add the test/Scripts directory to the path used by TestRunner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6950 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:21:39 +00:00
Chris Lattner
30eef7db88 Describe directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6949 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:20:19 +00:00
Chris Lattner
0bc99d36b6 Improve the make rule
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6948 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:16:59 +00:00
Chris Lattner
312edd330f Propagate globals graph from the local to bu to td globals graphs. This
fixes bug: DSGraph/buglobals.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6947 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:14:55 +00:00
Chris Lattner
5e459dbc52 Drop references to globals who do exist in the globals graph, but are never
read or written to.  Keep track of how many times this happens.  This should
be good for deleting things like references to type information in C++ classes


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6946 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 22:10:58 +00:00
Chris Lattner
72d50a090f Avoid double negatives
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6945 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 21:58:28 +00:00
Chris Lattner
35de11f3b1 Add new DSGraph::ScalarMapTy typedef to avoid pulling representation issues
into callers of getScalarMap


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6944 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 21:57:13 +00:00
Chris Lattner
2769e6ca92 Add new 'isComplete' method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6943 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 21:56:42 +00:00
Chris Lattner
607411bfbb New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6942 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 21:56:22 +00:00
Chris Lattner
934fe856b5 New pass to perform DSA based optimizations. Initially we just support turning
globals into constants if we can prove it's safe


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6941 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 21:54:55 +00:00
Chris Lattner
34e0ada19a New makefile for Dsgraph tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6940 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 21:16:38 +00:00
Chris Lattner
6fd866c98d Add DSGraph to the tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6939 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-28 21:16:27 +00:00