TokenType
public struct TokenType : IRType
extension TokenType: Equatable
TokenType
is used when a value is associated with an instruction but all
uses of the value must not attempt to introspect or obscure it. As such, it
is not appropriate to have a PHI
or select
of type TokenType
.
-
Returns the context associated with this type.
Declaration
Swift
public let context: Context
-
Initializes a token type from the given LLVM type object.
Parameters
context
The context to create this type in
-
Retrieves the underlying LLVM type object.
Declaration
Swift
public func asLLVM() -> LLVMTypeRef
-
Declaration
Swift
public static func == (lhs: TokenType, rhs: TokenType) -> Bool