Did I find the right examples for you? yes no

All Samples(7)  |  Call(0)  |  Derive(0)  |  Import(7)

src/c/c/cc-HEAD/backend/passes/unused.py   cc(Download)
import functionpass
from backend import ir
 
 
#remove vars that arent used

src/c/c/cc-HEAD/backend/passes/mem2reg.py   cc(Download)
 
import functionpass
from backend import ir
from backend import function
from backend import dominators

src/c/c/cc-HEAD/backend/passes/jumpfix.py   cc(Download)
import functionpass
from backend import ir
 
 
#this pass removes all unconditional jumps that are inbetween other jumps

src/c/c/cc-HEAD/backend/passes/copypropagation.py   cc(Download)
import functionpass
from backend import ir
 
from vis import irvis
 

src/c/c/cc-HEAD/backend/passes/constantfold.py   cc(Download)
import functionpass
from backend import ir
 
 
#Constant folding, incomplete

src/c/c/cc-HEAD/backend/passes/branchreplace.py   cc(Download)
import functionpass
from backend import ir
 
 
#this pass removes branches who have the same outcome for both cases

src/c/c/cc-HEAD/backend/passes/blockmerge.py   cc(Download)
import functionpass
from backend import ir
 
 
#this fuses blocks that dont need to be seperate