Searched refs:AllocSTy (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1477 StructType *AllocSTy = dyn_cast<StructType>(AllocTy); in tryToOptimizeStoreOfMallocToGlobal() local 1478 if (!AllocSTy) in tryToOptimizeStoreOfMallocToGlobal() 1483 if (AllocSTy->getNumElements() <= 16 && AllocSTy->getNumElements() != 0 && in tryToOptimizeStoreOfMallocToGlobal() 1490 unsigned TypeSize = DL.getStructLayout(AllocSTy)->getSizeInBytes(); in tryToOptimizeStoreOfMallocToGlobal() 1496 CallInst::CreateMalloc(CI, IntPtrTy, AllocSTy, AllocSize, NumElements, in tryToOptimizeStoreOfMallocToGlobal()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1521 StructType *AllocSTy = dyn_cast<StructType>(AllocTy); in tryToOptimizeStoreOfMallocToGlobal() local 1522 if (!AllocSTy) in tryToOptimizeStoreOfMallocToGlobal() 1527 if (AllocSTy->getNumElements() <= 16 && AllocSTy->getNumElements() != 0 && in tryToOptimizeStoreOfMallocToGlobal() 1534 unsigned TypeSize = DL.getStructLayout(AllocSTy)->getSizeInBytes(); in tryToOptimizeStoreOfMallocToGlobal() 1540 CallInst::CreateMalloc(CI, IntPtrTy, AllocSTy, AllocSize, NumElements, in tryToOptimizeStoreOfMallocToGlobal()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | GlobalOpt.cpp | 1540 StructType *AllocSTy = dyn_cast<StructType>(AllocTy); in TryToOptimizeStoreOfMallocToGlobal() local 1541 if (!AllocSTy) in TryToOptimizeStoreOfMallocToGlobal() 1546 if (AllocSTy->getNumElements() <= 16 && AllocSTy->getNumElements() != 0 && in TryToOptimizeStoreOfMallocToGlobal() 1553 unsigned TypeSize = TD->getStructLayout(AllocSTy)->getSizeInBytes(); in TryToOptimizeStoreOfMallocToGlobal() 1556 Instruction *Malloc = CallInst::CreateMalloc(CI, IntPtrTy, AllocSTy, in TryToOptimizeStoreOfMallocToGlobal()
|