target

package
v0.0.0-...-c8d5561 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2014 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TargetMachine

type TargetMachine interface {
	// The LLVM triple the target uses
	LLVMTargetTriple() string
	// The native width of machine registers
	// This is used for default int size, and default array index type.
	DefaultIntBitWidth() uint
}

func GetTarget

func GetTarget() TargetMachine

type X86_64_Linux_Target

type X86_64_Linux_Target struct{}

func (*X86_64_Linux_Target) DefaultIntBitWidth

func (*X86_64_Linux_Target) DefaultIntBitWidth() uint

func (*X86_64_Linux_Target) LLVMTargetTriple

func (*X86_64_Linux_Target) LLVMTargetTriple() string

type X86_Windows_Target

type X86_Windows_Target struct{}

func (*X86_Windows_Target) DefaultIntBitWidth

func (*X86_Windows_Target) DefaultIntBitWidth() uint

func (*X86_Windows_Target) LLVMTargetTriple

func (*X86_Windows_Target) LLVMTargetTriple() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL