- Mar 13, 2012
-
-
Craig Topper authored
Remove unused field from FixedLenDecoderEmitter. Move NumberedInstructions declaration from class to run method since its only used there and was being reinitialized anyway. llvm-svn: 152616
-
Bill Wendling authored
llvm-svn: 152614
-
Bill Wendling authored
llvm-svn: 152613
-
Bill Wendling authored
No functionality change. llvm-svn: 152611
-
Lang Hames authored
llvm-svn: 152610
-
Eli Friedman authored
Fix regression from r151466: an we can't replace uses of an instruction reachable from the entry block with uses of an instruction not reachable from the entry block. PR12231. llvm-svn: 152595
-
Chandler Carruth authored
offset accumulation to use a boring APInt instead of ConstantExprs. I didn't go all the way to an 'int64_t' because I wanted APInt to handle any magic required to properly wrap the arithmetic when the pointer width is <64 bits. If there is a significant penalty from using APInt here, first off WTF, and secondly let me know and I'll do the math by hand. I've left one layer still operating w/ ConstantExpr because it makes the interface quite a bit simpler, and that one isn't iterative so has much lower cost. I suppose this may potentially speed up some strang compilation situations, but I don't really expect much. It should have no functional impact either way. llvm-svn: 152590
-
NAKAMURA Takumi authored
llvm-svn: 152588
-
- Mar 12, 2012
-
-
Kevin Enderby authored
Suggestion by Bill Wendling! llvm-svn: 152582
-
Benjamin Kramer authored
llvm-svn: 152581
-
Kevin Enderby authored
registers not both being 64-bit or both being 32-bit registers. llvm-svn: 152580
-
Benjamin Kramer authored
llvm-svn: 152577
-
Bill Wendling authored
llvm-svn: 152576
-
Eric Christopher authored
Patch by John Spencer llvm-svn: 152574
-
Bill Wendling authored
--- Reverse-merging r152486 into '.': U lib/CodeGen/SjLjEHPrepare.cpp llvm-svn: 152571
-
Kostya Serebryany authored
llvm-svn: 152567
-
Chandler Carruth authored
candidate set for subsequent inlining, try to simplify the arguments to the inner call site now that inlining has been performed. The goal here is to propagate and fold constants through deeply nested call chains. Without doing this, we loose the inliner bonus that should be applied because the arguments don't match the exact pattern the cost estimator uses. Reviewed on IRC by Benjamin Kramer. llvm-svn: 152556
-
Chandler Carruth authored
Typically instcombine has handled this, but pointer differences show up in several contexts where we would like to get constant folding, and cannot afford to run instcombine. Specifically, I'm working on improving the constant folding of arguments used in inline cost analysis with instsimplify. Doing this in instsimplify implies some algorithm changes. We have to handle multiple layers of all-constant GEPs because instsimplify cannot fold them into a single GEP the way instcombine can. Also, we're only interested in all-constant GEPs. The result is that this doesn't really replace the instcombine logic, it's just complimentary and focused on constant folding. Reviewed on IRC by Benjamin Kramer. llvm-svn: 152555
-
Chandler Carruth authored
llvm-svn: 152554
-
Duncan Sands authored
llvm-svn: 152553
-
Bob Wilson authored
<rdar://problem/11024696> llvm-svn: 152548
-
- Mar 11, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152545
-
Benjamin Kramer authored
llvm-svn: 152544
-
Benjamin Kramer authored
DwarfDebug: Store the filename/dirname pair as a zero-separated string in a stringmap, instead of using a highly inefficient std::map of a pair of std::strings. llvm-svn: 152541
-
Craig Topper authored
llvm-svn: 152538
-
Craig Topper authored
llvm-svn: 152537
-
Craig Topper authored
llvm-svn: 152535
-
Stepan Dyatkovskiy authored
Renamed methods caseBegin, caseEnd and caseDefault with case_begin, case_end, and case_default. Added some notes relative to case iterators. llvm-svn: 152532
-
Gregory Szorc authored
It doesn't currently support the op info and symbol lookup callbacks, but it is better than nothing. llvm-svn: 152527
-
Douglas Gregor authored
llvm-svn: 152525
-
Craig Topper authored
Shrink and reorder some fields in MCOperandInfo to fit it in 8 bytes to reduce size of static tables. llvm-svn: 152524
-
Michael J. Spencer authored
llvm-svn: 152523
-
Michael J. Spencer authored
llvm-svn: 152522
-
Aaron Ballman authored
llvm-svn: 152518
-
Michael J. Spencer authored
it would fail with {,u}int64_t on x86-64 Linux. This also removes code duplication. llvm-svn: 152517
-
- Mar 10, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152515
-
Gregory Szorc authored
Chris Lattner says the edis interface is going away. It doesn't make sense to land something that will go away in the near future. llvm-svn: 152508
-
Kay Tiong Khoo authored
llvm-svn: 152507
-
Gregory Szorc authored
This requires a C++ change to EDDisassembler's ctor to function properly (the llvm::InitializeAll* functions aren't being called currently and there is no way to call them from Python). Code is partially tested and works well enough for initial commit. There are probably many small bugs. llvm-svn: 152506
-
Gregory Szorc authored
llvm-svn: 152505
-