LLVM 19.0.0git
BasicTargetTransformInfo.cpp File Reference

This file provides the implementation of a basic TargetTransformInfo pass predicated on the target abstractions present in the target independent code generator. More...

#include "llvm/CodeGen/BasicTTIImpl.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Target/TargetMachine.h"

Go to the source code of this file.

Detailed Description

This file provides the implementation of a basic TargetTransformInfo pass predicated on the target abstractions present in the target independent code generator.

It uses these (primarily TargetLowering) to model as much of the TTI query interface as possible. It is included by most targets so that they can specialize only a small subset of the query space.

Definition in file BasicTargetTransformInfo.cpp.