LLVM 17.0.0git
AMDGPUCombinerHelper.h
Go to the documentation of this file.
1//=== lib/CodeGen/GlobalISel/AMDGPUCombinerHelper.h -----------------------===//
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/// \file
10/// This contains common combine transformations that may be used in a combine
11/// pass.
12///
13//===----------------------------------------------------------------------===//
14
17
18using namespace llvm;
19
21public:
23
26};
This contains common combine transformations that may be used in a combine pass,or by the target else...
This contains common code to drive combines.
IRTranslator LLVM IR MI
bool matchFoldableFneg(MachineInstr &MI, MachineInstr *&MatchInfo)
void applyFoldableFneg(MachineInstr &MI, MachineInstr *&MatchInfo)
CombinerHelper(GISelChangeObserver &Observer, MachineIRBuilder &B, bool IsPreLegalize, GISelKnownBits *KB=nullptr, MachineDominatorTree *MDT=nullptr, const LegalizerInfo *LI=nullptr)
Representation of each machine instruction.
Definition: MachineInstr.h:68
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18