Displaying 2 results from an estimated 2 matches for "reg228".
Did you mean:
reg1228
2002 Sep 26
2
[LLVMdev] question about GetElementPtr Instruction
You are correct, ubyte 2 simply means 3rd element of the structure. This
quantity is always constant (it specifies the field number), so we could
have used any signed or unsigned integer type for it instead of ubyte.
UByte means we are limited to at most 256 structure fields but it also makes
the bytecode representation more compact. (To remove this restriction, we
may migrate to UInt in the
2002 Sep 27
0
[LLVMdev] Another question about GetElementPtr Instruction
Hi,
I've another question about getelementptr. So, in the twisted mind of my little
pass, I have a statement like this:
%reg228-mod = getelementptr %struct.SimpleStruct* %N.1, long 0 ; <%struct.SimpleStruct*> [#uses=2]
I'm not sure of the semantics of %a = getelementptr %b, long 0. I want to
think that it is some kind of weird identity (no-op), judging from the operand
type and the result type that is p...