Home
last modified time | relevance | path

Searched refs:NElements (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp830 ConstantInt *NElements, const DataLayout &DL, in OptimizeGlobalAddressOfMalloc() argument
835 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() local
1503 if (NElements->getZExtValue() * DL.getTypeAllocSize(AllocTy) < 2048) { in TryToOptimizeStoreOfMallocToGlobal()
1504 GVI = OptimizeGlobalAddressOfMalloc(GV, CI, AllocTy, NElements, DL, TLI); in TryToOptimizeStoreOfMallocToGlobal()
/external/clang/lib/CodeGen/
DTargetInfo.cpp3491 uint64_t NElements = AT->getSize().getZExtValue(); in isHomogeneousAggregate() local
3492 if (NElements == 0) in isHomogeneousAggregate()
3496 Members *= NElements; in isHomogeneousAggregate()