ptx: add ld instruction and test
[oota-llvm.git] / lib / Target / PTX / PTXISelLowering.h
index 68badf538cebde15413df4621c9df8ddc3e3acce..14f2fc014671e352d089a92af83f3c38e518608e 100644 (file)
@@ -38,6 +38,8 @@ class PTXTargetLowering : public TargetLowering {
     virtual unsigned getFunctionAlignment(const Function *F) const {
       return 2; }
 
+    virtual SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const;
+
     virtual SDValue
       LowerFormalArguments(SDValue Chain,
                            CallingConv::ID CallConv,
@@ -55,6 +57,9 @@ class PTXTargetLowering : public TargetLowering {
                   const SmallVectorImpl<SDValue> &OutVals,
                   DebugLoc dl,
                   SelectionDAG &DAG) const;
+
+  private:
+    SDValue LowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const;
 }; // class PTXTargetLowering
 } // namespace llvm