summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/TraceValues.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix #includes of i*.h => Instructions.h as per PR403.Misha Brukman2004-07-291-3/+1
| | | | llvm-svn: 15334
* bug 122:Reid Spencer2004-07-181-1/+1
| | | | | | - Replace ConstantPointerRef usage with GlobalValue usage llvm-svn: 14953
* Finegrainify namespacificationChris Lattner2004-01-091-6/+3
| | | | llvm-svn: 10727
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Eliminate using declarationsChris Lattner2003-10-271-25/+26
| | | | llvm-svn: 9543
* 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
* Change the Opcode enum for PHI nodes from "Instruction::PHINode" to ↵Chris Lattner2003-10-191-1/+1
| | | | | | "Instruction::PHI" to be more consistent with the other instructions. llvm-svn: 9269
* Regularize header file commentsChris Lattner2003-10-131-1/+1
| | | | llvm-svn: 9071
* 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
OpenPOWER on IntegriCloud