Home
last modified time | relevance | path

Searched refs:LLVMGenericValueRef (Results 1 – 3 of 3) sorted by relevance

/external/llvm/include/llvm-c/
DExecutionEngine.h41 typedef struct LLVMOpaqueGenericValue *LLVMGenericValueRef; typedef
55 LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty,
59 LLVMGenericValueRef LLVMCreateGenericValueOfPointer(void *P);
61 LLVMGenericValueRef LLVMCreateGenericValueOfFloat(LLVMTypeRef Ty, double N);
63 unsigned LLVMGenericValueIntWidth(LLVMGenericValueRef GenValRef);
65 unsigned long long LLVMGenericValueToInt(LLVMGenericValueRef GenVal,
68 void *LLVMGenericValueToPointer(LLVMGenericValueRef GenVal);
70 double LLVMGenericValueToFloat(LLVMTypeRef TyRef, LLVMGenericValueRef GenVal);
72 void LLVMDisposeGenericValue(LLVMGenericValueRef GenVal);
140 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F,
[all …]
/external/llvm/lib/ExecutionEngine/
DExecutionEngineBindings.cpp27 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(GenericValue, LLVMGenericValueRef) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() argument
48 LLVMGenericValueRef LLVMCreateGenericValueOfInt(LLVMTypeRef Ty, in LLVMCreateGenericValueOfInt()
56 LLVMGenericValueRef LLVMCreateGenericValueOfPointer(void *P) { in LLVMCreateGenericValueOfPointer()
62 LLVMGenericValueRef LLVMCreateGenericValueOfFloat(LLVMTypeRef TyRef, double N) { in LLVMCreateGenericValueOfFloat()
77 unsigned LLVMGenericValueIntWidth(LLVMGenericValueRef GenValRef) { in LLVMGenericValueIntWidth()
81 unsigned long long LLVMGenericValueToInt(LLVMGenericValueRef GenValRef, in LLVMGenericValueToInt()
90 void *LLVMGenericValueToPointer(LLVMGenericValueRef GenVal) { in LLVMGenericValueToPointer()
94 double LLVMGenericValueToFloat(LLVMTypeRef TyRef, LLVMGenericValueRef GenVal) { in LLVMGenericValueToFloat()
105 void LLVMDisposeGenericValue(LLVMGenericValueRef GenVal) { in LLVMDisposeGenericValue()
264 LLVMGenericValueRef LLVMRunFunction(LLVMExecutionEngineRef EE, LLVMValueRef F, in LLVMRunFunction()
[all …]
/external/llvm/bindings/ocaml/executionengine/
Dexecutionengine_ocaml.c65 #define Genericvalue_val(v) (*(LLVMGenericValueRef *)(Data_custom_val(v)))
83 static value alloc_generic_value(LLVMGenericValueRef Ref) { in alloc_generic_value()
84 value Val = alloc_custom(&generic_value_ops, sizeof(LLVMGenericValueRef), 0, 1); in alloc_generic_value()
241 LLVMGenericValueRef Result, *GVArgs; in llvm_ee_run_function()
245 GVArgs = (LLVMGenericValueRef*) malloc(NumArgs * sizeof(LLVMGenericValueRef)); in llvm_ee_run_function()