//==- llvm/CodeGen/AggressiveAntiDepBreaker.h - Anti-Dep Support -*- 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 // //===----------------------------------------------------------------------===// // // This file implements the AggressiveAntiDepBreaker class, which // implements register anti-dependence breaking during post-RA // scheduling. It attempts to break all anti-dependencies within a // block. // //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_CODEGEN_AGGRESSIVEANTIDEPBREAKER_H #define LLVM_LIB_CODEGEN_AGGRESSIVEANTIDEPBREAKER_H #include "llvm/ADT/BitVector.h" #include "llvm/CodeGen/AntiDepBreaker.h" #include "llvm/CodeGen/TargetSubtargetInfo.h" #include "llvm/Support/Compiler.h" #include <map> #include <set> #include <vector> namespace llvm { class MachineBasicBlock; class MachineFunction; class MachineInstr; class MachineOperand; class MachineRegisterInfo; class RegisterClassInfo; class TargetInstrInfo; class TargetRegisterClass; class TargetRegisterInfo; /// Contains all the state necessary for anti-dep breaking. class LLVM_LIBRARY_VISIBILITY AggressiveAntiDepState { … }; class LLVM_LIBRARY_VISIBILITY AggressiveAntiDepBreaker : public AntiDepBreaker { … }; } // end namespace llvm #endif // LLVM_LIB_CODEGEN_AGGRESSIVEANTIDEPBREAKER_H