pub fn is_constant(val: &ValueRef) -> boolExpand description
Determines whether the specified value instance is constant.
§Details
Checks if the value is a constant in LLVM IR.
This function wraps the LLVMIsConstant function from the LLVM core library. It determines whether
the value represented by ValueRef is a constant. In LLVM IR, constants are values that are known at compile time,
such as integer literals, floating-point literals, or constant expressions.
§Returns
Returns true if the value is a constant, otherwise returns false.