aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
AgeCommit message (Expand)AuthorFilesLines
2012-10-19Move SplitBlockAndInsertIfThen to BasicBlockUtils.Evgeniy Stepanov1-0/+39
2012-10-08Move TargetData to DataLayout.Micah Villmow1-1/+1
2012-08-29Make MemoryBuiltins aware of TargetLibraryInfo.Benjamin Kramer1-2/+2
2012-07-27Teach CodeGenPrep to look past bitcast when it's duplicating return instructionEvan Cheng1-4/+20
2012-06-25The name (and comment describing) of llvm::GetFirstDebuigLocInBasicBlock no l...Eli Bendersky1-9/+0
2012-01-17Remove unreachable code. (replace with llvm_unreachable to help GCC where nec...David Blaikie1-1/+0
2011-12-09SplitBlockPredecessors uses ArrayRef instead of Data and Size.Jakub Staszak1-9/+6
2011-08-24Fix a crashing bug in SplitBlock when it is called on a block with noRafael Espindola1-5/+6
2011-08-19If we're splitting the landing pad block and assigning it only one predecessor,Bill Wendling1-26/+40
2011-08-19Add SplitLandingPadPredecessors().Bill Wendling1-1/+95
2011-08-18Split out the updating of PHI nodes after splitting the BB into a separateBill Wendling1-43/+53
2011-08-18Use this fantzy ArrayRef thing to pass in the list of predecessors.Bill Wendling1-9/+14
2011-08-18Use static instead of anonymous namespace.Bill Wendling1-7/+4
2011-08-18Split out the analysis updating code into a helper function. No intendedBill Wendling1-63/+78
2011-08-17Increment the insertion iterator to beyond the landingpad instruction.Bill Wendling1-1/+1
2011-06-23Reinstate r133513 (reverted in r133700) with an additional fix for aJay Foad1-3/+3
2011-06-23Revert r133513:Eric Christopher1-3/+3
2011-06-21Reinstate r133435 and r133449 (reverted in r133499) now that the clangJay Foad1-3/+3
2011-06-21Revert r133435 and r133449 to appease buildbots.Chad Rosier1-3/+3
2011-06-20Change how PHINodes store their operands.Jay Foad1-3/+3
2011-05-02Scanning entire basic block may be too expensive in terms of compile time. In...Devang Patel1-6/+4
2011-04-29Assing line number info to new PHIs created by SSA updater.Devang Patel1-0/+12
2011-03-30Remove PHINode::reserveOperandSpace(). Instead, add a parameter toJay Foad1-2/+1
2011-03-30(Almost) always call reserveOperandSpace() on newly created PHINodes.Jay Foad1-0/+1
2011-01-29Re-apply r124518 with fix. Watch out for invalidated iterator.Evan Cheng1-3/+28
2011-01-29Revert r124518. It broke Linux self-host.Evan Cheng1-28/+3
2011-01-29Re-commit r124462 with fixes. Tail recursion elim will now dup ret into uncon...Evan Cheng1-3/+28
2011-01-18Remove code for updating dominance frontiers and some outdated references toCameron Zwarich1-12/+5
2011-01-11Fix a non-deterministic loop in llvm::MergeBlockIntoPredecessor.Jakob Stoklund Olesen1-2/+2
2011-01-11when MergeBlockIntoPredecessor merges two blocks, update MemDep if itChris Lattner1-0/+4
2011-01-11Fix FoldSingleEntryPHINodes to update memdep and AA when it deletesChris Lattner1-3/+19
2011-01-08various code cleanups, enhance MergeBlockIntoPredecessor to preserveChris Lattner1-13/+10
2011-01-08reduce nesting.Chris Lattner1-6/+6
2011-01-02split dom frontier handling stuff out to its own DominanceFrontier header,Chris Lattner1-1/+1
2010-12-14remove the dead (and terrible) llvm::RemoveSuccessor function.Chris Lattner1-46/+0
2010-09-10typoesGabor Greif1-1/+1
2010-08-18fit in 80 colsChris Lattner1-2/+3
2010-08-17Use the getUniquePredecessor() utility function, instead of doingDan Gohman1-15/+5
2010-05-28Move FindAvailableLoadedValue isSafeToLoadUnconditionally out ofDan Gohman1-118/+0
2010-04-05Code clean up.Evan Cheng1-12/+10
2010-02-16Rename SuccessorNumber to GetSuccessorNumber.Bob Wilson1-5/+6
2010-02-16Refactor to share code to find the position of a basic block successor in theBob Wilson1-11/+17
2010-01-21No need to look through bitcasts for DbgInfoIntrinsicVictor Hernandez1-5/+0
2010-01-05Make RecursivelyDeleteTriviallyDeadInstructions,Dan Gohman1-2/+5
2010-01-05Avoid going through the LLVMContext for type equality where it's safe to dere...Benjamin Kramer1-1/+1
2010-01-05Remove dead debug info intrinsics.Devang Patel1-13/+0
2009-12-08Remove unnecessary #include "llvm/LLVMContext.h".Nick Lewycky1-1/+0
2009-11-05Add an assertion to catch indirectbr in SplitBlockPredecessors. ThisDan Gohman1-2/+6
2009-11-01change llvm::MergeBlockIntoPredecessor to not merge two blocks BB1->BB2 Chris Lattner1-3/+7
2009-10-31llvm::SplitEdge should refuse to split an edge from an indirectbr.Chris Lattner1-0/+2