Lines Matching refs:getTypeSize
117 size_t getTypeSize(Type * const T, bool dereferencePtr = false);
118 size_t getTypeSize(StructType * const ST, bool dereferencePtr = false);
119 size_t getTypeSize(IntegerType * const IT, bool dereferencePtr = false);
120 size_t getTypeSize(FunctionType * const FT,bool dereferencePtr = false);
121 size_t getTypeSize(ArrayType * const AT, bool dereferencePtr = false);
122 size_t getTypeSize(VectorType * const VT, bool dereferencePtr = false);
123 size_t getTypeSize(PointerType * const PT, bool dereferencePtr = false);
124 size_t getTypeSize(OpaqueType * const OT, bool dereferencePtr = false);
958 getTypeSize(Ty);
1174 size_t AMDGPUPeepholeOpt::getTypeSize(Type * const T, bool dereferencePtr) {
1191 size = getTypeSize(dyn_cast<PointerType>(T), dereferencePtr);
1194 size = getTypeSize(dyn_cast<IntegerType>(T), dereferencePtr);
1197 size = getTypeSize(dyn_cast<StructType>(T), dereferencePtr);
1200 size = getTypeSize(dyn_cast<ArrayType>(T), dereferencePtr);
1203 size = getTypeSize(dyn_cast<FunctionType>(T), dereferencePtr);
1206 size = getTypeSize(dyn_cast<VectorType>(T), dereferencePtr);
1212 size_t AMDGPUPeepholeOpt::getTypeSize(StructType * const ST,
1223 size += getTypeSize(curType, dereferencePtr);
1228 size_t AMDGPUPeepholeOpt::getTypeSize(IntegerType * const IT,
1233 size_t AMDGPUPeepholeOpt::getTypeSize(FunctionType * const FT,
1239 size_t AMDGPUPeepholeOpt::getTypeSize(ArrayType * const AT,
1241 return (size_t)(AT ? (getTypeSize(AT->getElementType(),
1246 size_t AMDGPUPeepholeOpt::getTypeSize(VectorType * const VT,
1251 size_t AMDGPUPeepholeOpt::getTypeSize(PointerType * const PT,
1259 return getTypeSize(dyn_cast<StructType>(CT));
1263 size += getTypeSize(PT->getContainedType(x), dereferencePtr);
1271 size_t AMDGPUPeepholeOpt::getTypeSize(OpaqueType * const OT,