mirror of
https://github.com/exaloop/codon.git
synced 2025-06-03 15:03:52 +08:00
* IR escape analysis (WIP) * Handle calls (WIP) * Fix argument tracking (WIP) * Cleanup * Fix function caching * Add annotations * Add capture analysis * Fixes * Add tests * More tests & fixes * Refactor * Add escape interface * Fix consts * Fix throw side effect * Fix case for vararg C functions * Add IR pass timing * Fix internal func capture status * Avoid warning on exe build * More tests * Fix var tracking & more tests * Fix derived computation and more tests * Optimization * Better derived set generation * More tests * Cache reaching-def results * Fix pass group repeat * Fix use-after-free issue
82 lines
730 B
Python
82 lines
730 B
Python
# (c) 2022 Exaloop Inc. All rights reserved.
|
|
|
|
|
|
@__attribute__
|
|
def test():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def export():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def inline():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def noinline():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def pure():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def nonpure():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def no_side_effect():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def nocapture():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def derives():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def self_captures():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def commutative():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def associative():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def distributive():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def C():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def realize_without_self():
|
|
pass
|
|
|
|
|
|
@__attribute__
|
|
def overload():
|
|
pass
|