Path: blob/main/contrib/llvm-project/llvm/lib/Target/BPF/BPFSelectionDAGInfo.h
35269 views
//===-- BPFSelectionDAGInfo.h - BPF SelectionDAG Info -----------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file defines the BPF subclass for SelectionDAGTargetInfo.9//10//===----------------------------------------------------------------------===//1112#ifndef LLVM_LIB_TARGET_BPF_BPFSELECTIONDAGINFO_H13#define LLVM_LIB_TARGET_BPF_BPFSELECTIONDAGINFO_H1415#include "llvm/CodeGen/SelectionDAGTargetInfo.h"1617namespace llvm {1819class BPFSelectionDAGInfo : public SelectionDAGTargetInfo {20public:21SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl,22SDValue Chain, SDValue Dst, SDValue Src,23SDValue Size, Align Alignment,24bool isVolatile, bool AlwaysInline,25MachinePointerInfo DstPtrInfo,26MachinePointerInfo SrcPtrInfo) const override;2728unsigned getCommonMaxStoresPerMemFunc() const { return 128; }2930};3132}3334#endif353637