reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 2843       MatcherIndex = OpcodeOffset[N.getOpcode()];
 2844     LLVM_DEBUG(dbgs() << "  Initial Opcode index to " << MatcherIndex << "\n");
 2869       MatcherIndex = OpcodeOffset[N.getOpcode()];
 2873     assert(MatcherIndex < TableSize && "Invalid index");
 2875     unsigned CurrentOpcodeIndex = MatcherIndex;
 2877     BuiltinOpcodes Opcode = (BuiltinOpcodes)MatcherTable[MatcherIndex++];
 2888         unsigned NumToSkip = MatcherTable[MatcherIndex++];
 2890           NumToSkip = GetVBR(NumToSkip, MatcherTable, MatcherIndex);
 2897         FailIndex = MatcherIndex+NumToSkip;
 2899         unsigned MatcherIndexOfPredicate = MatcherIndex;
 2906         MatcherIndex = IsPredicateKnownToFail(MatcherTable, MatcherIndex, N,
 2906         MatcherIndex = IsPredicateKnownToFail(MatcherTable, MatcherIndex, N,
 2919         MatcherIndex = FailIndex;
 2977       unsigned ChildNo = MatcherTable[MatcherIndex++];
 3005       if (!::CheckSame(MatcherTable, MatcherIndex, N, RecordedNodes)) break;
 3010       if (!::CheckChildSame(MatcherTable, MatcherIndex, N, RecordedNodes,
 3016       if (!::CheckPatternPredicate(MatcherTable, MatcherIndex, *this)) break;
 3019       if (!::CheckNodePredicate(MatcherTable, MatcherIndex, *this,
 3024       unsigned OpNum = MatcherTable[MatcherIndex++];
 3028         Operands.push_back(RecordedNodes[MatcherTable[MatcherIndex++]].first);
 3030       unsigned PredNo = MatcherTable[MatcherIndex++];
 3036       unsigned CPNum = MatcherTable[MatcherIndex++];
 3037       unsigned RecNo = MatcherTable[MatcherIndex++];
 3054       if (!::CheckOpcode(MatcherTable, MatcherIndex, N.getNode())) break;
 3058       if (!::CheckType(MatcherTable, MatcherIndex, N, TLI,
 3064       unsigned Res = MatcherTable[MatcherIndex++];
 3065       if (!::CheckType(MatcherTable, MatcherIndex, N.getValue(Res), TLI,
 3073       unsigned SwitchStart = MatcherIndex-1; (void)SwitchStart;
 3077         CaseSize = MatcherTable[MatcherIndex++];
 3079           CaseSize = GetVBR(CaseSize, MatcherTable, MatcherIndex);
 3082         uint16_t Opc = MatcherTable[MatcherIndex++];
 3083         Opc |= (unsigned short)MatcherTable[MatcherIndex++] << 8;
 3090         MatcherIndex += CaseSize;
 3098                         << MatcherIndex << "\n");
 3104       unsigned SwitchStart = MatcherIndex-1; (void)SwitchStart;
 3108         CaseSize = MatcherTable[MatcherIndex++];
 3110           CaseSize = GetVBR(CaseSize, MatcherTable, MatcherIndex);
 3113         MVT CaseVT = (MVT::SimpleValueType)MatcherTable[MatcherIndex++];
 3122         MatcherIndex += CaseSize;
 3130                         << "] from " << SwitchStart << " to " << MatcherIndex
 3138       if (!::CheckChildType(MatcherTable, MatcherIndex, N, TLI,
 3144       if (!::CheckCondCode(MatcherTable, MatcherIndex, N)) break;
 3147       if (!::CheckChild2CondCode(MatcherTable, MatcherIndex, N)) break;
 3150       if (!::CheckValueType(MatcherTable, MatcherIndex, N, TLI,
 3155       if (!::CheckInteger(MatcherTable, MatcherIndex, N)) break;
 3160       if (!::CheckChildInteger(MatcherTable, MatcherIndex, N,
 3164       if (!::CheckAndImm(MatcherTable, MatcherIndex, N, *this)) break;
 3167       if (!::CheckOrImm(MatcherTable, MatcherIndex, N, *this)) break;
 3201         (MVT::SimpleValueType)MatcherTable[MatcherIndex++];
 3202       int64_t Val = MatcherTable[MatcherIndex++];
 3204         Val = GetVBR(Val, MatcherTable, MatcherIndex);
 3212         (MVT::SimpleValueType)MatcherTable[MatcherIndex++];
 3213       unsigned RegNo = MatcherTable[MatcherIndex++];
 3223         (MVT::SimpleValueType)MatcherTable[MatcherIndex++];
 3224       unsigned RegNo = MatcherTable[MatcherIndex++];
 3225       RegNo |= MatcherTable[MatcherIndex++] << 8;
 3233       unsigned RecNo = MatcherTable[MatcherIndex++];
 3290       unsigned NumChains = MatcherTable[MatcherIndex++];
 3298         unsigned RecNo = MatcherTable[MatcherIndex++];
 3326       unsigned RecNo = MatcherTable[MatcherIndex++];
 3328       unsigned DestPhysReg = MatcherTable[MatcherIndex++];
 3330         DestPhysReg |= MatcherTable[MatcherIndex++] << 8;
 3344       unsigned XFormNo = MatcherTable[MatcherIndex++];
 3345       unsigned RecNo = MatcherTable[MatcherIndex++];
 3354       unsigned index = MatcherTable[MatcherIndex++];
 3355       index |= (MatcherTable[MatcherIndex++] << 8);
 3364       uint16_t TargetOpc = MatcherTable[MatcherIndex++];
 3365       TargetOpc |= (unsigned short)MatcherTable[MatcherIndex++] << 8;
 3366       unsigned EmitNodeInfo = MatcherTable[MatcherIndex++];
 3376         NumVTs = MatcherTable[MatcherIndex++];
 3380           (MVT::SimpleValueType)MatcherTable[MatcherIndex++];
 3402       unsigned NumOps = MatcherTable[MatcherIndex++];
 3405         unsigned RecNo = MatcherTable[MatcherIndex++];
 3407           RecNo = GetVBR(RecNo, MatcherTable, MatcherIndex);
 3526       unsigned NumResults = MatcherTable[MatcherIndex++];
 3529         unsigned ResSlot = MatcherTable[MatcherIndex++];
 3531           ResSlot = GetVBR(ResSlot, MatcherTable, MatcherIndex);
 3592       MatcherIndex = LastScope.FailIndex;
 3594       LLVM_DEBUG(dbgs() << "  Continuing at " << MatcherIndex << "\n");
 3604       unsigned NumToSkip = MatcherTable[MatcherIndex++];
 3606         NumToSkip = GetVBR(NumToSkip, MatcherTable, MatcherIndex);
 3611         LastScope.FailIndex = MatcherIndex+NumToSkip;