summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/LowerSetJmp.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes inReid Spencer2007-02-051-1/+2
| | | | | | | the Transforms library. This reduces debug library size by 132 KB, debug binary size by 376 KB, and reduces link time for llvm tools slightly. llvm-svn: 33939
* For PR411:Reid Spencer2007-02-051-2/+2
| | | | | | | | Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) llvm-svn: 33922
* Rename BoolTy as Int1Ty. Patch by Sheng Zhou.Reid Spencer2007-01-111-1/+1
| | | | llvm-svn: 33076
* relax typesChris Lattner2007-01-071-7/+7
| | | | llvm-svn: 32981
* For PR950:Reid Spencer2006-12-311-12/+12
| | | | | | | | | | | | | This patch replaces signed integer types with signless ones: 1. [US]Byte -> Int8 2. [U]Short -> Int16 3. [U]Int -> Int32 4. [U]Long -> Int64. 5. Removal of isSigned, isUnsigned, getSignedVersion, getUnsignedVersion and other methods related to signedness. In a few places this warranted identifying the signedness information from other sources. llvm-svn: 32785
* Eliminate static ctors due to Statistic objectsChris Lattner2006-12-191-9/+6
| | | | llvm-svn: 32693
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-061-4/+4
| | | | | | is 'unsigned'. llvm-svn: 32279
* For PR950:Reid Spencer2006-11-271-2/+4
| | | | | | | | | | The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931
* For PR786:Reid Spencer2006-11-021-1/+0
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* For PR950:Reid Spencer2006-10-201-2/+2
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* eliminate RegisterOpt. It does the same thing as RegisterPass.Chris Lattner2006-08-271-1/+1
| | | | llvm-svn: 29925
* When a function takes a variable number of pointer arguments, with a zeroJeff Cohen2005-10-231-7/+8
| | | | | | | | | | | | | pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will not extend the zero to 64 bits, thus allowing the upper 32 bits to be random junk. The new END_WITH_NULL macro may be used to annotate a such a function so that GCC (version 4 or newer) will detect the use of un-casted zero at compile time. llvm-svn: 23888
* Fix PR575, patch provided by John Mellor-Crummey. Thanks!Chris Lattner2005-06-151-0/+1
| | | | llvm-svn: 22223
* Fix a problem on 64-bit targets where we passed (int)0 through ... instead ofChris Lattner2005-06-091-7/+7
| | | | | | (void*)0. llvm-svn: 22205
* Fix a bug compimling Ruby, fixing this testcase:Chris Lattner2005-05-051-3/+11
| | | | | | LowerSetJmp/2005-05-05-OldUses.ll llvm-svn: 21696
* Remove trailing whitespaceMisha Brukman2005-04-211-5/+5
| | | | llvm-svn: 21427
* Fix a bug where we would not promote calls to invokes if they occured inChris Lattner2005-04-211-3/+5
| | | | | | the same block as the setjmp. Thanks to Greg Pettyjohn for noticing this! llvm-svn: 21403
* Switchinst takes a hint for the number of cases it will have.Chris Lattner2005-01-291-1/+1
| | | | llvm-svn: 19899
* Comment cleanupsChris Lattner2004-10-071-4/+1
| | | | llvm-svn: 16803
* 'Pass' should now not be derived from by clients. Instead, they should deriveChris Lattner2004-09-201-10/+6
| | | | | | | from ModulePass. Instead of implementing Pass::run, then should implement ModulePass::runOnModule. llvm-svn: 16436
* Changes For Bug 352Reid Spencer2004-09-011-4/+4
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* DemoteRegToStack got moved from DemoteRegToStack.h to Local.hChris Lattner2004-03-141-1/+1
| | | | llvm-svn: 12368
* rename the "exceptional" destination of an invoke instruction to the ↵Chris Lattner2004-02-081-2/+2
| | | | | | 'unwind' dest llvm-svn: 11202
* splitBasicBlock "does the right thing" now, no reason to reposition it.Chris Lattner2004-02-081-3/+0
| | | | llvm-svn: 11199
* Remove unneeded code now that splitBasicBlock does the "right thing"Chris Lattner2004-02-041-5/+0
| | | | llvm-svn: 11111
* Finegrainify namespacificationChris Lattner2003-11-211-4/+3
| | | | llvm-svn: 10138
* Start using the nicer terminator auto-insertion APIChris Lattner2003-11-201-7/+4
| | | | llvm-svn: 10111
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Fix bug: PR93Chris Lattner2003-11-061-0/+29
| | | | llvm-svn: 9752
* Check in statistifying patch for BillChris Lattner2003-10-281-0/+6
| | | | llvm-svn: 9572
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Whoops, we inserted into the wrong set. What's up with the dead set anyway?Chris Lattner2003-10-131-4/+2
| | | | llvm-svn: 9094
* Use external df iterators to avoid revisiting blocks in functions withChris Lattner2003-10-131-1/+3
| | | | | | multiple setjmp calls. llvm-svn: 9093
* Minor cleanupsChris Lattner2003-10-131-5/+3
| | | | llvm-svn: 9067
* Checkin an improvement contributed by Bill:Chris Lattner2003-10-131-6/+30
| | | | | | | | | | | Only transform call sites in a setjmp'ing function which are reachable from the setjmp. If the call dominates the setjmp (for example), the called function cannot longjmp to the setjmp. This dramatically reduces the number of invoke instructions created in some large testcases. llvm-svn: 9066
* Credits are now in top-level CREDITS.TXTMisha Brukman2003-09-221-2/+0
| | | | llvm-svn: 8661
* Rename Function::getEntryNode -> getEntryBlockChris Lattner2003-09-201-1/+1
| | | | llvm-svn: 8625
* Minor cleanups, give credit, remove code that should not be necessary, andChris Lattner2003-09-151-28/+5
| | | | | | was a "major hack" :) llvm-svn: 8524
* Initial checkin of the Setjmp/Longjmp lowering/transformation pass,Chris Lattner2003-09-151-0/+501
contributed by the masterful Bill Wendling! llvm-svn: 8520
OpenPOWER on IntegriCloud