search for: getleafvalu

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

Did you mean: getleafvalue
2017 Jul 27
2
Are there some strong naming conventions in TableGen?
...le looking the DAGISelMatcherGen.cpp around line 286 (version 3.8.0), I've found such a kind of code ------------------------------------------------------------------------------------------------- // Direct match against an integer constant. if (IntInit *II = dyn_cast<IntInit>(N->getLeafValue())) { // If this is the root 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(&quot...