1 //===--------------------- CustomBehaviour.cpp ------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 /// This file implements methods from the CustomBehaviour interface.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/MCA/CustomBehaviour.h"
19 CustomBehaviour::~CustomBehaviour() {}
21 unsigned CustomBehaviour::checkCustomHazard(ArrayRef
<InstRef
> IssuedInst
,
23 // 0 signifies that there are no hazards that need to be waited on