Analyze how the current instruction or bundle uses a physical register.

Synopsis

Declared in <llvm/CodeGen/MachineInstrBundle.h>

PhysRegInfo
AnalyzePhysRegInBundle(
    MachineInstr const& MI,
    Register Reg,
    TargetRegisterInfo const* TRI);

Description

This function should not be called after operator++(), it expects a fresh iterator.

Return Value

A filled‐in PhysRegInfo struct.

Parameters

Name

Description

MI

The instruction or bundle header to analyze.

Reg

The physical register to analyze.

TRI

Target register info used to resolve aliases and super‐regs.

Created with MrDocs