search for: prax

Displaying 12 results from an estimated 12 matches for "prax".

Did you mean: pax
2014 Aug 01
2
[LLVMdev] LLVM Basic Program Compilation
I am just getting started with llvm. Here's code I am trying to compile: #include <stdio.h>#include "llvm/IR/LLVMContext.h"#include "llvm/IR/Module.h"#include "llvm/IR/IRBuilder.h" int main(){ llvm::LLVMContext& context = llvm::getGlobalContext(); llvm::Module* module = new llvm::Module("top", context); llvm::IRBuilder<>
2014 Sep 09
2
[LLVMdev] Machine Code for different architectures
How does LLVM generate machine code for different architectures? For example, the machine code for x86 and amd will vary. How does LLVM convert its IR to machine code for different architectures.Can you please explain the approach? Is it just write two different programs for two different architectures and pass a flag to the compiler based on which machine code you want to generate? Thanks a lot
2014 Sep 09
2
[LLVMdev] Machine Code for different architectures
...nto to llvm? Does anyone have any views on the above? thanks Matthew Gardiner On Tue, 9 Sep 2014 18:21:01 +1200 Bruce Hoult <bruce at hoult.org> wrote: > http://llvm.org/docs/WritingAnLLVMBackend.html > > > On Tue, Sep 9, 2014 at 6:09 PM, Prakash Premkumar > <prakash.prax at gmail.com> wrote: > > > How does LLVM generate machine code for different architectures? > > For example, the machine code for x86 and amd will vary. > > > > How does LLVM convert its IR to machine code for different > > architectures.Can you please explain t...
2014 Aug 01
3
[LLVMdev] LLVM Basic Program Compilation
I am just getting started with llvm. Here's code I am trying to compile: #include <stdio.h>#include "llvm/IR/LLVMContext.h"#include "llvm/IR/Module.h"#include "llvm/IR/IRBuilder.h" int main(){ llvm::LLVMContext& context = llvm::getGlobalContext(); llvm::Module* module = new llvm::Module("top", context); llvm::IRBuilder<>
2014 Aug 04
3
[LLVMdev] LLVM AllocaInst and StoreInst
Hi, I am trying to write a simple interpreter. I am trying to generate LLVM IR for assignment operation. The code for the generation part looks like this llvm::Value* codeGenSymTab(llvm::LLVMContext& context) { > printf("\n CodeGen SymTab \n"); > Value *num = ConstantInt::get(Type::getInt64Ty(context), aTable.value, > true); > Value *alloc = new
2014 Sep 09
3
[LLVMdev] Machine Code for different architectures
...> > > On Tue, 9 Sep 2014 18:21:01 +1200 > > Bruce Hoult <bruce at hoult.org> wrote: > > > > > http://llvm.org/docs/WritingAnLLVMBackend.html > > > > > > > > > On Tue, Sep 9, 2014 at 6:09 PM, Prakash Premkumar > > > <prakash.prax at gmail.com> wrote: > > > > > > > How does LLVM generate machine code for different architectures? > > > > For example, the machine code for x86 and amd will vary. > > > > > > > > How does LLVM convert its IR to machine code for different...
2014 Sep 10
2
[LLVMdev] Machine Code for different architectures
...18:21:01 +1200 > > > Bruce Hoult <bruce at hoult.org> wrote: > > > > > > > http://llvm.org/docs/WritingAnLLVMBackend.html > > > > > > > > > > > > On Tue, Sep 9, 2014 at 6:09 PM, Prakash Premkumar > > > > <prakash.prax at gmail.com> wrote: > > > > > > > > > How does LLVM generate machine code for different architectures? > > > > > For example, the machine code for x86 and amd will vary. > > > > > > > > > > How does LLVM convert its IR to m...
2014 Aug 07
2
[LLVMdev] Advantages of LLVM Optimization
Hi, I am planning to use LLVM in my compiler dev project. I would like to know what power LLVM code optimization phase provides to my code ? I had a look at http://llvm.org/docs/Passes.html which describes the optimization passes. >From a newbie standpoint can you please explain the power of LLVM optimization? Thank you, Prakash -------------- next part -------------- An HTML attachment was
2014 Sep 03
2
[LLVMdev] Convert C code with external library access to llvm
Hi, I have written a c program which accesses sqlite database. Normally I compile the program as $ clang insertselect.c -l sqlite3 To emit-llvm I use: > $ clang insertselect.c -S -emit-llvm How do I link the sqlite3 library so that llvm can generate IR with the IR being linked to the external library? Thanks for your help? Thanks Prakash -------------- next part -------------- An
2014 Aug 02
2
[LLVMdev] LLVM Basic Program Compilation
...adwallader at arxan.com> wrote: > What version of LLVM are you using? llvm-gcc was deprecated a long time > ago, and while it doesn’t directly address your question, I suggest trying > with clang(++). > > - Chris > > On Aug 1, 2014, at 8:32 AM, Prakash Premkumar <prakash.prax at gmail.com> > wrote: > > I am just getting started with llvm. > > Here's code I am trying to compile: > > #include <stdio.h>#include "llvm/IR/LLVMContext.h"#include "llvm/IR/Module.h"#include "llvm/IR/IRBuilder.h" > > int main(...
2001 Aug 12
0
Half-Life, Debian, Sid, Wine, Crap, VooDoo, Banshee, OpenGL, Mesa, Glide
...d first, to start an other game like new-game or load an old one. #7 so does anyone know why i can't use my Glide Driver, i hope that would be much faster. but i never know. Thanks. and Greetings from here. :) -- Moritz Angermann ( GeView, cone, (^-_-^), G-Schiht, fresse, GeSicht, face, P2K, Prax, ... ) www.g-sicht.de
2014 Aug 04
2
[LLVMdev] LLVM Basic Program Compilation
Hi Waxiado, Chris and Tim, when i compiled with : > $ clang++ -g try.cpp `llvm-config --cppflags --ldflags --libs core jit > native`-o3 -S -emit-llvm I get the following warnings > clang: warning: -lz: 'linker' input unused > clang: warning: -lpthread: 'linker' input unused > clang: warning: -lcurses: 'linker' input unused > clang: warning: -lm: