summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Prevent output of bytecode to std::cout unless the --force flag is given.Reid Spencer2005-01-021-1/+4
| | | | | | This prevents bytecode splats with usage like: cat file.ll | llvm-as - llvm-svn: 19239
* Move the code for printing out a warning about bytecode output to a consoleReid Spencer2005-01-011-7/+1
| | | | | | into lib/Support so it can be used with other tools. llvm-svn: 19238
* Implement a function to print a warning if bytecode output is to be sent toReid Spencer2005-01-012-11/+16
| | | | | | a terminal/console. llvm-svn: 19237
* Add functions for determining if the stdin/out/err is connected to aJeff Cohen2005-01-011-0/+13
| | | | | | console or not. llvm-svn: 19236
* Add llvm-link, Linker projects to Visual Studio.Jeff Cohen2005-01-013-0/+301
| | | | llvm-svn: 19235
* Add missing header files to projects.Jeff Cohen2005-01-012-0/+15
| | | | llvm-svn: 19234
* Add functions for determining if the stdin/out/err is connected to aReid Spencer2005-01-012-0/+39
| | | | | | console or not. llvm-svn: 19233
* Fix typo 'ompress' => 'compress'.Jeff Cohen2005-01-013-3/+3
| | | | llvm-svn: 19232
* Add llvm-ranlib project to Visual Studio.Jeff Cohen2005-01-012-0/+150
| | | | llvm-svn: 19231
* Add llvm-ar project to Visual Studio.Jeff Cohen2005-01-012-0/+150
| | | | llvm-svn: 19230
* Add -v option to bison.Jeff Cohen2005-01-011-2/+2
| | | | llvm-svn: 19229
* Add missing file SystemUtils.cpp to Support project.Jeff Cohen2005-01-011-0/+3
| | | | llvm-svn: 19228
* Add llvm-as project to Visual StudioJeff Cohen2005-01-019-25/+343
| | | | llvm-svn: 19227
* Add llvm-dis project to Visual StudioJeff Cohen2005-01-012-0/+155
| | | | llvm-svn: 19226
* Put executables into a single directoryJeff Cohen2005-01-014-12/+9
| | | | llvm-svn: 19225
* Fix bountiful sources of VC++ 'possible loss of data' warningsJeff Cohen2005-01-012-4/+4
| | | | llvm-svn: 19224
* Improve TableGen dependenciesJeff Cohen2005-01-013-28/+85
| | | | | | | Move TableGen generated files out of the src tree Add descriptions to the custom build steps llvm-svn: 19223
* Add HAVE_SBRKReid Spencer2005-01-011-0/+3
| | | | llvm-svn: 19222
* Ignore some filesReid Spencer2005-01-011-0/+2
| | | | llvm-svn: 19221
* This is a bulk commit that implements the following primary improvements:Chris Lattner2005-01-011-78/+268
| | | | | | | | | | | | | | | | | | | | | | * We can now fold cast instructions into select instructions that have at least one constant operand. * We now optimize expressions more aggressively based on bits that are known to be zero. These optimizations occur a lot in code that uses bitfields even in simple ways. * We now turn more cast-cast sequences into AND instructions. Before we would only do this if it if all types were unsigned. Now only the middle type needs to be unsigned (guaranteeing a zero extend). * We transform sign extensions into zero extensions in several cases. This corresponds to these test/Regression/Transforms/InstCombine testcases: 2004-11-22-Missed-and-fold.ll and.ll: test28-29 cast.ll: test21-24 and-or-and.ll cast-cast-to-and.ll zeroext-and-reduce.ll llvm-svn: 19220
* New testcases that we should combine.Chris Lattner2005-01-012-0/+16
| | | | llvm-svn: 19219
* New testcase for common bitfield manipulation instruction sequences.Chris Lattner2005-01-011-0/+54
| | | | llvm-svn: 19218
* Add a bunch of tests for cases that should be eliminated.Chris Lattner2005-01-011-0/+27
| | | | llvm-svn: 19217
* Add a bunch of tests for ANDs that should be eliminated.Chris Lattner2005-01-011-0/+13
| | | | llvm-svn: 19216
* This now works.Chris Lattner2005-01-011-1/+0
| | | | llvm-svn: 19215
* Fix a FIXME: Select instructions on longs were miscompiled.Chris Lattner2005-01-011-19/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While we're at it, improve codegen of select instructions. For this testcase: int %test(bool %C, int %A, int %B) { %D = select bool %C, int %A, int %B ret int %D } We used to generate this code: _test: cmpwi cr0, r3, 0 bne .LBB_test_2 ; .LBB_test_1: ; b .LBB_test_3 ; .LBB_test_2: ; or r5, r4, r4 .LBB_test_3: ; or r3, r5, r5 blr Now we emit: _test: cmpwi cr0, r3, 0 bne .LBB_test_2 ; .LBB_test_1: ; or r4, r5, r5 .LBB_test_2: ; or r3, r4, r4 blr -Chris llvm-svn: 19214
* Substantially improve the code generated by non-folded setcc instructions.Chris Lattner2005-01-011-33/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, instead of compiling this: bool %test(int %A, int %B) { %C = setlt int %A, %B ret bool %C } to this: test: save %sp, -96, %sp subcc %i0, %i1, %g0 bl .LBBtest_1 ! nop ba .LBBtest_2 ! nop .LBBtest_1: ! or %g0, 1, %i0 ba .LBBtest_3 ! nop .LBBtest_2: ! or %g0, 0, %i0 ba .LBBtest_3 ! nop .LBBtest_3: ! restore %g0, %g0, %g0 retl nop We now compile it to this: test: save %sp, -96, %sp subcc %i0, %i1, %g0 or %g0, 1, %i0 bl .LBBtest_2 ! nop .LBBtest_1: ! or %g0, %g0, %i0 .LBBtest_2: ! restore %g0, %g0, %g0 retl nop llvm-svn: 19213
* Implement SimplifyCFG/DeadSetCC.llChris Lattner2005-01-011-0/+8
| | | | | | | | SimplifyCFG is one of those passes that we use for final cleanup: it should not rely on other passes to clean up its garbage. This fixes the "why are trivially dead setcc's in the output of gccas" problem. llvm-svn: 19212
* Add new test to make sure simplifycfg doesn't leave around triviallyChris Lattner2005-01-011-0/+26
| | | | | | dead instructions. llvm-svn: 19211
* Allow getZeroExtend and getSignExtend to work with boolean inputs.Chris Lattner2005-01-011-5/+13
| | | | llvm-svn: 19210
* Add a useful accessorChris Lattner2005-01-011-0/+10
| | | | llvm-svn: 19209
* Add two helper functions.Chris Lattner2005-01-011-0/+7
| | | | llvm-svn: 19208
* Update to autoconf 2.59 standards.Reid Spencer2005-01-012-112/+239
| | | | llvm-svn: 19207
* Correct the conditional test for non-portable tools so that it willReid Spencer2004-12-311-2/+1
| | | | | | correctly omit them for non-Unix operating systems. llvm-svn: 19206
* For PR351:Reid Spencer2004-12-313-30/+48
| | | | | | Make LLVM_ON_UNIX and LLVM_ON_WIN32 available in the makefiles llvm-svn: 19205
* Describe both objdir==srcdir and objdir!=srcdir methods of building LLVMReid Spencer2004-12-311-13/+18
| | | | | | libraries and tools. Thanks to Henrik Bach for this suggestion. llvm-svn: 19204
* Where do these tabs keep coming from???Jeff Cohen2004-12-311-1/+1
| | | | llvm-svn: 19203
* Mostly cleanup, but also some bug fixes, for win32/Path.cppJeff Cohen2004-12-311-38/+81
| | | | llvm-svn: 19202
* Fix a compilation error for the case where mallinfo() is not available.Reid Spencer2004-12-311-1/+1
| | | | llvm-svn: 19201
* For PR351:Reid Spencer2004-12-312-5/+6
| | | | | | * lib/System depends on sbrk(3), make sure we check for it. llvm-svn: 19200
* Get rid of those nasty tabs...Jeff Cohen2004-12-311-18/+18
| | | | llvm-svn: 19199
* Bring win32/Path.cpp up to date with respect to Unix/Path.cppJeff Cohen2004-12-311-9/+104
| | | | llvm-svn: 19198
* * Add missing libraries: Linker, Archive, SparcV8Reid Spencer2004-12-311-8/+14
| | | | | | * Make library descriptions consistently lower case. llvm-svn: 19197
* * Don't include weak definitions as a definitionReid Spencer2004-12-301-4/+4
| | | | | | | * Make subordinate libraries presented with a vertical list instead of all listed on a single line. llvm-svn: 19196
* Add a section on library dependencies now that GenLibDeps.html is written.Reid Spencer2004-12-301-0/+295
| | | | llvm-svn: 19195
* A Perl script to generate an HTML definition list containing the LLVMReid Spencer2004-12-301-0/+101
| | | | | | library dependencies, for documentation purposes. llvm-svn: 19194
* Fix the help documentation to not imply multiple archive files can beReid Spencer2004-12-301-1/+1
| | | | | | processed. llvm-svn: 19193
* For PR351:Reid Spencer2004-12-3016-799/+900
| | | | | | | | | | * Place a try/catch block around the entire tool to Make sure std::string exceptions are caught and printed before exiting the tool. * Make sure we catch unhandled exceptions at the top level so that we don't abort with a useless message but indicate than an unhandled exception was generated. llvm-svn: 19192
* Fix MINGW compilation errorsJeff Cohen2004-12-301-2/+2
| | | | llvm-svn: 19190
* * Fix a bug in an m4 macro that used an incorrect test operatorReid Spencer2004-12-293-5/+21
| | | | | | | | * Add CAN_DLOPEN_SELF so we can determine if dlopen(0) will open the program or not. * Correct a warning messages to be a little more specific on what it checks llvm-svn: 19184
OpenPOWER on IntegriCloud