Method MemMove
MemMove(Value, Value, Value, Boolean)
Builds a memmove intrinsic call
Declaration
public Value MemMove(Value destination, Value source, Value len, bool isVolatile)
Parameters
public Value MemMove(Value destination, Value source, Value len, bool isVolatile)
Value | destination | Destination pointer of the memmove |
Value | source | Source pointer of the memmove |
Value | len | length of the data to copy |
Boolean | isVolatile | Flag to indicate if the copy involves volatile data such as physical registers |
Returns
Value | Intrinsic call for the memmove |
Remarks
LLVM has many overloaded variants of the memmove intrinsic, this implementation will deduce the types from the provided values and generate a more specific call without the need to provide overloaded forms of this method and otherwise complicating the calling code.