Fix may-be-used-uninitialized warning.
[oota-llvm.git] / lib / Target / CellSPU / SPUISelLowering.h
index a98a8f6bbefd1d486f8d8c0964bffc1625dae018..866c632d527ac0adaf777c024c700c29014f526f 100644 (file)
@@ -61,7 +61,7 @@ namespace llvm {
     };
   }
 
-  /// Predicates that are used for node matching:
+  //! Utility functions specific to CellSPU:
   namespace SPU {
     SDValue get_vec_u18imm(SDNode *N, SelectionDAG &DAG,
                              MVT ValueType);
@@ -78,9 +78,9 @@ namespace llvm {
 
     SDValue LowerConstantPool(SDValue Op, SelectionDAG &DAG,
                               const SPUTargetMachine &TM);
-
-    SDValue getBorrowGenerateShufMask(SelectionDAG &DAG);
-    SDValue getCarryGenerateShufMask(SelectionDAG &DAG);
+    //! Simplify a MVT::v2i64 constant splat to CellSPU-ready form
+    SDValue LowerV2I64Splat(MVT OpVT, SelectionDAG &DAG, uint64_t splat,
+                             DebugLoc dl);
   }
 
   class SPUTargetMachine;            // forward dec'l.