• Home
  • Raw
  • Download

Lines Matching refs:GenVal

28   GenericValue *GenVal = new GenericValue();  in LLVMCreateGenericValueOfInt()  local
29 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt()
30 return wrap(GenVal); in LLVMCreateGenericValueOfInt()
34 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfPointer() local
35 GenVal->PointerVal = P; in LLVMCreateGenericValueOfPointer()
36 return wrap(GenVal); in LLVMCreateGenericValueOfPointer()
40 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfFloat() local
43 GenVal->FloatVal = N; in LLVMCreateGenericValueOfFloat()
46 GenVal->DoubleVal = N; in LLVMCreateGenericValueOfFloat()
51 return wrap(GenVal); in LLVMCreateGenericValueOfFloat()
60 GenericValue *GenVal = unwrap(GenValRef); in LLVMGenericValueToInt() local
62 return GenVal->IntVal.getSExtValue(); in LLVMGenericValueToInt()
64 return GenVal->IntVal.getZExtValue(); in LLVMGenericValueToInt()
67 void *LLVMGenericValueToPointer(LLVMGenericValueRef GenVal) { in LLVMGenericValueToPointer() argument
68 return unwrap(GenVal)->PointerVal; in LLVMGenericValueToPointer()
71 double LLVMGenericValueToFloat(LLVMTypeRef TyRef, LLVMGenericValueRef GenVal) { in LLVMGenericValueToFloat() argument
74 return unwrap(GenVal)->FloatVal; in LLVMGenericValueToFloat()
76 return unwrap(GenVal)->DoubleVal; in LLVMGenericValueToFloat()
84 void LLVMDisposeGenericValue(LLVMGenericValueRef GenVal) { in LLVMDisposeGenericValue() argument
85 delete unwrap(GenVal); in LLVMDisposeGenericValue()