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
destinationValueDestination pointer of the memset
valueValuefill value for the memset
lenValuelength of the data to fill
isVolatileboolFlag 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.