Allow flang to report what optimizations were and were not done by the LLVM compiler optimizer.
A BackendRemarkConsumer was implemented in reference to
clang BackendConsumer.
Added required fields in flang/include/flang/Frontend/CodeGenOptions.h which include
the OptRemark fields, OptRemark struct and the RemarkKind enum class.
The parseOptimizationRemark and printRemarkOption functions created
are identical to the ones used in Clang.
Since Flang doesn't have a SourceManager instance in the BackendRemarkConsumer class,
we pass the absolute path and file name in flang/lib/Frontend/FrontendActions.cpp
emitOptimizationMessage function, then process it in flang/lib/Frontend/TextDiagnosticPrinter.cpp
Depends on D157410. That patch adds the R family of options to FlangOption and FC1Option in
clang/include/clang/Driver/Options.td
enum class?