summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/TraceValues.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename Function::getEntryNode -> getEntryBlockChris Lattner2003-09-201-2/+2
| | | | llvm-svn: 8625
* Use the new interface, simplifies codeChris Lattner2003-08-311-13/+8
| | | | llvm-svn: 8239
* Trace loads and stores as they happen (stores were beingVikram S. Adve2003-07-111-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 instructionChris Lattner2003-06-051-4/+2
| | | | llvm-svn: 6620
* Remove unnecesary &*'sChris Lattner2003-04-231-3/+3
| | | | llvm-svn: 5872
* Add new linkage types to support a real frontendChris Lattner2003-04-161-1/+2
| | | | llvm-svn: 5786
* Make help message more clearChris Lattner2003-04-131-2/+4
| | | | llvm-svn: 5775
* Rename include/llvm/Transforms/Instrumentation/TraceFunctions.h to ↵Chris Lattner2003-01-141-1/+1
| | | | | | Instrumentation.h llvm-svn: 5281
* Make sure to handle %'s in strings correctly so that the names of BB's and ↵Chris Lattner2003-01-131-10/+9
| | | | | | functions are actually printed! llvm-svn: 5234
* - Rename AnalysisUsage::preservesAll to getPreservesAll & preservesCFG toChris Lattner2002-10-211-1/+1
| | | | | | setPreservesCFG to be less confusing. llvm-svn: 4255
* * Apparently string::find doesn't work right on our sun boxes. Work around ↵Chris Lattner2002-10-171-4/+9
| | | | | | this. llvm-svn: 4219
* - Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd toChris Lattner2002-10-131-1/+1
| | | | | | reflect the fact that it's a range being defined. llvm-svn: 4147
* - Change getelementptr instruction to use long indexes instead of uintChris Lattner2002-09-111-1/+1
| | | | | | indexes for sequential types. llvm-svn: 3681
* Simplify code (somtimes dramatically), by using the new "auto-insert" featureChris Lattner2002-09-101-83/+44
| | | | | | of instruction constructors. llvm-svn: 3656
* - Renamed Type::isIntegral() to Type::isInteger()Chris Lattner2002-09-031-1/+1
| | | | | | | - Added new method Type::isIntegral() that is the same as isInteger, but also accepts bool. llvm-svn: 3573
* *** empty log message ***Chris Lattner2002-08-221-2/+2
| | | | llvm-svn: 3483
* Remove extraneous #includesChris Lattner2002-08-211-1/+0
| | | | llvm-svn: 3421
* * Add support for different "PassType's"Chris Lattner2002-07-261-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 Lattner2002-07-231-65/+48
| | | | | | | * Split the two behaviors of the InsertTraceCode class into two subclasses * Register Passes llvm-svn: 3014
* Hide extra argumentChris Lattner2002-07-221-1/+1
| | | | llvm-svn: 2986
* *** empty log message ***Chris Lattner2002-07-221-7/+7
| | | | llvm-svn: 2985
* Fix iteration and InsertPos bugs introduced when Chris changed over to ilist.Vikram S. Adve2002-07-081-21/+35
| | | | llvm-svn: 2840
* MEGAPATCH checkin.Chris Lattner2002-06-251-58/+48
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779
* * Change commandline options a bit to be nicerChris Lattner2002-05-201-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 fromVikram S. Adve2002-05-191-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 overrideChris Lattner2002-04-291-0/+2
| | | | | | to make debugging output a lot nicer. llvm-svn: 2395
* Tighten up the AnalysisUsage of lots of passes, primarily to correctly ↵Chris Lattner2002-04-281-0/+4
| | | | | | indicate whether or not they invalidate the CFGA llvm-svn: 2386
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-281-1/+1
| | | | llvm-svn: 2378
* * Rename MethodPass class to FunctionPassChris Lattner2002-04-271-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/FunctionChris Lattner2002-04-141-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 toChris Lattner2002-04-091-1/+1
| | | | | | be 'Argument' instead of FunctionArgument. llvm-svn: 2216
* Add #includes to make up for #includes pruned out of header files.Chris Lattner2002-04-091-0/+1
| | | | llvm-svn: 2207
* s/MethodType/FunctionTypeChris Lattner2002-04-041-2/+2
| | | | llvm-svn: 2115
* Simplify code a bit by using Module::getOrInsertFunctionChris Lattner2002-03-291-11/+2
| | | | llvm-svn: 2032
* Change references from Method to FunctionChris Lattner2002-03-261-38/+39
| | | | | | change references from MethodARgument to FunctionArgument llvm-svn: 1991
* Just a comment.Vikram S. Adve2002-03-181-0/+3
| | | | llvm-svn: 1908
* Change over to use new style pass mechanism, now passes only expose smallChris Lattner2002-02-261-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 Lattner2002-01-311-1/+1
| | | | llvm-svn: 1611
* Implement a more powerful, simpler, pass system. This pass system can figureChris Lattner2002-01-211-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.02Chris Lattner2002-01-201-9/+6
| | | | llvm-svn: 1503
* * Refactor trace values to work as a proper pass. Before it used to addChris Lattner2001-12-141-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_iteratorChris Lattner2001-12-041-2/+2
| | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-031-2/+2
| | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-271-2/+2
| | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400
* Make strings be internalChris Lattner2001-11-261-1/+2
| | | | llvm-svn: 1384
* Support array indexingChris Lattner2001-11-261-3/+2
| | | | llvm-svn: 1345
* Print incoming arguments and return values.Vikram S. Adve2001-11-151-14/+46
| | | | llvm-svn: 1315
* Remove much cruft from the MemAccessInst instructionChris Lattner2001-11-141-1/+1
| | | | llvm-svn: 1298
* Minor method renameChris Lattner2001-11-041-1/+1
| | | | llvm-svn: 1119
* Fix broken assertion. Didn't allow for pointer caseChris Lattner2001-10-291-6/+3
| | | | llvm-svn: 1034
OpenPOWER on IntegriCloud