Searched refs:MallocType (Results 1 – 3 of 3) sorted by relevance
139 PointerType *MallocType = NULL; in getMallocType() local146 MallocType = cast<PointerType>(BCI->getDestTy()); in getMallocType()152 return MallocType; in getMallocType()
303 Type* MallocType = getMallocAllocatedType(MI); in visitCallInst() local304 if (MallocType && MallocType->isSized()) in visitCallInst()307 Size = NElements->getZExtValue() * TD->getTypeAllocSize(MallocType); in visitCallInst()
1604 Type *MallocType = getMallocAllocatedType(CI); in OptimizeOnceStoredGlobal() local1605 if (MallocType && in OptimizeOnceStoredGlobal()1606 TryToOptimizeStoreOfMallocToGlobal(GV, CI, MallocType, Ordering, GVI, in OptimizeOnceStoredGlobal()