OpenASIP  2.0
Classes | Namespaces | Macros | Functions | Variables
TCEStubTargetMachine.hh File Reference
#include "tce_config.h"
#include "llvm/MC/TargetRegistry.h"
#include <llvm/Target/TargetMachine.h>
#include <llvm/CodeGen/TargetLowering.h>
#include <llvm/Target/TargetLoweringObjectFile.h>
#include <llvm/CodeGen/TargetLoweringObjectFileImpl.h>
#include "TCEStubSubTarget.hh"
Include dependency graph for TCEStubTargetMachine.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::TCEBaseTargetMachine
 
class  llvm::TCEStubTargetMachine
 

Namespaces

 TTAMachine
 
 llvm
 

Macros

#define PICCOPY   PIC
 
#define PIC   PICCOPY
 

Functions

void LLVMInitializeTCETargetInfo ()
 
void LLVMInitializeTCEStubTarget ()
 

Variables

Target llvm::TheTCETarget
 
Target llvm::TheTCELETarget
 
Target llvm::TheTCELE64Target
 

Detailed Description

Declaration of TCEStubTargetMachine class.

Author
Ville Korhonen 2015

Definition in file TCEStubTargetMachine.hh.

Macro Definition Documentation

◆ PIC

#define PIC   PICCOPY

Definition at line 46 of file TCEStubTargetMachine.hh.

◆ PICCOPY

#define PICCOPY   PIC

Definition at line 42 of file TCEStubTargetMachine.hh.

Function Documentation

◆ LLVMInitializeTCEStubTarget()

void LLVMInitializeTCEStubTarget ( )

Definition at line 80 of file TCEStubTargetMachine.cc.

80  {
81  // Register the targetmachine impl.
82  RegisterTargetMachine<TCEStubTargetMachine> X(TheTCETarget);
83  RegisterTargetMachine<TCEStubTargetMachine> Y(TheTCELETarget);
84  RegisterTargetMachine<TCEStubTargetMachine> Z(TheTCELE64Target);
85 }

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

Referenced by TCEPluginInitializer::TCEPluginInitializer().

Here is the call graph for this function:

◆ LLVMInitializeTCETargetInfo()

void LLVMInitializeTCETargetInfo ( )

Definition at line 67 of file TCEStubTargetMachine.cc.

67  {
68  RegisterTarget<Triple::tce, /*HasJIT=*/false>
69  X(TheTCETarget, "tce-tut-llvm", "TCE custom processor",
70  "TODO: wonder what this button does");
71  RegisterTarget<Triple::tcele, false>
72  Y(TheTCELETarget, "tcele-tut-llvm",
73  "TCE custom processor (little endian)",
74  "TODO: wonder what this button does");
75  RegisterTarget<Triple::tcele64, false>
76  Z(TheTCELE64Target, "tcele64-tut-llvm", "64-bit TCE custom processor (little endian) ",
77  "TODO: wonder what this button does");
78 }

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

Referenced by LLVMBackend::compile(), and TCEPluginInitializer::TCEPluginInitializer().

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)
llvm::TheTCELE64Target
Target TheTCELE64Target
Definition: TCEStubTargetMachine.cc:65