Method MemSet
- Namespace
- Ubiquity.NET.Llvm.Instructions
- Assembly
- Ubiquity.NET.Llvm.dll
MemSet(Value, Value, Value, bool)
Builds a memset intrinsic call
public Value MemSet(Value destination, Value value, Value len, bool isVolatile)
Parameters
destination
ValueDestination pointer of the memset
value
Valuefill value for the memset
len
Valuelength of the data to fill
isVolatile
boolFlag to indicate if the fill involves volatile data such as physical registers
Returns
Remarks
LLVM has many overloaded variants of the memset 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.