13#ifndef LLVM_LIB_TARGET_NVPTX_NVPTXISELDAGTODAG_H
14#define LLVM_LIB_TARGET_NVPTX_NVPTXISELDAGTODAG_H
46 int getDivF32Level()
const;
47 bool usePrecSqrtF32()
const;
48 bool useF32FTZ()
const;
49 bool allowFMA()
const;
50 bool allowUnsafeFPMath()
const;
51 bool doRsqrtOpt()
const;
63 bool SelectInlineAsmMemoryOperand(
const SDValue &
Op,
65 std::vector<SDValue> &OutOps)
override;
69#include "NVPTXGenDAGISel.inc"
72 bool tryIntrinsicNoChain(
SDNode *
N);
73 bool tryIntrinsicChain(
SDNode *
N);
74 bool tryIntrinsicVoid(
SDNode *
N);
75 void SelectTexSurfHandle(
SDNode *
N);
85 void SelectAddrSpaceCast(
SDNode *
N);
88 bool SelectSETP_F16X2(
SDNode *
N);
89 bool SelectSETP_BF16X2(
SDNode *
N);
90 bool tryEXTRACT_VECTOR_ELEMENT(
SDNode *
N);
91 void SelectV2I64toI128(
SDNode *
N);
92 void SelectI128toV2I64(
SDNode *
N);
93 void SelectCpAsyncBulkTensorG2SCommon(
SDNode *
N,
bool IsIm2Col =
false);
94 void SelectCpAsyncBulkTensorS2GCommon(
SDNode *
N,
bool IsIm2Col =
false);
95 void SelectCpAsyncBulkTensorPrefetchCommon(
SDNode *
N,
bool IsIm2Col =
false);
96 void SelectCpAsyncBulkTensorReduceCommon(
SDNode *
N,
unsigned RedOp,
97 bool IsIm2Col =
false);
100 return CurDAG->getTargetConstant(Imm,
DL, MVT::i32);
119 bool ChkMemSDNodeAddressSpace(
SDNode *
N,
unsigned int spN)
const;
127 std::pair<NVPTX::Ordering, NVPTX::Scope>
AMDGPU Register Bank Select
MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL
#define LLVM_LIBRARY_VISIBILITY
This file implements a map that provides insertion order iteration.
This class represents an Operation in the Expression.
This is an important class for using LLVM in a threaded context.
This class is used to represent ISD::LOAD nodes.
This is an abstract virtual class for memory operations.
NVPTXDAGToDAGISel()=delete
Wrapper class for IR location info (IR ordering and DebugLoc) to be passed into SDNode creation funct...
Represents one node in the SelectionDAG.
Unlike LLVM values, Selection DAG nodes may return multiple values as the result of a computation.
SelectionDAGISel - This is the common base class used for SelectionDAG-based pattern-matching instruc...
@ C
The default llvm calling convention, compatible with C.
This is an optimization pass for GlobalISel generic memory operations.
CodeGenOptLevel
Code generation optimization level.
NVPTX::Scope operator[](SyncScope::ID ID) const
A MapVector that performs no allocations if smaller than a certain size.