Coverage Report

Created: 2019-07-24 05:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/lib/Target/AMDGPU/R600FrameLowering.h
Line
Count
Source
1
//===--------------------- R600FrameLowering.h ------------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
9
#ifndef LLVM_LIB_TARGET_AMDGPU_R600FRAMELOWERING_H
10
#define LLVM_LIB_TARGET_AMDGPU_R600FRAMELOWERING_H
11
12
#include "AMDGPUFrameLowering.h"
13
14
namespace llvm {
15
16
class R600FrameLowering : public AMDGPUFrameLowering {
17
public:
18
  R600FrameLowering(StackDirection D, unsigned StackAl, int LAO,
19
                    unsigned TransAl = 1) :
20
290
    AMDGPUFrameLowering(D, StackAl, LAO, TransAl) {}
21
  ~R600FrameLowering() override;
22
23
  void emitPrologue(MachineFunction &MF,
24
2.29k
                    MachineBasicBlock &MBB) const override {}
25
  void emitEpilogue(MachineFunction &MF,
26
2.28k
                    MachineBasicBlock &MBB) const override {}
27
  int getFrameIndexReference(const MachineFunction &MF, int FI,
28
                             unsigned &FrameReg) const override;
29
30
2.29k
  bool hasFP(const MachineFunction &MF) const override {
31
2.29k
    return false;
32
2.29k
  }
33
};
34
35
} // end namespace llvm
36
37
#endif // LLVM_LIB_TARGET_AMDGPU_R600FRAMELOWERING_H