Lines Matching refs:TargetMachine
1 //===-- TargetMachine.cpp - General Target Information ---------------------==//
13 #include "llvm/Target/TargetMachine.h"
31 // TargetMachine Class
34 TargetMachine::TargetMachine(const Target &T, StringRef DataLayoutString,
42 TargetMachine::~TargetMachine() = default;
44 bool TargetMachine::isPositionIndependent() const {
53 // a) global state on the TargetMachine is terrible in general,
55 // and not on the TargetMachine (via TargetOptions) at all.
56 void TargetMachine::resetTargetOptions(const Function &F) const {
70 Reloc::Model TargetMachine::getRelocationModel() const { return RM; }
74 CodeModel::Model TargetMachine::getCodeModel() const { return CMModel; }
94 bool TargetMachine::shouldAssumeDSOLocal(const Module &M,
210 bool TargetMachine::useEmulatedTLS() const {
218 TLSModel::Model TargetMachine::getTLSModel(const GlobalValue *GV) const {
246 CodeGenOpt::Level TargetMachine::getOptLevel() const { return OptLevel; }
248 void TargetMachine::setOptLevel(CodeGenOpt::Level Level) { OptLevel = Level; }
250 TargetTransformInfo TargetMachine::getTargetTransformInfo(const Function &F) {
254 void TargetMachine::getNameWithPrefix(SmallVectorImpl<char> &Name,
267 MCSymbol *TargetMachine::getSymbol(const GlobalValue *GV) const {
278 TargetIRAnalysis TargetMachine::getTargetIRAnalysis() {