diff options
author | Tom Stellard <[email protected]> | 2012-08-23 19:28:50 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-08-23 21:54:32 +0000 |
commit | 228a6641ccddaf24a993f827af1e97379785985a (patch) | |
tree | c9ff0fd8f4a53f42ffce6377ddf7d06165311fb3 /src/gallium/drivers/radeon/MCTargetDesc/AMDGPUMCAsmInfo.h | |
parent | 5a1edb8655aeab17bf0d90e202fb31a1adb53498 (diff) |
radeon/llvm: Pull changes from external version of the backend
Diffstat (limited to 'src/gallium/drivers/radeon/MCTargetDesc/AMDGPUMCAsmInfo.h')
-rw-r--r-- | src/gallium/drivers/radeon/MCTargetDesc/AMDGPUMCAsmInfo.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/MCTargetDesc/AMDGPUMCAsmInfo.h b/src/gallium/drivers/radeon/MCTargetDesc/AMDGPUMCAsmInfo.h new file mode 100644 index 00000000000..0ca264beb0f --- /dev/null +++ b/src/gallium/drivers/radeon/MCTargetDesc/AMDGPUMCAsmInfo.h @@ -0,0 +1,30 @@ +//===-- MCTargetDesc/AMDGPUMCAsmInfo.h - TODO: Add brief description -------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// TODO: Add full description +// +//===----------------------------------------------------------------------===// + +#ifndef AMDGPUMCASMINFO_H_ +#define AMDGPUMCASMINFO_H_ + +#include "llvm/MC/MCAsmInfo.h" +namespace llvm { + class Target; + class StringRef; + + class AMDGPUMCAsmInfo : public MCAsmInfo { + public: + explicit AMDGPUMCAsmInfo(const Target &T, StringRef &TT); + const char* + getDataASDirective(unsigned int Size, unsigned int AS) const; + const MCSection* getNonexecutableStackSection(MCContext &CTX) const; + }; +} // namespace llvm +#endif // AMDGPUMCASMINFO_H_ |