summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils
AgeCommit message (Expand)AuthorFilesLines
2012-10-18Temporarily revert the TargetTransform changes.Bob Wilson1-19/+13
2012-10-15Resubmit the changes to llvm core to update the functions to support differen...Micah Villmow1-1/+2
2012-10-15Add an enum for the return and function indexes into the AttrListPtr object. ...Bill Wendling2-15/+24
2012-10-15Attributes RewriteBill Wendling1-27/+33
2012-10-15instcombine: Migrate strcmp and strncmp optimizationsMeador Inge1-0/+99
2012-10-14Simplify code. No functionality change.Benjamin Kramer1-5/+3
2012-10-14Remove the bitwise assignment OR operator from the Attributes class. Replace ...Bill Wendling1-2/+4
2012-10-13Remove unused private field.Benjamin Kramer1-1/+0
2012-10-13instcombine: Migrate strchr and strrchr optimizationsMeador Inge1-0/+86
2012-10-13instcombine: Migrate strcat and strncat optimizationsMeador Inge1-0/+106
2012-10-13Implement new LibCallSimplifier classMeador Inge2-0/+290
2012-10-11PGO: create metadata for switch only if it has more than one targets.Manman Ren1-1/+1
2012-10-11Revert 165732 for further review.Micah Villmow1-2/+1
2012-10-11Add in the first iteration of support for llvm/clang/lldb to allow variable p...Micah Villmow1-1/+2
2012-10-10Add a new interface to allow IR-level passes to access codegen-specific infor...Nadav Rotem1-13/+19
2012-10-10Pass into the AttributeWithIndex::get method an ArrayRef of attributeBill Wendling1-31/+33
2012-10-10Have 'addFnAttr' take the attribute enum value. Then have it build the attrib...Bill Wendling1-1/+1
2012-10-08Move TargetData to DataLayout.Micah Villmow9-53/+53
2012-10-04This patch corrects commit 165126 by using an integer bit width instead of Preston Gurd1-9/+8
2012-10-04SimplifyCFG: Enhance the "remove CFG edge that leads to null pointer derefere...Benjamin Kramer1-2/+3
2012-10-03This Patch corrects a problem whereby the optimization to use a faster dividePreston Gurd1-5/+15
2012-10-01SimplifyCFG: Don't crash when forming a switch bitmap with an undef default v...Benjamin Kramer1-2/+5
2012-09-30SimplifyCFG: Enumerating all predecessors of a BB can be expensive (switches)...Benjamin Kramer1-3/+7
2012-09-27Fix a integer overflow in SimplifyCFG's look up table formation logic.Benjamin Kramer1-0/+4
2012-09-27Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru2-2/+2
2012-09-27Fix a typo 'iff' => 'if'Sylvestre Ledru2-2/+2
2012-09-26Address Duncan's comments on r164684:Hans Wennborg1-9/+5
2012-09-26Address Duncan's comments on r164682:Hans Wennborg1-6/+4
2012-09-26SimplifyCFG: Make the switch-to-lookup table transformation store theHans Wennborg1-12/+89
2012-09-26SimplifyCFG: Refactor the switch-to-lookup table transformation byHans Wennborg1-72/+115
2012-09-26Rename virtual table anchors from Anchor() to anchor() for consistency with t...Craig Topper1-1/+1
2012-09-26Expansions for u/srem, using the udiv expansion. More unit tests for udiv and...Michael Ilseman1-7/+115
2012-09-25Revert r164614 to appease the buildbots.Chad Rosier1-115/+7
2012-09-25Expansions for u/srem, using the udiv expansion. More unit tests for udiv and...Michael Ilseman1-7/+115
2012-09-20SimplifyCFG: sink common codes from IF, ELSE blocks down to END block.Manman Ren1-0/+173
2012-09-19Renaming functions to match coding style guidelinesMichael Ilseman1-4/+4
2012-09-19Doxygen-ify commentsMichael Ilseman1-8/+16
2012-09-19Put the * and & next to the variable, rather than the type.Michael Ilseman1-73/+73
2012-09-19SimplifyCFG: Don't generate invalid code for switch used to initializeHans Wennborg1-9/+8
2012-09-19IntegerDivision: Style cleanups, avoid warning about mixing || and && without...Benjamin Kramer1-7/+5
2012-09-18New utility for expanding integer division for targets that don't support it.Michael Ilseman2-0/+307
2012-09-18PGO: preserve branch-weight metadata when simplifying Switch to a sub, an icmpManman Ren1-1/+38
2012-09-17PGO: preserve branch-weight metadata when simplifying SwitchManman Ren1-0/+15
2012-09-17PGO: preserve branch-weight metadata when simplifying SwitchOnSelect.Manman Ren1-5/+28
2012-09-17PGO: preserve branch-weight metadata when simplifying two branches with a commonManman Ren1-0/+27
2012-09-17Fix a few vars that can end up being used without initialization.Axel Naumann1-1/+1
2012-09-15PGO: preserve branch-weight metadata when simplifying two branches with a commonManman Ren1-111/+42
2012-09-14PGO: preserve branch-weight metadata when simplifying a switch with a singleManman Ren2-2/+33
2012-09-14Stylistic and 80-col fixesEvan Cheng1-1/+1
2012-09-14Review feedback from Duncan Sands. Alphabetize includes and simplifyAlex Rosenberg1-3/+3