llvm::wrap

Convert a Value pointer to an opaque LLVMValueRef.

Synopsis

Declared in <llvm/IR/Value.h>

LLVMValueRef
wrap(Value const* P);

Return Value

The opaque LLVMValueRef for P.

Parameters

NameDescription
PValue to wrap for the C API.