rules: add new scope "instruction"

This commit is contained in:
Willi Ballenthin
2022-03-28 12:14:07 -06:00
parent 3b86ccc1a4
commit a203f56bdb

View File

@@ -74,11 +74,13 @@ class Scope(str, Enum):
FILE = "file"
FUNCTION = "function"
BASIC_BLOCK = "basic block"
INSTRUCTION = "instruction"
FILE_SCOPE = Scope.FILE.value
FUNCTION_SCOPE = Scope.FUNCTION.value
BASIC_BLOCK_SCOPE = Scope.BASIC_BLOCK.value
INSTRUCTION_SCOPE = Scope.INSTRUCTION.value
SUPPORTED_FEATURES = {