OpenASIP  2.0
Public Member Functions | Public Attributes | List of all members
llvm::TCEBaseTargetMachine Class Reference

#include <TCEStubTargetMachine.hh>

Inheritance diagram for llvm::TCEBaseTargetMachine:
Inheritance graph
Collaboration diagram for llvm::TCEBaseTargetMachine:
Collaboration graph

Public Member Functions

 TCEBaseTargetMachine (const Target &T, const Triple &TT, const llvm::StringRef &CPU, const llvm::StringRef &FS, const TargetOptions &Options, Reloc::Model RM, CodeModel::Model CM, CodeGenOpt::Level OL)
 
virtual bool isNoopAddrSpaceCast (unsigned SrcAS, unsigned DestAS) const override
 
virtual void setTTAMach (const TTAMachine::Machine *mach)
 

Public Attributes

const TTAMachine::MachinettaMach_
 

Detailed Description

Base class common to TCEStubTargetMachine(for middle end) and TCETargetMachine(for backend)

Definition at line 82 of file TCEStubTargetMachine.hh.

Constructor & Destructor Documentation

◆ TCEBaseTargetMachine()

TCEBaseTargetMachine::TCEBaseTargetMachine ( const Target &  T,
const Triple &  TT,
const llvm::StringRef &  CPU,
const llvm::StringRef &  FS,
const TargetOptions &  Options,
Reloc::Model  RM,
CodeModel::Model  CM,
CodeGenOpt::Level  OL 
)

Definition at line 125 of file TCEStubTargetMachine.cc.

128  :
129  LLVMTargetMachine(T, getTargetDesc(TT), TT, CPU, FS, Options, RM, CM, OL),
130  ttaMach_(NULL) {
131 }

Member Function Documentation

◆ isNoopAddrSpaceCast()

virtual bool llvm::TCEBaseTargetMachine::isNoopAddrSpaceCast ( unsigned  SrcAS,
unsigned  DestAS 
) const
inlineoverridevirtual

Definition at line 89 of file TCEStubTargetMachine.hh.

89  {
90  return true;
91  }

◆ setTTAMach()

virtual void llvm::TCEBaseTargetMachine::setTTAMach ( const TTAMachine::Machine mach)
inlinevirtual

Reimplemented in llvm::TCETargetMachine.

Definition at line 94 of file TCEStubTargetMachine.hh.

94  {
95  ttaMach_ = mach;
96  }

References ttaMach_.

Referenced by llvm::TCETargetMachine::setTTAMach(), and llvm::TCEStubTargetMachine::TCEStubTargetMachine().

Member Data Documentation

◆ ttaMach_

const TTAMachine::Machine* llvm::TCEBaseTargetMachine::ttaMach_

The documentation for this class was generated from the following files:
Options
Definition: Options.hh:51
llvm::TCEBaseTargetMachine::ttaMach_
const TTAMachine::Machine * ttaMach_
Definition: TCEStubTargetMachine.hh:92
getTargetDesc
StringRef getTargetDesc(const Triple &TT)
Definition: TCEStubTargetMachine.cc:113