Displaying 20 results from an estimated 44 matches for "returnvalues".
Did you mean:
returnvalue
2015 May 22
1
returnValue()
In R devel rev.66393 (2014-08-15) it was possible to do this:
trace(optim, exit = quote(str(returnValue())))
but returnValue() does not seem to be available any more. The above
was useful to get the output of a function when it was called deep
within another function that I have no control over.
Has this been replaced by some other equivalent function?
P.S. This demonstrates that it no
2011 Jun 14
2
[LLVMdev] Avoiding Constant Folding
Hi All,
My codegen is trying to generate some thing like this:
entry:
....
%34 = icmp ne i32 %33, 15
br i1 %34, label %then, label %else
then: ; preds = %entry
%returnValue = or i1 true, false
....
br label %ifmerge
else: ; preds = %entry
br label %ifmerge
ifmerge:
2011 Jun 14
2
[LLVMdev] Avoiding Constant Folding
Hi,
>> entry:
>> ....
>> %34 = icmp ne i32 %33, 15
>> br i1 %34, label %then, label %else
>>
>> then: ; preds = %entry
>> %returnValue = or i1 true, false
>> ....
>> br label %ifmerge
>>
>> else: ; preds = %entry
>> br label
2011 Jun 14
0
[LLVMdev] Avoiding Constant Folding
On Mon, Jun 13, 2011 at 5:33 PM, Cuong Pham <phamcuongbk at gmail.com> wrote:
>
> Hi All,
>
> My codegen is trying to generate some thing like this:
>
> entry:
> ....
> %34 = icmp ne i32 %33, 15
> br i1 %34, label %then, label %else
>
> then: ; preds = %entry
> %returnValue = or i1 true, false
> ....
>
2019 Feb 12
2
[RFC] Potential extension to asm statement functionality
Suppose a programmer wants to inject their own global label definition into the body of a function with some guarantee that it will not be removed by the compiler.
One way to do this is to define a global label with an asm statement knowing that the asm statement will not be invoked until after the compiler's optimization passes have run, but the following case demonstrates that a label
2014 Jul 29
2
[LLVMdev] to lower "write to argument pointer"
Drear there:
The problem I have is to lower an intrinsic function like this
”
float @llvm.write.arg(flaot %src, float* %dst)
“
I am lowering it with INTRINSIC_W_CHAIN, so the return value and the value to write to dst are generated with some operations using src:
"
// it is the frame index node corresponding to input pointer
SDvalue frindex = Op.getoperand(3);
…
SDValue returnValue =
2019 Feb 12
3
[RFC] Potential extension to asm statement functionality
The team I am working with is using asm statements containing label definitions as a way of instrumentation so that when an application is loaded into their debug and test framework, the labels will cause breakpoints to be set at strategic points where they can query the state of the processor that the application is running on.
~ Todd
From: Eli Friedman [mailto:efriedma at quicinc.com]
Sent:
2008 Mar 17
2
NoMethodError (...occurred while evaluating nil.split)
I am getting a NoMethodError, with the following decription:
You have a nil object when you didn''t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.split
The error is raised on function call line of the ''.html.erb'' file.
The function is present in the relevant ''helper.rb'' file and contains
the
2011 Jun 14
0
[LLVMdev] Avoiding Constant Folding
Thank you guys, now I understand the problem.
I am trying to avoid using stack memory (or mutable variable is the term
used in the tutorial). I am also trying to optimize the code as much as I
can before using optimizer passes such as mem2reg (to reduce the compile
time as well).
With regards,
--Cuong
Duncan Sands wrote:
>
> Hi,
>
>>> entry:
>>> ....
>>>
2019 Feb 14
3
[RFC] Potential extension to asm statement functionality
Hi Paul,
Regarding the "No Touchie!" constraint idea for asm statements: would this be a new qualifier (like volatile) that could be applied to the asm statement?
Since the constraint is not necessarily associated with an input or output operand, it seems that introducing the constraint via the qualifier field might work.
All,
The volatile qualifier on an asm statement already
2006 Apr 10
0
Proposal for Try.allThese()
Dunno if this is the forum for it but I''ve had a need for a slight
modification to Try.these() from prototype.js. In my situation I
wanted to make sure that as many functions ran as possible instead of
just the first successful.
It''s useful in situations where you have a lot of if(object) { /* do
stuff with object */ } statements in a row.
The return value wasn''t
2017 May 09
3
R-3.3.3/R-3.4.0 change in sys.call(sys.parent())
Some formula methods for S3 generic functions use the idiom
returnValue$call <- sys.call(sys.parent())
to show how to recreate the returned object or to use as a label on a
plot. It is often followed by
returnValue$call[[1]] <- quote(myName)
E.g., I see it in packages "latticeExtra" and "leaps", and I suspect it
used in "lattice" as well.
This idiom
2011 Sep 22
2
[LLVMdev] Need help in converting int to double
On Thu, Sep 22, 2011 at 3:46 PM, sarath chandra <sarathcse19 at gmail.com>wrote:
> Hi James,
>
> First i converted the void * to int* and then did FPToSI...then did SHL...(
> because CreateShl only accepts integers... i pointer casted it to int64 type
> first)... Below is the code snippet....
>
>
> lhs = mBuilder.CreateStructGEP(firstArg, 0);
> lhs =
2011 Sep 22
0
[LLVMdev] Need help in converting int to double
Hi Sarath,
It would have really helped if you had removed the commented out code and inlined the calls to your homemade helper functions before sending it...
You are doing this, in LLVM IR:
%0 = getelementptr %Value* %firstArg, i32 0 ; i8**
%1 = load i8** %0 ; i8*
%2 = bitcast i8* %1 to i64*
%3 = getelementptr %Value* %secondArg, i32 0 ; i8**
%4 = load i8** %3; i8*
%5 = bitcast i8* %4 to i64*
2011 Sep 22
3
[LLVMdev] Need help in converting int to double
Hi,
I'm pursuing M.Tech course. As a part of the project work i'm using
LLVM as back-end. My project area is "Enhancing the performance of V8
javascript engine using LLVM as a back-end".
Now i'm writing code for shift left(SHL) operator. I had my own Value
Structure .. it's like this
Struct Value
{
void *val ;
char type;
}
The "char type" holds
2011 Sep 22
1
[LLVMdev] Need help in converting int to double
Yeah, that's the fault...got the answer...... Thanks James for the help...
Struggling with this for so many days.......
On Thu, Sep 22, 2011 at 4:02 PM, James Molloy <James.Molloy at arm.com> wrote:
> Hi Sarath,****
>
> ** **
>
> It would have really helped if you had removed the commented out code and
> inlined the calls to your homemade helper functions before
2014 Mar 04
0
Anybody have issues joining machines to a S4 AD domain using VBS
All
got an issue I have a VBS that should join machines to the domain but it's
not working get access denied instantly
anybody got any working scripts they would like to share with me.
btw my script that doesn't work is below
' Join a Computer to a Domain
Const JOIN_DOMAIN = 1
Const ACCT_CREATE = 2
Const ACCT_DELETE = 4
Const WIN9X_UPGRADE = 16
Const DOMAIN_JOIN_IF_JOINED =
2011 Aug 18
3
Error message: object of type 'closure' is not subsettable
Dear R-users
I need to calibrate kappa, rho, eta, theta, v0 in the following code, see
below. However when I run it, I get:
y <- function(kappahat, rhohat, etahat, thetahat, v0hat) {sum(difference(k,
t, S0, X, r, implvol, q, kappahat, rhohat, etahat, thetahat, v0hat)^2)}
> nlminb(start=list(kappa, rho, eta, theta, v0), objective = y, lower =lb,
> upper =ub)
Error in dots[[1L]][[1L]] :
2014 May 06
1
WG: on High Load using IMAPSYNC : Panic: file ostream-lzma.c: line 147: unreached. Dovecot 2.2.12 with zlib/XZ compression
...e you on latest patchlevel ?
> there are some dsync fixes since 2.2.12
but it is not a problem of dsync.
when looking at the code, we get here an unexpected returnvalue when
flushing.
I propose it would be good practice to write some logging in the default
switch cases, to see the unexpected returnvalues in the errorlog.
something like :
ostream-lzma.c :
-- Line 147 : i_unreached();
++ Line 147 : i_fatal("unexpected lzma errorcode when flushing : %s",
ret);
after that modification the errorlog shows :
May 6 14:03:05 vm-imap dovecot: imap(test): Fatal: lzma errorcode when
flu...
2008 Mar 21
4
Prototype.js event.stop(event) FF2 not working
stop: function(event) {
if (event.preventDefault) {
event.stopPropagation();
event.preventDefault();
} else {
event.returnValue = false;
event.cancelBubble = true;
}
}
/* br original
stop: function(event) {
Event.extend(event);
event.preventDefault();
event.stopPropagation();
event.stopped = true;
}
*/
};