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.

Macros

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

Functions

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

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "riscv-init-undef"

Definition at line 41 of file RISCVRVVInitUndef.cpp.

◆ RISCV_INIT_UNDEF_NAME

#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)
static

Definition at line 106 of file RISCVRVVInitUndef.cpp.

References llvm_unreachable.

◆ isEarlyClobberMI()

static bool isEarlyClobberMI ( MachineInstr MI)
static

Definition at line 174 of file RISCVRVVInitUndef.cpp.

References llvm::any_of(), and MI.