mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-10 01:10:48 +00:00
50880d08ec
Patch by Che-Liang Chiou <clchiou@gmail.com>! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114294 91177308-0d34-0410-b5e6-96231b3b80d8
33 lines
970 B
C++
33 lines
970 B
C++
//====-- PTXSubtarget.h - Define Subtarget for the PTX ---------*- C++ -*--===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file declares the PTX specific subclass of TargetSubtarget.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef PTX_SUBTARGET_H
|
|
#define PTX_SUBTARGET_H
|
|
|
|
#include "llvm/Target/TargetSubtarget.h"
|
|
|
|
namespace llvm {
|
|
class PTXSubtarget : public TargetSubtarget {
|
|
private:
|
|
bool is_sm20;
|
|
|
|
public:
|
|
PTXSubtarget(const std::string &TT, const std::string &FS);
|
|
|
|
std::string ParseSubtargetFeatures(const std::string &FS,
|
|
const std::string &CPU);
|
|
}; // class PTXSubtarget
|
|
} // namespace llvm
|
|
|
|
#endif // PTX_SUBTARGET_H
|