RSS

(root)/ildjit/libiljitir : 1 : src/ir_method_rpc_def.x

« back to all changes in this revision

Viewing changes to src/ir_method_rpc_def.x

Speziale Ettore
2009-11-18 09:19:57
Revision ID: ettore@mars-20091118091957-5qdu9yqf186fftwr
Initial import into Bazaar.

Show diffs side-by-side

added added

removed removed

 
1
struct item_infos_t{
 
2
        int             isByref;
 
3
        unsigned hyper  type_infos;
 
4
};
 
5
 
 
6
struct ir_item_rpc_t{
 
7
        double                  value;
 
8
        double                  fvalue;
 
9
        unsigned int            type;
 
10
        unsigned int            internal_type;
 
11
        item_infos_t            infos;
 
12
        char                    name<>;
 
13
};
 
14
 
 
15
struct ir_instr_rpc_t{
 
16
        int             type;
 
17
        int             ID;
 
18
        unsigned int    byte_offset;
 
19
        ir_item_rpc_t   parameters<>;
 
20
        ir_item_rpc_t   call_parameters<>;
 
21
        ir_item_rpc_t   result;
 
22
        unsigned hyper  binary;
 
23
        unsigned hyper  nfunc;
 
24
};
 
25
 
 
26
struct ir_signature_rpc_t {
 
27
        unsigned int    result_type;
 
28
        unsigned int    parameter_types<>;
 
29
};
 
30
 
 
31
struct ir_basicblock_rpc_t {
 
32
        unsigned int            start_inst;
 
33
        unsigned int            end_inst;
 
34
};
 
35
 
 
36
struct ir_method_rpc_t{
 
37
        char                    name<>;
 
38
        unsigned int            optimize_flags;
 
39
        unsigned int            max_variables;
 
40
        ir_instr_rpc_t          instructions<>;
 
41
        unsigned int            local_internal_types<>;
 
42
        ir_signature_rpc_t      signature;
 
43
        unsigned int            rootSet<>;
 
44
        ir_basicblock_rpc_t     basicBlock<>;
 
45
        unsigned int            liveness_block_numbers;
 
46
        unsigned int            reaching_definitions_block_numbers;
 
47
        unsigned int            reaching_expressions_block_numbers;
 
48
        unsigned int            available_expressions_block_numbers;
 
49
        unsigned int            optimized_in_seconds;
 
50
        unsigned long           optimized_in_milliseconds;
 
51
};
 
52
 
 
53
program IRDISPATCHER_PROG{
 
54
        version IRDISPATCHER_VERS{
 
55
                ir_method_rpc_t optimize(ir_method_rpc_t method) = 1;
 
56
        } = 1;
 
57
} = 0x20000001;

Loggerhead 1.17 is a web-based interface for Bazaar branches