Lines Matching refs:RValue

34 static RValue AdjustObjCObjectType(CodeGenFunction &CGF,
36 RValue Result);
89 Args.add(RValue::get(BitCast.getPointer()), ArgQT); in EmitObjCBoxedExpr()
101 Args.add(RValue::get(Cast), EncodingQT); in EmitObjCBoxedExpr()
106 RValue result = Runtime.GenerateMessageSend( in EmitObjCBoxedExpr()
168 EmitStoreThroughLValue(RValue::get(value), LV, true); in EmitObjCCollectionLiteral()
179 EmitStoreThroughLValue(RValue::get(keyValue), KeyLV, /*isInit=*/true); in EmitObjCCollectionLiteral()
187 EmitStoreThroughLValue(RValue::get(valueValue), ValueLV, /*isInit=*/true); in EmitObjCCollectionLiteral()
200 Args.add(RValue::get(Objects.getPointer()), ArgQT); in EmitObjCCollectionLiteral()
204 Args.add(RValue::get(Keys.getPointer()), ArgQT); in EmitObjCCollectionLiteral()
210 Args.add(RValue::get(Count), ArgQT); in EmitObjCCollectionLiteral()
223 RValue result = Runtime.GenerateMessageSend( in EmitObjCCollectionLiteral()
265 static RValue AdjustObjCObjectType(CodeGenFunction &CGF, QualType ExpT, in AdjustObjCObjectType()
266 RValue Result) { in AdjustObjCObjectType()
276 return RValue::get(CGF.Builder.CreateBitCast(Result.getScalarVal(), in AdjustObjCObjectType()
430 RValue CodeGenFunction::EmitObjCMessageExpr(const ObjCMessageExpr *E, in EmitObjCMessageExpr()
447 return AdjustObjCObjectType(*this, E->getType(), RValue::get(result)); in EmitObjCMessageExpr()
538 RValue result; in EmitObjCMessageExpr()
557 result = RValue::get(SpecializedResult.getValue()); in EmitObjCMessageExpr()
678 args.add(RValue::get(dest.getPointer()), Context.VoidPtrTy); in emitStructGetterCall()
681 args.add(RValue::get(src.getPointer()), Context.VoidPtrTy); in emitStructGetterCall()
684 args.add(RValue::get(CGF.CGM.getSize(size)), Context.getSizeType()); in emitStructGetterCall()
685 args.add(RValue::get(CGF.Builder.getInt1(isAtomic)), Context.BoolTy); in emitStructGetterCall()
686 args.add(RValue::get(CGF.Builder.getInt1(hasStrong)), Context.BoolTy); in emitStructGetterCall()
940 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
947 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
950 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1047 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCGetterBody()
1048 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCGetterBody()
1049 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCGetterBody()
1050 args.add(RValue::get(Builder.getInt1(strategy.isAtomic())), in generateObjCGetterBody()
1056 RValue RV = EmitCall( in generateObjCGetterBody()
1065 RV = RValue::get(Builder.CreateBitCast( in generateObjCGetterBody()
1126 EmitReturnOfRValue(RValue::get(value), propType); in generateObjCGetterBody()
1150 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1159 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1164 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
1167 args.add(RValue::get(CGF.Builder.getTrue()), CGF.getContext().BoolTy); in emitStructSetterCall()
1171 args.add(RValue::get(CGF.Builder.getFalse()), CGF.getContext().BoolTy); in emitStructSetterCall()
1196 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1205 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1208 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1339 args.add(RValue::get(self), getContext().getObjCIdType()); in generateObjCSetterBody()
1340 args.add(RValue::get(cmd), getContext().getObjCSelType()); in generateObjCSetterBody()
1342 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1343 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1348 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType()); in generateObjCSetterBody()
1349 args.add(RValue::get(arg), getContext().getObjCIdType()); in generateObjCSetterBody()
1350 args.add(RValue::get(Builder.getInt1(strategy.isAtomic())), in generateObjCSetterBody()
1352 args.add(RValue::get(Builder.getInt1(strategy.isCopy())), in generateObjCSetterBody()
1537 EmitReturnOfRValue(RValue::get(SelfAsId), IdTy); in GenerateObjCCtorDtorMethod()
1627 Args.add(RValue::get(StatePtr.getPointer()), in EmitObjCForCollectionStmt()
1635 Args.add(RValue::get(ItemsPtr.getPointer()), in EmitObjCForCollectionStmt()
1641 Args.add(RValue::get(Count), getContext().getNSUIntegerType()); in EmitObjCForCollectionStmt()
1644 RValue CountRV = in EmitObjCForCollectionStmt()
1716 Args2.add(RValue::get(V), getContext().getObjCIdType()); in EmitObjCForCollectionStmt()
1773 EmitStoreThroughLValue(RValue::get(CurrentItem), elementLValue); in EmitObjCForCollectionStmt()
1775 EmitStoreThroughLValue(RValue::get(CurrentItem), elementLValue, in EmitObjCForCollectionStmt()
1841 EmitStoreThroughLValue(RValue::get(null), elementLValue); in EmitObjCForCollectionStmt()
2476 RValue AllocRV = in EmitObjCMRRAutoreleasePoolPush()
2485 RValue InitRV = in EmitObjCMRRAutoreleasePoolPush()
2881 RValue::get(asImpl().getValueOfResult(result))); in visitPseudoObjectExpr()
2992 CGF.EmitStoreThroughLValue(RValue::get(asImpl().getValueOfResult(result)), in visitBinAssignUnsafeUnretained()
3573 RValue DV = EmitAnyExpr(&DstExpr); in GenerateObjCAtomicGetterCopyHelperFunction()
3603 RValue Result; in EmitBlockCopyAndAutorelease()