similar to: [LLVMdev] Q: clang, obj-c: Hashing selectors to SEL's.

Displaying 20 results from an estimated 7000 matches similar to: "[LLVMdev] Q: clang, obj-c: Hashing selectors to SEL's."

2012 May 07
2
[LLVMdev] Running Objective-C in the JIT
Hello, I've been trying to get some OSX code to execute within the JIT, and it's been causing me some major headaches! I'm attempting to JIT-compile some code which uses external OSX obj-C classes (Cocoa, etc), and also contains its own embedded obj-C classes. My first hurdle in doing this was that when the code tried to call Cocoa classes, the obj-C selectors weren't being
2012 May 08
3
[LLVMdev] Running Objective-C in the JIT
Thanks for the info! Yes, the problem is certainly that the JITed code isn't registering its classes, but even after digging through all the runtime code I can't find anything that seems suitable for doing this.. The nearest function I could find was _objc_init_image, but that seems to be for win32! I assume that the way it works must be that clang creates some static data structures
2012 May 07
0
[LLVMdev] Running Objective-C in the JIT
Le 7 mai 2012 à 17:07, Jules a écrit : > Hello, I've been trying to get some OSX code to execute within the JIT, > and it's been causing me some major headaches! > > I'm attempting to JIT-compile some code which uses external OSX obj-C > classes (Cocoa, etc), and also contains its own embedded obj-C classes. > > My first hurdle in doing this was that when the
2012 May 08
0
[LLVMdev] Running Objective-C in the JIT
And also, the hook to load/unload image is installed in objc-os.m using dyld_register_image_state_change_handler() function. Le 8 mai 2012 à 15:07, Julian Storer a écrit : > Thanks for the info! > > Yes, the problem is certainly that the JITed code isn't registering > its classes, but even after digging through all the runtime code I > can't find anything that seems
2013 Jan 08
1
[LLVMdev] Examples of creating Obj-C objects?
Hi. Does anyone have examples of LLVM assembler to create Objective-C objects and send messages? I'm talking about having an Engine hosted within my Objective-C app, and having LLVM bitcode call back into the app. Thanks! -- Rick
2007 Jun 24
2
selectors for tc filters
Hi. I can''t find any documentation on the specific selectors for tc-filters -- what documentation I have says they are in Polish in a file called selectors.html -- is there anything around in English to see those? Thanks. -- Your life is like a penny. You''re going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
2010 May 19
1
logging
I am looking through the logging options and wondering if there are a couple of things that we can do 1. Logouts don't seem to show the IP address of the logout, we typically see multiple sessions at a time and wondering if there is a way to tie the logouts to an IP 2. POP logouts show the number of messages retrieved/deleted but I don't see a way to do this with IMAP, is there a logout
2020 Oct 12
2
[RFC] Analysis and runtime check of objc_direct/objc_non_runtime_protocol
Currently diagnostics related to objc_direct/objc_non_runtime_protocol are done at each compilation unit. Even with these diagnostics, we will see issues at runtime - Due to lack of global scope for our diagnostics. We can catch these issues with a global analysis. - Due to usages of dynamic APIs that require the metadata. We can catch these issues with runtime checks. Builds with
2006 Mar 22
1
event:selectors VS Behavior
This looks quite nice at first glance.. http://encytemedia.com/event-selectors/ I would love to hear some of your comments pro or con on how this compares to Behavior. ______________________________________________________________________ Alex Duffield . Principal . InControl Solutions . http:// www.incontrolsolutions.com _______________________________________________ Rails-spinoffs
2007 Feb 14
1
newbie: logical AND, OR in selectors ?
Hello Is it possible to construct selectors that can take into account two or more variables or conditions, by ANDing or ORing them together? Eg, I am trying to write a cvsserve component which can optionally take a username (or connect anonymously) and can also optionally take a cvs tag name to export. So there would be four different combinations of cvs command to exec, eg: cvs -d
2010 May 27
2
[LLVMdev] Using LLVM to compile Objective-C on an Xbox 360
This is certainly an option... but keeping up an LLVM backend for the 360 seems like a bit much work. Using Clang's rewriter requires no real low-level maintenance, just creating and maintaining a C library for support functions emitted by the compiler (e.g. objc_msgSend). It seems to create a backend for LLVM targeting the 360 I wouldn't need to create something that outputs XEX's
2024 May 08
1
Compilation problems with R4.4.0
? Wed, 8 May 2024 16:59:25 +0000 Simon Andrews <simon.andrews at babraham.ac.uk> ?????: > The lapack libraries are: > > $ rpm -qa | grep lapack > lapack-3.9.0-10.el9.x86_64 > lapack64_-3.9.0-10.el9.x86_64 > lapack64-3.9.0-10.el9.x86_64 > lapack-devel-3.9.0-10.el9.x86_64 Thanks for this information! I figured out I needed to enable the "PowerTools/CRB" repo,
2010 May 27
0
[LLVMdev] Using LLVM to compile Objective-C on an Xbox 360
Le 27 mai 2010 à 08:48, Kevin Wooten a écrit : > This is certainly an option... but keeping up an LLVM backend for the 360 seems like a bit much work. Using Clang's rewriter requires no real low-level maintenance, just creating and maintaining a C library for support functions emitted by the compiler (e.g. objc_msgSend). > The clang rewriter is not the same than LLVM C backend.
2006 May 29
0
attribute selectors: IE6 compatibility and enhancements
Hi All, I''ve posted a patch a couple days ago to bring IE6 compatibility and enhancements to Brian Donovan''s attribute selectors. It''s here: http://dev.rubyonrails.org/ticket/5170 What it does: * adds full IE6 compatibility to attribute selectors. * adds ^=, $= and *= operators * replaces != (not in spec) by :not(X) which is applicable to ALL operators, so you can
2017 Jan 10
2
Default hashing function for integers (DenseMapInfo.h)
> On Jan 10, 2017, at 9:36 AM, Bruce Hoult <bruce at hoult.org> wrote: > > Both are not very sophisticated. > You should also look at the different MurmurHash versions, and descendants such as CityHash. I did a few benchmark this morning, trying to tweak the hashing for pointers (as many people seem to use pointers as keys). The hash function in LLVM is quite simple, but it
2012 Feb 29
1
[LLVMdev] Proposed implementation of N3333 hashing interfaces for LLVM (and possible libc++)
On 29 February 2012 09:35, Chandler Carruth <chandlerc at google.com> wrote: > I still think we can do more, but it's already much faster than the existing LLVM one except for the issue Tobias pointed out w/ modulo-4 key sizes. I'm going to investigate this OK, but this is a VERY big exception! Almost any non-string data anyone wants to hash will be a multiple of 4 bytes in
2004 Aug 12
2
Hashing table based on FWMARK
We currently use iptables, matching packets based on IP address and marking them with an ID. Multiple IP addresses can be marked with the same ID. We then filter based on the ID. We have close to 2000 filters now and I''m looking into hashing tables. Is there any way to create a hashing filter based on the fwmark? Paul C. Diem PCDiem@FoxValley.net
2016 Jul 26
2
New password hashing scheme as plugin
Hi, I want to add a new password hashing scheme as plugin and provide it for the dovecot project, so that it will be included as optional plugin in future releases. Yet the plugin compiles fine and the .so file gets created. My approach is to call the functions password_scheme_register() and password_scheme_unregister() (src/auth/password-scheme.c) inside the plugin's _init() and _deinit()
2012 Feb 18
0
[LLVMdev] We need better hashing
On Fri, Feb 17, 2012 at 10:58 PM, Talin <viridia at gmail.com> wrote: > However, I really do need an incremental hash for the various uniquing > maps which I'm attempting to optimize. Take for example the case of > uniquing a constant array - the key consists of a type* pointer and an > array of constant*. Those data fields are not stored contiguously in > memory, so I
2014 Jan 24
3
[LLVMdev] RFC: Using hashing for switch statements
Hi folks, here is a short RFC regarding hashing for the implementation of switch statements and my preliminary patch. I posted this patch on 2014-01-16 21:58 at llvm-commits at cs.uiuc.edu. You can find a copy e.g. on http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140113/201782.html. Best regards Jasper === Preliminary: Special identifiers n number of given switch labels