1 //===-- llvm/CodeGen/MachineCombinerPattern.h - Instruction pattern supported by
2 // combiner ------*- C++ -*-===//
4 // The LLVM Compiler Infrastructure
6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 // This file defines instruction pattern supported by combiner
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_CODEGEN_MACHINECOMBINERPATTERN_H
16 #define LLVM_CODEGEN_MACHINECOMBINERPATTERN_H
20 /// These are instruction patterns matched by the machine combiner pass.
21 enum class MachineCombinerPattern {
22 // These are commutative variants for reassociating a computation chain. See
23 // the comments before getMachineCombinerPatterns() in TargetInstrInfo.cpp.
29 // These are multiply-add patterns matched by the AArch64 machine combiner.
44 } // end namespace llvm