Lines Matching defs:allocation
870 // Don't allow allocation of fewer elements than we have initializers.
892 // allocation fails.
1031 // We know this can't overflow; we check this when doing the allocation.
1064 // literal. The allocation must be for at least this much; we emitted a
1345 /// to a replaceable global allocation function.
1362 // Find the allocation or deallocation function that we're calling.
1472 // if the placement allocation function was, but is never passed a size.
1578 // 1. Build a call to the allocation function.
1606 // Emit the allocation call. If the allocator is a global placement
1608 Address allocation = Address::invalid();
1615 allocation = EmitPointerWithAlignment(arg, &BaseInfo);
1621 allocation.setAlignment(allocAlign);
1628 allocatorArgs.add(RValue::get(allocation, *this), arg->getType());
1636 // The allocation size is the first argument.
1646 // The allocation alignment may be passed as the second argument.
1678 // If this was a call to a global replaceable allocation function that does
1691 allocation = Address(RV.getScalarVal(), Int8Ty, allocationAlign);
1694 // Emit a null check on the allocation result if the allocation
1716 llvm::Value *isNull = Builder.CreateIsNull(allocation, "new.isnull");
1727 EnterNewDeleteCleanup(*this, E, allocation, allocSize, allocAlign,
1737 allocation = CGM.getCXXABI().InitializeArrayCookie(*this, allocation,
1743 Address result = allocation.withElementType(elementTy);