search for: decisiontreeproxi

Displaying 4 results from an estimated 4 matches for "decisiontreeproxi".

Did you mean: decisiontreeproxy
2013 Dec 16
3
[LLVMdev] [RFC] Iterrative compilation framework for Clang/LLVM
...lt;< (IC.getCostDelta() + IC.getCost()) << ", Call: " << *CS.getInstruction() << "\n"); return false; } Code after instrumentalization: bool doInlinging = (bool)IC; DecisionTreeProxy *decisionTreeProxy; decisionTreeProxy = moduleDecisionTreeProxies->getCurrFnDecisionTreeProxy(); int t = MaxDtPriority - abs(IC.getCostDelta()); bool decision = false; if (t >= 0) decision = decisionTreeProxy->getDecision(call); if (decision) doInlinging = !doInlinging; if (!doInlinging) { DEBUG(dbgs() << "...
2013 Dec 18
4
[LLVMdev] [RFC] Iterrative compilation framework for Clang/LLVM
...Call: " << *CS.getInstruction() << "\n"); > > return false; > > } > > > > Code after instrumentalization: > > > > bool doInlinging = (bool)IC; > > DecisionTreeProxy *decisionTreeProxy; > > decisionTreeProxy = > > moduleDecisionTreeProxies->getCurrFnDecisionTreeProxy(); > > int t = MaxDtPriority - abs(IC.getCostDelta()); > > bool decision = false; > > if (t >= 0) > > decision = decisionTreeProxy->getDecision(call); > > if (decision) > > doInlinging = !doInlinging; > > > > if...
2013 Dec 17
0
[LLVMdev] [RFC] Iterrative compilation framework for Clang/LLVM
...ta() + IC.getCost()) > << ", Call: " << *CS.getInstruction() << "\n"); > return false; > } > > Code after instrumentalization: > > bool doInlinging = (bool)IC; > DecisionTreeProxy *decisionTreeProxy; > decisionTreeProxy = > moduleDecisionTreeProxies->getCurrFnDecisionTreeProxy(); > int t = MaxDtPriority - abs(IC.getCostDelta()); > bool decision = false; > if (t >= 0) > decision = decisionTreeProxy->getDecision(call); > if (decision) > doInlinging = !doInlinging; > > if (!doInlinging) { > DEBUG(dbgs() <...
2013 Dec 19
0
[LLVMdev] [RFC] Iterrative compilation framework for Clang/LLVM
Hi Radovan, I am also interested in the iterative compilation in LLVM, and had implemented a simple iterative compilation driver. I guess you do not need to embedded the pointer to ModuleDecisionTreeProxies into the core classes of llvm, i.e. the PassManager class and the Function class. Instead, you could: 1. Implement a special pass manager that runs a set of passes iteratively. Implementing the iterative compilation framework based on pass manage allows the framework to live outside of clang, an...