Class: LLVM::CallInst

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

Direct Known Subclasses

InvokeInst

Instance Method Summary collapse

Methods inherited from Instruction

#clear_exact!, #clear_nsw!, #clear_nuw!, #exact!, from_ptr, #inspect, #next, #nsw!, #nuw!, #opcode, #parent, #previous

Methods inherited from User

#operands

Methods inherited from Value

#add_attribute, #allocated_type, #allocated_type?, #constant?, #dump, from_ptr, from_ptr_kind, #gep_source_element_type, #gep_source_element_type?, #global_parent, #kind, #name, #name=, #null?, #poison?, #remove_attribute, to_ptr, #to_s, type, #type, #undef?

Methods included from PointerIdentity

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

Instance Method Details

#call_convObject

Returns the call insatnce’s call convention.



1265
1266
1267
# File 'lib/llvm/core/value.rb', line 1265

def call_conv
  C.get_instruction_call_conv(self)
end

#call_conv=(conv) ⇒ Object

Sets the call convention to conv.



1260
1261
1262
# File 'lib/llvm/core/value.rb', line 1260

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