LLVM 19.0.0git
Macros | Functions
InitUndef.cpp File Reference
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/CodeGen/DetectDeadLanes.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/InitializePasses.h"
#include "llvm/MC/MCRegister.h"
#include "llvm/Pass.h"
#include "llvm/Support/Debug.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "init-undef"
 
#define INIT_UNDEF_NAME   "Init Undef Pass"
 

Functions

static bool isEarlyClobberMI (MachineInstr &MI)
 
static bool findImplictDefMIFromReg (Register Reg, MachineRegisterInfo *MRI)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "init-undef"

Definition at line 57 of file InitUndef.cpp.

◆ INIT_UNDEF_NAME

#define INIT_UNDEF_NAME   "Init Undef Pass"

Definition at line 58 of file InitUndef.cpp.

Function Documentation

◆ findImplictDefMIFromReg()

static bool findImplictDefMIFromReg ( Register  Reg,
MachineRegisterInfo MRI 
)
static

Definition at line 106 of file InitUndef.cpp.

References DefMI, and MRI.

◆ isEarlyClobberMI()

static bool isEarlyClobberMI ( MachineInstr MI)
static

Definition at line 100 of file InitUndef.cpp.

References llvm::any_of(), and MI.