/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 42 static void SetValue(Value *V, GenericValue Val, ExecutionContext &SF) { in SetValue() 55 static void executeFAddInst(GenericValue &Dest, GenericValue Src1, in executeFAddInst() 56 GenericValue Src2, Type *Ty) { in executeFAddInst() 66 static void executeFSubInst(GenericValue &Dest, GenericValue Src1, in executeFSubInst() 67 GenericValue Src2, Type *Ty) { in executeFSubInst() 77 static void executeFMulInst(GenericValue &Dest, GenericValue Src1, in executeFMulInst() 78 GenericValue Src2, Type *Ty) { in executeFMulInst() 88 static void executeFDivInst(GenericValue &Dest, GenericValue Src1, in executeFDivInst() 89 GenericValue Src2, Type *Ty) { in executeFDivInst() 99 static void executeFRemInst(GenericValue &Dest, GenericValue Src1, in executeFRemInst() [all …]
|
D | Interpreter.h | 60 typedef std::vector<GenericValue> ValuePlaneTy; 71 std::map<Value *, GenericValue> Values; // LLVM values used in this invocation 72 std::vector<GenericValue> VarArgs; // Values passed through an ellipsis 97 GenericValue ExitValue; // The return value of the called function 129 GenericValue runFunction(Function *F, 130 const std::vector<GenericValue> &ArgValues) override; 140 void callFunction(Function *F, const std::vector<GenericValue> &ArgVals); 196 GenericValue callExternalFunction(Function *F, 197 const std::vector<GenericValue> &ArgVals); 198 void exitCalled(GenericValue GV); [all …]
|
D | ExternalFunctions.cpp | 52 typedef GenericValue (*ExFunc)(FunctionType *, 53 const std::vector<GenericValue> &); 133 static void *ffiValueFor(Type *Ty, const GenericValue &AV, in ffiValueFor() 182 const std::vector<GenericValue> &ArgVals, in ffiInvoke() 183 const DataLayout *TD, GenericValue &Result) { in ffiInvoke() 247 GenericValue Interpreter::callExternalFunction(Function *F, in callExternalFunction() 248 const std::vector<GenericValue> &ArgVals) { in callExternalFunction() 278 GenericValue Result; in callExternalFunction() 292 return GenericValue(); in callExternalFunction() 302 GenericValue lle_X_atexit(FunctionType *FT, in lle_X_atexit() [all …]
|
D | Interpreter.cpp | 70 callFunction(AtExitHandlers.back(), std::vector<GenericValue>()); in runAtExitHandlers() 78 GenericValue 80 const std::vector<GenericValue> &ArgValues) { in runFunction() 90 std::vector<GenericValue> ActualArgs; in runFunction()
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | GenericValue.h | 26 struct GenericValue { struct 40 std::vector<GenericValue> AggregateVal; argument 45 GenericValue() : IntVal(1,0) {UIntPairVal.first = 0; UIntPairVal.second = 0;} in GenericValue() function 46 explicit GenericValue(void *V) : PointerVal(V), IntVal(1,0) { } in GenericValue() argument 49 inline GenericValue PTOGV(void *P) { return GenericValue(P); } in PTOGV() 50 inline void* GVTOP(const GenericValue &GV) { return GV.PointerVal; } in GVTOP()
|
D | ExecutionEngine.h | 37 struct GenericValue; 207 virtual GenericValue runFunction(Function *F, 208 const std::vector<GenericValue> &ArgValues) = 0; 368 void StoreValueToMemory(const GenericValue &Val, GenericValue *Ptr, 480 GenericValue getConstantValue(const Constant *C); 481 void LoadValueFromMemory(GenericValue &Result, GenericValue *Ptr,
|
/external/llvm/bindings/go/llvm/ |
D | executionengine.go | 27 type GenericValue struct { struct 55 func llvmGenericValueRefPtr(t *GenericValue) *C.LLVMGenericValueRef { argument 63 func NewGenericValueFromInt(t Type, n uint64, signed bool) (g GenericValue) { 67 func NewGenericValueFromPointer(p unsafe.Pointer) (g GenericValue) { 71 func NewGenericValueFromFloat(t Type, n float64) (g GenericValue) { 75 func (g GenericValue) IntWidth() int { return int(C.LLVMGenericValueIntWidth(g.C)) } argument 76 func (g GenericValue) Int(signed bool) uint64 { argument 79 func (g GenericValue) Float(t Type) float64 { argument 82 func (g GenericValue) Pointer() unsafe.Pointer { argument 85 func (g GenericValue) Dispose() { C.LLVMDisposeGenericValue(g.C) } argument [all …]
|
D | executionengine_test.go | 92 exec_args := []GenericValue{NewGenericValueFromInt(Int32Type(), 10, false)}
|
/external/llvm/lib/ExecutionEngine/Orc/ |
D | OrcMCJITReplacement.cpp | 26 GenericValue 28 const std::vector<GenericValue> &ArgValues) { in runFunction() 54 GenericValue rv; in runFunction() 67 GenericValue rv; in runFunction() 75 GenericValue rv; in runFunction() 86 GenericValue rv; in runFunction()
|
D | OrcMCJITReplacement.h | 231 GenericValue runFunction(Function *F, 232 const std::vector<GenericValue> &ArgValues) override;
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngineBindings.cpp | 28 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(GenericValue, LLVMGenericValueRef) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() argument 41 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfInt() 47 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfPointer() 53 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfFloat() 73 GenericValue *GenVal = unwrap(GenValRef); in LLVMGenericValueToInt() 259 std::vector<GenericValue> ArgVec; in LLVMRunFunction() 264 GenericValue *Result = new GenericValue(); in LLVMRunFunction()
|
D | ExecutionEngine.cpp | 337 (GenericValue*)(&Array[i*PtrSize]), SBytePtr); in reset() 343 (GenericValue*)(&Array[InputArgv.size()*PtrSize]), in reset() 379 runFunction(F, std::vector<GenericValue>()); in runStaticConstructorsDestructors() 407 std::vector<GenericValue> GVArgs; in runFunctionAsMain() 408 GenericValue GVArgc; in runFunctionAsMain() 574 GenericValue ExecutionEngine::getConstantValue(const Constant *C) { in getConstantValue() 577 GenericValue Result; in getConstantValue() 628 GenericValue Result = getConstantValue(Op0); in getConstantValue() 637 GenericValue GV = getConstantValue(Op0); in getConstantValue() 643 GenericValue GV = getConstantValue(Op0); in getConstantValue() [all …]
|
/external/llvm/examples/HowToUseJIT/ |
D | HowToUseJIT.cpp | 125 std::vector<GenericValue> noargs; in main() 126 GenericValue gv = EE->runFunction(FooF, noargs); in main()
|
/external/llvm/examples/Fibonacci/ |
D | fibonacci.cpp | 129 std::vector<GenericValue> Args(1); in main() 131 GenericValue GV = EE->runFunction(FibF, Args); in main()
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 444 GenericValue MCJIT::runFunction(Function *F, in runFunction() 445 const std::vector<GenericValue> &ArgValues) { in runFunction() 471 GenericValue rv; in runFunction() 484 GenericValue rv; in runFunction() 493 GenericValue rv; in runFunction() 504 GenericValue rv; in runFunction()
|
D | MCJIT.h | 253 GenericValue runFunction(Function *F, 254 const std::vector<GenericValue> &ArgValues) override;
|
/external/llvm/examples/BrainF/ |
D | BrainFDriver.cpp | 145 std::vector<GenericValue> args; in main() 147 GenericValue gv = ee->runFunction(brainf_func, args); in main()
|
/external/llvm/examples/ParallelJIT/ |
D | ParallelJIT.cpp | 232 std::vector<GenericValue> Args(1); in callFunc() 236 GenericValue gv = p->EE->runFunction(p->F, Args); in callFunc()
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/ |
D | toplevel.ml | 41 print_float (GenericValue.as_float Codegen.double_type result);
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
D | toplevel.ml | 41 print_float (GenericValue.as_float Codegen.double_type result);
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/ |
D | toplevel.ml | 41 print_float (GenericValue.as_float Codegen.double_type result);
|
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/ |
D | toplevel.ml | 41 print_float (GenericValue.as_float Codegen.double_type result);
|
/external/llvm/tools/lli/ |
D | lli.cpp | 640 std::vector<GenericValue> Args; in main() 641 GenericValue ResultGV; in main()
|
/external/llvm/docs/tutorial/ |
D | OCamlLangImpl4.rst | 285 print_float (GenericValue.as_float Codegen.double_type result); 836 print_float (GenericValue.as_float Codegen.double_type result);
|
D | OCamlLangImpl6.rst | 1355 print_float (GenericValue.as_float Codegen.double_type result);
|