HomePhabricator

[BasicBlock] Added AnnotationWriter functionality to BasicBlock class

Authored by knaumov on Jun 5 2020, 5:06 PM.

Description

[BasicBlock] Added AnnotationWriter functionality to BasicBlock class

This functionality is very similar to Function compatibility with
AnnotationWriter. This change allows us to use AnnotationWriter with
BasicBlock through BB.print() method.

Reviewed-By: apilipenko
Differntial Revision: https://reviews.llvm.org/D81321

Details