search for: gcreadint

Displaying 3 results from an estimated 3 matches for "gcreadint".

2004 Jul 21
0
[LLVMdev] GC questions.
Ok, that makes sense :). , Tobias On Wed, 21 Jul 2004, Chris Lattner wrote: > On Wed, 21 Jul 2004, Tobias Nurmiranta wrote: > > > void *llvm_gc_read(void *ObjPtr, void **FieldPtr) { > > > return *FieldPtr; > > > } > > > > Hm, but doesn't FieldPtr need to be calculated target-specific in those > > cases? > > For the field pointer, one
2004 Jul 21
2
[LLVMdev] GC questions.
On Wed, 21 Jul 2004, Tobias Nurmiranta wrote: > > void *llvm_gc_read(void *ObjPtr, void **FieldPtr) { > > return *FieldPtr; > > } > > Hm, but doesn't FieldPtr need to be calculated target-specific in those > cases? For the field pointer, one could use the getelementptr instruction: %pairty = { sbyte, sbyte, int* } %pairPtr = ... %fieldptr = getelementptr
2004 Jul 22
2
[LLVMdev] GC questions.
....gcwrite(sbyte*, sbyte*, sbyte**) 35c35 < call void %llvm.gcwrite(sbyte* %A.1, sbyte** %B.1) --- > call void %llvm.gcwrite(sbyte* %A.1, sbyte* %B, sbyte** %B.1) -------------- next part -------------- 30d29 < #include <iostream> 37c36 < Function *GCRootInt, *GCRootValueInt, *GCReadInt, *GCWriteInt; --- > Function *GCRootInt, *GCReadInt, *GCWriteInt; 61c60 < X("lowergc2", "Lower GC intrinsics, for GCless code generators"); --- > X("lowergc", "Lower GC intrinsics, for GCless code generators"); 103d101 < GCRootValueInt =...