LLVM  10.0.0svn
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 unsigned) const
 
const GISelInstProfileBuilderaddNodeIDRegType (const TargetRegisterClass *RC) const
 
const GISelInstProfileBuilderaddNodeIDRegType (const RegisterBank *RB) const
 
const GISelInstProfileBuilderaddNodeIDRegNum (unsigned 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
 
More...
 

Detailed Description

Definition at line 167 of file CSEInfo.h.

Constructor & Destructor Documentation

◆ GISelInstProfileBuilder()

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

Definition at line 172 of file CSEInfo.h.

References MI, and Reg.

Member Function Documentation

◆ addNodeID()

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

◆ addNodeIDFlag()

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

Definition at line 327 of file CSEInfo.cpp.

References llvm::FoldingSetNodeID::AddInteger().

◆ addNodeIDImmediate()

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

Definition at line 303 of file CSEInfo.cpp.

References llvm::FoldingSetNodeID::AddInteger().

◆ addNodeIDMachineOperand()

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

◆ addNodeIDMBB()

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

Definition at line 321 of file CSEInfo.cpp.

References llvm::FoldingSetNodeID::AddPointer().

◆ addNodeIDOpcode()

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

Definition at line 278 of file CSEInfo.cpp.

References llvm::FoldingSetNodeID::AddInteger().

◆ addNodeIDRegNum()

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

Definition at line 309 of file CSEInfo.cpp.

References llvm::FoldingSetNodeID::AddInteger().

◆ addNodeIDRegType() [1/4]

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

Definition at line 284 of file CSEInfo.cpp.

References llvm::FoldingSetNodeID::AddInteger().

◆ addNodeIDRegType() [2/4]

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

Definition at line 315 of file CSEInfo.cpp.

References llvm::MachineOperand::CreateReg().

◆ addNodeIDRegType() [3/4]

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

Definition at line 291 of file CSEInfo.cpp.

References llvm::FoldingSetNodeID::AddPointer().

◆ addNodeIDRegType() [4/4]

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

Definition at line 297 of file CSEInfo.cpp.

References llvm::FoldingSetNodeID::AddPointer().


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