LLVM
20.0.0git
lib
Target
AMDGPU
AMDGPUSelectionDAGInfo.cpp
Go to the documentation of this file.
1
//===----------------------------------------------------------------------===//
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
#include "
AMDGPUSelectionDAGInfo.h
"
10
#include "
AMDGPUISelLowering.h
"
11
12
using namespace
llvm
;
13
14
AMDGPUSelectionDAGInfo::~AMDGPUSelectionDAGInfo
() =
default
;
15
16
bool
AMDGPUSelectionDAGInfo::isTargetMemoryOpcode
(
unsigned
Opcode)
const
{
17
return
Opcode >=
AMDGPUISD::FIRST_MEMORY_OPCODE
&&
18
Opcode <=
AMDGPUISD::LAST_MEMORY_OPCODE
;
19
}
AMDGPUISelLowering.h
Interface definition of the TargetLowering class that is common to all AMD GPUs.
AMDGPUSelectionDAGInfo.h
llvm::AMDGPUSelectionDAGInfo::~AMDGPUSelectionDAGInfo
~AMDGPUSelectionDAGInfo() override
llvm::AMDGPUSelectionDAGInfo::isTargetMemoryOpcode
bool isTargetMemoryOpcode(unsigned Opcode) const override
Returns true if a node with the given target-specific opcode has a memory operand.
Definition:
AMDGPUSelectionDAGInfo.cpp:16
llvm::AMDGPUISD::LAST_MEMORY_OPCODE
@ LAST_MEMORY_OPCODE
Definition:
AMDGPUISelLowering.h:607
llvm::AMDGPUISD::FIRST_MEMORY_OPCODE
@ FIRST_MEMORY_OPCODE
Definition:
AMDGPUISelLowering.h:550
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition:
AddressRanges.h:18
Generated on Fri Jan 31 2025 04:17:27 for LLVM by
1.9.6