Method MemMove
- Namespace
- Ubiquity.NET.Llvm.Instructions
- Assembly
- Ubiquity.NET.Llvm.dll
MemMove(Value, Value, Value, bool)
Builds a memmove intrinsic call
public Value MemMove(Value destination, Value source, Value len, bool isVolatile)
Parameters
destinationValueDestination pointer of the memmove
sourceValueSource pointer of the memmove
lenValuelength of the data to copy
isVolatileboolFlag to indicate if the copy involves volatile data such as physical registers
Returns
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.