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, #eql?, from_ptr, #hash, #name, #name=, #null?, to_ptr, #to_ptr, type, #type, #undefined?

Instance Method Details

#call_convObject

Returns the call insatnce’s call convention.



747
748
749
# File 'lib/llvm/core/value.rb', line 747

def call_conv
  C.LLVMGetInstructionCallConv(self)
end

#call_conv=(conv) ⇒ Object

Sets the call convention to conv.



741
742
743
744
# File 'lib/llvm/core/value.rb', line 741

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