LLVMConstInt

Function LLVMConstInt 

Source
pub unsafe extern "C" fn LLVMConstInt(
    IntTy: LLVMTypeRef,
    N: c_ulonglong,
    SignExtend: LLVMBool,
) -> LLVMValueRef
Expand description

Obtain a constant value for an integer type.

The returned value corresponds to a llvm::ConstantInt.

@see llvm::ConstantInt::get()

@param IntTy Integer type to obtain value of. @param N The value the returned instance should refer to. @param SignExtend Whether to sign extend the produced value.