TokenType

public struct TokenType: IRType

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.

  • Initializes a token type from the given LLVM type object.

    Declaration

    Swift

    public init(llvm: LLVMTypeRef)
  • Retrieves the underlying LLVM type object.

    Declaration

    Swift

    public func asLLVM() -> LLVMTypeRef