summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/TraceValues.cpp
Commit message (Collapse)AuthorAgeFilesLines
* - 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
* Make newlines be newlines! This should now work in both lli and native code.Vikram S. Adve2001-10-281-7/+5
| | | | llvm-svn: 1016
* Use separate functions for printing values of each type.Vikram S. Adve2001-10-281-20/+87
| | | | | | | Put trace code before condition-generating instruction in basic blocks that end in a conditional branch. llvm-svn: 1002
* Refix bugs, stop using deprecated strstream headerChris Lattner2001-10-181-82/+31
| | | | llvm-svn: 898
* Only print values live at BB or method exit, and insert loads at eachVikram S. Adve2001-10-181-41/+126
| | | | | | | | BB exit to read and print values stored in that BB. Note that only these stored values are live at method exit!. Also, print messages at method entry and exit. llvm-svn: 892
* Handle multiple exit blocks correctly.Vikram S. Adve2001-10-181-37/+221
| | | | | | | | Restore string variable cache. Resurrect code to use formatted printing instead of PrintVal but leave it turned off for now. llvm-svn: 888
* Convert to be compatible with lli.Chris Lattner2001-10-181-70/+48
| | | | | | Need to eliminate duplicate \n entries llvm-svn: 883
* Massive hacks to try to fix subtle logic bugs. I think it's all working now,Chris Lattner2001-10-181-275/+130
| | | | | | | at least what used to. I should disable method exit code completely because it's broken (doesn't insert just post dominating values) llvm-svn: 881
* Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get ↵Chris Lattner2001-10-151-5/+5
| | | | | | tired typing that much llvm-svn: 822
* * getExitNode() doesn't exist in method anymoreChris Lattner2001-10-151-6/+7
| | | | | | * Make local functions static llvm-svn: 820
OpenPOWER on IntegriCloud