Lines Matching refs:Genericvalue_val
65 #define Genericvalue_val(v) (*(LLVMGenericValueRef *)(Data_custom_val(v)))
68 LLVMDisposeGenericValue(Genericvalue_val(GenVal));
85 Genericvalue_val(Val) = Ref;
132 LLVMGenericValueToFloat(Ty, Genericvalue_val(GenVal))));
137 return Val_op(LLVMGenericValueToPointer(Genericvalue_val(GenVal)));
142 assert(LLVMGenericValueIntWidth(Genericvalue_val(GenVal)) <= 8 * sizeof(value)
144 return Val_int(LLVMGenericValueToInt(Genericvalue_val(GenVal), 1));
150 assert(LLVMGenericValueIntWidth(Genericvalue_val(GenVal)) <= 32
152 CAMLreturn(copy_int32(LLVMGenericValueToInt(Genericvalue_val(GenVal), 1)));
158 assert(LLVMGenericValueIntWidth(Genericvalue_val(GenVal)) <= 64
160 CAMLreturn(copy_int64(LLVMGenericValueToInt(Genericvalue_val(GenVal), 1)));
166 assert(LLVMGenericValueIntWidth(Genericvalue_val(GenVal)) <= 8 * sizeof(value)
168 CAMLreturn(copy_nativeint(LLVMGenericValueToInt(Genericvalue_val(GenVal),1)));
247 GVArgs[I] = Genericvalue_val(Field(Args, I));