similar to: [LLVMdev] newbie questions about setting up a new project

Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] newbie questions about setting up a new project"

2008 Mar 15
0
[LLVMdev] newbie questions about setting up a new project
Joe, Joe Strout wrote: > I've downloaded and built LLVM 2.2, and I'm now trying to get to the > point where I can get through the first tutorial (which seems to > assume that you're already to the point of writing code and linking > against LLVM). I've found the Projects.html doc page [1], which > describes how to set up a project in the LLVM way. But some
2008 Mar 15
1
[LLVMdev] newbie questions about setting up a new project
On Mar 14, 2008, at 10:11 PM, Sam Bishop wrote: > Is the tutorial you're referring to the Projects.html page, or > something different? I was referring to <http://www.llvm.org/docs/tutorial/ JITTutorial1.html>, but laboring under the belief that it would first be a good idea to first get through GettingStarted.html, which recommends putting your stuff under
2006 May 10
3
Action Variables Not Available In The View For A Specific Action
I am setting an action variable in my PagesController such as: def manage render(:layout => "admin") @strOut = "STRING Variable Set From The MANAGE Action!" end And in the /views/pages/manage.rhtml view, I don?t have access to that @strOut variable by trying to call it as: <%= @strOut %> However, I am setting the same variable in another action in the controller
2017 Sep 28
1
rename multiple files by file.rename or other functions
Hi John, Thanks to Jim for pointing out the file.rename() function. You can try this: # define the filename templates strIn <- "XYZW--Genesis_ABC.mp3" strOut <- "01Gen--.mp3" # create the strings "01", "02", ..., "50" v <- sapply(1:50, function(i) sprintf("%02d",i) ) # perform all the file renames for ( s in v ) {
2009 Sep 21
3
[LLVMdev] Error when building tutorial example
Hi all, I'm a new user to LLVM. Not really sure if this is the correct place to post, since there isn't really any other forums around. Anyway, the issue I'm encountering is that, I was trying out the first tutorial (http://llvm.org/docs/tutorial/JITTutorial1.html). I attempted to do this in another folder that was copied from llvm/projects/sample. I created a new folder called
2009 May 24
3
[LLVMdev] llvm address of
I'm trying to generate the equivalent of this function dynamically in llvm (a la http://llvm.org/docs/tutorial/JITTutorial1.html) but after half a day of searching I still haven't found how to create the equivalent of the & (address of) operator in the llvm API, more exactly how do I obtain the i8* from the i32 below void fn(int x) { another_fn(&x); } thanks for any
2009 Nov 05
3
[LLVMdev] create dummy function
Thank you very much for you help, Renato! I read through paper you referred and also this document - http://llvm.org/docs/tutorial/JITTutorial1.html Following these instructions to create successful function I run into some problems: 1) llvm::getGlobalContext() does not exists anymore? "llvm/LLVMContext.h" too? 2) creating instance of IRBuilder don't require template (from tutorial
2009 Oct 05
1
[LLVMdev] LLVMdev Digest, Vol 64, Issue 5
That's not an example, that's a tutorial, and an incomplete one at that. However I did find the Kaleidoscope example in the subversion repository head. Any clue as to why when we attempt to follow the very simple example in the llvm-2.5 release docs/tutorial/JITTutorial1.html we construct a module state that verifies but then when we ask it to emit, we get a stack overflow from LLVM? Is
2009 Oct 04
4
[LLVMdev] LLVMdev Digest, Vol 64, Issue 5
Where exactly is this mythical Kaleidoscope example? I have llvm 2.5 installed. examples dsw$ ls BrainF Fibonacci Makefile ParallelJIT CMakeLists.txt HowToUseJIT ModuleMaker > Date: Sat, 3 Oct 2009 21:40:44 +0100 > From: Renato Golin <rengolin at systemcall.org> > Subject: Re: [LLVMdev] LLVM-Kaleidoscope tutorial > > 2009/10/3 Remy Demarest <remy.demarest at
2009 Nov 15
0
[LLVMdev] create dummy function
What exactly is M in that code you posted? Oleg Knut wrote: > > Thank you very much for you help, Renato! > > I read through paper you referred and also this document - > http://llvm.org/docs/tutorial/JITTutorial1.html > > Following these instructions to create successful function I run into > some problems: > 1) llvm::getGlobalContext() does not exists anymore?
2009 Oct 05
0
[LLVMdev] LLVMdev Digest, Vol 64, Issue 5
On Oct 4, 2009, at 12:21 PM, Daniel Wilkerson wrote: > Where exactly is this mythical Kaleidoscope example? I have llvm > 2.5 installed. http://llvm.org/docs/tutorial/ -Chris
2015 May 30
2
[LLVMdev] LLVM-HPC2 Workshop at SC'15 - Call for papers
CALL FOR PAPERS ================================================================= LLVM-HPC2: The Second Workshop on the LLVM Compiler Infrastructure in HPC http://llvm-hpc2-workshop.github.io/ November 15th, 2015, Austin, TX In conjunction with the 2015 ACM/IEEE Supercomputing Conference (SC'15)
2016 Apr 05
3
Add Call instruction in IR for a non-existing function
Hello everyone, I am trying to add checkpoints to my IR code. In order to do that I need to add this instruction: call void @m5_checkpoint(i64 0, i64 0) to some of the basic blocks in my benchmark. m5_checkpoint is a function defined for checkpointing in another simulator and is not included in my benchmark source code. So I need to create this instruction and I couldn't figure out how to do
2003 Nov 06
2
[LLVMdev] Re: [open-analysis] Alias Analysis Design & Implementation and LLVM
On Thu, 6 Nov 2003, Michelle Strout wrote: > Those of us working on the OpenAnalysis project have been looking at > LLVM recently (excellent job on the website BTW). Thanks! I'm just one of the many people who have worked on it though, the praise belongs to them as much as it does to me. :) > This includes researchers at Rice, Argonne, and LLNL. Great! > John Mellor-Crummey
2003 Nov 06
2
[LLVMdev] Re: Alias Analysis Design & Implementation and LLVM
On Thu, 6 Nov 2003, Michelle Strout wrote: > I think some clarifications and examples would be helpful. No problem. :) > - LLVM is in SSA. It is in SSA before alias analysis has been > >>>> performed. With OA, it has been mentioned that the SSA generation > >>>> is > >>>> incorrect because it doesn't take alias analysis information into
2017 Sep 28
0
rename multiple files by file.rename or other functions
Hi John, Maybe this: filenames<-c("XYZW01Genesis_ABC.mp3","XYZW02Genesis_ABC.mp3") for(filename in filenames) { filefirst<-sapply(strsplit(filename,"[.]"),"[",1) fileno<-sub("_","",gsub("[[:alpha:]]","",filefirst)) file.rename(filename,paste("01Gen",fileno,".mp3",sep="")) }
2009 Nov 05
0
[LLVMdev] create dummy function
2009/11/5 Oleg Knut <oleg77 at gmail.com>: > Hello, > I have a simple question. How to create "dummy" function which will > have no functionality behind (return nothing and do nothing)? > Currently I'm trying to do this: > > llvm::Constant* c = Module.getOrInsertFunction("dummy", > FunctionThatNeedsToBeReplaced.getFunctionType()); >
2009 Jan 03
3
[LLVMdev] Creating an LLVM Project
Hello, I just tried to work through the "Creating an LLVM Project" tutorial and have some suggestions to improve that page (http://www.llvm.org/ docs/Projects.html). 1. The tutorial says "remove all the directories named .svn ("Create a Project from the Sample Project", step 2), so here's a command to copy-and-paste and run from within the new project
2008 Mar 15
0
[LLVMdev] newbie questions about setting up a new project
I've found part of the problem. There is a "projects" directory (including a "sample" subdirectory) inside the folder where I built LLVM, but there is ALSO one inside the llvm-2.2 directory. And they are different. I was working with the former, which contains no source code; the sample project under llvm-2.2 actually includes a main.c and sample.h, and
2009 Nov 05
2
[LLVMdev] create dummy function
Hello, I have a simple question. How to create "dummy" function which will have no functionality behind (return nothing and do nothing)? Currently I'm trying to do this: llvm::Constant* c = Module.getOrInsertFunction("dummy", FunctionThatNeedsToBeReplaced.getFunctionType()); llvm::Function* dummy = llvm::cast<llvm::Function>(c); This way I create new function that