Learn R Programming

Rllvm (version 0.7-0)

isa: Queries if an LLVM Instruction is a particular sub-type

Description

This is a convenience function for querying the particular sub-type of an LLVM Instruction type.

Usage

isa(obj, classname = class(obj))

Arguments

obj

the Instruction type

classname

the name of the sub-class we are testing

Value

a logical scalar value, i.e. TRUE or FALSE.

References

LLVM Documentation for the Instruction classes.

See Also

createGEP and all of the create instruction functions related to the IRBuilder.