brk-code

llvmlite の API リファレンス

llvmlite (numba/llvmlite) の公開 API 91 件 —— クラス 41、関数 12、メソッド 38。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。

リポジトリ: numba/llvmlite

種別件数
クラス41
関数12
メソッド38

API 一覧

funcllvmlite.binding.analysis.view_dot_graph(graph, filename=None, view=False)
View the given DOT source.
funcllvmlite.binding.dylib.load_library_permanently(filename)
Load an external library
classllvmlite.binding.executionengine.ExecutionEngine
An ExecutionEngine owns all Modules associated with it.
methodllvmlite.binding.executionengine.ExecutionEngine.add_object_file(obj_file)
Add object file to the jit.
classllvmlite.binding.ffi.ObjectRef
A wrapper around a ctypes pointer to a LLVM object ("resource").
methodllvmlite.binding.ffi.ObjectRef.closed()
Whether this object has been closed.
classllvmlite.binding.ffi.OutputString
Object for managing the char* output of LLVM APIs.
funcllvmlite.binding.ffi.ret_bytes(ptr)
To wrap bytes return-value from C-API.
funcllvmlite.binding.ffi.ret_string(ptr)
To wrap string return-value from C-API.
funcllvmlite.binding.initfini.initialize()
Initialize the LLVM core (deprecated).
funcllvmlite.binding.initfini.initialize_all_asmprinters()
Initialize all code generators.
funcllvmlite.binding.initfini.initialize_all_targets()
Initialize all targets.
funcllvmlite.binding.initfini.initialize_native_asmparser()
Initialize the native ASM parser.
funcllvmlite.binding.initfini.initialize_native_asmprinter()
Initialize the native ASM printer.
classllvmlite.binding.module.ModuleRef
A reference to a LLVM module.
methodllvmlite.binding.module.ModuleRef.name()
The module's identifier.
methodllvmlite.binding.module.ModuleRef.verify()
Verify the module IR's correctness.
funcllvmlite.binding.module.parse_assembly(llvmir, context=None)
Create Module from a LLVM IR string
classllvmlite.binding.newpassmanagers.PruneStats
Holds statistics from reference count pruning.
funcllvmlite.binding.newpassmanagers.set_time_passes(enable)
Enable or disable the pass timers.
classllvmlite.binding.targets.TargetData
A TargetData provides structured access to a data layout.
methodllvmlite.binding.targets.TargetData.get_abi_size(ty)
Get ABI size of LLVM type *ty*.
funcllvmlite.binding.targets.get_triple_parts(triple:str)
Return a tuple of the parts of the given triple.
classllvmlite.binding.typeref.TypeRef
A weak reference to a LLVM type
methodllvmlite.binding.typeref.TypeRef.as_ir(ir_ctx:ir.Context) -> ir.Type
Convert into a ``llvmlite.ir.Type``.
methodllvmlite.binding.typeref.TypeRef.elements()
Returns iterator over enclosing types
methodllvmlite.binding.typeref.TypeRef.name()
Get type name
classllvmlite.binding.value.ValueRef
A weak reference to a LLVM value.
methodllvmlite.binding.value.ValueRef.global_value_type()
Uses ``LLVMGlobalGetValueType()``.
methodllvmlite.binding.value.ValueRef.type()
This value's LLVM type.
methodllvmlite.ir.builder.IRBuilder.add(lhs, rhs, name='')
Integer addition: name = lhs + rhs
methodllvmlite.ir.builder.IRBuilder.and_(lhs, rhs, name='')
Bitwise integer AND: name = lhs & rhs
methodllvmlite.ir.builder.IRBuilder.asm(ftype, asm, constraint, args, side_effect, name='')
Inline assembler.
methodllvmlite.ir.builder.IRBuilder.block()
The current basic block.
methodllvmlite.ir.builder.IRBuilder.branch(target)
Unconditional branch to *target*.
methodllvmlite.ir.builder.IRBuilder.branch_indirect(addr)
Indirect branch to target *addr*.
methodllvmlite.ir.builder.IRBuilder.convert_to_fp16(a)
Convert the given FP number to an i16
methodllvmlite.ir.builder.IRBuilder.ctlz(cond, flag)
Counts leading zero bits in *value*.
methodllvmlite.ir.builder.IRBuilder.cttz(cond, flag)
Counts trailing zero bits in *value*.
methodllvmlite.ir.builder.IRBuilder.fneg(arg, name='', flags=())
Floating-point negative: name = -arg
methodllvmlite.ir.builder.IRBuilder.function()
The current function.
methodllvmlite.ir.builder.IRBuilder.module()
The current module.
methodllvmlite.ir.builder.IRBuilder.neg(value, name='')
Integer negative: name = -value
methodllvmlite.ir.builder.IRBuilder.or_(lhs, rhs, name='')
Bitwise integer OR: name = lhs | rhs
methodllvmlite.ir.builder.IRBuilder.remove(instr)
Remove the given instruction.
methodllvmlite.ir.builder.IRBuilder.resume(landingpad)
Resume an in-flight exception.
methodllvmlite.ir.builder.IRBuilder.ret_void()
Return from function without a value.
methodllvmlite.ir.builder.IRBuilder.shl(lhs, rhs, name='')
Left integer shift: name = lhs << rhs
methodllvmlite.ir.builder.IRBuilder.sub(lhs, rhs, name='')
Integer subtraction: name = lhs - rhs
methodllvmlite.ir.builder.IRBuilder.xor(lhs, rhs, name='')
Bitwise integer XOR: name = lhs ^ rhs
classllvmlite.ir.instructions.CmpXchg
This instruction has changed since llvm3.5.
classllvmlite.ir.instructions.Comment
A line comment.
classllvmlite.ir.instructions.Fence
The `fence` instruction.
methodllvmlite.ir.module.Module.add_global(globalvalue)
Add a new global value.
methodllvmlite.ir.module.Module.get_global(name)
Get a global value by name.
classllvmlite.ir.types.Aggregate
Base class for aggregate types.
classllvmlite.ir.types.ArrayType
The type for fixed-size homogenous arrays (e.g.
classllvmlite.ir.types.BaseStructType
The base type for heterogenous struct types.
classllvmlite.ir.types.DoubleType
The type for double-precision floats.
classllvmlite.ir.types.FloatType
The type for single-precision floats.
classllvmlite.ir.types.FunctionType
The type for functions.
classllvmlite.ir.types.HalfType
The type for single-precision floats.
classllvmlite.ir.types.IntType
The type for integers.
classllvmlite.ir.types.LabelType
The label type is the type of e.g.
classllvmlite.ir.types.LiteralStructType
The type of "literal" structs, i.e.
classllvmlite.ir.types.PointerType
The type of all pointer values.
methodllvmlite.ir.types.PointerType.from_llvm(typeref, ir_ctx)
Create from a llvmlite.binding.TypeRef
classllvmlite.ir.types.Type
The base class for all LLVM types.
methodllvmlite.ir.types.Type.format_constant(value)
Format constant *value* of this type.
methodllvmlite.ir.types.Type.wrap_constant_value(value)
Wrap constant *value* if necessary.
classllvmlite.ir.types.VectorType
The type for vectors of primitive data items (e.g.
classllvmlite.ir.types.VoidType
The type for empty values (e.g.
classllvmlite.ir.values.Argument
The specification of a function argument.
classllvmlite.ir.values.AttributeSet
A set of string attribute.
classllvmlite.ir.values.Block
A LLVM IR basic block.
methodllvmlite.ir.values.Block.replace(old, new)
Replace an instruction
classllvmlite.ir.values.BlockAddress
The address of a basic block.
classllvmlite.ir.values.Constant
A constant LLVM value.
classllvmlite.ir.values.DIValue
A debug information descriptor, containing key-value pairs.
classllvmlite.ir.values.FormattedConstant
A constant with an already formatted IR representation.
classllvmlite.ir.values.Function
Represent a LLVM Function but does uses a Module as parent.
methodllvmlite.ir.values.Function.descr_body(buf)
Describe of the body of the function.
methodllvmlite.ir.values.Function.insert_basic_block(before, name='')
Insert block before
classllvmlite.ir.values.GlobalValue
A global value.
classllvmlite.ir.values.GlobalVariable
A global variable.
classllvmlite.ir.values.MetaDataArgument
An argument value to a function taking metadata arguments.
classllvmlite.ir.values.MetaDataString
A metadata string, i.e.
classllvmlite.ir.values.NamedMetaData
A named metadata node.
classllvmlite.ir.values.NamedValue
The base class for named values.
classllvmlite.ir.values.ReturnValue
The specification of a function's return value.
classllvmlite.ir.values.Value
The base class for all values.

この情報について

掲載しているシグネチャは numba/llvmlite の公開ソースコードを Python の ast モジュールで静的解析し、引数名・デフォルト値・ 型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。 詳しくは仕組みの解説をご覧ください。

収録ライブラリ一覧(全 805 件)へ戻る