isType: Predicate functions for testing a type

Description Usage Arguments Value Author(s)

Description

These functions allow us to determine if an object representing an LLVM type has particular characteristics or such as being a pointer type or an array.

sameType determines if two LLVM types are the same, ignoring any R structure and classes.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17

Arguments

type,ty

the type object, inheriting from them class Type

a,b

the two Type objects to be compared.

asIs

a logical value that controls whether we go through the different combinations of looking at the ref slot of each and compare external pointers within S4 objects

Value

a logical value indicating whether the type is consistent with the queried type given in the name of the function.

Author(s)

Duncan Temple Lang


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