1*ef16c8eaSPatrick Holland //===--------------------- CustomBehaviour.cpp ------------------*- C++ -*-===// 2*ef16c8eaSPatrick Holland // 3*ef16c8eaSPatrick Holland // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*ef16c8eaSPatrick Holland // See https://llvm.org/LICENSE.txt for license information. 5*ef16c8eaSPatrick Holland // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*ef16c8eaSPatrick Holland // 7*ef16c8eaSPatrick Holland //===----------------------------------------------------------------------===// 8*ef16c8eaSPatrick Holland /// \file 9*ef16c8eaSPatrick Holland /// 10*ef16c8eaSPatrick Holland /// This file implements methods from the CustomBehaviour interface. 11*ef16c8eaSPatrick Holland /// 12*ef16c8eaSPatrick Holland //===----------------------------------------------------------------------===// 13*ef16c8eaSPatrick Holland 14*ef16c8eaSPatrick Holland #include "llvm/MCA/CustomBehaviour.h" 15*ef16c8eaSPatrick Holland 16*ef16c8eaSPatrick Holland namespace llvm { 17*ef16c8eaSPatrick Holland namespace mca { 18*ef16c8eaSPatrick Holland 19*ef16c8eaSPatrick Holland unsigned CustomBehaviour::checkCustomHazard(ArrayRef<InstRef> IssuedInst, 20*ef16c8eaSPatrick Holland const InstRef &IR) { 21*ef16c8eaSPatrick Holland // 0 signifies that there are no hazards that need to be waited on 22*ef16c8eaSPatrick Holland return 0; 23*ef16c8eaSPatrick Holland } 24*ef16c8eaSPatrick Holland 25*ef16c8eaSPatrick Holland } // namespace mca 26*ef16c8eaSPatrick Holland } // namespace llvm 27