Displaying 20 results from an estimated 100 matches similar to: "[LLVMdev] A question about printout the SeletionDAG"
2009 May 05
4
[LLVMdev] A problem creating operands for a new IR instruction to the mailing list
I have a question about inserting instructions into the LLVM IR. I can insert instructions, but my operands do not have the right type, so it fails an assertion at runtime.
I am trying to insert an immediate load instructions, as a means of claiming a new register.
Here is what I do:
Builder.SetInsertPoint(LLVMBB, I);
// The following line looks to me like it would have a chance of loading
2009 Jul 21
0
[LLVMdev] how can I compile an ARM assembly file produced by llc into ARM binary ?
Dear all,
I have a problem while compiling the ARM assembly file produced by LLVM arm backend (llc)。
The commands I did are ..
llc -march=arm printf.bc -o printf.arm.s
arm-softfloat-linux-gnu-as printf.arm.s -o printf.arm.o
arm-softfloat-linux-gnu-ld --dynamic-linker /home/toolchain/arm-softfloat-linux-gnu/distributed/arm-softfloat-linux-gnu/lib/ld-2.3.5.so
2009 May 05
0
[LLVMdev] A problem creating operands for a new IR instruction to the mailing list
If you want an immediate constant value, ConstantInt::get(APInt(32, 5,
false)) will perhaps help you ?
Olivier.
2009/5/5 seventh moon <suigintou_ at hotmail.com>
> I have a question about inserting instructions into the LLVM IR. I can
> insert instructions, but my operands do not have the right type, so it fails
> an assertion at runtime.
>
> I am trying to insert an
2009 May 06
1
[LLVMdev] A problem creating operands for a new IR instruction to the mailing list
Thank you for your answer. But there is still a problem.
You seem correct about how to define a constant operand. So I added it into my code, like so:
Builder.SetInsertPoint(LLVMBB, I);
Constant *C = ConstantInt::get(APInt(32, 5, false));
Instruction *newI=Builder.CreateLoad(C,"");
It compiles. But it still aborts at runtime with a complaint that the type is
2009 Jun 17
2
[LLVMdev] possible PowerPC (32bits) backend bug
I have been doing some playing with the patterns that define complex
instructions, and I saw a behavior that doesn't look right.
I think its a bug in the PPC backend.
The 32-bit PPC .td file defines a pattern for the fnmsubs instruction like this:
def : Pat<(fsub F4RC:$B, (fmul F4RC:$A, F4RC:$C)),
(FNMSUBS F4RC:$A, F4RC:$C, F4RC:$B)>,
2008 Jun 30
0
[ wxruby-Feature Requests-20905 ] Add MapXXX methods to Wx::Printout
Feature Requests item #20905, was opened at 2008-06-30 18:06
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=221&aid=20905&group_id=35
Category: Missing method(s) in class
Group: None
Status: Open
Priority: 3
Submitted By: Alex Fenton (brokentoy)
Assigned to: Alex Fenton (brokentoy)
Summary: Add MapXXX methods to Wx::Printout
Initial Comment:
These are
2014 Feb 16
0
[PATCH] drm/nouveau/bios: fix INDEX_ADDRESS_LATCHED trace printout
Having a \n in the middle of a format string means that the next line
doesn't get the prefixes unlike every other line printed by the trace.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
drivers/gpu/drm/nouveau/core/subdev/bios/init.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/core/subdev/bios/init.c
2010 Feb 06
1
How to suppress vector indexes in printout
I'm a newbie in R and my question is simple.
When I type something like this:
> x=rnorm(10)
> x
[1] 0.5804216 -1.1537118 -0.3222235 0.7117290 -1.0918811 0.3992606
[7] -0.1800837 0.4168152 -0.2077298 -0.2595467
> 1
[1] 1
>
I'm getting indexes in the first column ([1], [7], etc.)
How to suppress them temporarily to get this:
> x=rnorm(10)
> x
0.5804216 -1.1537118
2009 Oct 13
2
gee: suppress printout
I'm using the function gee from the library(gee)
gee(Y~X,id=clust.id,corstr="exchangeable",b=tmc$coef,family=binomial(link=logit),silent=T)
Every time it runs, it dutifully prints out
Beginning Cgee S-function, @(#) geeformula.q 4.13 98/01/27
user's initial regression estimate
[,1]
[1,] -4.5278335
[2,] -0.2737999
[3,] -0.9528306
[4,] 0.9393861
[5,]
2007 Nov 28
2
smbclient printout
Hello,
Sorry, I guess my first post wasn't allowed - perhaps because I had HTML
embedded in it?
Question:
Is there a way that I can have the output of smbclient be redirected to a
file and have it updated every time someone opens / closes a file in the
share?
The only idea that I have thus far is to write a script that would output
this data to a log file, and have the script
2011 Jun 26
2
how to extract data from a function printout - example provided
Hi there,
Does anyone know how to extract data from a function that prints out two or more summaries? In the function below (the whole code is provided) we get 5 different tables of data. I would like to split each of these tables in a separate file (while the function itself shouldn't be changed), so that further analysis on each data set could be carried out. Your help is deeply
2024 Mar 26
1
Printout and saved results
Not clear what you mean by "saved".
If you call a function and the result is printed, the result is
remembered for a wee while in
the variable .Last.value, so you can do
> function.with.interesting.result(.......)
> retained.interesting.result <- .Last.value
or even
> .Last.value -> retained.interesting.result
If you know before you start writing the expression that you
2024 Mar 26
2
Printout and saved results
How can I have both printout and saved results at the same time.
The subroutine first return "out" and the printout gets printed, but not
saved.
I then run the "invisible" line. Results got saved and accessible but no
printout.
How can I have both printout and also have the results saved? Thank you!
> dstat4 <- function(data,digits=3){
+?? Mean??? <-
2024 Mar 26
1
Printout and saved results
I just like the subroutine to spit out results (Mean, Std.dev, etc.) and
also be able to access the results for further processing, i.e.,
v$Mean
v$Std.dev
On 3/26/2024 11:24 AM, Richard O'Keefe wrote:
> Not clear what you mean by "saved".
> If you call a function and the result is printed, the result is
> remembered for a wee while in
> the variable .Last.value, so
2024 Mar 26
1
Printout and saved results
Your desire is not unusual among novices... but it is really not a good idea for your function to be making those decisions. Look at how R does things:
The lm function prints nothing... it returns an object containing the result of a linear regression. If you happen to call it directly from the R command prompt and don't assign it to a variable, then the command interpreter notices that
2024 Mar 26
1
Printout and saved results
Just FYI, the R interpreter typically saves the last value returned briefly
in a variable called .Last.value that can be accessed before you do anything
else.
> sin(.5)
[1] 0.4794255
> temp <- .Last.value
> print(temp)
[1] 0.4794255
> sin(.666)
[1] 0.6178457
> .Last.value
[1] 0.6178457
> temp
[1] 0.4794255
> invisible(sin(0.2))
> .Last.value
[1] 0.1986693
So perhaps if
2004 May 21
1
function for running MS-DOS on R
I had downloaded the program that runs on MS-DOS.
Is it possible for MS-DOS to be run in R such as WinBugs1.4?
I wonder whether there is the R function for running MS-DOS from R such as
the 'bug.r' function to make Winbugs practicable in R.
I had heard Rterm.exe that runs on MS-DOS.
However, What I need is to run MS-DOS in R but to run R in MS-DOS.
2009 Nov 29
2
Time Series Rating Model
To R programming experts,
I am a undergraduate student, and now doing research personally. I apply diagonal bivariate poisson (R package "bivpois") with stochatics weighted function (refer to dixoncoles97 section 4.5 to 4.7). However I dont know how to fit this stochatical weighted function to the completed bivariate poisson model.
I know that some other references for dynamic soccer
2011 Nov 25
1
Custom printouts in reports
Hi All,
I''ve started with Puppet recently. So maybe it is a simple problem, but
could not find out up to now the solution. I just want to print out the
debug/log message in client report.
The only way I found is to use notify for this purpose like:
class repo {
notify {"The log message":}
}
In client report I see this:
info: Applying configuration version
2009 Nov 11
1
Suppressing final spaces in data.frame printouts
When printing data.frames, R aligns columns by padding with spaces.
For example,
print(data.frame(x=c('a','bb','ccc')),right=FALSE)
? x
1 a? |------------------ vertical bar shows end of line
2 bb |------------------ vertical bar shows end of line
3 ccc|------------------ vertical bar shows end of line
Is there some way to suppress the padding for the final column? I