//===--------------------- PredicateExpander.h ----------------------------===// // // 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 /// Functionalities used by the Tablegen backends to expand machine predicates. /// /// See file llvm/Target/TargetInstrPredicate.td for a full list and description /// of all the supported MCInstPredicate classes. // //===----------------------------------------------------------------------===// #ifndef LLVM_UTILS_TABLEGEN_COMMON_PREDICATEEXPANDER_H #define LLVM_UTILS_TABLEGEN_COMMON_PREDICATEEXPANDER_H #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" #include "llvm/Support/raw_ostream.h" namespace llvm { class Record; class PredicateExpander { … }; // Forward declarations. class STIPredicateFunction; class OpcodeGroup; class STIPredicateExpander : public PredicateExpander { … }; } // namespace llvm #endif // LLVM_UTILS_TABLEGEN_COMMON_PREDICATEEXPANDER_H