Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some advice | Chris Lattner | 2006-07-27 | 1 | -206/+0 |
| | | | | llvm-svn: 29324 | ||||
* | Use hidden visibility to make symbols in an anonymous namespace get | Chris Lattner | 2006-06-28 | 1 | -1/+2 |
| | | | | | | dropped. This shrinks libllvmgcc.dylib another 67K llvm-svn: 28975 | ||||
* | Declare that lowerinvoke doesn't interact with other lowering passes. | Chris Lattner | 2006-05-17 | 1 | -1/+2 |
| | | | | | | Patch written by Domagoj Babic! llvm-svn: 28367 | ||||
* | Patch to make some xforms preserve each other. Patch contributed by | Chris Lattner | 2006-05-09 | 1 | -0/+7 |
| | | | | | | Domagoj Babic! llvm-svn: 28181 | ||||
* | Add pass ID's for various passes, so they can be AddRequiredID. Patch by | Chris Lattner | 2006-05-02 | 1 | -0/+2 |
| | | | | | | Domagoj Babic! llvm-svn: 28048 | ||||
* | When a function takes a variable number of pointer arguments, with a zero | Jeff Cohen | 2005-10-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | 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 | ||||
* | Preserve tail marker | Chris Lattner | 2005-05-06 | 1 | -1/+2 |
| | | | | llvm-svn: 21737 | ||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -10/+10 |
| | | | | llvm-svn: 21427 | ||||
* | Add an optional argument to lower to a specific constant value instead of | Chris Lattner | 2005-03-03 | 1 | -6/+14 |
| | | | | | | to a "sizeof" expression. llvm-svn: 20414 | ||||
* | Get rid of getSizeOf, using ConstantExpr::getSizeOf instead. | Chris Lattner | 2004-12-13 | 1 | -20/+33 |
| | | | | | | | | | | | do not insert a prototype for malloc of: void* malloc(uint): on 64-bit u targets this is not correct. Instead of prototype it as void *malloc(...), and pass the correct intptr_t through the "...". Finally, fix Regression/CodeGen/SparcV9/2004-12-13-MallocCrash.ll, by not forming constantexpr casts from pointer to uint. llvm-svn: 18908 | ||||
* | For PR387:\ | Reid Spencer | 2004-12-07 | 1 | -0/+3 |
| | | | | | | Add doInitialization method to avoid overloaded virtuals llvm-svn: 18602 | ||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -1/+1 |
| | | | | | | | | 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 | ||||
* | Fix #includes of i*.h => Instructions.h as per PR403. | Misha Brukman | 2004-07-29 | 1 | -2/+1 |
| | | | | llvm-svn: 15334 | ||||
* | Now that we codegen the portable "sizeof" efficiently, we can use it for | Chris Lattner | 2004-07-15 | 1 | -18/+22 |
| | | | | | | | malloc lowering. This means that lowerallocations doesn't need targetdata anymore. yaay. llvm-svn: 14835 | ||||
* | Don't emit things like malloc(16*1). Allocation instructions are fixed ↵ | Chris Lattner | 2004-03-03 | 1 | -1/+1 |
| | | | | | | arity now. llvm-svn: 12086 | ||||
* | if there is already a prototype for malloc/free, use it, even if it's incorrect. | Chris Lattner | 2004-02-28 | 1 | -10/+42 |
| | | | | | | Do not just inject a new prototype. llvm-svn: 11951 | ||||
* | Hyphenate `target-dependent' | Misha Brukman | 2004-01-28 | 1 | -1/+1 |
| | | | | llvm-svn: 11003 | ||||
* | Finegrainify namespacification | Chris Lattner | 2004-01-09 | 1 | -4/+2 |
| | | | | llvm-svn: 10725 | ||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+4 |
| | | | | llvm-svn: 9903 | ||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | ||||
* | Use new interface, simplifies code | Chris Lattner | 2003-08-31 | 1 | -11/+3 |
| | | | | llvm-svn: 8242 | ||||
* | The word `dependent' has no `a'. | Misha Brukman | 2003-08-21 | 1 | -1/+1 |
| | | | | llvm-svn: 8030 | ||||
* | Spell `necessary' correctly. | Misha Brukman | 2003-08-18 | 1 | -1/+1 |
| | | | | llvm-svn: 7944 | ||||
* | Factory methods for function passes now return type FunctionPass *. | Brian Gaeke | 2003-08-14 | 1 | -1/+1 |
| | | | | llvm-svn: 7839 | ||||
* | Fix long standing bug | Chris Lattner | 2003-05-15 | 1 | -1/+1 |
| | | | | llvm-svn: 6232 | ||||
* | Remove unnecesary &*'s | Chris Lattner | 2003-04-23 | 1 | -2/+2 |
| | | | | llvm-svn: 5872 | ||||
* | Minor cleanups | Chris Lattner | 2003-04-23 | 1 | -6/+6 |
| | | | | llvm-svn: 5863 | ||||
* | Updates to work with recent Statistic's changes: | Chris Lattner | 2002-10-01 | 1 | -2/+2 |
| | | | | | | | | | | | | * Renamed StatisticReporter.h/cpp to Statistic.h/cpp * Broke constructor to take two const char * arguments instead of one, so that indendation can be taken care of automatically. * Sort the list by pass name when printing * Make sure to print all statistics as a group, instead of randomly when the statistics dtors are called. * Updated ProgrammersManual with new semantics. llvm-svn: 4002 | ||||
* | Change LowerAllocations pass to 'require' TargetData instead of it being | Chris Lattner | 2002-09-25 | 1 | -28/+28 |
| | | | | | | passed in. llvm-svn: 3929 | ||||
* | Clean up code due to auto-insert constructors | Chris Lattner | 2002-09-10 | 1 | -17/+8 |
| | | | | llvm-svn: 3665 | ||||
* | Remove extraneous #includes | Chris Lattner | 2002-08-08 | 1 | -2/+0 |
| | | | | llvm-svn: 3262 | ||||
* | * Add support for different "PassType's" | Chris Lattner | 2002-07-26 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Add support for different "PassType's" * Add new RegisterOpt/RegisterAnalysis templates for registering passes that are to show up in opt or analyze * Register Analyses now * Change optimizations to use RegisterOpt instead of RegisterPass * Remove getPassName implementations from various subclasses llvm-svn: 3113 | ||||
* | Merge ChangeAllocations into scalar.h | Chris Lattner | 2002-07-23 | 1 | -1/+1 |
| | | | | llvm-svn: 3038 | ||||
* | * Remove getPassName implementation | Chris Lattner | 2002-07-23 | 1 | -4/+5 |
| | | | | | | * Register all Passes llvm-svn: 3015 | ||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 1 | -22/+22 |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779 | ||||
* | Add support for printing out statistics information when -stats is added to | Chris Lattner | 2002-05-10 | 1 | -1/+6 |
| | | | | | | the command line llvm-svn: 2601 | ||||
* | Split ChangeAllocations.cpp into Raise & LowerAllocations.cpp | Chris Lattner | 2002-05-07 | 1 | -93/+10 |
| | | | | llvm-svn: 2529 | ||||
* | Reduce dependance on TransformInternals.h, instead using the TransformUtils ↵ | Chris Lattner | 2002-05-07 | 1 | -2/+4 |
| | | | | | | library llvm-svn: 2518 | ||||
* | Eliminate duplicate or unneccesary #include's | Chris Lattner | 2002-04-29 | 1 | -2/+0 |
| | | | | llvm-svn: 2397 | ||||
* | Add new optional getPassName() virtual function that a Pass can override | Chris Lattner | 2002-04-29 | 1 | -2/+4 |
| | | | | | | to make debugging output a lot nicer. llvm-svn: 2395 | ||||
* | Split ConstantVals.h into Constant.h and Constants.h | Chris Lattner | 2002-04-28 | 1 | -1/+1 |
| | | | | llvm-svn: 2378 | ||||
* | Add explicit #includes of Function.h to make up for the removed #include | Chris Lattner | 2002-04-09 | 1 | -0/+1 |
| | | | | | | in iOther.h llvm-svn: 2209 | ||||
* | Simplify code a lot by using the Module::getFunction & getOrInsertFunction | Chris Lattner | 2002-03-29 | 1 | -46/+24 |
| | | | | llvm-svn: 2028 | ||||
* | Change references from Method to Function | Chris Lattner | 2002-03-26 | 1 | -22/+23 |
| | | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991 | ||||
* | Change over to use new style pass mechanism, now passes only expose small | Chris Lattner | 2002-02-26 | 1 | -0/+57 |
| | | | | | | creation functions in their public header file, unless they can help it. llvm-svn: 1816 | ||||
* | Convert xforms over to new pass structure. | Chris Lattner | 2002-01-31 | 1 | -0/+1 |
| | | | | llvm-svn: 1605 | ||||
* | Don't insert a useless cast | Chris Lattner | 2002-01-22 | 1 | -2/+1 |
| | | | | llvm-svn: 1527 | ||||
* | Rename LowerAllocations.h to ChangeAllocations.h since it now contains the | Chris Lattner | 2002-01-22 | 1 | -1/+1 |
| | | | | | | RaiseAllocations pass as well. llvm-svn: 1525 | ||||
* | Pull RaiseAllocations stuff out of the CleanGCC pass into it's own pass in | Chris Lattner | 2002-01-22 | 1 | -5/+66 |
| | | | | | | the ChangeAllocations.h header file. llvm-svn: 1522 | ||||
* | LowerAllocations is really a BasicBlock pass. Make it so. | Chris Lattner | 2002-01-21 | 1 | -57/+54 |
| | | | | llvm-svn: 1521 |