llvm::peekThroughTruncates

Return the non-truncated source operand of V if it exists. If V is not a truncation, it is returned as-is.

Synopsis

Declared in <llvm/CodeGen/SelectionDAGNodes.h>

SDValue
peekThroughTruncates(SDValue V);

Return Value

The non-truncated source operand of V if it exists.

Parameters

NameDescription
VValue to peek through.