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

References

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 1016   SL->init(DAG.getTargetLoweringInfo(), TM, DAG.getDataLayout());
 2057       SL->SwitchCases.push_back(CB);
 2066   SL->SwitchCases.push_back(CB);
 2275       assert(SL->SwitchCases[0].ThisBB == BrMBB && "Unexpected lowering!");
 2278       if (ShouldEmitAsBranches(SL->SwitchCases)) {
 2279         for (unsigned i = 1, e = SL->SwitchCases.size(); i != e; ++i) {
 2280           ExportFromCurrentBlock(SL->SwitchCases[i].CmpLHS);
 2281           ExportFromCurrentBlock(SL->SwitchCases[i].CmpRHS);
 2285         visitSwitchCase(SL->SwitchCases[0], BrMBB);
 2286         SL->SwitchCases.erase(SL->SwitchCases.begin());
 2286         SL->SwitchCases.erase(SL->SwitchCases.begin());
 2292       for (unsigned i = 1, e = SL->SwitchCases.size(); i != e; ++i)
 2293         FuncInfo.MF->erase(SL->SwitchCases[i].ThisBB);
 2295       SL->SwitchCases.clear();
 2910   for (unsigned i = 0, e = SL->JTCases.size(); i != e; ++i)
 2911     if (SL->JTCases[i].first.HeaderBB == First)
 2912       SL->JTCases[i].first.HeaderBB = Last;
 2915   for (unsigned i = 0, e = SL->BitTestCases.size(); i != e; ++i)
 2916     if (SL->BitTestCases[i].Parent == First)
 2917       SL->BitTestCases[i].Parent = Last;
10161         JumpTableHeader *JTH = &SL->JTCases[I->JTCasesIndex].first;
10162         SwitchCG::JumpTable *JT = &SL->JTCases[I->JTCasesIndex].second;
10210         BitTestBlock *BTB = &SL->BitTestCases[I->BTCasesIndex];
10269           SL->SwitchCases.push_back(CB);
10420     SL->SwitchCases.push_back(CB);
10532   SL->findJumpTables(Clusters, &SI, DefaultMBB);
10533   SL->findBitTestClusters(Clusters, &SI);
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 1774   for (auto &BTB : SDB->SL->BitTestCases) {
 1855   SDB->SL->BitTestCases.clear();
 1860   for (unsigned i = 0, e = SDB->SL->JTCases.size(); i != e; ++i) {
 1862     if (!SDB->SL->JTCases[i].first.Emitted) {
 1864       FuncInfo->MBB = SDB->SL->JTCases[i].first.HeaderBB;
 1867       SDB->visitJumpTableHeader(SDB->SL->JTCases[i].second,
 1868                                 SDB->SL->JTCases[i].first, FuncInfo->MBB);
 1875     FuncInfo->MBB = SDB->SL->JTCases[i].second.MBB;
 1878     SDB->visitJumpTable(SDB->SL->JTCases[i].second);
 1891       if (PHIBB == SDB->SL->JTCases[i].second.Default)
 1893            .addMBB(SDB->SL->JTCases[i].first.HeaderBB);
 1899   SDB->SL->JTCases.clear();
 1903   for (unsigned i = 0, e = SDB->SL->SwitchCases.size(); i != e; ++i) {
 1905     FuncInfo->MBB = SDB->SL->SwitchCases[i].ThisBB;
 1910     Succs.push_back(SDB->SL->SwitchCases[i].TrueBB);
 1911     if (SDB->SL->SwitchCases[i].TrueBB != SDB->SL->SwitchCases[i].FalseBB)
 1911     if (SDB->SL->SwitchCases[i].TrueBB != SDB->SL->SwitchCases[i].FalseBB)
 1912       Succs.push_back(SDB->SL->SwitchCases[i].FalseBB);
 1915     SDB->visitSwitchCase(SDB->SL->SwitchCases[i], FuncInfo->MBB);
 1951   SDB->SL->SwitchCases.clear();