mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
tcg: Rename TEMP_LOCAL to TEMP_TB
Use TEMP_TB as that is more explicit about the default lifetime of the data. While "global" and "local" used to be contrasting, we have more lifetimes than that now. Do not yet rename tcg_temp_local_new_*, just the enum. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
4d89d0bb8f
commit
f57c69156c
3 changed files with 18 additions and 14 deletions
|
@ -433,11 +433,15 @@ typedef enum TCGTempVal {
|
|||
typedef enum TCGTempKind {
|
||||
/* Temp is dead at the end of all basic blocks. */
|
||||
TEMP_NORMAL,
|
||||
/* Temp is live across conditional branch, but dead otherwise. */
|
||||
/*
|
||||
* Temp is dead at the end of the extended basic block (EBB),
|
||||
* the single-entry multiple-exit region that falls through
|
||||
* conditional branches.
|
||||
*/
|
||||
TEMP_EBB,
|
||||
/* Temp is saved across basic blocks but dead at the end of TBs. */
|
||||
TEMP_LOCAL,
|
||||
/* Temp is saved across both basic blocks and translation blocks. */
|
||||
/* Temp is live across the entire translation block, but dead at end. */
|
||||
TEMP_TB,
|
||||
/* Temp is live across the entire translation block, and between them. */
|
||||
TEMP_GLOBAL,
|
||||
/* Temp is in a fixed register. */
|
||||
TEMP_FIXED,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue