Displaying 6 results from an estimated 6 matches for "mayzel".
Did you mean:
maykel
2015 Apr 19
3
[LLVMdev] global allocation IR instruction
Hi all,
In order to allocate memory on the stack there is AllocaInst instruction.
What is the similar instruction/way to allocate memory on the global area?
Thanks,
Tehila.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150419/54298396/attachment.html>
2014 Dec 31
5
[LLVMdev] outlining in llvm
Hi,
I have some questions regarding outlining (extracting piece of code into a
function):
1. Is there an outlining pass in llvm (IR)? I've found out
CodeExtractor pass, but I'm not sure it's exactly the same idea.
2. How do I set the function name?
And another question:
Where do I control the execution of my pass? I'm writing a pass that first
works on
2013 Dec 26
2
[LLVMdev] Arguments to IRBuilder CreateCall function
Hi,
I need to pass some arguments to CreateCall function (as Value *).
For example, I need to pass a 64 bit integer (with a value I calculate).
How can I convert the 64 bit integer to a value * in order to pass it?
Thanks a lot,
Tehila.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2015 May 25
2
[LLVMdev] global variable uses
Hi,
I'm trying to change all uses of a global variable so they'll use a
different global variable.
For instance, I have:
@a = global [100 x [100 x i64]] zeroinitializer, align 16
@b = global [100 x [100 x i64]] zeroinitializer, align 16
And I want to change the use
%arrayidx = getelementptr inbounds [100 x [100 x i64]]* @a, i32 0, i64 %3
to
%arrayidx = getelementptr inbounds
2015 Dec 29
2
Running DCE after my pass
Hi,
I wrote an IR pass and it adds some instructions that are not used.
For example:
%1 = call i64 @foo()
When %1 is not used at all.
I thought that running DCE (-dce) or DIE (-die) after my pass will remove
such instructions, but it didn't.
Why? And is there a way to do that?
Thanks,
Tehila.
-------------- next part --------------
An HTML attachment was scrubbed...
2014 Mar 29
2
[LLVMdev] Cast specific pointer type to generic one
Hi,
Suppose I have a pointer to "something" (a structure I defined) and I want
to pass the pointer to a generic function, that gets a 64-bit address
pointer.
How do I do that?
For instance:
The function is:
void Foo (void *);
I get the specific pointer using getPointerOperand() on a store instruction
that store to it:
inst->getPointerOperand()->getType()
Now I want