irx.builder.types

irx.builder.types

Source: packages/irx/src/irx/builder/types.py

title: LLVM type helpers for llvmliteir codegen.

Functions

is_fp_type(type_: ir.Type) -> bool

title: Is fp type.
parameters:
  type_:
    type: ir.Type
returns:
  type: bool

is_int_type(type_: ir.Type) -> bool

title: Is int type.
parameters:
  type_:
    type: ir.Type
returns:
  type: bool

Classes

VariablesLLVM

No docstring available.

Methods

get_data_type(self, type_name: str) -> ir.types.Type
title: Get data type.
parameters:
  type_name:
    type: str
returns:
  type: ir.types.Type