1 //===- InstructionCost.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 //===----------------------------------------------------------------------===//
9 /// This file includes the function definitions for the InstructionCost class
10 /// that is used when calculating the cost of an instruction, or a group of
12 //===----------------------------------------------------------------------===//
14 #include "llvm/Support/InstructionCost.h"
15 #include "llvm/Support/raw_ostream.h"
19 void InstructionCost::print(raw_ostream
&OS
) const {