LLVM::Target
Constructors
first
Sourcefrom_triple(triple) : self
Sourcenew(unwrap : LibLLVM::TargetRef)
SourceClass methods
each
Sourcefirst?
SourceInstance methods
create_target_machine(triple, cpu = "", features = "", opt_level = LLVM::CodeGenOptLevel::Default, reloc = LLVM::RelocMode::PIC, code_model = LLVM::CodeModel::Default) : LLVM::TargetMachine
Sourcedescription
SourceAppends this struct's name and instance variables names and values to the given IO.
struct Point
def initialize(@x : Int32, @y : Int32)
end
end
p1 = Point.new 1, 2
p1.to_s # "Point(@x=1, @y=2)"
p1.inspect # "Point(@x=1, @y=2)"
name
Sourceto_unsafe
Source