1 //===--------------------- CustomBehaviour.cpp ------------------*- C++ -*-===// 2 // 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 6 // 7 //===----------------------------------------------------------------------===// 8 /// \file 9 /// 10 /// This file implements methods from the CustomBehaviour interface. 11 /// 12 //===----------------------------------------------------------------------===// 13 14 #include "llvm/MCA/CustomBehaviour.h" 15 16 namespace llvm { 17 namespace mca { 18 19 unsigned CustomBehaviour::checkCustomHazard(ArrayRef<InstRef> IssuedInst, 20 const InstRef &IR) { 21 // 0 signifies that there are no hazards that need to be waited on 22 return 0; 23 } 24 25 } // namespace mca 26 } // namespace llvm 27