search for: bbptr

Displaying 2 results from an estimated 2 matches for "bbptr".

Did you mean: b_ptr
2012 May 10
1
[LLVMdev] How to get the label field of PHI instruction?
...the source operands, only %A and %B are included. I checked the methods in instruction.h, but I didn't find any methods obtaining the label fields i.e. %BB1, %BB2. I notice that each label of a basic block is related with a value which can be referenced in 'br' instructions. Suppose BBPtr is a pointer of a basic block, when I use errs()<<BBPtr, I will get a string like '0x984402'. Similarly, I see both instruction pointer and operand pointer are able to return this kind of string which can be used to identify different object instances. The question is that whether the...
2014 Mar 28
2
[LLVMdev] How to extract the starting address of each basic block with llvm?
Dear all, I use the clang frontend to produce the control flow graph of a C program through this command: clang -Xclang -analyze -Xclang -analyzer-checker=debug.DumpCFG test.c The produced information contains all the basic blocks identified by labels, e.g. B1, B2, etc. along with their predecessors and successors. Is there a way to get the starting address of each of these basic block? I would