Checker: Add function isaHasFeature

Developers are now able to use hasIsaFeature("feature_name") to
check if an instruction set feature was used at compile time.

Checker will retrieve the list of features from the .cfg file. It
expects them to be dumped at the beginning of the file as a fake
compilation block in the following form:

begin_compilation
  name "isa_features:feature1,-feature2"
  method "isa_features:feature1,-feature2"
  date 1580721972
end_compilation

Dumping that is optional. hasIsaFeature() will always return False
if that pass is not found.

Author:    Fabio Rinaldi
Committer: Artem Serov

Bug: 147876827
Test: ./art/tools/checker/run_unit_tests.py
Test: test.py --target --optimizing
Change-Id: I4ce15d853025f9863d7981b33b761cfc799fed50
8 files changed