Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:RValue

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