Home
last modified time | relevance | path

Searched refs:RValue (Results 1 – 25 of 72) sorted by relevance

123

/external/swiftshader/src/Reactor/
Dx86.hpp23 RValue<Int> cvtss2si(RValue<Float> val);
24 RValue<Int4> cvtps2dq(RValue<Float4> val);
26 RValue<Float> rcpss(RValue<Float> val);
27 RValue<Float> sqrtss(RValue<Float> val);
28 RValue<Float> rsqrtss(RValue<Float> val);
30 RValue<Float4> rcpps(RValue<Float4> val);
31 RValue<Float4> sqrtps(RValue<Float4> val);
32 RValue<Float4> rsqrtps(RValue<Float4> val);
33 RValue<Float4> maxps(RValue<Float4> x, RValue<Float4> y);
34 RValue<Float4> minps(RValue<Float4> x, RValue<Float4> y);
[all …]
DReactor.hpp102 class RValue;
149 RValue<Pointer<T>> operator&();
169 RValue<T> operator=(RValue<T> rhs) const;
170 RValue<T> operator=(const Reference<T> &ref) const;
172 RValue<T> operator+=(RValue<T> rhs) const;
174 RValue<Pointer<T>> operator&() const { return RValue<Pointer<T>>(address); } in operator &()
234 class RValue class
239 explicit RValue(Value *rvalue);
242 RValue(const RValue<T> &rvalue);
245 RValue(const T &lvalue);
[all …]
DReactor.cpp199 Bool::Bool(RValue<Bool> rhs) in Bool()
216 RValue<Bool> Bool::operator=(RValue<Bool> rhs) in operator =()
223 RValue<Bool> Bool::operator=(const Bool &rhs) in operator =()
228 return RValue<Bool>(value); in operator =()
231 RValue<Bool> Bool::operator=(const Reference<Bool> &rhs) in operator =()
236 return RValue<Bool>(value); in operator =()
239 RValue<Bool> operator!(RValue<Bool> val) in operator !()
241 return RValue<Bool>(Nucleus::createNot(val.value)); in operator !()
244 RValue<Bool> operator&&(RValue<Bool> lhs, RValue<Bool> rhs) in operator &&()
246 return RValue<Bool>(Nucleus::createAnd(lhs.value, rhs.value)); in operator &&()
[all …]
DEmulatedReactor.hpp27 RValue<Float4> Gather(RValue<Pointer<Float>> base, RValue<Int4> offsets, RValue<Int4> mask, unsigne…
28 RValue<Int4> Gather(RValue<Pointer<Int>> base, RValue<Int4> offsets, RValue<Int4> mask, unsigned in…
29 void Scatter(RValue<Pointer<Float>> base, RValue<Float4> val, RValue<Int4> offsets, RValue<Int4> ma…
30 void Scatter(RValue<Pointer<Int>> base, RValue<Int4> val, RValue<Int4> offsets, RValue<Int4> mask, …
31 RValue<Float> Exp2(RValue<Float> x);
32 RValue<Float> Log2(RValue<Float> x);
33 RValue<Float4> Sin(RValue<Float4> x);
34 RValue<Float4> Cos(RValue<Float4> x);
35 RValue<Float4> Tan(RValue<Float4> x);
36 RValue<Float4> Asin(RValue<Float4> x);
[all …]
DEmulatedReactor.cpp29 using Type = typename decltype(rr::Extract(std::declval<RValue<T>>(), 0))::rvalue_underlying_type;
37 RValue<T> call4(Func func, const RValue<T> &x) in call4()
49 RValue<T> call4(Func func, const RValue<T> &x, const RValue<T> &y) in call4()
60 void gather(T &out, RValue<Pointer<EL>> base, RValue<Int4> offsets, RValue<Int4> mask, unsigned int… in gather()
84 void scatter(RValue<Pointer<EL>> base, RValue<T> val, RValue<Int4> offsets, RValue<Int4> mask, unsi… in scatter()
130 RValue<Float4> Gather(RValue<Pointer<Float>> base, RValue<Int4> offsets, RValue<Int4> mask, unsigne… in Gather()
137 RValue<Int4> Gather(RValue<Pointer<Int>> base, RValue<Int4> offsets, RValue<Int4> mask, unsigned in… in Gather()
144 void Scatter(RValue<Pointer<Float>> base, RValue<Float4> val, RValue<Int4> offsets, RValue<Int4> ma… in Scatter()
149 void Scatter(RValue<Pointer<Int>> base, RValue<Int4> val, RValue<Int4> offsets, RValue<Int4> mask, … in Scatter()
154 RValue<Float> Exp2(RValue<Float> x) in Exp2()
[all …]
DLLVMReactor.cpp882 RValue<Float4> operator%(RValue<Float4> lhs, RValue<Float4> rhs) in operator %()
884 return RValue<Float4>(Nucleus::createFRem(lhs.value, rhs.value)); in operator %()
1163 RValue<Float4> Gather(RValue<Pointer<Float>> base, RValue<Int4> offsets, RValue<Int4> mask, unsigne… in Gather()
1168 RValue<Int4> Gather(RValue<Pointer<Int>> base, RValue<Int4> offsets, RValue<Int4> mask, unsigned in… in Gather()
1173 void Scatter(RValue<Pointer<Float>> base, RValue<Float4> val, RValue<Int4> offsets, RValue<Int4> ma… in Scatter()
1178 void Scatter(RValue<Pointer<Int>> base, RValue<Int4> val, RValue<Int4> offsets, RValue<Int4> mask, … in Scatter()
1760 RValue<Byte8> AddSat(RValue<Byte8> x, RValue<Byte8> y) in AddSat()
1770 RValue<Byte8> SubSat(RValue<Byte8> x, RValue<Byte8> y) in SubSat()
1780 RValue<Int> SignMask(RValue<Byte8> x) in SignMask()
1799 RValue<Byte8> CmpEQ(RValue<Byte8> x, RValue<Byte8> y) in CmpEQ()
[all …]
DSubzeroReactor.cpp1219 RValue<Float4> operator%(RValue<Float4> lhs, RValue<Float4> rhs) in operator %()
1305 auto pointer = RValue<Pointer<Byte>>(ptr); in createLoad()
1317 auto pointer = RValue<Pointer<Byte>>(ptr); in createLoad()
1382 RValue<Int4> v(V(vector)); in createStore()
1384 auto pointer = RValue<Pointer<Byte>>(ptr); in createStore()
1394 RValue<Int4> v(V(vector)); in createStore()
1396 auto pointer = RValue<Pointer<Byte>>(ptr); in createStore()
2146 RValue<Byte> SaturateUnsigned(RValue<Short> x) in SaturateUnsigned()
2151 RValue<Byte> Extract(RValue<Byte8> val, int i) in Extract()
2153 return RValue<Byte>(Nucleus::createExtractElement(val.value, Byte::getType(), i)); in Extract()
[all …]
DPrint.hpp228 static std::string fmt(const RValue<Bool> &v) { return "%s"; } in fmt()
229 static std::vector<Value *> val(const RValue<Bool> &v);
234 static std::string fmt(const RValue<Byte> &v) { return "%d"; } in fmt()
235 static std::vector<Value *> val(const RValue<Byte> &v);
240 static std::string fmt(const RValue<Byte4> &v) { return "[%d, %d, %d, %d]"; } in fmt()
241 static std::vector<Value *> val(const RValue<Byte4> &v);
246 static std::string fmt(const RValue<Int> &v) { return "%d"; } in fmt()
247 static std::vector<Value *> val(const RValue<Int> &v);
252 static std::string fmt(const RValue<Int2> &v) { return "[%d, %d]"; } in fmt()
253 static std::vector<Value *> val(const RValue<Int2> &v);
[all …]
DReactorUnitTests.cpp249 RValue<Int> rvi = i; in TEST()
1947 RValue<ReactorType> c = RValue<ReactorType>(CType{}); in TYPED_TEST()
2301 using IntrinsicTestParams_Float = IntrinsicTestParams<RValue<Float>(RValue<Float>), float(float), f…
2302 using IntrinsicTestParams_Float4 = IntrinsicTestParams<RValue<Float4>(RValue<Float4>), float(float)…
2303 using IntrinsicTestParams_Float4_Float4 = IntrinsicTestParams<RValue<Float4>(RValue<Float4>, RValue
2397 …IntrinsicTestParams_Float4{ [](RValue<Float4> v) { return rr::Sin(v); }, sinf, {0.f, 1.f, PI, … in __anon7a72f3990f02()
2398 …IntrinsicTestParams_Float4{ [](RValue<Float4> v) { return rr::Cos(v); }, cosf, {0.f, 1.f, PI, … in __anon7a72f3991002()
2399 …IntrinsicTestParams_Float4{ [](RValue<Float4> v) { return rr::Tan(v); }, tanf, {0.f, 1.f, PI, … in __anon7a72f3991302()
2400 …IntrinsicTestParams_Float4{ [](RValue<Float4> v) { return rr::Asin(v); }, asinf, {0.f, 1.f, -1.f… in __anon7a72f3991402()
2401 …IntrinsicTestParams_Float4{ [](RValue<Float4> v) { return rr::Acos(v); }, acosf, {0.f, 1.f, -1.f… in __anon7a72f3991702()
[all …]
/external/swiftshader/src/Pipeline/
DShaderCore.hpp132 …inline void Store(RValue<T> val, OutOfBoundsBehavior robustness, Int mask, bool atomic = false, st…
170 Float4 exponential2(RValue<Float4> x, bool pp = false);
171 Float4 logarithm2(RValue<Float4> x, bool pp = false);
172 Float4 exponential(RValue<Float4> x, bool pp = false);
173 Float4 logarithm(RValue<Float4> x, bool pp = false);
174 Float4 power(RValue<Float4> x, RValue<Float4> y, bool pp = false);
175 Float4 reciprocal(RValue<Float4> x, bool pp = false, bool finite = false, bool exactAtPow2 = false);
176 Float4 reciprocalSquareRoot(RValue<Float4> x, bool abs, bool pp = false);
177 Float4 modulo(RValue<Float4> x, RValue<Float4> y);
178 Float4 sine_pi(RValue<Float4> x, bool pp = false); // limited to [-pi, pi] range
[all …]
DShaderCore.cpp110 Float4 exponential2(RValue<Float4> x, bool pp) in exponential2()
138 Float4 logarithm2(RValue<Float4> x, bool pp) in logarithm2()
163 Float4 exponential(RValue<Float4> x, bool pp) in exponential()
169 Float4 logarithm(RValue<Float4> x, bool pp) in logarithm()
175 Float4 power(RValue<Float4> x, RValue<Float4> y, bool pp) in power()
182 Float4 reciprocal(RValue<Float4> x, bool pp, bool finite, bool exactAtPow2) in reciprocal()
200 Float4 reciprocalSquareRoot(RValue<Float4> x, bool absolute, bool pp) in reciprocalSquareRoot()
230 Float4 modulo(RValue<Float4> x, RValue<Float4> y) in modulo()
235 Float4 sine_pi(RValue<Float4> x, bool pp) in sine_pi()
254 Float4 cosine_pi(RValue<Float4> x, bool pp) in cosine_pi()
[all …]
DSpirvShader.hpp84 void move(uint32_t i, RValue<SIMD::Float> &&scalar) { emplace(i, scalar.value); } in move()
85 void move(uint32_t i, RValue<SIMD::Int> &&scalar) { emplace(i, scalar.value); } in move()
86 void move(uint32_t i, RValue<SIMD::UInt> &&scalar) { emplace(i, scalar.value); } in move()
88 void move(uint32_t i, const RValue<SIMD::Float> &scalar) { emplace(i, scalar.value); } in move()
89 void move(uint32_t i, const RValue<SIMD::Int> &scalar) { emplace(i, scalar.value); } in move()
90 void move(uint32_t i, const RValue<SIMD::UInt> &scalar) { emplace(i, scalar.value); } in move()
93 RValue<SIMD::Float> Float(uint32_t i) const in Float()
100 RValue<SIMD::Int> Int(uint32_t i) const in Int()
107 RValue<SIMD::UInt> UInt(uint32_t i) const in UInt()
737 …void emit(SpirvRoutine *routine, RValue<SIMD::Int> const &activeLaneMask, RValue<SIMD::Int> const …
[all …]
/external/clang/lib/CodeGen/
DCGAtomic.cpp186 RValue convertAtomicTempToRValue(Address addr, AggValueSlot resultSlot,
190 llvm::Value *convertRValueToInt(RValue RVal) const;
192 RValue ConvertIntToValueOrAtomic(llvm::Value *IntVal,
197 void emitCopyIntoMemory(RValue rvalue) const;
212 RValue EmitAtomicLoad(AggValueSlot ResultSlot, SourceLocation Loc,
224 std::pair<RValue, llvm::Value *>
225 EmitAtomicCompareExchange(RValue Expected, RValue Desired,
236 const llvm::function_ref<RValue(RValue)> &UpdateOp,
240 void EmitAtomicUpdate(llvm::AtomicOrdering AO, RValue UpdateRVal,
244 Address materializeRValue(RValue rvalue) const;
[all …]
DCGValue.h38 class RValue {
80 static RValue getIgnored() { in getIgnored()
85 static RValue get(llvm::Value *V) { in get()
86 RValue ER; in get()
92 static RValue getComplex(llvm::Value *V1, llvm::Value *V2) { in getComplex()
93 RValue ER; in getComplex()
100 static RValue getComplex(const std::pair<llvm::Value *, llvm::Value *> &C) { in getComplex()
106 static RValue getAggregate(Address addr, bool isVolatile = false) {
107 RValue ER;
435 RValue asAggregateRValue() const { in asAggregateRValue()
[all …]
DCGExprCXX.cpp49 Args.add(RValue::get(This), MD->getThisType(CGF.getContext())); in commonEmitCXXMemberOrOperatorCall()
53 Args.add(RValue::get(ImplicitParam), ImplicitParamTy); in commonEmitCXXMemberOrOperatorCall()
73 RValue CodeGenFunction::EmitCXXMemberOrOperatorCall( in EmitCXXMemberOrOperatorCall()
85 RValue CodeGenFunction::EmitCXXDestructorCall( in EmitCXXDestructorCall()
106 RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE, in EmitCXXMemberCallExpr()
132 RValue CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr( in EmitCXXMemberOrOperatorMemberCallExpr()
177 if (isa<CXXDestructorDecl>(MD)) return RValue::get(nullptr); in EmitCXXMemberOrOperatorMemberCallExpr()
180 return RValue::get(nullptr); in EmitCXXMemberOrOperatorMemberCallExpr()
190 return RValue::get(This.getPointer()); in EmitCXXMemberOrOperatorMemberCallExpr()
199 return RValue::get(This.getPointer()); in EmitCXXMemberOrOperatorMemberCallExpr()
[all …]
DCodeGenFunction.h849 const RValue &rv) { in bind()
912 RValue rvalue) in OpaqueValueMapping()
1018 llvm::DenseMap<const OpaqueValueExpr *, RValue> OpaqueRValues;
1753 RValue EmitAnyExpr(const Expr *E,
1768 RValue EmitAnyExprToTemp(const Expr *E);
1838 const RValue &getOpaqueRValueMapping(const OpaqueValueExpr *e) { in getOpaqueRValueMapping()
1841 llvm::DenseMap<const OpaqueValueExpr*,RValue>::iterator in getOpaqueRValueMapping()
2027 RValue EmitBuiltinNewDeleteCall(const FunctionProtoType *Type,
2229 PeepholeProtection protectFromPeepholes(RValue rvalue);
2345 void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy,
[all …]
DCGObjC.cpp34 static RValue AdjustObjCObjectType(CodeGenFunction &CGF,
36 RValue Result);
89 Args.add(RValue::get(BitCast.getPointer()), ArgQT); in EmitObjCBoxedExpr()
101 Args.add(RValue::get(Cast), EncodingQT); in EmitObjCBoxedExpr()
106 RValue result = Runtime.GenerateMessageSend( in EmitObjCBoxedExpr()
154 EmitStoreThroughLValue(RValue::get(value), LV, true); in EmitObjCCollectionLiteral()
165 EmitStoreThroughLValue(RValue::get(keyValue), KeyLV, /*isInit=*/true); in EmitObjCCollectionLiteral()
173 EmitStoreThroughLValue(RValue::get(valueValue), ValueLV, /*isInit=*/true); in EmitObjCCollectionLiteral()
186 Args.add(RValue::get(Objects.getPointer()), ArgQT); in EmitObjCCollectionLiteral()
190 Args.add(RValue::get(Keys.getPointer()), ArgQT); in EmitObjCCollectionLiteral()
[all …]
DCGCUDABuiltin.cpp69 RValue
90 return RValue::get(llvm::ConstantInt::get(IntTy, 0)); in EmitCUDADevicePrintfCallExpr()
115 return RValue::get( in EmitCUDADevicePrintfCallExpr()
DCGBuiltin.cpp136 static RValue EmitBinaryAtomic(CodeGenFunction &CGF, in EmitBinaryAtomic()
139 return RValue::get(MakeBinaryAtomicValue(CGF, Kind, E)); in EmitBinaryAtomic()
145 static RValue EmitBinaryAtomicPost(CodeGenFunction &CGF, in EmitBinaryAtomicPost()
177 return RValue::get(Result); in EmitBinaryAtomicPost()
305 static RValue emitLibraryCall(CodeGenFunction &CGF, const FunctionDecl *Fn, in emitLibraryCall()
465 RValue CodeGenFunction::EmitBuiltinExpr(const FunctionDecl *FD, in EmitBuiltinExpr()
473 return RValue::get(llvm::ConstantInt::get(getLLVMContext(), in EmitBuiltinExpr()
476 return RValue::get(llvm::ConstantFP::get(getLLVMContext(), in EmitBuiltinExpr()
484 return RValue::get(CGM.EmitConstantExpr(E, E->getType(), nullptr)); in EmitBuiltinExpr()
489 return RValue::get( in EmitBuiltinExpr()
[all …]
DCGCUDARuntime.h34 class RValue; variable
50 virtual RValue EmitCUDAKernelCallExpr(CodeGenFunction &CGF,
DCGCall.h46 RValue RV;
49 CallArg(RValue rv, QualType ty, bool needscopy) in CallArg()
81 void add(RValue rvalue, QualType type, bool needscopy = false) {
/external/swiftshader/src/Shader/
DShaderCore.hpp59 Float4 exponential2(RValue<Float4> x, bool pp = false);
60 Float4 logarithm2(RValue<Float4> x, bool abs, bool pp = false);
61 Float4 exponential(RValue<Float4> x, bool pp = false);
62 Float4 logarithm(RValue<Float4> x, bool abs, bool pp = false);
63 Float4 power(RValue<Float4> x, RValue<Float4> y, bool pp = false);
64 …Float4 reciprocal(RValue<Float4> x, bool pp = false, bool finite = false, bool exactAtPow2 = false…
65 Float4 reciprocalSquareRoot(RValue<Float4> x, bool abs, bool pp = false);
66 Float4 modulo(RValue<Float4> x, RValue<Float4> y);
67 Float4 sine_pi(RValue<Float4> x, bool pp = false); // limited to [-pi, pi] range
68 Float4 cosine_pi(RValue<Float4> x, bool pp = false); // limited to [-pi, pi] range
[all …]
/external/clang/test/CXX/special/class.copy/
Dp11.0x.move.cpp135 struct RValue { struct
137 RValue(RValue&&);
139 RValue::RValue(RValue&&) = default;
Dp11.0x.copy.cpp124 struct RValue { struct
128 RValue RVa;
129 RValue RVb(RVa); // expected-error{{call to implicitly-deleted copy constructor}}
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/operators/
Drx-reduce.hpp545 class RValue = rxu::value_type_t<Reduce>,
546 class Result = observable<RValue, Reduce>>
570 class RValue = rxu::value_type_t<Reduce>,
571 class Result = observable<RValue, Reduce>>
595 class RValue = rxu::value_type_t<Reduce>,
596 class Result = observable<RValue, Reduce>>
620 class RValue = rxu::value_type_t<Reduce>,
621 class Result = observable<RValue, Reduce>>
645 class RValue = rxu::value_type_t<Reduce>,
646 class Result = observable<RValue, Reduce>>
[all …]

123