search for: checkintegermatcher

Displaying 1 result from an estimated 1 matches for "checkintegermatcher".

2017 Jul 27
2
Are there some strong naming conventions in TableGen?
...// check to ensure that this gets folded into the normal top-level // OpcodeSwitch. if (N == Pattern.getSrcPattern()) { const SDNodeInfo &NI = CGP.getSDNodeInfo(CGP.getSDNodeNamed("imm")); AddMatcher(new CheckOpcodeMatcher(NI)); } return AddMatcher(new CheckIntegerMatcher(II->getValue())); } ------------------------------------------------------------------------------------------------- This code seems to retrieve some Node definition based on a naming convention related to the "imm" string. Are such naming conventions quite common for TableGen targe...