aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorMikhail R. Gadelha <mikhail@igalia.com>2025-08-02 12:16:35 -0300
committerGitHub <noreply@github.com>2025-08-02 12:16:35 -0300
commit969b246c0218a05a0ed0e237f4f92d28554b88c2 (patch)
tree449f6c9498933894387e600c865b7b840d625721 /lldb/unittests/ScriptInterpreter/Python
parentd72907624544714ea53698da2f678e40947ee8d9 (diff)
downloadllvm-969b246c0218a05a0ed0e237f4f92d28554b88c2.zip
llvm-969b246c0218a05a0ed0e237f4f92d28554b88c2.tar.gz
llvm-969b246c0218a05a0ed0e237f4f92d28554b88c2.tar.bz2
[RISCV] Refactor X60 scheduling model helper classes. NFC. (#151572)
This patch improves the helper classes in the SpacemiT-X60 vector scheduling model and will be used in follow-up PRs: There are now two functions to map LMUL to values: * ConstValueUntilLMULThenDoubleBase: returns BaseValue for LMUL values before startLMUL, Value for startLMUL, then doubles Value for each subsequent LMUL. Useful for cases where fractional LMULs have constant cycles, and integer LMULs double as they increase. * GetLMULValue: takes an ordered list of LMUL cycles and LMUL and returns the corresponding cycle. Useful for cases we can't easily cover with ConstValueUntilLMULThenDoubleBase. This PR also adds some useful, simplified versions of ConstValueUntilLMULThenDoubleBase, e.g., ConstValueUntilLMULThenDouble (when BaseValue == Value), or ConstOneUntilMF4ThenDouble (when cycles start to double after MF2).
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions