search for: othercost

Displaying 5 results from an estimated 5 matches for "othercost".

2013 Mar 14
3
[LLVMdev] Suggestion About Adding Target Dependent Decision in LSR Please
...t unsigned ImmCost, const unsigned SetupCost) const; Then we do something like int thisCost = TTI->getLSRFormulaCost(NumRegs, AddRecCost, NumIVMuls, NumBaseAdds, ImmCost, SetupCost); if (thisCost >= 0) { int otherCost = TTI->getLSRFormulaCost(Other.NumRegs, Other.AddRecCost, Other.NumIVMuls, Other.NumBaseAdds, Other.ImmCost, Other.SetupCost); if (otherCost >= 0) return thisCost < otherCost; } In boo...
2013 Mar 14
0
[LLVMdev] Suggestion About Adding Target Dependent Decision in LSR Please
...ed NumBaseAdds, const unsigned ImmCost, > > const unsigned SetupCost) const; > > Then we do something like > > int thisCost = TTI->getLSRFormulaCost(NumRegs, AddRecCost, NumIVMuls, > > NumBaseAdds, ImmCost, SetupCost); > > if (thisCost >= 0) { > > int otherCost = TTI->getLSRFormulaCost(Other.NumRegs, > Other.AddRecCost, > > Other.NumIVMuls, Other.NumBaseAdds, > > Other.ImmCost, Other.SetupCost); > > if (otherCost >= 0) > > return thisCost < otherCost; > > } > > In bool Cost::operator<(const Cost &am...
2013 Mar 15
0
[LLVMdev] Problems about developing LLVM pass on windows visual studio
...const unsigned SetupCost) const; > > Then we do something like > > int thisCost = TTI->getLSRFormulaCost(NumRegs, AddRecCost, NumIVMuls, > > NumBaseAdds, ImmCost, > SetupCost); > > if (thisCost >= 0) { > > int otherCost = TTI->getLSRFormulaCost(Other.NumRegs, Other.AddRecCost, > > Other.NumIVMuls, > Other.NumBaseAdds, > > Other.ImmCost, > Other.SetupCost); > > if (otherCost >= 0) > >...
2013 Mar 14
0
[LLVMdev] Suggestion About Adding Target Dependent Decision in LSR Please
On Mar 13, 2013, at 4:37 PM, Yin Ma <yinma at codeaurora.org> wrote: > Hi All, > > In the target I am working, we comes cross a situation that the loop strength reduction > could deliver a better result but currently not, because > 1. the algorithm narrows search space by winner registers without considering > the target preferred format.
2013 Mar 13
2
[LLVMdev] Suggestion About Adding Target Dependent Decision in LSR Please
Hi All, In the target I am working, we comes cross a situation that the loop strength reduction could deliver a better result but currently not, because 1. the algorithm narrows search space by winner registers without considering the target preferred format. (NarrowSearchSpaceByPickingWinnerRegs) 2. Cost comparison solely favors the number register without considering other