- May 12, 2004
-
-
Chris Lattner authored
broke obsequi and a lot of other things. It all boiled down to MBB being overloaded in an inner scope and me confusing it with the one in the outer scope. Ugh! llvm-svn: 13517
-
Misha Brukman authored
line by itself. llvm-svn: 13516
-
Brian Gaeke authored
llvm-svn: 13515
-
Brian Gaeke authored
MBBs start out as #-1. When a MBB is added to a MachineFunction, it gets the next available unique MBB number. If it is removed from a MachineFunction, it goes back to being #-1. llvm-svn: 13514
-
Brian Gaeke authored
function-level unique numbering of MBBs. llvm-svn: 13513
-
Brian Gaeke authored
of MBBs. Add non-const MachineBasicBlock::getParent() accessor method. llvm-svn: 13512
-
Chris Lattner authored
llvm-svn: 13511
-
Misha Brukman authored
llvm-svn: 13510
-
Misha Brukman authored
llvm-svn: 13509
-
Misha Brukman authored
and consistent with the LLVM website. llvm-svn: 13508
-
Misha Brukman authored
formatting. llvm-svn: 13507
-
Misha Brukman authored
llvm-svn: 13506
-
Misha Brukman authored
llvm-svn: 13505
-
Misha Brukman authored
llvm-svn: 13504
-
Misha Brukman authored
llvm-svn: 13503
-
Chris Lattner authored
llvm-svn: 13502
-
Misha Brukman authored
llvm-svn: 13501
-
Misha Brukman authored
llvm-svn: 13500
-
Misha Brukman authored
llvm-svn: 13499
-
Misha Brukman authored
llvm-svn: 13498
-
Misha Brukman authored
llvm-svn: 13497
-
Misha Brukman authored
llvm-svn: 13496
-
Misha Brukman authored
of the documentation) * Do not make the link text be the link itself, use some keywords * Make doc use stylesheets and HTML markup for lists instead of definitions * Shorten page by not making multiple lines per link with description + link of the same name as the target llvm-svn: 13495
-
Chris Lattner authored
mov DWORD PTR [%ESP + 4], 1 instead of: mov %EAX, 1 mov DWORD PTR [%ESP + 4], %EAX llvm-svn: 13494
-
Chris Lattner authored
give the extracted function a more useful name than just foo_code. llvm-svn: 13493
-
Chris Lattner authored
llvm-svn: 13491
-
Chris Lattner authored
instruction in them. llvm-svn: 13490
-
Chris Lattner authored
PHI node entries from multiple outside-the-region blocks. This also fixes extraction of the entry block in a function. Yaay. This has successfully block extracted all (but one) block from the score_move function in obsequi (out of 33). Hrm, I wonder which block the bug is in. :) llvm-svn: 13489
-
Chris Lattner authored
* Add a stub for the severSplitPHINodes which will allow us to bbextract bb's with PHI nodes in them soon. * Remove unused arguments from findInputsOutputs * Dramatically simplify the code in findInputsOutputs. In particular, nothing really cares whether or not a PHI node is using something. * Move moveCodeToFunction to after emitCallAndSwitchStatement as that's the order they get called. * Fix a bug where we would code extract a region that included a call to vastart. Like 'alloca', calls to vastart must stay in the function that they are defined in. * Add some comments. llvm-svn: 13482
-
Chris Lattner authored
from the extracted region. If the return has 0 or 1 exit blocks, the new function returns void. If it has 2 exits, it returns bool, otherwise it returns a ushort as before. This allows us to use a conditional branch instruction when there are two exit blocks, as often happens during block extraction. llvm-svn: 13481
-
Chris Lattner authored
1. Get rid of the silly abort block. When doing bb extraction, we get one abort block for every block extracted, which is kinda annoying. 2. If the switch ends up having a single destination, turn it into an unconditional branch. I would like to add support for conditional branches, but to do this we will want to have the function return a bool instead of a ushort. llvm-svn: 13478
-
Chris Lattner authored
llvm-svn: 13477
-
Misha Brukman authored
llvm-svn: 13476
-
Chris Lattner authored
can extract basic blocks up to the limit of the block extractor implementation. llvm-svn: 13475
-
Misha Brukman authored
llvm-svn: 13472
-
- May 11, 2004
-
-
Chris Lattner authored
two things: the FIXME in ExtractBlocks needs to be implemented, and the basic block extractor itself needs to have enough bugs fixed for this to be more or less useful. Until the time that this is generally useful, it is hidden behind the new bugpoint -enable-block-extraction option. I hope to get the FIXME done tonight. Also of note, this patch adds a -extract-bbs option to bugpoint which can be used to debug the block extractor. (hint hint Misha :) llvm-svn: 13471
-
Chris Lattner authored
llvm-svn: 13470
-
Chris Lattner authored
llvm-svn: 13464
-
John Criswell authored
llvm-svn: 13462
-
Brian Gaeke authored
llvm-svn: 13461
-