similar to: [LLVMdev] Writing pass for llc

Displaying 20 results from an estimated 6000 matches similar to: "[LLVMdev] Writing pass for llc"

2009 Jul 14
0
[LLVMdev] Writing pass for llc
On Sun, Jul 12, 2009 at 2:09 PM, shu<shuguang.feng at gmail.com> wrote: > Is there a beginner's tutorial/documentation on how to write passes > for the llc tool?  I've managed to write some simple analysis passes > for the opt tool but can't figure out how to do the same for llc. > What is the proper way to integrate a new MachineFunction pass with > llc?  Is there
2009 Jul 15
2
[LLVMdev] Writing pass for llc
Devang Patel wrote: > On Sun, Jul 12, 2009 at 2:09 PM, shu<shuguang.feng at gmail.com> wrote: > >> Is there a beginner's tutorial/documentation on how to write passes >> for the llc tool? I've managed to write some simple analysis passes >> for the opt tool but can't figure out how to do the same for llc. >> What is the proper way to integrate a
2009 Jul 19
0
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
Hey Chuck, I'm afraid I can't reproduce your error but...a problem you may run into later is that opt will complain with opt: llvm/lib/VMCore/Pass.cpp:149: void<unnamed>::PassRegistrar::RegisterPass(const llvm::PassInfo&): Assertion `Inserted && "Pass registered multiple times!"' failed. Aborted I "fixed" this by replacing the LLVMLIBS line in
2009 Jul 17
2
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
While learning to write LLVM passes and following the precise instructions under http://llvm.org/docs/WritingAnLLVMPass.html, <http://llvm.org/docs/WritingAnLLVMPass.html> I got this error when loading the hello pass to run the test program: opt -load ./Release/lib/Hello.so -hello < test/test.bc > /dev/null Error opening './Release/lib/Hello.so': ./Release/lib/Hello.so:
2011 Nov 20
2
I'm writing this letter to enquire where can I download the package of "lmtest".
Dear editor: I'm writing this letter to enquire where can I download the package of "lmtest". Can you send me this package? THanks a lot. Best regards, Shu-Fei Wu
2008 Nov 04
1
How to generate a new factor variable by two other factor variables
How to generate a new factor variable by two other factor variables? For example, if I have two factor variables, factorA and factorB, factorA factorB 0 0 0 0 1 0 0 1 1 1 Is there a simple way to generate a new 4-levels factor variable as factorC factorA factorB 0 0 0 0 0 0 1 1 0 2 0 1
2012 Sep 21
1
BRugs has a bug to use "OpenBUGS_PATH"
Hi, When I used BRugs (Version 0.8.0), I found a bug about the findOpenBUGS way using "OpenBUGS_PATH". I don't know how to contact the developer, so I think someone here may help me. The issue is: I want to use OpenBUGS/BRugs in a portable way in windows, so I set the environment variable "OpenBUGS_PATH" to tell BRugs the path to OpenBugs. But the R library BRugs is still
2005 Nov 09
7
install other OS to unprivileged domain
Dear all, I have set up one unprivileged Domain-1 with help of FedoraQuickStart and some help from you. Now I want to install some other OS to Domain-2. How can I install a different OS (say Redhat 7.3) onto a unprivileged domain? Do I have to copy all files from an existed installation to an image file? Thanks, Koala _______________________________________________ Xen-users mailing list
2009 Jul 19
2
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
Thanks, Shu, I guess I haven't updated since my post went out. There are actually 2 problems: 1. mis-compilation: My LLVM-2.5 turned out to be mis-compiled using gcc-4.4.0 (surprise to me) on Debian4-32b. I tried a few different compilers, and gcc-4.0.4 (a relatively old one, again surprised me) seems to work out fine. Question: is there a good/quick/reliable way to figure out whether a
2011 Apr 23
2
Could I use R function lm or nlm in C code?
Dear R, I'm doing some simulation work and it takes me a lot of time to do it in R. So I try to implement it in C code, but I want to use some R functions directly for my lazy and the robustness of code. For example, I will use lm and nlm in my program. How could I use R's lm and nlm function directly? I thinks these functions are not included in the R's include directory. Do I need
2009 Mar 17
7
Public ZFS API ?
Are any plans for an API that would allow ZFS commands including snapshot/rollback integrated with customer''s application? Thanks, Cherry
2011 May 23
1
how could I use function in-visible to user in my code?
Dear R user, How could I use function in-visible to user in my code? For example 'survfitKM' or 'survfit.formula' in package survival. These functions are in-visible to user. Thanks, Shuguang
2009 Sep 09
2
[LLVMdev] [PATCH] & Question: Preserving ProfileInfo for backend.
Hi, Does the current LLVM backend support reading in profile information (without preserving across transformations)? An earlier poster http://groups.google.com/group/llvm-dev/browse_thread/thread/4bd65dbe84394bb7 noted that accessing execution counts in a MachineFunction pass (using the BasicBlock* corresponding to the respective MachineBasicBlock) returned 0 for all blocks. Running llc with
2001 Feb 23
2
Unsolicited oplock breaks
Dear All, we've been having some intermittent problems with students who's home directories are on a Sun E450 running Samba 2.0.6. I'm not totally convinced that the problem is caused by the server, but may be the network. However, I've had a look at the log.smb file and I'm seeing some error messages that I've not come across before: [2001/02/23 18:20:40, 0]
2023 Oct 15
2
Plot to a device and examine the plot?
On 15/10/2023 12:05 p.m., Shu Fai Cheung wrote: > Let me clarify my question: > > plot.new() > polygon(c(.5, .5, .75, .8), c(.25, .3, .4, .5)) > > If the device is an on-screen device, can I check whether a particular area > has anything drawn on it, or, to be precise, whether the color of a > particular area has all pixels equal to the background color. That is, if >
2001 Apr 05
2
write behind operation warning. What's it mean.
Dear All, We are seeing the following warning messages in event logs on PCs that are accessing a Samba server (Solaris 2.7, samba 2.0.6):- 03/03/04/2001,14:44:04,Rdr,Warning,None,3025,N/A,CIS-C033-04,A write-behind operation has failed to the remote server ilex. The data contains the amount requested to write and the amount actually written. What does this message actually mean? Does it
2005 Aug 23
2
rsync problem
Hi, My rsync is stopped working suddenly I got following in verbose and log, mkstemp failed: No such file or directory and rsync error: received SIGUSR1 or SIGINT (code 20) at rsync.c(229) my rsync code : rsync -az -e ssh --delete $HOSTTOBACKUP:$SOURCE $DR_BACKUP_DIR/daily.0 >$tempfile 2>&1 the same code was working last week, what will be the problem, how to proceed to fix?
2009 Sep 09
2
[LLVMdev] [PATCH] & Question: Preserving ProfileInfo for backend.
Thanks for such a rapid response! > Don't know about Passes in the backend, but this could be a problem of > an FunctionPassManager trying to use a ModulePass. I manually applied the patch you provided for llc (I'm using the 2.5 release of LLVM not ToT) and it fixed my compilation error. When your patch replaced the FunctionPassManager used by llc with a PassManager the error went
2023 Jul 06
1
printCoefmat() and zap.ind
Hi All, I would like to ask two questions about printCoefmat(). First, I found a behavior of printCoefmat() that looks strange to me, but I am not sure whether this is an intended behavior: ``` r set.seed(5689417) n <- 10000 x1 <- rnorm(n) x2 <- rnorm(n) y <- .5 * x1 + .6 * x2 + rnorm(n, -0.0002366, .2) dat <- data.frame(x1, x2, y) out <- lm(y ~ x1 + x2, dat) out_summary <-
2023 Jul 07
1
printCoefmat() and zap.ind
>>>>> Shu Fai Cheung >>>>> on Thu, 6 Jul 2023 17:14:27 +0800 writes: > Hi All, > I would like to ask two questions about printCoefmat(). Good... this function, originally named print.coefmat(), is 25 years old (in R) now: -------------------------------------------------------------------- r1902 | maechler | 1998-08-14 19:19:05 +0200 (Fri,