LLVM API Documentation
00001 //===-- XCoreSelectionDAGInfo.h - XCore SelectionDAG Info -------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This file defines the XCore subclass for TargetSelectionDAGInfo. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #ifndef LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H 00015 #define LLVM_LIB_TARGET_XCORE_XCORESELECTIONDAGINFO_H 00016 00017 #include "llvm/Target/TargetSelectionDAGInfo.h" 00018 00019 namespace llvm { 00020 00021 class XCoreTargetMachine; 00022 00023 class XCoreSelectionDAGInfo : public TargetSelectionDAGInfo { 00024 public: 00025 explicit XCoreSelectionDAGInfo(const DataLayout &DL); 00026 ~XCoreSelectionDAGInfo(); 00027 00028 SDValue 00029 EmitTargetCodeForMemcpy(SelectionDAG &DAG, SDLoc dl, 00030 SDValue Chain, 00031 SDValue Op1, SDValue Op2, 00032 SDValue Op3, unsigned Align, bool isVolatile, 00033 bool AlwaysInline, 00034 MachinePointerInfo DstPtrInfo, 00035 MachinePointerInfo SrcPtrInfo) const override; 00036 }; 00037 00038 } 00039 00040 #endif