Return true if V is a valid value in Scope, that is a constant or an instruction/argument of Scope.

Synopsis

Declared in <llvm/Transforms/IPO/Attributor.h>

bool
isValidInScope(
    Value const& V,
    Function const* Scope);

Return Value

True if V is a valid value in Scope, that is a constant or an instruction/argument of Scope.

Parameters

Name

Description

V

The value of interest.

Scope

The value scope for the query.

Created with MrDocs