LLVM API Documentation

TargetMachine.cpp File Reference

#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Type.h"
#include "llvm/Support/CommandLine.h"

Include dependency graph for TargetMachine.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm

Variables

bool llvm::PrintMachineCode
bool llvm::NoFramePointerElim
bool llvm::NoExcessFPPrecision
bool llvm::UnsafeFPMath
Reloc::Model llvm::RelocationModel
cl::opt< bool, true > PrintCode ("print-machineinstrs", cl::desc("Print generated machine code"), cl::location(PrintMachineCode), cl::init(false))
cl::opt< bool, true > DisableFPElim ("disable-fp-elim", cl::desc("Disable frame pointer elimination optimization"), cl::location(NoFramePointerElim), cl::init(false))
cl::opt< bool, true > DisableExcessPrecision ("disable-excess-fp-precision", cl::desc("Disable optimizations that may increase FP precision"), cl::location(NoExcessFPPrecision), cl::init(false))
cl::opt< bool, true > EnableUnsafeFPMath ("enable-unsafe-fp-math", cl::desc("Enable optimizations that may decrease FP precision"), cl::location(UnsafeFPMath), cl::init(false))
cl::opt< llvm::Reloc::Model,
true > 
DefRelocationModel ("relocation-model", cl::desc("Choose relocation model"), cl::location(RelocationModel), cl::init(Reloc::Default), cl::values(clEnumValN(Reloc::Default,"default","Target default relocation model"), clEnumValN(Reloc::Static,"static","Non-relocatable code"), clEnumValN(Reloc::PIC,"pic","Fully relocatable, position independent code"), clEnumValN(Reloc::DynamicNoPIC,"dynamic-no-pic","Relocatable external references, non-relocatable code"), clEnumValEnd))


Variable Documentation

cl::opt<llvm::Reloc::Model, true> DefRelocationModel("relocation-model", cl::desc("Choose relocation model"), cl::location(RelocationModel), cl::init(Reloc::Default), cl::values(clEnumValN(Reloc::Default,"default","Target default relocation model"),clEnumValN(Reloc::Static,"static","Non-relocatable code"),clEnumValN(Reloc::PIC,"pic","Fully relocatable, position independent code"),clEnumValN(Reloc::DynamicNoPIC,"dynamic-no-pic","Relocatable external references, non-relocatable code"),clEnumValEnd)) [static]

cl::opt<bool, true> DisableExcessPrecision("disable-excess-fp-precision", cl::desc("Disable optimizations that may increase FP precision"), cl::location(NoExcessFPPrecision), cl::init(false)) [static]

cl::opt<bool, true> DisableFPElim("disable-fp-elim", cl::desc("Disable frame pointer elimination optimization"), cl::location(NoFramePointerElim), cl::init(false)) [static]

cl::opt<bool, true> EnableUnsafeFPMath("enable-unsafe-fp-math", cl::desc("Enable optimizations that may decrease FP precision"), cl::location(UnsafeFPMath), cl::init(false)) [static]

cl::opt<bool, true> PrintCode("print-machineinstrs", cl::desc("Print generated machine code"), cl::location(PrintMachineCode), cl::init(false)) [static]