xref: /freebsd-src/contrib/llvm-project/llvm/lib/Target/LoongArch/LoongArchTargetTransformInfo.cpp (revision 06c3fb2749bda94cb5201f81ffdb8fa6c3161b2e)
1*06c3fb27SDimitry Andric //===-- LoongArchTargetTransformInfo.cpp - LoongArch specific TTI ---------===//
2*06c3fb27SDimitry Andric //
3*06c3fb27SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*06c3fb27SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
5*06c3fb27SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*06c3fb27SDimitry Andric //
7*06c3fb27SDimitry Andric //===----------------------------------------------------------------------===//
8*06c3fb27SDimitry Andric /// \file
9*06c3fb27SDimitry Andric /// This file implements a TargetTransformInfo analysis pass specific to the
10*06c3fb27SDimitry Andric /// LoongArch target machine. It uses the target's detailed information to
11*06c3fb27SDimitry Andric /// provide more precise answers to certain TTI queries, while letting the
12*06c3fb27SDimitry Andric /// target independent and default TTI implementations handle the rest.
13*06c3fb27SDimitry Andric ///
14*06c3fb27SDimitry Andric //===----------------------------------------------------------------------===//
15*06c3fb27SDimitry Andric 
16*06c3fb27SDimitry Andric #include "LoongArchTargetTransformInfo.h"
17*06c3fb27SDimitry Andric 
18*06c3fb27SDimitry Andric using namespace llvm;
19*06c3fb27SDimitry Andric 
20*06c3fb27SDimitry Andric #define DEBUG_TYPE "loongarchtti"
21*06c3fb27SDimitry Andric 
22*06c3fb27SDimitry Andric // TODO: Implement more hooks to provide TTI machinery for LoongArch.
23