Displaying 1 result from an estimated 1 matches for "locallivevalu".
Did you mean:
locallivevalue
2010 Nov 22
0
[LLVMdev] pass visibility question
...unctionpass. The functionpass needs a type
bases alias analysis instead of the basicaa. I added the command line
parameter for this analysis to the opt invocation as follows:
opt -tbaa -global-live-values test.bc
The 'global-live-values' pass preserves all and requires a
functionpass 'LocalLiveValue'. The latter requires a
'MemoryDependenceAnalysis' pass which needs an alias analysis (see
below).
class GlobalLiveValues : public ModulePass {
void GlobalLiveValues::getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<CallGraph>();
AU.addRequired<LocalL...