search for: classllvm_1_1blockaddress

Displaying 3 results from an estimated 3 matches for "classllvm_1_1blockaddress".

2018 Apr 16
2
Question concerning llvm::BlockAddress class
Hi all, I have a question concerning block address class in LLVM. I am currently working on a project where I need to obtain and manipulate basic block virtual addresses. I was searching the web and found the llvm::BlockAddress class (http://llvm.org/doxygen/classllvm_1_1BlockAddress.html). With this class I was able to obtain a printout like this: i8* blockaddress(@func_name, %bb_label) How do I obtain the virtual memory address from the Block address class? Can I even do so? Moreover, I thought that one can only obtain the virtual memory address after linking the object fi...
2019 Aug 08
2
in an IR pass: access the instruction pointer/BB address
Hi, I looked through the documentation and source and am unable to find a way: in an IR pass on basic blocks for (auto &F : M) for (auto &BB : F) { .... } I want to access the current address of the basic block. It does not need to be the exact address of the BB, a few instructions down of that BB is fine as well. basically the same that I could do with an "leaq
2018 Apr 16
0
Question concerning llvm::BlockAddress class
...all, > > I have a question concerning block address class in LLVM. I am currently > working on a project where I need to obtain and manipulate basic block virtual > addresses. I was searching the web and found the llvm::BlockAddress class ( > http://llvm.org/doxygen/classllvm_1_1BlockAddress.html). With this class I was > able to obtain a printout like this: > > i8* blockaddress(@func_name, %bb_label) > > How do I obtain the virtual memory address from the Block address class? Can I > even do so?  > > Moreover, I thought that one can only obtain the virtual m...