Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename Function::getEntryNode -> getEntryBlock | Chris Lattner | 2003-09-20 | 1 | -2/+2 |
| | | | | llvm-svn: 8625 | ||||
* | Use the new interface, simplifies code | Chris Lattner | 2003-08-31 | 1 | -13/+8 |
| | | | | llvm-svn: 8239 | ||||
* | Trace loads and stores as they happen (stores were being | Vikram S. Adve | 2003-07-11 | 1 | -10/+17 |
| | | | | | | | | | | | remembered in valuesStoredInFunction, but never traced at function return, and that's too late to be finding the error anyway). Stores trace both the value and the address being stored to, but after some experience I think only values should be traced. The pointer hash table just fills up far too quickly if every store address were traced. llvm-svn: 7169 | ||||
* | Use a constant expr GEP instead of an actual instruction | Chris Lattner | 2003-06-05 | 1 | -4/+2 |
| | | | | llvm-svn: 6620 | ||||
* | Remove unnecesary &*'s | Chris Lattner | 2003-04-23 | 1 | -3/+3 |
| | | | | llvm-svn: 5872 | ||||
* | Add new linkage types to support a real frontend | Chris Lattner | 2003-04-16 | 1 | -1/+2 |
| | | | | llvm-svn: 5786 | ||||
* | Make help message more clear | Chris Lattner | 2003-04-13 | 1 | -2/+4 |
| | | | | llvm-svn: 5775 | ||||
* | Rename include/llvm/Transforms/Instrumentation/TraceFunctions.h to ↵ | Chris Lattner | 2003-01-14 | 1 | -1/+1 |
| | | | | | | Instrumentation.h llvm-svn: 5281 | ||||
* | Make sure to handle %'s in strings correctly so that the names of BB's and ↵ | Chris Lattner | 2003-01-13 | 1 | -10/+9 |
| | | | | | | functions are actually printed! llvm-svn: 5234 | ||||
* | - Rename AnalysisUsage::preservesAll to getPreservesAll & preservesCFG to | Chris Lattner | 2002-10-21 | 1 | -1/+1 |
| | | | | | | setPreservesCFG to be less confusing. llvm-svn: 4255 | ||||
* | * Apparently string::find doesn't work right on our sun boxes. Work around ↵ | Chris Lattner | 2002-10-17 | 1 | -4/+9 |
| | | | | | | this. llvm-svn: 4219 | ||||
* | - Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd to | Chris Lattner | 2002-10-13 | 1 | -1/+1 |
| | | | | | | reflect the fact that it's a range being defined. llvm-svn: 4147 | ||||
* | - Change getelementptr instruction to use long indexes instead of uint | Chris Lattner | 2002-09-11 | 1 | -1/+1 |
| | | | | | | indexes for sequential types. llvm-svn: 3681 | ||||
* | Simplify code (somtimes dramatically), by using the new "auto-insert" feature | Chris Lattner | 2002-09-10 | 1 | -83/+44 |
| | | | | | | of instruction constructors. llvm-svn: 3656 | ||||
* | - Renamed Type::isIntegral() to Type::isInteger() | Chris Lattner | 2002-09-03 | 1 | -1/+1 |
| | | | | | | | - Added new method Type::isIntegral() that is the same as isInteger, but also accepts bool. llvm-svn: 3573 | ||||
* | *** empty log message *** | Chris Lattner | 2002-08-22 | 1 | -2/+2 |
| | | | | llvm-svn: 3483 | ||||
* | Remove extraneous #includes | Chris Lattner | 2002-08-21 | 1 | -1/+0 |
| | | | | llvm-svn: 3421 | ||||
* | * Add support for different "PassType's" | Chris Lattner | 2002-07-26 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | * 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 | ||||
* | * Cleanup the pass a bit more, making it more object oriented. | Chris Lattner | 2002-07-23 | 1 | -65/+48 |
| | | | | | | | * Split the two behaviors of the InsertTraceCode class into two subclasses * Register Passes llvm-svn: 3014 | ||||
* | Hide extra argument | Chris Lattner | 2002-07-22 | 1 | -1/+1 |
| | | | | llvm-svn: 2986 | ||||
* | *** empty log message *** | Chris Lattner | 2002-07-22 | 1 | -7/+7 |
| | | | | llvm-svn: 2985 | ||||
* | Fix iteration and InsertPos bugs introduced when Chris changed over to ilist. | Vikram S. Adve | 2002-07-08 | 1 | -21/+35 |
| | | | | llvm-svn: 2840 | ||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 1 | -58/+48 |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779 | ||||
* | * Change commandline options a bit to be nicer | Chris Lattner | 2002-05-20 | 1 | -42/+47 |
| | | | | | | | * Insert accurate prototypes for functions * Insert casts to use accurate prototypes llvm-svn: 2677 | ||||
* | Hash pointer values to a sequence number to get identical results from | Vikram S. Adve | 2002-05-19 | 1 | -39/+197 |
| | | | | | | | | | lli and llc. This is controlled with options -tracehash on|off. Also, added an option to specify which functions should be traced. Particularly useful to reduce output volume in basic-block tracing. llvm-svn: 2646 | ||||
* | Add new optional getPassName() virtual function that a Pass can override | Chris Lattner | 2002-04-29 | 1 | -0/+2 |
| | | | | | | to make debugging output a lot nicer. llvm-svn: 2395 | ||||
* | Tighten up the AnalysisUsage of lots of passes, primarily to correctly ↵ | Chris Lattner | 2002-04-28 | 1 | -0/+4 |
| | | | | | | indicate whether or not they invalidate the CFGA llvm-svn: 2386 | ||||
* | Split ConstantVals.h into Constant.h and Constants.h | Chris Lattner | 2002-04-28 | 1 | -1/+1 |
| | | | | llvm-svn: 2378 | ||||
* | * Rename MethodPass class to FunctionPass | Chris Lattner | 2002-04-27 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | - Rename runOnMethod to runOnFunction * Transform getAnalysisUsageInfo into getAnalysisUsage - Method is now const - It now takes one AnalysisUsage object to fill in instead of 3 vectors to fill in - Pass's now specify which other passes they _preserve_ not which ones they modify (be conservative!) - A pass can specify that it preserves all analyses (because it never modifies the underlying program) * s/Method/Function/g in other random places as well llvm-svn: 2333 | ||||
* | * s/Method/Function | Chris Lattner | 2002-04-14 | 1 | -27/+18 |
| | | | | | | * Fix bug where the character after a % was being discarded llvm-svn: 2248 | ||||
* | Move FunctionArgument out of iOther.h into Argument.h and rename class to | Chris Lattner | 2002-04-09 | 1 | -1/+1 |
| | | | | | | be 'Argument' instead of FunctionArgument. llvm-svn: 2216 | ||||
* | Add #includes to make up for #includes pruned out of header files. | Chris Lattner | 2002-04-09 | 1 | -0/+1 |
| | | | | llvm-svn: 2207 | ||||
* | s/MethodType/FunctionType | Chris Lattner | 2002-04-04 | 1 | -2/+2 |
| | | | | llvm-svn: 2115 | ||||
* | Simplify code a bit by using Module::getOrInsertFunction | Chris Lattner | 2002-03-29 | 1 | -11/+2 |
| | | | | llvm-svn: 2032 | ||||
* | Change references from Method to Function | Chris Lattner | 2002-03-26 | 1 | -38/+39 |
| | | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991 | ||||
* | Just a comment. | Vikram S. Adve | 2002-03-18 | 1 | -0/+3 |
| | | | | llvm-svn: 1908 | ||||
* | Change over to use new style pass mechanism, now passes only expose small | Chris Lattner | 2002-02-26 | 1 | -0/+43 |
| | | | | | | creation functions in their public header file, unless they can help it. llvm-svn: 1816 | ||||
* | MethodPass's are now guaranteed to not be run on external methods! | Chris Lattner | 2002-01-31 | 1 | -1/+1 |
| | | | | llvm-svn: 1611 | ||||
* | Implement a more powerful, simpler, pass system. This pass system can figure | Chris Lattner | 2002-01-21 | 1 | -1/+1 |
| | | | | | | | | | out how to run a collection of passes optimially given their behaviors and charactaristics. Convert code to use it. llvm-svn: 1507 | ||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -9/+6 |
| | | | | llvm-svn: 1503 | ||||
* | * Refactor trace values to work as a proper pass. Before it used to add | Chris Lattner | 2001-12-14 | 1 | -420/+177 |
| | | | | | | | | | | methods while the pass was running which was a no no. Now it adds the printf method at pass initialization * Revamp code to use printf calls instead of the old style print_<type> calls. * Simplify code llvm-svn: 1457 | ||||
* | Renamed inst_const_iterator -> const_inst_iterator | Chris Lattner | 2001-12-04 | 1 | -2/+2 |
| | | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408 | ||||
* | Rename ConstPoolVal -> Constant | Chris Lattner | 2001-12-03 | 1 | -2/+2 |
| | | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407 | ||||
* | Create a new #include "Support/..." directory structure to move things | Chris Lattner | 2001-11-27 | 1 | -2/+2 |
| | | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400 | ||||
* | Make strings be internal | Chris Lattner | 2001-11-26 | 1 | -1/+2 |
| | | | | llvm-svn: 1384 | ||||
* | Support array indexing | Chris Lattner | 2001-11-26 | 1 | -3/+2 |
| | | | | llvm-svn: 1345 | ||||
* | Print incoming arguments and return values. | Vikram S. Adve | 2001-11-15 | 1 | -14/+46 |
| | | | | llvm-svn: 1315 | ||||
* | Remove much cruft from the MemAccessInst instruction | Chris Lattner | 2001-11-14 | 1 | -1/+1 |
| | | | | llvm-svn: 1298 | ||||
* | Minor method rename | Chris Lattner | 2001-11-04 | 1 | -1/+1 |
| | | | | llvm-svn: 1119 | ||||
* | Fix broken assertion. Didn't allow for pointer case | Chris Lattner | 2001-10-29 | 1 | -6/+3 |
| | | | | llvm-svn: 1034 |