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

Description Usage Arguments Value Author(s) References See Also

Description

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

Usage

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

Author(s)

Duncan Temple Lang

References

LLVM Documentation for the Instruction classes.

See Also

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


doktorschiwago/Rllvm2 documentation built on May 15, 2019, 9:42 a.m.