• Home
  • Raw
  • Download

Lines Matching refs:emission

1309   AutoVarEmission emission = EmitAutoVarAlloca(D);  in EmitAutoVarDecl()  local
1310 EmitAutoVarInit(emission); in EmitAutoVarDecl()
1311 EmitAutoVarCleanups(emission); in EmitAutoVarDecl()
1412 AutoVarEmission emission(D); in EmitAutoVarAlloca() local
1415 emission.IsEscapingByRef = isEscapingByRef; in EmitAutoVarAlloca()
1468 emission.Addr = Address::invalid(); in EmitAutoVarAlloca()
1469 assert(emission.wasEmittedAsGlobal()); in EmitAutoVarAlloca()
1470 return emission; in EmitAutoVarAlloca()
1474 emission.IsConstantAggregate = true; in EmitAutoVarAlloca()
1503 emission.NRVOFlag = NRVOFlag.getPointer(); in EmitAutoVarAlloca()
1550 emission.SizeForLifetimeMarkers = in EmitAutoVarAlloca()
1556 assert(!emission.useLifetimeMarkers()); in EmitAutoVarAlloca()
1592 emission.Addr = address; in EmitAutoVarAlloca()
1593 emission.AllocaAddr = AllocaAddr; in EmitAutoVarAlloca()
1613 if (emission.useLifetimeMarkers()) in EmitAutoVarAlloca()
1615 emission.getOriginalAllocatedAddress(), in EmitAutoVarAlloca()
1616 emission.getSizeForLifetimeMarkers()); in EmitAutoVarAlloca()
1618 return emission; in EmitAutoVarAlloca()
1792 void CodeGenFunction::EmitAutoVarInit(const AutoVarEmission &emission) { in EmitAutoVarInit() argument
1793 assert(emission.Variable && "emission was not valid!"); in EmitAutoVarInit()
1796 if (emission.wasEmittedAsGlobal()) return; in EmitAutoVarInit()
1798 const VarDecl &D = *emission.Variable; in EmitAutoVarInit()
1813 if (emission.IsEscapingByRef) in EmitAutoVarInit()
1814 emitByrefStructureInit(emission); in EmitAutoVarInit()
1822 LValue Dst = MakeAddrLValue(emission.getAllocatedAddress(), type); in EmitAutoVarInit()
1823 if (emission.IsEscapingByRef) in EmitAutoVarInit()
1833 Init && emission.IsEscapingByRef && isCapturedBy(D, Init); in EmitAutoVarInit()
1837 locIsByrefHeader ? emission.getObjectAddress(*this) : emission.Addr; in EmitAutoVarInit()
1853 if (emission.IsEscapingByRef && !locIsByrefHeader) in EmitAutoVarInit()
1863 if (emission.IsConstantAggregate || in EmitAutoVarInit()
1892 if (!emission.IsConstantAggregate) { in EmitAutoVarInit()
1959 const CodeGenFunction::AutoVarEmission &emission, in emitAutoVarTypeCleanup() argument
1965 Address addr = emission.getObjectAddress(*this); in emitAutoVarTypeCleanup()
1967 const VarDecl *var = emission.Variable; in emitAutoVarTypeCleanup()
1980 if (emission.NRVOFlag) { in emitAutoVarTypeCleanup()
1984 emission.NRVOFlag); in emitAutoVarTypeCleanup()
2006 if (emission.NRVOFlag) { in emitAutoVarTypeCleanup()
2009 emission.NRVOFlag, type); in emitAutoVarTypeCleanup()
2025 void CodeGenFunction::EmitAutoVarCleanups(const AutoVarEmission &emission) { in EmitAutoVarCleanups() argument
2026 assert(emission.Variable && "emission was not valid!"); in EmitAutoVarCleanups()
2029 if (emission.wasEmittedAsGlobal()) return; in EmitAutoVarCleanups()
2035 const VarDecl &D = *emission.Variable; in EmitAutoVarCleanups()
2039 emitAutoVarTypeCleanup(emission, dtorKind); in EmitAutoVarCleanups()
2061 if (emission.IsEscapingByRef && in EmitAutoVarCleanups()
2064 if (emission.Variable->getType().isObjCGCWeak()) in EmitAutoVarCleanups()
2066 enterByrefCleanup(NormalAndEHCleanup, emission.Addr, Flags, in EmitAutoVarCleanups()
2068 cxxDestructorCanThrow(emission.Variable->getType())); in EmitAutoVarCleanups()