Returns the inner value X if the expression has the form f(X) where f(X) == 0 if and only if X == 0, otherwise returns nullptr.

Synopsis

Declared in <llvm/Analysis/ValueTracking.h>

Value*
stripNullTest(Value* V);

Return Value

Inner value X, or null if the form does not match.

Parameters

Name

Description

V

Expression that may be a null‐preserving wrapper around X.

Created with MrDocs