search for: setel

Displaying 4 results from an estimated 4 matches for "setel".

Did you mean: segel
2010 Oct 19
4
[LLVMdev] Structure memory layout
...n time using llvm-gcc and then changing common type to target specific types at code generation time using llc (reconstruct StructLayout). Second, I have been adding two new intrinsic functions as following. 1. "getelement" intrinsic function to load from bitfield of struct type. 2. "setelement" intrinsic function to store to bitfied of struct type. I would like to how do LLVM developers think about above concept. (advices, problems, other solutions etc...) Thanks, Jin-Gu Kang -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llv...
2010 Oct 19
0
[LLVMdev] Structure memory layout
...the struct type is pretty much target agnostic. What kind of target-specific structure modifications do you have in mind? > Second, I have been adding two new intrinsic functions as following. > 1. "getelement" intrinsic function to load from bitfield of struct type. > 2. "setelement" intrinsic function to store to bitfied of struct type. Bitfields and unions can make the IR a big mess. Analysing the memory layout of the bitfield is not trivial and the low level bit fiddling you have to do is too big and ugly to be in IR. An instruction that knows that would be benef...
2010 Oct 19
2
[LLVMdev] Structure memory layout
...2 @main() nounwind { 11 entry: 12 %retval = alloca i32 ; <i32*> [#uses=1] 13 %a = alloca i32 ; <i32*> [#uses=0] 14 %"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0] 15 call void @llvm.setelement.i2(i8* bitcast (i4* getelementptr (%struct.test* bitcast (%0* @vm to %struct.test*), i32 1, i32 1) to i8*), i2 1) 16 br label %return 17 18 return: ; preds = %entry 19 %retval1 = load i32* %retval ; <i32> [#uses=1] 20...
2003 Mar 06
1
[stuart.leask@nottingham.ac.uk: R in your pocket on a Sharp Zaurus]
...Cheers for now > > Nigel > ======================================== > To find out more about our work visit our web site: > www.ncl.ac.uk/hopit > ======================================== > ----- Original Message ----- > From: <david.whiting at ncl.ac.uk> > To: <setel.ammp at twiga.com>; "Nigel Unwin" <nigelunwin at hotmail.com> > Sent: Wednesday, March 05, 2003 9:15 AM > Subject: [stuart.leask at nottingham.ac.uk: [R] R in your pocket on a Sharp > Zaurus] > > > > Interesting... and Sharp are coming out with a clam-veris...