OpenASIP  2.0
Classes | Namespaces | Functions
TCETargetMachine.hh File Reference
#include <set>
#include "tce_config.h"
#include "CompilerWarnings.hh"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/CodeGen/TargetFrameLowering.h"
#include "llvm/Analysis/TargetTransformInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/CodeGen/SelectionDAGTargetInfo.h"
#include "llvm/IR/PassManager.h"
#include "TCEStubTargetMachine.hh"
#include "TCETargetMachinePlugin.hh"
#include "llvm/CodeGen/Passes.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/CodeGen/TargetPassConfig.h"
Include dependency graph for TCETargetMachine.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::TCEPassConfig
 
class  llvm::TCETargetMachine
 

Namespaces

 TTAMachine
 
 llvm
 

Functions

void LLVMInitializeTCETarget ()
 

Function Documentation

◆ LLVMInitializeTCETarget()

void LLVMInitializeTCETarget ( )

Definition at line 117 of file TCETargetMachine.cc.

117  {
118  RegisterTargetMachine<TCETargetMachine> Y(TheTCETarget);
119  RegisterTargetMachine<TCETargetMachine> X0(TheTCELE64Target);
120  RegisterTargetMachine<TCETargetMachine> X(TheTCELETarget);
121 
122  RegisterMCAsmInfo<TCEMCAsmInfo> Z(TheTCETarget);
123  RegisterMCAsmInfo<TCEMCAsmInfo> V0(TheTCELE64Target);
124  RegisterMCAsmInfo<TCEMCAsmInfo> V(TheTCELETarget);
125  TargetRegistry::RegisterMCInstPrinter(TheTCETarget, dummyInstrPrinterCtor);
126  TargetRegistry::RegisterMCInstPrinter(
128  TargetRegistry::RegisterMCInstPrinter(
130 }

References dummyInstrPrinterCtor(), llvm::TheTCELE64Target, llvm::TheTCELETarget, llvm::TheTCETarget, and X().

Referenced by LLVMBackend::compile().

Here is the call graph for this function:
llvm::TheTCETarget
Target TheTCETarget
Definition: TCEStubTargetMachine.cc:63
llvm::TheTCELETarget
Target TheTCELETarget
Definition: TCEStubTargetMachine.cc:64
X
static llvm::RegisterPass< InnerLoopFinder > X("find-innerloops-test", "Finds inner loops test.", false, true)
dummyInstrPrinterCtor
MCInstPrinter * dummyInstrPrinterCtor(const Triple &, unsigned, const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)
Definition: TCETargetMachine.cc:108
llvm::TheTCELE64Target
Target TheTCELE64Target
Definition: TCEStubTargetMachine.cc:65