Displaying 9 results from an estimated 9 matches for "oleg77".
Did you mean:
flag77
2009 Nov 05
3
[LLVMdev] create dummy function
...nv::C);
llvm::BasicBlock* block = llvm::BasicBlock::Create("entry", dummy);
// no context needed
llvm::IRBuilder builder(block); // no need in <>
builder.CreateRetVoid();
Cheers,
Oleg.
2009/11/5 Renato Golin <rengolin at systemcall.org>:
> 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.getOrInsertFunct...
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",
&...
2009 Oct 23
0
[LLVMdev] JIT and security
2009/10/18 Oleg Knut <oleg77 at gmail.com>:
> Maybe some of you can guide me on how to do following operations:
> 1) prevent system calls
> 2) memory allocation management (set some limits that can't be used
> by JIT)
> 3) CPU power limiting
Hi Oleg,
This is totally system dependent, it'd be *ver...
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
2009 Nov 15
0
[LLVMdev] create dummy function
...asicBlock::Create("entry", dummy);
> // no context needed
> llvm::IRBuilder builder(block); // no need in <>
> builder.CreateRetVoid();
>
> Cheers,
> Oleg.
>
> 2009/11/5 Renato Golin <rengolin at systemcall.org>:
>> 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 =...
2009 Oct 18
5
[LLVMdev] JIT and security
Hello,
I'm writing JIT compiler that will run a third party code. My goal is
to build it with security layer that will allow me to prevent some
basic operation that possibly can harm JIT application host computer.
Maybe some of you can guide me on how to do following operations:
1) prevent system calls
2) memory allocation management (set some limits that can't be used
by JIT)
2010 Jan 04
2
[LLVMdev] Getting Kaleidoscope to compile
I tried apt-get install llvm-dev just now, and it says it was already
installed, and when I again try compiling toy.cpp, it gives the same
set of error messages.
On Mon, Jan 4, 2010 at 10:27 AM, Oleg Knut <oleg77 at gmail.com> wrote:
> Probably you missed to install llvm-dev package with headers for llvm.
>
> 2010/1/4 Russell Wallace <russell.wallace at gmail.com>
>>
>> Hi all,
>>
>> I've started work on a new programming language for which I am
>> conside...
2010 Jan 04
0
[LLVMdev] Getting Kaleidoscope to compile
Probably you missed to install llvm-dev package with headers for llvm.
2010/1/4 Russell Wallace <russell.wallace at gmail.com>
> Hi all,
>
> I've started work on a new programming language for which I am
> considering using LLVM as the backend, and trying to experiment with
> it using the Kaleidoscope demo compiler.
>
> Taking the full source listing from
>
2010 Jan 04
4
[LLVMdev] Getting Kaleidoscope to compile
Hi all,
I've started work on a new programming language for which I am
considering using LLVM as the backend, and trying to experiment with
it using the Kaleidoscope demo compiler.
Taking the full source listing from
http://llvm.org/docs/tutorial/LangImpl3.html#code and trying to
compile it with the provided instructions gives me the following
errors:
a at a-desktop:~$ g++ -g -O3 toy.cpp