Home | History | Annotate | Download | only in Target

Lines Matching full:targetmachine

1 //===-- TargetMachine.cpp - General Target Information ---------------------==//
14 #include "llvm/Target/TargetMachine.h"
39 // TargetMachine Class
42 TargetMachine::TargetMachine(const Target &T, StringRef DataLayoutString,
52 TargetMachine::~TargetMachine() {
59 bool TargetMachine::isPositionIndependent() const {
65 // a) global state on the TargetMachine is terrible in general,
68 // and not on the TargetMachine (via TargetOptions) at all.
69 void TargetMachine::resetTargetOptions(const Function &F) const {
84 Reloc::Model TargetMachine::getRelocationModel() const { return RM; }
88 CodeModel::Model TargetMachine::getCodeModel() const { return CMModel; }
111 bool TargetMachine::shouldAssumeDSOLocal(const Module &M,
153 TLSModel::Model TargetMachine::getTLSModel(const GlobalValue *GV) const {
181 CodeGenOpt::Level TargetMachine::getOptLevel() const { return OptLevel; }
183 void TargetMachine::setOptLevel(CodeGenOpt::Level Level) { OptLevel = Level; }
185 TargetIRAnalysis TargetMachine::getTargetIRAnalysis() {
191 void TargetMachine::getNameWithPrefix(SmallVectorImpl<char> &Name,
204 MCSymbol *TargetMachine::getSymbol(const GlobalValue *GV, Mangler &Mang) const {