LLVM
8.0.1
|
#include "llvm/CodeGen/GlobalISel/CSEInfo.h"
Public Member Functions | |
GISelInstProfileBuilder (FoldingSetNodeID &ID, const MachineRegisterInfo &MRI) | |
const GISelInstProfileBuilder & | addNodeIDOpcode (unsigned Opc) const |
const GISelInstProfileBuilder & | addNodeIDRegType (const LLT &Ty) const |
const GISelInstProfileBuilder & | addNodeIDRegType (const unsigned) const |
const GISelInstProfileBuilder & | addNodeIDRegType (const TargetRegisterClass *RC) const |
const GISelInstProfileBuilder & | addNodeIDRegType (const RegisterBank *RB) const |
const GISelInstProfileBuilder & | addNodeIDRegNum (unsigned Reg) const |
const GISelInstProfileBuilder & | addNodeIDImmediate (int64_t Imm) const |
const GISelInstProfileBuilder & | addNodeIDMBB (const MachineBasicBlock *MBB) const |
const GISelInstProfileBuilder & | addNodeIDMachineOperand (const MachineOperand &MO) const |
const GISelInstProfileBuilder & | addNodeIDFlag (unsigned Flag) const |
const GISelInstProfileBuilder & | addNodeID (const MachineInstr *MI) const |
More... | |
|
inline |
const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeID | ( | const MachineInstr * | MI | ) | const |
Definition at line 257 of file CSEInfo.cpp.
References llvm::MachineInstr::getFlags(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getParent(), and llvm::MachineInstr::operands().
const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDFlag | ( | unsigned | Flag | ) | const |
Definition at line 316 of file CSEInfo.cpp.
References llvm::FoldingSetNodeID::AddInteger().
const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDImmediate | ( | int64_t | Imm | ) | const |
Definition at line 292 of file CSEInfo.cpp.
References llvm::FoldingSetNodeID::AddInteger().
const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDMachineOperand | ( | const MachineOperand & | MO | ) | const |
Definition at line 322 of file CSEInfo.cpp.
References llvm::FoldingSetNodeID::AddInteger(), llvm::FoldingSetNodeID::AddPointer(), assert(), llvm::MachineOperand::getCImm(), llvm::MachineOperand::getFPImm(), llvm::MachineOperand::getImm(), llvm::MachineOperand::getPredicate(), llvm::MachineOperand::getReg(), llvm::MachineOperand::isCImm(), llvm::MachineOperand::isDef(), llvm::MachineOperand::isFPImm(), llvm::MachineOperand::isImm(), llvm::MachineOperand::isImplicit(), llvm::MachineOperand::isPredicate(), llvm::MachineOperand::isReg(), llvm::LLT::isValid(), llvm_unreachable, MRI, and Reg.
Referenced by llvm::CSEMIRBuilder::buildConstant(), and llvm::CSEMIRBuilder::buildFConstant().
const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDMBB | ( | const MachineBasicBlock * | MBB | ) | const |
Definition at line 310 of file CSEInfo.cpp.
References llvm::FoldingSetNodeID::AddPointer().
const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDOpcode | ( | unsigned | Opc | ) | const |
Definition at line 267 of file CSEInfo.cpp.
References llvm::FoldingSetNodeID::AddInteger().
const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDRegNum | ( | unsigned | Reg | ) | const |
Definition at line 298 of file CSEInfo.cpp.
References llvm::FoldingSetNodeID::AddInteger().
const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDRegType | ( | const LLT & | Ty | ) | const |
Definition at line 273 of file CSEInfo.cpp.
References llvm::FoldingSetNodeID::AddInteger().
const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDRegType | ( | const unsigned | Reg | ) | const |
Definition at line 304 of file CSEInfo.cpp.
References llvm::MachineOperand::CreateReg().
const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDRegType | ( | const TargetRegisterClass * | RC | ) | const |
Definition at line 280 of file CSEInfo.cpp.
References llvm::FoldingSetNodeID::AddPointer().
const GISelInstProfileBuilder & GISelInstProfileBuilder::addNodeIDRegType | ( | const RegisterBank * | RB | ) | const |
Definition at line 286 of file CSEInfo.cpp.
References llvm::FoldingSetNodeID::AddPointer().