llvm::peekThroughOneUseBitcasts

Return the non-bitcasted and one-use source operand of V if it exists. If V is not a bitcasted one-use value, it is returned as-is.

Synopsis

Declared in <llvm/CodeGen/SelectionDAGNodes.h>

SDValue
peekThroughOneUseBitcasts(SDValue V);

Return Value

Unlike LLVM values, Selection DAG nodes may return multiple values as the result of a computation. Many nodes return multiple values, from loads (which define a token and a return value) to ADDC (which returns a result and a carry value), to calls (which may return an arbitrary number of values).

Parameters

NameDescription
VUnlike LLVM values, Selection DAG nodes may return multiple values as the result of a computation. Many nodes return multiple values, from loads (which define a token and a return value) to ADDC (which returns a result and a carry value), to calls (which may return an arbitrary number of values).