Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | revert r81335, which breaks the build. | Chris Lattner | 2009-09-09 | 1 | -9/+8 | |
| | | | | llvm-svn: 81347 | |||||
* | Updated ProfileInfo to have clean seperation between different sentinels. | Andreas Neustifter | 2009-09-09 | 1 | -8/+9 | |
| | | | | llvm-svn: 81335 | |||||
* | Converted MaximumSpanningTree algorithm to a generic template, this could go | Andreas Neustifter | 2009-09-04 | 4 | -138/+64 | |
| | | | | | | into llvm/ADT. llvm-svn: 81001 | |||||
* | Code Cleanup. | Andreas Neustifter | 2009-09-03 | 3 | -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 Neustifter | 2009-09-02 | 1 | -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 to | Andreas Neustifter | 2009-09-02 | 1 | -9/+9 | |
| | | | | | | be instrumented. llvm-svn: 80788 | |||||
* | Code cleanups and added comments. | Andreas Neustifter | 2009-09-02 | 1 | -17/+45 | |
| | | | | llvm-svn: 80781 | |||||
* | OptimalEdgeProfiling: Creation of profiles. | Andreas Neustifter | 2009-09-01 | 2 | -0/+187 | |
| | | | | | | This adds the instrumentation and runtime part of OptimalEdgeProfiling. llvm-svn: 80712 | |||||
* | Update CMake files. | Ted Kremenek | 2009-09-01 | 1 | -0/+1 | |
| | | | | llvm-svn: 80680 | |||||
* | Preparation for Optimal Edge Profiling: | Andreas Neustifter | 2009-09-01 | 1 | -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 Kramer | 2009-08-29 | 2 | -4/+1 | |
| | | | | llvm-svn: 80431 | |||||
* | Fix warning about non-virtual destructor. | Bill Wendling | 2009-08-29 | 2 | -0/+4 | |
| | | | | llvm-svn: 80429 | |||||
* | Preparation for Optimal Edge Profiling: | Andreas Neustifter | 2009-08-28 | 2 | -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 Kramer | 2009-08-23 | 2 | -13/+8 | |
| | | | | llvm-svn: 79852 | |||||
* | Push LLVMContexts through the IntegerType APIs. | Owen Anderson | 2009-08-13 | 4 | -31/+47 | |
| | | | | llvm-svn: 78948 | |||||
* | More ProfileInfo improvements. | Daniel Dunbar | 2009-08-08 | 2 | -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 Anderson | 2009-07-31 | 4 | -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 Anderson | 2009-07-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 77635 | |||||
* | Move types back to the 2.5 API. | Owen Anderson | 2009-07-29 | 3 | -5/+5 | |
| | | | | llvm-svn: 77516 | |||||
* | Move ConstantExpr to 2.5 API. | Owen Anderson | 2009-07-29 | 2 | -4/+3 | |
| | | | | llvm-svn: 77494 | |||||
* | More migration to raw_ostream, the water has dried up around the iostream hole. | Daniel Dunbar | 2009-07-25 | 1 | -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 Anderson | 2009-07-24 | 2 | -19/+15 | |
| | | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011 | |||||
* | Get rid of the Pass+Context magic. | Owen Anderson | 2009-07-22 | 4 | -36/+37 | |
| | | | | llvm-svn: 76702 | |||||
* | Revert yesterday's change by removing the LLVMContext parameter to ↵ | Owen Anderson | 2009-07-15 | 1 | -1/+1 | |
| | | | | | | AllocaInst and MallocInst. llvm-svn: 75863 | |||||
* | Move EVER MORE stuff over to LLVMContext. | Owen Anderson | 2009-07-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 75703 | |||||
* | llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. | Torok Edwin | 2009-07-14 | 1 | -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 Edwin | 2009-07-11 | 1 | -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 Anderson | 2009-07-09 | 1 | -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 Anderson | 2009-07-08 | 3 | -12/+10 | |
| | | | | | | module is required. llvm-svn: 75025 | |||||
* | Push LLVMContext through GlobalVariables and IRBuilder. | Owen Anderson | 2009-07-08 | 3 | -5/+7 | |
| | | | | llvm-svn: 74985 | |||||
* | "LLVMContext* " --> "LLVMContext *" | Owen Anderson | 2009-07-06 | 2 | -5/+5 | |
| | | | | llvm-svn: 74878 | |||||
* | Thread LLVMContext through the constant folding APIs, which touches a lot of ↵ | Owen Anderson | 2009-07-06 | 4 | -32/+45 | |
| | | | | | | files. llvm-svn: 74844 | |||||
* | Support vector casts in more places, fixing a variety of assertion | Dan Gohman | 2009-06-15 | 1 | -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 Brukman | 2009-01-09 | 1 | -3/+3 | |
| | | | | llvm-svn: 61991 | |||||
* | Use Function::getEntryBlock() instead of Function::front(), for clarity. | Dan Gohman | 2008-10-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 57870 | |||||
* | Initial support for the CMake build system. | Oscar Fuentes | 2008-09-22 | 1 | -0/+6 | |
| | | | | llvm-svn: 56419 | |||||
* | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 2 | -2/+2 | |
| | | | | llvm-svn: 55779 | |||||
* | Trim #includes. | Dan Gohman | 2008-08-05 | 1 | -1/+0 | |
| | | | | llvm-svn: 54350 | |||||
* | Tidy up BasicBlock::getFirstNonPHI, and change a bunch of places to | Dan Gohman | 2008-05-23 | 2 | -9/+6 | |
| | | | | | | use it instead of duplicating its functionality. llvm-svn: 51499 | |||||
* | API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. ↵ | Gabor Greif | 2008-05-16 | 2 | -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 Greif | 2008-05-15 | 1 | -2/+2 | |
| | | | | | | makefile targets to find these better. llvm-svn: 51143 | |||||
* | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 3 | -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 Gohman | 2008-05-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 50696 | |||||
* | Use Intrinsic::getDeclaration in more places. | Duncan Sands | 2008-04-07 | 1 | -1/+2 | |
| | | | | llvm-svn: 49338 | |||||
* | API changes for class Use size reduction, wave 1. | Gabor Greif | 2008-04-06 | 2 | -20/+21 | |
| | | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277 | |||||
* | fix typos | Gabor Greif | 2008-03-06 | 2 | -2/+2 | |
| | | | | llvm-svn: 47994 | |||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 6 | -12/+12 | |
| | | | | llvm-svn: 45418 | |||||
* | remove attribution from lib Makefiles. | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45415 | |||||
* | Change the PointerType api for creating pointer types. The old functionality ↵ | Christopher Lamb | 2007-12-17 | 1 | -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 PR1857 | Chris Lattner | 2007-12-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 44965 |