Displaying 5 results from an estimated 5 matches for "propmap".
2009 Jun 06
2
[LLVMdev] Tablegen question
...Properties=props;
}
def i1 : myInst<..., [propX]>;
def i2 : myInst<..., [propX, propZ]>;
def i3 : myInst<..., []>;
I want to add a Tablegen backend that would look for Instructions
derived from myInst, look for Properties field, and output a
opcode->bitfield map as follows:
PropMap[myInst::i1] = propX;
PropMap[myInst::i2] = propX | propZ;
PropMap[myInst::i3] = 0;
where propX,propY,and propZ will be defined as appropriate enums.
Now, I looked at the current Tablegen backends, and I didn't find any
that are specific to a particular architecture backend, say, to X86 or
Spar...
2009 Jun 08
0
[LLVMdev] Tablegen question
...lt;..., [propX]>;
> def i2 : myInst<..., [propX, propZ]>;
> def i3 : myInst<..., []>;
>
> I want to add a Tablegen backend that would look for Instructions
> derived from myInst, look for Properties field, and output a
> opcode->bitfield map as follows:
>
> PropMap[myInst::i1] = propX;
> PropMap[myInst::i2] = propX | propZ;
> PropMap[myInst::i3] = 0;
>
> where propX,propY,and propZ will be defined as appropriate enums.
> Now, I looked at the current Tablegen backends, and I didn't find any
> that are specific to a particular architecture...
2009 Jun 08
2
[LLVMdev] Tablegen question
...f i2 : myInst<..., [propX, propZ]>;
>> def i3 : myInst<..., []>;
>>
>> I want to add a Tablegen backend that would look for Instructions
>> derived from myInst, look for Properties field, and output a
>> opcode->bitfield map as follows:
>>
>> PropMap[myInst::i1] = propX;
>> PropMap[myInst::i2] = propX | propZ;
>> PropMap[myInst::i3] = 0;
>>
>> where propX,propY,and propZ will be defined as appropriate enums.
>> Now, I looked at the current Tablegen backends, and I didn't find any
>> that are specific to a...
2009 Jul 16
0
[PATCH server] add network QMF apis. (still in progress)
...+ render(@network)
+ end
+
+ def list
+ puts "query for Network class!"
+ svc_list
+ @networks.collect { |network| render(network) }
+ end
+
+ def render(network)
+ puts "calling to_qmf on #{pool}, #{pool.name}"
+ obj = to_qmf(network, :propmap => { :proto => nil})
+ obj.proto = network.boot_type.label
+ return obj
+ end
+
+ end
+end
diff --git a/src/ovirt-agent/lib/ovirt/controllers/physical_network_impl_controller.rb b/src/ovirt-agent/lib/ovirt/controllers/physical_network_impl_controller.rb
new file mode 100644
inde...
2009 Jul 23
0
[PATCH server] Add network QMF apis.
...include NetworkService
+
+ def find(id)
+ svc_show(id)
+ render(@network)
+ end
+
+ def list
+ puts "query for Network class!"
+ svc_list
+ @networks.collect { |network| render(network) }
+ end
+
+ def render(network)
+ obj = to_qmf(network, :propmap => { :proto => nil})
+ obj['proto'] = network.boot_type.proto
+ puts "network.type is #{@network.type}"
+ if @network.type == 'PhysicalNetwork'
+ obj['impl'] = @agent.encode_id(PhysicalNetworkImplController.schema_class.id, @network.id)...