LLVM 20.0.0git
RISCVSelectionDAGInfo.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_RISCV_RISCVSELECTIONDAGINFO_H
10#define LLVM_LIB_TARGET_RISCV_RISCVSELECTIONDAGINFO_H
11
13
14namespace llvm {
15
17public:
19
20 bool isTargetMemoryOpcode(unsigned Opcode) const override;
21
22 bool isTargetStrictFPOpcode(unsigned Opcode) const override;
23};
24
25} // namespace llvm
26
27#endif // LLVM_LIB_TARGET_RISCV_RISCVSELECTIONDAGINFO_H
bool isTargetMemoryOpcode(unsigned Opcode) const override
Returns true if a node with the given target-specific opcode has a memory operand.
bool isTargetStrictFPOpcode(unsigned Opcode) const override
Returns true if a node with the given target-specific opcode has strict floating-point semantics.
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