comparison lib/Target/ARM/ARMSelectionDAGInfo.h @ 95:afa8332a0e37 LLVM3.8

LLVM 3.8
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Tue, 13 Oct 2015 17:48:58 +0900
parents 54457678186b
children 1172e4bd9c6f
comparison
equal deleted inserted replaced
84:f3e34b893a5f 95:afa8332a0e37
35 } 35 }
36 } // end namespace ARM_AM 36 } // end namespace ARM_AM
37 37
38 class ARMSelectionDAGInfo : public TargetSelectionDAGInfo { 38 class ARMSelectionDAGInfo : public TargetSelectionDAGInfo {
39 public: 39 public:
40 explicit ARMSelectionDAGInfo(const DataLayout &DL);
41 ~ARMSelectionDAGInfo();
42 40
43 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl, 41 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl,
44 SDValue Chain, 42 SDValue Chain,
45 SDValue Dst, SDValue Src, 43 SDValue Dst, SDValue Src,
46 SDValue Size, unsigned Align, 44 SDValue Size, unsigned Align,
47 bool isVolatile, bool AlwaysInline, 45 bool isVolatile, bool AlwaysInline,
48 MachinePointerInfo DstPtrInfo, 46 MachinePointerInfo DstPtrInfo,
49 MachinePointerInfo SrcPtrInfo) const override; 47 MachinePointerInfo SrcPtrInfo) const override;
50 48
49 SDValue EmitTargetCodeForMemmove(SelectionDAG &DAG, SDLoc dl,
50 SDValue Chain,
51 SDValue Dst, SDValue Src,
52 SDValue Size, unsigned Align, bool isVolatile,
53 MachinePointerInfo DstPtrInfo,
54 MachinePointerInfo SrcPtrInfo) const override;
55
51 // Adjust parameters for memset, see RTABI section 4.3.4 56 // Adjust parameters for memset, see RTABI section 4.3.4
52 SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc dl, 57 SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, SDLoc dl,
53 SDValue Chain, 58 SDValue Chain,
54 SDValue Op1, SDValue Op2, 59 SDValue Op1, SDValue Op2,
55 SDValue Op3, unsigned Align, 60 SDValue Op3, unsigned Align,
56 bool isVolatile, 61 bool isVolatile,
57 MachinePointerInfo DstPtrInfo) const override; 62 MachinePointerInfo DstPtrInfo) const override;
63
64 SDValue EmitSpecializedLibcall(SelectionDAG &DAG, SDLoc dl,
65 SDValue Chain,
66 SDValue Dst, SDValue Src,
67 SDValue Size, unsigned Align,
68 RTLIB::Libcall LC) const;
58 }; 69 };
59 70
60 } 71 }
61 72
62 #endif 73 #endif