Lines Matching refs:MatcherTable
2154 GetVBR(uint64_t Val, const unsigned char *MatcherTable, unsigned &Idx) { in GetVBR() argument
2161 NextBits = MatcherTable[Idx++]; in GetVBR()
2467 CheckSame(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckSame() argument
2471 unsigned RecNo = MatcherTable[MatcherIndex++]; in CheckSame()
2478 CheckChildSame(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckChildSame() argument
2484 return ::CheckSame(MatcherTable, MatcherIndex, N.getOperand(ChildNo), in CheckChildSame()
2490 CheckPatternPredicate(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckPatternPredicate() argument
2492 return SDISel.CheckPatternPredicate(MatcherTable[MatcherIndex++]); in CheckPatternPredicate()
2497 CheckNodePredicate(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckNodePredicate() argument
2499 return SDISel.CheckNodePredicate(N, MatcherTable[MatcherIndex++]); in CheckNodePredicate()
2503 CheckOpcode(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckOpcode() argument
2505 uint16_t Opc = MatcherTable[MatcherIndex++]; in CheckOpcode()
2506 Opc |= (unsigned short)MatcherTable[MatcherIndex++] << 8; in CheckOpcode()
2511 CheckType(const unsigned char *MatcherTable, unsigned &MatcherIndex, SDValue N, in CheckType() argument
2513 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckType()
2521 CheckChildType(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckChildType() argument
2526 return ::CheckType(MatcherTable, MatcherIndex, N.getOperand(ChildNo), TLI, in CheckChildType()
2531 CheckCondCode(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckCondCode() argument
2534 (ISD::CondCode)MatcherTable[MatcherIndex++]; in CheckCondCode()
2538 CheckValueType(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckValueType() argument
2540 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckValueType()
2549 CheckInteger(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckInteger() argument
2551 int64_t Val = MatcherTable[MatcherIndex++]; in CheckInteger()
2553 Val = GetVBR(Val, MatcherTable, MatcherIndex); in CheckInteger()
2560 CheckChildInteger(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckChildInteger() argument
2564 return ::CheckInteger(MatcherTable, MatcherIndex, N.getOperand(ChildNo)); in CheckChildInteger()
2568 CheckAndImm(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckAndImm() argument
2570 int64_t Val = MatcherTable[MatcherIndex++]; in CheckAndImm()
2572 Val = GetVBR(Val, MatcherTable, MatcherIndex); in CheckAndImm()
2581 CheckOrImm(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckOrImm() argument
2583 int64_t Val = MatcherTable[MatcherIndex++]; in CheckOrImm()
2585 Val = GetVBR(Val, MatcherTable, MatcherIndex); in CheckOrImm()
2730 const unsigned char *MatcherTable, in SelectCodeCommon() argument
2827 } else if (MatcherTable[0] == OPC_SwitchOpcode) { in SelectCodeCommon()
2834 unsigned CaseSize = MatcherTable[Idx++]; in SelectCodeCommon()
2836 CaseSize = GetVBR(CaseSize, MatcherTable, Idx); in SelectCodeCommon()
2840 uint16_t Opc = MatcherTable[Idx++]; in SelectCodeCommon()
2841 Opc |= (unsigned short)MatcherTable[Idx++] << 8; in SelectCodeCommon()
2858 BuiltinOpcodes Opcode = (BuiltinOpcodes)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2869 unsigned NumToSkip = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2871 NumToSkip = GetVBR(NumToSkip, MatcherTable, MatcherIndex); in SelectCodeCommon()
2887 MatcherIndex = IsPredicateKnownToFail(MatcherTable, MatcherIndex, N, in SelectCodeCommon()
2951 unsigned ChildNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2979 if (!::CheckSame(MatcherTable, MatcherIndex, N, RecordedNodes)) break; in SelectCodeCommon()
2984 if (!::CheckChildSame(MatcherTable, MatcherIndex, N, RecordedNodes, in SelectCodeCommon()
2990 if (!::CheckPatternPredicate(MatcherTable, MatcherIndex, *this)) break; in SelectCodeCommon()
2993 if (!::CheckNodePredicate(MatcherTable, MatcherIndex, *this, in SelectCodeCommon()
2998 unsigned CPNum = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2999 unsigned RecNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3016 if (!::CheckOpcode(MatcherTable, MatcherIndex, N.getNode())) break; in SelectCodeCommon()
3020 if (!::CheckType(MatcherTable, MatcherIndex, N, TLI, in SelectCodeCommon()
3031 CaseSize = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3033 CaseSize = GetVBR(CaseSize, MatcherTable, MatcherIndex); in SelectCodeCommon()
3036 uint16_t Opc = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3037 Opc |= (unsigned short)MatcherTable[MatcherIndex++] << 8; in SelectCodeCommon()
3062 CaseSize = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3064 CaseSize = GetVBR(CaseSize, MatcherTable, MatcherIndex); in SelectCodeCommon()
3067 MVT CaseVT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3091 if (!::CheckChildType(MatcherTable, MatcherIndex, N, TLI, in SelectCodeCommon()
3097 if (!::CheckCondCode(MatcherTable, MatcherIndex, N)) break; in SelectCodeCommon()
3100 if (!::CheckValueType(MatcherTable, MatcherIndex, N, TLI, in SelectCodeCommon()
3105 if (!::CheckInteger(MatcherTable, MatcherIndex, N)) break; in SelectCodeCommon()
3110 if (!::CheckChildInteger(MatcherTable, MatcherIndex, N, in SelectCodeCommon()
3114 if (!::CheckAndImm(MatcherTable, MatcherIndex, N, *this)) break; in SelectCodeCommon()
3117 if (!::CheckOrImm(MatcherTable, MatcherIndex, N, *this)) break; in SelectCodeCommon()
3145 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3146 int64_t Val = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3148 Val = GetVBR(Val, MatcherTable, MatcherIndex); in SelectCodeCommon()
3156 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3157 unsigned RegNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3167 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3168 unsigned RegNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3169 RegNo |= MatcherTable[MatcherIndex++] << 8; in SelectCodeCommon()
3177 unsigned RecNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3234 unsigned NumChains = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3242 unsigned RecNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3269 unsigned RecNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3271 unsigned DestPhysReg = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3285 unsigned XFormNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3286 unsigned RecNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3296 uint16_t TargetOpc = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3297 TargetOpc |= (unsigned short)MatcherTable[MatcherIndex++] << 8; in SelectCodeCommon()
3298 unsigned EmitNodeInfo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3308 NumVTs = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3312 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3334 unsigned NumOps = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3337 unsigned RecNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3339 RecNo = GetVBR(RecNo, MatcherTable, MatcherIndex); in SelectCodeCommon()
3472 unsigned NumResults = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3475 unsigned ResSlot = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3477 ResSlot = GetVBR(ResSlot, MatcherTable, MatcherIndex); in SelectCodeCommon()
3549 unsigned NumToSkip = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3551 NumToSkip = GetVBR(NumToSkip, MatcherTable, MatcherIndex); in SelectCodeCommon()