/external/clang/lib/CodeGen/ |
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; 423 RValue asRValue() const [all...] |
CGTemporaries.cpp | 39 RValue
|
CGExprCXX.cpp | 25 RValue CodeGenFunction::EmitCXXMemberCall(const CXXMethodDecl *MD, 40 Args.add(RValue::get(This), MD->getThisType(getContext())); 45 Args.add(RValue::get(VTT), T); 169 RValue CodeGenFunction::EmitCXXMemberCallExpr(const CXXMemberCallExpr *CE, 204 if (isa<CXXDestructorDecl>(MD)) return RValue::get(0); 207 return RValue::get(0); 214 return RValue::get(This); 222 return RValue::get(This); 282 RValue 319 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));
|
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(), 83 RValue CodeGenFunction::EmitObjCMessageExpr(const ObjCMessageExpr *E, 180 RValue result; 298 RValue RV = RValue::get(Builder.CreateBitCast(ReturnValue, VoidPtrTy)); 300 RV = RValue::get(Builder.CreateBitCast(LV.getAddress(), VoidPtrTy)); 307 Args.add(RValue::get(SizeVal), getContext().LongTy) [all...] |
CGBuiltin.cpp | 85 static RValue EmitBinaryAtomic(CodeGenFunction &CGF, 113 return RValue::get(Result); 119 static RValue EmitBinaryAtomicPost(CodeGenFunction &CGF, 149 return RValue::get(Result); 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)); 215 return RValue::get(Builder.CreateCall2(CGM.getIntrinsic(Intrinsic::vacopy) [all...] |
CGExpr.cpp | 105 /// can have any type. The result is returned as an RValue struct. 108 RValue CodeGenFunction::EmitAnyExpr(const Expr *E, AggValueSlot AggSlot, 111 return RValue::get(EmitScalarExpr(E, IgnoreResult)); 113 return RValue::getComplex(EmitComplexExpr(E, IgnoreResult, IgnoreResult)); 121 RValue CodeGenFunction::EmitAnyExprToTemp(const Expr *E) { 141 RValue RV = RValue::get(EmitScalarExpr(E, /*Ignore*/ false)); 242 RValue RV; 434 RValue 445 return RValue::get(Value) [all...] |
CodeGenFunction.h | [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 | 356 EmitStoreThroughLValue(RValue::get(AI), LV); [all...] |
CGExprAgg.cpp | 70 void EmitFinalDestCopy(const Expr *E, RValue Src, bool Ignore = false); 72 void EmitGCMove(const Expr *E, RValue Src); 179 /// RValue Result = EmitSomething(..., getReturnValueSlot()); 184 void AggExprEmitter::EmitGCMove(const Expr *E, RValue Src) { 196 void AggExprEmitter::EmitFinalDestCopy(const Expr *E, RValue Src, bool Ignore) { 201 // about the result. C says that an lvalue-to-rvalue conversion is 238 EmitFinalDestCopy(E, RValue::getAggregate(Src.getAddress(), 312 RValue RV = CGF.EmitLoadOfPropertyRefLValue(LV, getReturnValueSlot()); 328 llvm_unreachable("should not be emitting lvalue bitcast as rvalue"); 377 RValue RV = CGF.EmitCallExpr(E, getReturnValueSlot()) [all...] |
CGObjCRuntime.h | 147 virtual CodeGen::RValue 163 virtual CodeGen::RValue
|
CGCXXABI.h | 179 RValue RV, QualType ResultType);
|
CGStmt.cpp | 189 RValue CodeGenFunction::EmitCompoundStmt(const CompoundStmt &S, bool GetLast, 212 RValue RV; 214 RV = RValue::get(0); 723 void CodeGenFunction::EmitReturnOfRValue(RValue RV, QualType Ty) { 763 RValue Result = EmitReferenceBindingToExpr(RV, /*InitializedDecl=*/0); [all...] |
CGObjCGNU.cpp | 418 virtual RValue 427 virtual RValue [all...] |
CGCXXABI.cpp | 140 RValue RV, QualType ResultType) {
|
CGClass.cpp | 558 RValue RHS = RValue::get(CGF.EmitScalarExpr(MemberInit->getInit())); [all...] |
CGDecl.cpp | 410 Args.add(RValue::get(Arg), 495 EmitStoreThroughLValue(RValue::get(value), lvalue); 592 return EmitStoreThroughLValue(RValue::get(init), lvalue); 1009 RValue rvalue = EmitReferenceBindingToExpr(init, D); local [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, 1583 RValue rvalue = CGF.EmitCall(FnInfo, Fn, Return, ActualArgs); local [all...] |
CGDeclCXX.cpp | 115 RValue RV = EmitReferenceBindingToExpr(Init, &D);
|
CGExprScalar.cpp | 246 "reached property reference without lvalue-to-rvalue"); 801 // Emit subscript expressions in rvalue context's. For most cases, this just 803 // careful, because the base of a vector subscript is occasionally an rvalue, [all...] |
CGVTables.cpp | [all...] |
CGBlocks.cpp | 718 RValue CodeGenFunction::EmitBlockCallExpr(const CallExpr* E, 740 Args.add(RValue::get(BlockLiteral), getContext().VoidPtrTy); [all...] |
CGExprComplex.cpp | 85 CGF.EmitStoreThroughPropertyRefLValue(RValue::getComplex(Val), LV); 276 /// EmitLoadOfComplex - Given an RValue reference for a complex, emit code to
|