search for: checkopcodematch

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

Did you mean: checkopcodematcher
2017 Jul 27
2
Are there some strong naming conventions in TableGen?
...of the dag we're matching, we emit a redundant opcode // 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...