- Feb 09, 2010
-
-
Chris Lattner authored
into TargetOpcodes.h. #include the new TargetOpcodes.h into MachineInstr. Add new inline accessors (like isPHI()) to MachineInstr, and start using them throughout the codebase. llvm-svn: 95687
-
- Jan 26, 2010
-
-
Chris Lattner authored
the AsmPrinter::GetMBBSymbol. llvm-svn: 94515
-
- Jan 20, 2010
-
-
Dale Johannesen authored
llvm-svn: 94032
-
Dale Johannesen authored
more cases where debug declarations affect debug line info. llvm-svn: 93953
-
- Jan 15, 2010
-
-
Jakob Stoklund Olesen authored
This fixes the regression for -pre-regalloc-taildup in MultiSource/Applications/lambda-0.1.3. llvm-svn: 93541
-
- Jan 05, 2010
-
-
David Greene authored
Change errs() to dbgs(). llvm-svn: 92542
-
- Dec 16, 2009
-
-
Bill Wendling authored
llvm-svn: 91479
-
- Dec 15, 2009
-
-
Bill Wendling authored
$ svn merge -c -91161 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r91161 into '.': U lib/CodeGen/BranchFolding.cpp U lib/CodeGen/MachineBasicBlock.cpp $ svn merge -c -91113 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r91113 into '.': G lib/CodeGen/MachineBasicBlock.cpp $ svn merge -c -91101 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r91101 into '.': U include/llvm/CodeGen/MachineBasicBlock.h G lib/CodeGen/MachineBasicBlock.cpp $ svn merge -c -91092 https://llvm.org/svn/llvm-project/llvm/trunk --- Reverse-merging r91092 into '.': G include/llvm/CodeGen/MachineBasicBlock.h G lib/CodeGen/MachineBasicBlock.cpp llvm-svn: 91376
-
- Dec 14, 2009
-
-
Bill Wendling authored
llvm-svn: 91274
-
- Dec 11, 2009
-
-
Bill Wendling authored
branches only to a landing pad. Without this check, the compiler would go into an infinite loop because the branch to a landing pad is an "abnormal" edge which wasn't being taken into account. This is the meat of that fix: if (!PrevBB.canFallThrough() && !MBB->BranchesToLandingPad(MBB)) { The other stuff is simplification of the "branches to a landing pad" code. llvm-svn: 91161
-
Bill Wendling authored
build bots. llvm-svn: 91113
-
Bill Wendling authored
- Loosen the restrictions when checking of it branches to a landing pad. - Make the loop more efficient by checking the '.insert' return value. - Do cheaper checks first. llvm-svn: 91101
-
Bill Wendling authored
more than one successor. Normally, these extra successors are dead. However, some of them may branch to exception handling landing pads. If we remove those successors, then the landing pads could go away if all predecessors to it are removed. Before, it was checking if the direct successor was the landing pad. But it could be the result of jumping through multiple basic blocks to get to it. If we were to only check for the existence of an EH_LABEL in the basic block and not remove successors if it's in there, then it could stop actually dead basic blocks from being removed. llvm-svn: 91092
-
- Dec 05, 2009
-
-
Dan Gohman authored
llvm-svn: 90633
-
- Dec 03, 2009
-
-
Chris Lattner authored
Patch by Howard Hinnant! llvm-svn: 90365
-
- Nov 26, 2009
-
-
Bob Wilson authored
running tail duplication when doing branch folding for if-conversion, and we also want to be able to run tail duplication earlier to fix some reg alloc problems. Move the CanFallThrough function from BranchFolding to MachineBasicBlock so that it can be shared by TailDuplication. llvm-svn: 89904
-
- Nov 22, 2009
-
-
Jakob Stoklund Olesen authored
Teach MachineBasicBlock::updateTerminator() to handle a failing TII->ReverseBranchCondition(Cond) call. This fixes the MallocBench/cfrac test case regression. llvm-svn: 89608
-
- Nov 20, 2009
-
-
Jakob Stoklund Olesen authored
Fix debug code that assumes getBasicBlock never returns NULL. llvm-svn: 89428
-
- Nov 17, 2009
-
-
Evan Cheng authored
llvm-svn: 89130
-
- Nov 12, 2009
-
-
Jim Grosbach authored
MachineBasicBlock so other passes can utilize it. llvm-svn: 86947
-
- Nov 11, 2009
-
-
Dan Gohman authored
tail merging support to handle more cases. - Recognize several cases where tail merging is beneficial even when the tail size is smaller than the generic threshold. - Make use of MachineInstrDesc::isBarrier to help detect non-fallthrough blocks. - Check for and avoid disrupting fall-through edges in more cases. llvm-svn: 86871
-
- Oct 31, 2009
-
-
Dan Gohman authored
- Be consistent when referring to MachineBasicBlocks: BB#0. - Be consistent when referring to virtual registers: %reg1024. - Be consistent when referring to unknown physical registers: %physreg10. - Be consistent when referring to known physical registers: %RAX - Be consistent when referring to register 0: %reg0 - Be consistent when printing alignments: align=16 - Print jump table contents. - Don't print host addresses, in general. - and various other cleanups. llvm-svn: 85682
-
- Oct 30, 2009
-
-
Dan Gohman authored
llvm-svn: 85571
-
Dan Gohman authored
llvm-svn: 85556
-
- Aug 23, 2009
-
-
Chris Lattner authored
upgrading a few things to use raw_ostream llvm-svn: 79811
-
Chris Lattner authored
llvm-svn: 79796
-
Chris Lattner authored
llvm-svn: 79794
-
- Aug 18, 2009
-
-
Chris Lattner authored
llvm-svn: 79313
-
Chris Lattner authored
llvm-svn: 79312
-
Chris Lattner authored
be able to understand ;-) llvm-svn: 79311
-
- Aug 03, 2009
-
-
David Greene authored
Re-apply LiveInterval index dumping patch, with fixes suggested by Bill and others. llvm-svn: 78003
-
- Jul 24, 2009
-
-
Daniel Dunbar authored
LiveInterval, etc to raw_ostream. llvm-svn: 76965
-
- Jul 21, 2009
-
-
Chris Lattner authored
llvm-svn: 76646
-
David Greene authored
Add PrefixPrinter arguments to the dump routines for MachineFunction and MachineBasicBlock. We'll use these shortly. llvm-svn: 76603
-
- May 05, 2009
-
-
Dan Gohman authored
allow it to have multiple CFG edges to that block. This is needed to allow MachineBasicBlock::isOnlyReachableByFallthrough to work correctly. This fixes PR4126. llvm-svn: 71018
-
- Mar 31, 2009
-
-
Dan Gohman authored
entered via fall-through. Don't miss fallthroughs from blocks terminated by conditional branches. Also, move isOnlyReachableByFallthrough out of line. llvm-svn: 68129
-
- Mar 30, 2009
-
-
Dan Gohman authored
llvm-svn: 68054
-
- Jan 08, 2009
-
-
Dan Gohman authored
llvm-svn: 61950
-
- Oct 03, 2008
-
-
Dan Gohman authored
isReg, etc., from isRegister, etc. llvm-svn: 57006
-
Dan Gohman authored
can be used when deciding if a block can transfer control to another via a fall-through instead of a branch. llvm-svn: 56968
-