/external/llvm/include/llvm/ExecutionEngine/ |
H A D | GenericValue.h | 1 //===-- GenericValue.h - Represent any type of LLVM value -------*- C++ -*-===// 10 // The GenericValue class is used to represent an LLVM value of arbitrary type. 26 struct GenericValue { struct in namespace:llvm 40 std::vector<GenericValue> AggregateVal; 42 // to make code faster, set GenericValue to zero could be omitted, but it is 43 // potentially can cause problems, since GenericValue to store garbage 45 GenericValue() : IntVal(1,0) {UIntPairVal.first = 0; UIntPairVal.second = 0;} function in struct:llvm::GenericValue 46 explicit GenericValue(void *V) : PointerVal(V), IntVal(1,0) { } function in struct:llvm::GenericValue 49 inline GenericValue PTOGV(void *P) { return GenericValue( [all...] |
H A D | ExecutionEngine.h | 38 struct GenericValue; 218 virtual GenericValue runFunction(Function *F, 219 ArrayRef<GenericValue> ArgValues) = 0; 377 /// GenericValue *. It is not a pointer to a GenericValue containing the 379 void StoreValueToMemory(const GenericValue &Val, GenericValue *Ptr, 492 GenericValue getConstantValue(const Constant *C); 493 void LoadValueFromMemory(GenericValue &Result, GenericValue *Pt [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
H A D | Interpreter.h | 18 #include "llvm/ExecutionEngine/GenericValue.h" 59 typedef std::vector<GenericValue> ValuePlaneTy; 70 std::map<Value *, GenericValue> Values; // LLVM values used in this invocation 71 std::vector<GenericValue> VarArgs; // Values passed through an ellipsis 96 GenericValue ExitValue; // The return value of the called function 127 GenericValue runFunction(Function *F, 128 ArrayRef<GenericValue> ArgValues) override; 138 void callFunction(Function *F, ArrayRef<GenericValue> ArgVals); 194 GenericValue callExternalFunction(Function *F, 195 ArrayRef<GenericValue> ArgVal [all...] |
H A D | ExternalFunctions.cpp | 52 typedef GenericValue (*ExFunc)(FunctionType *, ArrayRef<GenericValue>); 132 static void *ffiValueFor(Type *Ty, const GenericValue &AV, 180 static bool ffiInvoke(RawFunc Fn, Function *F, ArrayRef<GenericValue> ArgVals, 181 const DataLayout &TD, GenericValue &Result) { 245 GenericValue Interpreter::callExternalFunction(Function *F, 246 ArrayRef<GenericValue> ArgVals) { 276 GenericValue Result; 290 return GenericValue(); 299 static GenericValue lle_X_atexi [all...] |
H A D | Execution.cpp | 42 static void SetValue(Value *V, GenericValue Val, ExecutionContext &SF) { 55 static void executeFAddInst(GenericValue &Dest, GenericValue Src1, 56 GenericValue Src2, Type *Ty) { 66 static void executeFSubInst(GenericValue &Dest, GenericValue Src1, 67 GenericValue Src2, Type *Ty) { 77 static void executeFMulInst(GenericValue &Dest, GenericValue Src1, 78 GenericValue Src [all...] |
H A D | Interpreter.cpp | 77 GenericValue Interpreter::runFunction(Function *F, 78 ArrayRef<GenericValue> ArgValues) { 89 ArrayRef<GenericValue> ActualArgs =
|
/external/llvm/lib/ExecutionEngine/Orc/ |
H A D | OrcMCJITReplacement.cpp | 11 #include "llvm/ExecutionEngine/GenericValue.h" 26 GenericValue 28 ArrayRef<GenericValue> ArgValues) { 54 GenericValue rv; 67 GenericValue rv; 75 GenericValue rv; 86 GenericValue rv;
|
H A D | OrcMCJITReplacement.h | 226 GenericValue runFunction(Function *F, 227 ArrayRef<GenericValue> ArgValues) override;
|
/external/llvm/examples/HowToUseJIT/ |
H A D | HowToUseJIT.cpp | 38 #include "llvm/ExecutionEngine/GenericValue.h" 124 std::vector<GenericValue> noargs; 125 GenericValue gv = EE->runFunction(FooF, noargs);
|
/external/llvm/lib/ExecutionEngine/ |
H A D | ExecutionEngineBindings.cpp | 16 #include "llvm/ExecutionEngine/GenericValue.h" 29 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(GenericValue, LLVMGenericValueRef) 42 GenericValue *GenVal = new GenericValue(); 48 GenericValue *GenVal = new GenericValue(); 54 GenericValue *GenVal = new GenericValue(); 74 GenericValue *GenVal = unwrap(GenValRef); 239 std::vector<GenericValue> ArgVe [all...] |
H A D | ExecutionEngine.cpp | 19 #include "llvm/ExecutionEngine/GenericValue.h" 360 (GenericValue*)(&Array[i*PtrSize]), SBytePtr); 366 (GenericValue*)(&Array[InputArgv.size()*PtrSize]), 430 std::vector<GenericValue> GVArgs; 431 GenericValue GVArgc; 595 /// \brief Converts a Constant* into a GenericValue, including handling of 597 GenericValue ExecutionEngine::getConstantValue(const Constant *C) { 600 GenericValue Result; 651 GenericValue Result = getConstantValue(Op0); 660 GenericValue G [all...] |
/external/llvm/examples/BrainF/ |
H A D | BrainFDriver.cpp | 30 #include "llvm/ExecutionEngine/GenericValue.h" 145 std::vector<GenericValue> args; 147 GenericValue gv = ee->runFunction(brainf_func, args);
|
/external/llvm/examples/Fibonacci/ |
H A D | fibonacci.cpp | 27 #include "llvm/ExecutionEngine/GenericValue.h" 128 std::vector<GenericValue> Args(1); 130 GenericValue GV = EE->runFunction(FibF, Args);
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
H A D | toplevel.ml | 41 print_float (GenericValue.as_float Codegen.double_type result);
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
H A D | toplevel.ml | 41 print_float (GenericValue.as_float Codegen.double_type result);
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
H A D | toplevel.ml | 41 print_float (GenericValue.as_float Codegen.double_type result);
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
H A D | toplevel.ml | 41 print_float (GenericValue.as_float Codegen.double_type result);
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
H A D | MCJIT.cpp | 12 #include "llvm/ExecutionEngine/GenericValue.h" 479 GenericValue MCJIT::runFunction(Function *F, ArrayRef<GenericValue> ArgValues) { 505 GenericValue rv; 518 GenericValue rv; 527 GenericValue rv; 538 GenericValue rv;
|
H A D | MCJIT.h | 264 GenericValue runFunction(Function *F, 265 ArrayRef<GenericValue> ArgValues) override;
|
/external/llvm/examples/ParallelJIT/ |
H A D | ParallelJIT.cpp | 21 #include "llvm/ExecutionEngine/GenericValue.h" 233 std::vector<GenericValue> Args(1); 237 GenericValue gv = p->EE->runFunction(p->F, Args);
|