Lines Matching defs:getSize
329 size_t Module::getSize(TypeVoidInst *) { return 0; }
331 size_t Module::getSize(TypeIntInst *intTy) { return intTy->mOperand1 / 8; }
333 size_t Module::getSize(TypeFloatInst *fpTy) { return fpTy->mOperand1 / 8; }
335 size_t Module::getSize(TypeVectorInst *vTy) {
336 return getSize(vTy->mOperand1.mInstruction) * vTy->mOperand2;
339 size_t Module::getSize(TypePointerInst *) {
343 size_t Module::getSize(TypeStructInst *structTy) {
346 sz += getSize(ty.mInstruction);
351 size_t Module::getSize(TypeFunctionInst *) {
355 size_t Module::getSize(Instruction *inst) {
358 return getSize(static_cast<TypeVoidInst *>(inst));
360 return getSize(static_cast<TypeIntInst *>(inst));
362 return getSize(static_cast<TypeFloatInst *>(inst));
364 return getSize(static_cast<TypeVectorInst *>(inst));
366 return getSize(static_cast<TypeStructInst *>(inst));
368 return getSize(static_cast<TypeFunctionInst *>(inst));