LLVM 20.0.0git
AMDGPUSelectionDAGInfo.h
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#ifndef LLVM_LIB_TARGET_AMDGPU_AMDGPUSELECTIONDAGINFO_H
10#define LLVM_LIB_TARGET_AMDGPU_AMDGPUSELECTIONDAGINFO_H
11
13
14namespace llvm {
15
17public:
19
20 bool isTargetMemoryOpcode(unsigned Opcode) const override;
21};
22
23} // namespace llvm
24
25#endif // LLVM_LIB_TARGET_AMDGPU_AMDGPUSELECTIONDAGINFO_H
bool isTargetMemoryOpcode(unsigned Opcode) const override
Returns true if a node with the given target-specific opcode has a memory operand.
Targets can subclass this to parameterize the SelectionDAG lowering and instruction selection process...
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18