Searched refs:GenVal (Results 1 – 2 of 2) sorted by relevance
41 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfInt() local42 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt()43 return wrap(GenVal); in LLVMCreateGenericValueOfInt()47 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfPointer() local48 GenVal->PointerVal = P; in LLVMCreateGenericValueOfPointer()49 return wrap(GenVal); in LLVMCreateGenericValueOfPointer()53 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfFloat() local56 GenVal->FloatVal = N; in LLVMCreateGenericValueOfFloat()59 GenVal->DoubleVal = N; in LLVMCreateGenericValueOfFloat()64 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);