Displaying 6 results from an estimated 6 matches for "tehila".
2014 Dec 31
5
[LLVMdev] outlining in llvm
...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 loops, than on a function (outlined from the loop) and then again
on loops.
How can I do that?
Thanks and happy new year,
Tehila.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141231/f424e3b4/attachment.html>
2015 May 25
2
[LLVMdev] global variable uses
...terator U = var->use_begin(); U != var->use_end();
U++) {
Constant * CE = dyn_cast<Constant>(*U); // this is the only
cast that works here
CE->dump(); // prints: @a = global [100 x [100 x i64]]
zeroinitializer, align 16
}
Thanks for your help,
Tehila.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150525/50aac2a8/attachment.html>
2015 Dec 29
2
Running DCE after my pass
...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...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151229/2f6839ec/attachment.html>
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: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131227/d03e9eae/attachment.html>
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 Mar 29
2
[LLVMdev] Cast specific pointer type to generic one
...store to it:
inst->getPointerOperand()->getType()
Now I want to call Foo with the pointer, but the types of the arguments are
mismatches - one is specific (%"class.XXX::YYY"*) and the other generic.
How should I cast it so there won't be a mismatch?
Thanks in advance,
Tehila.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140330/1a3a7b0b/attachment.html>