search for: selector

Displaying 20 results from an estimated 1520 matches for "selector".

2010 Feb 08
2
[LLVMdev] Test approach to handling clobbering llvm.eh.selector return
Hi Duncan, I hacked together a version of DwarfEHPrepare.cpp which tries to deal with the ordering of llvm.eh.exception and llvm.eh.selector. The hacked is contained within the attached patch. Motivation: I recently created a decent amount of hand coded IR (via the llvm C++ API). In order to help me runtime debug the code, I created automatic constructors which would trace entries into the blocks depending on the setting of a build f...
2009 Jan 24
4
nokogiri selector help
hiya, i want the selector that would return a <tr> of a table if any td contains some text, so i can use it in click_link_within e.g. When I click the "show" link within the row containing "user at example.com" When /^I click the "(.+)" link within the row containing "(.+)&quo...
2010 Feb 11
0
[LLVMdev] Test approach to handling clobbering llvm.eh.selector return
Hi Garrison, > I hacked together a version of DwarfEHPrepare.cpp which tries to deal with the ordering of llvm.eh.exception and llvm.eh.selector. > The hacked is contained within the attached patch. it looks like you tried to copy the code for eh.exception. There are two problems with this: (1) the eh.exception code really needs to be rewritten to make use of the new SSAUpdator (then all the mucking around with domtree can go away; it&...
2006 Jun 29
3
Speeding up Prototype''s $$ Selector
Just a quick heads up that Sylvain Zimmer has posted a performance upgrade for Prototype''s $$ selector, making the function up to 20 times faster. This could be just the thing I''ve been looking for recently as a site I''m currently developing makes heavy usage of that $$ selector and I have noticed that this can lead to a noticeable lag on page load. See http://www.sylvainzimm...
2012 Jul 17
3
gdm login keyboard layout selector missing
How do I get the keyboard layout selector in gdm login for 6.3? I have language selector but no keyboard layout selector. -- Robert Arkiletian Eric Hamber Secondary, Vancouver, Canada
2006 Jun 16
4
Prototype $$() on arbitary DOM element ?
I am bit confused with this function. Should I be able to pass in a DOM element e.g. someAjaxRequest.responseXML and interrogate it ? Seems not but perhaps I am missing something... TIA Matt
2007 Dec 09
0
[LLVMdev] Darwin vs exceptions
...{ > A a; > throw 5.0; > } > main() { > try { > f(); > } catch(...) { printf("caught\n"); } > } this example indeed shows the problem. Let me explain to see if we agree on what the problem is. Suppose we don't artificially add catch-alls to selectors. Then the above example compiles to: define void @_Z1fv() { ... invoke void @__cxa_throw( something ) noreturn to label %somewhere unwind label %lpad ... lpad: %eh_ptr = tail call i8* @llvm.eh.exception( ) %eh_select8 = tail call i32 (i8*, i8*, ......
2016 Oct 18
2
Is it possible to execute Objective-C code via LLVM JIT?
Hello, Is it possible to execute Objective-C code using LLVM JIT? The original point for my research is this topic on StackOverflow: All selectors unrecognised when invoking Objective-C methods using the LLVM ExecutionEngine http://stackoverflow.com/questions/10375324/all-selectors-unrecognised-when-invoking-objective-c-methods-using-the-llvm-exec <http://stackoverflow.com/questions/10375324/all-selectors-unrecognised-when-invoking-object...
2007 Oct 05
1
[LLVMdev] Instruction selector internals
...r, Tanya and Chris Lattner i suppose). LLVM 2.1 seems to build in debug mode on my "old" Cygwin (1.5.15). At least everything except tblgen is build. For tblgen i use the supplied mingw binaries, many thanks for that! I would like now to ask you a few questions regarding the instruction selector. For my processor architecture, multi-input multi-output operations are under software control and would like to take advantage of them in LLVM. It looks like that the instruction selector operates on actual DAGs, no unDAGing to trees seems to occur at any point. 1. Is the SelectionDAG selection...
2006 May 01
2
[prototype] Selector class fails on selector strings with spaces
I just ran across this bug when trying to re-create Ben Nolan''s behaviour.js with prototype and was wondering if anyone had fixed it before I went re-inventing the wheel :) Thanks! -Jeremy -- Jeremy Kitchen ++ kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org http://ipaction.org/ -- defend your rights to fair use _______________________________________________
2008 Dec 15
2
[LLVMdev] A faster instruction selector?
...can automatically generate a JIT compiler using the interpreter specification. llvm does the hard work of machine code generation. (Thanks to you all) I discovered that JIT compilation is taking much longer than had hoped. Some profiling showed that is almost entirely due to the llvm instruction selector (The register allocator and optimisation passes are fast) The split in execution time for JIT compilation being approximately: (My) IR code generation: 1 (llvm) Register allocation: 1 (llvm) Instruction selection: 12 The ladyvm JVM paper noted the same problem: http://vmkit.llvm.org/lady...
2010 Feb 05
2
[LLVMdev] Clobbering llvm.eh.selector return
I accidentally ran into a JIT scenario where a call instruction, executing an external non-generated C function, executed between a llvm.eh.exception and a llvm.eh.selector instruction would clobber the register (register index __builtin_eh_return_data_regno(1)), used by the return value of llvm.eh.selector. The behavior of the call depends on the function called even though none of the functions I have tested played with the exception mechanism--fprintfs and C fun...
2010 Dec 01
8
[LLVMdev] Alternative exception handling proposal
...Bill's. It is closer to what we already have (which can be seen as a good or a bad thing!), and is also closer to what gcc does. It is more incremental than Bill's and introduces fewer new concepts. Executive summary ----------------- Remove the personality and list of catches out of eh.selector and stick them directly on invoke instructions. The invoke instruction ---------------------- The invoke instruction is modified by adding extra catch info to it: <result> = invoke <function>(<function args>) to label <normal label> unwind label <exception labe...
2019 Nov 26
0
[PATCH common v2 1/3] options: Simplify selector parsing for --key options.
...------------ 1 file changed, 14 insertions(+), 21 deletions(-) diff --git a/options/keys.c b/options/keys.c index f783066..74b5497 100644 --- a/options/keys.c +++ b/options/keys.c @@ -153,49 +153,42 @@ get_key (struct key_store *ks, const char *device) } struct key_store * -key_store_add_from_selector (struct key_store *ks, const char *selector_orig) +key_store_add_from_selector (struct key_store *ks, const char *selector) { - CLEANUP_FREE char *selector = strdup (selector_orig); - const char *elem; - char *saveptr; + CLEANUP_FREE_STRING_LIST char **fields = + guestfs_int_split_string (&...
2017 Jan 31
2
[GlobalISel] Questions about selection regions
Hi, I've been studying the global instruction selector introduced recently. One of the properties of global instruction selectors is that they select instructions across basic blocks such that they can get more information in order to choose optimal patterns. However, the current global isel implementation still iterates over BBs within functions, whic...
2007 Dec 10
3
[LLVMdev] Darwin vs exceptions
...;> main() { >> try { >> f(); >> } catch(...) { printf("caught\n"); } >> } > > this example indeed shows the problem. Let me explain to see if we > agree on what > the problem is. Suppose we don't artificially add catch-alls to > selectors. Then > the above example compiles to: > > define void @_Z1fv() { > ... > invoke void @__cxa_throw( something ) noreturn > to label %somewhere unwind label %lpad > ... > lpad: > %eh_ptr = tail call i8* @llvm.eh.exception( ) >...
2010 Feb 05
0
[LLVMdev] Clobbering llvm.eh.selector return
Hi Garrison, > I accidentally ran into a JIT scenario where a call instruction, executing an external non-generated C function, > executed between a llvm.eh.exception and a llvm.eh.selector instruction would clobber the register > (register index __builtin_eh_return_data_regno(1)), used by the return value of llvm.eh.selector. The behavior > of the call depends on the function called even though none of the functions I have tested played with the exception > mechanism--fpr...
2007 Dec 09
3
[LLVMdev] Darwin vs exceptions
(Mail system seems to have eaten this, sorry if it's a repeat) On Dec 8, 2007, at 12:48 AM, Duncan Sands wrote: > Hi Dale, > >> - Why was C++ claiming that every selector has a catch-all handler? > > this is easy: because the semantics of invoke require it. Yes, > really. > If unwinding reaches an invoke then control is required to jump to the > unwind basic block. At first I thought this probably wouldn't > matter - > that it would be...
2004 Apr 23
1
Weirdness with choose.files on Microsoft Windows (PR#6818)
...quot;c:/C20oats.csv",sep=",") Quit R and restart. Follow the steps below. Select oats.csv the first 4 times, then select C20oats.csv and then select oats.csv . Notice how the filename is corrupted the final time. test <- function(){ cat("press ENTER for a gui file selector\n") gas.filename<-readline() if(gas.filename=="") gas.filename <- choose.files("*.csv",multi=FALSE,caption="Hi") if(file.exists(gas.filename)){ cat("Reading ",gas.filename,"\n") DFgas<-read.csv(gas.f...
2010 Jan 22
2
[LLVMdev] Exception handling question
Hi James, > I get the expected output (after changing i32 @llvm.eh.selector() to i64 > llvm.eh.selector.i64()) in top-of-tree, llvm.eh.selector.i64 has been removed (though bitcode will autoupgrade) and there is only i32 @llvm.eh.selector(), which is why my example was written this way. Ciao, Duncan.