10b57cec5SDimitry Andric //=- WebAssemblySelectionDAGInfo.h - WebAssembly SelectionDAG Info -*- C++ -*-// 20b57cec5SDimitry Andric // 30b57cec5SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 40b57cec5SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 50b57cec5SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 60b57cec5SDimitry Andric // 70b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 80b57cec5SDimitry Andric /// 90b57cec5SDimitry Andric /// \file 100b57cec5SDimitry Andric /// This file defines the WebAssembly subclass for 110b57cec5SDimitry Andric /// SelectionDAGTargetInfo. 120b57cec5SDimitry Andric /// 130b57cec5SDimitry Andric //===----------------------------------------------------------------------===// 140b57cec5SDimitry Andric 150b57cec5SDimitry Andric #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYSELECTIONDAGINFO_H 160b57cec5SDimitry Andric #define LLVM_LIB_TARGET_WEBASSEMBLY_WEBASSEMBLYSELECTIONDAGINFO_H 170b57cec5SDimitry Andric 180b57cec5SDimitry Andric #include "llvm/CodeGen/SelectionDAGTargetInfo.h" 190b57cec5SDimitry Andric 200b57cec5SDimitry Andric namespace llvm { 210b57cec5SDimitry Andric 220b57cec5SDimitry Andric class WebAssemblySelectionDAGInfo final : public SelectionDAGTargetInfo { 230b57cec5SDimitry Andric public: 240b57cec5SDimitry Andric ~WebAssemblySelectionDAGInfo() override; 250b57cec5SDimitry Andric SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl, 260b57cec5SDimitry Andric SDValue Chain, SDValue Op1, SDValue Op2, 275ffd83dbSDimitry Andric SDValue Op3, Align Alignment, bool isVolatile, 280b57cec5SDimitry Andric bool AlwaysInline, 290b57cec5SDimitry Andric MachinePointerInfo DstPtrInfo, 300b57cec5SDimitry Andric MachinePointerInfo SrcPtrInfo) const override; 315ffd83dbSDimitry Andric SDValue 325ffd83dbSDimitry Andric EmitTargetCodeForMemmove(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, 335ffd83dbSDimitry Andric SDValue Op1, SDValue Op2, SDValue Op3, 345ffd83dbSDimitry Andric Align Alignment, bool isVolatile, 350b57cec5SDimitry Andric MachinePointerInfo DstPtrInfo, 360b57cec5SDimitry Andric MachinePointerInfo SrcPtrInfo) const override; 370b57cec5SDimitry Andric SDValue EmitTargetCodeForMemset(SelectionDAG &DAG, const SDLoc &DL, 380b57cec5SDimitry Andric SDValue Chain, SDValue Op1, SDValue Op2, 395ffd83dbSDimitry Andric SDValue Op3, Align Alignment, bool IsVolatile, 40*81ad6265SDimitry Andric bool AlwaysInline, 410b57cec5SDimitry Andric MachinePointerInfo DstPtrInfo) const override; 420b57cec5SDimitry Andric }; 430b57cec5SDimitry Andric 440b57cec5SDimitry Andric } // end namespace llvm 450b57cec5SDimitry Andric 460b57cec5SDimitry Andric #endif 47