ΒΆbool isValidInScope(const llvm::Value& V,
const llvm::Function* Scope)
bool isValidInScope(const llvm::Value& V,
const llvm::Function* Scope)
Description
Return true if \p V is a valid value in \p Scope, that is a constant or an instruction/argument of \p Scope.
Declared at: llvm/include/llvm/Transforms/IPO/Attributor.h:188
Parameters
- const llvm::Value& V
- const llvm::Function* Scope