llvm::invertCondition

Invert a boolean condition, reusing an existing inverted copy when possible.

Synopsis

Declared in <llvm/Transforms/Utils/Local.h>

Value*
invertCondition(Value* Condition);

Return Value

Inverted boolean value, reusing an existing inverted copy when possible.

Parameters

NameDescription
ConditionTrue/false value to invert.