mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-24 08:33:39 +00:00
42 lines
1.1 KiB
C
42 lines
1.1 KiB
C
|
//===-- PTXBaseInfo.h - Top level definitions for 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 contains small standalone helper functions and enum definitions for
|
||
|
// the PTX target useful for the compiler back-end and the MC libraries.
|
||
|
// As such, it deliberately does not include references to LLVM core
|
||
|
// code gen types, passes, etc..
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
#ifndef PTXBASEINFO_H
|
||
|
#define PTXBASEINFO_H
|
||
|
|
||
|
#include "PTXMCTargetDesc.h"
|
||
|
|
||
|
namespace llvm {
|
||
|
namespace PTX {
|
||
|
enum StateSpace {
|
||
|
GLOBAL = 0, // default to global state space
|
||
|
CONSTANT = 1,
|
||
|
LOCAL = 2,
|
||
|
PARAMETER = 3,
|
||
|
SHARED = 4
|
||
|
};
|
||
|
|
||
|
enum Predicate {
|
||
|
PRED_NORMAL = 0,
|
||
|
PRED_NEGATE = 1,
|
||
|
PRED_NONE = 2
|
||
|
};
|
||
|
} // namespace PTX
|
||
|
} // namespace llvm
|
||
|
|
||
|
#endif
|
||
|
|