LLVM 22.0.0git
PPCSelectionDAGInfo.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_POWERPC_PPCSELECTIONDAGINFO_H
10#define LLVM_LIB_TARGET_POWERPC_PPCSELECTIONDAGINFO_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 std::pair<SDValue, SDValue>
26 SDValue Op1, SDValue Op2, SDValue Op3,
27 const CallInst *CI) const override;
28};
29
30} // namespace llvm
31
32#endif // LLVM_LIB_TARGET_POWERPC_PPCSELECTIONDAGINFO_H
This class represents a function call, abstracting a target machine's calling convention.
std::pair< SDValue, SDValue > EmitTargetCodeForMemcmp(SelectionDAG &DAG, const SDLoc &dl, SDValue Chain, SDValue Op1, SDValue Op2, SDValue Op3, const CallInst *CI) const override
Emit target-specific code that performs a memcmp/bcmp, in cases where that is faster than a libcall.
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.
Wrapper class for IR location info (IR ordering and DebugLoc) to be passed into SDNode creation funct...
Unlike LLVM values, Selection DAG nodes may return multiple values as the result of a computation.
This is used to represent a portion of an LLVM function in a low-level Data Dependence DAG representa...
This is an optimization pass for GlobalISel generic memory operations.