llvm::CSEConfigBase::shouldCSEOpc

Return whether the given generic opcode should be CSEd.

Synopsis

Declared in <llvm/CodeGen/CSEConfigBase.h>

virtual
bool
shouldCSEOpc(unsigned int Opc);

Description

GISelCSEInfo currently only calls this hook when dealing with generic opcodes.

Return Value

True if the opcode should be common-subexpression eliminated.

Parameters

NameDescription
OpcOpcode to check for CSE eligibility.