Input program (file name "z.csl")

shared int x;

calypso_main()
{
	parbegin
		routine { x++; }
		routine { x = 10; }
	parend;
}

Output program (file name "z.ii")

# 1 "./calypso.internals"
extern void calypso_pt_initialize();
extern void calypso_pt_addEntry( int , void (*)( int , int  ) );
extern void calypso_runThreads( int  = 1 );
extern void calypso_pt_flush();
# 3 "z.csl"
 calypso_main();
# 6
extern void __calypso_generated_function0( int , int  );
extern void __calypso_generated_function1( int , int  );
# 10
struct shared 
{
# 22 "./calypso.internals"
	void *__calypso_swizzle_in[1423];
# 1 "z.csl"
	int x;
# 23 "./calypso.internals"
	char _calypso_extended[4096];
	void *__calypso_swizzle_out[1832];
} ;
# 6
struct shared __calypso_global_data;
# 31
void *calypso_beginShared = __calypso_global_data.__calypso_swizzle_in;
void *calypso_endShared = __calypso_global_data.__calypso_swizzle_out;
char *calypso_extendedMemory = __calypso_global_data._calypso_extended;
# 3 "z.csl"
 calypso_main()
{
	calypso_pt_initialize();
	calypso_pt_addEntry( 1, (&__calypso_generated_function0) );
	calypso_pt_addEntry( 1, (&__calypso_generated_function1) );
	calypso_runThreads();
# 8
	calypso_pt_flush();
}
# 6
extern void __calypso_generated_function0( int , int  )
# 6
{
# 6
	__calypso_global_data.x++;
}
# 7
extern void __calypso_generated_function1( int , int  )
# 7
{
# 7
	(__calypso_global_data.x=10);
}