Return true if Imm is a legal immediate operand of an icmp.

Synopsis

Declared in <llvm/Analysis/TargetTransformInfo.h>

bool
isLegalICmpImmediate(int64_t Imm) const;

Description

That is, the target has icmp instructions which can compare a register against the immediate without having to materialize the immediate into a register.

Return Value

True if Imm is a legal immediate operand of an icmp.

Parameters

Name

Description

Imm

Immediate value.

Created with MrDocs