LLVM
20.0.0git
lib
Target
NVPTX
MCTargetDesc
NVPTXBaseInfo.h
Go to the documentation of this file.
1
//===-- NVPTXBaseInfo.h - Top-level definitions for NVPTX -------*- 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
// This file contains small standalone helper functions and enum definitions for
10
// the NVPTX target useful for the compiler back-end and the MC libraries.
11
// As such, it deliberately does not include references to LLVM core
12
// code gen types, passes, etc..
13
//
14
//===----------------------------------------------------------------------===//
15
16
#ifndef LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXBASEINFO_H
17
#define LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXBASEINFO_H
18
19
#include "
llvm/Support/NVPTXAddrSpace.h
"
20
namespace
llvm
{
21
22
using namespace
NVPTXAS;
23
24
namespace
NVPTXII {
25
enum
{
26
// These must be kept in sync with TSFlags in NVPTXInstrFormats.td
27
IsTexFlag
= 0x80,
28
IsSuldMask
= 0x300,
29
IsSuldShift
= 8,
30
IsSustFlag
= 0x400,
31
IsSurfTexQueryFlag
= 0x800,
32
IsTexModeUnifiedFlag
= 0x1000
33
};
34
}
// namespace NVPTXII
35
36
}
// namespace llvm
37
#endif
NVPTXAddrSpace.h
NVPTX address space definition.
llvm::NVPTXII::IsSurfTexQueryFlag
@ IsSurfTexQueryFlag
Definition:
NVPTXBaseInfo.h:31
llvm::NVPTXII::IsTexModeUnifiedFlag
@ IsTexModeUnifiedFlag
Definition:
NVPTXBaseInfo.h:32
llvm::NVPTXII::IsSustFlag
@ IsSustFlag
Definition:
NVPTXBaseInfo.h:30
llvm::NVPTXII::IsTexFlag
@ IsTexFlag
Definition:
NVPTXBaseInfo.h:27
llvm::NVPTXII::IsSuldMask
@ IsSuldMask
Definition:
NVPTXBaseInfo.h:28
llvm::NVPTXII::IsSuldShift
@ IsSuldShift
Definition:
NVPTXBaseInfo.h:29
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Sun Dec 22 2024 01:36:40 for LLVM by
1.9.6