summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation
Commit message (Collapse)AuthorAgeFilesLines
...
* revert r81335, which breaks the build.Chris Lattner2009-09-091-9/+8
| | | | llvm-svn: 81347
* Updated ProfileInfo to have clean seperation between different sentinels.Andreas Neustifter2009-09-091-8/+9
| | | | llvm-svn: 81335
* Converted MaximumSpanningTree algorithm to a generic template, this could goAndreas Neustifter2009-09-044-138/+64
| | | | | | into llvm/ADT. llvm-svn: 81001
* Code Cleanup.Andreas Neustifter2009-09-033-18/+14
| | | | | | | Removed inverted flag form MaximumSpanningTree, also do not handle so much information to MaximumSpanningTree. llvm-svn: 80911
* Sort edges in MaximumSpanningTree more stable in case of equal weight.Andreas Neustifter2009-09-021-2/+6
| | | | | | (See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090824/085890.html) llvm-svn: 80789
* Changed set of BlocksToInstrument to set of InsertedBlocks that do not have toAndreas Neustifter2009-09-021-9/+9
| | | | | | be instrumented. llvm-svn: 80788
* Code cleanups and added comments.Andreas Neustifter2009-09-021-17/+45
| | | | llvm-svn: 80781
* OptimalEdgeProfiling: Creation of profiles.Andreas Neustifter2009-09-012-0/+187
| | | | | | This adds the instrumentation and runtime part of OptimalEdgeProfiling. llvm-svn: 80712
* Update CMake files.Ted Kremenek2009-09-011-0/+1
| | | | llvm-svn: 80680
* Preparation for Optimal Edge Profiling:Andreas Neustifter2009-09-011-1/+9
| | | | | | | Add statistics for regular edge profiling, this enables the comparation of the number of edges inserted by regular and optimal edge profiling. llvm-svn: 80668
* Inline empty destructor.Benjamin Kramer2009-08-292-4/+1
| | | | llvm-svn: 80431
* Fix warning about non-virtual destructor.Bill Wendling2009-08-292-0/+4
| | | | llvm-svn: 80429
* Preparation for Optimal Edge Profiling:Andreas Neustifter2009-08-282-0/+171
| | | | | | | | This implements the maximum spanning tree algorithm on CFGs according to weights given by the ProfileEstimator. This is then used to implement Optimal Edge Profiling. llvm-svn: 80358
* Kill off more cerr/cout uses and prune includes a bit.Benjamin Kramer2009-08-232-13/+8
| | | | llvm-svn: 79852
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-134-31/+47
| | | | llvm-svn: 78948
* More ProfileInfo improvements.Daniel Dunbar2009-08-082-4/+15
| | | | | | | | | | | | - Part of optimal static profiling patch sequence by Andreas Neustifter. - Store edge, block, and function information separately for each functions (instead of in one giant map). - Return frequencies as double instead of int, and use a sentinel value for missing information. llvm-svn: 78477
* Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵Owen Anderson2009-07-314-11/+8
| | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721
* Move more code back to 2.5 APIs.Owen Anderson2009-07-301-1/+1
| | | | llvm-svn: 77635
* Move types back to the 2.5 API.Owen Anderson2009-07-293-5/+5
| | | | llvm-svn: 77516
* Move ConstantExpr to 2.5 API.Owen Anderson2009-07-292-4/+3
| | | | llvm-svn: 77494
* More migration to raw_ostream, the water has dried up around the iostream hole.Daniel Dunbar2009-07-251-1/+2
| | | | | | | | | | - Some clients which used DOUT have moved to DEBUG. We are deprecating the "magic" DOUT behavior which avoided calling printing functions when the statement was disabled. In addition to being unnecessary magic, it had the downside of leaving code in -Asserts builds, and of hiding potentially unnecessary computations. llvm-svn: 77019
* Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵Owen Anderson2009-07-242-19/+15
| | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011
* Get rid of the Pass+Context magic.Owen Anderson2009-07-224-36/+37
| | | | llvm-svn: 76702
* Revert yesterday's change by removing the LLVMContext parameter to ↵Owen Anderson2009-07-151-1/+1
| | | | | | AllocaInst and MallocInst. llvm-svn: 75863
* Move EVER MORE stuff over to LLVMContext.Owen Anderson2009-07-141-1/+1
| | | | llvm-svn: 75703
* llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin2009-07-141-1/+1
| | | | | | | | | This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
* assert(0) -> LLVM_UNREACHABLE.Torok Edwin2009-07-111-1/+2
| | | | | | | | | Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379
* This started as a small change, I swear. Unfortunately, lots of things call ↵Owen Anderson2009-07-091-7/+7
| | | | | | the [I|F]CmpInst constructors. Who knew!? llvm-svn: 75200
* Switch GlobalVariable ctors to a sane API, where *either* a context or a ↵Owen Anderson2009-07-083-12/+10
| | | | | | module is required. llvm-svn: 75025
* Push LLVMContext through GlobalVariables and IRBuilder.Owen Anderson2009-07-083-5/+7
| | | | llvm-svn: 74985
* "LLVMContext* " --> "LLVMContext *"Owen Anderson2009-07-062-5/+5
| | | | llvm-svn: 74878
* Thread LLVMContext through the constant folding APIs, which touches a lot of ↵Owen Anderson2009-07-064-32/+45
| | | | | | files. llvm-svn: 74844
* Support vector casts in more places, fixing a variety of assertionDan Gohman2009-06-151-6/+6
| | | | | | | | | | | | | | | failures. To support this, add some utility functions to Type to help support vector/scalar-independent code. Change ConstantInt::get and ConstantFP::get to support vector types, and add an overload to ConstantInt::get that uses a static IntegerType type, for convenience. Introduce a new getConstant method for ScalarEvolution, to simplify common use cases. llvm-svn: 73431
* Removed trailing whitespace from Makefiles.Misha Brukman2009-01-091-3/+3
| | | | llvm-svn: 61991
* Use Function::getEntryBlock() instead of Function::front(), for clarity.Dan Gohman2008-10-211-1/+1
| | | | llvm-svn: 57870
* Initial support for the CMake build system.Oscar Fuentes2008-09-221-0/+6
| | | | llvm-svn: 56419
* Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman2008-09-042-2/+2
| | | | llvm-svn: 55779
* Trim #includes.Dan Gohman2008-08-051-1/+0
| | | | llvm-svn: 54350
* Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places toDan Gohman2008-05-232-9/+6
| | | | | | use it instead of duplicating its functionality. llvm-svn: 51499
* API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. ↵Gabor Greif2008-05-162-8/+8
| | | | | | Legacy interfaces will be in place for some time. (Merge from use-diet branch.) llvm-svn: 51200
* Fix a bunch of 80col violations that arose from the Create API change. Tweak ↵Gabor Greif2008-05-151-2/+2
| | | | | | makefile targets to find these better. llvm-svn: 51143
* Clean up the use of static and anonymous namespaces. This turned upDan Gohman2008-05-133-30/+35
| | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017
* Make several variable declarations static.Dan Gohman2008-05-061-1/+1
| | | | llvm-svn: 50696
* Use Intrinsic::getDeclaration in more places.Duncan Sands2008-04-071-1/+2
| | | | llvm-svn: 49338
* API changes for class Use size reduction, wave 1.Gabor Greif2008-04-062-20/+21
| | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277
* fix typosGabor Greif2008-03-062-2/+2
| | | | llvm-svn: 47994
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-296-12/+12
| | | | llvm-svn: 45418
* remove attribution from lib Makefiles.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45415
* Change the PointerType api for creating pointer types. The old functionality ↵Christopher Lamb2007-12-171-2/+3
| | | | | | of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space. llvm-svn: 45082
* Fix for edge profiling, patch by 'Marc' for PR1857Chris Lattner2007-12-131-1/+1
| | | | llvm-svn: 44965
OpenPOWER on IntegriCloud