Displaying 7 results from an estimated 7 matches for "psallida".
2013 Sep 24
2
[LLVMdev] get the address in memory where an instruction lives
Hi,
i want to get the address in memory of an instruction pointer and use it as
a key in my tables.
i iterate over the instructions in LLVM IR like this:
for (Module::iterator fi = Mod->begin(), fi_end = Mod->end(); fi != fi_end;
++fi) {
for (inst_iterator I = inst_begin(fi), E = inst_end(fi); I != E; ++I) {
Instruction *ii = dyn_cast<Instruction>(&*I);
2013 Sep 24
1
[LLVMdev] get the address in memory where an instruction lives
On 24.09.2013, at 17:38, Eirini Psallida <eirini.psallida at gmail.com
<http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev>> wrote:
>* Hi, *>* i want to get the address in memory of an instruction pointer and use it as a key in my tables.*>* i iterate over the instructions in LLVM IR like this:*>* for (Module::iter...
2013 Aug 29
2
[LLVMdev] unique id for a llvm Instruction‏
what if another pointer points to the same instruction?
Is this possible to happen?
Eirini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130829/ad6ba4bb/attachment.html>
2013 Aug 29
0
[LLVMdev] unique id for a llvm Instruction
...tion lives is unique. Instruction pointers (or
Value pointers) are thus commonly used as keys in hash tables or similar.
Instructions or Values are almost never copied, so that you won't find the
same instruction at different addresses in memory.
Jonas
On Thu, Aug 29, 2013 at 2:57 PM, Eirini Psallida <eirini_dit at windowslive.com
> wrote:
> what if another pointer points to the same instruction?
> Is this possible to happen?
>
> Eirini
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm....
2013 Oct 17
1
[LLVMdev] get the value of a Constant in LLVM IR
Hello,
i parse the llvm IR (llvm-3.3 version) and when i meet a constant, i want
to get it's value.
eg i32 5, i want to get the 5.
I am interested in ConstantInt-ConstantFP-ConstantArray-ConstantStruct
subclasses.
Things are a bit easier with ConstantInt and ConstantFP constants but how
could i get the value of a ConstantArray?
The
2013 Aug 29
1
[LLVMdev] unique id for a llvm Instruction
Hello,
i would like to ask, is there a way to get a unique id for each llvm instruction?
Eirini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130829/ca483d68/attachment.html>
2013 Aug 29
0
[LLVMdev] unique id for a llvm Instruction
Hello,
i would like to ask, is there a way to get a unique id for each llvm
instruction?
Eirini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130829/34741ae5/attachment.html>