Lines Matching defs:allocation
876 // Don't allow allocation of fewer elements than we have initializers.
898 // allocation fails.
1037 // We know this can't overflow; we check this when doing the allocation.
1070 // literal. The allocation must be for at least this much; we emitted a
1351 /// to a replaceable global allocation function.
1368 // Find the allocation or deallocation function that we're calling.
1478 // if the placement allocation function was, but is never passed a size.
1584 // 1. Build a call to the allocation function.
1612 // Emit the allocation call. If the allocator is a global placement
1614 Address allocation = Address::invalid();
1621 allocation = EmitPointerWithAlignment(arg, &BaseInfo);
1627 allocation.setAlignment(allocAlign);
1634 allocatorArgs.add(RValue::get(allocation, *this), arg->getType());
1642 // The allocation size is the first argument.
1652 // The allocation alignment may be passed as the second argument.
1684 // If this was a call to a global replaceable allocation function that does
1697 allocation = Address(RV.getScalarVal(), Int8Ty, allocationAlign);
1700 // Emit a null check on the allocation result if the allocation
1722 llvm::Value *isNull = Builder.CreateIsNull(allocation, "new.isnull");
1733 EnterNewDeleteCleanup(*this, E, allocation, allocSize, allocAlign,
1743 allocation = CGM.getCXXABI().InitializeArrayCookie(*this, allocation,
1749 Address result = allocation.withElementType(elementTy);