LLVM API Documentation

PPCTargetMachine.cpp File Reference

#include "PPC.h"
#include "PPCTargetAsmInfo.h"
#include "PPCTargetMachine.h"
#include "llvm/Module.h"
#include "llvm/PassManager.h"
#include "llvm/Target/TargetMachineRegistry.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Support/raw_ostream.h"

Include dependency graph for PPCTargetMachine.cpp:

Go to the source code of this file.

Variables

int PowerPCTargetMachineModule = 0
static RegisterTarget
< PPC32TargetMachine > 
X ("ppc32","PowerPC 32")
static RegisterTarget
< PPC64TargetMachine > 
Y ("ppc64","PowerPC 64")


Variable Documentation

PowerPCTargetMachineModule - Note that this is used on hosts that cannot link in a library unless there are references into the library. In particular, it seems that it is not possible to get things to work on Win32 without this. Though it is unused, do not remove it.

Definition at line 29 of file PPCTargetMachine.cpp.

RegisterTarget<PPC32TargetMachine> X("ppc32","PowerPC 32") [static]

RegisterTarget<PPC64TargetMachine> Y("ppc64","PowerPC 64") [static]