Searched refs:NElements (Results 1 – 2 of 2) sorted by relevance
830 ConstantInt *NElements, const DataLayout &DL, in OptimizeGlobalAddressOfMalloc() argument835 if (NElements->getZExtValue() == 1) in OptimizeGlobalAddressOfMalloc()839 GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue()); in OptimizeGlobalAddressOfMalloc()1499 if (ConstantInt *NElements = dyn_cast<ConstantInt>(NElems)) in TryToOptimizeStoreOfMallocToGlobal() local1503 if (NElements->getZExtValue() * DL.getTypeAllocSize(AllocTy) < 2048) { in TryToOptimizeStoreOfMallocToGlobal()1504 GVI = OptimizeGlobalAddressOfMalloc(GV, CI, AllocTy, NElements, DL, TLI); in TryToOptimizeStoreOfMallocToGlobal()
3491 uint64_t NElements = AT->getSize().getZExtValue(); in isHomogeneousAggregate() local3492 if (NElements == 0) in isHomogeneousAggregate()3496 Members *= NElements; in isHomogeneousAggregate()