Lines Matching defs:Ty
38 TypeSize getTypeAllocSizeInBytes(Type *Ty);
42 TypeSize getTypeAllocSize(Type *Ty);
53 TypeSize LegacyCBufferLayout::getTypeAllocSizeInBytes(Type *Ty) {
54 return getTypeAllocSize(Ty);
72 TypeSize LegacyCBufferLayout::getTypeAllocSize(Type *Ty) {
73 if (auto *ST = dyn_cast<StructType>(Ty)) {
76 } else if (auto *AT = dyn_cast<ArrayType>(Ty)) {
88 return DL.getTypeStoreSize(Ty);
121 llvm::TypeSize CBufferDataLayout::getTypeAllocSizeInBytes(Type *Ty) {
123 return LegacyDL->getTypeAllocSizeInBytes(Ty);
125 return DL.getTypeAllocSize(Ty);