Searched refs:GenVal (Results 1 – 2 of 2) sorted by relevance
43 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfInt() local44 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt()45 return wrap(GenVal); in LLVMCreateGenericValueOfInt()49 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfPointer() local50 GenVal->PointerVal = P; in LLVMCreateGenericValueOfPointer()51 return wrap(GenVal); in LLVMCreateGenericValueOfPointer()55 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfFloat() local58 GenVal->FloatVal = N; in LLVMCreateGenericValueOfFloat()61 GenVal->DoubleVal = N; in LLVMCreateGenericValueOfFloat()66 return wrap(GenVal); in LLVMCreateGenericValueOfFloat()[all …]
63 unsigned long long LLVMGenericValueToInt(LLVMGenericValueRef GenVal,66 void *LLVMGenericValueToPointer(LLVMGenericValueRef GenVal);68 double LLVMGenericValueToFloat(LLVMTypeRef TyRef, LLVMGenericValueRef GenVal);70 void LLVMDisposeGenericValue(LLVMGenericValueRef GenVal);