diff options
| author | robot-ydb-importer <[email protected]> | 2024-02-01 17:04:24 +0300 |
|---|---|---|
| committer | Alexander Smirnov <[email protected]> | 2024-02-09 19:16:57 +0300 |
| commit | 92eec2d2cadb061e8d0736fc1e6006255d1db6aa (patch) | |
| tree | 374efcbf55311667e4f87ee2790bf71ac6756ae4 /contrib/libs/llvm12/include/llvm/CodeGen/MacroFusion.h | |
| parent | b34656eaa432fe5258085ca4e4642774fe082456 (diff) | |
YDB Import 559
Diffstat (limited to 'contrib/libs/llvm12/include/llvm/CodeGen/MacroFusion.h')
| -rw-r--r-- | contrib/libs/llvm12/include/llvm/CodeGen/MacroFusion.h | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/contrib/libs/llvm12/include/llvm/CodeGen/MacroFusion.h b/contrib/libs/llvm12/include/llvm/CodeGen/MacroFusion.h deleted file mode 100644 index 3b0b43b3d28..00000000000 --- a/contrib/libs/llvm12/include/llvm/CodeGen/MacroFusion.h +++ /dev/null @@ -1,60 +0,0 @@ -#pragma once - -#ifdef __GNUC__ -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wunused-parameter" -#endif - -//===- MacroFusion.h - Macro Fusion -----------------------------*- 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 definition of the DAG scheduling mutation to -/// pair instructions back to back. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_CODEGEN_MACROFUSION_H -#define LLVM_CODEGEN_MACROFUSION_H - -#include <functional> -#include <memory> - -namespace llvm { - -class MachineInstr; -class ScheduleDAGMutation; -class TargetInstrInfo; -class TargetSubtargetInfo; - -/// Check if the instr pair, FirstMI and SecondMI, should be fused -/// together. Given SecondMI, when FirstMI is unspecified, then check if -/// SecondMI may be part of a fused pair at all. -using ShouldSchedulePredTy = std::function<bool(const TargetInstrInfo &TII, - const TargetSubtargetInfo &TSI, - const MachineInstr *FirstMI, - const MachineInstr &SecondMI)>; - -/// Create a DAG scheduling mutation to pair instructions back to back -/// for instructions that benefit according to the target-specific -/// shouldScheduleAdjacent predicate function. -std::unique_ptr<ScheduleDAGMutation> -createMacroFusionDAGMutation(ShouldSchedulePredTy shouldScheduleAdjacent); - -/// Create a DAG scheduling mutation to pair branch instructions with one -/// of their predecessors back to back for instructions that benefit according -/// to the target-specific shouldScheduleAdjacent predicate function. -std::unique_ptr<ScheduleDAGMutation> -createBranchMacroFusionDAGMutation(ShouldSchedulePredTy shouldScheduleAdjacent); - -} // end namespace llvm - -#endif // LLVM_CODEGEN_MACROFUSION_H - -#ifdef __GNUC__ -#pragma GCC diagnostic pop -#endif |
