add_library(codegen STATIC codegen.cpp liverange.cpp regalloc.cpp ) target_link_libraries(common)