search for: mask_lower_bit

Displaying 2 results from an estimated 2 matches for "mask_lower_bit".

Did you mean: mask_lower_bits
2010 Aug 09
0
[LLVMdev] llvm "iword" type
...the >>> necessary typecasting for you to call platform-dependent stuff. >>> TypeBuilder takes a compile-type C/C++ type and turns it into an >>> llvm::Type*. >> >> For a platform-dependent .bc file, are you suggesting something like a >> defining a i8* @mask_lower_bits(i8*), one per platform, in different .bc >> files (linked in just before final code generation)? >> Then, I would just declare that function in each module I emit, call it >> whenever appropriate, and trust llvm to inline it?  ...I kind of like that >> idea.  That would all...
2010 Aug 09
3
[LLVMdev] llvm "iword" type
That and the possibility of differently sized pointers made me hesitate to dive into implementing this. I guess nailing it down to be the platform equivalent of size_t would be sensible here. On Mon, Aug 9, 2010 at 1:37 PM, Eugene Toder <eltoder at gmail.com> wrote: > Small nitpick: size_t is not guaranteed to be large enough to hold a > pointer (only an array index, which can be