mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
cd74c48503
If -enable-constraint-elimination is specified, add it to the -O2/-O3 pipeline. (-O1 uses a separate function now.) Reviewed By: fhahn, aeubanks Differential Revision: https://reviews.llvm.org/D88365
25 lines
780 B
C++
25 lines
780 B
C++
//===- ConstraintElimination.h - Constraint elimination pass ----*- C++ -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TRANSFORMS_SCALAR_CONSTRAINTELIMINATION_H
|
|
#define LLVM_TRANSFORMS_SCALAR_CONSTRAINTELIMINATION_H
|
|
|
|
#include "llvm/IR/PassManager.h"
|
|
|
|
namespace llvm {
|
|
|
|
class ConstraintEliminationPass
|
|
: public PassInfoMixin<ConstraintEliminationPass> {
|
|
public:
|
|
PreservedAnalyses run(Function &F, FunctionAnalysisManager &);
|
|
};
|
|
|
|
} // end namespace llvm
|
|
|
|
#endif // LLVM_TRANSFORMS_SCALAR_CONSTRAINTELIMINATION_H
|