Displaying 2 results from an estimated 2 matches for "indirect_call".
2018 Jul 15
2
llvm pass is very slow
Hi
I write a LLVM function pass. The pass will loop the basicblock in the
function, check the instruction's type with dyn_cast<switchinst>, print the
instruction and the basicblock's successors. I think it is not very complex.
My bitcode file is about 30M. My CPU is i7-7700(3.6GHz). It has been
running for 60 hours but it is still running. I am not sure whether this is
a normal
2015 Jun 29
3
[LLVMdev] IC profiling infrastructure
...instrumentation
and profile annotation depending on the context.
}
...
}
Organizing the profile data according value profile kind allows
profile data to be independently loaded and used:
.. CodeGenPGO::assignRegionCounters (...) {
if (enable_indirect_profile) {
loadValueProfile(VK_indirect_call);
}
if (enable_xxx_profile) {
loadXXXProfile(VK_xxx);
}
}
if we end up with inter-mixing all value kind profile data, we will
have to load all value profile data into memory regardless of the
option specified. It also makes the profile data uses really hard --
how do we easily matc...