Home
last modified time | relevance | path

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

/external/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp41 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfInt() local
42 GenVal->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned); in LLVMCreateGenericValueOfInt()
43 return wrap(GenVal); in LLVMCreateGenericValueOfInt()
47 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfPointer() local
48 GenVal->PointerVal = P; in LLVMCreateGenericValueOfPointer()
49 return wrap(GenVal); in LLVMCreateGenericValueOfPointer()
53 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfFloat() local
56 GenVal->FloatVal = N; in LLVMCreateGenericValueOfFloat()
59 GenVal->DoubleVal = N; in LLVMCreateGenericValueOfFloat()
64 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);