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

View source: R/classof.R

isaR Documentation

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.

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.


duncantl/Rllvm documentation built on Nov. 23, 2023, 4:24 p.m.