search for: shen

Displaying 20 results from an estimated 244 matches for "shen".

Did you mean: seen
2010 Apr 12
2
[LLVMdev] Why function pointer is different from other data type?
...hat I should remove the comment. In fact my question is about the "float (i32)* (float (i32)*)*", why we use this kind of return type instead of just "float (i32)*". Thanks a lot. Hao On Mon, Apr 12, 2010 at 5:42 PM, Duncan Sands <baldrick at free.fr> wrote: > Hi Hao Shen, > >> %4 = call float (i32)* (float (i32)*)* @get_ptr(float (i32)* @a1) >> nounwind ;<float (i32)*>  [#uses=1] >>                ~~~~~~~~~~~~~~~~~~~~  VERY STRANGE RETURN TYPE !!! > > this is a comment, and only exists to help the human reader.  Comments > start...
2015 Jul 18
4
[LLVMdev] How can i differentiate pointer type int 32* from int 32** ?
...this problem I hope to check the point-to level for each pointer variable. I think the data dependence through pointers can be described more accurately in this way. Unfortunately i didn't find any available interface to finish this job, so i guess i have to write it by myself. Best regards, Shen On Fri, Jul 17, 2015 at 2:22 PM, John Criswell <jtcriswel at gmail.com> wrote: > On 7/17/15 1:06 PM, Shen Liu wrote: > > John, thanks for you answer! But as far as I know LLVM doesn't provide > any interface for finding the pointee of a pointer directly, so i have to &gt...
2014 Jun 05
0
Question about voltage threshold setting in NUT
...up default.input.transfer.low = 84. After I took that line out, restart upsdrvctl, upsmon, and upsd, the command of sudo upsrw -s input.transfer.low=70 -u * -p * ups return OK. Still need to verify if it works by using voltage regulator and will keep you updated. Thank you for your help Regards Shen On Thu, Jun 5, 2014 at 8:54 AM, Shen Chuan <shen at minutekey.com> wrote: > Hello Charles, > > Thank you so much for your help. Just run upsc and it is possible that > input.transfer.low is the one because we used power regulator to bring down > the power around 84v and th...
2014 Jun 05
2
Question about voltage threshold setting in NUT
...y.start: 120 ups.firmware: 02 ups.load: 23 ups.mfr: EATON ups.model: Eaton 3S 550 ups.power.nominal: 550 ups.productid: ffff ups.serial: 000000000 ups.status: OL CHRG ups.timer.shutdown: 0 ups.timer.start: 0 ups.vendorid: 0463 Thank you again for your help. Kind of running out of ideas. Regards, Shen On Wed, Jun 4, 2014 at 9:24 PM, Charles Lepple <clepple at gmail.com> wrote: > On Jun 4, 2014, at 6:38 PM, Shen Chuan wrote: > > > $ sudo upsrw -s battery.charge.low=70 -u * -p * ups > > OK > > Not sure this does what you originally asked, though. > > Does u...
2010 Apr 12
0
[LLVMdev] Why function pointer is different from other data type?
...s a signature of the pointer to function value being invoked (which includes the return type). In your case the full signature is printed because get_ptr returns a pointer to function (read item 5 in the Arguments section of the 'call' Instruction section). Victor On 12 April 2010 16:58, SHEN Hao <hao.shen at imag.fr> wrote: > I'm sorry that I should remove the comment. > > In fact my question is about the "float (i32)* (float (i32)*)*", why > we use this kind of return type instead of just "float (i32)*". > > Thanks a lot. > Hao >...
2014 Jun 18
2
Question about recycle power of Tripp Lite UPS
...everything is power off after the UPS shuts down. Also play on the watchdog for Tripp Lite. Looks like it has the command of reset.watchdog but not enable.watchdog. Do you guys know the command to enable the watchdog for Tripp Lite UPS(TrippLite HID 0.8)? Thank you so much for your help Regards Shen Minutekey Inc On Wed, Jun 18, 2014 at 7:03 AM, Charles Lepple <clepple at gmail.com> wrote: > [moving this to nut-upsuser, since other users of Tripp Lite equipment may > have specific experience with this.] > > On Jun 17, 2014, at 7:51 PM, Shen Chuan <shen at minutekey.com&...
2017 Apr 19
2
RPC on LLVM IR: any example programs for this?
...ave two modules M1.bc and M2.bc, and in M1 we want to call function foo(defined in M2.bc)with the function type int foo(float, char*){...} what basic steps do I need to do to make M1.bc call foo remotely? BTW, does the RPCUtility supports handling pointers now? Thanks very much! Best regards, Shen On Thu, Apr 13, 2017 at 9:13 PM, Lang Hames via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi Shen, > > The best place to look for examples is currently the RPCUtilsTest unit > test: llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp > > What API do you want to be ab...
2018 Nov 14
2
Fw: How to define an instruction
...my confusion. I have another questions. If I add really instructions instead intrinsics ,can I reach my purpose? I guess ,the answer is "can't". I don't find the anything about how machine to do about instructions,especially "ALU" instructions. Thank you again, Tianhao Shen On 11/14/2018 13:42,Craig Topper<craig.topper at gmail.com> wrote: For the most part target specific intrinsics are black boxes to llvm. They're just a little bit better than using inline assembly. They're pretty much just a way to say from C code that you want to use a specific f...
2012 Aug 14
4
Subsetting rows by multiple levels of selected values
Dear list, Let's say we have a data frame as follows, >expand.grid(a=1:5,b=c(1,5,10,20),DV=c(0.1,0.2,0.3))->df1 >df1$DV<-rgamma(60,shape=10) columns a and b are two levels. DV is the column with values we are interested in. Then another data frame df2 with values as follows data.frame(a=c(2,2,3,4,5),b=c(5,10,1,5,20))->df2 Now I want to a subset of df1 that match df2 at the
2014 Jun 05
2
Question about voltage threshold setting in NUT
Hey Charles, Looks like after take out default.input.transfer.low, upsrw script *DOES* work, the only thing for Eaton 3S 500 is that it is only accept certain voltage values for input.transfer.low, 84v and 96v are two of them. Otherwise the value never gets picked up. Thank you for all your help Shen On Thu, Jun 5, 2014 at 12:07 PM, Shen Chuan <shen at minutekey.com> wrote: > Hey Charles, > > Latest update. Looks like in ups.conf I setup default.input.transfer.low = > 84. After I took that line out, restart upsdrvctl, upsmon, and upsd, the > command of > > sudo ups...
2012 Apr 07
3
xenstored cannot start
...sxp, image File "/usr/lib64/python2.7/site-packages/xen/xend/image.py", line 46, in <module> xc = xen.lowlevel.xc.xc() xen.lowlevel.xc.Error: (1, ''Internal error'', ''xc_interface_open failed: No such file or directory'') -- Regards, David Shen http://about.me/davidshen https://twitter.com/#!/davidshen84 _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
2012 May 11
3
How to specify multiple regular expressions for pattern argument
...and ending with a digit. How do I specify these conditions in the pattern argument I can do one condition but not two ls(pattern='^d') ls(pattern='[[:digit:]]$') are working. But, ls(pattern='^d'&'[[:digit:]]$') is not working. Appreciate any comment. Jun Shen [[alternative HTML version deleted]]
2016 Dec 16
2
RPC on LLVM IR: any example programs for this?
...type system directly. But I haven't found any helpful stuff on google showing me how to use these RPC APIs. Can anyone give me some hints or example programs showing me how to use these API correctly? Just a simple serialization/deserialization toy demo is OK, Thanks very much! Best regards, Shen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161216/ff0f4e0f/attachment.html>
2015 Nov 13
5
How to efficiently extract the calledFunction from a complex CallInst?
...the operand is the whole thing of "double (...)* bitcast (double ()* @quantum_frand to double (...)*)()". Any member function calling on that fails so i don't know whether there is an efficient way to exactly get the called function @quantum_frand(...) here? Thanks! Best regards, Shen -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151112/61000ee3/attachment.html>
2009 Mar 27
2
Sorting problem
...ng and got an error. "Error in FUN(left) : invalid argument to unary operator", The command is "BA[order(BA[1],-BA[2]),]". BA is the data frame. It was working if I used increasing on both columns. Why the decreasing symbol "-" is not working here? Thanks. -- Jun Shen PhD PK/PD Scientist BioPharma Services Millipore Corporation 15 Research Park Dr. St Charles, MO 63304 Direct: 636-720-1589 [[alternative HTML version deleted]]
2015 Apr 29
2
[LLVMdev] AliasAnalysis calling failed in Pass interaction
Dear LLVM developers, I am Shen, a PhD student at Lehigh Univ. PA. Now I am implementing a Program Dependence Graph(PDG) on LLVM. I have 4 passes here: 1. ProgramDependenceGraph (a *ModulePass *on the highest level) 2. DataDependenceGraph (a Intermediate *FunctionPass*). 3. FlowDependenceAnalysis Pass (a intermediate *FunctionP...
2015 Jul 17
2
[LLVMdev] How can i differentiate pointer type int 32* from int 32** ?
...any interface for finding the pointee of a pointer directly, so i have to process a multi-level pointer i need to write my own function to check pointers level by level, is that right? On Fri, Jul 17, 2015 at 1:47 PM, John Criswell <jtcriswel at gmail.com> wrote: > On 7/17/15 12:38 PM, Shen Liu wrote: > > Hi all, as a LLVM beginner I would like to know how can i check the > pointer types with different levels like int 32* and int 32**, int 32***? > > By using value->getType()->isPointerTy() i can just know they are > pointers. But the dump results clearly show...
2018 Nov 14
2
Fw: How to define an instruction
--------- Forwarded Message --------- From: Tianhao Shen <17862703959 at 163.com> Date: 11/14/2018 09:31 To: craig.topper at gmail.com <craig.topper at gmail.com> Subject: Re: [llvm-dev] How to define an instruction Hi, Craig Thank you for replying to me. I guess that you misunderstand my meaning about "can'r run". I just want t...
2017 Oct 22
2
Replace "while" "for" loops with "If-Else"
...the right word), > which means transforming the nested loop into 1-level loop, I think you can > continue using your pass on it. > > [1] https://stackoverflow.com/questions/18369260/flattening- > a-very-nested-loop > > HTH, > chenwj > > > 2017-10-22 13:51 GMT+08:00 Shen Liu via llvm-dev <llvm-dev at lists.llvm.org> > : > >> Hi everyone, >> >> I hope to implement a feature to transform an IR with "while" or "for" >> loops to a new IR with no loop. Instead, I just want to use if-else >> statements in the...
2010 Apr 12
5
[LLVMdev] Why function pointer is different from other data type?
...l float (i32)* (float (i32)*)* @get_ptr(float (i32)* @a1) nounwind ; <float (i32)*> [#uses=1] ~~~~~~~~~~~~~~~~~~~~ VERY STRANGE RETURN TYPE !!! %5 = call float %4(i32 4) nounwind ; <float> [#uses=1] Why we need duplicated return type? Best regards, -- Hao Shen