Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:allocation

626       // Don't allow allocation of fewer elements than we have initializers.
648 // allocation fails.
846 // We know this can't overflow; we check this when doing the allocation.
1012 /// to a replaceable global allocation function.
1039 // Find the allocation or deallocation function that we're calling.
1207 // 1. Build a call to the allocation function.
1214 // The allocation size is the first argument.
1232 // We start at 1 here because the first argument (the allocation size)
1239 // Emit the allocation call. If the allocator is a global placement
1251 // Emit a null check on the allocation result if the allocation
1262 llvm::Value *allocation = RV.getScalarVal();
1263 unsigned AS = allocation->getType()->getPointerAddressSpace();
1276 llvm::Value *isNull = Builder.CreateIsNull(allocation, "new.isnull");
1287 EnterNewDeleteCleanup(*this, E, allocation, allocSize, allocatorArgs);
1296 allocation = CGM.getCXXABI().InitializeArrayCookie(*this, allocation,
1303 llvm::Value *result = Builder.CreateBitCast(allocation, elementPtrTy);