Lines Matching refs:RValue

36 static RValue AdjustObjCObjectType(CodeGenFunction &CGF,
38 RValue Result);
96 Args.add(RValue::get(BitCast.getPointer()), ArgQT); in EmitObjCBoxedExpr()
108 Args.add(RValue::get(Cast), EncodingQT); in EmitObjCBoxedExpr()
113 RValue result = Runtime.GenerateMessageSend( in EmitObjCBoxedExpr()
174 EmitStoreThroughLValue(RValue::get(value), LV, true); in EmitObjCCollectionLiteral()
184 EmitStoreThroughLValue(RValue::get(keyValue), KeyLV, /*isInit=*/true); in EmitObjCCollectionLiteral()
191 EmitStoreThroughLValue(RValue::get(valueValue), ValueLV, /*isInit=*/true); in EmitObjCCollectionLiteral()
204 Args.add(RValue::get(Objects.getPointer()), ArgQT); in EmitObjCCollectionLiteral()
208 Args.add(RValue::get(Keys.getPointer()), ArgQT); in EmitObjCCollectionLiteral()
214 Args.add(RValue::get(Count), ArgQT); in EmitObjCCollectionLiteral()
227 RValue result = Runtime.GenerateMessageSend( in EmitObjCCollectionLiteral()
269 static RValue AdjustObjCObjectType(CodeGenFunction &CGF, QualType ExpT, in AdjustObjCObjectType()
270 RValue Result) { in AdjustObjCObjectType()
280 return RValue::get(CGF.Builder.CreateBitCast(Result.getScalarVal(), in AdjustObjCObjectType()
436 CodeGen::RValue CGObjCRuntime::GeneratePossiblySpecializedMessageSend( in GeneratePossiblySpecializedMessageSend()
444 return RValue::get(SpecializedResult.getValue()); in GeneratePossiblySpecializedMessageSend()
571 RValue CodeGenFunction::EmitObjCMessageExpr(const ObjCMessageExpr *E, in EmitObjCMessageExpr()
588 return AdjustObjCObjectType(*this, E->getType(), RValue::get(result)); in EmitObjCMessageExpr()
593 return AdjustObjCObjectType(*this, E->getType(), RValue::get(*Val)); in EmitObjCMessageExpr()
681 RValue result; in EmitObjCMessageExpr()
828 args.add(RValue::get(dest.getPointer()), Context.VoidPtrTy); in emitStructGetterCall()
831 args.add(RValue::get(src.getPointer()), Context.VoidPtrTy); in emitStructGetterCall()
834 args.add(RValue::get(CGF.CGM.getSize(size)), Context.getSizeType()); in emitStructGetterCall()
835 args.add(RValue::get(CGF.Builder.getInt1(isAtomic)), Context.BoolTy); in emitStructGetterCall()
836 args.add(RValue::get(CGF.Builder.getInt1(hasStrong)), Context.BoolTy); in emitStructGetterCall()
1090 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1097 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1100 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1197 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCGetterBody()
1198 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCGetterBody()
1199 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCGetterBody()
1200 args.add(RValue::get(Builder.getInt1(strategy.isAtomic())), in generateObjCGetterBody()
1206 RValue RV = EmitCall(getTypes().arrangeBuiltinFunctionCall( in generateObjCGetterBody()
1215 RV = RValue::get(Builder.CreateBitCast( in generateObjCGetterBody()
1276 EmitReturnOfRValue(RValue::get(value), propType); in generateObjCGetterBody()
1300 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1309 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1314 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
1317 args.add(RValue::get(CGF.Builder.getTrue()), CGF.getContext().BoolTy); in emitStructSetterCall()
1321 args.add(RValue::get(CGF.Builder.getFalse()), CGF.getContext().BoolTy); in emitStructSetterCall()
1346 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1355 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1358 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1487 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCSetterBody()
1488 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCSetterBody()
1490 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1491 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1496 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1497 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1498 args.add(RValue::get(Builder.getInt1(strategy.isAtomic())), in generateObjCSetterBody()
1500 args.add(RValue::get(Builder.getInt1(strategy.isCopy())), in generateObjCSetterBody()
1682 EmitReturnOfRValue(RValue::get(SelfAsId), IdTy); in GenerateObjCCtorDtorMethod()
1772 Args.add(RValue::get(StatePtr.getPointer()), in EmitObjCForCollectionStmt()
1780 Args.add(RValue::get(ItemsPtr.getPointer()), in EmitObjCForCollectionStmt()
1786 Args.add(RValue::get(Count), getContext().getNSUIntegerType()); in EmitObjCForCollectionStmt()
1789 RValue CountRV = in EmitObjCForCollectionStmt()
1862 Args2.add(RValue::get(V), getContext().getObjCIdType()); in EmitObjCForCollectionStmt()
1929 IsKindOfClassArgs.add(RValue::get(Cls), C.getObjCClassType()); in EmitObjCForCollectionStmt()
1953 EmitStoreThroughLValue(RValue::get(CurrentItem), elementLValue); in EmitObjCForCollectionStmt()
1955 EmitStoreThroughLValue(RValue::get(CurrentItem), elementLValue, in EmitObjCForCollectionStmt()
2021 EmitStoreThroughLValue(RValue::get(null), elementLValue); in EmitObjCForCollectionStmt()
2701 RValue AllocRV = in EmitObjCMRRAutoreleasePoolPush()
2710 RValue InitRV = in EmitObjCMRRAutoreleasePoolPush()
3126 RValue::get(asImpl().getValueOfResult(result))); in visitPseudoObjectExpr()
3243 CGF.EmitStoreThroughLValue(RValue::get(asImpl().getValueOfResult(result)), in visitBinAssignUnsafeUnretained()
3831 RValue DV = EmitAnyExpr(&DstExpr); in GenerateObjCAtomicGetterCopyHelperFunction()
3861 RValue Result; in EmitBlockCopyAndAutorelease()