mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-27 14:19:01 +00:00
AMDGPU/SI: Add hsa code object directives
Reviewers: arsenm Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D10757 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240831 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
32
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
Normal file
32
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
Normal file
@@ -0,0 +1,32 @@
|
||||
//===-- AMDGPUBaseInfo.h - Top level definitions for AMDGPU -----*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUBASEINFO_H
|
||||
#define LLVM_LIB_TARGET_AMDGPU_UTILS_AMDGPUBASEINFO_H
|
||||
|
||||
#include "AMDKernelCodeT.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class FeatureBitset;
|
||||
|
||||
namespace AMDGPU {
|
||||
|
||||
struct IsaVersion {
|
||||
unsigned Major;
|
||||
unsigned Minor;
|
||||
unsigned Stepping;
|
||||
};
|
||||
|
||||
IsaVersion getIsaVersion(const FeatureBitset &Features);
|
||||
|
||||
} // end namespace AMDGPU
|
||||
} // end namespace llvm
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user