aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils
Commit message (Collapse)AuthorAgeFilesLines
* Convert 'struct' to 'class' in various places to adhere to the coding standardsChris Lattner2004-10-272-3/+3
| | | | | | | and work better with VC++. Patch contributed by Morten Ofstad! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17281 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for the unreachable instructionChris Lattner2004-10-161-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17039 91177308-0d34-0410-b5e6-96231b3b80d8
* Add an optional argument to PromoteMemToRegChris Lattner2004-09-151-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16346 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved to include/llvm/SupportMisha Brukman2004-06-231-33/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14350 91177308-0d34-0410-b5e6-96231b3b80d8
* Declare function defined in namespace llvm as gcc-3.4 doesn't accept a ↵Alkis Evlogimenos2004-05-191-0/+8
| | | | | | definition in a namespace of a non-declared function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13602 91177308-0d34-0410-b5e6-96231b3b80d8
* Aggregating function arguments is now an option. Default is `no', as before.Misha Brukman2004-04-231-3/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13142 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new interfacesChris Lattner2004-04-131-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12918 91177308-0d34-0410-b5e6-96231b3b80d8
* The code extractor needs dominator information, so we provide it.Chris Lattner2004-03-181-16/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12482 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this header file self-containedChris Lattner2004-03-181-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12480 91177308-0d34-0410-b5e6-96231b3b80d8
* cleanup commentChris Lattner2004-03-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12463 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead fileChris Lattner2004-03-141-34/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12371 91177308-0d34-0410-b5e6-96231b3b80d8
* Move DemoteRegToStack prototype out of DemoteRegToStack.h to this file.Chris Lattner2004-03-141-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12367 91177308-0d34-0410-b5e6-96231b3b80d8
* Add prototype for ExtractCodeRegion()Misha Brukman2004-03-021-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12069 91177308-0d34-0410-b5e6-96231b3b80d8
* Add ability to extract a single basic block into a new function.Misha Brukman2004-03-011-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12052 91177308-0d34-0410-b5e6-96231b3b80d8
* New Function-level transformation utils.Misha Brukman2004-02-281-0/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11938 91177308-0d34-0410-b5e6-96231b3b80d8
* Check in header file I forgot before.Chris Lattner2004-02-041-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11115 91177308-0d34-0410-b5e6-96231b3b80d8
* llvm::ConstantFoldInstructionChris Lattner2004-01-121-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10787 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new functionChris Lattner2003-12-191-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10529 91177308-0d34-0410-b5e6-96231b3b80d8
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-117-2/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
* Include forms of SplitCriticalEdge which work correctly with pred/succ iteratorsChris Lattner2003-11-101-0/+19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9856 91177308-0d34-0410-b5e6-96231b3b80d8
* Move isCriticalEdge & SplitCritical into this file. While we're at it, changeChris Lattner2003-11-101-0/+16
| | | | | | | | the interface to SplitCriticalEdge so that it splits an edge if it is critical, otherwise just returns false and noops if not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9852 91177308-0d34-0410-b5e6-96231b3b80d8
* Added LLVM copyright header (for lack of a better term).John Criswell2003-10-207-0/+49
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9304 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the interface to PromoteMemToReg to also take a DominatorTreeChris Lattner2003-10-051-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8883 91177308-0d34-0410-b5e6-96231b3b80d8
* Standardize header file commentsChris Lattner2003-09-303-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8782 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup header fileChris Lattner2003-09-201-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8622 91177308-0d34-0410-b5e6-96231b3b80d8
* Expand the pass to unify all of the unwind blocks as wellChris Lattner2003-09-101-12/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8456 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an FLAT OUT WRONG commentChris Lattner2003-08-311-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8263 91177308-0d34-0410-b5e6-96231b3b80d8
* Add versions of InlineFunction which work on Invoke instructions and general ↵Chris Lattner2003-08-241-1/+4
| | | | | | call sites git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8105 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed comment width, changed arg to be const, fixed indentation, removed ↵Tanya Lattner2003-05-311-5/+5
| | | | | | unnecessary includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6476 91177308-0d34-0410-b5e6-96231b3b80d8
* Sorry, correcting small typo.Tanya Lattner2003-05-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6433 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support for cloning a trace.Tanya Lattner2003-05-301-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6430 91177308-0d34-0410-b5e6-96231b3b80d8
* Doxygenify commentsChris Lattner2003-05-291-16/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6393 91177308-0d34-0410-b5e6-96231b3b80d8
* Hopefully, the final fix for `[Pp]ropogate'.Misha Brukman2003-05-201-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6251 91177308-0d34-0410-b5e6-96231b3b80d8
* Add prototype for new CloneBasicBlock functionChris Lattner2003-04-181-2/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5804 91177308-0d34-0410-b5e6-96231b3b80d8
* Add getAnalysisUsage methodChris Lattner2003-03-311-2/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5756 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the mem2reg interface to accept a TargetData argumentChris Lattner2003-03-031-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5685 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new interface file for the PromoteMemToReg interface in the Utils libraryChris Lattner2003-02-221-0/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5609 91177308-0d34-0410-b5e6-96231b3b80d8
* This file provides the function DemoteRegToStack(), which takes aVikram S. Adve2002-12-101-0/+21
| | | | | | | | virtual register computed by an Instruction& X and replaces it with a slot in the stack frame, allocated via alloca. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4963 91177308-0d34-0410-b5e6-96231b3b80d8
* Cloning stuff doesn't modify the source moduleChris Lattner2002-11-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4787 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor changes to cloning interfaceChris Lattner2002-11-191-1/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4770 91177308-0d34-0410-b5e6-96231b3b80d8
* Extend function cloning interface to support inliningChris Lattner2002-11-191-2/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4767 91177308-0d34-0410-b5e6-96231b3b80d8
* This file is supersumed by Utils/Cloning.hChris Lattner2002-11-191-17/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4765 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge cloning and inlining utilitiesChris Lattner2002-11-191-0/+41
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4763 91177308-0d34-0410-b5e6-96231b3b80d8
* - Do not expose Critical Edge breaking mechanics outside the BCE pass, thusChris Lattner2002-09-241-15/+0
| | | | | | | removing it from Transforms/Local.h and from Transforms/Utils/* git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3909 91177308-0d34-0410-b5e6-96231b3b80d8
* - Rename BreakCriticalEdge to the slightly more standard SplitCriticalEdgeChris Lattner2002-09-061-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3587 91177308-0d34-0410-b5e6-96231b3b80d8
* * Doxygenize APIChris Lattner2002-09-061-23/+39
| | | | | | | * Add new functions for identifying and breaking critical edges git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3586 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove duplicate #includeChris Lattner2002-09-021-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3567 91177308-0d34-0410-b5e6-96231b3b80d8
* - Do not expose ::ID from any of the analyses anymore.Chris Lattner2002-08-211-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3416 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a new RemoveSuccessor functionChris Lattner2002-07-291-4/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3130 91177308-0d34-0410-b5e6-96231b3b80d8
* * Eliminate the Provided set. All Passes now finally just automaticallyChris Lattner2002-07-291-1/+0
| | | | | | | provide themselves. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3125 91177308-0d34-0410-b5e6-96231b3b80d8