Searched refs:NElements (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 793 ConstantInt *NElements, const DataLayout &DL, in OptimizeGlobalAddressOfMalloc() argument 798 if (NElements->getZExtValue() == 1) in OptimizeGlobalAddressOfMalloc() 802 GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue()); in OptimizeGlobalAddressOfMalloc() 1455 if (ConstantInt *NElements = dyn_cast<ConstantInt>(NElems)) in tryToOptimizeStoreOfMallocToGlobal() local 1459 if (NElements->getZExtValue() * DL.getTypeAllocSize(AllocTy) < 2048) { in tryToOptimizeStoreOfMallocToGlobal() 1460 OptimizeGlobalAddressOfMalloc(GV, CI, AllocTy, NElements, DL, TLI); in tryToOptimizeStoreOfMallocToGlobal()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 850 ConstantInt *NElements, in OptimizeGlobalAddressOfMalloc() argument 855 if (NElements->getZExtValue() == 1) in OptimizeGlobalAddressOfMalloc() 859 GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue()); in OptimizeGlobalAddressOfMalloc() 1521 if (ConstantInt *NElements = dyn_cast<ConstantInt>(NElems)) in TryToOptimizeStoreOfMallocToGlobal() local 1525 if (NElements->getZExtValue() * TD->getTypeAllocSize(AllocTy) < 2048) { in TryToOptimizeStoreOfMallocToGlobal() 1526 GVI = OptimizeGlobalAddressOfMalloc(GV, CI, AllocTy, NElements, TD); in TryToOptimizeStoreOfMallocToGlobal()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 304 if (ConstantInt *NElements = dyn_cast<ConstantInt>(NElems)) in visitCallInst() local 305 Size = NElements->getZExtValue() * TD->getTypeAllocSize(MallocType); in visitCallInst()
|
/external/clang/lib/CodeGen/ |
D | TargetInfo.cpp | 4086 uint64_t NElements = AT->getSize().getZExtValue(); in isHomogeneousAggregate() local 4087 if (NElements == 0) in isHomogeneousAggregate() 4091 Members *= NElements; in isHomogeneousAggregate()
|