Lines Matching refs:emission
905 AutoVarEmission emission = EmitAutoVarAlloca(D); in EmitAutoVarDecl() local
906 EmitAutoVarInit(emission); in EmitAutoVarDecl()
907 EmitAutoVarCleanups(emission); in EmitAutoVarDecl()
956 AutoVarEmission emission(D); in EmitAutoVarAlloca() local
959 emission.IsByRef = isByRef; in EmitAutoVarAlloca()
994 emission.Addr = Address::invalid(); in EmitAutoVarAlloca()
995 assert(emission.wasEmittedAsGlobal()); in EmitAutoVarAlloca()
996 return emission; in EmitAutoVarAlloca()
1000 emission.IsConstantAggregate = true; in EmitAutoVarAlloca()
1025 emission.NRVOFlag = NRVOFlag.getPointer(); in EmitAutoVarAlloca()
1056 emission.SizeForLifetimeMarkers = in EmitAutoVarAlloca()
1059 assert(!emission.useLifetimeMarkers()); in EmitAutoVarAlloca()
1095 emission.Addr = address; in EmitAutoVarAlloca()
1110 return emission; in EmitAutoVarAlloca()
1178 void CodeGenFunction::EmitAutoVarInit(const AutoVarEmission &emission) { in EmitAutoVarInit() argument
1179 assert(emission.Variable && "emission was not valid!"); in EmitAutoVarInit()
1182 if (emission.wasEmittedAsGlobal()) return; in EmitAutoVarInit()
1184 const VarDecl &D = *emission.Variable; in EmitAutoVarInit()
1199 if (emission.IsByRef) in EmitAutoVarInit()
1200 emitByrefStructureInit(emission); in EmitAutoVarInit()
1208 bool capturedByInit = emission.IsByRef && isCapturedBy(D, Init); in EmitAutoVarInit()
1211 capturedByInit ? emission.Addr : emission.getObjectAddress(*this); in EmitAutoVarInit()
1214 if (emission.IsConstantAggregate || D.isConstexpr()) { in EmitAutoVarInit()
1225 if (!emission.IsConstantAggregate) { in EmitAutoVarInit()
1326 const CodeGenFunction::AutoVarEmission &emission, in emitAutoVarTypeCleanup() argument
1332 Address addr = emission.getObjectAddress(*this); in emitAutoVarTypeCleanup()
1334 const VarDecl *var = emission.Variable; in emitAutoVarTypeCleanup()
1347 if (emission.NRVOFlag) { in emitAutoVarTypeCleanup()
1351 dtor, emission.NRVOFlag); in emitAutoVarTypeCleanup()
1382 void CodeGenFunction::EmitAutoVarCleanups(const AutoVarEmission &emission) { in EmitAutoVarCleanups() argument
1383 assert(emission.Variable && "emission was not valid!"); in EmitAutoVarCleanups()
1386 if (emission.wasEmittedAsGlobal()) return; in EmitAutoVarCleanups()
1392 const VarDecl &D = *emission.Variable; in EmitAutoVarCleanups()
1396 if (emission.useLifetimeMarkers()) in EmitAutoVarCleanups()
1398 emission.getAllocatedAddress(), in EmitAutoVarCleanups()
1399 emission.getSizeForLifetimeMarkers()); in EmitAutoVarCleanups()
1403 emitAutoVarTypeCleanup(emission, dtorKind); in EmitAutoVarCleanups()
1424 if (emission.IsByRef) in EmitAutoVarCleanups()
1425 enterByrefCleanup(emission); in EmitAutoVarCleanups()