Class: LLVM::CallInst

Inherits:
Instruction show all
Defined in:
lib/llvm/core/value.rb

Instance Method Summary collapse

Methods inherited from Instruction

#next, #parent, #previous

Methods inherited from User

#operands

Methods inherited from Value

#add_attribute, #constant?, #dump, from_ptr, #name, #name=, #null?, to_ptr, #type, type, #undefined?

Methods included from PointerIdentity

#==, #eql?, #hash, #to_ptr

Instance Method Details

#call_convObject

Returns the call insatnce's call convention.


845
846
847
# File 'lib/llvm/core/value.rb', line 845

def call_conv
  C.get_instruction_call_conv(self)
end

#call_conv=(conv) ⇒ Object

Sets the call convention to conv.


839
840
841
842
# File 'lib/llvm/core/value.rb', line 839

def call_conv=(conv)
  C.set_instruction_call_conv(self, conv)
  conv
end