HomeSort by relevance Sort by last modified time
    Searched refs:GenericValue (Results 1 - 25 of 70) sorted by null

1 2 3

  /external/swiftshader/third_party/LLVM/include/llvm/ExecutionEngine/
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 {
36 GenericValue() : DoubleVal(0.0), IntVal(1,0) {}
37 explicit GenericValue(void *V) : PointerVal(V), IntVal(1,0) { }
40 inline GenericValue PTOGV(void *P) { return GenericValue(P); }
41 inline void* GVTOP(const GenericValue &GV) { return GV.PointerVal; }
  /external/llvm/include/llvm/ExecutionEngine/
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.
27 struct GenericValue {
41 std::vector<GenericValue> AggregateVal;
43 // to make code faster, set GenericValue to zero could be omitted, but it is
44 // potentially can cause problems, since GenericValue to store garbage
46 GenericValue() : IntVal(1,0) {UIntPairVal.first = 0; UIntPairVal.second = 0;}
47 explicit GenericValue(void *V) : PointerVal(V), IntVal(1,0) { }
50 inline GenericValue PTOGV(void *P) { return GenericValue(P);
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/
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.
24 struct GenericValue {
38 std::vector<GenericValue> AggregateVal;
40 // to make code faster, set GenericValue to zero could be omitted, but it is
41 // potentially can cause problems, since GenericValue to store garbage
43 GenericValue() : IntVal(1, 0) {
47 explicit GenericValue(void *V) : PointerVal(V), IntVal(1, 0) {}
50 inline GenericValue PTOGV(void *P) { return GenericValue(P);
    [all...]
  /external/swiftshader/third_party/LLVM/lib/ExecutionEngine/Interpreter/
Execution.cpp 40 static void SetValue(Value *V, GenericValue Val, ExecutionContext &SF) {
53 static void executeFAddInst(GenericValue &Dest, GenericValue Src1,
54 GenericValue Src2, Type *Ty) {
64 static void executeFSubInst(GenericValue &Dest, GenericValue Src1,
65 GenericValue Src2, Type *Ty) {
75 static void executeFMulInst(GenericValue &Dest, GenericValue Src1,
76 GenericValue Src2, Type *Ty)
    [all...]
Interpreter.h 19 #include "llvm/ExecutionEngine/GenericValue.h"
65 typedef std::vector<GenericValue> ValuePlaneTy;
74 std::map<Value *, GenericValue> Values; // LLVM values used in this invocation
75 std::vector<GenericValue> VarArgs; // Values passed through an ellipsis
84 GenericValue ExitValue; // The return value of the called function
115 virtual GenericValue runFunction(Function *F,
116 const std::vector<GenericValue> &ArgValues);
131 void callFunction(Function *F, const std::vector<GenericValue> &ArgVals);
181 GenericValue callExternalFunction(Function *F,
182 const std::vector<GenericValue> &ArgVals)
    [all...]
ExternalFunctions.cpp 51 typedef GenericValue (*ExFunc)(FunctionType *,
52 const std::vector<GenericValue> &);
132 static void *ffiValueFor(Type *Ty, const GenericValue &AV,
181 const std::vector<GenericValue> &ArgVals,
182 const TargetData *TD, GenericValue &Result) {
246 GenericValue Interpreter::callExternalFunction(Function *F,
247 const std::vector<GenericValue> &ArgVals) {
277 GenericValue Result;
291 return GenericValue();
299 // Visual Studio warns about returning GenericValue in extern "C" linkag
    [all...]
Interpreter.cpp 66 callFunction(AtExitHandlers.back(), std::vector<GenericValue>());
74 GenericValue
76 const std::vector<GenericValue> &ArgValues) {
86 std::vector<GenericValue> ActualArgs;
  /external/llvm/lib/ExecutionEngine/Interpreter/
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> ArgVals)
    [all...]
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_atexit(FunctionType *FT
    [all...]
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 Src2, Type *Ty)
    [all...]
Interpreter.cpp 77 GenericValue Interpreter::runFunction(Function *F,
78 ArrayRef<GenericValue> ArgValues) {
89 ArrayRef<GenericValue> ActualArgs =
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Interpreter/
Interpreter.h 18 #include "llvm/ExecutionEngine/GenericValue.h"
56 typedef std::vector<GenericValue> ValuePlaneTy;
67 std::map<Value *, GenericValue> Values; // LLVM values used in this invocation
68 std::vector<GenericValue> VarArgs; // Values passed through an ellipsis
77 GenericValue ExitValue; // The return value of the called function
108 GenericValue runFunction(Function *F,
109 ArrayRef<GenericValue> ArgValues) override;
119 void callFunction(Function *F, ArrayRef<GenericValue> ArgVals);
175 GenericValue callExternalFunction(Function *F,
176 ArrayRef<GenericValue> ArgVals)
    [all...]
ExternalFunctions.cpp 26 #include "llvm/ExecutionEngine/GenericValue.h"
63 typedef GenericValue (*ExFunc)(FunctionType *, ArrayRef<GenericValue>);
143 static void *ffiValueFor(Type *Ty, const GenericValue &AV,
191 static bool ffiInvoke(RawFunc Fn, Function *F, ArrayRef<GenericValue> ArgVals,
192 const DataLayout &TD, GenericValue &Result) {
256 GenericValue Interpreter::callExternalFunction(Function *F,
257 ArrayRef<GenericValue> ArgVals) {
287 GenericValue Result;
301 return GenericValue();
    [all...]
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 Src2, Type *Ty)
    [all...]
Interpreter.cpp 81 GenericValue Interpreter::runFunction(Function *F,
82 ArrayRef<GenericValue> ArgValues) {
93 ArrayRef<GenericValue> ActualArgs =
  /external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
executionengine.ml 42 let ptrgv = GenericValue.of_pointer tu in
43 assert (tu = GenericValue.as_pointer ptrgv);
45 let fpgv = GenericValue.of_float double_type 2. in
46 assert (2. = GenericValue.as_float double_type fpgv);
48 let intgv = GenericValue.of_int i32_type 3 in
49 assert (3 = GenericValue.as_int intgv);
51 let i32gv = GenericValue.of_int32 i32_type (Int32.of_int 4) in
52 assert ((Int32.of_int 4) = GenericValue.as_int32 i32gv);
54 let nigv = GenericValue.of_nativeint i32_type (Nativeint.of_int 5) in
55 assert ((Nativeint.of_int 5) = GenericValue.as_nativeint nigv)
    [all...]
  /external/llvm/bindings/go/llvm/
executionengine.go 28 type GenericValue struct {
56 func llvmGenericValueRefPtr(t *GenericValue) *C.LLVMGenericValueRef {
61 // llvm.GenericValue
64 func NewGenericValueFromInt(t Type, n uint64, signed bool) (g GenericValue) {
68 func NewGenericValueFromPointer(p unsafe.Pointer) (g GenericValue) {
72 func NewGenericValueFromFloat(t Type, n float64) (g GenericValue) {
76 func (g GenericValue) IntWidth() int { return int(C.LLVMGenericValueIntWidth(g.C)) }
77 func (g GenericValue) Int(signed bool) uint64 {
80 func (g GenericValue) Float(t Type) float64 {
83 func (g GenericValue) Pointer() unsafe.Pointer
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
executionengine.go 28 type GenericValue struct {
56 func llvmGenericValueRefPtr(t *GenericValue) *C.LLVMGenericValueRef {
61 // llvm.GenericValue
64 func NewGenericValueFromInt(t Type, n uint64, signed bool) (g GenericValue) {
68 func NewGenericValueFromPointer(p unsafe.Pointer) (g GenericValue) {
72 func NewGenericValueFromFloat(t Type, n float64) (g GenericValue) {
76 func (g GenericValue) IntWidth() int { return int(C.LLVMGenericValueIntWidth(g.C)) }
77 func (g GenericValue) Int(signed bool) uint64 {
80 func (g GenericValue) Float(t Type) float64 {
83 func (g GenericValue) Pointer() unsafe.Pointer
    [all...]
  /external/llvm/lib/ExecutionEngine/Orc/
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;
  /external/swiftshader/third_party/LLVM/lib/ExecutionEngine/MCJIT/
MCJIT.h 58 virtual GenericValue runFunction(Function *F,
59 const std::vector<GenericValue> &ArgValues);
  /external/swiftshader/third_party/LLVM/lib/ExecutionEngine/
ExecutionEngineBindings.cpp 16 #include "llvm/ExecutionEngine/GenericValue.h"
28 GenericValue *GenVal = new GenericValue();
34 GenericValue *GenVal = new GenericValue();
40 GenericValue *GenVal = new GenericValue();
60 GenericValue *GenVal = unwrap(GenValRef);
191 std::vector<GenericValue> ArgVec;
196 GenericValue *Result = new GenericValue()
    [all...]
  /external/swiftshader/third_party/LLVM/bindings/ocaml/executionengine/
llvm_executionengine.mli 17 module GenericValue: sig
18 (** [GenericValue.t] is a boxed union type used to portably pass arguments to
22 See the struct [llvm::GenericValue]. *)
27 [llvm::GenericValue::DoubleVal] and [llvm::GenericValue::FloatVal]. *)
31 field [llvm::GenericValue::PointerVal]. *)
35 [w]. See the field [llvm::GenericValue::IntVal]. *)
39 [w]. See the field [llvm::GenericValue::IntVal]. *)
43 bitwidth [w]. See the field [llvm::GenericValue::IntVal]. *)
48 [w]. See the field [llvm::GenericValue::IntVal]. *
    [all...]
  /external/swiftshader/third_party/LLVM/unittests/ExecutionEngine/JIT/
MultiJITTest.cpp 14 #include "llvm/ExecutionEngine/GenericValue.h"
89 std::vector<GenericValue> noargs;
90 GenericValue gv1 = EE1->runFunction(FooF1, noargs);
91 GenericValue gv2 = EE2->runFunction(FooF2, noargs);
119 std::vector<GenericValue> noargs;
120 GenericValue gv1 = EE1->runFunction(FooF1, noargs);
121 GenericValue gv2 = EE2->runFunction(FooF2, noargs);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
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;
  /external/llvm/examples/HowToUseJIT/
HowToUseJIT.cpp 39 #include "llvm/ExecutionEngine/GenericValue.h"
132 std::vector<GenericValue> noargs;
133 GenericValue gv = EE->runFunction(FooF, noargs);

Completed in 1295 milliseconds

1 2 3