1 //===- AggressiveInstCombine.h - AggressiveInstCombine pass -----*- C++ -*-===// 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 /// \file 9 /// 10 /// AggressiveInstCombiner - Combine expression patterns to form expressions 11 /// with fewer, simple instructions. This pass does not modify the CFG. 12 /// 13 //===----------------------------------------------------------------------===// 14 15 #ifndef LLVM_TRANSFORMS_AGGRESSIVEINSTCOMBINE_AGGRESSIVEINSTCOMBINE_H 16 #define LLVM_TRANSFORMS_AGGRESSIVEINSTCOMBINE_AGGRESSIVEINSTCOMBINE_H 17 18 #include "llvm/IR/PassManager.h" 19 20 namespace llvm { 21 22 class AggressiveInstCombinePass 23 : public PassInfoMixin<AggressiveInstCombinePass> { 24 public: 25 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM); 26 }; 27 } 28 29 #endif 30