Function is_amd_string

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

Determines whether the specified value instance is an AMD string.

§Details

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

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

§Returns

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