aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Force the interpreter for this testcaseChris Lattner2003-06-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6958 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of control flow in the testChris Lattner2003-06-281-4/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6957 91177308-0d34-0410-b5e6-96231b3b80d8
* New script for testrunner programsChris Lattner2003-06-281-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6956 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert scripts from using explicit control flow to use the new grep-not scriptChris Lattner2003-06-2819-76/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6955 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle quoting rightChris Lattner2003-06-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6954 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the TestRunner tests not print out horrible things when they runChris Lattner2003-06-281-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6953 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix testcaseChris Lattner2003-06-281-5/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6952 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of grep-not scriptChris Lattner2003-06-281-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6951 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the test/Scripts directory to the path used by TestRunnerChris Lattner2003-06-281-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6950 91177308-0d34-0410-b5e6-96231b3b80d8
* Describe directoryChris Lattner2003-06-281-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6949 91177308-0d34-0410-b5e6-96231b3b80d8
* Improve the make ruleChris Lattner2003-06-281-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6948 91177308-0d34-0410-b5e6-96231b3b80d8
* Propagate globals graph from the local to bu to td globals graphs. ThisChris Lattner2003-06-282-4/+5
| | | | | | | fixes bug: DSGraph/buglobals.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6947 91177308-0d34-0410-b5e6-96231b3b80d8
* Drop references to globals who do exist in the globals graph, but are neverChris Lattner2003-06-281-1/+16
| | | | | | | | 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
* Avoid double negativesChris Lattner2003-06-282-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6945 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new DSGraph::ScalarMapTy typedef to avoid pulling representation issuesChris Lattner2003-06-282-14/+20
| | | | | | | into callers of getScalarMap git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6944 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new 'isComplete' methodChris Lattner2003-06-282-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6943 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-06-282-0/+34
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6942 91177308-0d34-0410-b5e6-96231b3b80d8
* New pass to perform DSA based optimizations. Initially we just support turningChris Lattner2003-06-281-0/+76
| | | | | | | 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
* New makefile for Dsgraph testsChris Lattner2003-06-281-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6940 91177308-0d34-0410-b5e6-96231b3b80d8
* Add DSGraph to the testsChris Lattner2003-06-281-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6939 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid printing out huge structures or arrays if they are just filled with zerosChris Lattner2003-06-281-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6938 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for a new zeroinitializer token which can be used to get rid ofChris Lattner2003-06-282-1/+7
| | | | | | | huge arrays of zero initialized values git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6937 91177308-0d34-0410-b5e6-96231b3b80d8
* Add test for new zeroinitializer tokenChris Lattner2003-06-281-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6936 91177308-0d34-0410-b5e6-96231b3b80d8
* jmp_buf is really a pointer type that is passed around...Chris Lattner2003-06-282-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6935 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for the Invoke instruction!Chris Lattner2003-06-282-18/+96
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6934 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for invoke supportChris Lattner2003-06-282-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6933 91177308-0d34-0410-b5e6-96231b3b80d8
* Preserve compatibility with non-gcc compilersChris Lattner2003-06-282-8/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6932 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug: CBackend/2003-06-28-LinkOnceGlobalVars.llxChris Lattner2003-06-282-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6931 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcaseChris Lattner2003-06-282-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6930 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow the inlining limit to be controlled from the command line!Chris Lattner2003-06-281-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6929 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for 'unsigned' command line argumentsChris Lattner2003-06-284-4/+56
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6928 91177308-0d34-0410-b5e6-96231b3b80d8
* Added code to the clean rule that deletes files placed in the source directory.John Criswell2003-06-272-0/+2
| | | | | | | These files interfer with a second build attempt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6927 91177308-0d34-0410-b5e6-96231b3b80d8
* Added the OPTIONAL_DIRS variable for specifying optional directories to build.John Criswell2003-06-272-0/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6926 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase that crashes the cfeChris Lattner2003-06-271-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6925 91177308-0d34-0410-b5e6-96231b3b80d8
* Nice tasty llc fixes. These should fix LLC for x86 for everything inBrian Gaeke2003-06-278-120/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SingleSource except oopack and Oscar. (Sorry, Oscar.) include/llvm/Target/TargetInstrInfo.h: Remove virtual print method. Add accessors for ImplicitUses/Defs. lib/Target/TargetInstrInfo.cpp: Remove virtual print method. If you really wanted this, just use MI->print(O, TM); instead... lib/Target/X86: FloatingPoint.cpp: ...like this. X86InstrInfo.h: Remove virtual print method. Define the PrintImplUses target-specific flag bit. X86InstrInfo.def: Add the PrintImplUses flag to all the instructions which implicitly use CL, because the assembler needs to see the CL in order to generate the right instruction. Printer.cpp: Ditch fnIndex at Chris's request. Now we use CurrentFnName to name constants in the constant pool for each function instead. This avoids keeping state between runOnMachineFunction() invocations, which is a no-no. Having MangledGlobals be global is a bogon I'd like to get rid of too, but making it a static member of Printer causes link errors (why???). Make NumberForBB into a member of Printer instead of a global, too. Make printOp and printMemReference into methods of Printer. X86InstrInfo::print is now Printer::printMachineInstruction, because TargetInstrInfo::print is history. (Because of this, we have to qualify the names of some TargetInstrInfo methods we call.) Print out the ImplicitUses field of any instruction we print that has the PrintImplUses bit set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6924 91177308-0d34-0410-b5e6-96231b3b80d8
* Here are the notes from our Reoptimizer meetings.Brian Gaeke2003-06-262-0/+247
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6923 91177308-0d34-0410-b5e6-96231b3b80d8
* Modify script to support checkins on branchesChris Lattner2003-06-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6921 91177308-0d34-0410-b5e6-96231b3b80d8
* Number constants from constant pool as CPIf_i where f is the function indexBrian Gaeke2003-06-262-20/+22
| | | | | | | and i is the constant pool index. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6920 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a testcase to ensure that ctor/dtor attributes work in CChris Lattner2003-06-261-0/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6919 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support to globaldce for deleting dead function prototypesChris Lattner2003-06-261-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6918 91177308-0d34-0410-b5e6-96231b3b80d8
* When internalizing global ctor/dtor list, also mark it constant. This is ↵Chris Lattner2003-06-261-0/+8
| | | | | | | | | gross, but until DSA is working all of the time and is totally reliable, we do this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6917 91177308-0d34-0410-b5e6-96231b3b80d8
* Run the simplify CFG pass after instcombine which has the effect of deletingChris Lattner2003-06-261-0/+4
| | | | | | | ALL of the global ctor/dtor stuff if it is not used! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6916 91177308-0d34-0410-b5e6-96231b3b80d8
* New variable which is just the GCCLD toolChris Lattner2003-06-261-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6914 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement more aggressive folding of constant GEP instructionsChris Lattner2003-06-261-6/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6913 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for elimination of load instruction from global constantsChris Lattner2003-06-261-0/+48
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6912 91177308-0d34-0410-b5e6-96231b3b80d8
* add tests for elimination of loadsChris Lattner2003-06-261-0/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6911 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the instcombine pass before globaldce, so that if globals are made dead ↵Chris Lattner2003-06-261-4/+4
| | | | | | by instcombine, that they can be deleted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6910 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't register the destructors if the list is emptyChris Lattner2003-06-261-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6909 91177308-0d34-0410-b5e6-96231b3b80d8
* Integrate the C writer's name mangler.Brian Gaeke2003-06-252-30/+164
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6908 91177308-0d34-0410-b5e6-96231b3b80d8
* First draft of X86 LLC backend. This should be OK for small programs likeBrian Gaeke2003-06-252-60/+708
| | | | | | | Shootout, but it has some issues with bigger programs. Work in progress. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6907 91177308-0d34-0410-b5e6-96231b3b80d8