LLVM 17.0.0git
Macros | Functions
RISCVRVVInitUndef.cpp File Reference
#include "RISCV.h"
#include "RISCVSubtarget.h"
#include "llvm/CodeGen/DetectDeadLanes.h"
#include "llvm/CodeGen/MachineFunctionPass.h"

Go to the source code of this file.


#define DEBUG_TYPE   "riscv-init-undef"
#define RISCV_INIT_UNDEF_NAME   "RISC-V init undef pass"


static unsigned getUndefInitOpcode (unsigned RegClassID)
static bool isEarlyClobberMI (MachineInstr &MI)

Macro Definition Documentation


#define DEBUG_TYPE   "riscv-init-undef"

Definition at line 41 of file RISCVRVVInitUndef.cpp.


#define RISCV_INIT_UNDEF_NAME   "RISC-V init undef pass"

Definition at line 42 of file RISCVRVVInitUndef.cpp.

Function Documentation

◆ getUndefInitOpcode()

static unsigned getUndefInitOpcode ( unsigned  RegClassID)

Definition at line 106 of file RISCVRVVInitUndef.cpp.

References llvm_unreachable.

◆ isEarlyClobberMI()

static bool isEarlyClobberMI ( MachineInstr MI)

Definition at line 174 of file RISCVRVVInitUndef.cpp.

References llvm::any_of(), and MI.