HexagonSelectionDAGInfo.h revision cd81d94322a39503e4a3e87b6ee03d4fcb3465fb
1//===-- HexagonSelectionDAGInfo.h - Hexagon SelectionDAG Info ---*- C++ -*-===// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9// 10// This file defines the Hexagon subclass for TargetSelectionDAGInfo. 11// 12//===----------------------------------------------------------------------===// 13 14#ifndef HexagonSELECTIONDAGINFO_H 15#define HexagonSELECTIONDAGINFO_H 16 17#include "llvm/Target/TargetSelectionDAGInfo.h" 18 19namespace llvm { 20 21class HexagonSelectionDAGInfo : public TargetSelectionDAGInfo { 22public: 23 explicit HexagonSelectionDAGInfo(const DataLayout &DL); 24 ~HexagonSelectionDAGInfo(); 25 26 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl, 27 SDValue Chain, 28 SDValue Dst, SDValue Src, 29 SDValue Size, unsigned Align, 30 bool isVolatile, bool AlwaysInline, 31 MachinePointerInfo DstPtrInfo, 32 MachinePointerInfo SrcPtrInfo) const override; 33}; 34 35} 36 37#endif 38