Lines Matching refs:AllocTy
854 OptimizeGlobalAddressOfMalloc(GlobalVariable *GV, CallInst *CI, Type *AllocTy,
862 GlobalType = AllocTy;
865 GlobalType = ArrayType::get(AllocTy, NElements->getZExtValue());
1487 Type *AllocTy,
1492 if (!AllocTy->isSized())
1526 if (NElements->getZExtValue() * DL.getTypeAllocSize(AllocTy) < 2048) {
1527 OptimizeGlobalAddressOfMalloc(GV, CI, AllocTy, NElements, DL, TLI);
1541 if (ArrayType *AT = dyn_cast<ArrayType>(AllocTy))
1542 AllocTy = AT->getElementType();
1544 StructType *AllocSTy = dyn_cast<StructType>(AllocTy);