Searched refs:Genericvalue_val (Results 1 – 1 of 1) sorted by relevance
65 #define Genericvalue_val(v) (*(LLVMGenericValueRef *)(Data_custom_val(v))) macro68 LLVMDisposeGenericValue(Genericvalue_val(GenVal)); in llvm_finalize_generic_value()85 Genericvalue_val(Val) = Ref; in alloc_generic_value()132 LLVMGenericValueToFloat(Ty, Genericvalue_val(GenVal)))); in llvm_genericvalue_as_float()137 return Val_op(LLVMGenericValueToPointer(Genericvalue_val(GenVal))); in llvm_genericvalue_as_pointer()142 assert(LLVMGenericValueIntWidth(Genericvalue_val(GenVal)) <= 8 * sizeof(value) in llvm_genericvalue_as_int()144 return Val_int(LLVMGenericValueToInt(Genericvalue_val(GenVal), 1)); in llvm_genericvalue_as_int()150 assert(LLVMGenericValueIntWidth(Genericvalue_val(GenVal)) <= 32 in llvm_genericvalue_as_int32()152 CAMLreturn(copy_int32(LLVMGenericValueToInt(Genericvalue_val(GenVal), 1))); in llvm_genericvalue_as_int32()158 assert(LLVMGenericValueIntWidth(Genericvalue_val(GenVal)) <= 64 in llvm_genericvalue_as_int64()[all …]