llvm-6502/lib/CodeGen
Nate Begeman d7c4a4a6c0 Necessary changes to codegen cttz efficiently on PowerPC
1. Teach LegalizeDAG how to better legalize CTTZ if the target doesn't have
   CTPOP, but does have CTLZ
2. Teach PPC32 how to do sub x, const -> add x, -const for valid consts
3. Teach PPC32 how to do and (xor a, -1) b -> andc b, a
4. Teach PPC32 that ISD::CTLZ -> PPC::CNTLZW


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21880 91177308-0d34-0410-b5e6-96231b3b80d8
2005-05-11 23:43:56 +00:00
..
SelectionDAG Necessary changes to codegen cttz efficiently on PowerPC 2005-05-11 23:43:56 +00:00
AsmPrinter.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
BranchFolding.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
IntrinsicLowering.cpp Fix lowering of ctlz, so now UnitTests/2005-05-11-Popcount-ffs-fls passes 2005-05-11 20:24:12 +00:00
LiveInterval.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
LiveInterval.h
LiveIntervalAnalysis.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
LiveIntervalAnalysis.h Allow the live interval analysis pass to be a bit more aggressive about 2005-03-09 23:05:19 +00:00
LiveVariables.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
MachineBasicBlock.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
MachineCodeEmitter.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
MachineFunction.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
MachineInstr.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
Makefile
Passes.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
PHIElimination.cpp * Order #includes alphabetically 2005-05-05 23:45:17 +00:00
PhysRegTracker.h
PrologEpilogInserter.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
RegAllocIterativeScan.cpp
RegAllocLinearScan.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
RegAllocLocal.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
RegAllocSimple.cpp Convert tabs to spaces 2005-04-22 04:01:18 +00:00
TwoAddressInstructionPass.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
UnreachableBlockElim.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
VirtRegMap.cpp Remove trailing whitespace 2005-04-21 22:36:52 +00:00
VirtRegMap.h Remove trailing whitespace 2005-04-21 22:36:52 +00:00