LLVM 20.0.0git
Public Member Functions | List of all members
llvm::GISelInstProfileBuilder Class Reference

#include "llvm/CodeGen/GlobalISel/CSEInfo.h"

Public Member Functions

 GISelInstProfileBuilder (FoldingSetNodeID &ID, const MachineRegisterInfo &MRI)
 
const GISelInstProfileBuilderaddNodeIDOpcode (unsigned Opc) const
 
const GISelInstProfileBuilderaddNodeIDRegType (const LLT Ty) const
 
const GISelInstProfileBuilderaddNodeIDRegType (const Register) const
 
const GISelInstProfileBuilderaddNodeIDRegType (MachineRegisterInfo::VRegAttrs) const
 
const GISelInstProfileBuilderaddNodeIDRegType (const TargetRegisterClass *RC) const
 
const GISelInstProfileBuilderaddNodeIDRegType (const RegisterBank *RB) const
 
const GISelInstProfileBuilderaddNodeIDRegNum (Register Reg) const
 
const GISelInstProfileBuilderaddNodeIDReg (Register Reg) const
 
const GISelInstProfileBuilderaddNodeIDImmediate (int64_t Imm) const
 
const GISelInstProfileBuilderaddNodeIDMBB (const MachineBasicBlock *MBB) const
 
const GISelInstProfileBuilderaddNodeIDMachineOperand (const MachineOperand &MO) const
 
const GISelInstProfileBuilderaddNodeIDFlag (unsigned Flag) const
 
const GISelInstProfileBuilderaddNodeID (const MachineInstr *MI) const
 

Detailed Description

Definition at line 170 of file CSEInfo.h.

Constructor & Destructor Documentation

◆ GISelInstProfileBuilder()

llvm::GISelInstProfileBuilder::GISelInstProfileBuilder ( FoldingSetNodeID ID,
const MachineRegisterInfo MRI 
)
inline

Definition at line 175 of file CSEInfo.h.

References MRI.

Member Function Documentation

◆ addNodeID()

const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeID ( const MachineInstr MI) const

◆ addNodeIDFlag()

const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDFlag ( unsigned  Flag) const

Definition at line 398 of file CSEInfo.cpp.

Referenced by addNodeID().

◆ addNodeIDImmediate()

const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDImmediate ( int64_t  Imm) const

Definition at line 374 of file CSEInfo.cpp.

◆ addNodeIDMachineOperand()

const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDMachineOperand ( const MachineOperand MO) const

◆ addNodeIDMBB()

const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDMBB ( const MachineBasicBlock MBB) const

Definition at line 392 of file CSEInfo.cpp.

References MBB.

Referenced by addNodeID().

◆ addNodeIDOpcode()

const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDOpcode ( unsigned  Opc) const

Definition at line 335 of file CSEInfo.cpp.

Referenced by addNodeID().

◆ addNodeIDReg()

const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDReg ( Register  Reg) const

Definition at line 405 of file CSEInfo.cpp.

References addNodeIDRegType(), and llvm::MachineRegisterInfo::getVRegAttrs().

Referenced by addNodeIDMachineOperand().

◆ addNodeIDRegNum()

const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDRegNum ( Register  Reg) const

Definition at line 380 of file CSEInfo.cpp.

Referenced by addNodeIDMachineOperand().

◆ addNodeIDRegType() [1/5]

const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDRegType ( const LLT  Ty) const

Definition at line 341 of file CSEInfo.cpp.

References llvm::LLT::getUniqueRAWLLTData().

Referenced by addNodeIDReg(), and addNodeIDRegType().

◆ addNodeIDRegType() [2/5]

const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDRegType ( const Register  Reg) const

Definition at line 386 of file CSEInfo.cpp.

References addNodeIDMachineOperand(), and llvm::MachineOperand::CreateReg().

◆ addNodeIDRegType() [3/5]

const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDRegType ( const RegisterBank RB) const

Definition at line 354 of file CSEInfo.cpp.

◆ addNodeIDRegType() [4/5]

const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDRegType ( const TargetRegisterClass RC) const

Definition at line 348 of file CSEInfo.cpp.

◆ addNodeIDRegType() [5/5]

const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDRegType ( MachineRegisterInfo::VRegAttrs  Attrs) const

Definition at line 359 of file CSEInfo.cpp.

References addNodeIDRegType().


The documentation for this class was generated from the following files: