Displaying 5 results from an estimated 5 matches for "getlsrformulacost".
2013 Mar 14
3
[LLVMdev] Suggestion About Adding Target Dependent Decision in LSR Please
...ue*& BaseGV)
const;
In NarrowSearchSpaceByPickingWinnerRegs, we can preserves the winner
reg from target and winner reg from the original algorithm if this function
returns NULL, it is just like before
For case two, we can define a general cost from TTI function, like
virtual int getLSRFormulaCost(const unsigned NumRegs,
const unsigned AddRecCost, const unsigned
NumIVMuls,
const unsigned NumBaseAdds, const unsigned
ImmCost,
const unsigned SetupCost) const;
Then we do something like
int thisCost = TTI-...
2013 Mar 14
0
[LLVMdev] Suggestion About Adding Target Dependent Decision in LSR Please
...PickingWinnerRegs, we can preserves the winner
>
> reg from target and winner reg from the original algorithm if this
> function
>
> returns NULL, it is just like before
>
>
>
> For case two, we can define a general cost from TTI function, like
>
> virtual int getLSRFormulaCost(const unsigned NumRegs,
>
> const unsigned AddRecCost, const unsigned NumIVMuls,
>
> const unsigned NumBaseAdds, const unsigned ImmCost,
>
> const unsigned SetupCost) const;
>
> Then we do something like
>
> int thisCost = TTI->getLSRFormulaCost(NumRegs, AddRec...
2013 Mar 15
0
[LLVMdev] Problems about developing LLVM pass on windows visual studio
...chSpaceByPickingWinnerRegs, we can preserves the winner
>
> reg from target and winner reg from the original algorithm if this function
>
> returns NULL, it is just like before
>
>
>
> For case two, we can define a general cost from TTI function, like
>
> virtual int getLSRFormulaCost(const unsigned NumRegs,
>
> const unsigned AddRecCost, const unsigned
> NumIVMuls,
>
> const unsigned NumBaseAdds, const unsigned
> ImmCost,
>
> const unsigned SetupCost) const;
>
> The...
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