1 //===- llvm/VMCore/TargetTransformInfo.cpp ----------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "llvm/TargetTransformInfo.h"
11 #include "llvm/Support/ErrorHandling.h"
17 /// @note This has to exist, because this is a pass, but it should never be
19 TargetTransformInfo::TargetTransformInfo() : ImmutablePass(ID) {
20 report_fatal_error("Bad TargetTransformInfo ctor used. "
21 "Tool did not specify a TargetTransformInfo to use?");
24 INITIALIZE_PASS(TargetTransformInfo, "TargetTransformInfo",
25 "Target Transform Info", false, true)
26 char TargetTransformInfo::ID = 0;