MCPcopy Index your code
hub / github.com/aherlihy/PythonLLVM / visitFunction

Method visitFunction

CodeGenLLVM.py:460–572  ·  view source on GitHub ↗

Do trick to handle return type of function correctly. Visit node AST two times. First pass just determines return type of the function (All LLVM code body generated are discarded). Then second pass we emit LLVM code body with return type found in the

(self, node)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

mkFunctionSignatureMethod · 0.95
PyllvmErrorClass · 0.90
toLLVMTyFunction · 0.85
SymbolClass · 0.85
pushScopeMethod · 0.80
appendMethod · 0.80
genUniqueSymbolMethod · 0.80
popScopeMethod · 0.80

Tested by

no test coverage detected