LLVM 20.0.0git
|
#include "RISCV.h"
#include "RISCVSubtarget.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/LiveDebugVariables.h"
#include "llvm/CodeGen/LiveIntervals.h"
#include "llvm/CodeGen/LiveStacks.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include <queue>
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "riscv-insert-vsetvli" |
#define | RISCV_INSERT_VSETVLI_NAME "RISC-V Insert VSETVLI pass" |
#define | RISCV_COALESCE_VSETVLI_NAME "RISC-V Coalesce VSETVLI pass" |
Functions | |
STATISTIC (NumInsertedVSETVL, "Number of VSETVL inst inserted") | |
STATISTIC (NumCoalescedVSETVL, "Number of VSETVL inst coalesced") | |
INITIALIZE_PASS (RISCVInsertVSETVLI, DEBUG_TYPE, RISCV_INSERT_VSETVLI_NAME, false, false) void RISCVInsertVSETVLI | |
static VSETVLIInfo | adjustIncoming (VSETVLIInfo PrevInfo, VSETVLIInfo NewInfo, DemandedFields &Demanded) |
#define DEBUG_TYPE "riscv-insert-vsetvli" |
Definition at line 37 of file RISCVInsertVSETVLI.cpp.
#define RISCV_COALESCE_VSETVLI_NAME "RISC-V Coalesce VSETVLI pass" |
Definition at line 39 of file RISCVInsertVSETVLI.cpp.
#define RISCV_INSERT_VSETVLI_NAME "RISC-V Insert VSETVLI pass" |
Definition at line 38 of file RISCVInsertVSETVLI.cpp.
|
static |
Definition at line 1192 of file RISCVInsertVSETVLI.cpp.
References llvm::RISCVVType::getSameRatioLMUL(), and Info.
INITIALIZE_PASS | ( | RISCVInsertVSETVLI | , |
DEBUG_TYPE | , | ||
RISCV_INSERT_VSETVLI_NAME | , | ||
false | , | ||
false | |||
) |
Definition at line 933 of file RISCVInsertVSETVLI.cpp.
STATISTIC | ( | NumCoalescedVSETVL | , |
"Number of VSETVL inst coalesced" | |||
) |
STATISTIC | ( | NumInsertedVSETVL | , |
"Number of VSETVL inst inserted" | |||
) |