[PowerPC] Do not emit record-form rotates when record-form andi/andis suffices
[llvm-core.git] / lib / Target / BPF / BPFSelectionDAGInfo.h
blob19d3c5769573620fc5cb09a1a1bf6cbd4488c673
1 //===-- BPFSelectionDAGInfo.h - BPF 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 BPF subclass for SelectionDAGTargetInfo.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_LIB_TARGET_BPF_BPFSELECTIONDAGINFO_H
15 #define LLVM_LIB_TARGET_BPF_BPFSELECTIONDAGINFO_H
17 #include "llvm/CodeGen/SelectionDAGTargetInfo.h"
19 namespace llvm {
21 class BPFSelectionDAGInfo : public SelectionDAGTargetInfo {
22 public:
23 SDValue EmitTargetCodeForMemcpy(SelectionDAG &DAG, const SDLoc &dl,
24 SDValue Chain, SDValue Dst, SDValue Src,
25 SDValue Size, unsigned Align, bool isVolatile,
26 bool AlwaysInline,
27 MachinePointerInfo DstPtrInfo,
28 MachinePointerInfo SrcPtrInfo) const override;
30 unsigned getCommonMaxStoresPerMemFunc() const { return 128; }
36 #endif