/external/clang/lib/CodeGen/ |
CGCUDARuntime.h | 29 class RValue; 39 virtual RValue EmitCUDAKernelCallExpr(CodeGenFunction &CGF,
|
CGValue.h | 32 /// RValue - This trivial value class is used to represent the result of an 36 class RValue { 69 static RValue get(llvm::Value *V) { 70 RValue ER; 76 static RValue getComplex(llvm::Value *V1, llvm::Value *V2) { 77 RValue ER; 84 static RValue getComplex(const std::pair<llvm::Value *, llvm::Value *> &C) { 90 static RValue getAggregate(llvm::Value *V, bool Volatile = false) { 91 RValue ER; 307 RValue asAggregateRValue() const [all...] |
CGCUDARuntime.cpp | 27 RValue CGCUDARuntime::EmitCUDAKernelCallExpr(CodeGenFunction &CGF, 54 return RValue::get(0);
|
CGExprCXX.cpp | 26 RValue CodeGenFunction::EmitCXXMemberCall(const CXXMethodDecl *MD, 45 Args.add(RValue::get(This), MD->getThisType(getContext())); 50 Args.add(RValue::get(VTT), T); 166 RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE, 235 if (isa<CXXDestructorDecl>(MD)) return RValue::get(0); 238 return RValue::get(0); 245 return RValue::get(This); 254 return RValue::get(This); 319 RValue 358 Args.add(RValue::get(This), ThisType) [all...] |
CGBuiltin.cpp | 79 static RValue EmitBinaryAtomic(CodeGenFunction &CGF, 107 return RValue::get(Result); 113 static RValue EmitBinaryAtomicPost(CodeGenFunction &CGF, 143 return RValue::get(Result); 168 static RValue emitLibraryCall(CodeGenFunction &CGF, const FunctionDecl *Fn, 174 RValue CodeGenFunction::EmitBuiltinExpr(const FunctionDecl *FD, 181 return RValue::get(llvm::ConstantInt::get(getLLVMContext(), 184 return RValue::get(llvm::ConstantFP::get(getLLVMContext(), 192 return RValue::get(CGM.EmitConstantExpr(E, E->getType(), 0)); 204 return RValue::get(Builder.CreateCall(CGM.getIntrinsic(inst), ArgValue)) [all...] |
CGExpr.cpp | 109 /// can have any type. The result is returned as an RValue struct. 112 RValue CodeGenFunction::EmitAnyExpr(const Expr *E, 116 return RValue::get(EmitScalarExpr(E, ignoreResult)); 118 return RValue::getComplex(EmitComplexExpr(E, ignoreResult, ignoreResult)); 128 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) { 153 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false)); 272 RValue RV; 479 RValue 499 return RValue::get(Value) [all...] |
CodeGenFunction.h | [all...] |
CGObjC.cpp | 32 static RValue AdjustRelatedResultType(CodeGenFunction &CGF, 35 RValue Result); 77 RValue RV = EmitAnyExpr(SubExpr); 81 RValue result = Runtime.GenerateMessageSend(*this, ReturnValueSlot(), 146 Args.add(RValue::get(Objects), ArgQT); 150 Args.add(RValue::get(Keys), ArgQT); 156 Args.add(RValue::get(Count), ArgQT); 169 RValue result 204 static RValue AdjustRelatedResultType(CodeGenFunction &CGF, 207 RValue Result) [all...] |
CGCall.h | 48 RValue RV; 51 CallArg(RValue rv, QualType ty, bool needscopy) 72 void add(RValue rvalue, QualType type, bool needscopy = false) { 73 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"); 64 llvm::Value *addr = CGF.CreateTempAlloca(V->getType(), "saved-rvalue"); 72 RValue DominatingValue<RValue>::saved_type::restore(CodeGenFunction &CGF) { 75 return RValue::get(Value) [all...] |
CGCall.cpp | 564 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(RealAddr, EltTy)); 566 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(ImagAddr, EltTy)); 568 EmitStoreThroughLValue(RValue::get(AI), LV); [all...] |
CGExprAgg.cpp | 79 void EmitFinalDestCopy(QualType type, RValue src, 84 void EmitMoveFromReturnSlot(const Expr *E, RValue Src); 228 /// RValue Result = EmitSomething(..., getReturnValueSlot()); 234 void AggExprEmitter::EmitMoveFromReturnSlot(const Expr *E, RValue src) { 250 void AggExprEmitter::EmitFinalDestCopy(QualType type, RValue src, 357 CGF.EmitStoreThroughLValue(RValue::get(arrayStart), start); 368 CGF.EmitStoreThroughLValue(RValue::get(arrayEnd), endOrLength); 371 CGF.EmitStoreThroughLValue(RValue::get(Builder.getInt(size)), endOrLength); 608 llvm_unreachable("should not be emitting lvalue bitcast as rvalue"); 661 RValue RV = CGF.EmitCallExpr(E, getReturnValueSlot()) [all...] |
CGObjCRuntime.h | 153 virtual CodeGen::RValue 169 virtual CodeGen::RValue
|
CGVTables.cpp | 178 static RValue PerformReturnAdjustment(CodeGenFunction &CGF, 179 QualType ResultType, RValue RV, 217 return RValue::get(ReturnValue); 292 RValue RV = RValue::get(T->getOperand(0)); 343 CallArgs.add(RValue::get(AdjustedThisPtr), ThisType); 382 RValue RV = EmitCall(FnInfo, Callee, Slot, CallArgs, MD);
|
CGCXXABI.h | 194 RValue RV, QualType ResultType);
|
CGClass.cpp | 624 RValue RHS = RValue::get(EmitScalarExpr(Init)); [all...] |
CGObjCGNU.cpp | 436 virtual RValue 445 virtual RValue [all...] |
CGObjCMac.cpp | 1763 RValue rvalue = CGF.EmitCall(MSI.CallInfo, Fn, Return, ActualArgs); local [all...] |
CGStmt.cpp | 193 RValue CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast, 205 RValue RV; 207 RV = RValue::get(0); 728 void CodeGenFunction::EmitReturnOfRValue(RValue RV, QualType Ty) { 768 RValue Result = EmitReferenceBindingToExpr(RV, /*InitializedDecl=*/0); [all...] |
CGCXXABI.cpp | 143 RValue RV, QualType ResultType) {
|
ItaniumCXXABI.cpp | 151 void EmitReturnFromThunk(CodeGenFunction &CGF, RValue RV, QualType ResTy); 786 RValue RV, QualType ResultType) { 793 RValue Undef = RValue::get(llvm::UndefValue::get(T)); [all...] |
CGDecl.cpp | 446 Args.add(RValue::get(Arg), 539 EmitStoreThroughLValue(RValue::get(value), lvalue, true); 638 return EmitStoreThroughLValue(RValue::get(init), lvalue, true); 1110 RValue rvalue = EmitReferenceBindingToExpr(init, D); local [all...] |
CGDeclCXX.cpp | 144 RValue RV = EmitReferenceBindingToExpr(Init, &D);
|
/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 &&'}} 120 RValue RVa; 121 RValue RVb(RVa); // expected-error{{call to implicitly-deleted copy constructor}}
|