Home | History | Annotate | Download | only in CodeGen

Lines Matching full:rvalue

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(),
130 RValue CodeGenFunction::EmitObjCMessageExpr(const ObjCMessageExpr *E,
230 RValue result;
361 args.add(RValue::get(dest), Context.VoidPtrTy);
364 args.add(RValue::get(src), Context.VoidPtrTy);
367 args.add(RValue::get(CGF.CGM.getSize(size)), Context.getSizeType());
368 args.add(RValue::get(CGF.Builder.getInt1(isAtomic)), Context.BoolTy);
369 args.add(RValue::get(CGF.Builder.getInt1(hasStrong)), Context.BoolTy);
417 /// lvalue-to-rvalue expressions.
665 args.add(RValue::get(self), getContext().getObjCIdType());
666 args.add(RValue::get(cmd), getContext().getObjCSelType());
667 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType());
668 args.add(RValue::get(Builder.getInt1(strategy.isAtomic())),
673 RValue RV = EmitCall(getTypes().getFunctionInfo(propType, args,
680 RV = RValue::get(Builder.CreateBitCast(RV.getScalarVal(),
729 EmitReturnOfRValue(RValue::get(value), propType);
751 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy);
758 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy);
763 args.add(RValue::get(size), CGF.getContext().getSizeType());
766 args.add(RValue::get(CGF.Builder.getTrue()), CGF.getContext().BoolTy);
770 args.add(RValue::get(CGF.Builder.getFalse()), CGF.getContext().BoolTy);
867 args.add(RValue::get(self), getContext().getObjCIdType());
868 args.add(RValue::get(cmd), getContext().getObjCSelType());
869 args.add(RValue::get(ivarOffset), getContext().getPointerDiffType());
870 args.add(RValue::get(arg), getContext().getObjCIdType());
871 args.add(RValue::get(Builder.getInt1(strategy.isAtomic())),
873 args.add(RValue::get(Builder.getInt1(strategy.isCopy())),
1052 EmitReturnOfRValue(RValue::get(SelfAsId), IdTy);
1106 static RValue GenerateMessageSendSuper(CodeGenFunction &CGF,
1122 RValue CodeGenFunction::EmitLoadOfPropertyRefLValue(LValue LV,
1164 void CodeGenFunction::EmitStoreThroughPropertyRefLValue(RValue Src,
1178 RValue::get(EmitScalarConversion(SrcVal, E->getType(), DstType));
1263 Args.add(RValue::get(StatePtr), getContext().getPointerType(StateTy));
1270 Args.add(RValue::get(ItemsPtr), getContext().getPointerType(ItemsTy));
1275 Args.add(RValue::get(Count), getContext().UnsignedLongTy);
1278 RValue
1343 Args2.add(RValue::get(V), getContext().getObjCIdType());
1399 EmitStoreThroughLValue(RValue::get(CurrentItem), elementLValue);
1463 EmitStoreThroughLValue(RValue::get(null), elementLValue);
2019 RValue AllocRV =
2028 RValue InitRV =