aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar
AgeCommit message (Expand)Author
2008-10-17Merge from mainline.Tanya Lattner
2008-10-06Fix typo, fix PR 2865.Devang Patel
2008-10-06Allow scalarrepl to treat an all-zero GEP just as bitcast.Matthijs Kooijman
2008-10-05rewrite bswap matching to be more general, allowing arbitraryChris Lattner
2008-10-05fix a bug where the bswap matcher could match a case involvingChris Lattner
2008-10-01Factorize code: remove variants of "strip offDuncan Sands
2008-10-01Call ScalarEvolution's deleteValueFromRecords before deleting anDan Gohman
2008-09-30Fix misoptimization of: xor i1 (icmp eq (X, C1), icmp s[lg]t (X, C2))Nick Lewycky
2008-09-26Implement function notes as function attributes. Devang Patel
2008-09-26Now Attributes are divided in three groupsDevang Patel
2008-09-25 Large mechanical patch.Devang Patel
2008-09-24Commit CodeGenPrepare.cpp changes which was accidentially left out of 56526.Evan Cheng
2008-09-24Fix fallout in CodeGenPrepare from 56526. Will likely need more work.Eric Christopher
2008-09-24s/ParamAttrsWithIndex/FnAttributeWithIndex/gDevang Patel
2008-09-24Put FN_NOTE_AlwaysInline and others in FnAttr namespace.Devang Patel
2008-09-23Move FN_NOTE_AlwaysInline and other out of ParamAttrs namespace.Devang Patel
2008-09-23s/ParameterAttributes/Attributes/gDevang Patel
2008-09-23Use parameter attribute store (soon to be renamed) forDevang Patel
2008-09-22Add hasNote() to check note associated with a function.Devang Patel
2008-09-22Initial support for the CMake build system.Oscar Fuentes
2008-09-19Remove the MarkModRef pass (use AddReadAttrs instead).Duncan Sands
2008-09-18splitLoop does not handle split condition EQ.Devang Patel
2008-09-18Decrementing the iterator here could be wrong if the worklist is empty after ...Bill Wendling
2008-09-17Do not ignore iv uses outside the loop.Devang Patel
2008-09-16Improve instcombine's handling of integer min and max in two ways:Dan Gohman
2008-09-15Teach LSR to optimize away SMAX operations for tripcounts in commonDan Gohman
2008-09-11On 64-bit targets, change 32-bit getelementptr indices to be 64-bitDan Gohman
2008-09-11Fix a vectorshuffle instcombine bug introduced by r55995.Dan Gohman
2008-09-11Fix a copy+paste bug that Duncan spotted. For severalDan Gohman
2008-09-11In my analysis for r56076 I missed the case where the originalDan Gohman
2008-09-10Fix an icmp+sdiv optimization to check for and handle an overflowDan Gohman
2008-09-10fix white spaces.Devang Patel
2008-09-10Fix a warning about comparing signed and unsigned values.Dan Gohman
2008-09-09if loop induction variable is always sign or zero extended then Devang Patel
2008-09-09fix overflow check.Devang Patel
2008-09-09Make SimplifyDemandedVectorElts simplify vectors with multipleDan Gohman
2008-09-08s/RemoveUnreachableBlocks/RemoveUnreachableBlocksFromFn/gDevang Patel
2008-09-08Remove unused counter.Devang Patel
2008-09-08Remove OptimizeIVType()Devang Patel
2008-09-05Remove unused map.Devang Patel
2008-09-04A loop may be unswitched multiple times. Reconstruct dom info. at the end.Devang Patel
2008-09-04Initialize loop data first.Devang Patel
2008-09-04Do not unswitch if the function notes say we're optimizing this function for ...Devang Patel
2008-09-04Add intrinsic forms of pow and exp2. The non-intrinsicDale Johannesen
2008-09-04Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman
2008-09-03Fix a bug that prevented PRE from applying in some cases.Owen Anderson
2008-09-03Don't apply this transform to vectors. Fixes PR2756.Nick Lewycky
2008-09-03Add additional check to ensure that iv is canonicalized.Devang Patel
2008-09-03Check iteration count.Devang Patel
2008-09-03While removing PHI, use basicblock to identify incoming value.Devang Patel