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

1 2

  /external/chromium_org/ui/gl/android/
scoped_java_surface.h 22 MOVE_ONLY_TYPE_FOR_CPP_03(ScopedJavaSurface, RValue);
36 ScopedJavaSurface(RValue rvalue);
37 ScopedJavaSurface& operator=(RValue rhs);
scoped_java_surface.cc 51 ScopedJavaSurface::ScopedJavaSurface(RValue rvalue) {
52 MoveFrom(*rvalue.object);
55 ScopedJavaSurface& ScopedJavaSurface::operator=(RValue rhs) {
  /external/clang/lib/CodeGen/
CGCUDARuntime.h 29 class RValue;
39 virtual RValue EmitCUDAKernelCallExpr(CodeGenFunction &CGF,
CGCUDARuntime.cpp 27 RValue CGCUDARuntime::EmitCUDAKernelCallExpr(CodeGenFunction &CGF,
54 return RValue::get(0);
CGValue.h 33 /// RValue - This trivial value class is used to represent the result of an
37 class RValue {
70 static RValue get(llvm::Value *V) {
71 RValue ER;
77 static RValue getComplex(llvm::Value *V1, llvm::Value *V2) {
78 RValue ER;
85 static RValue getComplex(const std::pair<llvm::Value *, llvm::Value *> &C) {
91 static RValue getAggregate(llvm::Value *V, bool Volatile = false) {
92 RValue ER;
339 RValue asAggregateRValue() const
    [all...]
CGAtomic.cpp 108 RValue convertTempToRValue(llvm::Value *addr,
112 void emitCopyIntoMemory(RValue rvalue, LValue lvalue) const;
125 llvm::Value *materializeRValue(RValue rvalue) const;
132 static RValue emitAtomicLibcall(CodeGenFunction &CGF,
329 Args.add(RValue::get(Val), ValTy);
332 Args.add(RValue::get(CGF.EmitCastToVoidPtr(Val)),
337 RValue CodeGenFunction::EmitAtomicExpr(AtomicExpr *E, llvm::Value *Dest) {
358 return RValue::get(0)
    [all...]
CGExprCXX.cpp 26 RValue CodeGenFunction::EmitCXXMemberCall(const CXXMethodDecl *MD,
48 Args.add(RValue::get(This), MD->getThisType(getContext()));
52 Args.add(RValue::get(ImplicitParam), ImplicitParamTy);
168 RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE,
227 if (isa<CXXDestructorDecl>(MD)) return RValue::get(0);
230 return RValue::get(0);
237 return RValue::get(This);
246 return RValue::get(This);
296 return RValue::get(0);
320 RValue
    [all...]
CodeGenFunction.h 712 const RValue &rv) {
775 RValue rvalue)
776 : CGF(CGF), Data(OpaqueValueMappingData::bind(CGF, opaqueValue, rvalue)) {
841 llvm::DenseMap<const OpaqueValueExpr *, RValue> OpaqueRValues;
    [all...]
CGBuiltin.cpp 79 static RValue EmitBinaryAtomic(CodeGenFunction &CGF,
106 return RValue::get(Result);
112 static RValue EmitBinaryAtomicPost(CodeGenFunction &CGF,
141 return RValue::get(Result);
166 static RValue emitLibraryCall(CodeGenFunction &CGF, const FunctionDecl *Fn,
196 RValue CodeGenFunction::EmitBuiltinExpr(const FunctionDecl *FD,
203 return RValue::get(llvm::ConstantInt::get(getLLVMContext(),
206 return RValue::get(llvm::ConstantFP::get(getLLVMContext(),
214 return RValue::get(CGM.EmitConstantExpr(E, E->getType(), 0));
226 return RValue::get(Builder.CreateCall(CGM.getIntrinsic(inst), ArgValue))
    [all...]
CGObjC.cpp 33 static RValue AdjustRelatedResultType(CodeGenFunction &CGF,
36 RValue Result);
78 RValue RV = EmitAnyExpr(SubExpr);
82 RValue result = Runtime.GenerateMessageSend(*this, ReturnValueSlot(),
131 EmitStoreThroughLValue(RValue::get(value), LV, true);
143 EmitStoreThroughLValue(RValue::get(keyValue), KeyLV, /*isInit=*/true);
152 EmitStoreThroughLValue(RValue::get(valueValue), ValueLV, /*isInit=*/true);
165 Args.add(RValue::get(Objects), ArgQT);
169 Args.add(RValue::get(Keys), ArgQT);
175 Args.add(RValue::get(Count), ArgQT)
    [all...]
CGCall.h 46 RValue RV;
49 CallArg(RValue rv, QualType ty, bool needscopy)
79 void add(RValue rvalue, QualType type, bool needscopy = false) {
80 push_back(CallArg(rvalue, type, needscopy));
CGCleanup.cpp 26 bool DominatingValue<RValue>::saved_type::needsSaving(RValue rv) {
34 DominatingValue<RValue>::saved_type
35 DominatingValue<RValue>::saved_type::save(CodeGenFunction &CGF, RValue rv) {
44 llvm::Value *addr = CGF.CreateTempAlloca(V->getType(), "saved-rvalue");
65 llvm::Value *addr = CGF.CreateTempAlloca(V->getType(), "saved-rvalue");
73 RValue DominatingValue<RValue>::saved_type::restore(CodeGenFunction &CGF) {
76 return RValue::get(Value)
    [all...]
CGExpr.cpp 111 /// can have any type. The result is returned as an RValue struct.
114 RValue CodeGenFunction::EmitAnyExpr(const Expr *E,
119 return RValue::get(EmitScalarExpr(E, ignoreResult));
121 return RValue::getComplex(EmitComplexExpr(E, ignoreResult, ignoreResult));
133 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) {
165 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false));
400 RValue
417 return RValue::get(Value);
701 RValue CodeGenFunction::GetUndefRValue(QualType Ty)
    [all...]
CGExprAgg.cpp 79 void EmitFinalDestCopy(QualType type, RValue src,
84 void EmitMoveFromReturnSlot(const Expr *E, RValue Src);
239 /// RValue Result = EmitSomething(..., getReturnValueSlot());
245 void AggExprEmitter::EmitMoveFromReturnSlot(const Expr *E, RValue src) {
261 void AggExprEmitter::EmitFinalDestCopy(QualType type, RValue src,
346 CGF.EmitStoreThroughLValue(RValue::get(ArrayStart), Start);
363 CGF.EmitStoreThroughLValue(RValue::get(ArrayEnd), EndOrLength);
366 CGF.EmitStoreThroughLValue(RValue::get(Size), EndOrLength);
648 RValue rvalue = RValue::getAggregate(valueAddr, atomicSlot.isVolatile()) local
    [all...]
CGObjCRuntime.h 152 virtual CodeGen::RValue
168 virtual CodeGen::RValue
CGVTables.cpp 163 static RValue PerformReturnAdjustment(CodeGenFunction &CGF,
164 QualType ResultType, RValue RV,
203 return RValue::get(ReturnValue);
281 RValue RV = RValue::get(T->getOperand(0));
337 CallArgs.add(RValue::get(AdjustedThisPtr), ThisType);
376 RValue RV = EmitCall(FnInfo, Callee, Slot, CallArgs, MD);
    [all...]
CGExprComplex.cpp 222 RValue &Val);
292 /// EmitLoadOfLValue - Given an RValue reference for a complex, emit code to
331 return CGF.EmitAtomicStore(RValue::getComplex(Val), lvalue, isInit);
634 RValue &Val) {
670 Val = RValue::getComplex(ResVal);
675 Val = RValue::get(ResVal);
685 RValue Val;
882 RValue Val
    [all...]
  /external/chromium_org/webkit/common/blob/
scoped_file.h 33 MOVE_ONLY_TYPE_FOR_CPP_03(ScopedFile, RValue)
56 ScopedFile(RValue other);
57 ScopedFile& operator=(RValue rhs) {
scoped_file.cc 32 ScopedFile::ScopedFile(RValue other) {
  /external/clang/test/CXX/special/class.copy/
p11.0x.move.cpp 108 // The restriction on rvalue reference members applies to only the copy
110 struct RValue {
112 RValue(RValue&&);
114 RValue::RValue(RValue&&) = default;
p11.0x.copy.cpp 116 // -- a non-static data member of rvalue reference type
117 struct RValue {
118 int && ri = 1; // expected-note{{copy constructor of 'RValue' is implicitly deleted because field 'ri' is of rvalue reference type 'int &&'}}
121 RValue RVa;
122 RValue RVb(RVa); // expected-error{{call to implicitly-deleted copy constructor}}
  /external/chromium_org/remoting/base/
typed_buffer.h 23 MOVE_ONLY_TYPE_FOR_CPP_03(TypedBuffer, RValue)
36 TypedBuffer(RValue rvalue) : buffer_(NULL), length_(0) {
38 temp.Swap(*rvalue.object);
50 TypedBuffer& operator=(RValue rvalue) {
52 temp.Swap(*rvalue.object);
  /external/chromium_org/base/win/
scoped_handle.h 40 MOVE_ONLY_TYPE_FOR_CPP_03(GenericScopedHandle, RValue)
68 GenericScopedHandle(RValue other) : handle_(Traits::NullHandle()) {
81 GenericScopedHandle& operator=(RValue other) {
  /external/chromium_org/base/memory/
scoped_vector.h 18 MOVE_ONLY_TYPE_FOR_CPP_03(ScopedVector, RValue)
37 ScopedVector(RValue other) { swap(*other.object); }
39 ScopedVector& operator=(RValue rhs) {
scoped_ptr.h 311 MOVE_ONLY_TYPE_FOR_CPP_03(scoped_ptr, RValue)
330 // Constructor. Allows construction from a scoped_ptr rvalue for a
346 scoped_ptr(RValue rvalue) : impl_(&rvalue.object->impl_) { }
348 // operator=. Allows assignment from a scoped_ptr rvalue for a convertible
448 MOVE_ONLY_TYPE_FOR_CPP_03(scoped_ptr, RValue)
477 scoped_ptr(RValue rvalue) : impl_(&rvalue.object->impl_) {
    [all...]

Completed in 472 milliseconds

1 2