/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 41 static void SetValue(Value *V, GenericValue Val, ExecutionContext &SF) { in SetValue() 49 static void executeFNegInst(GenericValue &Dest, GenericValue Src, Type *Ty) { in executeFNegInst() 65 GenericValue Src = getOperandValue(I.getOperand(0), SF); in visitUnaryOperator() 66 GenericValue R; // Result in visitUnaryOperator() 108 static void executeFAddInst(GenericValue &Dest, GenericValue Src1, in executeFAddInst() 109 GenericValue Src2, Type *Ty) { in executeFAddInst() 119 static void executeFSubInst(GenericValue &Dest, GenericValue Src1, in executeFSubInst() 120 GenericValue Src2, Type *Ty) { in executeFSubInst() 130 static void executeFMulInst(GenericValue &Dest, GenericValue Src1, in executeFMulInst() 131 GenericValue Src2, Type *Ty) { in executeFMulInst() [all …]
|
D | Interpreter.h | 55 typedef std::vector<GenericValue> ValuePlaneTy; 66 std::map<Value *, GenericValue> Values; // LLVM values used in this invocation 67 std::vector<GenericValue> VarArgs; // Values passed through an ellipsis 76 GenericValue ExitValue; // The return value of the called function 107 GenericValue runFunction(Function *F, 108 ArrayRef<GenericValue> ArgValues) override; 118 void callFunction(Function *F, ArrayRef<GenericValue> ArgVals); 175 GenericValue callExternalFunction(Function *F, 176 ArrayRef<GenericValue> ArgVals); 177 void exitCalled(GenericValue GV); [all …]
|
D | ExternalFunctions.cpp | 62 typedef GenericValue (*ExFunc)(FunctionType *, ArrayRef<GenericValue>); 143 static void *ffiValueFor(Type *Ty, const GenericValue &AV, in ffiValueFor() 191 static bool ffiInvoke(RawFunc Fn, Function *F, ArrayRef<GenericValue> ArgVals, in ffiInvoke() 192 const DataLayout &TD, GenericValue &Result) { in ffiInvoke() 257 GenericValue Interpreter::callExternalFunction(Function *F, in callExternalFunction() 258 ArrayRef<GenericValue> ArgVals) { in callExternalFunction() 288 GenericValue Result; in callExternalFunction() 302 return GenericValue(); in callExternalFunction() 310 static GenericValue lle_X_atexit(FunctionType *FT, in lle_X_atexit() 311 ArrayRef<GenericValue> Args) { in lle_X_atexit() [all …]
|
D | Interpreter.cpp | 80 GenericValue Interpreter::runFunction(Function *F, in runFunction() 81 ArrayRef<GenericValue> ArgValues) { in runFunction() 92 ArrayRef<GenericValue> ActualArgs = in runFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/ |
D | GenericValue.h | 23 struct GenericValue { struct 37 std::vector<GenericValue> AggregateVal; argument 42 GenericValue() : IntVal(1, 0) { in GenericValue() argument 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 | 46 struct GenericValue; 229 virtual GenericValue runFunction(Function *F, 230 ArrayRef<GenericValue> ArgValues) = 0; 391 void StoreValueToMemory(const GenericValue &Val, GenericValue *Ptr, 504 GenericValue getConstantValue(const Constant *C); 505 void LoadValueFromMemory(GenericValue &Result, GenericValue *Ptr,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | OrcMCJITReplacement.cpp | 25 GenericValue 27 ArrayRef<GenericValue> ArgValues) { in runFunction() 53 GenericValue rv; in runFunction() 66 GenericValue rv; in runFunction() 74 GenericValue rv; in runFunction() 85 GenericValue rv; in runFunction()
|
D | OrcMCJITReplacement.h | 366 GenericValue runFunction(Function *F, 367 ArrayRef<GenericValue> ArgValues) override;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineSpecConstantTests.cpp | 68 class GenericValue class 71 GenericValue (void) { clear(); } in GenericValue() function in vkt::pipeline::__anon91e4ae150111::GenericValue 74 GenericValue (const void* data, const deUint32 size) in GenericValue() function in vkt::pipeline::__anon91e4ae150111::GenericValue 87 inline GenericValue makeValueBool32 (const bool a) { return GenericValue(&a, sizeof(a)); } in makeValueBool32() 88 inline GenericValue makeValueInt8 (const deInt8 a) { return GenericValue(&a, sizeof(a)); } in makeValueInt8() 89 inline GenericValue makeValueUint8 (const deUint8 a) { return GenericValue(&a, sizeof(a)); } in makeValueUint8() 90 inline GenericValue makeValueInt16 (const deInt16 a) { return GenericValue(&a, sizeof(a)); } in makeValueInt16() 91 inline GenericValue makeValueUint16 (const deUint16 a) { return GenericValue(&a, sizeof(a)); } in makeValueUint16() 92 inline GenericValue makeValueInt32 (const deInt32 a) { return GenericValue(&a, sizeof(a)); } in makeValueInt32() 93 inline GenericValue makeValueUint32 (const deUint32 a) { return GenericValue(&a, sizeof(a)); } in makeValueUint32() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineSpecConstantTests.cpp | 68 class GenericValue class 71 GenericValue (void) { clear(); } in GenericValue() function in vkt::pipeline::__anonec173c950111::GenericValue 74 GenericValue (const void* data, const deUint32 size) in GenericValue() function in vkt::pipeline::__anonec173c950111::GenericValue 87 inline GenericValue makeValueBool32 (const bool a) { return GenericValue(&a, sizeof(a)); } in makeValueBool32() 88 inline GenericValue makeValueInt8 (const deInt8 a) { return GenericValue(&a, sizeof(a)); } in makeValueInt8() 89 inline GenericValue makeValueUint8 (const deUint8 a) { return GenericValue(&a, sizeof(a)); } in makeValueUint8() 90 inline GenericValue makeValueInt16 (const deInt16 a) { return GenericValue(&a, sizeof(a)); } in makeValueInt16() 91 inline GenericValue makeValueUint16 (const deUint16 a) { return GenericValue(&a, sizeof(a)); } in makeValueUint16() 92 inline GenericValue makeValueInt32 (const deInt32 a) { return GenericValue(&a, sizeof(a)); } in makeValueInt32() 93 inline GenericValue makeValueUint32 (const deUint32 a) { return GenericValue(&a, sizeof(a)); } in makeValueUint32() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/ |
D | ExecutionEngineBindings.cpp | 30 DEFINE_SIMPLE_CONVERSION_FUNCTIONS(GenericValue, LLVMGenericValueRef) in DEFINE_SIMPLE_CONVERSION_FUNCTIONS() argument 43 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfInt() 49 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfPointer() 55 GenericValue *GenVal = new GenericValue(); in LLVMCreateGenericValueOfFloat() 75 GenericValue *GenVal = unwrap(GenValRef); in LLVMGenericValueToInt() 244 std::vector<GenericValue> ArgVec; in LLVMRunFunction() 249 GenericValue *Result = new GenericValue(); in LLVMRunFunction()
|
D | ExecutionEngine.cpp | 359 (GenericValue*)(&Array[i*PtrSize]), SBytePtr); in reset() 365 (GenericValue*)(&Array[InputArgv.size()*PtrSize]), in reset() 429 std::vector<GenericValue> GVArgs; in runFunctionAsMain() 430 GenericValue GVArgc; in runFunctionAsMain() 594 GenericValue ExecutionEngine::getConstantValue(const Constant *C) { in getConstantValue() 597 GenericValue Result; in getConstantValue() 648 GenericValue Result = getConstantValue(Op0); in getConstantValue() 657 GenericValue GV = getConstantValue(Op0); in getConstantValue() 663 GenericValue GV = getConstantValue(Op0); in getConstantValue() 669 GenericValue GV = getConstantValue(Op0); in getConstantValue() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 507 GenericValue MCJIT::runFunction(Function *F, ArrayRef<GenericValue> ArgValues) { in runFunction() 534 GenericValue rv; in runFunction() 547 GenericValue rv; in runFunction() 556 GenericValue rv; in runFunction() 567 GenericValue rv; in runFunction()
|
D | MCJIT.h | 262 GenericValue runFunction(Function *F, 263 ArrayRef<GenericValue> ArgValues) override;
|