Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp793 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/llvm-project/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp867 ConstantInt *NElements, const DataLayout &DL, in OptimizeGlobalAddressOfMalloc() argument
873 if (NElements->getZExtValue() == 1) in OptimizeGlobalAddressOfMalloc()
877 GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue()); in OptimizeGlobalAddressOfMalloc()
1534 if (ConstantInt *NElements = dyn_cast<ConstantInt>(NElems)) in tryToOptimizeStoreOfMallocToGlobal() local
1538 if (NElements->getZExtValue() * DL.getTypeAllocSize(AllocTy) < 2048) { in tryToOptimizeStoreOfMallocToGlobal()
1539 OptimizeGlobalAddressOfMalloc(GV, CI, AllocTy, NElements, DL, TLI); in tryToOptimizeStoreOfMallocToGlobal()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp851 ConstantInt *NElements, const DataLayout &DL, in OptimizeGlobalAddressOfMalloc() argument
857 if (NElements->getZExtValue() == 1) in OptimizeGlobalAddressOfMalloc()
861 GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue()); in OptimizeGlobalAddressOfMalloc()
1518 if (ConstantInt *NElements = dyn_cast<ConstantInt>(NElems)) in tryToOptimizeStoreOfMallocToGlobal() local
1522 if (NElements->getZExtValue() * DL.getTypeAllocSize(AllocTy) < 2048) { in tryToOptimizeStoreOfMallocToGlobal()
1523 OptimizeGlobalAddressOfMalloc(GV, CI, AllocTy, NElements, DL, TLI); in tryToOptimizeStoreOfMallocToGlobal()
/external/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp5066 uint64_t NElements = AT->getSize().getZExtValue(); in isHomogeneousAggregate() local
5067 if (NElements == 0) in isHomogeneousAggregate()
5071 Members *= NElements; in isHomogeneousAggregate()
6757 uint64_t NElements = AT->getSize().getZExtValue(); in containsAnyFP16Vectors() local
6758 if (NElements == 0) in containsAnyFP16Vectors()
/external/clang/lib/CodeGen/
DTargetInfo.cpp4086 uint64_t NElements = AT->getSize().getZExtValue(); in isHomogeneousAggregate() local
4087 if (NElements == 0) in isHomogeneousAggregate()
4091 Members *= NElements; in isHomogeneousAggregate()