Searched refs:RValue (Results 1 - 25 of 52) sorted by relevance

123

/external/swiftshader/src/Reactor/
H A Dx86.hpp24 RValue<Int> cvtss2si(RValue<Float> val);
25 RValue<Int4> cvtps2dq(RValue<Float4> val);
27 RValue<Float> rcpss(RValue<Float> val);
28 RValue<Float> sqrtss(RValue<Float> val);
29 RValue<Float> rsqrtss(RValue<Floa
[all...]
H A DReactor.hpp68 class RValue;
85 RValue<Pointer<T>> operator&();
103 RValue<T> operator=(RValue<T> rhs) const;
104 RValue<T> operator=(const Reference<T> &ref) const;
106 RValue<T> operator+=(RValue<T> rhs) const;
160 class RValue class in namespace:sw
163 explicit RValue(Value *rvalue);
165 RValue(cons
2335 RValue<T>::RValue(Value *rvalue) function in class:sw::RValue
2343 RValue<T>::RValue(const T &lvalue) function in class:sw::RValue
2349 RValue<T>::RValue(typename IntLiteral<T>::type i) function in class:sw::RValue
2355 RValue<T>::RValue(typename FloatLiteral<T>::type f) function in class:sw::RValue
2361 RValue<T>::RValue(const Reference<T> &ref) function in class:sw::RValue
[all...]
H A DLLVMReactor.cpp972 Bool::Bool(RValue<Bool> rhs)
989 RValue<Bool> Bool::operator=(RValue<Bool> rhs)
996 RValue<Bool> Bool::operator=(const Bool &rhs)
1001 return RValue<Bool>(value);
1004 RValue<Bool> Bool::operator=(const Reference<Bool> &rhs)
1009 return RValue<Bool>(value);
1012 RValue<Bool> operator!(RValue<Bool> val)
1014 return RValue<Boo
[all...]
H A DSubzeroReactor.cpp852 auto pointer = RValue<Pointer<Byte>>(ptr);
863 auto pointer = RValue<Pointer<Byte>>(ptr);
909 RValue<Int4> v(V(vector));
911 auto pointer = RValue<Pointer<Byte>>(ptr);
921 RValue<Int4> v(V(vector));
923 auto pointer = RValue<Pointer<Byte>>(ptr);
1502 Bool::Bool(RValue<Bool> rhs)
1519 RValue<Bool> Bool::operator=(RValue<Bool> rhs)
1526 RValue<Boo
[all...]
/external/clang/test/CXX/special/class.copy/
H A Dp11.0x.move.cpp135 struct RValue { struct
137 RValue(RValue&&);
139 RValue::RValue(RValue&&) = default;
H A Dp11.0x.copy.cpp124 struct RValue { struct
125 int && ri = 1; // expected-note{{copy constructor of 'RValue' is implicitly deleted because field 'ri' is of rvalue reference type 'int &&'}}
128 RValue RVa;
129 RValue RVb(RVa); // expected-error{{call to implicitly-deleted copy constructor}}
/external/clang/lib/CodeGen/
H A DCGCUDARuntime.h34 class RValue;
50 virtual RValue EmitCUDAKernelCallExpr(CodeGenFunction &CGF,
H A 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)>
[all...]
H A DCGCUDARuntime.cpp27 RValue CGCUDARuntime::EmitCUDAKernelCallExpr(CodeGenFunction &CGF,
54 return RValue::get(nullptr);
H A DCGValue.h34 /// RValue - This trivial value class is used to represent the result of an
38 class RValue { class in namespace:clang::CodeGen
80 static RValue getIgnored() {
85 static RValue get(llvm::Value *V) {
86 RValue ER;
92 static RValue getComplex(llvm::Value *V1, llvm::Value *V2) {
93 RValue ER;
100 static RValue getComplex(const std::pair<llvm::Value *, llvm::Value *> &C) {
106 static RValue getAggregate(Address addr, bool isVolatile = false) {
107 RValue E
[all...]
H A DCGCUDABuiltin.cpp69 RValue
90 return RValue::get(llvm::ConstantInt::get(IntTy, 0));
115 return RValue::get(
H A DCGExprCXX.cpp49 Args.add(RValue::get(This), MD->getThisType(CGF.getContext()));
53 Args.add(RValue::get(ImplicitParam), ImplicitParamTy);
73 RValue CodeGenFunction::EmitCXXMemberOrOperatorCall(
85 RValue CodeGenFunction::EmitCXXDestructorCall(
106 RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE,
132 RValue CodeGenFunction::EmitCXXMemberOrOperatorMemberCallExpr(
177 if (isa<CXXDestructorDecl>(MD)) return RValue::get(nullptr);
180 return RValue::get(nullptr);
190 return RValue::get(This.getPointer());
199 return RValue
[all...]
H A DCGCall.h46 RValue RV;
49 CallArg(RValue rv, QualType ty, bool needscopy)
81 void add(RValue rvalue, QualType type, bool needscopy = false) {
H A DCGObjC.cpp34 static RValue AdjustObjCObjectType(CodeGenFunction &CGF,
36 RValue Result);
89 Args.add(RValue::get(BitCast.getPointer()), ArgQT);
101 Args.add(RValue::get(Cast), EncodingQT);
106 RValue result = Runtime.GenerateMessageSend(
154 EmitStoreThroughLValue(RValue::get(value), LV, true);
165 EmitStoreThroughLValue(RValue::get(keyValue), KeyLV, /*isInit=*/true);
173 EmitStoreThroughLValue(RValue::get(valueValue), ValueLV, /*isInit=*/true);
186 Args.add(RValue::get(Objects.getPointer()), ArgQT);
190 Args.add(RValue
[all...]
H A DCodeGenFunction.h849 const RValue &rv) {
912 RValue rvalue)
1018 llvm::DenseMap<const OpaqueValueExpr *, RValue> OpaqueRValues;
1748 /// any type. The result is returned as an RValue struct. If this is an
1753 RValue EmitAnyExpr(const Expr *E,
1768 RValue EmitAnyExprToTemp(const Expr *E);
1838 const RValue &getOpaqueRValueMapping(const OpaqueValueExpr *e) {
1841 llvm::DenseMap<const OpaqueValueExpr*,RValue>::iterator
2027 RValue EmitBuiltinNewDeleteCall(const FunctionProtoType *Type,
2229 PeepholeProtection protectFromPeepholes(RValue rvalu
[all...]
H A DCGExprComplex.cpp230 RValue &Val);
316 /// EmitLoadOfLValue - Given an RValue reference for a complex, emit code to
348 return CGF.EmitAtomicStore(RValue::getComplex(Val), lvalue, isInit);
577 Args.add(RValue::get(Op.LHS.first),
579 Args.add(RValue::get(Op.LHS.second),
581 Args.add(RValue::get(Op.RHS.first),
583 Args.add(RValue::get(Op.RHS.second),
605 RValue Res = CGF.EmitCall(FuncInfo, Func, ReturnValueSlot(), Args,
826 RValue &Val) {
881 Val = RValue
[all...]
H A DCGExpr.cpp137 /// can have any type. The result is returned as an RValue struct.
140 RValue CodeGenFunction::EmitAnyExpr(const Expr *E,
145 return RValue::get(EmitScalarExpr(E, ignoreResult));
147 return RValue::getComplex(EmitComplexExpr(E, ignoreResult, ignoreResult));
159 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) {
189 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false));
484 RValue
501 return RValue::get(Value);
903 RValue CodeGenFunctio
[all...]
H A DCGCleanup.cpp27 bool DominatingValue<RValue>::saved_type::needsSaving(RValue rv) {
35 DominatingValue<RValue>::saved_type
36 DominatingValue<RValue>::saved_type::save(CodeGenFunction &CGF, RValue rv) {
82 RValue DominatingValue<RValue>::saved_type::restore(CodeGenFunction &CGF) {
89 return RValue::get(Value);
91 return RValue::get(CGF.Builder.CreateLoad(getSavingAddress(Value)));
93 return RValue
[all...]
H A DCGBuiltin.cpp136 static RValue EmitBinaryAtomic(CodeGenFunction &CGF,
139 return RValue::get(MakeBinaryAtomicValue(CGF, Kind, E));
145 static RValue EmitBinaryAtomicPost(CodeGenFunction &CGF,
177 return RValue::get(Result);
305 static RValue emitLibraryCall(CodeGenFunction &CGF, const FunctionDecl *Fn,
465 RValue CodeGenFunction::EmitBuiltinExpr(const FunctionDecl *FD,
473 return RValue::get(llvm::ConstantInt::get(getLLVMContext(),
476 return RValue::get(llvm::ConstantFP::get(getLLVMContext(),
484 return RValue::get(CGM.EmitConstantExpr(E, E->getType(), nullptr));
489 return RValue
[all...]
H A DCGExprAgg.cpp81 void EmitFinalDestCopy(QualType type, RValue src);
85 void EmitMoveFromReturnSlot(const Expr *E, RValue Src);
203 RValue Res = CGF.EmitAtomicExpr(E);
249 /// RValue Result = EmitSomething(..., getReturnValueSlot());
255 void AggExprEmitter::EmitMoveFromReturnSlot(const Expr *E, RValue src) {
269 void AggExprEmitter::EmitFinalDestCopy(QualType type, RValue src) {
351 CGF.EmitStoreThroughLValue(RValue::get(ArrayStart), Start);
368 CGF.EmitStoreThroughLValue(RValue::get(ArrayEnd), EndOrLength);
371 CGF.EmitStoreThroughLValue(RValue::get(Size), EndOrLength);
683 RValue rvalu
[all...]
H A DCGObjCRuntime.h161 virtual CodeGen::RValue
177 virtual CodeGen::RValue
/external/swiftshader/src/Shader/
H A DShaderCore.hpp56 Float4 exponential2(RValue<Float4> x, bool pp = false);
57 Float4 logarithm2(RValue<Float4> x, bool abs, bool pp = false);
58 Float4 exponential(RValue<Float4> x, bool pp = false);
59 Float4 logarithm(RValue<Float4> x, bool abs, bool pp = false);
60 Float4 power(RValue<Float4> x, RValue<Float4> y, bool pp = false);
61 Float4 reciprocal(RValue<Float4> x, bool pp = false, bool finite = false, bool exactAtPow2 = false);
62 Float4 reciprocalSquareRoot(RValue<Float4> x, bool abs, bool pp = false);
63 Float4 modulo(RValue<Float4> x, RValue<Float
[all...]
H A DPixelProgram.hpp95 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index);
96 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index, Int& offset);
H A DVertexProgram.hpp72 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index);
73 RValue<Pointer<Byte>> uniformAddress(int bufferIndex, unsigned int index, Int& offset);
/external/libcxx/test/libcxx/utilities/function.objects/func.require/
H A Dbullet_1_2_3.pass.cpp136 // RValue - The method is RValue qualified.
137 // ArgRValue - Call the method with RValue arguments.
139 bool RValue = false, bool ArgRValue = false>
163 Bool<!RValue> NotRValue;
213 typedef Caster<Q_None, RValue> SCast;
223 typedef Caster<Q_None, RValue> SCast;
233 typedef Caster<Q_None, RValue> SCast;
246 template <class Sig, int Arity, class CV, bool RValue = false>
247 struct TestCase11 : public TestCaseImp<MemFun11, Sig, Arity, CV, RValue, tru
[all...]

Completed in 1193 milliseconds

123