pub fn get_intrinsic_id(val: &ValueRef) -> u32
Expand description
Retrieves the intrinsic ID number from a function instance.
This function wraps the LLVMGetIntrinsicID
function from the LLVM core library. Intrinsic functions in
LLVM have unique ID numbers that can be used to identify and categorize them.
§Parameters
val
: TheValueRef
representing the function.
§Returns
Returns a u32
representing the intrinsic ID of the function. If the function is not an intrinsic, the ID
returned will be 0
.