Function is_amd_node

Source
pub fn is_amd_node(val: &ValueRef) -> ValueRef
Expand description

Determines whether the specified value instance is an AMD node.

§Details

Checks if the value is an AMD node in LLVM IR and returns the corresponding value.

This function wraps the LLVMIsAMDNode function from the LLVM core library. It determines whether the value represented by ValueRef is an AMD node and returns the corresponding value if it is. AMD nodes are specific to AMD’s extensions in LLVM, and this function is used to identify and work with those nodes.

§Returns

Returns an instance of ValueRef that represents the value if it is an AMD node.