Searched refs:GenVal (Results 1 – 2 of 2) sorted by relevance
42 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfInt() local43 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt()44 return wrap(GenVal); in LLVMCreateGenericValueOfInt()48 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfPointer() local49 GenVal->PointerVal = P; in LLVMCreateGenericValueOfPointer()50 return wrap(GenVal); in LLVMCreateGenericValueOfPointer()54 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfFloat() local57 GenVal->FloatVal = N; in LLVMCreateGenericValueOfFloat()60 GenVal->DoubleVal = N; in LLVMCreateGenericValueOfFloat()65 return wrap(GenVal); in LLVMCreateGenericValueOfFloat()[all …]
64 unsigned long long LLVMGenericValueToInt(LLVMGenericValueRef GenVal,67 void *LLVMGenericValueToPointer(LLVMGenericValueRef GenVal);69 double LLVMGenericValueToFloat(LLVMTypeRef TyRef, LLVMGenericValueRef GenVal);71 void LLVMDisposeGenericValue(LLVMGenericValueRef GenVal);