path: root/lib/Transforms/Scalar
AgeCommit message (Expand)AuthorFilesLines
2012-10-18Temporarily revert the TargetTransform changes.Bob Wilson1-69/+65
2012-10-17This just in, it is a *bad idea* to use 'udiv' on an offset ofChandler Carruth1-3/+3
2012-10-17Fix a really annoying "bug" introduced in r165941. The change from thatChandler Carruth1-3/+3
2012-10-16Simplify code. No functionality change.Jakub Staszak1-7/+3
2012-10-1680-col fixup.Jakub Staszak1-1/+2
2012-10-16Simplify potentially quadratic behavior while erasing elements from std::vector.Jakub Staszak1-7/+1
2012-10-16Use the Attributes::get method which takes an AttrVal value directly to simpl...Bill Wendling2-30/+11
2012-10-15Move the Attributes::Builder outside of the Attributes class and into its own...Bill Wendling3-12/+12
2012-10-15Resubmit the changes to llvm core to update the functions to support differen...Micah Villmow2-6/+13
2012-10-15Update the memcpy rewriting to fully support widened int rewriting. ThisChandler Carruth1-8/+26
2012-10-15Follow-up fix to r165928: handle memset rewriting for widened integers,Chandler Carruth1-30/+25
2012-10-15First major step toward addressing PR14059. This teaches SROA to handleChandler Carruth1-53/+93
2012-10-15Hoist the canConvertValue predicate and the convertValue transform outChandler Carruth1-44/+52
2012-10-15Add an enum for the return and function indexes into the AttrListPtr object. ...Bill Wendling1-15/+23
2012-10-15Attributes RewriteBill Wendling2-10/+10
2012-10-15instcombine: Migrate strcmp and strncmp optimizationsMeador Inge1-105/+0
2012-10-14Unquadratize SetVector removal loops in DSE.Benjamin Kramer1-27/+36
2012-10-14Remove the bitwise assignment OR operator from the Attributes class. Replace ...Bill Wendling1-9/+16
2012-10-14Remove the bitwise XOR operator from the Attributes class. Replace it with th...Bill Wendling1-2/+4
2012-10-13instcombine: Migrate strchr and strrchr optimizationsMeador Inge1-91/+0
2012-10-13instcombine: Migrate strcat and strncat optimizationsMeador Inge1-101/+1
2012-10-13Teach SROA to cope with wrapper aggregates. These show up a lot in ABIChandler Carruth1-3/+33
2012-10-13Speculatively harden the conversion logic. I have no idea if this willChandler Carruth1-0/+11
2012-10-13Silence a warning in -assert builds.Chandler Carruth1-0/+1
2012-10-13Clean up how we rewrite loads and stores to the whole alloca. When theseChandler Carruth1-5/+49
2012-10-11Revert 165732 for further review.Micah Villmow2-13/+6
2012-10-11Add in the first iteration of support for llvm/clang/lldb to allow variable p...Micah Villmow2-6/+13
2012-10-10Add a new interface to allow IR-level passes to access codegen-specific infor...Nadav Rotem1-65/+69
2012-10-10Remove the final bits of Attributes being declared in the AttributeBill Wendling2-2/+5
2012-10-09Update EarlyCSE's SimpleValues to use Hashing.h for their hashes. Expanded th...Michael Ilseman1-25/+81
2012-10-09Use the enum value of the attributes when adding them to the attributes builder.Bill Wendling1-9/+9
2012-10-09Create enums for the different attributes.Bill Wendling3-4/+7
2012-10-09Fix PR14034, an infloop / heap corruption / crash bug in the new SROA.Chandler Carruth1-0/+2
2012-10-09Fix. Apply the no capture attribute to the correct parameter.Bill Wendling1-4/+7
2012-10-09Convert to using the Attributes::Builder class to create attributes.Bill Wendling1-10/+25
2012-10-08Refactor the AddrMode class out of TLI to its own header file.Nadav Rotem1-7/+8
2012-10-08Move TargetData to DataLayout.Micah Villmow19-128/+128
2012-10-05SROA.cpp: Fix a warning, [-Wunused-variable]NAKAMURA Takumi1-0/+1
2012-10-05Move this test a bit later, after the point at which we know that we eitherDuncan Sands1-10/+10
2012-10-05Teach the new SROA a new trick. Now we zap any memcpy or memmoves whichChandler Carruth1-42/+93
2012-10-05Lift the speculation visitor above all the helpers that are targeted atChandler Carruth1-281/+283
2012-10-04This patch corrects commit 165126 by using an integer bit width instead of Preston Gurd1-2/+3
2012-10-04Add a comment to the commit r165187.Jakub Staszak1-1/+3
2012-10-04In my recent change to avoid use of underaligned memory I didn't notice thatDuncan Sands1-7/+7
2012-10-04Fix PR13969, a mini-phase-ordering issue with the new SROA pass.Chandler Carruth1-23/+50
2012-10-04The memcpy optimizer was happily doing call slot forwarding when the new memoryDuncan Sands1-4/+30
2012-10-04Teach the integer-promotion rewrite strategy to be endianness aware.Chandler Carruth1-9/+29
2012-10-04Use method to query for attributes.Bill Wendling1-1/+1
2012-10-03Fix PR13967.Jakub Staszak1-1/+4
2012-10-03Fix an issue where we failed to adjust the alignment constraint onChandler Carruth1-0/+6