Lines Matching refs:allocation
856 // Don't allow allocation of fewer elements than we have initializers.
878 // allocation fails.
1017 // We know this can't overflow; we check this when doing the allocation.
1036 // literal. The allocation must be for at least this much; we emitted a
1320 /// to a replaceable global allocation function.
1338 // Find the allocation or deallocation function that we're calling.
1447 // if the placement allocation function was, but is never passed a size.
1558 // 1. Build a call to the allocation function.
1580 // Emit the allocation call. If the allocator is a global placement
1582 Address allocation = Address::invalid();
1589 allocation = EmitPointerWithAlignment(arg, &BaseInfo);
1595 allocation = Address(allocation.getPointer(), allocAlign);
1602 allocatorArgs.add(RValue::get(allocation.getPointer()), arg->getType());
1610 // The allocation size is the first argument.
1620 // The allocation alignment may be passed as the second argument.
1652 // If this was a call to a global replaceable allocation function that does
1665 allocation = Address(RV.getScalarVal(), allocationAlign);
1668 // Emit a null check on the allocation result if the allocation
1691 Builder.CreateIsNull(allocation.getPointer(), "new.isnull");
1702 EnterNewDeleteCleanup(*this, E, allocation, allocSize, allocAlign,
1712 allocation = CGM.getCXXABI().InitializeArrayCookie(*this, allocation,
1718 Address result = Builder.CreateElementBitCast(allocation, elementTy);