diff options
| author | Dan Gohman <gohman@apple.com> | 2009-03-04 19:44:21 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-03-04 19:44:21 +0000 |
| commit | 55d7b2ac4f7337c7546cd8ecd814afc757185e24 (patch) | |
| tree | 811fb85483691f83c80717fa9d83d90a0c351116 /llvm/lib/Target/X86/X86ISelLowering.h | |
| parent | f8920d0c7574978c63665b085bd7bb793a97a17d (diff) | |
| download | bcm5719-llvm-55d7b2ac4f7337c7546cd8ecd814afc757185e24.tar.gz bcm5719-llvm-55d7b2ac4f7337c7546cd8ecd814afc757185e24.zip | |
Re-apply 66008, now that the unfoldMemoryOperand bug is fixed.
llvm-svn: 66058
Diffstat (limited to 'llvm/lib/Target/X86/X86ISelLowering.h')
| -rw-r--r-- | llvm/lib/Target/X86/X86ISelLowering.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.h b/llvm/lib/Target/X86/X86ISelLowering.h index 09332930a77..5d3f287a381 100644 --- a/llvm/lib/Target/X86/X86ISelLowering.h +++ b/llvm/lib/Target/X86/X86ISelLowering.h @@ -235,9 +235,9 @@ namespace llvm { PCMPEQB, PCMPEQW, PCMPEQD, PCMPEQQ, PCMPGTB, PCMPGTW, PCMPGTD, PCMPGTQ, - // ADD, SUB, SMUL, UMUL - Arithmetic operations with overflow/carry - // intrinsics. - ADD, SUB, SMUL, UMUL + // ADD, SUB, SMUL, UMUL, etc. - Arithmetic operations with FLAGS results. + ADD, SUB, SMUL, UMUL, + INC, DEC }; } @@ -659,6 +659,14 @@ namespace llvm { MachineBasicBlock *EmitAtomicMinMaxWithCustomInserter(MachineInstr *BInstr, MachineBasicBlock *BB, unsigned cmovOpc) const; + + /// Emit nodes that will be selected as "test Op0,Op0", or something + /// equivalent. + SDValue EmitTest(SDValue Op0, SelectionDAG &DAG); + + /// Emit nodes that will be selected as "cmp Op0,Op1", or something + /// equivalent. + SDValue EmitCmp(SDValue Op0, SDValue Op1, SelectionDAG &DAG); }; namespace X86 { |

