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

References

tools/clang/lib/CodeGen/CGStmt.cpp
 1203       if (SwitchWeights)
 1204         SwitchWeights->push_back(Weight + (Rem ? 1 : 0));
 1233   if (SwitchWeights) {
 1235     uint64_t DefaultCount = (*SwitchWeights)[0];
 1241     (*SwitchWeights)[0] += ThisCount;
 1282       if (SwitchWeights)
 1283         SwitchWeights->push_back(getProfileCount(&S));
 1298   if (SwitchWeights)
 1299     SwitchWeights->push_back(getProfileCount(&S));
 1320     if (SwitchWeights)
 1321       SwitchWeights->push_back(getProfileCount(NextCase));
 1588   SmallVector<uint64_t, 16> *SavedSwitchWeights = SwitchWeights;
 1658     SwitchWeights = new SmallVector<uint64_t, 16>();
 1659     SwitchWeights->reserve(NumCases);
 1662     SwitchWeights->push_back(DefaultCount);
 1719   if (SwitchWeights) {
 1720     assert(SwitchWeights->size() == 1 + SwitchInsn->getNumCases() &&
 1723     if (SwitchWeights->size() > 1)
 1725                               createProfileWeights(*SwitchWeights));
 1726     delete SwitchWeights;
 1729   SwitchWeights = SavedSwitchWeights;