Lines Matching refs:RValue
39 static RValue AdjustObjCObjectType(CodeGenFunction &CGF,
41 RValue Result);
99 Args.add(RValue::get(BitCast), ArgQT); in EmitObjCBoxedExpr()
111 Args.add(RValue::get(Cast), EncodingQT); in EmitObjCBoxedExpr()
116 RValue result = Runtime.GenerateMessageSend( in EmitObjCBoxedExpr()
177 EmitStoreThroughLValue(RValue::get(value), LV, true); in EmitObjCCollectionLiteral()
187 EmitStoreThroughLValue(RValue::get(keyValue), KeyLV, /*isInit=*/true); in EmitObjCCollectionLiteral()
194 EmitStoreThroughLValue(RValue::get(valueValue), ValueLV, /*isInit=*/true); in EmitObjCCollectionLiteral()
207 Args.add(RValue::get(Objects, *this), ArgQT); in EmitObjCCollectionLiteral()
211 Args.add(RValue::get(Keys, *this), ArgQT); in EmitObjCCollectionLiteral()
217 Args.add(RValue::get(Count), ArgQT); in EmitObjCCollectionLiteral()
231 RValue result = Runtime.GenerateMessageSend( in EmitObjCCollectionLiteral()
273 static RValue AdjustObjCObjectType(CodeGenFunction &CGF, QualType ExpT, in AdjustObjCObjectType()
274 RValue Result) { in AdjustObjCObjectType()
284 return RValue::get(CGF.Builder.CreateBitCast(Result.getScalarVal(), in AdjustObjCObjectType()
438 CodeGen::RValue CGObjCRuntime::GeneratePossiblySpecializedMessageSend( in GeneratePossiblySpecializedMessageSend()
446 return RValue::get(*SpecializedResult); in GeneratePossiblySpecializedMessageSend()
573 RValue CodeGenFunction::EmitObjCMessageExpr(const ObjCMessageExpr *E, in EmitObjCMessageExpr()
590 return AdjustObjCObjectType(*this, E->getType(), RValue::get(result)); in EmitObjCMessageExpr()
595 return AdjustObjCObjectType(*this, E->getType(), RValue::get(*Val)); in EmitObjCMessageExpr()
683 RValue result; in EmitObjCMessageExpr()
831 args.add(RValue::get(dest), Context.VoidPtrTy); in emitStructGetterCall()
832 args.add(RValue::get(src), Context.VoidPtrTy); in emitStructGetterCall()
835 args.add(RValue::get(CGF.CGM.getSize(size)), Context.getSizeType()); in emitStructGetterCall()
836 args.add(RValue::get(CGF.Builder.getInt1(isAtomic)), Context.BoolTy); in emitStructGetterCall()
837 args.add(RValue::get(CGF.Builder.getInt1(hasStrong)), Context.BoolTy); in emitStructGetterCall()
1096 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1102 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1105 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1232 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCGetterBody()
1233 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCGetterBody()
1234 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCGetterBody()
1235 args.add(RValue::get(Builder.getInt1(strategy.isAtomic())), in generateObjCGetterBody()
1241 RValue RV = EmitCall(getTypes().arrangeBuiltinFunctionCall( in generateObjCGetterBody()
1250 RV = RValue::get(Builder.CreateBitCast( in generateObjCGetterBody()
1311 EmitReturnOfRValue(RValue::get(value), propType); in generateObjCGetterBody()
1335 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1343 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1348 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
1351 args.add(RValue::get(CGF.Builder.getTrue()), CGF.getContext().BoolTy); in emitStructSetterCall()
1355 args.add(RValue::get(CGF.Builder.getFalse()), CGF.getContext().BoolTy); in emitStructSetterCall()
1379 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1387 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1390 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1534 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCSetterBody()
1535 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCSetterBody()
1537 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1538 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1543 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1544 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1545 args.add(RValue::get(Builder.getInt1(strategy.isAtomic())), in generateObjCSetterBody()
1547 args.add(RValue::get(Builder.getInt1(strategy.isCopy())), in generateObjCSetterBody()
1735 EmitReturnOfRValue(RValue::get(SelfAsId), IdTy); in GenerateObjCCtorDtorMethod()
1823 Args.add(RValue::get(StatePtr, *this), getContext().getPointerType(StateTy)); in EmitObjCForCollectionStmt()
1830 Args.add(RValue::get(ItemsPtr, *this), getContext().getPointerType(ItemsTy)); in EmitObjCForCollectionStmt()
1835 Args.add(RValue::get(Count), getContext().getNSUIntegerType()); in EmitObjCForCollectionStmt()
1838 RValue CountRV = in EmitObjCForCollectionStmt()
1911 Args2.add(RValue::get(V), getContext().getObjCIdType()); in EmitObjCForCollectionStmt()
1978 IsKindOfClassArgs.add(RValue::get(Cls), C.getObjCClassType()); in EmitObjCForCollectionStmt()
2002 EmitStoreThroughLValue(RValue::get(CurrentItem), elementLValue); in EmitObjCForCollectionStmt()
2004 EmitStoreThroughLValue(RValue::get(CurrentItem), elementLValue, in EmitObjCForCollectionStmt()
2070 EmitStoreThroughLValue(RValue::get(null), elementLValue); in EmitObjCForCollectionStmt()
2725 RValue AllocRV = in EmitObjCMRRAutoreleasePoolPush()
2734 RValue InitRV = in EmitObjCMRRAutoreleasePoolPush()
3154 RValue::get(asImpl().getValueOfResult(result))); in visitPseudoObjectExpr()
3271 CGF.EmitStoreThroughLValue(RValue::get(asImpl().getValueOfResult(result)), in visitBinAssignUnsafeUnretained()
3890 RValue DV = EmitAnyExpr(&DstExpr); in GenerateObjCAtomicGetterCopyHelperFunction()
3919 RValue Result; in EmitBlockCopyAndAutorelease()