numba –annotate
Bases: tuple
Annotation(type, value)
Alias for field number 0
Alias for field number 1
Bases: tuple
DotIntermediate(name, dotcode)
Alias for field number 1
Alias for field number 0
Bases: tuple
Program(python_source, intermediates)
Alias for field number 1
Alias for field number 0
Bases: tuple
Source(linemap, annotations)
Alias for field number 1
Alias for field number 0
Bases: tuple
SourceIntermediate(name, linenomap, source)
Alias for field number 1
Alias for field number 0
Alias for field number 2
Numba annotators.
Produce annotations for CPython C API calls from an LLVM SourceIntermediate
HTML annotation rendering. Heavily based on Cython/Compiler/Annotate.py
Render a Program as html.
Capture IR emissions.
Get IR source from an IR builder as a SourceIntermediate
Put llvm instructions and basic blocks in the right order.
Parameters: | blocks – { llvm_block : [llvm_instr] } |
---|---|
Returns: | [llvm_line] |
Copyright (c) 2012, Daniele Mazzocchio All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Bases: tuple
Emitter(emit, emitline)
Alias for field number 0
Alias for field number 1
Render a Program as text.
Parameters: |
|
---|
Print a Source and its annotations. Print any given Intermediates inline.