aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
AgeCommit message (Expand)Author
2005-05-12Allow something to be legalized multiple times. This can be used to reduceChris Lattner
2005-05-12Oops, don't do this after we figure out where to insert the call chains.Chris Lattner
2005-05-12Make sure to expand all nodes, avoiding unintentional node duplication.Chris Lattner
2005-05-12add fixmeChris Lattner
2005-05-12Fix a problem where early legalization can cause token chain problems.Chris Lattner
2005-05-12Make legalize a bit more efficient, and canonicalize sub X, C -> add X, -CChris Lattner
2005-05-11Necessary changes to codegen cttz efficiently on PowerPCNate Begeman
2005-05-11Fix the last remaining bug preventing us from switching the X86 BE overChris Lattner
2005-05-11Make sure to legalize generated ctpop nodes, convert tabs to spacesChris Lattner
2005-05-11expand count-leading/trailing-zeros; the test 2005-05-11-Popcount-ffs-fls.cDuraid Madina
2005-05-11Add some notes for expanding clz/ctzChris Lattner
2005-05-11Simplify this code, use the proper shift amountChris Lattner
2005-05-11Legalize this correctlyChris Lattner
2005-05-11implement expansion of ctpop nodes, implementing CodeGen/Generic/llvm-ct-intr...Chris Lattner
2005-05-09legalize readio/writeio into a load/store if requestedChris Lattner
2005-05-09legalize READPORT, WRITEPORT, READIO, WRITEIO, at least in the basic casesChris Lattner
2005-05-05ctpop lowering in legalizeAndrew Lenharth
2005-05-04Make promoteOp work for CT*Andrew Lenharth
2005-05-03Implement count leading zeros (ctlz), count trailing zeros (cttz), and countAndrew Lenharth
2005-04-30Codegen and legalize sin/cos/llvm.sqrt as FSIN/FCOS/FSQRT calls. This patchChris Lattner
2005-04-28Legalize FSQRT, FSIN, FCOS nodes, patch contributed by Morten OfstadChris Lattner
2005-04-27Implement Value* tracking for loads and stores in the selection DAG. This en...Andrew Lenharth
2005-04-21Remove trailing whitespaceMisha Brukman
2005-04-13Implement expansion of unsigned i64 -> FP.Chris Lattner
2005-04-13Make expansion of uint->fp cast assert out instead of infinitely recurse.Chris Lattner
2005-04-13Instead of making ZERO_EXTEND_INREG nodes, use the helper method inChris Lattner
2005-04-12promote extload i1 -> extload i8Chris Lattner
2005-04-12Emit comparisons against the sign bit better. Codegen this:Chris Lattner
2005-04-12Emit long comparison against -1 better. Instead of this (x86):Chris Lattner
2005-04-11Teach the dag mechanism that this:Chris Lattner
2005-04-11Fix expansion of shifts by exactly NVT bits on arch's (like X86) that haveChris Lattner
2005-04-11Fix libcall code to not pass a NULL Chain to LowerCallToNate Begeman
2005-04-10Teach legalize to deal with targets that don't support some SEXTLOAD/ZEXTLOADsChris Lattner
2005-04-10don't zextload fp values!Chris Lattner
2005-04-10Until we have a dag combiner, promote using zextload's instead of extloads.Chris Lattner
2005-04-10Fix a thinko. If the operand is promoted, pass the promoted value intoChris Lattner
2005-04-09Legalize BRCONDTWOWAY into a BRCOND/BR pair if a target doesn't support it.Chris Lattner
2005-04-06Teach ExpandShift how to handle shifts by a constant. This allows targetsNate Begeman
2005-04-06Expand SREM and UREM for targets that claim not to have them, like PowerPCNate Begeman
2005-04-04Handle expanding arguments to ISD::TRUNCATE. This happens on PowerPC whenNate Begeman
2005-04-03Fix sign_extend and zero_extend of promoted value types to expanded valueChris Lattner
2005-04-02Expand fabs into fnegChris Lattner
2005-04-02Several changes mixed up here. First when legalizing a DAG with pcmarker,Chris Lattner
2005-04-02fix some bugs in the implementation of SHL_PARTS and friends.Chris Lattner
2005-04-02Turn expanded shift operations into (e.g.) SHL_PARTS if the target supports it.Chris Lattner
2005-04-02Fix a bug when inserting a libcall into a function with no other calls.Chris Lattner
2005-04-02Fix a warning about an unhandled switch caseNate Begeman
2005-04-01Add ISD::UNDEF nodeNate Begeman
2005-03-31PCMarker support for DAG and AlphaAndrew Lenharth
2005-03-28implement legalization of build_pair for nateChris Lattner