search for: blockadress

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

Did you mean: blockaddress
2010 Mar 19
2
[LLVMdev] Use of blockadress() crashes llc in some cases
Hi! In some cases the use of blockaddress() crashes llc. I've attached two test-cases, one that crashes and for reference a slightly modified one (just 2 lines are commented) that works. I compile the files with # llvm-as test_crash.ll -o - | llc -f -o temp.s - and get 0 llc 0x0000000000c6ab6f 1 llc 0x0000000000c6b38d 2 libpthread.so.0 0x00007feccd2270f0 3
2018 Apr 16
0
Question concerning llvm::BlockAddress class
...memory address after > linking the object files together. So how would the BlockAddress class help me > when it's working on the IR level? If BlockAddress class is not the way to go, > is there another api function that I can use to obtain the addresses? Hi Brenda, you can bitcast a BlockAdress to an intptr and then manipulate it as you want. Unfortunately, there' is no guarentee that you can do anything appart jumping to this adress from the same function, as described in the langref http://llvm.org/docs/LangRef.html#addresses-of-basic-blocks This value only has defined behavior...
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