1 //===-- LoongArchTargetTransformInfo.cpp - LoongArch specific TTI ---------===//
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 implements a TargetTransformInfo analysis pass specific to the
10 /// LoongArch target machine. It uses the target's detailed information to
11 /// provide more precise answers to certain TTI queries, while letting the
12 /// target independent and default TTI implementations handle the rest.
14 //===----------------------------------------------------------------------===//
16 #include "LoongArchTargetTransformInfo.h"
20 #define DEBUG_TYPE "loongarchtti"
22 // TODO: Implement more hooks to provide TTI machinery for LoongArch.