Lines Matching defs:Dest
36 AggValueSlot Dest;
38 /// We want to use 'dest' as the return slot except under two
44 return !(Dest.requiresGCollection() || Dest.isPotentiallyAliased());
51 return ReturnValueSlot(Dest.getAddr(), Dest.isVolatile());
55 if (!Dest.isIgnored()) return Dest;
59 if (!Dest.isIgnored()) return;
60 Dest = CGF.CreateAggTemp(T, "agg.tmp.ensured");
64 AggExprEmitter(CodeGenFunction &cgf, AggValueSlot Dest)
65 : CGF(cgf), Builder(CGF.Builder), Dest(Dest) {
81 void EmitCopy(QualType type, const AggValueSlot &dest,
236 // Logically, Dest.getAddr() should equal Src.getAggregateAddr().
243 assert(Dest.getAddr() != src.getAggregateAddr());
259 // If Dest is ignored, then we're evaluating an aggregate expression
263 if (Dest.isIgnored())
269 EmitCopy(type, Dest, srcAgg);
276 void AggExprEmitter::EmitCopy(QualType type, const AggValueSlot &dest,
278 if (dest.requiresGCollection()) {
282 dest.getAddr(),
291 CGF.EmitAggregateCopy(dest.getAddr(), src.getAddr(), type,
292 dest.isVolatile() || src.isVolatile(),
293 std::min(dest.getAlignment(), src.getAlignment()));
377 if (!Dest.isExternallyDestructed())
466 !(Dest.isZeroed() && hasTrivialFiller &&
562 if (!Dest.isIgnored())
568 if (Dest.isIgnored()) break;
573 llvm::Value *CastPtr = Builder.CreateBitCast(Dest.getAddr(),
677 CGF.EmitCompoundStmt(*E->getSubStmt(), true, Dest);
783 Dest);
813 bool isExternallyDestructed = Dest.isExternallyDestructed();
827 Dest.setExternallyDestructed(isExternallyDestructed);
856 bool wasExternallyDestructed = Dest.isExternallyDestructed();
860 Dest
866 CGF.EmitCXXTemporary(E->getTemporary(), E->getType(), Dest.getAddr());
932 if (Dest.isZeroed() && isSimpleZero(E, CGF)) {
946 Dest.isZeroed()));
959 if (Dest.isZeroed() && CGF.getTypes().isZeroInitializable(type))
1000 EmitStdInitializerList(Dest.getAddr(), E);
1004 AggValueSlot Dest = EnsureSlot(E->getType());
1005 LValue DestLV = CGF.MakeAddrLValue(Dest.getAddr(), E->getType(),
1006 Dest.getAlignment());
1017 cast<llvm::PointerType>(Dest.getAddr()->getType());
1021 EmitArrayInit(Dest.getAddr(), AType, elementType, E);
1088 if (curInitIndex == NumInitElements && Dest.isZeroed() &&