Displaying 1 result from an estimated 1 matches for "mops_to_instru".
2011 Dec 14
2
[LLVMdev] Generating superblocks (SEME regions w/o loops and calls) in LLVM
...e of IR in which the memory
operations can be enumerated in order to record the addresses of the
memory accesses into a fixed-size buffer.
So far I was using my home-brewed structure to hold the superblocks:
struct SBlock {
BlockSet blocks;
llvm::BasicBlock *entry;
BlockSet exits;
InstSet mops_to_instrument;
int num_mops;
SBlock() : num_mops(0) {}
};
and several functions that split basic blocks to eliminate calls from
them, traverse the call graph and create the SBlock instances from the
basic blocks.
Now I want to simplify my instrumentation pass and move that
superblock creation logic out...