| 782 | } |
| 783 | |
| 784 | static unsigned num_ptrs(const Type &ty) { |
| 785 | unsigned n = ty.isPtrType(); |
| 786 | if (auto aty = ty.getAsAggregateType()) |
| 787 | n += aty->numPointerElements(); |
| 788 | return n; |
| 789 | } |
| 790 | |
| 791 | static bool returns_local(const Value &v) { |
| 792 | // no alias fns return local block |
no test coverage detected