LLVM API Documentation

X86TargetMachine.cpp File Reference

#include "X86TargetAsmInfo.h"
#include "X86TargetMachine.h"
#include "X86.h"
#include "llvm/Module.h"
#include "llvm/PassManager.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Target/TargetMachineRegistry.h"

Include dependency graph for X86TargetMachine.cpp:

Go to the source code of this file.

Variables

int X86TargetMachineModule = 0
static RegisterTarget
< X86_32TargetMachine > 
X ("x86","32-bit X86: Pentium-Pro and above")
static RegisterTarget
< X86_64TargetMachine > 
Y ("x86-64","64-bit X86: EM64T and AMD64")


Variable Documentation

RegisterTarget<X86_32TargetMachine> X("x86","32-bit X86: Pentium-Pro and above") [static]

X86TargetMachineModule - 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 30 of file X86TargetMachine.cpp.

RegisterTarget<X86_64TargetMachine> Y("x86-64","64-bit X86: EM64T and AMD64") [static]