Files
gps/tools/local/circt/include/llvm/CodeGen/BreakFalseDeps.h
T
2026-07-12 11:01:51 +03:00

38 lines
1.2 KiB
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
//
//===----------------------------------------------------------------------===//
///
/// \file
/// This file contains the declaration of the BreakFalseDepsPass class, used to
/// identify and avoid false dependencies which cause unnecessary stalls.
///
//===----------------------------------------------------------------------===//
#ifndef LLVM_CODEGEN_BREAKFALSEDEPS_H
#define LLVM_CODEGEN_BREAKFALSEDEPS_H
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionAnalysisManager.h"
#include "llvm/IR/PassManager.h"
#include "llvm/Support/Compiler.h"
namespace llvm {
class BreakFalseDepsPass : public PassInfoMixin<BreakFalseDepsPass> {
public:
LLVM_ABI PreservedAnalyses run(MachineFunction &MF,
MachineFunctionAnalysisManager &MFAM);
MachineFunctionProperties getRequiredProperties() const {
return MachineFunctionProperties().setNoVRegs();
}
};
} // namespace llvm
#endif // LLVM_CODEGEN_BREAKFALSEDEPS_H