OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GenVal
(Results
1 - 3
of
3
) sorted by null
/external/llvm/bindings/ocaml/executionengine/
executionengine_ocaml.c
67
static void llvm_finalize_generic_value(value
GenVal
) {
68
LLVMDisposeGenericValue(Genericvalue_val(
GenVal
));
129
CAMLprim value llvm_genericvalue_as_float(LLVMTypeRef Ty, value
GenVal
) {
130
CAMLparam1(
GenVal
);
132
LLVMGenericValueToFloat(Ty, Genericvalue_val(
GenVal
))));
136
CAMLprim value llvm_genericvalue_as_pointer(value
GenVal
) {
137
return Val_op(LLVMGenericValueToPointer(Genericvalue_val(
GenVal
)));
141
CAMLprim value llvm_genericvalue_as_int(value
GenVal
) {
142
assert(LLVMGenericValueIntWidth(Genericvalue_val(
GenVal
)) <= 8 * sizeof(value)
144
return Val_int(LLVMGenericValueToInt(Genericvalue_val(
GenVal
), 1))
[
all
...]
/external/llvm/lib/ExecutionEngine/
ExecutionEngineBindings.cpp
49
GenericValue *
GenVal
= new GenericValue();
50
GenVal
->IntVal = APInt(unwrap<IntegerType>(Ty)->getBitWidth(), N, IsSigned);
51
return wrap(
GenVal
);
55
GenericValue *
GenVal
= new GenericValue();
56
GenVal
->PointerVal = P;
57
return wrap(
GenVal
);
61
GenericValue *
GenVal
= new GenericValue();
64
GenVal
->FloatVal = N;
67
GenVal
->DoubleVal = N;
72
return wrap(
GenVal
);
[
all
...]
/external/llvm/include/llvm-c/
ExecutionEngine.h
65
unsigned long long LLVMGenericValueToInt(LLVMGenericValueRef
GenVal
,
68
void *LLVMGenericValueToPointer(LLVMGenericValueRef
GenVal
);
70
double LLVMGenericValueToFloat(LLVMTypeRef TyRef, LLVMGenericValueRef
GenVal
);
72
void LLVMDisposeGenericValue(LLVMGenericValueRef
GenVal
);
Completed in 2261 milliseconds