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
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.