/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 | 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; 452 RValue asRValue() const [all...] |
CGTemporaries.cpp | 39 RValue
|
CGExprCXX.cpp | 26 RValue CodeGenFunction::EmitCXXMemberCall(const CXXMethodDecl *MD, 41 Args.add(RValue::get(This), MD->getThisType(getContext())); 46 Args.add(RValue::get(VTT), T); 170 RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE, 205 if (isa<CXXDestructorDecl>(MD)) return RValue::get(0); 208 return RValue::get(0); 215 return RValue::get(This); 224 return RValue::get(This); 284 RValue 321 Args.add(RValue::get(This), ThisType) [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));
|
CGBuiltin.cpp | 80 static RValue EmitBinaryAtomic(CodeGenFunction &CGF, 108 return RValue::get(Result); 114 static RValue EmitBinaryAtomicPost(CodeGenFunction &CGF, 144 return RValue::get(Result); 169 static RValue emitLibraryCall(CodeGenFunction &CGF, const FunctionDecl *Fn, 175 RValue CodeGenFunction::EmitBuiltinExpr(const FunctionDecl *FD, 182 return RValue::get(llvm::ConstantInt::get(getLLVMContext(), 185 return RValue::get(llvm::ConstantFP::get(getLLVMContext(), 193 return RValue::get(CGM.EmitConstantExpr(E, E->getType(), 0)); 205 return RValue::get(Builder.CreateCall(CGM.getIntrinsic(inst), ArgValue)) [all...] |
CGObjC.cpp | 66 static RValue AdjustRelatedResultType(CodeGenFunction &CGF, 69 RValue Result) { 78 // We have applied a related result type. Cast the rvalue appropriately. 79 return RValue::get(CGF.Builder.CreateBitCast(Result.getScalarVal(), 130 RValue CodeGenFunction::EmitObjCMessageExpr(const ObjCMessageExpr *E, 230 RValue result; 361 args.add(RValue::get(dest), Context.VoidPtrTy); 364 args.add(RValue::get(src), Context.VoidPtrTy); 367 args.add(RValue::get(CGF.CGM.getSize(size)), Context.getSizeType()); 368 args.add(RValue::get(CGF.Builder.getInt1(isAtomic)), Context.BoolTy) [all...] |
CodeGenFunction.h | [all...] |
CGExpr.cpp | 106 /// can have any type. The result is returned as an RValue struct. 109 RValue CodeGenFunction::EmitAnyExpr(const Expr *E, AggValueSlot AggSlot, 112 return RValue::get(EmitScalarExpr(E, IgnoreResult)); 114 return RValue::getComplex(EmitComplexExpr(E, IgnoreResult, IgnoreResult)); 122 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) { 145 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false)); 246 RValue RV; 442 RValue 453 return RValue::get(Value) [all...] |
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 | 368 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(RealAddr, EltTy)); 370 EmitStoreThroughLValue(RValue::get(AI++), MakeAddrLValue(ImagAddr, EltTy)); 372 EmitStoreThroughLValue(RValue::get(AI), LV); [all...] |
CGExprAgg.cpp | 77 void EmitFinalDestCopy(const Expr *E, RValue Src, bool Ignore = false); 79 void EmitMoveFromReturnSlot(const Expr *E, RValue Src); 196 /// RValue Result = EmitSomething(..., getReturnValueSlot()); 202 void AggExprEmitter::EmitMoveFromReturnSlot(const Expr *E, RValue Src) { 216 void AggExprEmitter::EmitFinalDestCopy(const Expr *E, RValue Src, bool Ignore) { 221 // about the result. C says that an lvalue-to-rvalue conversion is 258 EmitFinalDestCopy(E, RValue::getAggregate(Src.getAddress(), 331 RValue RV = CGF.EmitLoadOfPropertyRefLValue(LV, getReturnValueSlot()); 347 llvm_unreachable("should not be emitting lvalue bitcast as rvalue"); 398 RValue RV = CGF.EmitCallExpr(E, getReturnValueSlot()) [all...] |
CGObjCRuntime.h | 147 virtual CodeGen::RValue 163 virtual CodeGen::RValue
|
CGVTables.cpp | 180 static RValue PerformReturnAdjustment(CodeGenFunction &CGF, 181 QualType ResultType, RValue RV, 219 return RValue::get(ReturnValue); 294 RValue RV = RValue::get(T->getOperand(0)); 344 CallArgs.add(RValue::get(AdjustedThisPtr), ThisType); 382 RValue RV = EmitCall(FnInfo, Callee, Slot, CallArgs, MD);
|
CGCXXABI.h | 179 RValue RV, QualType ResultType);
|
CGObjCGNU.cpp | 437 virtual RValue 446 virtual RValue [all...] |
CGCXXABI.cpp | 140 RValue RV, QualType ResultType) {
|
CGClass.cpp | 566 RValue RHS = RValue::get(CGF.EmitScalarExpr(MemberInit->getInit())); [all...] |
CGStmt.cpp | 188 RValue CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast, 207 RValue RV; 209 RV = RValue::get(0); 727 void CodeGenFunction::EmitReturnOfRValue(RValue RV, QualType Ty) { 767 RValue Result = EmitReferenceBindingToExpr(RV, /*InitializedDecl=*/0); [all...] |
ItaniumCXXABI.cpp | 147 void EmitReturnFromThunk(CodeGenFunction &CGF, RValue RV, QualType ResTy); 782 RValue RV, QualType ResultType) { 789 RValue Undef = RValue::get(llvm::UndefValue::get(T)); [all...] |
CGObjCMac.cpp | 826 CodeGen::RValue EmitMessageSend(CodeGen::CodeGenFunction &CGF, 1582 RValue rvalue = CGF.EmitCall(FnInfo, Fn, Return, ActualArgs); local [all...] |
CGDecl.cpp | 408 Args.add(RValue::get(Arg), 493 EmitStoreThroughLValue(RValue::get(value), lvalue); 590 return EmitStoreThroughLValue(RValue::get(init), lvalue); 1035 RValue rvalue = EmitReferenceBindingToExpr(init, D); local [all...] |
/external/clang/test/CXX/special/class.copy/ |
p11.0x.move.cpp | 60 struct RValue { 62 RValue(RValue&&); 64 RValue::RValue(RValue&&) = default;
|
p11.0x.copy.cpp | 86 struct RValue { // expected-note{{here}} 89 RValue RVa; 90 RValue RVb(RVa); // expected-error{{call to deleted constructor}}
|