LLVM API Documentation

Functions
llvm::X86_MC Namespace Reference

Functions

std::string ParseX86Triple (StringRef TT)
bool GetCpuIDAndInfo (unsigned value, unsigned *rEAX, unsigned *rEBX, unsigned *rECX, unsigned *rEDX)
bool GetCpuIDAndInfoEx (unsigned value, unsigned subleaf, unsigned *rEAX, unsigned *rEBX, unsigned *rECX, unsigned *rEDX)
void DetectFamilyModel (unsigned EAX, unsigned &Family, unsigned &Model)
unsigned getDwarfRegFlavour (Triple TT, bool isEH)
void InitLLVM2SEHRegisterMapping (MCRegisterInfo *MRI)
MCSubtargetInfocreateX86MCSubtargetInfo (StringRef TT, StringRef CPU, StringRef FS)

Function Documentation

createX86MCSubtargetInfo - Create a X86 MCSubtargetInfo instance. This is exposed so Asm parser, etc. do not need to go through TargetRegistry.

Definition at line 220 of file X86MCTargetDesc.cpp.

References llvm::StringRef::empty(), ParseX86Triple(), llvm::StringRef::str(), and llvm::X.

Referenced by LLVMInitializeX86TargetMC().

void llvm::X86_MC::DetectFamilyModel ( unsigned  EAX,
unsigned Family,
unsigned Model 
)

Definition at line 187 of file X86MCTargetDesc.cpp.

bool llvm::X86_MC::GetCpuIDAndInfo ( unsigned  value,
unsigned rEAX,
unsigned rEBX,
unsigned rECX,
unsigned rEDX 
)

GetCpuIDAndInfo - Execute the specified cpuid and return the 4 values in the specified arguments. If we can't run cpuid on the host, return true.

Definition at line 60 of file X86MCTargetDesc.cpp.

bool llvm::X86_MC::GetCpuIDAndInfoEx ( unsigned  value,
unsigned  subleaf,
unsigned rEAX,
unsigned rEBX,
unsigned rECX,
unsigned rEDX 
)

GetCpuIDAndInfoEx - Execute the specified cpuid with subleaf and return the 4 values in the specified arguments. If we can't run cpuid on the host, return true.

Definition at line 121 of file X86MCTargetDesc.cpp.