Home
last modified time | relevance | path

Searched refs:GenVal (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp42 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfInt() local
43 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt()
44 return wrap(GenVal); in LLVMCreateGenericValueOfInt()
48 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfPointer() local
49 GenVal->PointerVal = P; in LLVMCreateGenericValueOfPointer()
50 return wrap(GenVal); in LLVMCreateGenericValueOfPointer()
54 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfFloat() local
57 GenVal->FloatVal = N; in LLVMCreateGenericValueOfFloat()
60 GenVal->DoubleVal = N; in LLVMCreateGenericValueOfFloat()
65 return wrap(GenVal); in LLVMCreateGenericValueOfFloat()
[all …]
/external/llvm/include/llvm-c/
DExecutionEngine.h64 unsigned long long LLVMGenericValueToInt(LLVMGenericValueRef GenVal,
67 void *LLVMGenericValueToPointer(LLVMGenericValueRef GenVal);
69 double LLVMGenericValueToFloat(LLVMTypeRef TyRef, LLVMGenericValueRef GenVal);
71 void LLVMDisposeGenericValue(LLVMGenericValueRef GenVal);