Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1477 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/lib/Transforms/IPO/
DGlobalOpt.cpp1540 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()