Lines Matching refs:MatcherTable

2024 GetVBR(uint64_t Val, const unsigned char *MatcherTable, unsigned &Idx) {  in GetVBR()  argument
2031 NextBits = MatcherTable[Idx++]; in GetVBR()
2350 CheckSame(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckSame() argument
2354 unsigned RecNo = MatcherTable[MatcherIndex++]; in CheckSame()
2361 CheckChildSame(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckChildSame() argument
2367 return ::CheckSame(MatcherTable, MatcherIndex, N.getOperand(ChildNo), in CheckChildSame()
2373 CheckPatternPredicate(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckPatternPredicate() argument
2375 return SDISel.CheckPatternPredicate(MatcherTable[MatcherIndex++]); in CheckPatternPredicate()
2380 CheckNodePredicate(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckNodePredicate() argument
2382 return SDISel.CheckNodePredicate(N, MatcherTable[MatcherIndex++]); in CheckNodePredicate()
2386 CheckOpcode(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckOpcode() argument
2388 uint16_t Opc = MatcherTable[MatcherIndex++]; in CheckOpcode()
2389 Opc |= (unsigned short)MatcherTable[MatcherIndex++] << 8; in CheckOpcode()
2394 CheckType(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckType() argument
2396 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckType()
2404 CheckChildType(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckChildType() argument
2408 return ::CheckType(MatcherTable, MatcherIndex, N.getOperand(ChildNo), TLI); in CheckChildType()
2412 CheckCondCode(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckCondCode() argument
2415 (ISD::CondCode)MatcherTable[MatcherIndex++]; in CheckCondCode()
2419 CheckValueType(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckValueType() argument
2421 MVT::SimpleValueType VT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in CheckValueType()
2430 CheckInteger(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckInteger() argument
2432 int64_t Val = MatcherTable[MatcherIndex++]; in CheckInteger()
2434 Val = GetVBR(Val, MatcherTable, MatcherIndex); in CheckInteger()
2441 CheckChildInteger(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckChildInteger() argument
2445 return ::CheckInteger(MatcherTable, MatcherIndex, N.getOperand(ChildNo)); in CheckChildInteger()
2449 CheckAndImm(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckAndImm() argument
2451 int64_t Val = MatcherTable[MatcherIndex++]; in CheckAndImm()
2453 Val = GetVBR(Val, MatcherTable, MatcherIndex); in CheckAndImm()
2462 CheckOrImm(const unsigned char *MatcherTable, unsigned &MatcherIndex, in CheckOrImm() argument
2464 int64_t Val = MatcherTable[MatcherIndex++]; in CheckOrImm()
2466 Val = GetVBR(Val, MatcherTable, MatcherIndex); in CheckOrImm()
2610 SelectCodeCommon(SDNode *NodeToMatch, const unsigned char *MatcherTable, in SelectCodeCommon() argument
2698 } else if (MatcherTable[0] == OPC_SwitchOpcode) { in SelectCodeCommon()
2705 unsigned CaseSize = MatcherTable[Idx++]; in SelectCodeCommon()
2707 CaseSize = GetVBR(CaseSize, MatcherTable, Idx); in SelectCodeCommon()
2711 uint16_t Opc = MatcherTable[Idx++]; in SelectCodeCommon()
2712 Opc |= (unsigned short)MatcherTable[Idx++] << 8; in SelectCodeCommon()
2729 BuiltinOpcodes Opcode = (BuiltinOpcodes)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2740 unsigned NumToSkip = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2742 NumToSkip = GetVBR(NumToSkip, MatcherTable, MatcherIndex); in SelectCodeCommon()
2758 MatcherIndex = IsPredicateKnownToFail(MatcherTable, MatcherIndex, N, in SelectCodeCommon()
2823 unsigned ChildNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2839 if (!::CheckSame(MatcherTable, MatcherIndex, N, RecordedNodes)) break; in SelectCodeCommon()
2844 if (!::CheckChildSame(MatcherTable, MatcherIndex, N, RecordedNodes, in SelectCodeCommon()
2850 if (!::CheckPatternPredicate(MatcherTable, MatcherIndex, *this)) break; in SelectCodeCommon()
2853 if (!::CheckNodePredicate(MatcherTable, MatcherIndex, *this, in SelectCodeCommon()
2858 unsigned CPNum = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2859 unsigned RecNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2876 if (!::CheckOpcode(MatcherTable, MatcherIndex, N.getNode())) break; in SelectCodeCommon()
2880 if (!::CheckType(MatcherTable, MatcherIndex, N, TLI)) in SelectCodeCommon()
2890 CaseSize = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2892 CaseSize = GetVBR(CaseSize, MatcherTable, MatcherIndex); in SelectCodeCommon()
2895 uint16_t Opc = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2896 Opc |= (unsigned short)MatcherTable[MatcherIndex++] << 8; in SelectCodeCommon()
2921 CaseSize = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2923 CaseSize = GetVBR(CaseSize, MatcherTable, MatcherIndex); in SelectCodeCommon()
2926 MVT CaseVT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
2950 if (!::CheckChildType(MatcherTable, MatcherIndex, N, TLI, in SelectCodeCommon()
2955 if (!::CheckCondCode(MatcherTable, MatcherIndex, N)) break; in SelectCodeCommon()
2958 if (!::CheckValueType(MatcherTable, MatcherIndex, N, TLI)) in SelectCodeCommon()
2962 if (!::CheckInteger(MatcherTable, MatcherIndex, N)) break; in SelectCodeCommon()
2967 if (!::CheckChildInteger(MatcherTable, MatcherIndex, N, in SelectCodeCommon()
2971 if (!::CheckAndImm(MatcherTable, MatcherIndex, N, *this)) break; in SelectCodeCommon()
2974 if (!::CheckOrImm(MatcherTable, MatcherIndex, N, *this)) break; in SelectCodeCommon()
3002 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3003 int64_t Val = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3005 Val = GetVBR(Val, MatcherTable, MatcherIndex); in SelectCodeCommon()
3012 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3013 unsigned RegNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3023 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3024 unsigned RegNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3025 RegNo |= MatcherTable[MatcherIndex++] << 8; in SelectCodeCommon()
3033 unsigned RecNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3087 unsigned NumChains = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3095 unsigned RecNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3122 unsigned RecNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3124 unsigned DestPhysReg = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3138 unsigned XFormNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3139 unsigned RecNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3148 uint16_t TargetOpc = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3149 TargetOpc |= (unsigned short)MatcherTable[MatcherIndex++] << 8; in SelectCodeCommon()
3150 unsigned EmitNodeInfo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3152 unsigned NumVTs = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3156 (MVT::SimpleValueType)MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3178 unsigned NumOps = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3181 unsigned RecNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3183 RecNo = GetVBR(RecNo, MatcherTable, MatcherIndex); in SelectCodeCommon()
3309 unsigned NumNodes = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3313 unsigned RecNo = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3315 RecNo = GetVBR(RecNo, MatcherTable, MatcherIndex); in SelectCodeCommon()
3327 unsigned NumResults = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3330 unsigned ResSlot = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3332 ResSlot = GetVBR(ResSlot, MatcherTable, MatcherIndex); in SelectCodeCommon()
3402 unsigned NumToSkip = MatcherTable[MatcherIndex++]; in SelectCodeCommon()
3404 NumToSkip = GetVBR(NumToSkip, MatcherTable, MatcherIndex); in SelectCodeCommon()