//===- InterferenceCache.h - Caching per-block interference ----*- 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 // //===----------------------------------------------------------------------===// // // InterferenceCache remembers per-block interference from LiveIntervalUnions, // fixed RegUnit interference, and register masks. // //===----------------------------------------------------------------------===// #ifndef LLVM_LIB_CODEGEN_INTERFERENCECACHE_H #define LLVM_LIB_CODEGEN_INTERFERENCECACHE_H #include "llvm/ADT/SmallVector.h" #include "llvm/CodeGen/LiveInterval.h" #include "llvm/CodeGen/LiveIntervalUnion.h" #include "llvm/CodeGen/SlotIndexes.h" #include "llvm/Support/Compiler.h" #include <cassert> #include <cstddef> #include <cstdlib> namespace llvm { class LiveIntervals; class MachineFunction; class TargetRegisterInfo; class LLVM_LIBRARY_VISIBILITY InterferenceCache { … }; } // end namespace llvm #endif // LLVM_LIB_CODEGEN_INTERFERENCECACHE_H