Displaying 20 results from an estimated 11000 matches similar to: "[LLVMdev] C ouput pass or native binary"
2004 Aug 30
1
[LLVMdev] llvmc - Compiler Driver - Status Update & Issues
Folks,
As of the writing of this note, the llvmc tool is enabled for build on
the CVS head. I'm encouraging you to try it out, provide some feedback,
and help with the issues below.
llvmc is now able to correctly link a pure bytecode version of any
Stacker program. This includes translation with stkrc, optimization with
opt and linking with llvm-link. It is also able to find Stacker's
2008 Jun 04
1
Similar question about subsetting data
This is just a slight modification of a question I asked earlier. Thanks to all the responders.
I have a data set(Bill) of with 1 variable (var1), with 100 obs that are in ascending order. I want to sample every 10 observations and save them in 10 different groups such as Group1 is obs 1-10 Group 2 is obs-11-20 .... Subset data into the 10 groups, then calculate the mean/0.8 of var1 for each
2011 Apr 22
3
[LLVMdev] LLVMC plugin setup changed?
Hi,
I am trying to build my own llvmc plugin, but somehow, the llvm
makefiles do not pick up the plugin in the llvmc/plugins directory
anymore in a recent (r129445) svn checkout.
According to the tutorial (http://llvm.org/docs/CompilerDriverTutorial.html):
$ cd tools/llvmc
$ cp -r example/Simple plugins/Simple
$ make LLVMC_BASED_DRIVER_NAME=mygcc LLVMC_BUILTIN_PLUGINS=Simple
does not build
2010 Feb 25
2
[LLVMdev] Programmatic compilation of C++ file into bitcode
I'm building a static analysis tool on top of LLVM. It needs to take
in a C++ source file and have LLVM translate it into bitcode. In other
words, it basically needs to do this:
llvmc hello.cpp -emit-llvm -O0 -S -g
Except that instead of writing the bitcode to a file, it needs to load
it into memory (presumably as an instance of Module) for further
processing and analysis. So my
2005 Apr 10
1
[LLVMdev] sys::Program::ExecuteAndWait() caller problems
On Sun, 10 Apr 2005, Markus F.X.J. Oberhumer wrote:
> sys::Program::ExecuteAndWait() requires that the first element in "args"
> should be the name of the program, but (at least) llvm-ld.cpp and gccld.cpp
> fail to do so, thereby effectively swallowing the first parameter.
> This is the reason that -native-cbe has not working for some time - actually
> I wonder why no
2010 Feb 25
0
[LLVMdev] Programmatic compilation of C++ file into bitcode
Hi Trevor,
> I'm building a static analysis tool on top of LLVM. It needs to take
> in a C++ source file and have LLVM translate it into bitcode. In other
> words, it basically needs to do this:
>
> llvmc hello.cpp -emit-llvm -O0 -S -g
behind the scenes it's actually llvm-gcc that is generating the
bitcode.
> Except that instead of writing the bitcode to a file, it
2008 Dec 09
0
[LLVMdev] Using ReST for documentation
WikiFormatting for code documentation? :-)
-scooter
On Tue, Dec 9, 2008 at 7:56 AM, Mikhail Glushenkov <foldr at codedgers.com>wrote:
> [Chris asked me to bring this up on the mailing list some time
> ago, but I couldn't get to it. Sorry for that.]
>
> Since the beginning, I used ReST [1] for documenting llvmc, instead of
> plain HTML that was used historically. In my
2008 Jun 09
4
[LLVMdev] llvm-gcc and -emit-llvm
Just thought I'd mention this to keep other people from stubbing their toes on it...
Using llvm-gcc/llvm-g++ and -emit-llvm, you need to make sure to pass -S as well, like so:
./llvm-g++ -S -emit-llvm hello.cpp
not: /llvm-g++ -emit-llvm hello.cpp
I'm sure that's old news to most of the people on the list, but I thought it couldn't hurt to mention it in case other people happen
2005 Apr 11
0
[LLVMdev] sys::Program::ExecuteAndWait() caller problems
It's correct; the win32 version also expects the first arg to be the
name of the program.
Markus F.X.J. Oberhumer wrote:
> Chris Lattner wrote:
>
>> On Sun, 10 Apr 2005, Markus F.X.J. Oberhumer wrote:
>>
>>> sys::Program::ExecuteAndWait() requires that the first element in
>>> "args" should be the name of the program, but (at least) llvm-ld.cpp
2008 Dec 09
0
[LLVMdev] Using ReST for documentation
Can you compare ReST to docbook? We've talked about using docbook for
a long time. What are the pros and cons of each?
Thanks,
Tanya
On Dec 9, 2008, at 7:56 AM, Mikhail Glushenkov wrote:
> [Chris asked me to bring this up on the mailing list some time
> ago, but I couldn't get to it. Sorry for that.]
>
> Since the beginning, I used ReST [1] for documenting llvmc, instead
2008 Dec 09
7
[LLVMdev] Using ReST for documentation
[Chris asked me to bring this up on the mailing list some time
ago, but I couldn't get to it. Sorry for that.]
Since the beginning, I used ReST [1] for documenting llvmc, instead of
plain HTML that was used historically. In my opinion, ReST is much
easier to write and read (in the text editor or on terminal); it can
also be used to produce PDFs, man pages or HTML that looks exactly the
same
2004 Dec 09
0
LLVM 1.4 Release and Status Update!
The LLVM 1.4 Release is now out! Get it here:
http://llvm.cs.uiuc.edu/releases/
or read about it here:
http://llvm.cs.uiuc.edu/releases/1.4/docs/ReleaseNotes.html#whatsnew
This release features a huge assortment of improvements in functionality,
generated code quality, and compile times. Thanks to everyone who has helped
make this release the best one yet. In addition to the changes
2008 Jun 09
7
[LLVMdev] regression? Or did I do something wrong again?
I don't know if the toy program in chapter 4 of the tutorial
implementing Kaleidoscope in llvm with C++ is part of your
regression suite, but with the version of llvm I installed
last weekend, it does not compile:
hendrik at lovesong:~/dv/llvm/tut$ g++ -g toy.cpp `llvm-config --cppflags --ldflags --libs core jit native` -O3 -o toy
toy.cpp: In member function ‘virtual llvm::Value*
2009 Jun 30
0
[LLVMdev] llvmc for PIC16
Hi Sanjiv,
2009/6/30 Sanjiv Gupta <sanjiv.gupta at microchip.com>:
> One more thing:
> How to make --save-temps always on, so that users won't have to specify it
> every time they invoke the driver?
Either always run the driver via an alias, or edit
lib/CompilerDriver/BuiltinOptions.cpp:
cl::opt<SaveTempsEnum::Values> SaveTemps
("save-temps",
2009 Jul 01
0
[LLVMdev] llvmc for PIC16
I found out the problem. Looks like I can not rely on argv[0] to contain
the full path of the executable always.
Can I rely on:
static Path GetMainExecutable(const char *argv0, void *MainAddr);
is it Cross-platform?
What to pass for second parameter here. C++ forbids taking address of
"main", and the "Main" of CompilerDriver is in a shared object here.
- Sanjiv
Sanjiv
2009 Jun 28
1
[LLVMdev] llvmc for PIC16
Mikhail Glushenkov wrote:
> Hi Sanjiv,
>
> 2009/6/23 <Sanjiv.Gupta at microchip.com>
>
>>> BTW, Chris's Makefile changes broke llvmc yesterday (r75379). I'm
>>> working on a fix.
>>>
>> Hi Mikhail,
>> Did you get a chance to fix this. I still get errors while building examples.
>>
>>
>
> This issue
2010 Jul 30
2
Ouput several lines of cat
Hello,
I am brand new to R. I need to know how to output the contents of cat
function into a text file. The cat is used to output several lines of string
in the following format:
X XXX
X XX.XX
XXXX-XXXX ( XX.XX XXX )
I need to get the output of all these lines into a text file.
I tried to put a file name in the cat function. However the output file only
displays single line output.
Thanks
--
2005 Jul 26
0
[LLVMdev] Making a pass available to llc?
On Mon, 2005-07-25 at 21:48 -0700, Michael McCracken wrote:
> On 7/25/05, Reid Spencer <reid at x10sys.com> wrote:
> > Why not just create your pass as a shared object and:
> >
> > opt -load mypass.so -mypass | llc
>
> My pass is an implementation of an analysis group that I wanted to
> make available to machine passes as well as optimization passes. So I
>
2006 Apr 26
1
Accessing Ouput from the Shell
Basically i am running input via rails into ffmpeg which is a shell
program. Is there a way i can take the output of the shell and store it
into a string? or any other form that i can manipulate.
andrew
p.s. i am trying to read the dimensions of a video file via ffmpeg and
use this value in my rails app.
--
Posted via http://www.ruby-forum.com/.
2010 Mar 03
1
Html/JavaScript/CSS code ouput in TextArea-- Best Ways
Hello:
What would be the best way to Output Code in TextArea for a UI
component?
The Rails App View is pure HTML and JavaScript.
1.render in text for controller action and the text is the code string.
The < and > etc can be passed as is in this mode.
2.Read a HTML Template File (containing JS and CSS references) in Public
directory(?) that needs to be substitute some variables that were