blob: a6de86eea1166e3bd491d0ecb8536c549721a99e [file] [log] [blame]
//===-- LoongArchTargetTransformInfo.cpp - LoongArch specific TTI ---------===//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
/// \file
/// This file implements a TargetTransformInfo analysis pass specific to the
/// LoongArch target machine. It uses the target's detailed information to
/// provide more precise answers to certain TTI queries, while letting the
/// target independent and default TTI implementations handle the rest.
#include "LoongArchTargetTransformInfo.h"
using namespace llvm;
#define DEBUG_TYPE "loongarchtti"
// TODO: Implement more hooks to provide TTI machinery for LoongArch.