_ZN7llvm_ks7APFloat6getInfERKNS_12fltSemanticsEb:
  225|    639|  static APFloat getInf(const fltSemantics &Sem, bool Negative = false) {
  226|    639|    APFloat Val(Sem, uninitialized);
  227|    639|    Val.makeInf(Negative);
  228|    639|    return Val;
  229|    639|  }
_ZN7llvm_ks7APFloat6getNaNERKNS_12fltSemanticsEbj:
  237|    410|                        unsigned type = 0) {
  238|    410|    if (type) {
  ------------------
  |  Branch (238:9): [True: 410, False: 0]
  ------------------
  239|    410|      APInt fill(64, type);
  240|    410|      return getQNaN(Sem, Negative, &fill);
  241|    410|    } else {
  242|      0|      return getQNaN(Sem, Negative, nullptr);
  243|      0|    }
  244|    410|  }
_ZN7llvm_ks7APFloat7getQNaNERKNS_12fltSemanticsEbPKNS_5APIntE:
  248|    410|                         const APInt *payload = nullptr) {
  249|    410|    return makeNaN(Sem, false, Negative, payload);
  250|    410|  }
_ZNK7llvm_ks7APFloat12needsCleanupEv:
  208|   114k|  bool needsCleanup() const { return partCount() > 1; }
_ZN7llvm_ks7APFloat7getZeroERKNS_12fltSemanticsEb:
  216|  35.0k|  static APFloat getZero(const fltSemantics &Sem, bool Negative = false) {
  217|  35.0k|    APFloat Val(Sem, uninitialized);
  218|  35.0k|    Val.makeZero(Negative);
  219|  35.0k|    return Val;
  220|  35.0k|  }
_ZNK7llvm_ks7APFloat8isFiniteEv:
  414|   186k|  bool isFinite() const { return !isNaN() && !isInfinity(); }
  ------------------
  |  Branch (414:34): [True: 185k, False: 464]
  |  Branch (414:46): [True: 183k, False: 1.94k]
  ------------------
_ZNK7llvm_ks7APFloat6isZeroEv:
  417|   183k|  bool isZero() const { return category == fcZero; }
_ZNK7llvm_ks7APFloat10isInfinityEv:
  424|   185k|  bool isInfinity() const { return category == fcInfinity; }
_ZNK7llvm_ks7APFloat5isNaNEv:
  427|   186k|  bool isNaN() const { return category == fcNaN; }
_ZNK7llvm_ks7APFloat15isFiniteNonZeroEv:
  440|   186k|  bool isFiniteNonZero() const { return isFinite() && !isZero(); }
  ------------------
  |  Branch (440:41): [True: 183k, False: 2.41k]
  |  Branch (440:55): [True: 179k, False: 4.00k]
  ------------------

_ZN7llvm_ks5APIntC2EPmj:
   98|  1.38M|  APInt(uint64_t *val, unsigned bits) : BitWidth(bits), pVal(val) {}
_ZNK7llvm_ks5APInt12isSingleWordEv:
  103|  55.7M|  bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; }
_ZN7llvm_ks5APInt9whichWordEj:
  108|  17.7k|  static unsigned whichWord(unsigned bitPosition) {
  109|  17.7k|    return bitPosition / APINT_BITS_PER_WORD;
  110|  17.7k|  }
_ZN7llvm_ks5APInt15clearUnusedBitsEv:
  136|  15.4M|  APInt &clearUnusedBits() {
  137|       |    // Compute how many bits are used in the final word
  138|  15.4M|    unsigned wordBits = BitWidth % APINT_BITS_PER_WORD;
  139|  15.4M|    if (wordBits == 0)
  ------------------
  |  Branch (139:9): [True: 15.3M, False: 134k]
  ------------------
  140|       |      // If all bits are used, we want to leave the value alone. This also
  141|       |      // avoids the undefined behavior of >> when the shift is the same size as
  142|       |      // the word size (64).
  143|  15.3M|      return *this;
  144|       |
  145|       |    // Mask out the high bits.
  146|   134k|    uint64_t mask = ~uint64_t(0ULL) >> (APINT_BITS_PER_WORD - wordBits);
  147|   134k|    if (isSingleWord())
  ------------------
  |  Branch (147:9): [True: 6.69k, False: 127k]
  ------------------
  148|  6.69k|      VAL &= mask;
  149|   127k|    else
  150|   127k|      pVal[getNumWords() - 1] &= mask;
  151|   134k|    return *this;
  152|  15.4M|  }
_ZN7llvm_ks5APIntC2Ejmb:
  237|  13.2M|      : BitWidth(numBits), VAL(0) {
  238|  13.2M|    assert(BitWidth && "bitwidth too small");
  ------------------
  |  Branch (238:5): [True: 13.2M, False: 0]
  |  Branch (238:5): [True: 13.2M, Folded]
  |  Branch (238:5): [True: 13.2M, False: 0]
  ------------------
  239|  13.2M|    if (isSingleWord())
  ------------------
  |  Branch (239:9): [True: 12.4M, False: 849k]
  ------------------
  240|  12.4M|      VAL = val;
  241|   849k|    else
  242|   849k|      initSlowCase(numBits, val, isSigned);
  243|  13.2M|    clearUnusedBits();
  244|  13.2M|  }
_ZN7llvm_ks5APIntC2ERKS0_:
  279|  3.32M|  APInt(const APInt &that) : BitWidth(that.BitWidth), VAL(0) {
  280|  3.32M|    if (isSingleWord())
  ------------------
  |  Branch (280:9): [True: 1.85M, False: 1.47M]
  ------------------
  281|  1.85M|      VAL = that.VAL;
  282|  1.47M|    else
  283|  1.47M|      initSlowCase(that);
  284|  3.32M|  }
_ZN7llvm_ks5APIntC2EOS0_:
  287|  13.0M|  APInt(APInt &&that) : BitWidth(that.BitWidth), VAL(that.VAL) {
  288|  13.0M|    that.BitWidth = 0;
  289|  13.0M|  }
_ZN7llvm_ks5APIntD2Ev:
  292|  32.5M|  ~APInt() {
  293|  32.5M|    if (needsCleanup())
  ------------------
  |  Branch (293:9): [True: 2.19M, False: 30.3M]
  ------------------
  294|  2.19M|      delete[] pVal;
  295|  32.5M|  }
_ZN7llvm_ks5APIntC2Ev:
  302|  1.46M|  explicit APInt() : BitWidth(1), VAL(0) {}
_ZNK7llvm_ks5APInt12needsCleanupEv:
  305|  32.5M|  bool needsCleanup() const { return !isSingleWord(); }
_ZNK7llvm_ks5APInt6isIntNEj:
  373|   848k|  bool isIntN(unsigned N) const {
  374|   848k|    assert(N && "N == 0 ???");
  ------------------
  |  Branch (374:5): [True: 848k, False: 0]
  |  Branch (374:5): [True: 848k, Folded]
  |  Branch (374:5): [True: 848k, False: 0]
  ------------------
  375|   848k|    return getActiveBits() <= N;
  376|   848k|  }
_ZNK7llvm_ks5APInt15getLimitedValueEm:
  405|  5.15k|  uint64_t getLimitedValue(uint64_t Limit = ~0ULL) const {
  406|  5.15k|    return (getActiveBits() > 64 || getZExtValue() > Limit) ? Limit
  ------------------
  |  Branch (406:13): [True: 0, False: 5.15k]
  |  Branch (406:37): [True: 0, False: 5.15k]
  ------------------
  407|  5.15k|                                                            : getZExtValue();
  408|  5.15k|  }
_ZNK7llvm_ks5APInt10getRawDataEv:
  574|  3.01k|  const uint64_t *getRawData() const {
  575|  3.01k|    if (isSingleWord())
  ------------------
  |  Branch (575:9): [True: 550, False: 2.46k]
  ------------------
  576|    550|      return &VAL;
  577|  2.46k|    return &pVal[0];
  578|  3.01k|  }
_ZN7llvm_ks5APIntaSERKS0_:
  652|  19.9k|  APInt &operator=(const APInt &RHS) {
  653|       |    // If the bitwidths are the same, we can avoid mucking with memory
  654|  19.9k|    if (isSingleWord() && RHS.isSingleWord()) {
  ------------------
  |  Branch (654:9): [True: 18.4k, False: 1.47k]
  |  Branch (654:27): [True: 17.0k, False: 1.47k]
  ------------------
  655|  17.0k|      VAL = RHS.VAL;
  656|  17.0k|      BitWidth = RHS.BitWidth;
  657|  17.0k|      return clearUnusedBits();
  658|  17.0k|    }
  659|       |
  660|  2.94k|    return AssignSlowCase(RHS);
  661|  19.9k|  }
_ZN7llvm_ks5APIntaSEOS0_:
  664|  1.50M|  APInt &operator=(APInt &&that) {
  665|  1.50M|    if (!isSingleWord()) {
  ------------------
  |  Branch (665:9): [True: 1.50M, False: 691]
  ------------------
  666|       |      // The MSVC STL shipped in 2013 requires that self move assignment be a
  667|       |      // no-op.  Otherwise algorithms like stable_sort will produce answers
  668|       |      // where half of the output is left in a moved-from state.
  669|  1.50M|      if (this == &that)
  ------------------
  |  Branch (669:11): [True: 0, False: 1.50M]
  ------------------
  670|      0|        return *this;
  671|  1.50M|      delete[] pVal;
  672|  1.50M|    }
  673|       |
  674|       |    // Use memcpy so that type based alias analysis sees both VAL and pVal
  675|       |    // as modified.
  676|  1.50M|    memcpy(&VAL, &that.VAL, sizeof(uint64_t));
  677|       |
  678|       |    // If 'this == &that', avoid zeroing our own bitwidth by storing to 'that'
  679|       |    // first.
  680|  1.50M|    unsigned ThatBitWidth = that.BitWidth;
  681|  1.50M|    that.BitWidth = 0;
  682|  1.50M|    BitWidth = ThatBitWidth;
  683|       |
  684|  1.50M|    return *this;
  685|  1.50M|  }
_ZN7llvm_ks5APIntoREm:
  717|  1.37M|  APInt &operator|=(uint64_t RHS) {
  718|  1.37M|    if (isSingleWord()) {
  ------------------
  |  Branch (718:9): [True: 0, False: 1.37M]
  ------------------
  719|      0|      VAL |= RHS;
  720|      0|      clearUnusedBits();
  721|  1.37M|    } else {
  722|  1.37M|      pVal[0] |= RHS;
  723|  1.37M|    }
  724|  1.37M|    return *this;
  725|  1.37M|  }
_ZN7llvm_ks5APIntlSEj:
  761|  1.37M|  APInt &operator<<=(unsigned shiftAmt) {
  762|  1.37M|    *this = shl(shiftAmt);
  763|  1.37M|    return *this;
  764|  1.37M|  }
_ZNK7llvm_ks5APInt3shlEj:
  869|  1.37M|  APInt LLVM_ATTRIBUTE_UNUSED_RESULT shl(unsigned shiftAmt) const {
  870|  1.37M|    assert(shiftAmt <= BitWidth && "Invalid shift amount");
  ------------------
  |  Branch (870:5): [True: 1.37M, False: 0]
  |  Branch (870:5): [True: 1.37M, Folded]
  |  Branch (870:5): [True: 1.37M, False: 0]
  ------------------
  871|  1.37M|    if (isSingleWord()) {
  ------------------
  |  Branch (871:9): [True: 0, False: 1.37M]
  ------------------
  872|      0|      if (shiftAmt >= BitWidth)
  ------------------
  |  Branch (872:11): [True: 0, False: 0]
  ------------------
  873|      0|        return APInt(BitWidth, 0); // avoid undefined shift results
  874|      0|      return APInt(BitWidth, VAL << shiftAmt);
  875|      0|    }
  876|  1.37M|    return shlSlowCase(shiftAmt);
  877|  1.37M|  }
_ZN7llvm_ks5APInt12clearAllBitsEv:
 1240|  8.85k|  void clearAllBits() {
 1241|  8.85k|    if (isSingleWord())
  ------------------
  |  Branch (1241:9): [True: 0, False: 8.85k]
  ------------------
 1242|      0|      VAL = 0;
 1243|  8.85k|    else
 1244|  8.85k|      memset(pVal, 0, getNumWords() * APINT_WORD_SIZE);
 1245|  8.85k|  }
_ZNK7llvm_ks5APInt11getBitWidthEv:
 1274|  1.45M|  unsigned getBitWidth() const { return BitWidth; }
_ZNK7llvm_ks5APInt11getNumWordsEv:
 1281|  17.4M|  unsigned getNumWords() const { return getNumWords(BitWidth); }
_ZN7llvm_ks5APInt11getNumWordsEj:
 1289|  17.5M|  static unsigned getNumWords(unsigned BitWidth) {
 1290|  17.5M|    return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD;
 1291|  17.5M|  }
_ZNK7llvm_ks5APInt13getActiveBitsEv:
 1298|  1.05M|  unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); }
_ZNK7llvm_ks5APInt12getZExtValueEv:
 1328|   333k|  uint64_t getZExtValue() const {
 1329|   333k|    if (isSingleWord())
  ------------------
  |  Branch (1329:9): [True: 148k, False: 184k]
  ------------------
 1330|   148k|      return VAL;
 1331|   333k|    assert(getActiveBits() <= 64 && "Too many bits for uint64_t");
  ------------------
  |  Branch (1331:5): [True: 184k, False: 0]
  |  Branch (1331:5): [True: 184k, Folded]
  |  Branch (1331:5): [True: 184k, False: 0]
  ------------------
 1332|   184k|    return pVal[0];
 1333|   184k|  }
_ZNK7llvm_ks5APInt17countLeadingZerosEv:
 1362|  1.05M|  unsigned countLeadingZeros() const {
 1363|  1.05M|    if (isSingleWord()) {
  ------------------
  |  Branch (1363:9): [True: 130k, False: 925k]
  ------------------
 1364|   130k|      unsigned unusedBits = APINT_BITS_PER_WORD - BitWidth;
 1365|   130k|      return llvm_ks::countLeadingZeros(VAL) - unusedBits;
 1366|   130k|    }
 1367|   925k|    return countLeadingZerosSlowCase();
 1368|  1.05M|  }
_ZN7llvm_ks8APIntOps4lshrERKNS_5APIntEj:
 1841|    580|inline APInt lshr(const APInt &LHS, unsigned shiftAmt) {
 1842|    580|  return LHS.lshr(shiftAmt);
 1843|    580|}
_ZN7llvm_ks8APIntOps3shlERKNS_5APIntEj:
 1848|    290|inline APInt shl(const APInt &LHS, unsigned shiftAmt) {
 1849|    290|  return LHS.shl(shiftAmt);
 1850|    290|}

_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE5beginEv:
  123|  1.82M|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE3endEv:
  124|  1.89M|    iterator end() const { return Data + Length; }
_ZN7llvm_ks8ArrayRefINS_7SMRangeEEC2ENS_8NoneTypeE:
   54|  64.8k|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINS_7SMFixItEEC2ENS_8NoneTypeE:
   54|  65.8k|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINSt3__14pairIjjEEEC2INS1_9allocatorIS3_EEEERKNS1_6vectorIS3_T_EE:
   79|    998|      : Data(Vec.data()), Length(Vec.size()) {}
_ZN7llvm_ks15MutableArrayRefINS_8AsmTokenEEC2ERS1_:
  233|  8.71k|    /*implicit*/ MutableArrayRef(T &OneElt) : ArrayRef<T>(OneElt) {}
_ZN7llvm_ks8ArrayRefINS_8AsmTokenEEC2ERKS1_:
   58|  8.71k|      : Data(&OneElt), Length(1) {}
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE4sizeEv:
  135|  6.65M|    size_t size() const { return Length; }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE4backEv:
  144|  31.1k|    const T &back() const {
  145|  31.1k|      assert(!empty());
  ------------------
  |  Branch (145:7): [True: 31.1k, False: 0]
  ------------------
  146|  31.1k|      return Data[Length-1];
  147|  31.1k|    }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE5emptyEv:
  130|  31.1k|    bool empty() const { return Length == 0; }
_ZNK7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEE4sizeEv:
  135|  35.0k|    size_t size() const { return Length; }
_ZNK7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEixEm:
  185|  2.90k|    const T &operator[](size_t Index) const {
  186|  2.90k|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 2.90k, False: 0]
  |  Branch (186:7): [True: 2.90k, Folded]
  |  Branch (186:7): [True: 2.90k, False: 0]
  ------------------
  187|  2.90k|      return Data[Index];
  188|  2.90k|    }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEixEm:
  185|  24.2k|    const T &operator[](size_t Index) const {
  186|  24.2k|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 24.2k, False: 0]
  |  Branch (186:7): [True: 24.2k, Folded]
  |  Branch (186:7): [True: 24.2k, False: 0]
  ------------------
  187|  24.2k|      return Data[Index];
  188|  24.2k|    }
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2INSt3__19allocatorIS2_EEEERKNS5_6vectorIS2_T_EE:
   79|  23.4k|      : Data(Vec.data()), Length(Vec.size()) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2INS4_IS6_EEEERKNS2_IS6_T_EE:
   79|  22.8k|      : Data(Vec.data()), Length(Vec.size()) {}
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2ENS_8NoneTypeE:
   54|  6.60M|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2ENS_8NoneTypeE:
   54|  6.60M|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2ERKS2_:
   58|  27.6k|      : Data(&OneElt), Length(1) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2ERKS6_:
   58|  27.6k|      : Data(&OneElt), Length(1) {}
_ZN7llvm_ks8ArrayRefINS_7SMRangeEEC2ERKS1_:
   58|     42|      : Data(&OneElt), Length(1) {}
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE5emptyEv:
  130|  61.3k|    bool empty() const { return Length == 0; }
_ZN7llvm_ks8ArrayRefINS_7SMFixItEEC2IvEERKNS_25SmallVectorTemplateCommonIS1_T_EE:
   73|  61.3k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  61.3k|    }
_ZNK7llvm_ks8ArrayRefINS_7SMRangeEE4sizeEv:
  135|  64.8k|    size_t size() const { return Length; }
_ZNK7llvm_ks8ArrayRefINS_7SMRangeEEixEm:
  185|     42|    const T &operator[](size_t Index) const {
  186|     42|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 42, False: 0]
  |  Branch (186:7): [True: 42, Folded]
  |  Branch (186:7): [True: 42, False: 0]
  ------------------
  187|     42|      return Data[Index];
  188|     42|    }
_ZN7llvm_ks8ArrayRefINSt3__14pairIjjEEEC2IvEERKNS_25SmallVectorTemplateCommonIS3_T_EE:
   73|  64.8k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  64.8k|    }
_ZNK7llvm_ks8ArrayRefINSt3__14pairIjjEEE3vecEv:
  193|  65.8k|    std::vector<T> vec() const {
  194|  65.8k|      return std::vector<T>(Data, Data+Length);
  195|  65.8k|    }
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE5beginEv:
  123|  65.8k|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE3endEv:
  124|  65.8k|    iterator end() const { return Data + Length; }
_ZN7llvm_ks12makeArrayRefIcEENS_8ArrayRefIT_EEPKS2_m:
  313|  61.3k|  ArrayRef<T> makeArrayRef(const T *data, size_t length) {
  314|  61.3k|    return ArrayRef<T>(data, length);
  315|  61.3k|  }
_ZN7llvm_ks8ArrayRefIcEC2EPKcm:
   62|  61.3k|      : Data(data), Length(length) {}
_ZNK7llvm_ks8ArrayRefIcE4sizeEv:
  135|  11.4k|    size_t size() const { return Length; }
_ZN7llvm_ks15MutableArrayRefINS_8AsmTokenEEC2ILm3EEERAT__S1_:
  253|    196|      : ArrayRef<T>(Arr) {}
_ZN7llvm_ks8ArrayRefINS_8AsmTokenEEC2ILm3EEERAT__KS1_:
   84|    196|      : Data(Arr), Length(N) {}
_ZN7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEEC2ILm86EEERAT__KS1_:
   84|  17.0k|      : Data(Arr), Length(N) {}
_ZN7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEEC2ILm68EEERAT__KS1_:
   84|  17.0k|      : Data(Arr), Length(N) {}
_ZN7llvm_ks8ArrayRefINS_7MCFixupEEC2Ev:
   51|  10.3k|    /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks15MutableArrayRefIcEC2Ev:
  227|  10.3k|    /*implicit*/ MutableArrayRef() : ArrayRef<T>() {}
_ZN7llvm_ks8ArrayRefIcEC2Ev:
   51|  10.3k|    /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINS_7MCFixupEEC2IvEERKNS_25SmallVectorTemplateCommonIS1_T_EE:
   73|  10.3k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  10.3k|    }
_ZN7llvm_ks15MutableArrayRefIcEC2ERNS_15SmallVectorImplIcEE:
  244|  10.3k|    : ArrayRef<T>(Vec) {}
_ZN7llvm_ks8ArrayRefIcEC2IvEERKNS_25SmallVectorTemplateCommonIcT_EE:
   73|  10.3k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  10.3k|    }
_ZNK7llvm_ks8ArrayRefINS_7MCFixupEE5beginEv:
  123|  10.3k|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_7MCFixupEE3endEv:
  124|  10.3k|    iterator end() const { return Data + Length; }
_ZNK7llvm_ks15MutableArrayRefIcE4dataEv:
  255|  11.4k|    T *data() const { return const_cast<T*>(ArrayRef<T>::data()); }
_ZNK7llvm_ks8ArrayRefIcE4dataEv:
  132|  11.4k|    const T *data() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_8AsmTokenEE4sizeEv:
  135|  27.4k|    size_t size() const { return Length; }
_ZNK7llvm_ks15MutableArrayRefINS_8AsmTokenEEixEm:
  296|  9.27k|    T &operator[](size_t Index) const {
  297|  9.27k|      assert(Index < this->size() && "Invalid index!");
  ------------------
  |  Branch (297:7): [True: 9.27k, False: 0]
  |  Branch (297:7): [True: 9.27k, Folded]
  |  Branch (297:7): [True: 9.27k, False: 0]
  ------------------
  298|  9.27k|      return data()[Index];
  299|  9.27k|    }
_ZNK7llvm_ks15MutableArrayRefINS_8AsmTokenEE4dataEv:
  255|  9.27k|    T *data() const { return const_cast<T*>(ArrayRef<T>::data()); }
_ZNK7llvm_ks8ArrayRefINS_8AsmTokenEE4dataEv:
  132|  9.27k|    const T *data() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE5emptyEv:
  130|  34.0k|    bool empty() const { return Length == 0; }

_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEED2Ev:
  573|  17.0k|  ~DenseMap() {
  574|  17.0k|    this->destroyAll();
  575|  17.0k|    operator delete(Buckets);
  576|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E10destroyAllEv:
  264|  17.0k|  void destroyAll() {
  265|  17.0k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 0, False: 17.0k]
  ------------------
  266|      0|      return;
  267|       |
  268|  17.0k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|  8.74M|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 8.72M, False: 17.0k]
  ------------------
  270|  8.72M|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 4.17M, False: 4.55M]
  ------------------
  271|  4.17M|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 4.17M, False: 0]
  ------------------
  272|  4.17M|        P->getSecond().~ValueT();
  273|  8.72M|      P->getFirst().~KeyT();
  274|  8.72M|    }
  275|  17.0k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E13getNumBucketsEv:
  381|  14.4M|  unsigned getNumBuckets() const {
  382|  14.4M|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  14.4M|  }
_ZNK7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE13getNumBucketsEv:
  674|  14.4M|  unsigned getNumBuckets() const {
  675|  14.4M|    return NumBuckets;
  676|  14.4M|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E11getEmptyKeyEv:
  343|  14.2M|  static const KeyT getEmptyKey() {
  344|  14.2M|    return KeyInfoT::getEmptyKey();
  345|  14.2M|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E15getTombstoneKeyEv:
  346|  9.97M|  static const KeyT getTombstoneKey() {
  347|  9.97M|    return KeyInfoT::getTombstoneKey();
  348|  9.97M|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E10getBucketsEv:
  378|   170k|  BucketT *getBuckets() {
  379|   170k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|   170k|  }
_ZNK7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE10getBucketsEv:
  670|  10.0M|  BucketT *getBuckets() const {
  671|  10.0M|    return Buckets;
  672|  10.0M|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E13getBucketsEndEv:
  384|  85.2k|  BucketT *getBucketsEnd() {
  385|  85.2k|    return getBuckets() + getNumBuckets();
  386|  85.2k|  }
_ZN7llvm_ks6detail12DenseMapPairIjiE8getFirstEv:
   40|  84.3M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks6detail12DenseMapPairIjiE9getSecondEv:
   42|  25.3M|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEES3_jS5_S8_E13getNumBucketsEv:
  381|     63|  unsigned getNumBuckets() const {
  382|     63|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|     63|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEE13getNumBucketsEv:
  674|     63|  unsigned getNumBuckets() const {
  675|     63|    return NumBuckets;
  676|     63|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEE15allocateBucketsEj:
  678|     63|  bool allocateBuckets(unsigned Num) {
  679|     63|    NumBuckets = Num;
  680|     63|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 63, False: 0]
  ------------------
  681|     63|      Buckets = nullptr;
  682|     63|      return false;
  683|     63|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|     63|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getNumBucketsEv:
  381|  24.1k|  unsigned getNumBuckets() const {
  382|  24.1k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  24.1k|  }
_ZNK7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13getNumBucketsEv:
  674|  24.1k|  unsigned getNumBuckets() const {
  675|  24.1k|    return NumBuckets;
  676|  24.1k|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEE4initEj:
  612|     63|  void init(unsigned InitBuckets) {
  613|     63|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 63]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|     63|    } else {
  616|     63|      NumEntries = 0;
  617|     63|      NumTombstones = 0;
  618|     63|    }
  619|     63|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEES3_jS5_S8_E10destroyAllEv:
  264|     63|  void destroyAll() {
  265|     63|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 63, False: 0]
  ------------------
  266|     63|      return;
  267|       |
  268|      0|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|      0|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 0, False: 0]
  ------------------
  270|      0|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 0, False: 0]
  ------------------
  271|      0|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 0, False: 0]
  ------------------
  272|      0|        P->getSecond().~ValueT();
  273|      0|      P->getFirst().~KeyT();
  274|      0|    }
  275|      0|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E13getNumBucketsEv:
  381|  17.0k|  unsigned getNumBuckets() const {
  382|  17.0k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  17.0k|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE13getNumBucketsEv:
  674|  17.0k|  unsigned getNumBuckets() const {
  675|  17.0k|    return NumBuckets;
  676|  17.0k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E13getNumEntriesEv:
  351|  17.0k|  unsigned getNumEntries() const {
  352|  17.0k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  17.0k|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE13getNumEntriesEv:
  656|  17.0k|  unsigned getNumEntries() const {
  657|  17.0k|    return NumEntries;
  658|  17.0k|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE15allocateBucketsEj:
  678|  17.0k|  bool allocateBuckets(unsigned Num) {
  679|  17.0k|    NumBuckets = Num;
  680|  17.0k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 17.0k, False: 0]
  ------------------
  681|  17.0k|      Buckets = nullptr;
  682|  17.0k|      return false;
  683|  17.0k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  17.0k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E16getNumTombstonesEv:
  363|  17.0k|  unsigned getNumTombstones() const {
  364|  17.0k|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|  17.0k|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE16getNumTombstonesEv:
  663|  17.0k|  unsigned getNumTombstones() const {
  664|  17.0k|    return NumTombstones;
  665|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_EixERKj:
  233|  4.17M|  ValueT &operator[](const KeyT &Key) {
  234|  4.17M|    return FindAndConstruct(Key).second;
  235|  4.17M|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E16FindAndConstructERKj:
  225|  4.17M|  value_type& FindAndConstruct(const KeyT &Key) {
  226|  4.17M|    BucketT *TheBucket;
  227|  4.17M|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (227:9): [True: 0, False: 4.17M]
  ------------------
  228|      0|      return *TheBucket;
  229|       |
  230|  4.17M|    return *InsertIntoBucket(Key, ValueT(), TheBucket);
  231|  4.17M|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E15LookupBucketForIjEEbRKT_RPS6_:
  519|  9.92M|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  9.92M|    const BucketT *ConstFoundBucket;
  521|  9.92M|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  9.92M|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  9.92M|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  9.92M|    return Result;
  525|  9.92M|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E15LookupBucketForIjEEbRKT_RPKS6_:
  469|  9.92M|                       const BucketT *&FoundBucket) const {
  470|  9.92M|    const BucketT *BucketsPtr = getBuckets();
  471|  9.92M|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  9.92M|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 17.0k, False: 9.90M]
  ------------------
  474|  17.0k|      FoundBucket = nullptr;
  475|  17.0k|      return false;
  476|  17.0k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  9.90M|    const BucketT *FoundTombstone = nullptr;
  480|  9.90M|    const KeyT EmptyKey = getEmptyKey();
  481|  9.90M|    const KeyT TombstoneKey = getTombstoneKey();
  482|  9.90M|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 9.90M, False: 0]
  |  Branch (482:5): [True: 9.90M, False: 0]
  |  Branch (482:5): [True: 9.90M, Folded]
  |  Branch (482:5): [True: 9.90M, False: 0]
  ------------------
  483|  9.90M|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  9.90M|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  9.90M|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  9.90M|    unsigned ProbeAmt = 1;
  488|  9.90M|    while (1) {
  ------------------
  |  Branch (488:12): [True: 9.90M, Folded]
  ------------------
  489|  9.90M|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  9.90M|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|  9.90M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 0, False: 9.90M]
  |  |  ------------------
  ------------------
  492|      0|        FoundBucket = ThisBucket;
  493|      0|        return true;
  494|      0|      }
  495|       |
  496|       |      // If we found an empty bucket, the key doesn't exist in the set.
  497|       |      // Insert it and return the default value.
  498|  9.90M|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|  9.90M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 9.90M, False: 0]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  9.90M|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 9.90M]
  ------------------
  502|  9.90M|        return false;
  503|  9.90M|      }
  504|       |
  505|       |      // If this is a tombstone, remember it.  If Val ends up not in the map, we
  506|       |      // prefer to return it than something that would require more probing.
  507|      0|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 0]
  ------------------
  508|      0|          !FoundTombstone)
  ------------------
  |  Branch (508:11): [True: 0, False: 0]
  ------------------
  509|      0|        FoundTombstone = ThisBucket;  // Remember the first tombstone found.
  510|       |
  511|       |      // Otherwise, it's a hash collision or a tombstone, continue quadratic
  512|       |      // probing.
  513|      0|      BucketNo += ProbeAmt++;
  514|      0|      BucketNo &= (NumBuckets-1);
  515|      0|    }
  516|  9.90M|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E10getBucketsEv:
  375|  9.92M|  const BucketT *getBuckets() const {
  376|  9.92M|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  9.92M|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E12getHashValueERKj:
  336|  9.90M|  static unsigned getHashValue(const KeyT &Val) {
  337|  9.90M|    return KeyInfoT::getHashValue(Val);
  338|  9.90M|  }
_ZNK7llvm_ks6detail12DenseMapPairIjiE8getFirstEv:
   41|  19.8M|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E16InsertIntoBucketERKjOiPS6_:
  410|  4.17M|                            BucketT *TheBucket) {
  411|  4.17M|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  412|       |
  413|  4.17M|    TheBucket->getFirst() = Key;
  414|  4.17M|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  415|  4.17M|    return TheBucket;
  416|  4.17M|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E20InsertIntoBucketImplERKjPS6_:
  426|  4.17M|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  4.17M|    incrementEpoch();
  428|       |
  429|       |    // If the load of the hash table is more than 3/4, or if fewer than 1/8 of
  430|       |    // the buckets are empty (meaning that many are filled with tombstones),
  431|       |    // grow the table.
  432|       |    //
  433|       |    // The later case is tricky.  For example, if we had one empty bucket with
  434|       |    // tons of tombstones, failing lookups (e.g. for insertion) would have to
  435|       |    // probe almost the entire table until it found the empty bucket.  If the
  436|       |    // table completely filled with tombstones, no lookup would ever succeed,
  437|       |    // causing infinite loops in lookup.
  438|  4.17M|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  4.17M|    unsigned NumBuckets = getNumBuckets();
  440|  4.17M|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|  4.17M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 68.1k, False: 4.10M]
  |  |  ------------------
  ------------------
  441|  68.1k|      this->grow(NumBuckets * 2);
  442|  68.1k|      LookupBucketFor(Key, TheBucket);
  443|  68.1k|      NumBuckets = getNumBuckets();
  444|  4.10M|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|  4.10M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 4.10M]
  |  |  ------------------
  ------------------
  445|  4.10M|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  4.17M|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 4.17M, False: 0]
  ------------------
  450|       |
  451|       |    // Only update the state after we've grown our bucket space appropriately
  452|       |    // so that when growing buckets we have self-consistent entry count.
  453|  4.17M|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  4.17M|    const KeyT EmptyKey = getEmptyKey();
  457|  4.17M|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 4.17M]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  4.17M|    return TheBucket;
  461|  4.17M|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E13getNumEntriesEv:
  351|  14.0M|  unsigned getNumEntries() const {
  352|  14.0M|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  14.0M|  }
_ZNK7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE13getNumEntriesEv:
  656|  14.0M|  unsigned getNumEntries() const {
  657|  14.0M|    return NumEntries;
  658|  14.0M|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E4growEj:
  391|  68.1k|  void grow(unsigned AtLeast) {
  392|  68.1k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  68.1k|  }
_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE4growEj:
  621|  68.1k|  void grow(unsigned AtLeast) {
  622|  68.1k|    unsigned OldNumBuckets = NumBuckets;
  623|  68.1k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  68.1k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  68.1k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 68.1k, False: 0]
  ------------------
  627|  68.1k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 17.0k, False: 51.1k]
  ------------------
  628|  17.0k|      this->BaseT::initEmpty();
  629|  17.0k|      return;
  630|  17.0k|    }
  631|       |
  632|  51.1k|    this->moveFromOldBuckets(OldBuckets, OldBuckets+OldNumBuckets);
  633|       |
  634|       |    // Free the old table.
  635|  51.1k|    operator delete(OldBuckets);
  636|  51.1k|  }
_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE15allocateBucketsEj:
  678|  85.2k|  bool allocateBuckets(unsigned Num) {
  679|  85.2k|    NumBuckets = Num;
  680|  85.2k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 17.0k, False: 68.1k]
  ------------------
  681|  17.0k|      Buckets = nullptr;
  682|  17.0k|      return false;
  683|  17.0k|    }
  684|       |
  685|  68.1k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  68.1k|    return true;
  687|  85.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E9initEmptyEv:
  277|  68.1k|  void initEmpty() {
  278|  68.1k|    setNumEntries(0);
  279|  68.1k|    setNumTombstones(0);
  280|       |
  281|  68.1k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 68.1k, False: 0]
  |  Branch (281:5): [True: 68.1k, Folded]
  |  Branch (281:5): [True: 68.1k, False: 0]
  ------------------
  282|  68.1k|           "# initial buckets must be a power of two!");
  283|  68.1k|    const KeyT EmptyKey = getEmptyKey();
  284|  16.4M|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 16.3M, False: 68.1k]
  ------------------
  285|  16.3M|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  68.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E13setNumEntriesEj:
  354|  9.92M|  void setNumEntries(unsigned Num) {
  355|  9.92M|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  9.92M|  }
_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE13setNumEntriesEj:
  659|  9.92M|  void setNumEntries(unsigned Num) {
  660|  9.92M|    NumEntries = Num;
  661|  9.92M|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E16setNumTombstonesEj:
  366|  68.1k|  void setNumTombstones(unsigned Num) {
  367|  68.1k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  68.1k|  }
_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE16setNumTombstonesEj:
  666|  68.1k|  void setNumTombstones(unsigned Num) {
  667|  68.1k|    NumTombstones = Num;
  668|  68.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E18moveFromOldBucketsEPS6_S9_:
  288|  51.1k|  void moveFromOldBuckets(BucketT *OldBucketsBegin, BucketT *OldBucketsEnd) {
  289|  51.1k|    initEmpty();
  290|       |
  291|       |    // Insert all the old elements.
  292|  51.1k|    const KeyT EmptyKey = getEmptyKey();
  293|  51.1k|    const KeyT TombstoneKey = getTombstoneKey();
  294|  7.68M|    for (BucketT *B = OldBucketsBegin, *E = OldBucketsEnd; B != E; ++B) {
  ------------------
  |  Branch (294:60): [True: 7.63M, False: 51.1k]
  ------------------
  295|  7.63M|      if (!KeyInfoT::isEqual(B->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (295:11): [True: 5.67M, False: 1.96M]
  ------------------
  296|  5.67M|          !KeyInfoT::isEqual(B->getFirst(), TombstoneKey)) {
  ------------------
  |  Branch (296:11): [True: 5.67M, False: 0]
  ------------------
  297|       |        // Insert the key/value into the new table.
  298|  5.67M|        BucketT *DestBucket;
  299|  5.67M|        bool FoundVal = LookupBucketFor(B->getFirst(), DestBucket);
  300|  5.67M|        (void)FoundVal; // silence warning.
  301|  5.67M|        assert(!FoundVal && "Key already in new map?");
  ------------------
  |  Branch (301:9): [True: 5.67M, False: 0]
  |  Branch (301:9): [True: 5.67M, Folded]
  |  Branch (301:9): [True: 5.67M, False: 0]
  ------------------
  302|  5.67M|        DestBucket->getFirst() = std::move(B->getFirst());
  303|  5.67M|        ::new (&DestBucket->getSecond()) ValueT(std::move(B->getSecond()));
  304|  5.67M|        incrementNumEntries();
  305|       |
  306|       |        // Free the value.
  307|  5.67M|        B->getSecond().~ValueT();
  308|  5.67M|      }
  309|  7.63M|      B->getFirst().~KeyT();
  310|  7.63M|    }
  311|  51.1k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E16getNumTombstonesEv:
  363|  4.10M|  unsigned getNumTombstones() const {
  364|  4.10M|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|  4.10M|  }
_ZNK7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE16getNumTombstonesEv:
  663|  4.10M|  unsigned getNumTombstones() const {
  664|  4.10M|    return NumTombstones;
  665|  4.10M|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E19incrementNumEntriesEv:
  357|  9.85M|  void incrementNumEntries() {
  358|  9.85M|    setNumEntries(getNumEntries() + 1);
  359|  9.85M|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEED2Ev:
  573|  17.0k|  ~DenseMap() {
  574|  17.0k|    this->destroyAll();
  575|  17.0k|    operator delete(Buckets);
  576|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E10destroyAllEv:
  264|  17.0k|  void destroyAll() {
  265|  17.0k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 17.0k, False: 0]
  ------------------
  266|  17.0k|      return;
  267|       |
  268|      0|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|      0|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 0, False: 0]
  ------------------
  270|      0|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 0, False: 0]
  ------------------
  271|      0|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 0, False: 0]
  ------------------
  272|      0|        P->getSecond().~ValueT();
  273|      0|      P->getFirst().~KeyT();
  274|      0|    }
  275|      0|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEEC2Ej:
  553|     63|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|     63|    init(NumInitBuckets);
  555|     63|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEES3_jS5_S8_EC2Ev:
  262|     63|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEED2Ev:
  573|     63|  ~DenseMap() {
  574|     63|    this->destroyAll();
  575|     63|    operator delete(Buckets);
  576|     63|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEEC2Ej:
  553|  17.0k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  17.0k|    init(NumInitBuckets);
  555|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EC2Ev:
  262|  17.0k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4initEj:
  612|  17.0k|  void init(unsigned InitBuckets) {
  613|  17.0k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 17.0k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  17.0k|    } else {
  616|  17.0k|      NumEntries = 0;
  617|  17.0k|      NumTombstones = 0;
  618|  17.0k|    }
  619|  17.0k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE15allocateBucketsEj:
  678|  34.0k|  bool allocateBuckets(unsigned Num) {
  679|  34.0k|    NumBuckets = Num;
  680|  34.0k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 17.0k, False: 17.0k]
  ------------------
  681|  17.0k|      Buckets = nullptr;
  682|  17.0k|      return false;
  683|  17.0k|    }
  684|       |
  685|  17.0k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  17.0k|    return true;
  687|  34.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E9initEmptyEv:
  277|  17.0k|  void initEmpty() {
  278|  17.0k|    setNumEntries(0);
  279|  17.0k|    setNumTombstones(0);
  280|       |
  281|  17.0k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 17.0k, False: 0]
  |  Branch (281:5): [True: 17.0k, Folded]
  |  Branch (281:5): [True: 17.0k, False: 0]
  ------------------
  282|  17.0k|           "# initial buckets must be a power of two!");
  283|  17.0k|    const KeyT EmptyKey = getEmptyKey();
  284|  1.10M|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 1.09M, False: 17.0k]
  ------------------
  285|  1.09M|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13setNumEntriesEj:
  354|  51.5k|  void setNumEntries(unsigned Num) {
  355|  51.5k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  51.5k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13setNumEntriesEj:
  659|  51.5k|  void setNumEntries(unsigned Num) {
  660|  51.5k|    NumEntries = Num;
  661|  51.5k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16setNumTombstonesEj:
  366|  34.0k|  void setNumTombstones(unsigned Num) {
  367|  34.0k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  34.0k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16setNumTombstonesEj:
  666|  34.0k|  void setNumTombstones(unsigned Num) {
  667|  34.0k|    NumTombstones = Num;
  668|  34.0k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumBucketsEv:
  381|   205k|  unsigned getNumBuckets() const {
  382|   205k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|   205k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumBucketsEv:
  674|   205k|  unsigned getNumBuckets() const {
  675|   205k|    return NumBuckets;
  676|   205k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E11getEmptyKeyEv:
  343|  85.9k|  static const KeyT getEmptyKey() {
  344|  85.9k|    return KeyInfoT::getEmptyKey();
  345|  85.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  378|   102k|  BucketT *getBuckets() {
  379|   102k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|   102k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE10getBucketsEv:
  670|   136k|  BucketT *getBuckets() const {
  671|   136k|    return Buckets;
  672|   136k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getBucketsEndEv:
  384|  51.1k|  BucketT *getBucketsEnd() {
  385|  51.1k|    return getBuckets() + getNumBuckets();
  386|  51.1k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEPNS_11MCSymbolELFEE8getFirstEv:
   40|  4.43M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEEC2Ej:
  553|  17.0k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  17.0k|    init(NumInitBuckets);
  555|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EC2Ev:
  262|  17.0k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4initEj:
  612|  17.0k|  void init(unsigned InitBuckets) {
  613|  17.0k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 17.0k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  17.0k|    } else {
  616|  17.0k|      NumEntries = 0;
  617|  17.0k|      NumTombstones = 0;
  618|  17.0k|    }
  619|  17.0k|  }
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE15allocateBucketsEj:
  678|  17.0k|  bool allocateBuckets(unsigned Num) {
  679|  17.0k|    NumBuckets = Num;
  680|  17.0k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 17.0k, False: 0]
  ------------------
  681|  17.0k|      Buckets = nullptr;
  682|  17.0k|      return false;
  683|  17.0k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  17.0k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumBucketsEv:
  381|  17.0k|  unsigned getNumBuckets() const {
  382|  17.0k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  17.0k|  }
_ZNK7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumBucketsEv:
  674|  17.0k|  unsigned getNumBuckets() const {
  675|  17.0k|    return NumBuckets;
  676|  17.0k|  }
_ZN7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEEC2Ej:
  553|  17.0k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  17.0k|    init(NumInitBuckets);
  555|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_EC2Ev:
  262|  17.0k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE4initEj:
  612|  17.0k|  void init(unsigned InitBuckets) {
  613|  17.0k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 17.0k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  17.0k|    } else {
  616|  17.0k|      NumEntries = 0;
  617|  17.0k|      NumTombstones = 0;
  618|  17.0k|    }
  619|  17.0k|  }
_ZN7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE15allocateBucketsEj:
  678|  17.0k|  bool allocateBuckets(unsigned Num) {
  679|  17.0k|    NumBuckets = Num;
  680|  17.0k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 17.0k, False: 0]
  ------------------
  681|  17.0k|      Buckets = nullptr;
  682|  17.0k|      return false;
  683|  17.0k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  17.0k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E13getNumBucketsEv:
  381|  17.0k|  unsigned getNumBuckets() const {
  382|  17.0k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  17.0k|  }
_ZNK7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE13getNumBucketsEv:
  674|  17.0k|  unsigned getNumBuckets() const {
  675|  17.0k|    return NumBuckets;
  676|  17.0k|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEEC2Ej:
  553|  17.0k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  17.0k|    init(NumInitBuckets);
  555|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_EC2Ev:
  262|  17.0k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE4initEj:
  612|  17.0k|  void init(unsigned InitBuckets) {
  613|  17.0k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 17.0k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  17.0k|    } else {
  616|  17.0k|      NumEntries = 0;
  617|  17.0k|      NumTombstones = 0;
  618|  17.0k|    }
  619|  17.0k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEED2Ev:
  573|  17.0k|  ~DenseMap() {
  574|  17.0k|    this->destroyAll();
  575|  17.0k|    operator delete(Buckets);
  576|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10destroyAllEv:
  264|  17.0k|  void destroyAll() {
  265|  17.0k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 0, False: 17.0k]
  ------------------
  266|      0|      return;
  267|       |
  268|  17.0k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|  1.10M|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 1.09M, False: 17.0k]
  ------------------
  270|  1.09M|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 0, False: 1.09M]
  ------------------
  271|      0|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 0, False: 0]
  ------------------
  272|      0|        P->getSecond().~ValueT();
  273|  1.09M|      P->getFirst().~KeyT();
  274|  1.09M|    }
  275|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15getTombstoneKeyEv:
  346|  51.5k|  static const KeyT getTombstoneKey() {
  347|  51.5k|    return KeyInfoT::getTombstoneKey();
  348|  51.5k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEPNS_11MCSymbolELFEE9getSecondEv:
   42|  34.8k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEED2Ev:
  573|  17.0k|  ~DenseMap() {
  574|  17.0k|    this->destroyAll();
  575|  17.0k|    operator delete(Buckets);
  576|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10destroyAllEv:
  264|  17.0k|  void destroyAll() {
  265|  17.0k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 17.0k, False: 0]
  ------------------
  266|  17.0k|      return;
  267|       |
  268|      0|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|      0|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 0, False: 0]
  ------------------
  270|      0|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 0, False: 0]
  ------------------
  271|      0|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 0, False: 0]
  ------------------
  272|      0|        P->getSecond().~ValueT();
  273|      0|      P->getFirst().~KeyT();
  274|      0|    }
  275|      0|  }
_ZN7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEED2Ev:
  573|  17.0k|  ~DenseMap() {
  574|  17.0k|    this->destroyAll();
  575|  17.0k|    operator delete(Buckets);
  576|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E10destroyAllEv:
  264|  17.0k|  void destroyAll() {
  265|  17.0k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 17.0k, False: 0]
  ------------------
  266|  17.0k|      return;
  267|       |
  268|      0|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|      0|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 0, False: 0]
  ------------------
  270|      0|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 0, False: 0]
  ------------------
  271|      0|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 0, False: 0]
  ------------------
  272|      0|        P->getSecond().~ValueT();
  273|      0|      P->getFirst().~KeyT();
  274|      0|    }
  275|      0|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E5clearEv:
   91|  17.0k|  void clear() {
   92|  17.0k|    incrementEpoch();
   93|  17.0k|    if (getNumEntries() == 0 && getNumTombstones() == 0) return;
  ------------------
  |  Branch (93:9): [True: 0, False: 17.0k]
  |  Branch (93:33): [True: 0, False: 0]
  ------------------
   94|       |
   95|       |    // If the capacity of the array is huge, and the # elements used is small,
   96|       |    // shrink the array.
   97|  17.0k|    if (getNumEntries() * 4 < getNumBuckets() && getNumBuckets() > 64) {
  ------------------
  |  Branch (97:9): [True: 17.0k, False: 2]
  |  Branch (97:50): [True: 0, False: 17.0k]
  ------------------
   98|      0|      shrink_and_clear();
   99|      0|      return;
  100|      0|    }
  101|       |
  102|  17.0k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  103|  17.0k|    unsigned NumEntries = getNumEntries();
  104|  1.10M|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (104:59): [True: 1.09M, False: 17.0k]
  ------------------
  105|  1.09M|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) {
  ------------------
  |  Branch (105:11): [True: 17.4k, False: 1.07M]
  ------------------
  106|  17.4k|        if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) {
  ------------------
  |  Branch (106:13): [True: 17.4k, False: 0]
  ------------------
  107|  17.4k|          P->getSecond().~ValueT();
  108|  17.4k|          --NumEntries;
  109|  17.4k|        }
  110|  17.4k|        P->getFirst() = EmptyKey;
  111|  17.4k|      }
  112|  1.09M|    }
  113|  17.0k|    assert(NumEntries == 0 && "Node count imbalance!");
  ------------------
  |  Branch (113:5): [True: 17.0k, False: 0]
  |  Branch (113:5): [True: 17.0k, Folded]
  |  Branch (113:5): [True: 17.0k, False: 0]
  ------------------
  114|  17.0k|    setNumEntries(0);
  115|  17.0k|    setNumTombstones(0);
  116|  17.0k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumEntriesEv:
  351|  85.9k|  unsigned getNumEntries() const {
  352|  85.9k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  85.9k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumEntriesEv:
  656|  85.9k|  unsigned getNumEntries() const {
  657|  85.9k|    return NumEntries;
  658|  85.9k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16getNumTombstonesEv:
  363|    376|  unsigned getNumTombstones() const {
  364|    376|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    376|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16getNumTombstonesEv:
  663|    376|  unsigned getNumTombstones() const {
  664|    376|    return NumTombstones;
  665|    376|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E5clearEv:
   91|  17.0k|  void clear() {
   92|  17.0k|    incrementEpoch();
   93|  17.0k|    if (getNumEntries() == 0 && getNumTombstones() == 0) return;
  ------------------
  |  Branch (93:9): [True: 17.0k, False: 0]
  |  Branch (93:33): [True: 17.0k, False: 0]
  ------------------
   94|       |
   95|       |    // If the capacity of the array is huge, and the # elements used is small,
   96|       |    // shrink the array.
   97|      0|    if (getNumEntries() * 4 < getNumBuckets() && getNumBuckets() > 64) {
  ------------------
  |  Branch (97:9): [True: 0, False: 0]
  |  Branch (97:50): [True: 0, False: 0]
  ------------------
   98|      0|      shrink_and_clear();
   99|      0|      return;
  100|      0|    }
  101|       |
  102|      0|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  103|      0|    unsigned NumEntries = getNumEntries();
  104|      0|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (104:59): [True: 0, False: 0]
  ------------------
  105|      0|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) {
  ------------------
  |  Branch (105:11): [True: 0, False: 0]
  ------------------
  106|      0|        if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) {
  ------------------
  |  Branch (106:13): [True: 0, False: 0]
  ------------------
  107|      0|          P->getSecond().~ValueT();
  108|      0|          --NumEntries;
  109|      0|        }
  110|      0|        P->getFirst() = EmptyKey;
  111|      0|      }
  112|      0|    }
  113|      0|    assert(NumEntries == 0 && "Node count imbalance!");
  ------------------
  |  Branch (113:5): [True: 0, False: 0]
  |  Branch (113:5): [True: 0, Folded]
  |  Branch (113:5): [True: 0, False: 0]
  ------------------
  114|      0|    setNumEntries(0);
  115|      0|    setNumTombstones(0);
  116|      0|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E13getNumEntriesEv:
  351|  17.9k|  unsigned getNumEntries() const {
  352|  17.9k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  17.9k|  }
_ZNK7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE13getNumEntriesEv:
  656|  17.9k|  unsigned getNumEntries() const {
  657|  17.9k|    return NumEntries;
  658|  17.9k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E16getNumTombstonesEv:
  363|  17.0k|  unsigned getNumTombstones() const {
  364|  17.0k|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|  17.0k|  }
_ZNK7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE16getNumTombstonesEv:
  663|  17.0k|  unsigned getNumTombstones() const {
  664|  17.0k|    return NumTombstones;
  665|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E5clearEv:
   91|  17.0k|  void clear() {
   92|  17.0k|    incrementEpoch();
   93|  17.0k|    if (getNumEntries() == 0 && getNumTombstones() == 0) return;
  ------------------
  |  Branch (93:9): [True: 17.0k, False: 0]
  |  Branch (93:33): [True: 17.0k, False: 0]
  ------------------
   94|       |
   95|       |    // If the capacity of the array is huge, and the # elements used is small,
   96|       |    // shrink the array.
   97|      0|    if (getNumEntries() * 4 < getNumBuckets() && getNumBuckets() > 64) {
  ------------------
  |  Branch (97:9): [True: 0, False: 0]
  |  Branch (97:50): [True: 0, False: 0]
  ------------------
   98|      0|      shrink_and_clear();
   99|      0|      return;
  100|      0|    }
  101|       |
  102|      0|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  103|      0|    unsigned NumEntries = getNumEntries();
  104|      0|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (104:59): [True: 0, False: 0]
  ------------------
  105|      0|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) {
  ------------------
  |  Branch (105:11): [True: 0, False: 0]
  ------------------
  106|      0|        if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) {
  ------------------
  |  Branch (106:13): [True: 0, False: 0]
  ------------------
  107|      0|          P->getSecond().~ValueT();
  108|      0|          --NumEntries;
  109|      0|        }
  110|      0|        P->getFirst() = EmptyKey;
  111|      0|      }
  112|      0|    }
  113|      0|    assert(NumEntries == 0 && "Node count imbalance!");
  ------------------
  |  Branch (113:5): [True: 0, False: 0]
  |  Branch (113:5): [True: 0, Folded]
  |  Branch (113:5): [True: 0, False: 0]
  ------------------
  114|      0|    setNumEntries(0);
  115|      0|    setNumTombstones(0);
  116|      0|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EixEOS4_:
  245|  17.4k|  ValueT &operator[](KeyT &&Key) {
  246|  17.4k|    return FindAndConstruct(std::move(Key)).second;
  247|  17.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16FindAndConstructEOS4_:
  237|  17.4k|  value_type& FindAndConstruct(KeyT &&Key) {
  238|  17.4k|    BucketT *TheBucket;
  239|  17.4k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 0, False: 17.4k]
  ------------------
  240|      0|      return *TheBucket;
  241|       |
  242|  17.4k|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|  17.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPSB_:
  519|  34.4k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  34.4k|    const BucketT *ConstFoundBucket;
  521|  34.4k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  34.4k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  34.4k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  34.4k|    return Result;
  525|  34.4k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPKSB_:
  469|  34.4k|                       const BucketT *&FoundBucket) const {
  470|  34.4k|    const BucketT *BucketsPtr = getBuckets();
  471|  34.4k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  34.4k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 17.0k, False: 17.4k]
  ------------------
  474|  17.0k|      FoundBucket = nullptr;
  475|  17.0k|      return false;
  476|  17.0k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  17.4k|    const BucketT *FoundTombstone = nullptr;
  480|  17.4k|    const KeyT EmptyKey = getEmptyKey();
  481|  17.4k|    const KeyT TombstoneKey = getTombstoneKey();
  482|  17.4k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 17.4k, False: 0]
  |  Branch (482:5): [True: 17.4k, False: 0]
  |  Branch (482:5): [True: 17.4k, Folded]
  |  Branch (482:5): [True: 17.4k, False: 0]
  ------------------
  483|  17.4k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  17.4k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  17.4k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  17.4k|    unsigned ProbeAmt = 1;
  488|  17.4k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 17.4k, Folded]
  ------------------
  489|  17.4k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  17.4k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|  17.4k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 0, False: 17.4k]
  |  |  ------------------
  ------------------
  492|      0|        FoundBucket = ThisBucket;
  493|      0|        return true;
  494|      0|      }
  495|       |
  496|       |      // If we found an empty bucket, the key doesn't exist in the set.
  497|       |      // Insert it and return the default value.
  498|  17.4k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|  17.4k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 17.4k, False: 11]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  17.4k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 17.4k]
  ------------------
  502|  17.4k|        return false;
  503|  17.4k|      }
  504|       |
  505|       |      // If this is a tombstone, remember it.  If Val ends up not in the map, we
  506|       |      // prefer to return it than something that would require more probing.
  507|     11|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 11]
  ------------------
  508|      0|          !FoundTombstone)
  ------------------
  |  Branch (508:11): [True: 0, False: 0]
  ------------------
  509|      0|        FoundTombstone = ThisBucket;  // Remember the first tombstone found.
  510|       |
  511|       |      // Otherwise, it's a hash collision or a tombstone, continue quadratic
  512|       |      // probing.
  513|     11|      BucketNo += ProbeAmt++;
  514|     11|      BucketNo &= (NumBuckets-1);
  515|     11|    }
  516|  17.4k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  375|  34.4k|  const BucketT *getBuckets() const {
  376|  34.4k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  34.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E12getHashValueERKS4_:
  336|  17.4k|  static unsigned getHashValue(const KeyT &Val) {
  337|  17.4k|    return KeyInfoT::getHashValue(Val);
  338|  17.4k|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEPNS_11MCSymbolELFEE8getFirstEv:
   41|  34.8k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16InsertIntoBucketEOS4_OS6_PSB_:
  418|  17.4k|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|  17.4k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|  17.4k|    TheBucket->getFirst() = std::move(Key);
  422|  17.4k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|  17.4k|    return TheBucket;
  424|  17.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E20InsertIntoBucketImplERKS4_PSB_:
  426|  17.4k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  17.4k|    incrementEpoch();
  428|       |
  429|       |    // If the load of the hash table is more than 3/4, or if fewer than 1/8 of
  430|       |    // the buckets are empty (meaning that many are filled with tombstones),
  431|       |    // grow the table.
  432|       |    //
  433|       |    // The later case is tricky.  For example, if we had one empty bucket with
  434|       |    // tons of tombstones, failing lookups (e.g. for insertion) would have to
  435|       |    // probe almost the entire table until it found the empty bucket.  If the
  436|       |    // table completely filled with tombstones, no lookup would ever succeed,
  437|       |    // causing infinite loops in lookup.
  438|  17.4k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  17.4k|    unsigned NumBuckets = getNumBuckets();
  440|  17.4k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|  17.4k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 17.0k, False: 376]
  |  |  ------------------
  ------------------
  441|  17.0k|      this->grow(NumBuckets * 2);
  442|  17.0k|      LookupBucketFor(Key, TheBucket);
  443|  17.0k|      NumBuckets = getNumBuckets();
  444|  17.0k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|    376|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 376]
  |  |  ------------------
  ------------------
  445|    376|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  17.4k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 17.4k, False: 0]
  ------------------
  450|       |
  451|       |    // Only update the state after we've grown our bucket space appropriately
  452|       |    // so that when growing buckets we have self-consistent entry count.
  453|  17.4k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  17.4k|    const KeyT EmptyKey = getEmptyKey();
  457|  17.4k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 17.4k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  17.4k|    return TheBucket;
  461|  17.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E4growEj:
  391|  17.0k|  void grow(unsigned AtLeast) {
  392|  17.0k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  17.0k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4growEj:
  621|  17.0k|  void grow(unsigned AtLeast) {
  622|  17.0k|    unsigned OldNumBuckets = NumBuckets;
  623|  17.0k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  17.0k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  17.0k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 17.0k, False: 0]
  ------------------
  627|  17.0k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 17.0k, False: 0]
  ------------------
  628|  17.0k|      this->BaseT::initEmpty();
  629|  17.0k|      return;
  630|  17.0k|    }
  631|       |
  632|      0|    this->moveFromOldBuckets(OldBuckets, OldBuckets+OldNumBuckets);
  633|       |
  634|       |    // Free the old table.
  635|      0|    operator delete(OldBuckets);
  636|      0|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E19incrementNumEntriesEv:
  357|  17.4k|  void incrementNumEntries() {
  358|  17.4k|    setNumEntries(getNumEntries() + 1);
  359|  17.4k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E4sizeEv:
   82|    900|  unsigned size() const { return getNumEntries(); }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEEC2Ej:
  553|  7.89k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  7.89k|    init(NumInitBuckets);
  555|  7.89k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EC2Ev:
  262|  7.89k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4initEj:
  612|  7.89k|  void init(unsigned InitBuckets) {
  613|  7.89k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 7.89k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  7.89k|    } else {
  616|  7.89k|      NumEntries = 0;
  617|  7.89k|      NumTombstones = 0;
  618|  7.89k|    }
  619|  7.89k|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE15allocateBucketsEj:
  678|  15.7k|  bool allocateBuckets(unsigned Num) {
  679|  15.7k|    NumBuckets = Num;
  680|  15.7k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 7.89k, False: 7.89k]
  ------------------
  681|  7.89k|      Buckets = nullptr;
  682|  7.89k|      return false;
  683|  7.89k|    }
  684|       |
  685|  7.89k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  7.89k|    return true;
  687|  15.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E9initEmptyEv:
  277|  7.89k|  void initEmpty() {
  278|  7.89k|    setNumEntries(0);
  279|  7.89k|    setNumTombstones(0);
  280|       |
  281|  7.89k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 7.89k, False: 0]
  |  Branch (281:5): [True: 7.89k, Folded]
  |  Branch (281:5): [True: 7.89k, False: 0]
  ------------------
  282|  7.89k|           "# initial buckets must be a power of two!");
  283|  7.89k|    const KeyT EmptyKey = getEmptyKey();
  284|   512k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 505k, False: 7.89k]
  ------------------
  285|   505k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  7.89k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13setNumEntriesEj:
  354|  16.0k|  void setNumEntries(unsigned Num) {
  355|  16.0k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  16.0k|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13setNumEntriesEj:
  659|  16.0k|  void setNumEntries(unsigned Num) {
  660|  16.0k|    NumEntries = Num;
  661|  16.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16setNumTombstonesEj:
  366|  7.89k|  void setNumTombstones(unsigned Num) {
  367|  7.89k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  7.89k|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16setNumTombstonesEj:
  666|  7.89k|  void setNumTombstones(unsigned Num) {
  667|  7.89k|    NumTombstones = Num;
  668|  7.89k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumBucketsEv:
  381|   371k|  unsigned getNumBuckets() const {
  382|   371k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|   371k|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumBucketsEv:
  674|   371k|  unsigned getNumBuckets() const {
  675|   371k|    return NumBuckets;
  676|   371k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E11getEmptyKeyEv:
  343|   331k|  static const KeyT getEmptyKey() {
  344|   331k|    return KeyInfoT::getEmptyKey();
  345|   331k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  378|  31.5k|  BucketT *getBuckets() {
  379|  31.5k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  31.5k|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE10getBucketsEv:
  670|   347k|  BucketT *getBuckets() const {
  671|   347k|    return Buckets;
  672|   347k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getBucketsEndEv:
  384|  15.7k|  BucketT *getBucketsEnd() {
  385|  15.7k|    return getBuckets() + getNumBuckets();
  386|  15.7k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE8getFirstEv:
   40|  1.53M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEED2Ev:
  573|  7.89k|  ~DenseMap() {
  574|  7.89k|    this->destroyAll();
  575|  7.89k|    operator delete(Buckets);
  576|  7.89k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10destroyAllEv:
  264|  7.89k|  void destroyAll() {
  265|  7.89k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 0, False: 7.89k]
  ------------------
  266|      0|      return;
  267|       |
  268|  7.89k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   512k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 505k, False: 7.89k]
  ------------------
  270|   505k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 8.18k, False: 496k]
  ------------------
  271|  8.18k|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 8.18k, False: 0]
  ------------------
  272|  8.18k|        P->getSecond().~ValueT();
  273|   505k|      P->getFirst().~KeyT();
  274|   505k|    }
  275|  7.89k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15getTombstoneKeyEv:
  346|   315k|  static const KeyT getTombstoneKey() {
  347|   315k|    return KeyInfoT::getTombstoneKey();
  348|   315k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE9getSecondEv:
   42|  16.3k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E6lookupERKS4_:
  159|   198k|  ValueT lookup(const KeyT &Val) const {
  160|   198k|    const BucketT *TheBucket;
  161|   198k|    if (LookupBucketFor(Val, TheBucket))
  ------------------
  |  Branch (161:9): [True: 198k, False: 2]
  ------------------
  162|   198k|      return TheBucket->getSecond();
  163|      2|    return ValueT();
  164|   198k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPKSB_:
  469|   315k|                       const BucketT *&FoundBucket) const {
  470|   315k|    const BucketT *BucketsPtr = getBuckets();
  471|   315k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|   315k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 7.89k, False: 307k]
  ------------------
  474|  7.89k|      FoundBucket = nullptr;
  475|  7.89k|      return false;
  476|  7.89k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|   307k|    const BucketT *FoundTombstone = nullptr;
  480|   307k|    const KeyT EmptyKey = getEmptyKey();
  481|   307k|    const KeyT TombstoneKey = getTombstoneKey();
  482|   307k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 307k, False: 0]
  |  Branch (482:5): [True: 307k, False: 0]
  |  Branch (482:5): [True: 307k, Folded]
  |  Branch (482:5): [True: 307k, False: 0]
  ------------------
  483|   307k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|   307k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|   307k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|   307k|    unsigned ProbeAmt = 1;
  488|   307k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 307k, Folded]
  ------------------
  489|   307k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|   307k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|   307k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 299k, False: 8.23k]
  |  |  ------------------
  ------------------
  492|   299k|        FoundBucket = ThisBucket;
  493|   299k|        return true;
  494|   299k|      }
  495|       |
  496|       |      // If we found an empty bucket, the key doesn't exist in the set.
  497|       |      // Insert it and return the default value.
  498|  8.23k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|  8.23k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 8.18k, False: 50]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  8.18k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 8.18k]
  ------------------
  502|  8.18k|        return false;
  503|  8.18k|      }
  504|       |
  505|       |      // If this is a tombstone, remember it.  If Val ends up not in the map, we
  506|       |      // prefer to return it than something that would require more probing.
  507|     50|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 50]
  ------------------
  508|      0|          !FoundTombstone)
  ------------------
  |  Branch (508:11): [True: 0, False: 0]
  ------------------
  509|      0|        FoundTombstone = ThisBucket;  // Remember the first tombstone found.
  510|       |
  511|       |      // Otherwise, it's a hash collision or a tombstone, continue quadratic
  512|       |      // probing.
  513|     50|      BucketNo += ProbeAmt++;
  514|     50|      BucketNo &= (NumBuckets-1);
  515|     50|    }
  516|   307k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  375|   315k|  const BucketT *getBuckets() const {
  376|   315k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|   315k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E12getHashValueERKS4_:
  336|   307k|  static unsigned getHashValue(const KeyT &Val) {
  337|   307k|    return KeyInfoT::getHashValue(Val);
  338|   307k|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE8getFirstEv:
   41|   315k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE9getSecondEv:
   43|   198k|  const ValueT &getSecond() const { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EixEOS4_:
  245|  40.9k|  ValueT &operator[](KeyT &&Key) {
  246|  40.9k|    return FindAndConstruct(std::move(Key)).second;
  247|  40.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16FindAndConstructEOS4_:
  237|  40.9k|  value_type& FindAndConstruct(KeyT &&Key) {
  238|  40.9k|    BucketT *TheBucket;
  239|  40.9k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 40.9k, False: 0]
  ------------------
  240|  40.9k|      return *TheBucket;
  241|       |
  242|      0|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|  40.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPSB_:
  519|   116k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|   116k|    const BucketT *ConstFoundBucket;
  521|   116k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|   116k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|   116k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|   116k|    return Result;
  525|   116k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E20InsertIntoBucketImplERKS4_PSB_:
  426|  8.18k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  8.18k|    incrementEpoch();
  428|       |
  429|       |    // If the load of the hash table is more than 3/4, or if fewer than 1/8 of
  430|       |    // the buckets are empty (meaning that many are filled with tombstones),
  431|       |    // grow the table.
  432|       |    //
  433|       |    // The later case is tricky.  For example, if we had one empty bucket with
  434|       |    // tons of tombstones, failing lookups (e.g. for insertion) would have to
  435|       |    // probe almost the entire table until it found the empty bucket.  If the
  436|       |    // table completely filled with tombstones, no lookup would ever succeed,
  437|       |    // causing infinite loops in lookup.
  438|  8.18k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  8.18k|    unsigned NumBuckets = getNumBuckets();
  440|  8.18k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|  8.18k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 7.89k, False: 297]
  |  |  ------------------
  ------------------
  441|  7.89k|      this->grow(NumBuckets * 2);
  442|  7.89k|      LookupBucketFor(Key, TheBucket);
  443|  7.89k|      NumBuckets = getNumBuckets();
  444|  7.89k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|    297|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 297]
  |  |  ------------------
  ------------------
  445|    297|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  8.18k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 8.18k, False: 0]
  ------------------
  450|       |
  451|       |    // Only update the state after we've grown our bucket space appropriately
  452|       |    // so that when growing buckets we have self-consistent entry count.
  453|  8.18k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  8.18k|    const KeyT EmptyKey = getEmptyKey();
  457|  8.18k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 8.18k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  8.18k|    return TheBucket;
  461|  8.18k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumEntriesEv:
  351|  16.3k|  unsigned getNumEntries() const {
  352|  16.3k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  16.3k|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumEntriesEv:
  656|  16.3k|  unsigned getNumEntries() const {
  657|  16.3k|    return NumEntries;
  658|  16.3k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E4growEj:
  391|  7.89k|  void grow(unsigned AtLeast) {
  392|  7.89k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  7.89k|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4growEj:
  621|  7.89k|  void grow(unsigned AtLeast) {
  622|  7.89k|    unsigned OldNumBuckets = NumBuckets;
  623|  7.89k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  7.89k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  7.89k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 7.89k, False: 0]
  ------------------
  627|  7.89k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 7.89k, False: 0]
  ------------------
  628|  7.89k|      this->BaseT::initEmpty();
  629|  7.89k|      return;
  630|  7.89k|    }
  631|       |
  632|      0|    this->moveFromOldBuckets(OldBuckets, OldBuckets+OldNumBuckets);
  633|       |
  634|       |    // Free the old table.
  635|      0|    operator delete(OldBuckets);
  636|      0|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16getNumTombstonesEv:
  363|    297|  unsigned getNumTombstones() const {
  364|    297|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    297|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16getNumTombstonesEv:
  663|    297|  unsigned getNumTombstones() const {
  664|    297|    return NumTombstones;
  665|    297|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E19incrementNumEntriesEv:
  357|  8.18k|  void incrementNumEntries() {
  358|  8.18k|    setNumEntries(getNumEntries() + 1);
  359|  8.18k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EixERKS4_:
  233|  67.7k|  ValueT &operator[](const KeyT &Key) {
  234|  67.7k|    return FindAndConstruct(Key).second;
  235|  67.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16FindAndConstructERKS4_:
  225|  67.7k|  value_type& FindAndConstruct(const KeyT &Key) {
  226|  67.7k|    BucketT *TheBucket;
  227|  67.7k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (227:9): [True: 59.5k, False: 8.18k]
  ------------------
  228|  59.5k|      return *TheBucket;
  229|       |
  230|  8.18k|    return *InsertIntoBucket(Key, ValueT(), TheBucket);
  231|  67.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16InsertIntoBucketERKS4_OS6_PSB_:
  410|  8.18k|                            BucketT *TheBucket) {
  411|  8.18k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  412|       |
  413|  8.18k|    TheBucket->getFirst() = Key;
  414|  8.18k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  415|  8.18k|    return TheBucket;
  416|  8.18k|  }
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEC2Ej:
  553|  24.1k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  24.1k|    init(NumInitBuckets);
  555|  24.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EC2Ev:
  262|  24.1k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE4initEj:
  612|  24.1k|  void init(unsigned InitBuckets) {
  613|  24.1k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 24.1k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  24.1k|    } else {
  616|  24.1k|      NumEntries = 0;
  617|  24.1k|      NumTombstones = 0;
  618|  24.1k|    }
  619|  24.1k|  }
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE15allocateBucketsEj:
  678|  24.1k|  bool allocateBuckets(unsigned Num) {
  679|  24.1k|    NumBuckets = Num;
  680|  24.1k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 24.1k, False: 0]
  ------------------
  681|  24.1k|      Buckets = nullptr;
  682|  24.1k|      return false;
  683|  24.1k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  24.1k|  }
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEED2Ev:
  573|  24.1k|  ~DenseMap() {
  574|  24.1k|    this->destroyAll();
  575|  24.1k|    operator delete(Buckets);
  576|  24.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10destroyAllEv:
  264|  24.1k|  void destroyAll() {
  265|  24.1k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 24.1k, False: 0]
  ------------------
  266|  24.1k|      return;
  267|       |
  268|      0|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|      0|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 0, False: 0]
  ------------------
  270|      0|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 0, False: 0]
  ------------------
  271|      0|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 0, False: 0]
  ------------------
  272|      0|        P->getSecond().~ValueT();
  273|      0|      P->getFirst().~KeyT();
  274|      0|    }
  275|      0|  }
_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEC2Ej:
  553|  17.0k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  17.0k|    init(NumInitBuckets);
  555|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_EC2Ev:
  262|  17.0k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE4initEj:
  612|  17.0k|  void init(unsigned InitBuckets) {
  613|  17.0k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 17.0k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  17.0k|    } else {
  616|  17.0k|      NumEntries = 0;
  617|  17.0k|      NumTombstones = 0;
  618|  17.0k|    }
  619|  17.0k|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEEC2Ej:
  553|  17.0k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  17.0k|    init(NumInitBuckets);
  555|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_EC2Ev:
  262|  17.0k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE4initEj:
  612|  17.0k|  void init(unsigned InitBuckets) {
  613|  17.0k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 17.0k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  17.0k|    } else {
  616|  17.0k|      NumEntries = 0;
  617|  17.0k|      NumTombstones = 0;
  618|  17.0k|    }
  619|  17.0k|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE15allocateBucketsEj:
  678|  17.1k|  bool allocateBuckets(unsigned Num) {
  679|  17.1k|    NumBuckets = Num;
  680|  17.1k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 17.0k, False: 86]
  ------------------
  681|  17.0k|      Buckets = nullptr;
  682|  17.0k|      return false;
  683|  17.0k|    }
  684|       |
  685|     86|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|     86|    return true;
  687|  17.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E9initEmptyEv:
  277|     86|  void initEmpty() {
  278|     86|    setNumEntries(0);
  279|     86|    setNumTombstones(0);
  280|       |
  281|     86|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 86, False: 0]
  |  Branch (281:5): [True: 86, Folded]
  |  Branch (281:5): [True: 86, False: 0]
  ------------------
  282|     86|           "# initial buckets must be a power of two!");
  283|     86|    const KeyT EmptyKey = getEmptyKey();
  284|  5.59k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 5.50k, False: 86]
  ------------------
  285|  5.50k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|     86|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13setNumEntriesEj:
  354|    465|  void setNumEntries(unsigned Num) {
  355|    465|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|    465|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE13setNumEntriesEj:
  659|    465|  void setNumEntries(unsigned Num) {
  660|    465|    NumEntries = Num;
  661|    465|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E16setNumTombstonesEj:
  366|     86|  void setNumTombstones(unsigned Num) {
  367|     86|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|     86|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE16setNumTombstonesEj:
  666|     86|  void setNumTombstones(unsigned Num) {
  667|     86|    NumTombstones = Num;
  668|     86|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13getNumBucketsEv:
  381|  19.1k|  unsigned getNumBuckets() const {
  382|  19.1k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  19.1k|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE13getNumBucketsEv:
  674|  19.1k|  unsigned getNumBuckets() const {
  675|  19.1k|    return NumBuckets;
  676|  19.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E11getEmptyKeyEv:
  343|  1.12k|  static const KeyT getEmptyKey() {
  344|  1.12k|    return KeyInfoT::getEmptyKey();
  345|  1.12k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E10getBucketsEv:
  378|    899|  BucketT *getBuckets() {
  379|    899|    return static_cast<DerivedT *>(this)->getBuckets();
  380|    899|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE10getBucketsEv:
  670|  1.59k|  BucketT *getBuckets() const {
  671|  1.59k|    return Buckets;
  672|  1.59k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13getBucketsEndEv:
  384|    727|  BucketT *getBucketsEnd() {
  385|    727|    return getBuckets() + getNumBuckets();
  386|    727|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_11MCSymbolELFES4_E8getFirstEv:
   40|  17.6k|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEEC2Ej:
  553|  17.0k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  17.0k|    init(NumInitBuckets);
  555|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_EC2Ev:
  262|  17.0k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE4initEj:
  612|  17.0k|  void init(unsigned InitBuckets) {
  613|  17.0k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 17.0k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  17.0k|    } else {
  616|  17.0k|      NumEntries = 0;
  617|  17.0k|      NumTombstones = 0;
  618|  17.0k|    }
  619|  17.0k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE15allocateBucketsEj:
  678|  23.9k|  bool allocateBuckets(unsigned Num) {
  679|  23.9k|    NumBuckets = Num;
  680|  23.9k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 17.0k, False: 6.91k]
  ------------------
  681|  17.0k|      Buckets = nullptr;
  682|  17.0k|      return false;
  683|  17.0k|    }
  684|       |
  685|  6.91k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  6.91k|    return true;
  687|  23.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E9initEmptyEv:
  277|  6.91k|  void initEmpty() {
  278|  6.91k|    setNumEntries(0);
  279|  6.91k|    setNumTombstones(0);
  280|       |
  281|  6.91k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 6.91k, False: 0]
  |  Branch (281:5): [True: 6.91k, Folded]
  |  Branch (281:5): [True: 6.91k, False: 0]
  ------------------
  282|  6.91k|           "# initial buckets must be a power of two!");
  283|  6.91k|    const KeyT EmptyKey = getEmptyKey();
  284|   449k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 442k, False: 6.91k]
  ------------------
  285|   442k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  6.91k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13setNumEntriesEj:
  354|  14.1k|  void setNumEntries(unsigned Num) {
  355|  14.1k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  14.1k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE13setNumEntriesEj:
  659|  14.1k|  void setNumEntries(unsigned Num) {
  660|  14.1k|    NumEntries = Num;
  661|  14.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E16setNumTombstonesEj:
  366|  6.91k|  void setNumTombstones(unsigned Num) {
  367|  6.91k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  6.91k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE16setNumTombstonesEj:
  666|  6.91k|  void setNumTombstones(unsigned Num) {
  667|  6.91k|    NumTombstones = Num;
  668|  6.91k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13getNumBucketsEv:
  381|  77.0k|  unsigned getNumBuckets() const {
  382|  77.0k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  77.0k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE13getNumBucketsEv:
  674|  77.0k|  unsigned getNumBuckets() const {
  675|  77.0k|    return NumBuckets;
  676|  77.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E11getEmptyKeyEv:
  343|  32.3k|  static const KeyT getEmptyKey() {
  344|  32.3k|    return KeyInfoT::getEmptyKey();
  345|  32.3k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E10getBucketsEv:
  378|  27.6k|  BucketT *getBuckets() {
  379|  27.6k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  27.6k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE10getBucketsEv:
  670|  45.8k|  BucketT *getBuckets() const {
  671|  45.8k|    return Buckets;
  672|  45.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13getBucketsEndEv:
  384|  13.8k|  BucketT *getBucketsEnd() {
  385|  13.8k|    return getBuckets() + getNumBuckets();
  386|  13.8k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEEE8getFirstEv:
   40|  1.34M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEED2Ev:
  573|  17.0k|  ~DenseMap() {
  574|  17.0k|    this->destroyAll();
  575|  17.0k|    operator delete(Buckets);
  576|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E10destroyAllEv:
  264|  17.0k|  void destroyAll() {
  265|  17.0k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 10.1k, False: 6.91k]
  ------------------
  266|  10.1k|      return;
  267|       |
  268|  6.91k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   449k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 442k, False: 6.91k]
  ------------------
  270|   442k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 7.19k, False: 435k]
  ------------------
  271|  7.19k|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 7.19k, False: 0]
  ------------------
  272|  7.19k|        P->getSecond().~ValueT();
  273|   442k|      P->getFirst().~KeyT();
  274|   442k|    }
  275|  6.91k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E15getTombstoneKeyEv:
  346|  18.1k|  static const KeyT getTombstoneKey() {
  347|  18.1k|    return KeyInfoT::getTombstoneKey();
  348|  18.1k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEEE9getSecondEv:
   42|  14.3k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEED2Ev:
  573|  17.0k|  ~DenseMap() {
  574|  17.0k|    this->destroyAll();
  575|  17.0k|    operator delete(Buckets);
  576|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E10destroyAllEv:
  264|  17.0k|  void destroyAll() {
  265|  17.0k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 16.9k, False: 86]
  ------------------
  266|  16.9k|      return;
  267|       |
  268|     86|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|  5.59k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 5.50k, False: 86]
  ------------------
  270|  5.50k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 379, False: 5.12k]
  ------------------
  271|    379|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 379, False: 0]
  ------------------
  272|    379|        P->getSecond().~ValueT();
  273|  5.50k|      P->getFirst().~KeyT();
  274|  5.50k|    }
  275|     86|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E15getTombstoneKeyEv:
  346|    660|  static const KeyT getTombstoneKey() {
  347|    660|    return KeyInfoT::getTombstoneKey();
  348|    660|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_11MCSymbolELFES4_E9getSecondEv:
   42|    758|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEED2Ev:
  573|  17.0k|  ~DenseMap() {
  574|  17.0k|    this->destroyAll();
  575|  17.0k|    operator delete(Buckets);
  576|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E10destroyAllEv:
  264|  17.0k|  void destroyAll() {
  265|  17.0k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 9.92k, False: 7.11k]
  ------------------
  266|  9.92k|      return;
  267|       |
  268|  7.11k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   462k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 455k, False: 7.11k]
  ------------------
  270|   455k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 14.2k, False: 441k]
  ------------------
  271|  14.2k|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 14.2k, False: 0]
  ------------------
  272|  14.2k|        P->getSecond().~ValueT();
  273|   455k|      P->getFirst().~KeyT();
  274|   455k|    }
  275|  7.11k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13getNumBucketsEv:
  381|   102k|  unsigned getNumBuckets() const {
  382|   102k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|   102k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE13getNumBucketsEv:
  674|   102k|  unsigned getNumBuckets() const {
  675|   102k|    return NumBuckets;
  676|   102k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E11getEmptyKeyEv:
  343|  42.7k|  static const KeyT getEmptyKey() {
  344|  42.7k|    return KeyInfoT::getEmptyKey();
  345|  42.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E15getTombstoneKeyEv:
  346|  21.4k|  static const KeyT getTombstoneKey() {
  347|  21.4k|    return KeyInfoT::getTombstoneKey();
  348|  21.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E10getBucketsEv:
  378|  42.7k|  BucketT *getBuckets() {
  379|  42.7k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  42.7k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE10getBucketsEv:
  670|  64.2k|  BucketT *getBuckets() const {
  671|  64.2k|    return Buckets;
  672|  64.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13getBucketsEndEv:
  384|  28.5k|  BucketT *getBucketsEnd() {
  385|  28.5k|    return getBuckets() + getNumBuckets();
  386|  28.5k|  }
_ZN7llvm_ks6detail12DenseMapPairINS_9StringRefEmE8getFirstEv:
   40|  1.40M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks6detail12DenseMapPairINS_9StringRefEmE9getSecondEv:
   42|  28.4k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13getNumEntriesEv:
  351|    758|  unsigned getNumEntries() const {
  352|    758|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|    758|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE13getNumEntriesEv:
  656|    758|  unsigned getNumEntries() const {
  657|    758|    return NumEntries;
  658|    758|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E16getNumTombstonesEv:
  363|    293|  unsigned getNumTombstones() const {
  364|    293|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    293|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE16getNumTombstonesEv:
  663|    293|  unsigned getNumTombstones() const {
  664|    293|    return NumTombstones;
  665|    293|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13getNumEntriesEv:
  351|  14.3k|  unsigned getNumEntries() const {
  352|  14.3k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  14.3k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE13getNumEntriesEv:
  656|  14.3k|  unsigned getNumEntries() const {
  657|  14.3k|    return NumEntries;
  658|  14.3k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E16getNumTombstonesEv:
  363|    285|  unsigned getNumTombstones() const {
  364|    285|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    285|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE16getNumTombstonesEv:
  663|    285|  unsigned getNumTombstones() const {
  664|    285|    return NumTombstones;
  665|    285|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E6insertEONSt3__14pairIS4_S4_EE:
  184|    555|  std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
  185|    555|    BucketT *TheBucket;
  186|    555|    if (LookupBucketFor(KV.first, TheBucket))
  ------------------
  |  Branch (186:9): [True: 176, False: 379]
  ------------------
  187|    176|      return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  188|    176|                            false); // Already in map.
  189|       |
  190|       |    // Otherwise, insert the new element.
  191|    379|    TheBucket = InsertIntoBucket(std::move(KV.first),
  192|    379|                                 std::move(KV.second),
  193|    379|                                 TheBucket);
  194|    379|    return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  195|    379|                          true);
  196|    555|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E15LookupBucketForIS4_EEbRKT_RPS9_:
  519|    641|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|    641|    const BucketT *ConstFoundBucket;
  521|    641|    bool Result = const_cast<const DenseMapBase *>(this)
  522|    641|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|    641|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|    641|    return Result;
  525|    641|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E15LookupBucketForIS4_EEbRKT_RPKS9_:
  469|    691|                       const BucketT *&FoundBucket) const {
  470|    691|    const BucketT *BucketsPtr = getBuckets();
  471|    691|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|    691|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 117, False: 574]
  ------------------
  474|    117|      FoundBucket = nullptr;
  475|    117|      return false;
  476|    117|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|    574|    const BucketT *FoundTombstone = nullptr;
  480|    574|    const KeyT EmptyKey = getEmptyKey();
  481|    574|    const KeyT TombstoneKey = getTombstoneKey();
  482|    574|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 574, False: 0]
  |  Branch (482:5): [True: 574, False: 0]
  |  Branch (482:5): [True: 574, Folded]
  |  Branch (482:5): [True: 574, False: 0]
  ------------------
  483|    574|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|    574|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|    574|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|    574|    unsigned ProbeAmt = 1;
  488|    615|    while (1) {
  ------------------
  |  Branch (488:12): [True: 615, Folded]
  ------------------
  489|    615|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|    615|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|    615|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 176, False: 439]
  |  |  ------------------
  ------------------
  492|    176|        FoundBucket = ThisBucket;
  493|    176|        return true;
  494|    176|      }
  495|       |
  496|       |      // If we found an empty bucket, the key doesn't exist in the set.
  497|       |      // Insert it and return the default value.
  498|    439|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|    439|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 398, False: 41]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|    398|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 398]
  ------------------
  502|    398|        return false;
  503|    398|      }
  504|       |
  505|       |      // If this is a tombstone, remember it.  If Val ends up not in the map, we
  506|       |      // prefer to return it than something that would require more probing.
  507|     41|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 41]
  ------------------
  508|      0|          !FoundTombstone)
  ------------------
  |  Branch (508:11): [True: 0, False: 0]
  ------------------
  509|      0|        FoundTombstone = ThisBucket;  // Remember the first tombstone found.
  510|       |
  511|       |      // Otherwise, it's a hash collision or a tombstone, continue quadratic
  512|       |      // probing.
  513|     41|      BucketNo += ProbeAmt++;
  514|     41|      BucketNo &= (NumBuckets-1);
  515|     41|    }
  516|    574|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E10getBucketsEv:
  375|    691|  const BucketT *getBuckets() const {
  376|    691|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|    691|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E12getHashValueERKS4_:
  336|    574|  static unsigned getHashValue(const KeyT &Val) {
  337|    574|    return KeyInfoT::getHashValue(Val);
  338|    574|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_11MCSymbolELFES4_E8getFirstEv:
   41|  1.09k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks16DenseMapIteratorIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EELb0EEC2EPS8_SA_RKNS_14DebugEpochBaseEb:
 1006|    555|      : DebugEpochBase::HandleBase(&Epoch), Ptr(Pos), End(E) {
 1007|    555|    assert(isHandleInSync() && "invalid construction!");
  ------------------
  |  Branch (1007:5): [True: 555, False: 0]
  |  Branch (1007:5): [True: 555, Folded]
  |  Branch (1007:5): [True: 555, False: 0]
  ------------------
 1008|    555|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (1008:9): [True: 0, False: 555]
  ------------------
 1009|    555|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E16InsertIntoBucketEOS4_SC_PS9_:
  418|    379|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|    379|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|    379|    TheBucket->getFirst() = std::move(Key);
  422|    379|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|    379|    return TheBucket;
  424|    379|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E20InsertIntoBucketImplERKS4_PS9_:
  426|    379|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|    379|    incrementEpoch();
  428|       |
  429|       |    // If the load of the hash table is more than 3/4, or if fewer than 1/8 of
  430|       |    // the buckets are empty (meaning that many are filled with tombstones),
  431|       |    // grow the table.
  432|       |    //
  433|       |    // The later case is tricky.  For example, if we had one empty bucket with
  434|       |    // tons of tombstones, failing lookups (e.g. for insertion) would have to
  435|       |    // probe almost the entire table until it found the empty bucket.  If the
  436|       |    // table completely filled with tombstones, no lookup would ever succeed,
  437|       |    // causing infinite loops in lookup.
  438|    379|    unsigned NewNumEntries = getNumEntries() + 1;
  439|    379|    unsigned NumBuckets = getNumBuckets();
  440|    379|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|    379|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 86, False: 293]
  |  |  ------------------
  ------------------
  441|     86|      this->grow(NumBuckets * 2);
  442|     86|      LookupBucketFor(Key, TheBucket);
  443|     86|      NumBuckets = getNumBuckets();
  444|    293|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|    293|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 293]
  |  |  ------------------
  ------------------
  445|    293|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|    379|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 379, False: 0]
  ------------------
  450|       |
  451|       |    // Only update the state after we've grown our bucket space appropriately
  452|       |    // so that when growing buckets we have self-consistent entry count.
  453|    379|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|    379|    const KeyT EmptyKey = getEmptyKey();
  457|    379|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 379]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|    379|    return TheBucket;
  461|    379|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E4growEj:
  391|     86|  void grow(unsigned AtLeast) {
  392|     86|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|     86|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE4growEj:
  621|     86|  void grow(unsigned AtLeast) {
  622|     86|    unsigned OldNumBuckets = NumBuckets;
  623|     86|    BucketT *OldBuckets = Buckets;
  624|       |
  625|     86|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|     86|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 86, False: 0]
  ------------------
  627|     86|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 86, False: 0]
  ------------------
  628|     86|      this->BaseT::initEmpty();
  629|     86|      return;
  630|     86|    }
  631|       |
  632|      0|    this->moveFromOldBuckets(OldBuckets, OldBuckets+OldNumBuckets);
  633|       |
  634|       |    // Free the old table.
  635|      0|    operator delete(OldBuckets);
  636|      0|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E19incrementNumEntriesEv:
  357|    379|  void incrementNumEntries() {
  358|    379|    setNumEntries(getNumEntries() + 1);
  359|    379|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_EixEOS4_:
  245|  11.2k|  ValueT &operator[](KeyT &&Key) {
  246|  11.2k|    return FindAndConstruct(std::move(Key)).second;
  247|  11.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E16FindAndConstructEOS4_:
  237|  11.2k|  value_type& FindAndConstruct(KeyT &&Key) {
  238|  11.2k|    BucketT *TheBucket;
  239|  11.2k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 4.08k, False: 7.19k]
  ------------------
  240|  4.08k|      return *TheBucket;
  241|       |
  242|  7.19k|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|  11.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E15LookupBucketForIS4_EEbRKT_RPSF_:
  519|  18.1k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  18.1k|    const BucketT *ConstFoundBucket;
  521|  18.1k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  18.1k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  18.1k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  18.1k|    return Result;
  525|  18.1k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E15LookupBucketForIS4_EEbRKT_RPKSF_:
  469|  18.1k|                       const BucketT *&FoundBucket) const {
  470|  18.1k|    const BucketT *BucketsPtr = getBuckets();
  471|  18.1k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  18.1k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 6.91k, False: 11.2k]
  ------------------
  474|  6.91k|      FoundBucket = nullptr;
  475|  6.91k|      return false;
  476|  6.91k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  11.2k|    const BucketT *FoundTombstone = nullptr;
  480|  11.2k|    const KeyT EmptyKey = getEmptyKey();
  481|  11.2k|    const KeyT TombstoneKey = getTombstoneKey();
  482|  11.2k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 11.2k, False: 0]
  |  Branch (482:5): [True: 11.2k, False: 0]
  |  Branch (482:5): [True: 11.2k, Folded]
  |  Branch (482:5): [True: 11.2k, False: 0]
  ------------------
  483|  11.2k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  11.2k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  11.2k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  11.2k|    unsigned ProbeAmt = 1;
  488|  11.2k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 11.2k, Folded]
  ------------------
  489|  11.2k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  11.2k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|  11.2k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 4.08k, False: 7.20k]
  |  |  ------------------
  ------------------
  492|  4.08k|        FoundBucket = ThisBucket;
  493|  4.08k|        return true;
  494|  4.08k|      }
  495|       |
  496|       |      // If we found an empty bucket, the key doesn't exist in the set.
  497|       |      // Insert it and return the default value.
  498|  7.20k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|  7.20k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 7.19k, False: 10]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  7.19k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 7.19k]
  ------------------
  502|  7.19k|        return false;
  503|  7.19k|      }
  504|       |
  505|       |      // If this is a tombstone, remember it.  If Val ends up not in the map, we
  506|       |      // prefer to return it than something that would require more probing.
  507|     10|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 10]
  ------------------
  508|      0|          !FoundTombstone)
  ------------------
  |  Branch (508:11): [True: 0, False: 0]
  ------------------
  509|      0|        FoundTombstone = ThisBucket;  // Remember the first tombstone found.
  510|       |
  511|       |      // Otherwise, it's a hash collision or a tombstone, continue quadratic
  512|       |      // probing.
  513|     10|      BucketNo += ProbeAmt++;
  514|     10|      BucketNo &= (NumBuckets-1);
  515|     10|    }
  516|  11.2k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E10getBucketsEv:
  375|  18.1k|  const BucketT *getBuckets() const {
  376|  18.1k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  18.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E12getHashValueERKS4_:
  336|  11.2k|  static unsigned getHashValue(const KeyT &Val) {
  337|  11.2k|    return KeyInfoT::getHashValue(Val);
  338|  11.2k|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEEE8getFirstEv:
   41|  18.5k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E16InsertIntoBucketEOS4_OSA_PSF_:
  418|  7.19k|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|  7.19k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|  7.19k|    TheBucket->getFirst() = std::move(Key);
  422|  7.19k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|  7.19k|    return TheBucket;
  424|  7.19k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E20InsertIntoBucketImplERKS4_PSF_:
  426|  7.19k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  7.19k|    incrementEpoch();
  428|       |
  429|       |    // If the load of the hash table is more than 3/4, or if fewer than 1/8 of
  430|       |    // the buckets are empty (meaning that many are filled with tombstones),
  431|       |    // grow the table.
  432|       |    //
  433|       |    // The later case is tricky.  For example, if we had one empty bucket with
  434|       |    // tons of tombstones, failing lookups (e.g. for insertion) would have to
  435|       |    // probe almost the entire table until it found the empty bucket.  If the
  436|       |    // table completely filled with tombstones, no lookup would ever succeed,
  437|       |    // causing infinite loops in lookup.
  438|  7.19k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  7.19k|    unsigned NumBuckets = getNumBuckets();
  440|  7.19k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|  7.19k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 6.91k, False: 285]
  |  |  ------------------
  ------------------
  441|  6.91k|      this->grow(NumBuckets * 2);
  442|  6.91k|      LookupBucketFor(Key, TheBucket);
  443|  6.91k|      NumBuckets = getNumBuckets();
  444|  6.91k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|    285|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 285]
  |  |  ------------------
  ------------------
  445|    285|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  7.19k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 7.19k, False: 0]
  ------------------
  450|       |
  451|       |    // Only update the state after we've grown our bucket space appropriately
  452|       |    // so that when growing buckets we have self-consistent entry count.
  453|  7.19k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  7.19k|    const KeyT EmptyKey = getEmptyKey();
  457|  7.19k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 7.19k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  7.19k|    return TheBucket;
  461|  7.19k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E4growEj:
  391|  6.91k|  void grow(unsigned AtLeast) {
  392|  6.91k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  6.91k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE4growEj:
  621|  6.91k|  void grow(unsigned AtLeast) {
  622|  6.91k|    unsigned OldNumBuckets = NumBuckets;
  623|  6.91k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  6.91k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  6.91k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 6.91k, False: 0]
  ------------------
  627|  6.91k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 6.91k, False: 0]
  ------------------
  628|  6.91k|      this->BaseT::initEmpty();
  629|  6.91k|      return;
  630|  6.91k|    }
  631|       |
  632|      0|    this->moveFromOldBuckets(OldBuckets, OldBuckets+OldNumBuckets);
  633|       |
  634|       |    // Free the old table.
  635|      0|    operator delete(OldBuckets);
  636|      0|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E19incrementNumEntriesEv:
  357|  7.19k|  void incrementNumEntries() {
  358|  7.19k|    setNumEntries(getNumEntries() + 1);
  359|  7.19k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E6lookupERKS4_:
  159|     50|  ValueT lookup(const KeyT &Val) const {
  160|     50|    const BucketT *TheBucket;
  161|     50|    if (LookupBucketFor(Val, TheBucket))
  ------------------
  |  Branch (161:9): [True: 0, False: 50]
  ------------------
  162|      0|      return TheBucket->getSecond();
  163|     50|    return ValueT();
  164|     50|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEC2Ej:
  553|  7.11k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  7.11k|    init(NumInitBuckets);
  555|  7.11k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EC2Ev:
  262|  7.11k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE4initEj:
  612|  7.11k|  void init(unsigned InitBuckets) {
  613|  7.11k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 7.11k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  7.11k|    } else {
  616|  7.11k|      NumEntries = 0;
  617|  7.11k|      NumTombstones = 0;
  618|  7.11k|    }
  619|  7.11k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE15allocateBucketsEj:
  678|  13.9k|  bool allocateBuckets(unsigned Num) {
  679|  13.9k|    NumBuckets = Num;
  680|  13.9k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 7.11k, False: 6.80k]
  ------------------
  681|  7.11k|      Buckets = nullptr;
  682|  7.11k|      return false;
  683|  7.11k|    }
  684|       |
  685|  6.80k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  6.80k|    return true;
  687|  13.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E9initEmptyEv:
  277|  6.80k|  void initEmpty() {
  278|  6.80k|    setNumEntries(0);
  279|  6.80k|    setNumTombstones(0);
  280|       |
  281|  6.80k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 6.80k, False: 0]
  |  Branch (281:5): [True: 6.80k, Folded]
  |  Branch (281:5): [True: 6.80k, False: 0]
  ------------------
  282|  6.80k|           "# initial buckets must be a power of two!");
  283|  6.80k|    const KeyT EmptyKey = getEmptyKey();
  284|   442k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 435k, False: 6.80k]
  ------------------
  285|   435k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  6.80k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13setNumEntriesEj:
  354|  14.0k|  void setNumEntries(unsigned Num) {
  355|  14.0k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  14.0k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13setNumEntriesEj:
  659|  14.0k|  void setNumEntries(unsigned Num) {
  660|  14.0k|    NumEntries = Num;
  661|  14.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16setNumTombstonesEj:
  366|  6.80k|  void setNumTombstones(unsigned Num) {
  367|  6.80k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  6.80k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE16setNumTombstonesEj:
  666|  6.80k|  void setNumTombstones(unsigned Num) {
  667|  6.80k|    NumTombstones = Num;
  668|  6.80k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getNumBucketsEv:
  381|  62.3k|  unsigned getNumBuckets() const {
  382|  62.3k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  62.3k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13getNumBucketsEv:
  674|  62.3k|  unsigned getNumBuckets() const {
  675|  62.3k|    return NumBuckets;
  676|  62.3k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E11getEmptyKeyEv:
  343|  28.0k|  static const KeyT getEmptyKey() {
  344|  28.0k|    return KeyInfoT::getEmptyKey();
  345|  28.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10getBucketsEv:
  378|  27.2k|  BucketT *getBuckets() {
  379|  27.2k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  27.2k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE10getBucketsEv:
  670|  41.2k|  BucketT *getBuckets() const {
  671|  41.2k|    return Buckets;
  672|  41.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getBucketsEndEv:
  384|  13.6k|  BucketT *getBucketsEnd() {
  385|  13.6k|    return getBuckets() + getNumBuckets();
  386|  13.6k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEjE8getFirstEv:
   40|  1.32M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EixEOS4_:
  245|  7.08k|  ValueT &operator[](KeyT &&Key) {
  246|  7.08k|    return FindAndConstruct(std::move(Key)).second;
  247|  7.08k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16FindAndConstructEOS4_:
  237|  7.08k|  value_type& FindAndConstruct(KeyT &&Key) {
  238|  7.08k|    BucketT *TheBucket;
  239|  7.08k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 0, False: 7.08k]
  ------------------
  240|      0|      return *TheBucket;
  241|       |
  242|  7.08k|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|  7.08k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E15LookupBucketForIS4_EEbRKT_RPS9_:
  519|  14.0k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  14.0k|    const BucketT *ConstFoundBucket;
  521|  14.0k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  14.0k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  14.0k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  14.0k|    return Result;
  525|  14.0k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E15LookupBucketForIS4_EEbRKT_RPKS9_:
  469|  14.0k|                       const BucketT *&FoundBucket) const {
  470|  14.0k|    const BucketT *BucketsPtr = getBuckets();
  471|  14.0k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  14.0k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 6.80k, False: 7.20k]
  ------------------
  474|  6.80k|      FoundBucket = nullptr;
  475|  6.80k|      return false;
  476|  6.80k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  7.20k|    const BucketT *FoundTombstone = nullptr;
  480|  7.20k|    const KeyT EmptyKey = getEmptyKey();
  481|  7.20k|    const KeyT TombstoneKey = getTombstoneKey();
  482|  7.20k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 7.20k, False: 0]
  |  Branch (482:5): [True: 7.20k, False: 0]
  |  Branch (482:5): [True: 7.20k, Folded]
  |  Branch (482:5): [True: 7.20k, False: 0]
  ------------------
  483|  7.20k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  7.20k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  7.20k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  7.20k|    unsigned ProbeAmt = 1;
  488|  7.21k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 7.21k, Folded]
  ------------------
  489|  7.21k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  7.21k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|  7.21k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 0, False: 7.21k]
  |  |  ------------------
  ------------------
  492|      0|        FoundBucket = ThisBucket;
  493|      0|        return true;
  494|      0|      }
  495|       |
  496|       |      // If we found an empty bucket, the key doesn't exist in the set.
  497|       |      // Insert it and return the default value.
  498|  7.21k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|  7.21k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 7.20k, False: 11]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  7.20k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 7.20k]
  ------------------
  502|  7.20k|        return false;
  503|  7.20k|      }
  504|       |
  505|       |      // If this is a tombstone, remember it.  If Val ends up not in the map, we
  506|       |      // prefer to return it than something that would require more probing.
  507|     11|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 11]
  ------------------
  508|      0|          !FoundTombstone)
  ------------------
  |  Branch (508:11): [True: 0, False: 0]
  ------------------
  509|      0|        FoundTombstone = ThisBucket;  // Remember the first tombstone found.
  510|       |
  511|       |      // Otherwise, it's a hash collision or a tombstone, continue quadratic
  512|       |      // probing.
  513|     11|      BucketNo += ProbeAmt++;
  514|     11|      BucketNo &= (NumBuckets-1);
  515|     11|    }
  516|  7.20k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10getBucketsEv:
  375|  14.0k|  const BucketT *getBuckets() const {
  376|  14.0k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  14.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E15getTombstoneKeyEv:
  346|  14.0k|  static const KeyT getTombstoneKey() {
  347|  14.0k|    return KeyInfoT::getTombstoneKey();
  348|  14.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E12getHashValueERKS4_:
  336|  7.20k|  static unsigned getHashValue(const KeyT &Val) {
  337|  7.20k|    return KeyInfoT::getHashValue(Val);
  338|  7.20k|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEjE8getFirstEv:
   41|  14.4k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16InsertIntoBucketEOS4_OjPS9_:
  418|  7.08k|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|  7.08k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|  7.08k|    TheBucket->getFirst() = std::move(Key);
  422|  7.08k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|  7.08k|    return TheBucket;
  424|  7.08k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E20InsertIntoBucketImplERKS4_PS9_:
  426|  7.20k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  7.20k|    incrementEpoch();
  428|       |
  429|       |    // If the load of the hash table is more than 3/4, or if fewer than 1/8 of
  430|       |    // the buckets are empty (meaning that many are filled with tombstones),
  431|       |    // grow the table.
  432|       |    //
  433|       |    // The later case is tricky.  For example, if we had one empty bucket with
  434|       |    // tons of tombstones, failing lookups (e.g. for insertion) would have to
  435|       |    // probe almost the entire table until it found the empty bucket.  If the
  436|       |    // table completely filled with tombstones, no lookup would ever succeed,
  437|       |    // causing infinite loops in lookup.
  438|  7.20k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  7.20k|    unsigned NumBuckets = getNumBuckets();
  440|  7.20k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|  7.20k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 6.80k, False: 404]
  |  |  ------------------
  ------------------
  441|  6.80k|      this->grow(NumBuckets * 2);
  442|  6.80k|      LookupBucketFor(Key, TheBucket);
  443|  6.80k|      NumBuckets = getNumBuckets();
  444|  6.80k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|    404|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 404]
  |  |  ------------------
  ------------------
  445|    404|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  7.20k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 7.20k, False: 0]
  ------------------
  450|       |
  451|       |    // Only update the state after we've grown our bucket space appropriately
  452|       |    // so that when growing buckets we have self-consistent entry count.
  453|  7.20k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  7.20k|    const KeyT EmptyKey = getEmptyKey();
  457|  7.20k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 7.20k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  7.20k|    return TheBucket;
  461|  7.20k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getNumEntriesEv:
  351|  14.4k|  unsigned getNumEntries() const {
  352|  14.4k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  14.4k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13getNumEntriesEv:
  656|  14.4k|  unsigned getNumEntries() const {
  657|  14.4k|    return NumEntries;
  658|  14.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E4growEj:
  391|  6.80k|  void grow(unsigned AtLeast) {
  392|  6.80k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  6.80k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE4growEj:
  621|  6.80k|  void grow(unsigned AtLeast) {
  622|  6.80k|    unsigned OldNumBuckets = NumBuckets;
  623|  6.80k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  6.80k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  6.80k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 6.80k, False: 0]
  ------------------
  627|  6.80k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 6.80k, False: 0]
  ------------------
  628|  6.80k|      this->BaseT::initEmpty();
  629|  6.80k|      return;
  630|  6.80k|    }
  631|       |
  632|      0|    this->moveFromOldBuckets(OldBuckets, OldBuckets+OldNumBuckets);
  633|       |
  634|       |    // Free the old table.
  635|      0|    operator delete(OldBuckets);
  636|      0|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16getNumTombstonesEv:
  363|    404|  unsigned getNumTombstones() const {
  364|    404|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    404|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE16getNumTombstonesEv:
  663|    404|  unsigned getNumTombstones() const {
  664|    404|    return NumTombstones;
  665|    404|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E19incrementNumEntriesEv:
  357|  7.20k|  void incrementNumEntries() {
  358|  7.20k|    setNumEntries(getNumEntries() + 1);
  359|  7.20k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEjE9getSecondEv:
   42|  14.4k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EixERKS4_:
  233|    119|  ValueT &operator[](const KeyT &Key) {
  234|    119|    return FindAndConstruct(Key).second;
  235|    119|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16FindAndConstructERKS4_:
  225|    119|  value_type& FindAndConstruct(const KeyT &Key) {
  226|    119|    BucketT *TheBucket;
  227|    119|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (227:9): [True: 0, False: 119]
  ------------------
  228|      0|      return *TheBucket;
  229|       |
  230|    119|    return *InsertIntoBucket(Key, ValueT(), TheBucket);
  231|    119|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16InsertIntoBucketERKS4_OjPS9_:
  410|    119|                            BucketT *TheBucket) {
  411|    119|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  412|       |
  413|    119|    TheBucket->getFirst() = Key;
  414|    119|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  415|    119|    return TheBucket;
  416|    119|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEED2Ev:
  573|  7.11k|  ~DenseMap() {
  574|  7.11k|    this->destroyAll();
  575|  7.11k|    operator delete(Buckets);
  576|  7.11k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10destroyAllEv:
  264|  7.11k|  void destroyAll() {
  265|  7.11k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 315, False: 6.80k]
  ------------------
  266|    315|      return;
  267|       |
  268|  6.80k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   442k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 435k, False: 6.80k]
  ------------------
  270|   435k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 7.20k, False: 428k]
  ------------------
  271|  7.20k|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 7.20k, False: 0]
  ------------------
  272|  7.20k|        P->getSecond().~ValueT();
  273|   435k|      P->getFirst().~KeyT();
  274|   435k|    }
  275|  6.80k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEEC2Ej:
  553|  17.0k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  17.0k|    init(NumInitBuckets);
  555|  17.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_EC2Ev:
  262|  17.0k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE4initEj:
  612|  17.0k|  void init(unsigned InitBuckets) {
  613|  17.0k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 17.0k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  17.0k|    } else {
  616|  17.0k|      NumEntries = 0;
  617|  17.0k|      NumTombstones = 0;
  618|  17.0k|    }
  619|  17.0k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE15allocateBucketsEj:
  678|  24.1k|  bool allocateBuckets(unsigned Num) {
  679|  24.1k|    NumBuckets = Num;
  680|  24.1k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 17.0k, False: 7.11k]
  ------------------
  681|  17.0k|      Buckets = nullptr;
  682|  17.0k|      return false;
  683|  17.0k|    }
  684|       |
  685|  7.11k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  7.11k|    return true;
  687|  24.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E9initEmptyEv:
  277|  7.11k|  void initEmpty() {
  278|  7.11k|    setNumEntries(0);
  279|  7.11k|    setNumTombstones(0);
  280|       |
  281|  7.11k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 7.11k, False: 0]
  |  Branch (281:5): [True: 7.11k, Folded]
  |  Branch (281:5): [True: 7.11k, False: 0]
  ------------------
  282|  7.11k|           "# initial buckets must be a power of two!");
  283|  7.11k|    const KeyT EmptyKey = getEmptyKey();
  284|   462k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 455k, False: 7.11k]
  ------------------
  285|   455k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  7.11k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13setNumEntriesEj:
  354|  21.3k|  void setNumEntries(unsigned Num) {
  355|  21.3k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  21.3k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE13setNumEntriesEj:
  659|  21.3k|  void setNumEntries(unsigned Num) {
  660|  21.3k|    NumEntries = Num;
  661|  21.3k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E16setNumTombstonesEj:
  366|  7.11k|  void setNumTombstones(unsigned Num) {
  367|  7.11k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  7.11k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE16setNumTombstonesEj:
  666|  7.11k|  void setNumTombstones(unsigned Num) {
  667|  7.11k|    NumTombstones = Num;
  668|  7.11k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13getNumEntriesEv:
  351|  28.4k|  unsigned getNumEntries() const {
  352|  28.4k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  28.4k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE13getNumEntriesEv:
  656|  28.4k|  unsigned getNumEntries() const {
  657|  28.4k|    return NumEntries;
  658|  28.4k|  }
_ZN7llvm_ks16DenseMapIteratorINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEELb0EEC2EPS6_S8_RKNS_14DebugEpochBaseEb:
 1006|  14.3k|      : DebugEpochBase::HandleBase(&Epoch), Ptr(Pos), End(E) {
 1007|  14.3k|    assert(isHandleInSync() && "invalid construction!");
  ------------------
  |  Branch (1007:5): [True: 14.3k, False: 0]
  |  Branch (1007:5): [True: 14.3k, Folded]
  |  Branch (1007:5): [True: 14.3k, False: 0]
  ------------------
 1008|  14.3k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (1008:9): [True: 0, False: 14.3k]
  ------------------
 1009|  14.3k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E16getNumTombstonesEv:
  363|  7.09k|  unsigned getNumTombstones() const {
  364|  7.09k|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|  7.09k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE16getNumTombstonesEv:
  663|  7.09k|  unsigned getNumTombstones() const {
  664|  7.09k|    return NumTombstones;
  665|  7.09k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E15LookupBucketForIS2_EEbRKT_RPKS7_:
  469|  21.4k|                       const BucketT *&FoundBucket) const {
  470|  21.4k|    const BucketT *BucketsPtr = getBuckets();
  471|  21.4k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  21.4k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 7.11k, False: 14.3k]
  ------------------
  474|  7.11k|      FoundBucket = nullptr;
  475|  7.11k|      return false;
  476|  7.11k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  14.3k|    const BucketT *FoundTombstone = nullptr;
  480|  14.3k|    const KeyT EmptyKey = getEmptyKey();
  481|  14.3k|    const KeyT TombstoneKey = getTombstoneKey();
  482|  14.3k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 14.3k, False: 0]
  |  Branch (482:5): [True: 14.3k, False: 0]
  |  Branch (482:5): [True: 14.3k, Folded]
  |  Branch (482:5): [True: 14.3k, False: 0]
  ------------------
  483|  14.3k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  14.3k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  14.3k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  14.3k|    unsigned ProbeAmt = 1;
  488|  14.4k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 14.4k, Folded]
  ------------------
  489|  14.4k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  14.4k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|  14.4k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 112, False: 14.3k]
  |  |  ------------------
  ------------------
  492|    112|        FoundBucket = ThisBucket;
  493|    112|        return true;
  494|    112|      }
  495|       |
  496|       |      // If we found an empty bucket, the key doesn't exist in the set.
  497|       |      // Insert it and return the default value.
  498|  14.3k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|  14.3k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 14.2k, False: 119]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  14.2k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 14.2k]
  ------------------
  502|  14.2k|        return false;
  503|  14.2k|      }
  504|       |
  505|       |      // If this is a tombstone, remember it.  If Val ends up not in the map, we
  506|       |      // prefer to return it than something that would require more probing.
  507|    119|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 119]
  ------------------
  508|      0|          !FoundTombstone)
  ------------------
  |  Branch (508:11): [True: 0, False: 0]
  ------------------
  509|      0|        FoundTombstone = ThisBucket;  // Remember the first tombstone found.
  510|       |
  511|       |      // Otherwise, it's a hash collision or a tombstone, continue quadratic
  512|       |      // probing.
  513|    119|      BucketNo += ProbeAmt++;
  514|    119|      BucketNo &= (NumBuckets-1);
  515|    119|    }
  516|  14.3k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E10getBucketsEv:
  375|  21.4k|  const BucketT *getBuckets() const {
  376|  21.4k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  21.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E12getHashValueERKS2_:
  336|  14.3k|  static unsigned getHashValue(const KeyT &Val) {
  337|  14.3k|    return KeyInfoT::getHashValue(Val);
  338|  14.3k|  }
_ZNK7llvm_ks6detail12DenseMapPairINS_9StringRefEmE8getFirstEv:
   41|  28.8k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E6insertEONSt3__14pairIS2_mEE:
  184|  14.3k|  std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
  185|  14.3k|    BucketT *TheBucket;
  186|  14.3k|    if (LookupBucketFor(KV.first, TheBucket))
  ------------------
  |  Branch (186:9): [True: 112, False: 14.2k]
  ------------------
  187|    112|      return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  188|    112|                            false); // Already in map.
  189|       |
  190|       |    // Otherwise, insert the new element.
  191|  14.2k|    TheBucket = InsertIntoBucket(std::move(KV.first),
  192|  14.2k|                                 std::move(KV.second),
  193|  14.2k|                                 TheBucket);
  194|  14.2k|    return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  195|  14.2k|                          true);
  196|  14.3k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E15LookupBucketForIS2_EEbRKT_RPS7_:
  519|  21.4k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  21.4k|    const BucketT *ConstFoundBucket;
  521|  21.4k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  21.4k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  21.4k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  21.4k|    return Result;
  525|  21.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E16InsertIntoBucketEOS2_OmPS7_:
  418|  14.2k|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|  14.2k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|  14.2k|    TheBucket->getFirst() = std::move(Key);
  422|  14.2k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|  14.2k|    return TheBucket;
  424|  14.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E20InsertIntoBucketImplERKS2_PS7_:
  426|  14.2k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  14.2k|    incrementEpoch();
  428|       |
  429|       |    // If the load of the hash table is more than 3/4, or if fewer than 1/8 of
  430|       |    // the buckets are empty (meaning that many are filled with tombstones),
  431|       |    // grow the table.
  432|       |    //
  433|       |    // The later case is tricky.  For example, if we had one empty bucket with
  434|       |    // tons of tombstones, failing lookups (e.g. for insertion) would have to
  435|       |    // probe almost the entire table until it found the empty bucket.  If the
  436|       |    // table completely filled with tombstones, no lookup would ever succeed,
  437|       |    // causing infinite loops in lookup.
  438|  14.2k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  14.2k|    unsigned NumBuckets = getNumBuckets();
  440|  14.2k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|  14.2k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 7.11k, False: 7.09k]
  |  |  ------------------
  ------------------
  441|  7.11k|      this->grow(NumBuckets * 2);
  442|  7.11k|      LookupBucketFor(Key, TheBucket);
  443|  7.11k|      NumBuckets = getNumBuckets();
  444|  7.11k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|  7.09k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 7.09k]
  |  |  ------------------
  ------------------
  445|  7.09k|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  14.2k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 14.2k, False: 0]
  ------------------
  450|       |
  451|       |    // Only update the state after we've grown our bucket space appropriately
  452|       |    // so that when growing buckets we have self-consistent entry count.
  453|  14.2k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  14.2k|    const KeyT EmptyKey = getEmptyKey();
  457|  14.2k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 14.2k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  14.2k|    return TheBucket;
  461|  14.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E4growEj:
  391|  7.11k|  void grow(unsigned AtLeast) {
  392|  7.11k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  7.11k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE4growEj:
  621|  7.11k|  void grow(unsigned AtLeast) {
  622|  7.11k|    unsigned OldNumBuckets = NumBuckets;
  623|  7.11k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  7.11k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  7.11k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 7.11k, False: 0]
  ------------------
  627|  7.11k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 7.11k, False: 0]
  ------------------
  628|  7.11k|      this->BaseT::initEmpty();
  629|  7.11k|      return;
  630|  7.11k|    }
  631|       |
  632|      0|    this->moveFromOldBuckets(OldBuckets, OldBuckets+OldNumBuckets);
  633|       |
  634|       |    // Free the old table.
  635|      0|    operator delete(OldBuckets);
  636|      0|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E19incrementNumEntriesEv:
  357|  14.2k|  void incrementNumEntries() {
  358|  14.2k|    setNumEntries(getNumEntries() + 1);
  359|  14.2k|  }
_ZNK7llvm_ks16DenseMapIteratorINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEELb0EEptEv:
 1024|  14.3k|  pointer operator->() const {
 1025|  14.3k|    assert(isHandleInSync() && "invalid iterator access!");
  ------------------
  |  Branch (1025:5): [True: 14.3k, False: 0]
  |  Branch (1025:5): [True: 14.3k, Folded]
  |  Branch (1025:5): [True: 14.3k, False: 0]
  ------------------
 1026|  14.3k|    return Ptr;
 1027|  14.3k|  }

_ZN7llvm_ks12DenseMapInfoIjE11getEmptyKeyEv:
   65|  14.2M|  static inline unsigned getEmptyKey() { return ~0U; }
_ZN7llvm_ks12DenseMapInfoIjE15getTombstoneKeyEv:
   66|  9.97M|  static inline unsigned getTombstoneKey() { return ~0U - 1; }
_ZN7llvm_ks12DenseMapInfoIjE7isEqualERKjS3_:
   68|  70.0M|  static bool isEqual(const unsigned& LHS, const unsigned& RHS) {
   69|  70.0M|    return LHS == RHS;
   70|  70.0M|  }
_ZN7llvm_ks12DenseMapInfoIjE12getHashValueERKj:
   67|  9.90M|  static unsigned getHashValue(const unsigned& Val) { return Val * 37U; }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE11getEmptyKeyEv:
  171|  1.11M|  static inline StringRef getEmptyKey() {
  172|  1.11M|    return StringRef(reinterpret_cast<const char *>(~static_cast<uintptr_t>(0)),
  173|  1.11M|                     0);
  174|  1.11M|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE15getTombstoneKeyEv:
  175|  93.3k|  static inline StringRef getTombstoneKey() {
  176|  93.3k|    return StringRef(reinterpret_cast<const char *>(~static_cast<uintptr_t>(1)),
  177|  93.3k|                     0);
  178|  93.3k|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE12getHashValueES1_:
  179|  14.3k|  static unsigned getHashValue(StringRef Val) {
  180|  14.3k|    assert(Val.data() != getEmptyKey().data() && "Cannot hash the empty key!");
  ------------------
  |  Branch (180:5): [True: 14.3k, False: 0]
  |  Branch (180:5): [True: 14.3k, Folded]
  |  Branch (180:5): [True: 14.3k, False: 0]
  ------------------
  181|  14.3k|    assert(Val.data() != getTombstoneKey().data() &&
  ------------------
  |  Branch (181:5): [True: 14.3k, False: 0]
  |  Branch (181:5): [True: 14.3k, Folded]
  |  Branch (181:5): [True: 14.3k, False: 0]
  ------------------
  182|  14.3k|           "Cannot hash the tombstone key!");
  183|  14.3k|    return (unsigned)(hash_value(Val));
  184|  14.3k|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE7isEqualES1_S1_:
  185|   541k|  static bool isEqual(StringRef LHS, StringRef RHS) {
  186|   541k|    if (RHS.data() == getEmptyKey().data())
  ------------------
  |  Branch (186:9): [True: 512k, False: 28.8k]
  ------------------
  187|   512k|      return LHS.data() == getEmptyKey().data();
  188|  28.8k|    if (RHS.data() == getTombstoneKey().data())
  ------------------
  |  Branch (188:9): [True: 28.6k, False: 231]
  ------------------
  189|  28.6k|      return LHS.data() == getTombstoneKey().data();
  190|    231|    return LHS == RHS;
  191|  28.8k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE11getEmptyKeyEv:
   36|   146k|  static inline T* getEmptyKey() {
   37|   146k|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|   146k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|   146k|    return reinterpret_cast<T*>(Val);
   40|   146k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE15getTombstoneKeyEv:
   41|  83.7k|  static inline T* getTombstoneKey() {
   42|  83.7k|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|  83.7k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|  83.7k|    return reinterpret_cast<T*>(Val);
   45|  83.7k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE7isEqualES3_S3_:
   50|  3.26M|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE12getHashValueES3_:
   46|  35.9k|  static unsigned getHashValue(const T *PtrVal) {
   47|  35.9k|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|  35.9k|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|  35.9k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE11getEmptyKeyEv:
   36|   331k|  static inline T* getEmptyKey() {
   37|   331k|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|   331k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|   331k|    return reinterpret_cast<T*>(Val);
   40|   331k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE15getTombstoneKeyEv:
   41|   315k|  static inline T* getTombstoneKey() {
   42|   315k|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|   315k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|   315k|    return reinterpret_cast<T*>(Val);
   45|   315k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE7isEqualES3_S3_:
   50|  1.45M|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE12getHashValueES3_:
   46|   307k|  static unsigned getHashValue(const T *PtrVal) {
   47|   307k|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|   307k|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|   307k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE11getEmptyKeyEv:
   36|  1.12k|  static inline T* getEmptyKey() {
   37|  1.12k|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|  1.12k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|  1.12k|    return reinterpret_cast<T*>(Val);
   40|  1.12k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE15getTombstoneKeyEv:
   41|    660|  static inline T* getTombstoneKey() {
   42|    660|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|    660|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|    660|    return reinterpret_cast<T*>(Val);
   45|    660|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE7isEqualES3_S3_:
   50|  8.50k|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE12getHashValueES3_:
   46|    574|  static unsigned getHashValue(const T *PtrVal) {
   47|    574|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|    574|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|    574|  }

_ZN7llvm_ks8DenseSetIPNS_9MCSectionENS_12DenseMapInfoIS2_EEEC2Ej:
   51|  17.0k|  explicit DenseSet(unsigned NumInitBuckets = 0) : TheMap(NumInitBuckets) {}
_ZN7llvm_ks8DenseSetIPNS_9MCSectionENS_12DenseMapInfoIS2_EEE5clearEv:
   61|  17.0k|  void clear() {
   62|  17.0k|    TheMap.clear();
   63|  17.0k|  }

_ZN7llvm_ks14DebugEpochBaseD2Ev:
   63|   175k|  ~DebugEpochBase() { incrementEpoch(); }
_ZN7llvm_ks14DebugEpochBase14incrementEpochEv:
   59|  4.45M|  void incrementEpoch() { ++Epoch; }
_ZN7llvm_ks14DebugEpochBaseC2Ev:
   55|   175k|  DebugEpochBase() : Epoch(0) {}
_ZN7llvm_ks14DebugEpochBase10HandleBaseC2EPKS0_:
   81|  14.8k|        : EpochAddress(&Parent->Epoch), EpochAtCreation(Parent->Epoch) {}
_ZNK7llvm_ks14DebugEpochBase10HandleBase14isHandleInSyncEv:
   86|  29.2k|    bool isHandleInSync() const { return *EpochAddress == EpochAtCreation; }

_ZN7llvm_ks9hash_codeC2Em:
   82|  14.3k|  hash_code(size_t value) : value(value) {}
_ZNK7llvm_ks9hash_codecvmEv:
   85|  14.3k|  /*explicit*/ operator size_t() const { return value; }
_ZN7llvm_ks7hashing6detail7fetch64EPKc:
  146|    238|inline uint64_t fetch64(const char *p) {
  147|    238|  uint64_t result;
  148|    238|  memcpy(&result, p, sizeof(result));
  149|    238|  if (sys::IsBigEndianHost)
  ------------------
  |  Branch (149:7): [Folded, False: 238]
  ------------------
  150|      0|    sys::swapByteOrder(result);
  151|    238|  return result;
  152|    238|}
_ZN7llvm_ks7hashing6detail7fetch32EPKc:
  154|  27.8k|inline uint32_t fetch32(const char *p) {
  155|  27.8k|  uint32_t result;
  156|  27.8k|  memcpy(&result, p, sizeof(result));
  157|  27.8k|  if (sys::IsBigEndianHost)
  ------------------
  |  Branch (157:7): [Folded, False: 27.8k]
  ------------------
  158|      0|    sys::swapByteOrder(result);
  159|  27.8k|  return result;
  160|  27.8k|}
_ZN7llvm_ks7hashing6detail6rotateEmm:
  171|    119|inline uint64_t rotate(uint64_t val, size_t shift) {
  172|       |  // Avoid shifting by 64: doing so yields an undefined result.
  173|    119|  return shift == 0 ? val : ((val >> shift) | (val << (64 - shift)));
  ------------------
  |  Branch (173:10): [True: 0, False: 119]
  ------------------
  174|    119|}
_ZN7llvm_ks7hashing6detail13hash_16_bytesEmm:
  180|  14.0k|inline uint64_t hash_16_bytes(uint64_t low, uint64_t high) {
  181|       |  // Murmur-inspired hashing.
  182|  14.0k|  const uint64_t kMul = 0x9ddfea08eb382d69ULL;
  183|  14.0k|  uint64_t a = (low ^ high) * kMul;
  184|  14.0k|  a ^= (a >> 47);
  185|  14.0k|  uint64_t b = (high ^ a) * kMul;
  186|  14.0k|  b ^= (b >> 47);
  187|  14.0k|  b *= kMul;
  188|  14.0k|  return b;
  189|  14.0k|}
_ZN7llvm_ks7hashing6detail15hash_4to8_bytesEPKcmm:
  200|  13.9k|inline uint64_t hash_4to8_bytes(const char *s, size_t len, uint64_t seed) {
  201|  13.9k|  uint64_t a = fetch32(s);
  202|  13.9k|  return hash_16_bytes(len + (a << 3), seed ^ fetch32(s + len - 4));
  203|  13.9k|}
_ZN7llvm_ks7hashing6detail16hash_9to16_bytesEPKcmm:
  205|    119|inline uint64_t hash_9to16_bytes(const char *s, size_t len, uint64_t seed) {
  206|    119|  uint64_t a = fetch64(s);
  207|    119|  uint64_t b = fetch64(s + len - 8);
  208|    119|  return hash_16_bytes(seed ^ a, rotate(b + len, len)) ^ b;
  209|    119|}
_ZN7llvm_ks7hashing6detail10hash_shortEPKcmm:
  243|  14.3k|inline uint64_t hash_short(const char *s, size_t length, uint64_t seed) {
  244|  14.3k|  if (length >= 4 && length <= 8)
  ------------------
  |  Branch (244:7): [True: 14.0k, False: 257]
  |  Branch (244:22): [True: 13.9k, False: 119]
  ------------------
  245|  13.9k|    return hash_4to8_bytes(s, length, seed);
  246|    376|  if (length > 8 && length <= 16)
  ------------------
  |  Branch (246:7): [True: 119, False: 257]
  |  Branch (246:21): [True: 119, False: 0]
  ------------------
  247|    119|    return hash_9to16_bytes(s, length, seed);
  248|    257|  if (length > 16 && length <= 32)
  ------------------
  |  Branch (248:7): [True: 0, False: 257]
  |  Branch (248:22): [True: 0, False: 0]
  ------------------
  249|      0|    return hash_17to32_bytes(s, length, seed);
  250|    257|  if (length > 32)
  ------------------
  |  Branch (250:7): [True: 0, False: 257]
  ------------------
  251|      0|    return hash_33to64_bytes(s, length, seed);
  252|    257|  if (length != 0)
  ------------------
  |  Branch (252:7): [True: 0, False: 257]
  ------------------
  253|      0|    return hash_1to3_bytes(s, length, seed);
  254|       |
  255|    257|  return k2 ^ seed;
  256|    257|}
_ZN7llvm_ks7hashing6detail18get_execution_seedEv:
  322|  14.3k|inline size_t get_execution_seed() {
  323|       |  // FIXME: This needs to be a per-execution seed. This is just a placeholder
  324|       |  // implementation. Switching to a per-execution seed is likely to flush out
  325|       |  // instability bugs and so will happen as its own commit.
  326|       |  //
  327|       |  // However, if there is a fixed seed override set the first time this is
  328|       |  // called, return that instead of the per-execution seed.
  329|  14.3k|  const uint64_t seed_prime = 0xff51afd7ed558ccdULL;
  330|  14.3k|  static size_t seed = fixed_seed_override ? fixed_seed_override
  ------------------
  |  Branch (330:24): [True: 0, False: 14.3k]
  ------------------
  331|  14.3k|                                           : (size_t)seed_prime;
  332|  14.3k|  return seed;
  333|  14.3k|}
_ZN7llvm_ks18hash_combine_rangeIPKcEENS_9hash_codeET_S4_:
  481|  14.3k|hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
  482|  14.3k|  return ::llvm_ks::hashing::detail::hash_combine_range_impl(first, last);
  483|  14.3k|}
_ZN7llvm_ks7hashing6detail23hash_combine_range_implIKcEENSt3__19enable_ifIXsr16is_hashable_dataIT_EE5valueENS_9hash_codeEE4typeEPS6_SA_:
  449|  14.3k|hash_combine_range_impl(ValueT *first, ValueT *last) {
  450|  14.3k|  const size_t seed = get_execution_seed();
  451|  14.3k|  const char *s_begin = reinterpret_cast<const char *>(first);
  452|  14.3k|  const char *s_end = reinterpret_cast<const char *>(last);
  453|  14.3k|  const size_t length = std::distance(s_begin, s_end);
  454|  14.3k|  if (length <= 64)
  ------------------
  |  Branch (454:7): [True: 14.3k, False: 0]
  ------------------
  455|  14.3k|    return hash_short(s_begin, length, seed);
  456|       |
  457|      0|  const char *s_aligned_end = s_begin + (length & ~63);
  458|      0|  hash_state state = state.create(s_begin, seed);
  459|      0|  s_begin += 64;
  460|      0|  while (s_begin != s_aligned_end) {
  ------------------
  |  Branch (460:10): [True: 0, False: 0]
  ------------------
  461|      0|    state.mix(s_begin);
  462|      0|    s_begin += 64;
  463|      0|  }
  464|      0|  if (length & 63)
  ------------------
  |  Branch (464:7): [True: 0, False: 0]
  ------------------
  465|      0|    state.mix(s_end - 64);
  466|       |
  467|      0|  return state.finalize(length);
  468|  14.3k|}

_ZN7llvm_ks8OptionalINS_11MCFixupKindEED2Ev:
  115|    478|  ~Optional() {
  116|    478|    reset();
  117|    478|  }
_ZN7llvm_ks8OptionalINS_11MCFixupKindEE5resetEv:
  108|    478|  void reset() {
  109|    478|    if (hasVal) {
  ------------------
  |  Branch (109:9): [True: 0, False: 478]
  ------------------
  110|      0|      (**this).~T();
  111|      0|      hasVal = false;
  112|      0|    }
  113|    478|  }
_ZNK7llvm_ks8OptionalINS_11MCFixupKindEE8hasValueEv:
  125|    478|  bool hasValue() const { return hasVal; }
_ZN7llvm_ks8OptionalINS_11MCFixupKindEEC2ENS_8NoneTypeE:
   35|    478|  Optional(NoneType) : hasVal(false) {}

_ZN7llvm_ks14PointerIntPairIPNS_10MCFragmentELj1EjNS_21PointerLikeTypeTraitsIS2_EENS_18PointerIntPairInfoIS2_Lj1ES4_EEE6setIntEj:
   66|   257k|  void setInt(IntType IntVal) {
   67|   257k|    Value = Info::updateInt(Value, static_cast<intptr_t>(IntVal));
   68|   257k|  }
_ZN7llvm_ks18PointerIntPairInfoIPNS_10MCFragmentELj1ENS_21PointerLikeTypeTraitsIS2_EEE9updateIntEll:
  165|   257k|  static intptr_t updateInt(intptr_t OrigValue, intptr_t Int) {
  166|   257k|    intptr_t IntWord = static_cast<intptr_t>(Int);
  167|   257k|    assert((IntWord & ~IntMask) == 0 && "Integer too large for field");
  ------------------
  |  Branch (167:5): [True: 257k, False: 0]
  |  Branch (167:5): [True: 257k, Folded]
  |  Branch (167:5): [True: 257k, False: 0]
  ------------------
  168|       |
  169|       |    // Preserve all bits other than the ones we are updating.
  170|   257k|    return (OrigValue & ~ShiftedIntMask) | IntWord << IntShift;
  171|   257k|  }
_ZNK7llvm_ks14PointerIntPairIPNS_10MCFragmentELj1EjNS_21PointerLikeTypeTraitsIS2_EENS_18PointerIntPairInfoIS2_Lj1ES4_EEE6getIntEv:
   58|   275k|  IntType getInt() const {
   59|   275k|    return (IntType)Info::getInt(Value);
   60|   275k|  }
_ZN7llvm_ks18PointerIntPairInfoIPNS_10MCFragmentELj1ENS_21PointerLikeTypeTraitsIS2_EEE6getIntEl:
  152|   275k|  static intptr_t getInt(intptr_t Value) {
  153|   275k|    return (Value >> IntShift) & IntMask;
  154|   275k|  }
_ZN7llvm_ks14PointerIntPairIPNS_10MCFragmentELj1EjNS_21PointerLikeTypeTraitsIS2_EENS_18PointerIntPairInfoIS2_Lj1ES4_EEE10setPointerES2_:
   62|   359k|  void setPointer(PointerTy PtrVal) {
   63|   359k|    Value = Info::updatePointer(Value, PtrVal);
   64|   359k|  }
_ZN7llvm_ks18PointerIntPairInfoIPNS_10MCFragmentELj1ENS_21PointerLikeTypeTraitsIS2_EEE13updatePointerElS2_:
  156|   359k|  static intptr_t updatePointer(intptr_t OrigValue, PointerT Ptr) {
  157|   359k|    intptr_t PtrWord =
  158|   359k|        reinterpret_cast<intptr_t>(PtrTraits::getAsVoidPointer(Ptr));
  159|   359k|    assert((PtrWord & ~PointerBitMask) == 0 &&
  ------------------
  |  Branch (159:5): [True: 359k, False: 0]
  |  Branch (159:5): [True: 359k, Folded]
  |  Branch (159:5): [True: 359k, False: 0]
  ------------------
  160|   359k|           "Pointer is not sufficiently aligned");
  161|       |    // Preserve all low bits, just update the pointer.
  162|   359k|    return PtrWord | (OrigValue & ~PointerBitMask);
  163|   359k|  }
_ZNK7llvm_ks14PointerIntPairIPNS_10MCFragmentELj1EjNS_21PointerLikeTypeTraitsIS2_EENS_18PointerIntPairInfoIS2_Lj1ES4_EEE10getPointerEv:
   56|   734k|  PointerTy getPointer() const { return Info::getPointer(Value); }
_ZN7llvm_ks18PointerIntPairInfoIPNS_10MCFragmentELj1ENS_21PointerLikeTypeTraitsIS2_EEE10getPointerEl:
  147|   734k|  static PointerT getPointer(intptr_t Value) {
  148|   734k|    return PtrTraits::getFromVoidPointer(
  149|   734k|        reinterpret_cast<void *>(Value & PointerBitMask));
  150|   734k|  }
_ZN7llvm_ks14PointerIntPairIPNS_10MCFragmentELj1EjNS_21PointerLikeTypeTraitsIS2_EENS_18PointerIntPairInfoIS2_Lj1ES4_EEEC2Ev:
   50|   257k|  PointerIntPair() : Value(0) {}

_ZN7llvm_ks14array_lengthofIbLm4EEEmRAT0__T_:
  282|   221k|LLVM_CONSTEXPR inline size_t array_lengthof(T (&)[N]) {
  283|   221k|  return N;
  284|   221k|}
_ZN7llvm_ks11make_uniqueINS_10X86OperandEJNS1_6KindTyERNS_5SMLocES4_EEENSt3__19enable_ifIXntsr3std8is_arrayIT_EE5valueENS5_10unique_ptrIS7_NS5_14default_deleteIS7_EEEEE4typeEDpOT0_:
  404|   122k|make_unique(Args &&... args) {
  405|   122k|  return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
  406|   122k|}
_ZN7llvm_ks14array_lengthofIjLm4EEEmRAT0__T_:
  282|  2.79k|LLVM_CONSTEXPR inline size_t array_lengthof(T (&)[N]) {
  283|  2.79k|  return N;
  284|  2.79k|}
_ZN7llvm_ks14array_lengthofIKNS_15MCFixupKindInfoELm16EEEmRAT0__T_:
  282|  48.0k|LLVM_CONSTEXPR inline size_t array_lengthof(T (&)[N]) {
  283|  48.0k|  return N;
  284|  48.0k|}

_ZN7llvm_ks9SetVectorIPNS_9MCSectionENSt3__16vectorIS2_NS3_9allocatorIS2_EEEENS_8DenseSetIS2_NS_12DenseMapInfoIS2_EEEEEC2Ev:
   53|  17.0k|  SetVector() {}
_ZN7llvm_ks9SetVectorIPNS_9MCSectionENSt3__16vectorIS2_NS3_9allocatorIS2_EEEENS_8DenseSetIS2_NS_12DenseMapInfoIS2_EEEEE5clearEv:
  185|  17.0k|  void clear() {
  186|  17.0k|    set_.clear();
  187|  17.0k|    vector_.clear();
  188|  17.0k|  }

_ZN7llvm_ks19SmallPtrSetImplBaseC2EPPKvj:
   72|  17.0k|    SmallArray(SmallStorage), CurArray(SmallStorage), CurArraySize(SmallSize) {
   73|  17.0k|    assert(SmallSize && (SmallSize & (SmallSize-1)) == 0 &&
  ------------------
  |  Branch (73:5): [True: 17.0k, False: 0]
  |  Branch (73:5): [True: 17.0k, False: 0]
  |  Branch (73:5): [True: 17.0k, Folded]
  |  Branch (73:5): [True: 17.0k, False: 0]
  ------------------
   74|  17.0k|           "Initial size must be a power of two!");
   75|  17.0k|    clear();
   76|  17.0k|  }
_ZN7llvm_ks19SmallPtrSetImplBaseD2Ev:
   77|  17.0k|  ~SmallPtrSetImplBase() {
   78|  17.0k|    if (!isSmall())
  ------------------
  |  Branch (78:9): [True: 0, False: 17.0k]
  ------------------
   79|      0|      free(CurArray);
   80|  17.0k|  }
_ZN7llvm_ks19SmallPtrSetImplBase5clearEv:
   87|  17.0k|  void clear() {
   88|       |    // If the capacity of the array is huge, and the # elements used is small,
   89|       |    // shrink the array.
   90|  17.0k|    if (!isSmall() && NumElements*4 < CurArraySize && CurArraySize > 32)
  ------------------
  |  Branch (90:9): [True: 0, False: 17.0k]
  |  Branch (90:23): [True: 0, False: 0]
  |  Branch (90:55): [True: 0, False: 0]
  ------------------
   91|      0|      return shrink_and_clear();
   92|       |
   93|       |    // Fill the array with empty markers.
   94|  17.0k|    memset(CurArray, -1, CurArraySize*sizeof(void*));
   95|  17.0k|    NumElements = 0;
   96|  17.0k|    NumTombstones = 0;
   97|  17.0k|  }
_ZNK7llvm_ks19SmallPtrSetImplBase9count_impEPKv:
  134|  13.9k|  bool count_imp(const void * Ptr) const {
  135|  13.9k|    if (isSmall()) {
  ------------------
  |  Branch (135:9): [True: 13.9k, False: 0]
  ------------------
  136|       |      // Linear search for the item.
  137|  13.9k|      for (const void *const *APtr = SmallArray,
  138|  13.9k|                      *const *E = SmallArray+NumElements; APtr != E; ++APtr)
  ------------------
  |  Branch (138:59): [True: 0, False: 13.9k]
  ------------------
  139|      0|        if (*APtr == Ptr)
  ------------------
  |  Branch (139:13): [True: 0, False: 0]
  ------------------
  140|      0|          return true;
  141|  13.9k|      return false;
  142|  13.9k|    }
  143|       |
  144|       |    // Big set case.
  145|      0|    return *FindBucketFor(Ptr) == Ptr;
  146|  13.9k|  }
_ZNK7llvm_ks19SmallPtrSetImplBase7isSmallEv:
  149|  48.0k|  bool isSmall() const { return CurArray == SmallArray; }
_ZN7llvm_ks11SmallPtrSetIPKNS_8MCSymbolELj32EEC2Ev:
  345|  17.0k|  SmallPtrSet() : BaseT(SmallStorage, SmallSizePowTwo) {}
_ZN7llvm_ks15SmallPtrSetImplIPKNS_8MCSymbolEEC2EPPKvj:
  286|  17.0k|      : SmallPtrSetImplBase(SmallStorage, SmallSize) {}
_ZNK7llvm_ks15SmallPtrSetImplIPKNS_8MCSymbolEE5countES3_:
  308|  13.9k|  size_type count(PtrType Ptr) const {
  309|  13.9k|    return count_imp(PtrTraits::getAsVoidPointer(Ptr)) ? 1 : 0;
  ------------------
  |  Branch (309:12): [True: 0, False: 13.9k]
  ------------------
  310|  13.9k|  }

_ZN7llvm_ks11SmallStringILj1024EEC2Ev:
   28|  17.0k|  SmallString() {}
_ZNK7llvm_ks11SmallStringILj128EEcvNS_9StringRefEEv:
  277|   460k|  operator StringRef() const { return str(); }
_ZNK7llvm_ks11SmallStringILj128EE3strEv:
  267|   460k|  StringRef str() const { return StringRef(this->begin(), this->size()); }
_ZN7llvm_ks11SmallStringILj128EEC2Ev:
   28|   718k|  SmallString() {}
_ZN7llvm_ks11SmallStringILj128EEC2ENS_9StringRefE:
   31|   239k|  SmallString(StringRef S) : SmallVector<char, InternalLen>(S.begin(), S.end()) {}
_ZN7llvm_ks11SmallStringILj64EEC2Ev:
   28|  3.73k|  SmallString() {}
_ZN7llvm_ks11SmallStringILj64EEpLENS_9StringRefE:
  285|  7.46k|  SmallString &operator+=(StringRef RHS) {
  286|  7.46k|    this->append(RHS.begin(), RHS.end());
  287|  7.46k|    return *this;
  288|  7.46k|  }
_ZN7llvm_ks11SmallStringILj64EE6appendIPKcEEvT_S5_:
   74|  7.46k|  void append(in_iter S, in_iter E) {
   75|  7.46k|    SmallVectorImpl<char>::append(S, E);
   76|  7.46k|  }
_ZNK7llvm_ks11SmallStringILj64EEcvNS_9StringRefEEv:
  277|  3.73k|  operator StringRef() const { return str(); }
_ZNK7llvm_ks11SmallStringILj64EE3strEv:
  267|  3.73k|  StringRef str() const { return StringRef(this->begin(), this->size()); }
_ZN7llvm_ks11SmallStringILj256EEC2Ev:
   28|   239k|  SmallString() {}
_ZN7llvm_ks11SmallStringILj16384EEC2Ev:
   28|      1|  SmallString() {}
_ZN7llvm_ks11SmallStringILj126EEC2Ev:
   28|      3|  SmallString() {}
_ZN7llvm_ks11SmallStringILj16EEC2Ev:
   28|  2.79k|  SmallString() {}
_ZN7llvm_ks11SmallStringILj16EEpLENS_9StringRefE:
  285|  2.79k|  SmallString &operator+=(StringRef RHS) {
  286|  2.79k|    this->append(RHS.begin(), RHS.end());
  287|  2.79k|    return *this;
  288|  2.79k|  }
_ZN7llvm_ks11SmallStringILj16EE6appendIPKcEEvT_S5_:
   74|  2.79k|  void append(in_iter S, in_iter E) {
   75|  2.79k|    SmallVectorImpl<char>::append(S, E);
   76|  2.79k|  }
_ZN7llvm_ks11SmallStringILj16EEpLEc:
  289|  2.79k|  SmallString &operator+=(char C) {
  290|  2.79k|    this->push_back(C);
  291|  2.79k|    return *this;
  292|  2.79k|  }
_ZNK7llvm_ks11SmallStringILj16EEcvNS_9StringRefEEv:
  277|  2.79k|  operator StringRef() const { return str(); }
_ZNK7llvm_ks11SmallStringILj16EE3strEv:
  267|  2.79k|  StringRef str() const { return StringRef(this->begin(), this->size()); }

_ZN7llvm_ks15SmallVectorImplIcED2Ev:
  368|  1.48M|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  1.48M|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  1.48M|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 2.11k, False: 1.47M]
  ------------------
  374|  2.11k|      free(this->begin());
  375|  1.48M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE13destroy_rangeEPcS2_:
  284|  1.51M|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE5beginEv:
  113|  2.15M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE3endEv:
  117|   489M|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE7isSmallEv:
   86|  1.48M|  bool isSmall() const {
   87|  1.48M|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  1.48M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE4sizeEv:
  132|  80.1M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE3endEv:
  119|  80.3M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE5beginEv:
  115|  81.1M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE4dataEv:
  139|  36.5k|  pointer data() { return pointer(begin()); }
_ZN7llvm_ks11SmallVectorIcLj1024EEC2Ev:
  872|  17.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  17.0k|  }
_ZN7llvm_ks15SmallVectorImplIcEC2Ej:
  364|  1.48M|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  1.48M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EEC2Em:
  281|  1.48M|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIcvEC2Em:
   78|  1.48M|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorBaseC2EPvm:
   40|  10.0M|    : BeginX(FirstEl), EndX(FirstEl), CapacityX((char*)FirstEl+Size) {}
_ZNK7llvm_ks15SmallVectorBase13size_in_bytesEv:
   48|  17.1k|  size_t size_in_bytes() const {
   49|  17.1k|    return size_t((char*)EndX - (char*)BeginX);
   50|  17.1k|  }
_ZNK7llvm_ks15SmallVectorBase17capacity_in_bytesEv:
   53|  17.1k|  size_t capacity_in_bytes() const {
   54|  17.1k|    return size_t((char*)CapacityX - (char*)BeginX);
   55|  17.1k|  }
_ZNK7llvm_ks15SmallVectorBase5emptyEv:
   57|   436M|  bool LLVM_ATTRIBUTE_UNUSED_RESULT empty() const { return BeginX == EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE4dataEv:
  141|  19.2k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EE13destroy_rangeEPS1_S3_:
  284|   104k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE7isSmallEv:
   86|  39.8k|  bool isSmall() const {
   87|  39.8k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  39.8k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEixEm:
  149|  88.6k|  const_reference operator[](size_type idx) const {
  150|  88.6k|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 88.6k, False: 0]
  ------------------
  151|  88.6k|    return begin()[idx];
  152|  88.6k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEixEm:
  144|  76.7k|  reference operator[](size_type idx) {
  145|  76.7k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 76.7k, False: 0]
  ------------------
  146|  76.7k|    return begin()[idx];
  147|  76.7k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE4sizeEv:
  132|   222k|  size_type size() const { return end()-begin(); }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EE9push_backERKS1_:
  337|  85.6k|  void push_back(const T &Elt) {
  338|  85.6k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  85.6k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 85.6k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  85.6k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  85.6k|    this->setEnd(this->end()+1);
  342|  85.6k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE6setEndEPS1_:
   95|  99.6k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEE5clearEv:
  378|  60.9k|  void clear() {
  379|  60.9k|    this->destroy_range(this->begin(), this->end());
  380|  60.9k|    this->EndX = this->BeginX;
  381|  60.9k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE5beginEv:
  113|   201k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE5beginEv:
  115|   339k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE3endEv:
  117|   275k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE3endEv:
  119|   232k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE13destroy_rangeEPS1_S3_:
  284|  44.7k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE5beginEv:
  113|  70.9k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE3endEv:
  117|   170k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE7isSmallEv:
   86|  40.8k|  bool isSmall() const {
   87|  40.8k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  40.8k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEEaSERKS2_:
  739|  14.0k|  operator=(const SmallVectorImpl<T> &RHS) {
  740|       |  // Avoid self-assignment.
  741|  14.0k|  if (this == &RHS) return *this;
  ------------------
  |  Branch (741:7): [True: 0, False: 14.0k]
  ------------------
  742|       |
  743|       |  // If we already have sufficient space, assign the common elements, then
  744|       |  // destroy any excess.
  745|  14.0k|  size_t RHSSize = RHS.size();
  746|  14.0k|  size_t CurSize = this->size();
  747|  14.0k|  if (CurSize >= RHSSize) {
  ------------------
  |  Branch (747:7): [True: 3.87k, False: 10.1k]
  ------------------
  748|       |    // Assign common elements.
  749|  3.87k|    iterator NewEnd;
  750|  3.87k|    if (RHSSize)
  ------------------
  |  Branch (750:9): [True: 3.87k, False: 0]
  ------------------
  751|  3.87k|      NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin());
  752|      0|    else
  753|      0|      NewEnd = this->begin();
  754|       |
  755|       |    // Destroy excess elements.
  756|  3.87k|    this->destroy_range(NewEnd, this->end());
  757|       |
  758|       |    // Trim.
  759|  3.87k|    this->setEnd(NewEnd);
  760|  3.87k|    return *this;
  761|  3.87k|  }
  762|       |
  763|       |  // If we have to grow to have enough elements, destroy the current elements.
  764|       |  // This allows us to avoid copying them during the grow.
  765|       |  // FIXME: don't do this if they're efficiently moveable.
  766|  10.1k|  if (this->capacity() < RHSSize) {
  ------------------
  |  Branch (766:7): [True: 0, False: 10.1k]
  ------------------
  767|       |    // Destroy current elements.
  768|      0|    this->destroy_range(this->begin(), this->end());
  769|      0|    this->setEnd(this->begin());
  770|      0|    CurSize = 0;
  771|      0|    this->grow(RHSSize);
  772|  10.1k|  } else if (CurSize) {
  ------------------
  |  Branch (772:14): [True: 0, False: 10.1k]
  ------------------
  773|       |    // Otherwise, use assignment for the already-constructed elements.
  774|      0|    std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin());
  775|      0|  }
  776|       |
  777|       |  // Copy construct the new elements in place.
  778|  10.1k|  this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
  779|  10.1k|                           this->begin()+CurSize);
  780|       |
  781|       |  // Set end.
  782|  10.1k|  this->setEnd(this->begin()+RHSSize);
  783|  10.1k|  return *this;
  784|  14.0k|}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE8capacityEv:
  136|  10.1k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE12capacity_ptrEv:
  122|  10.1k|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EE18uninitialized_copyIKS1_S1_EEvPT_S6_PT0_PNSt3__19enable_ifIXsr3std7is_sameINS9_12remove_constIS5_E4typeES7_EE5valueEvE4typeE:
  322|  10.1k|                                           T2>::value>::type * = nullptr) {
  323|       |    // Use memcpy for PODs iterated by pointers (which includes SmallVector
  324|       |    // iterators): std::uninitialized_copy optimizes to memmove, but we can
  325|       |    // use memcpy here. Note that I and E are iterators and thus might be
  326|       |    // invalid for memcpy if they are equal.
  327|  10.1k|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 10.1k, False: 0]
  ------------------
  328|  10.1k|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|  10.1k|  }
_ZN7llvm_ks11SmallVectorINS_9MCOperandELj8EEaSERKS2_:
  900|  7.75k|  const SmallVector &operator=(const SmallVector &RHS) {
  901|  7.75k|    SmallVectorImpl<T>::operator=(RHS);
  902|  7.75k|    return *this;
  903|  7.75k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE9push_backERKc:
  337|  6.52k|  void push_back(const T &Elt) {
  338|  6.52k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  6.52k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 33, False: 6.48k]
  |  |  ------------------
  ------------------
  339|     33|      this->grow();
  340|  6.52k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  6.52k|    this->setEnd(this->end()+1);
  342|  6.52k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE4growEm:
  333|  5.63k|  void grow(size_t MinSize = 0) {
  334|  5.63k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  5.63k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE8grow_podEmm:
   80|  5.63k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  5.63k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  5.63k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE6setEndEPc:
   95|   162M|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEELb0EE13destroy_rangeEPS7_S9_:
  180|     63|  static void destroy_range(T *S, T *E) {
  181|     63|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 63]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|     63|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvE5beginEv:
  113|     63|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvE3endEv:
  117|     63|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvE7isSmallEv:
   86|     63|  bool isSmall() const {
   87|     63|    return BeginX == static_cast<const void*>(&FirstEl);
   88|     63|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_11MCDwarfFileELb0EE13destroy_rangeEPS1_S3_:
  180|     63|  static void destroy_range(T *S, T *E) {
  181|     63|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 63]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|     63|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE5beginEv:
  113|     63|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE3endEv:
  117|     63|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE7isSmallEv:
   86|     63|  bool isSmall() const {
   87|     63|    return BeginX == static_cast<const void*>(&FirstEl);
   88|     63|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE3endEv:
  117|   100k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE4growEm:
  333|    852|  void grow(size_t MinSize = 0) {
  334|    852|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|    852|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE8grow_podEmm:
   80|    852|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|    852|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|    852|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE6setEndEPS2_:
   95|  29.3k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE13destroy_rangeEPS2_S4_:
  284|  29.4k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE5beginEv:
  113|  42.3k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE7isSmallEv:
   86|  17.0k|  bool isSmall() const {
   87|  17.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  17.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_14MCLOHDirectiveELb0EE13destroy_rangeEPS1_S3_:
  180|  17.0k|  static void destroy_range(T *S, T *E) {
  181|  17.0k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 17.0k]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|  17.0k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE5beginEv:
  113|  17.0k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE3endEv:
  117|  17.0k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE7isSmallEv:
   86|  17.0k|  bool isSmall() const {
   87|  17.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  17.0k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEE5clearEv:
  378|  12.4k|  void clear() {
  379|  12.4k|    this->destroy_range(this->begin(), this->end());
  380|  12.4k|    this->EndX = this->BeginX;
  381|  12.4k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE4backEv:
  167|   158M|  const_reference back() const {
  168|   158M|    assert(!empty());
  ------------------
  |  Branch (168:5): [True: 158M, False: 0]
  ------------------
  169|   158M|    return end()[-1];
  170|   158M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE3endEv:
  119|   158M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EE9push_backERKS9_:
  337|  17.0k|  void push_back(const T &Elt) {
  338|  17.0k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  17.0k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 17.0k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  17.0k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  17.0k|    this->setEnd(this->end()+1);
  342|  17.0k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE6setEndEPS9_:
   95|  17.0k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE3endEv:
  117|   111k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE4backEv:
  163|  60.2k|  reference back() {
  164|  60.2k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 60.2k, False: 0]
  ------------------
  165|  60.2k|    return end()[-1];
  166|  60.2k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE5beginEv:
  115|  2.07M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE4sizeEv:
  132|  2.07M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE3endEv:
  119|  2.07M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks15SmallVectorImplIcE5clearEv:
  378|  34.0k|  void clear() {
  379|  34.0k|    this->destroy_range(this->begin(), this->end());
  380|  34.0k|    this->EndX = this->BeginX;
  381|  34.0k|  }
_ZN7llvm_ks15SmallVectorImplIcE6appendIPKcEEvT_S5_:
  423|   162M|  void append(in_iter in_start, in_iter in_end) {
  424|   162M|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|   162M|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 4.75k, False: 162M]
  ------------------
  427|  4.75k|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|   162M|    this->uninitialized_copy(in_start, in_end, this->end());
  431|   162M|    this->setEnd(this->end() + NumInputs);
  432|   162M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE12capacity_ptrEv:
  121|   162M|  iterator capacity_ptr() { return (iterator)this->CapacityX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyIKccEEvPT_S5_PT0_PNSt3__19enable_ifIXsr3std7is_sameINS8_12remove_constIS4_E4typeES6_EE5valueEvE4typeE:
  322|   162M|                                           T2>::value>::type * = nullptr) {
  323|       |    // Use memcpy for PODs iterated by pointers (which includes SmallVector
  324|       |    // iterators): std::uninitialized_copy optimizes to memmove, but we can
  325|       |    // use memcpy here. Note that I and E are iterators and thus might be
  326|       |    // invalid for memcpy if they are equal.
  327|   162M|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 162M, False: 113]
  ------------------
  328|   162M|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|   162M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE9push_backERKS4_:
  337|     17|  void push_back(const T &Elt) {
  338|     17|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|     17|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 17, False: 0]
  |  |  ------------------
  ------------------
  339|     17|      this->grow();
  340|     17|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|     17|    this->setEnd(this->end()+1);
  342|     17|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE4growEm:
  333|     17|  void grow(size_t MinSize = 0) {
  334|     17|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|     17|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE8grow_podEmm:
   80|     17|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|     17|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|     17|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE3endEv:
  117|   647k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE6setEndEPS4_:
   95|     17|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE4sizeEv:
  132|  74.0k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE3endEv:
  119|  74.0k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE5beginEv:
  115|  74.0k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE9push_backERKS1_:
  337|  74.0k|  void push_back(const T &Elt) {
  338|  74.0k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  74.0k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 390, False: 73.6k]
  |  |  ------------------
  ------------------
  339|    390|      this->grow();
  340|  74.0k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  74.0k|    this->setEnd(this->end()+1);
  342|  74.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE4growEm:
  333|    390|  void grow(size_t MinSize = 0) {
  334|    390|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|    390|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE8grow_podEmm:
   80|    390|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|    390|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|    390|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE3endEv:
  117|   820k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE6setEndEPS1_:
   95|   126k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5beginEv:
  113|  39.2M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE5eraseEPS1_:
  462|  13.0M|  iterator erase(iterator I) {
  463|  13.0M|    assert(I >= this->begin() && "Iterator to erase is out of bounds.");
  ------------------
  |  Branch (463:5): [True: 13.0M, False: 0]
  |  Branch (463:5): [True: 13.0M, Folded]
  |  Branch (463:5): [True: 13.0M, False: 0]
  ------------------
  464|  13.0M|    assert(I < this->end() && "Erasing at past-the-end iterator.");
  ------------------
  |  Branch (464:5): [True: 13.0M, False: 0]
  |  Branch (464:5): [True: 13.0M, Folded]
  |  Branch (464:5): [True: 13.0M, False: 0]
  ------------------
  465|       |
  466|  13.0M|    iterator N = I;
  467|       |    // Shift all elts down one.
  468|  13.0M|    this->move(I+1, this->end(), I);
  469|       |    // Drop the last elt.
  470|  13.0M|    this->pop_back();
  471|  13.0M|    return(N);
  472|  13.0M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE3endEv:
  117|  78.5M|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE4moveIPS1_S4_EET0_T_S6_S5_:
  191|  13.0M|  static It2 move(It1 I, It1 E, It2 Dest) {
  192|  13.0M|    for (; I != E; ++I, ++Dest)
  ------------------
  |  Branch (192:12): [True: 0, False: 13.0M]
  ------------------
  193|      0|      *Dest = ::std::move(*I);
  194|  13.0M|    return Dest;
  195|  13.0M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE8pop_backEv:
  243|  13.0M|  void pop_back() {
  244|  13.0M|    this->setEnd(this->end()-1);
  245|  13.0M|    this->end()->~T();
  246|  13.0M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE6setEndEPS1_:
   95|  26.1M|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE12emplace_backIJS1_EEEvDpOT_:
  659|  13.0M|  template <typename... ArgTypes> void emplace_back(ArgTypes &&... Args) {
  660|  13.0M|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  13.0M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 13.0M]
  |  |  ------------------
  ------------------
  661|      0|      this->grow();
  662|  13.0M|    ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...);
  663|  13.0M|    this->setEnd(this->end() + 1);
  664|  13.0M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5beginEv:
  115|  99.7M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE4sizeEv:
  132|  49.8M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE3endEv:
  119|  49.8M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE13destroy_rangeEPS1_S3_:
  180|  17.0k|  static void destroy_range(T *S, T *E) {
  181|  34.0k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 17.0k, False: 17.0k]
  ------------------
  182|  17.0k|      --E;
  183|  17.0k|      E->~T();
  184|  17.0k|    }
  185|  17.0k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE7isSmallEv:
   86|  17.0k|  bool isSmall() const {
   87|  17.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  17.0k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5frontEv:
  154|  13.0M|  reference front() {
  155|  13.0M|    assert(!empty());
  ------------------
  |  Branch (155:5): [True: 13.0M, False: 0]
  ------------------
  156|  13.0M|    return begin()[0];
  157|  13.0M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvEixEm:
  149|  49.8M|  const_reference operator[](size_type idx) const {
  150|  49.8M|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 49.8M, False: 0]
  ------------------
  151|  49.8M|    return begin()[idx];
  152|  49.8M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EE13destroy_rangeEPS1_S3_:
  180|  65.8k|  static void destroy_range(T *S, T *E) {
  181|  65.8k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 65.8k]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|  65.8k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE5beginEv:
  113|   131k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE3endEv:
  117|   329k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE7isSmallEv:
   86|  65.8k|  bool isSmall() const {
   87|  65.8k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  65.8k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE5beginEv:
  115|   122k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE4sizeEv:
  132|  61.3k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE3endEv:
  119|  61.3k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE6setEndEPS1_:
   95|  65.8k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE4dataEv:
  141|  61.3k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks11SmallVectorINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEELj3EEC2Ev:
  872|     63|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     63|  }
_ZN7llvm_ks15SmallVectorImplINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEC2Ej:
  364|     63|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|     63|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEELb0EEC2Em:
  178|     63|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvEC2Em:
   78|     63|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_11MCDwarfFileELj3EEC2Ev:
  872|     63|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     63|  }
_ZN7llvm_ks15SmallVectorImplINS_11MCDwarfFileEEC2Ej:
  364|     63|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|     63|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_11MCDwarfFileELb0EEC2Em:
  178|     63|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvEC2Em:
   78|     63|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_11MCDwarfFileEED2Ev:
  368|     63|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|     63|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|     63|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 63]
  ------------------
  374|      0|      free(this->begin());
  375|     63|  }
_ZN7llvm_ks15SmallVectorImplINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEED2Ev:
  368|     63|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|     63|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|     63|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 63]
  ------------------
  374|      0|      free(this->begin());
  375|     63|  }
_ZN7llvm_ks11SmallVectorIcLj128EEC2Ev:
  872|   718k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   718k|  }
_ZN7llvm_ks11SmallVectorIPvLj4EEC2Ev:
  872|   102k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   102k|  }
_ZN7llvm_ks15SmallVectorImplIPvEC2Ej:
  364|   102k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|   102k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EEC2Em:
  281|   102k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvEC2Em:
   78|   102k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINSt3__14pairIPvmEELj0EEC2Ev:
  872|   102k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   102k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEEC2Ej:
  364|   102k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|   102k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EEC2Em:
  281|   102k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvEC2Em:
   78|   102k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIPvED2Ev:
  368|   102k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|   102k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|   102k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 205, False: 102k]
  ------------------
  374|    205|      free(this->begin());
  375|   102k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE13destroy_rangeEPS1_S3_:
  284|   154k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE5beginEv:
  113|   694k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE7isSmallEv:
   86|   102k|  bool isSmall() const {
   87|   102k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|   102k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE5beginEv:
  113|   647k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEED2Ev:
  368|   102k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|   102k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|   102k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 10, False: 102k]
  ------------------
  374|     10|      free(this->begin());
  375|   102k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE13destroy_rangeEPS4_S6_:
  284|   255k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE7isSmallEv:
   86|   102k|  bool isSmall() const {
   87|   102k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|   102k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE4backEv:
  163|  69.4k|  reference back() {
  164|  69.4k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 69.4k, False: 0]
  ------------------
  165|  69.4k|    return end()[-1];
  166|  69.4k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEE5clearEv:
  378|   153k|  void clear() {
  379|   153k|    this->destroy_range(this->begin(), this->end());
  380|   153k|    this->EndX = this->BeginX;
  381|   153k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE5frontEv:
  154|  52.3k|  reference front() {
  155|  52.3k|    assert(!empty());
  ------------------
  |  Branch (155:5): [True: 52.3k, False: 0]
  ------------------
  156|  52.3k|    return begin()[0];
  157|  52.3k|  }
_ZN7llvm_ks15SmallVectorImplIPvE5eraseEPS1_S3_:
  474|  52.3k|  iterator erase(iterator S, iterator E) {
  475|  52.3k|    assert(S >= this->begin() && "Range to erase is out of bounds.");
  ------------------
  |  Branch (475:5): [True: 52.3k, False: 0]
  |  Branch (475:5): [True: 52.3k, Folded]
  |  Branch (475:5): [True: 52.3k, False: 0]
  ------------------
  476|  52.3k|    assert(S <= E && "Trying to erase invalid range.");
  ------------------
  |  Branch (476:5): [True: 52.3k, False: 0]
  |  Branch (476:5): [True: 52.3k, Folded]
  |  Branch (476:5): [True: 52.3k, False: 0]
  ------------------
  477|  52.3k|    assert(E <= this->end() && "Trying to erase past the end.");
  ------------------
  |  Branch (477:5): [True: 52.3k, False: 0]
  |  Branch (477:5): [True: 52.3k, Folded]
  |  Branch (477:5): [True: 52.3k, False: 0]
  ------------------
  478|       |
  479|  52.3k|    iterator N = S;
  480|       |    // Shift all elts down.
  481|  52.3k|    iterator I = this->move(E, this->end(), S);
  482|       |    // Drop the last elts.
  483|  52.3k|    this->destroy_range(I, this->end());
  484|  52.3k|    this->setEnd(I);
  485|  52.3k|    return(N);
  486|  52.3k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE4moveIPS1_S4_EET0_T_S6_S5_:
  289|  52.3k|  static It2 move(It1 I, It1 E, It2 Dest) {
  290|  52.3k|    return ::std::copy(I, E, Dest);
  291|  52.3k|  }
_ZN7llvm_ks11SmallVectorIcLj128EEC2IPKcEET_S5_:
  881|   239k|  SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
  882|   239k|    this->append(S, E);
  883|   239k|  }
_ZN7llvm_ks15SmallVectorImplIcE6resizeEm:
  383|  50.0k|  void resize(size_type N) {
  384|  50.0k|    if (N < this->size()) {
  ------------------
  |  Branch (384:9): [True: 0, False: 50.0k]
  ------------------
  385|      0|      this->destroy_range(this->begin()+N, this->end());
  386|      0|      this->setEnd(this->begin()+N);
  387|  50.0k|    } else if (N > this->size()) {
  ------------------
  |  Branch (387:16): [True: 0, False: 50.0k]
  ------------------
  388|      0|      if (this->capacity() < N)
  ------------------
  |  Branch (388:11): [True: 0, False: 0]
  ------------------
  389|      0|        this->grow(N);
  390|      0|      for (auto I = this->end(), E = this->begin() + N; I != E; ++I)
  ------------------
  |  Branch (390:57): [True: 0, False: 0]
  ------------------
  391|      0|        new (&*I) T();
  392|      0|      this->setEnd(this->begin()+N);
  393|      0|    }
  394|  50.0k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE8capacityEv:
  136|   286k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE12capacity_ptrEv:
  122|   286k|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZN7llvm_ks11SmallVectorIcLj128EEC2ERKS1_:
  895|   239k|  SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) {
  896|   239k|    if (!RHS.empty())
  ------------------
  |  Branch (896:9): [True: 239k, False: 0]
  ------------------
  897|   239k|      SmallVectorImpl<T>::operator=(RHS);
  898|   239k|  }
_ZN7llvm_ks15SmallVectorImplIcEaSERKS1_:
  739|   243k|  operator=(const SmallVectorImpl<T> &RHS) {
  740|       |  // Avoid self-assignment.
  741|   243k|  if (this == &RHS) return *this;
  ------------------
  |  Branch (741:7): [True: 0, False: 243k]
  ------------------
  742|       |
  743|       |  // If we already have sufficient space, assign the common elements, then
  744|       |  // destroy any excess.
  745|   243k|  size_t RHSSize = RHS.size();
  746|   243k|  size_t CurSize = this->size();
  747|   243k|  if (CurSize >= RHSSize) {
  ------------------
  |  Branch (747:7): [True: 0, False: 243k]
  ------------------
  748|       |    // Assign common elements.
  749|      0|    iterator NewEnd;
  750|      0|    if (RHSSize)
  ------------------
  |  Branch (750:9): [True: 0, False: 0]
  ------------------
  751|      0|      NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin());
  752|      0|    else
  753|      0|      NewEnd = this->begin();
  754|       |
  755|       |    // Destroy excess elements.
  756|      0|    this->destroy_range(NewEnd, this->end());
  757|       |
  758|       |    // Trim.
  759|      0|    this->setEnd(NewEnd);
  760|      0|    return *this;
  761|      0|  }
  762|       |
  763|       |  // If we have to grow to have enough elements, destroy the current elements.
  764|       |  // This allows us to avoid copying them during the grow.
  765|       |  // FIXME: don't do this if they're efficiently moveable.
  766|   243k|  if (this->capacity() < RHSSize) {
  ------------------
  |  Branch (766:7): [True: 124, False: 243k]
  ------------------
  767|       |    // Destroy current elements.
  768|    124|    this->destroy_range(this->begin(), this->end());
  769|    124|    this->setEnd(this->begin());
  770|    124|    CurSize = 0;
  771|    124|    this->grow(RHSSize);
  772|   243k|  } else if (CurSize) {
  ------------------
  |  Branch (772:14): [True: 3.87k, False: 239k]
  ------------------
  773|       |    // Otherwise, use assignment for the already-constructed elements.
  774|  3.87k|    std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin());
  775|  3.87k|  }
  776|       |
  777|       |  // Copy construct the new elements in place.
  778|   243k|  this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
  779|   243k|                           this->begin()+CurSize);
  780|       |
  781|       |  // Set end.
  782|   243k|  this->setEnd(this->begin()+RHSSize);
  783|   243k|  return *this;
  784|   243k|}
_ZN7llvm_ks11SmallVectorIcLj64EEC2Ev:
  872|  3.73k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  3.73k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE4sizeEv:
  132|     62|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE3endEv:
  119|     62|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE5beginEv:
  115|     62|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyIccEEvPT_S4_PT0_PNSt3__19enable_ifIXsr3std7is_sameINS7_12remove_constIS3_E4typeES5_EE5valueEvE4typeE:
  322|  23.8k|                                           T2>::value>::type * = nullptr) {
  323|       |    // Use memcpy for PODs iterated by pointers (which includes SmallVector
  324|       |    // iterators): std::uninitialized_copy optimizes to memmove, but we can
  325|       |    // use memcpy here. Note that I and E are iterators and thus might be
  326|       |    // invalid for memcpy if they are equal.
  327|  23.8k|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 23.8k, False: 0]
  ------------------
  328|  23.8k|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|  23.8k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_14MCDataFragmentEED2Ev:
  368|  17.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  17.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  17.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 17.0k]
  ------------------
  374|      0|      free(this->begin());
  375|  17.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_14MCDataFragmentELb1EE13destroy_rangeEPS2_S4_:
  284|  17.0k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE5beginEv:
  113|  17.0k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE3endEv:
  117|  17.0k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE7isSmallEv:
   86|  17.0k|  bool isSmall() const {
   87|  17.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  17.0k|  }
_ZN7llvm_ks11SmallVectorIcLj32EEC2Ev:
  872|  13.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  13.0k|  }
_ZN7llvm_ks15SmallVectorImplINS_7MCFixupEED2Ev:
  368|  40.8k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  40.8k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  40.8k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 447, False: 40.4k]
  ------------------
  374|    447|      free(this->begin());
  375|  40.8k|  }
_ZN7llvm_ks11SmallVectorIPNS_14MCDataFragmentELj4EEC2Ev:
  872|  17.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  17.0k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_14MCDataFragmentEEC2Ej:
  364|  17.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  17.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_14MCDataFragmentELb1EEC2Em:
  281|  17.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvEC2Em:
   78|  17.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorIcLj256EEC2Ev:
  872|   239k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   239k|  }
_ZN7llvm_ks15SmallVectorImplIcE6appendIPcEEvT_S4_:
  423|  23.8k|  void append(in_iter in_start, in_iter in_end) {
  424|  23.8k|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|  23.8k|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 263, False: 23.6k]
  ------------------
  427|    263|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|  23.8k|    this->uninitialized_copy(in_start, in_end, this->end());
  431|  23.8k|    this->setEnd(this->end() + NumInputs);
  432|  23.8k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE4sizeEv:
  132|  85.2k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE3endEv:
  119|  92.1k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE5beginEv:
  115|   110k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvEixEm:
  144|  25.7k|  reference operator[](size_type idx) {
  145|  25.7k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 25.7k, False: 0]
  ------------------
  146|  25.7k|    return begin()[idx];
  147|  25.7k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE9push_backERKS1_:
  337|  62.6k|  void push_back(const T &Elt) {
  338|  62.6k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  62.6k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 1.06k, False: 61.5k]
  |  |  ------------------
  ------------------
  339|  1.06k|      this->grow();
  340|  62.6k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  62.6k|    this->setEnd(this->end()+1);
  342|  62.6k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE4growEm:
  333|  1.06k|  void grow(size_t MinSize = 0) {
  334|  1.06k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  1.06k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE8grow_podEmm:
   80|  1.06k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  1.06k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  1.06k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE6setEndEPS1_:
   95|  66.5k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks11SmallVectorINS_7MCFixupELj4EEC2Ev:
  872|  34.5k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  34.5k|  }
_ZN7llvm_ks15SmallVectorImplINS_7MCFixupEEC2Ej:
  364|  40.8k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  40.8k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EEC2Em:
  281|  40.8k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvEC2Em:
   78|  40.8k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIPNS_9MCSectionEED2Ev:
  368|  7.89k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  7.89k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  7.89k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 1, False: 7.89k]
  ------------------
  374|      1|      free(this->begin());
  375|  7.89k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EE13destroy_rangeEPS2_S4_:
  284|  7.89k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE5beginEv:
  113|  24.2k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE3endEv:
  117|  24.2k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE7isSmallEv:
   86|  7.89k|  bool isSmall() const {
   87|  7.89k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  7.89k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEED2Ev:
  368|  39.8k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  39.8k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  39.8k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 39.8k]
  ------------------
  374|      0|      free(this->begin());
  375|  39.8k|  }
_ZN7llvm_ks11SmallVectorIPNS_9MCSectionELj16EEC2Ev:
  872|  7.89k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  7.89k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_9MCSectionEEC2Ej:
  364|  7.89k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  7.89k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EEC2Em:
  281|  7.89k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvEC2Em:
   78|  7.89k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EE9push_backERKS2_:
  337|  8.18k|  void push_back(const T &Elt) {
  338|  8.18k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  8.18k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 1, False: 8.18k]
  |  |  ------------------
  ------------------
  339|      1|      this->grow();
  340|  8.18k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  8.18k|    this->setEnd(this->end()+1);
  342|  8.18k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EE4growEm:
  333|      1|  void grow(size_t MinSize = 0) {
  334|      1|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|      1|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE8grow_podEmm:
   80|      1|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|      1|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|      1|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE6setEndEPS2_:
   95|  8.18k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEED2Ev:
  368|  17.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  17.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  17.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 452, False: 16.5k]
  ------------------
  374|    452|      free(this->begin());
  375|  17.0k|  }
_ZN7llvm_ks11SmallVectorIcLj8EEC2Ev:
  872|  6.30k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  6.30k|  }
_ZN7llvm_ks11SmallVectorINS_9MCOperandELj8EEC2Ev:
  872|  33.5k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  33.5k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEEC2Ej:
  364|  39.8k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  39.8k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EEC2Em:
  281|  39.8k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEC2Em:
   78|  39.8k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_7MCFixupELj1EEC2Ev:
  872|  6.30k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  6.30k|  }
_ZN7llvm_ks11SmallVectorINS_9MCOperandELj8EEC2ERKS2_:
  895|  6.30k|  SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) {
  896|  6.30k|    if (!RHS.empty())
  ------------------
  |  Branch (896:9): [True: 6.30k, False: 0]
  ------------------
  897|  6.30k|      SmallVectorImpl<T>::operator=(RHS);
  898|  6.30k|  }
_ZN7llvm_ks11SmallVectorIPNS_8MCSymbolELj2EEC2Ev:
  872|  17.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  17.0k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEEC2Ej:
  364|  17.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  17.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EEC2Em:
  281|  17.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvEC2Em:
   78|  17.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIcE6resizeEmRKc:
  396|  42.7k|  void resize(size_type N, const T &NV) {
  397|  42.7k|    if (N < this->size()) {
  ------------------
  |  Branch (397:9): [True: 0, False: 42.7k]
  ------------------
  398|      0|      this->destroy_range(this->begin()+N, this->end());
  399|      0|      this->setEnd(this->begin()+N);
  400|  42.7k|    } else if (N > this->size()) {
  ------------------
  |  Branch (400:16): [True: 42.7k, False: 0]
  ------------------
  401|  42.7k|      if (this->capacity() < N)
  ------------------
  |  Branch (401:11): [True: 467, False: 42.3k]
  ------------------
  402|    467|        this->grow(N);
  403|  42.7k|      std::uninitialized_fill(this->end(), this->begin()+N, NV);
  404|  42.7k|      this->setEnd(this->begin()+N);
  405|  42.7k|    }
  406|  42.7k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE9push_backERKS2_:
  337|  29.3k|  void push_back(const T &Elt) {
  338|  29.3k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  29.3k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 852, False: 28.4k]
  |  |  ------------------
  ------------------
  339|    852|      this->grow();
  340|  29.3k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  29.3k|    this->setEnd(this->end()+1);
  342|  29.3k|  }
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEED2Ev:
  368|  65.8k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  65.8k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  65.8k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 65.8k]
  ------------------
  374|      0|      free(this->begin());
  375|  65.8k|  }
_ZN7llvm_ks11SmallVectorINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELj8EEC2Ev:
  872|  7.04M|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  7.04M|  }
_ZN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEEC2Ej:
  364|  7.06M|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  7.06M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EEC2Em:
  178|  7.06M|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvEC2Em:
   78|  7.06M|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_5SMLocELj4EEC2Ev:
  872|  28.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  28.0k|  }
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEEC2Ej:
  364|  28.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  28.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EEC2Em:
  281|  28.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvEC2Em:
   78|  28.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEE6resizeEm:
  383|  39.1k|  void resize(size_type N) {
  384|  39.1k|    if (N < this->size()) {
  ------------------
  |  Branch (384:9): [True: 0, False: 39.1k]
  ------------------
  385|      0|      this->destroy_range(this->begin()+N, this->end());
  386|      0|      this->setEnd(this->begin()+N);
  387|  39.1k|    } else if (N > this->size()) {
  ------------------
  |  Branch (387:16): [True: 15.1k, False: 23.9k]
  ------------------
  388|  15.1k|      if (this->capacity() < N)
  ------------------
  |  Branch (388:11): [True: 2.20k, False: 12.9k]
  ------------------
  389|  2.20k|        this->grow(N);
  390|  69.6k|      for (auto I = this->end(), E = this->begin() + N; I != E; ++I)
  ------------------
  |  Branch (390:57): [True: 54.4k, False: 15.1k]
  ------------------
  391|  54.4k|        new (&*I) T();
  392|  15.1k|      this->setEnd(this->begin()+N);
  393|  15.1k|    }
  394|  39.1k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EE13destroy_rangeEPS1_S3_:
  284|  28.0k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE5beginEv:
  113|  72.5k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE3endEv:
  117|  43.2k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE6setEndEPS1_:
   95|  15.1k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE8capacityEv:
  136|  15.1k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE12capacity_ptrEv:
  122|  15.1k|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE5beginEv:
  115|   118k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EE4growEm:
  333|  2.20k|  void grow(size_t MinSize = 0) {
  334|  2.20k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  2.20k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE8grow_podEmm:
   80|  2.20k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  2.20k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  2.20k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE4sizeEv:
  132|   103k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE3endEv:
  119|   103k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvEixEm:
  144|  12.6k|  reference operator[](size_type idx) {
  145|  12.6k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 12.6k, False: 0]
  ------------------
  146|  12.6k|    return begin()[idx];
  147|  12.6k|  }
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEED2Ev:
  368|  28.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  28.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  28.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 1.46k, False: 26.5k]
  ------------------
  374|  1.46k|      free(this->begin());
  375|  28.0k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE7isSmallEv:
   86|  28.0k|  bool isSmall() const {
   87|  28.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  28.0k|  }
_ZN7llvm_ks11SmallVectorIjLj8EEC2Ev:
  872|  21.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  21.0k|  }
_ZN7llvm_ks15SmallVectorImplIjEC2Ej:
  364|  21.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  21.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIjLb1EEC2Em:
  281|  21.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIjvEC2Em:
   78|  21.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseIjLb1EE9push_backERKj:
  337|  25.7k|  void push_back(const T &Elt) {
  338|  25.7k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  25.7k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 25.7k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  25.7k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  25.7k|    this->setEnd(this->end()+1);
  342|  25.7k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIjvE3endEv:
  117|   216k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIjvE6setEndEPj:
   95|  25.7k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplIjED2Ev:
  368|  21.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  21.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  21.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 21.0k]
  ------------------
  374|      0|      free(this->begin());
  375|  21.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIjLb1EE13destroy_rangeEPjS2_:
  284|  21.0k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIjvE5beginEv:
  113|  41.0k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIjvE7isSmallEv:
   86|  21.0k|  bool isSmall() const {
   87|  21.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  21.0k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEED2Ev:
  368|  7.06M|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  7.06M|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  7.06M|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 483, False: 7.06M]
  ------------------
  374|    483|      free(this->begin());
  375|  7.06M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE13destroy_rangeEPS6_S8_:
  180|  7.06M|  static void destroy_range(T *S, T *E) {
  181|  7.21M|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 141k, False: 7.06M]
  ------------------
  182|   141k|      --E;
  183|   141k|      E->~T();
  184|   141k|    }
  185|  7.06M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE5beginEv:
  113|  7.13M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE3endEv:
  117|  7.38M|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE7isSmallEv:
   86|  7.06M|  bool isSmall() const {
   87|  7.06M|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  7.06M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE4sizeEv:
  132|  1.32M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE3endEv:
  119|  1.32M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE5beginEv:
  115|  1.94M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvEixEm:
  144|  38.7k|  reference operator[](size_type idx) {
  145|  38.7k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 38.7k, False: 0]
  ------------------
  146|  38.7k|    return begin()[idx];
  147|  38.7k|  }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEED2Ev:
  368|  17.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  17.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  17.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 17.0k]
  ------------------
  374|      0|      free(this->begin());
  375|  17.0k|  }
_ZN7llvm_ks11SmallVectorINS_8AsmTokenELj1EEC2Ev:
  872|  17.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  17.0k|  }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEEC2Ej:
  364|  17.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  17.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EEC2Em:
  178|  17.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvEC2Em:
   78|  17.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE12emplace_backIJNS1_9TokenKindENS_9StringRefEEEEvDpOT_:
  659|  17.0k|  template <typename... ArgTypes> void emplace_back(ArgTypes &&... Args) {
  660|  17.0k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  17.0k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 17.0k]
  |  |  ------------------
  ------------------
  661|      0|      this->grow();
  662|  17.0k|    ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...);
  663|  17.0k|    this->setEnd(this->end() + 1);
  664|  17.0k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjPNS_10MCFragmentEEEED2Ev:
  368|   740k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|   740k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|   740k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 740k]
  ------------------
  374|      0|      free(this->begin());
  375|   740k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjPNS_10MCFragmentEEELb1EE13destroy_rangeEPS5_S7_:
  284|   740k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE7isSmallEv:
   86|   740k|  bool isSmall() const {
   87|   740k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|   740k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairIjPNS_10MCFragmentEEELj1EEC2Ev:
  872|   740k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   740k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjPNS_10MCFragmentEEEEC2Ej:
  364|   740k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|   740k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjPNS_10MCFragmentEEELb1EEC2Em:
  281|   740k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvEC2Em:
   78|   740k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE5beginEv:
  113|   740k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE3endEv:
  117|   740k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvEixEm:
  144|  1.16M|  reference operator[](size_type idx) {
  145|  1.16M|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 1.16M, False: 0]
  ------------------
  146|  1.16M|    return begin()[idx];
  147|  1.16M|  }
_ZN7llvm_ks15SmallVectorImplINS_9StringRefEED2Ev:
  368|   190k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|   190k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|   190k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 1.38k, False: 188k]
  ------------------
  374|  1.38k|      free(this->begin());
  375|   190k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE13destroy_rangeEPS1_S3_:
  284|   190k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE7isSmallEv:
   86|   190k|  bool isSmall() const {
   87|   190k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|   190k|  }
_ZN7llvm_ks11SmallVectorINS_9StringRefELj5EEC2Ev:
  872|  2.86k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  2.86k|  }
_ZN7llvm_ks15SmallVectorImplINS_9StringRefEEC2Ej:
  364|   190k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|   190k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EEC2Em:
  281|   190k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvEC2Em:
   78|   190k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_9StringRefELj1EEC2Ev:
  872|     16|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     16|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE5beginEv:
  113|  1.37M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE3endEv:
  117|  1.76M|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEED2Ev:
  368|  17.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  17.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  17.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 17.0k]
  ------------------
  374|      0|      free(this->begin());
  375|  17.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EE13destroy_rangeEPS9_SB_:
  284|  17.0k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE5beginEv:
  113|  17.0k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE7isSmallEv:
   86|  17.0k|  bool isSmall() const {
   87|  17.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  17.0k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELj4EEC2Ev:
  872|  17.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  17.0k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEEC2Ej:
  364|  17.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  17.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EEC2Em:
  281|  17.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvEC2Em:
   78|  17.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorIcLj16384EEC2Ev:
  872|      1|  SmallVector() : SmallVectorImpl<T>(N) {
  873|      1|  }
_ZN7llvm_ks15SmallVectorImplIcE7reserveEm:
  408|      1|  void reserve(size_type N) {
  409|      1|    if (this->capacity() < N)
  ------------------
  |  Branch (409:9): [True: 0, False: 1]
  ------------------
  410|      0|      this->grow(N);
  411|      1|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE6setEndEPS1_:
   95|   776k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks11SmallVectorINS_9StringRefELj4EEC2Ev:
  872|   170k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   170k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE9push_backERKS1_:
  337|   776k|  void push_back(const T &Elt) {
  338|   776k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|   776k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 3.16k, False: 773k]
  |  |  ------------------
  ------------------
  339|  3.16k|      this->grow();
  340|   776k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|   776k|    this->setEnd(this->end()+1);
  342|   776k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE4growEm:
  333|  3.16k|  void grow(size_t MinSize = 0) {
  334|  3.16k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  3.16k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE8grow_podEmm:
   80|  3.16k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  3.16k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  3.16k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjjEEED2Ev:
  368|  64.8k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  64.8k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  64.8k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 64.8k]
  ------------------
  374|      0|      free(this->begin());
  375|  64.8k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EE13destroy_rangeEPS3_S5_:
  284|  64.8k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE5beginEv:
  113|  64.8k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE3endEv:
  117|  64.9k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE7isSmallEv:
   86|  64.8k|  bool isSmall() const {
   87|  64.8k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  64.8k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairIjjEELj4EEC2Ev:
  872|  64.8k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  64.8k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjjEEEC2Ej:
  364|  64.8k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  64.8k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EEC2Em:
  281|  64.8k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvEC2Em:
   78|  64.8k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EE9push_backERKS3_:
  337|     42|  void push_back(const T &Elt) {
  338|     42|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|     42|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 42]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|     42|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|     42|    this->setEnd(this->end()+1);
  342|     42|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE6setEndEPS3_:
   95|     42|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE4dataEv:
  141|  64.8k|  const_pointer data() const { return const_pointer(begin()); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE5beginEv:
  115|   129k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE4sizeEv:
  132|  64.8k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE3endEv:
  119|  64.8k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks11SmallVectorINS_7SMFixItELj4EEC2IPKS1_EET_S6_:
  881|  65.8k|  SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
  882|  65.8k|    this->append(S, E);
  883|  65.8k|  }
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEEC2Ej:
  364|  65.8k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  65.8k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EEC2Em:
  178|  65.8k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvEC2Em:
   78|  65.8k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEE6appendIPKS1_EEvT_S6_:
  423|  65.8k|  void append(in_iter in_start, in_iter in_end) {
  424|  65.8k|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|  65.8k|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 0, False: 65.8k]
  ------------------
  427|      0|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|  65.8k|    this->uninitialized_copy(in_start, in_end, this->end());
  431|  65.8k|    this->setEnd(this->end() + NumInputs);
  432|  65.8k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE12capacity_ptrEv:
  121|  65.8k|  iterator capacity_ptr() { return (iterator)this->CapacityX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EE18uninitialized_copyIPKS1_PS1_EEvT_S7_T0_:
  219|  65.8k|  static void uninitialized_copy(It1 I, It1 E, It2 Dest) {
  220|  65.8k|    std::uninitialized_copy(I, E, Dest);
  221|  65.8k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE9push_backEOS6_:
  236|   129k|  void push_back(T &&Elt) {
  237|   129k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|   129k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 774, False: 128k]
  |  |  ------------------
  ------------------
  238|    774|      this->grow();
  239|   129k|    ::new ((void*) this->end()) T(::std::move(Elt));
  240|   129k|    this->setEnd(this->end()+1);
  241|   129k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE4growEm:
  251|    774|void SmallVectorTemplateBase<T, isPodLike>::grow(size_t MinSize) {
  252|    774|  size_t CurCapacity = this->capacity();
  253|    774|  size_t CurSize = this->size();
  254|       |  // Always grow, even from zero.
  255|    774|  size_t NewCapacity = size_t(NextPowerOf2(CurCapacity+2));
  256|    774|  if (NewCapacity < MinSize)
  ------------------
  |  Branch (256:7): [True: 0, False: 774]
  ------------------
  257|      0|    NewCapacity = MinSize;
  258|    774|  T *NewElts = static_cast<T*>(malloc(NewCapacity*sizeof(T)));
  259|       |
  260|       |  // Move the elements over.
  261|    774|  this->uninitialized_move(this->begin(), this->end(), NewElts);
  262|       |
  263|       |  // Destroy the original elements.
  264|    774|  destroy_range(this->begin(), this->end());
  265|       |
  266|       |  // If this wasn't grown from the inline copy, deallocate the old space.
  267|    774|  if (!this->isSmall())
  ------------------
  |  Branch (267:7): [True: 291, False: 483]
  ------------------
  268|    291|    free(this->begin());
  269|       |
  270|    774|  this->setEnd(NewElts+CurSize);
  271|    774|  this->BeginX = NewElts;
  272|    774|  this->CapacityX = this->begin()+NewCapacity;
  273|    774|}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE8capacityEv:
  136|    774|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE12capacity_ptrEv:
  122|    774|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE18uninitialized_moveIPS6_S9_EEvT_SA_T0_:
  211|    774|  static void uninitialized_move(It1 I, It1 E, It2 Dest) {
  212|  13.2k|    for (; I != E; ++I, ++Dest)
  ------------------
  |  Branch (212:12): [True: 12.4k, False: 774]
  ------------------
  213|  12.4k|      ::new ((void*) &*Dest) T(::std::move(*I));
  214|    774|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE6setEndEPS6_:
   95|   130k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvEixEm:
  149|   626k|  const_reference operator[](size_type idx) const {
  150|   626k|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 626k, False: 0]
  ------------------
  151|   626k|    return begin()[idx];
  152|   626k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE8pop_backEv:
  243|     48|  void pop_back() {
  244|     48|    this->setEnd(this->end()-1);
  245|     48|    this->end()->~T();
  246|     48|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE4backEv:
  163|  33.8k|  reference back() {
  164|  33.8k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 33.8k, False: 0]
  ------------------
  165|  33.8k|    return end()[-1];
  166|  33.8k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIjvE4backEv:
  163|   123k|  reference back() {
  164|   123k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 123k, False: 0]
  ------------------
  165|   123k|    return end()[-1];
  166|   123k|  }
X86AsmParser.cpp:_ZN7llvm_ks11SmallVectorIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokELj4EEC2Ev:
  872|  20.2k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  20.2k|  }
X86AsmParser.cpp:_ZN7llvm_ks15SmallVectorImplIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEEC2Ej:
  364|  20.2k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  20.2k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokELb1EEC2Em:
  281|  20.2k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvEC2Em:
   78|  20.2k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
X86AsmParser.cpp:_ZN7llvm_ks11SmallVectorINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELj4EEC2Ev:
  872|  20.2k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  20.2k|  }
X86AsmParser.cpp:_ZN7llvm_ks15SmallVectorImplINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEEC2Ej:
  364|  35.8k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  35.8k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELb1EEC2Em:
  281|  35.8k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvEC2Em:
   78|  35.8k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
X86AsmParser.cpp:_ZN7llvm_ks15SmallVectorImplIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEED2Ev:
  368|  20.2k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  20.2k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  20.2k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 159, False: 20.0k]
  ------------------
  374|    159|      free(this->begin());
  375|  20.2k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokELb1EE13destroy_rangeEPS3_S5_:
  284|  20.2k|  static void destroy_range(T *, T *) {}
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE5beginEv:
  113|  66.7k|  iterator begin() { return (iterator)this->BeginX; }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE3endEv:
  117|   126k|  iterator end() { return (iterator)this->EndX; }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE7isSmallEv:
   86|  20.2k|  bool isSmall() const {
   87|  20.2k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  20.2k|  }
X86AsmParser.cpp:_ZN7llvm_ks15SmallVectorImplINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEED2Ev:
  368|  35.8k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  35.8k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  35.8k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 2.04k, False: 33.8k]
  ------------------
  374|  2.04k|      free(this->begin());
  375|  35.8k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELb1EE13destroy_rangeEPS6_S8_:
  284|  35.8k|  static void destroy_range(T *, T *) {}
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE5beginEv:
  113|   102k|  iterator begin() { return (iterator)this->BeginX; }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE3endEv:
  117|   410k|  iterator end() { return (iterator)this->EndX; }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE7isSmallEv:
   86|  35.8k|  bool isSmall() const {
   87|  35.8k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  35.8k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELb1EE9push_backERKS6_:
  337|   125k|  void push_back(const T &Elt) {
  338|   125k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|   125k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 3.42k, False: 121k]
  |  |  ------------------
  ------------------
  339|  3.42k|      this->grow();
  340|   125k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|   125k|    this->setEnd(this->end()+1);
  342|   125k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELb1EE4growEm:
  333|  3.42k|  void grow(size_t MinSize = 0) {
  334|  3.42k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  3.42k|  }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE8grow_podEmm:
   80|  3.42k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  3.42k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  3.42k|  }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE6setEndEPS6_:
   95|   187k|  void setEnd(T *P) { this->EndX = P; }
X86AsmParser.cpp:_ZN7llvm_ks15SmallVectorImplINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEE12pop_back_valEv:
  413|  62.0k|  T LLVM_ATTRIBUTE_UNUSED_RESULT pop_back_val() {
  414|  62.0k|    T Result = ::std::move(this->back());
  415|  62.0k|    this->pop_back();
  416|  62.0k|    return Result;
  417|  62.0k|  }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE4backEv:
  163|  62.0k|  reference back() {
  164|  62.0k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 62.0k, False: 0]
  ------------------
  165|  62.0k|    return end()[-1];
  166|  62.0k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELb1EE8pop_backEv:
  344|  62.0k|  void pop_back() {
  345|  62.0k|    this->setEnd(this->end()-1);
  346|  62.0k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokELb1EE8pop_backEv:
  344|  30.5k|  void pop_back() {
  345|  30.5k|    this->setEnd(this->end()-1);
  346|  30.5k|  }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE6setEndEPS3_:
   95|  62.6k|  void setEnd(T *P) { this->EndX = P; }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokELb1EE9push_backERKS3_:
  337|  32.0k|  void push_back(const T &Elt) {
  338|  32.0k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  32.0k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 364, False: 31.6k]
  |  |  ------------------
  ------------------
  339|    364|      this->grow();
  340|  32.0k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  32.0k|    this->setEnd(this->end()+1);
  342|  32.0k|  }
X86AsmParser.cpp:_ZN7llvm_ks23SmallVectorTemplateBaseIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokELb1EE4growEm:
  333|    364|  void grow(size_t MinSize = 0) {
  334|    364|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|    364|  }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE8grow_podEmm:
   80|    364|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|    364|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|    364|  }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE4sizeEv:
  132|  92.6k|  size_type size() const { return end()-begin(); }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE3endEv:
  119|  92.6k|  const_iterator end() const { return (const_iterator)this->EndX; }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE5beginEv:
  115|  92.6k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvEixEm:
  144|  46.3k|  reference operator[](size_type idx) {
  145|  46.3k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 46.3k, False: 0]
  ------------------
  146|  46.3k|    return begin()[idx];
  147|  46.3k|  }
X86AsmParser.cpp:_ZN7llvm_ks15SmallVectorImplIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEE12pop_back_valEv:
  413|  11.1k|  T LLVM_ATTRIBUTE_UNUSED_RESULT pop_back_val() {
  414|  11.1k|    T Result = ::std::move(this->back());
  415|  11.1k|    this->pop_back();
  416|  11.1k|    return Result;
  417|  11.1k|  }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokEvE4backEv:
  163|  11.1k|  reference back() {
  164|  11.1k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 11.1k, False: 0]
  ------------------
  165|  11.1k|    return end()[-1];
  166|  11.1k|  }
X86AsmParser.cpp:_ZN7llvm_ks11SmallVectorINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEELj16EEC2Ev:
  872|  15.6k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  15.6k|  }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE4sizeEv:
  132|   118k|  size_type size() const { return end()-begin(); }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE3endEv:
  119|   118k|  const_iterator end() const { return (const_iterator)this->EndX; }
X86AsmParser.cpp:_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvE5beginEv:
  115|   118k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
X86AsmParser.cpp:_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIN12_GLOBAL__N_112X86AsmParser18InfixCalculatorTokElEEvEixEm:
  144|  64.0k|  reference operator[](size_type idx) {
  145|  64.0k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 64.0k, False: 0]
  ------------------
  146|  64.0k|    return begin()[idx];
  147|  64.0k|  }
_ZN7llvm_ks11SmallVectorINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELj2EEC2Ev:
  872|  27.5k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  27.5k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEELj2EEC2Ev:
  872|     21|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     21|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEEC2Ej:
  364|     21|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|     21|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEELb0EEC2Em:
  178|     21|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvEC2Em:
   78|     21|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEELb0EE9push_backEOSA_:
  236|      1|  void push_back(T &&Elt) {
  237|      1|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|      1|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 1]
  |  |  ------------------
  ------------------
  238|      0|      this->grow();
  239|      1|    ::new ((void*) this->end()) T(::std::move(Elt));
  240|      1|    this->setEnd(this->end()+1);
  241|      1|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEELb0EE13destroy_rangeEPSA_SC_:
  180|     21|  static void destroy_range(T *S, T *E) {
  181|     22|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 1, False: 21]
  ------------------
  182|      1|      --E;
  183|      1|      E->~T();
  184|      1|    }
  185|     21|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvE7isSmallEv:
   86|     21|  bool isSmall() const {
   87|     21|    return BeginX == static_cast<const void*>(&FirstEl);
   88|     21|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvE6setEndEPSA_:
   95|      1|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvE5beginEv:
  113|     21|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEvE3endEv:
  117|     23|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS_5SMLocENS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEEED2Ev:
  368|     21|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|     21|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|     21|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 21]
  ------------------
  374|      0|      free(this->begin());
  375|     21|  }
_ZN7llvm_ks11SmallVectorIcLj126EEC2Ev:
  872|      3|  SmallVector() : SmallVectorImpl<T>(N) {
  873|      3|  }
_ZN7llvm_ks11SmallVectorIcLj16EEC2Ev:
  872|  2.79k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  2.79k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE4backEv:
  163|  11.1k|  reference back() {
  164|  11.1k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 11.1k, False: 0]
  ------------------
  165|  11.1k|    return end()[-1];
  166|  11.1k|  }
_ZN7llvm_ks11SmallVectorINS_14MCLOHDirectiveELj32EEC2Ev:
  872|  17.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  17.0k|  }
_ZN7llvm_ks15SmallVectorImplINS_14MCLOHDirectiveEEC2Ej:
  364|  17.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  17.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_14MCLOHDirectiveELb0EEC2Em:
  178|  17.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvEC2Em:
   78|  17.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_14MCLOHDirectiveEED2Ev:
  368|  17.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  17.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  17.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 17.0k]
  ------------------
  374|      0|      free(this->begin());
  375|  17.0k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE4sizeEv:
  132|  32.1k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE3endEv:
  119|  32.1k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE5beginEv:
  115|  32.1k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvEixEm:
  144|  16.3k|  reference operator[](size_type idx) {
  145|  16.3k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 16.3k, False: 0]
  ------------------
  146|  16.3k|    return begin()[idx];
  147|  16.3k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE4dataEv:
  141|  10.3k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks15SmallVectorImplINS_7MCFixupEEaSERKS2_:
  739|  3.87k|  operator=(const SmallVectorImpl<T> &RHS) {
  740|       |  // Avoid self-assignment.
  741|  3.87k|  if (this == &RHS) return *this;
  ------------------
  |  Branch (741:7): [True: 0, False: 3.87k]
  ------------------
  742|       |
  743|       |  // If we already have sufficient space, assign the common elements, then
  744|       |  // destroy any excess.
  745|  3.87k|  size_t RHSSize = RHS.size();
  746|  3.87k|  size_t CurSize = this->size();
  747|  3.87k|  if (CurSize >= RHSSize) {
  ------------------
  |  Branch (747:7): [True: 3.87k, False: 0]
  ------------------
  748|       |    // Assign common elements.
  749|  3.87k|    iterator NewEnd;
  750|  3.87k|    if (RHSSize)
  ------------------
  |  Branch (750:9): [True: 3.87k, False: 0]
  ------------------
  751|  3.87k|      NewEnd = std::copy(RHS.begin(), RHS.begin()+RHSSize, this->begin());
  752|      0|    else
  753|      0|      NewEnd = this->begin();
  754|       |
  755|       |    // Destroy excess elements.
  756|  3.87k|    this->destroy_range(NewEnd, this->end());
  757|       |
  758|       |    // Trim.
  759|  3.87k|    this->setEnd(NewEnd);
  760|  3.87k|    return *this;
  761|  3.87k|  }
  762|       |
  763|       |  // If we have to grow to have enough elements, destroy the current elements.
  764|       |  // This allows us to avoid copying them during the grow.
  765|       |  // FIXME: don't do this if they're efficiently moveable.
  766|      0|  if (this->capacity() < RHSSize) {
  ------------------
  |  Branch (766:7): [True: 0, False: 0]
  ------------------
  767|       |    // Destroy current elements.
  768|      0|    this->destroy_range(this->begin(), this->end());
  769|      0|    this->setEnd(this->begin());
  770|      0|    CurSize = 0;
  771|      0|    this->grow(RHSSize);
  772|      0|  } else if (CurSize) {
  ------------------
  |  Branch (772:14): [True: 0, False: 0]
  ------------------
  773|       |    // Otherwise, use assignment for the already-constructed elements.
  774|      0|    std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin());
  775|      0|  }
  776|       |
  777|       |  // Copy construct the new elements in place.
  778|      0|  this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
  779|      0|                           this->begin()+CurSize);
  780|       |
  781|       |  // Set end.
  782|      0|  this->setEnd(this->begin()+RHSSize);
  783|      0|  return *this;
  784|  3.87k|}
_ZN7llvm_ks11SmallVectorINS_9StringRefELj3EEC2Ev:
  872|  17.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  17.0k|  }

APFloat.cpp:_ZN7llvm_ksL13hexDigitValueEc:
   40|  34.7k|static inline unsigned hexDigitValue(char C) {
   41|  34.7k|  if (C >= '0' && C <= '9') return C-'0';
  ------------------
  |  Branch (41:7): [True: 34.7k, False: 0]
  |  Branch (41:19): [True: 22.1k, False: 12.6k]
  ------------------
   42|  12.6k|  if (C >= 'a' && C <= 'f') return C-'a'+10U;
  ------------------
  |  Branch (42:7): [True: 5.90k, False: 6.70k]
  |  Branch (42:19): [True: 2.92k, False: 2.97k]
  ------------------
   43|  9.67k|  if (C >= 'A' && C <= 'F') return C-'A'+10U;
  ------------------
  |  Branch (43:7): [True: 9.67k, False: 0]
  |  Branch (43:19): [True: 5.80k, False: 3.86k]
  ------------------
   44|  3.86k|  return -1U;
   45|  9.67k|}
StringMap.cpp:_ZN7llvm_ksL10HashStringENS_9StringRefEj:
  112|  5.43M|static inline unsigned HashString(StringRef Str, unsigned Result = 0) {
  113|  52.9M|  for (StringRef::size_type i = 0, e = Str.size(); i != e; ++i)
  ------------------
  |  Branch (113:52): [True: 47.5M, False: 5.43M]
  ------------------
  114|  47.5M|    Result = Result * 33 + (unsigned char)Str[i];
  115|  5.43M|  return Result;
  116|  5.43M|}

_ZN7llvm_ks18StringMapEntryBaseC2Ej:
   35|  3.69M|  explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {}
_ZNK7llvm_ks18StringMapEntryBase12getKeyLengthEv:
   37|  4.57M|  unsigned getKeyLength() const { return StrLen; }
_ZN7llvm_ks13StringMapImplC2Ej:
   55|   136k|      : TheTable(nullptr),
   56|       |        // Initialize the map with zero buckets to allocation.
   57|   136k|        NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {}
_ZN7llvm_ks13StringMapImpl15getTombstoneValEv:
   95|  23.9M|  static StringMapEntryBase *getTombstoneVal() {
   96|  23.9M|    return (StringMapEntryBase*)-1;
   97|  23.9M|  }
_ZNK7llvm_ks13StringMapImpl5emptyEv:
  102|   221k|  bool empty() const { return NumItems == 0; }
_ZN7llvm_ks14StringMapEntryIjE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|   190k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|   190k|    unsigned AllocSize =
  201|   190k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|   190k|    this->~StringMapEntry();
  203|   190k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|   190k|  }
_ZNK7llvm_ks14StringMapEntryIbE5firstEv:
  143|  9.02k|  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
_ZNK7llvm_ks14StringMapEntryIbE10getKeyDataEv:
  141|   266k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEEC2Ev:
  224|  17.1k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEED2Ev:
  385|  17.1k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  17.1k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 17.1k]
  ------------------
  390|      0|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 0, False: 0]
  ------------------
  391|      0|        StringMapEntryBase *Bucket = TheTable[I];
  392|      0|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 0, False: 0]
  |  Branch (392:23): [True: 0, False: 0]
  ------------------
  393|      0|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|      0|        }
  395|      0|      }
  396|      0|    }
  397|  17.1k|    free(TheTable);
  398|  17.1k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEC2ES6_:
  229|  17.0k|    : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), Allocator(A) {}
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEC2ES4_:
  229|  17.0k|    : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), Allocator(A) {}
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEEC2Ev:
  224|  17.0k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEEC2Ev:
  224|  17.0k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEED2Ev:
  385|  17.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  17.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 17.0k]
  ------------------
  390|      0|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 0, False: 0]
  ------------------
  391|      0|        StringMapEntryBase *Bucket = TheTable[I];
  392|      0|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 0, False: 0]
  |  Branch (392:23): [True: 0, False: 0]
  ------------------
  393|      0|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|      0|        }
  395|      0|      }
  396|      0|    }
  397|  17.0k|    free(TheTable);
  398|  17.0k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEE7DestroyINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEEvRT_:
  198|  36.4k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  36.4k|    unsigned AllocSize =
  201|  36.4k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  36.4k|    this->~StringMapEntry();
  203|  36.4k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  36.4k|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEED2Ev:
  385|  17.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  17.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 17.0k]
  ------------------
  390|      0|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 0, False: 0]
  ------------------
  391|      0|        StringMapEntryBase *Bucket = TheTable[I];
  392|      0|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 0, False: 0]
  |  Branch (392:23): [True: 0, False: 0]
  ------------------
  393|      0|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|      0|        }
  395|      0|      }
  396|      0|    }
  397|  17.0k|    free(TheTable);
  398|  17.0k|  }
_ZN7llvm_ks14StringMapEntryIbE7DestroyINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEEvRT_:
  198|   256k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|   256k|    unsigned AllocSize =
  201|   256k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|   256k|    this->~StringMapEntry();
  203|   256k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|   256k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEED2Ev:
  385|  17.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  17.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 17.0k]
  ------------------
  390|      0|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 0, False: 0]
  ------------------
  391|      0|        StringMapEntryBase *Bucket = TheTable[I];
  392|      0|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 0, False: 0]
  |  Branch (392:23): [True: 0, False: 0]
  ------------------
  393|      0|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|      0|        }
  395|      0|      }
  396|      0|    }
  397|  17.0k|    free(TheTable);
  398|  17.0k|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|    343|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|    343|    unsigned AllocSize =
  201|    343|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|    343|    this->~StringMapEntry();
  203|    343|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|    343|  }
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEED2Ev:
  385|  17.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  17.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 119, False: 16.9k]
  ------------------
  390|  2.02k|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 1.90k, False: 119]
  ------------------
  391|  1.90k|        StringMapEntryBase *Bucket = TheTable[I];
  392|  1.90k|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 119, False: 1.78k]
  |  Branch (392:23): [True: 119, False: 0]
  ------------------
  393|    119|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|    119|        }
  395|  1.90k|      }
  396|    119|    }
  397|  17.0k|    free(TheTable);
  398|  17.0k|  }
_ZN7llvm_ks14StringMapEntryIbE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|    119|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|    119|    unsigned AllocSize =
  201|    119|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|    119|    this->~StringMapEntry();
  203|    119|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|    119|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE5clearEv:
  349|  17.0k|  void clear() {
  350|  17.0k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 17.0k]
  ------------------
  351|       |
  352|       |    // Zap all values, resetting the keys back to non-present (not tombstone),
  353|       |    // which is safe because we're removing all elements.
  354|   457k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 440k, False: 17.0k]
  ------------------
  355|   440k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|   440k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 256k, False: 183k]
  |  Branch (356:21): [True: 256k, False: 0]
  ------------------
  357|   256k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|   256k|      }
  359|   440k|      Bucket = nullptr;
  360|   440k|    }
  361|       |
  362|  17.0k|    NumItems = 0;
  363|  17.0k|    NumTombstones = 0;
  364|  17.0k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE5clearEv:
  349|  17.0k|  void clear() {
  350|  17.0k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 17.0k]
  ------------------
  351|       |
  352|       |    // Zap all values, resetting the keys back to non-present (not tombstone),
  353|       |    // which is safe because we're removing all elements.
  354|   296k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 279k, False: 17.0k]
  ------------------
  355|   279k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|   279k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 36.4k, False: 243k]
  |  Branch (356:21): [True: 36.4k, False: 0]
  ------------------
  357|  36.4k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|  36.4k|      }
  359|   279k|      Bucket = nullptr;
  360|   279k|    }
  361|       |
  362|  17.0k|    NumItems = 0;
  363|  17.0k|    NumTombstones = 0;
  364|  17.0k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEE5clearEv:
  349|  17.0k|  void clear() {
  350|  17.0k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 16.8k, False: 199]
  ------------------
  351|       |
  352|       |    // Zap all values, resetting the keys back to non-present (not tombstone),
  353|       |    // which is safe because we're removing all elements.
  354|  3.43k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 3.23k, False: 199]
  ------------------
  355|  3.23k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|  3.23k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 343, False: 2.88k]
  |  Branch (356:21): [True: 343, False: 0]
  ------------------
  357|    343|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|    343|      }
  359|  3.23k|      Bucket = nullptr;
  360|  3.23k|    }
  361|       |
  362|    199|    NumItems = 0;
  363|    199|    NumTombstones = 0;
  364|    199|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEE5clearEv:
  349|  17.0k|  void clear() {
  350|  17.0k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 17.0k]
  ------------------
  351|       |
  352|       |    // Zap all values, resetting the keys back to non-present (not tombstone),
  353|       |    // which is safe because we're removing all elements.
  354|   332k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 315k, False: 17.0k]
  ------------------
  355|   315k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|   315k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 190k, False: 124k]
  |  Branch (356:21): [True: 190k, False: 0]
  ------------------
  357|   190k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|   190k|      }
  359|   315k|      Bucket = nullptr;
  360|   315k|    }
  361|       |
  362|  17.0k|    NumItems = 0;
  363|  17.0k|    NumTombstones = 0;
  364|  17.0k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEixENS_9StringRefE:
  298|   297k|  ValueTy &operator[](StringRef Key) {
  299|   297k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|   297k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|   297k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   297k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   297k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   297k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 261k, False: 36.4k]
  |  Branch (333:19): [True: 261k, False: 0]
  ------------------
  334|   261k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|   261k|                            false); // Already exists in map.
  336|       |
  337|  36.4k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 36.4k]
  ------------------
  338|      0|      --NumTombstones;
  339|  36.4k|    Bucket =
  340|  36.4k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  36.4k|    ++NumItems;
  342|  36.4k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 36.4k, False: 0]
  ------------------
  343|       |
  344|  36.4k|    BucketNo = RehashTable(BucketNo);
  345|  36.4k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  36.4k|  }
_ZN7llvm_ks17StringMapIteratorIPNS_8MCSymbolEEC2EPPNS_18StringMapEntryBaseEb:
  452|   297k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   297k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEC2EPPNS_18StringMapEntryBaseEb:
  412|   549k|  : Ptr(Bucket) {
  413|   549k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 297k, False: 252k]
  ------------------
  414|   549k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEE23AdvancePastEmptyBucketsEv:
  440|   297k|  void AdvancePastEmptyBuckets() {
  441|   297k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 297k]
  |  Branch (441:31): [True: 0, False: 297k]
  ------------------
  442|      0|      ++Ptr;
  443|   297k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEE6CreateINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEES2_EEPS3_NS_9StringRefERT_OT0_:
  149|  36.4k|                                InitType &&InitVal) {
  150|  36.4k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|  36.4k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  36.4k|      KeyLength+1;
  156|  36.4k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  36.4k|    StringMapEntry *NewItem =
  159|  36.4k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  36.4k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  36.4k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  36.4k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 36.2k, False: 199]
  ------------------
  167|  36.2k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  36.4k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  36.4k|    return NewItem;
  170|  36.4k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEEC2IS2_EEjOT_:
  127|  36.4k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIPNS_8MCSymbolEE10getKeyDataEv:
  141|  36.4k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIPNS_8MCSymbolEEptEv:
  457|   297k|  StringMapEntry<ValueTy> *operator->() const {
  458|   297k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|   297k|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6insertENSt3__14pairINS_9StringRefEbEE:
  330|   257k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   257k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   257k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   257k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 144, False: 256k]
  |  Branch (333:19): [True: 144, False: 0]
  ------------------
  334|    144|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|    144|                            false); // Already exists in map.
  336|       |
  337|   256k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 256k]
  ------------------
  338|      0|      --NumTombstones;
  339|   256k|    Bucket =
  340|   256k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|   256k|    ++NumItems;
  342|   256k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 256k, False: 0]
  ------------------
  343|       |
  344|   256k|    BucketNo = RehashTable(BucketNo);
  345|   256k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|   256k|  }
_ZN7llvm_ks17StringMapIteratorIbEC2EPPNS_18StringMapEntryBaseEb:
  452|   257k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   257k|  }
_ZN7llvm_ks22StringMapConstIteratorIbEC2EPPNS_18StringMapEntryBaseEb:
  412|   257k|  : Ptr(Bucket) {
  413|   257k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 257k, False: 0]
  ------------------
  414|   257k|  }
_ZN7llvm_ks22StringMapConstIteratorIbE23AdvancePastEmptyBucketsEv:
  440|   257k|  void AdvancePastEmptyBuckets() {
  441|   257k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 257k]
  |  Branch (441:31): [True: 0, False: 257k]
  ------------------
  442|      0|      ++Ptr;
  443|   257k|  }
_ZN7llvm_ks14StringMapEntryIbE6CreateINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEbEEPS1_NS_9StringRefERT_OT0_:
  149|   256k|                                InitType &&InitVal) {
  150|   256k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|   256k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|   256k|      KeyLength+1;
  156|   256k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|   256k|    StringMapEntry *NewItem =
  159|   256k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|   256k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|   256k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|   256k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 256k, False: 199]
  ------------------
  167|   256k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|   256k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|   256k|    return NewItem;
  170|   256k|  }
_ZN7llvm_ks14StringMapEntryIbEC2IbEEjOT_:
  127|   257k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks17StringMapIteratorIbEdeEv:
  454|   274k|  StringMapEntry<ValueTy> &operator*() const {
  455|   274k|    return *static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  456|   274k|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEEixENS_9StringRefE:
  298|   239k|  ValueTy &operator[](StringRef Key) {
  299|   239k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|   239k|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefEjEE:
  330|   239k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   239k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   239k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   239k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 48.7k, False: 190k]
  |  Branch (333:19): [True: 48.7k, False: 0]
  ------------------
  334|  48.7k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|  48.7k|                            false); // Already exists in map.
  336|       |
  337|   190k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 190k]
  ------------------
  338|      0|      --NumTombstones;
  339|   190k|    Bucket =
  340|   190k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|   190k|    ++NumItems;
  342|   190k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 190k, False: 0]
  ------------------
  343|       |
  344|   190k|    BucketNo = RehashTable(BucketNo);
  345|   190k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|   190k|  }
_ZN7llvm_ks17StringMapIteratorIjEC2EPPNS_18StringMapEntryBaseEb:
  452|   239k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   239k|  }
_ZN7llvm_ks22StringMapConstIteratorIjEC2EPPNS_18StringMapEntryBaseEb:
  412|   239k|  : Ptr(Bucket) {
  413|   239k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 239k, False: 0]
  ------------------
  414|   239k|  }
_ZN7llvm_ks22StringMapConstIteratorIjE23AdvancePastEmptyBucketsEv:
  440|   239k|  void AdvancePastEmptyBuckets() {
  441|   239k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 239k]
  |  Branch (441:31): [True: 0, False: 239k]
  ------------------
  442|      0|      ++Ptr;
  443|   239k|  }
_ZN7llvm_ks14StringMapEntryIjE6CreateINS_15MallocAllocatorEjEEPS1_NS_9StringRefERT_OT0_:
  149|   190k|                                InitType &&InitVal) {
  150|   190k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|   190k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|   190k|      KeyLength+1;
  156|   190k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|   190k|    StringMapEntry *NewItem =
  159|   190k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|   190k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|   190k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|   190k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 190k, False: 0]
  ------------------
  167|   190k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|   190k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|   190k|    return NewItem;
  170|   190k|  }
_ZN7llvm_ks14StringMapEntryIjEC2IjEEjOT_:
  127|   190k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIjE10getKeyDataEv:
  141|   190k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIjEptEv:
  457|   239k|  StringMapEntry<ValueTy> *operator->() const {
  458|   239k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|   239k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6lookupENS_9StringRefE:
  291|   126k|  ValueTy lookup(StringRef Key) const {
  292|   126k|    const_iterator it = find(Key);
  293|   126k|    if (it != end())
  ------------------
  |  Branch (293:9): [True: 115k, False: 10.9k]
  ------------------
  294|   115k|      return it->second;
  295|  10.9k|    return ValueTy();
  296|   126k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE4findENS_9StringRefE:
  283|   126k|  const_iterator find(StringRef Key) const {
  284|   126k|    int Bucket = FindKey(Key);
  285|   126k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (285:9): [True: 10.9k, False: 115k]
  ------------------
  286|   115k|    return const_iterator(TheTable+Bucket, true);
  287|   126k|  }
_ZNK7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEneERKS3_:
  426|   126k|  bool operator!=(const StringMapConstIterator &RHS) const {
  427|   126k|    return Ptr != RHS.Ptr;
  428|   126k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE3endEv:
  273|   137k|  const_iterator end() const {
  274|   137k|    return const_iterator(TheTable+NumBuckets, true);
  275|   137k|  }
_ZNK7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEptEv:
  419|   115k|  const value_type *operator->() const {
  420|   115k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|   115k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEEixENS_9StringRefE:
  298|  3.73k|  ValueTy &operator[](StringRef Key) {
  299|  3.73k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  3.73k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|  3.73k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  3.73k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  3.73k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  3.73k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 3.38k, False: 343]
  |  Branch (333:19): [True: 3.38k, False: 0]
  ------------------
  334|  3.38k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|  3.38k|                            false); // Already exists in map.
  336|       |
  337|    343|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 343]
  ------------------
  338|      0|      --NumTombstones;
  339|    343|    Bucket =
  340|    343|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|    343|    ++NumItems;
  342|    343|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 343, False: 0]
  ------------------
  343|       |
  344|    343|    BucketNo = RehashTable(BucketNo);
  345|    343|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|    343|  }
_ZN7llvm_ks17StringMapIteratorIPNS_14MCSectionMachOEEC2EPPNS_18StringMapEntryBaseEb:
  452|  3.73k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  3.73k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_14MCSectionMachOEEC2EPPNS_18StringMapEntryBaseEb:
  412|  3.73k|  : Ptr(Bucket) {
  413|  3.73k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 3.73k, False: 0]
  ------------------
  414|  3.73k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_14MCSectionMachOEE23AdvancePastEmptyBucketsEv:
  440|  3.73k|  void AdvancePastEmptyBuckets() {
  441|  3.73k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 3.73k]
  |  Branch (441:31): [True: 0, False: 3.73k]
  ------------------
  442|      0|      ++Ptr;
  443|  3.73k|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE6CreateINS_15MallocAllocatorES2_EEPS3_NS_9StringRefERT_OT0_:
  149|    343|                                InitType &&InitVal) {
  150|    343|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|    343|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|    343|      KeyLength+1;
  156|    343|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|    343|    StringMapEntry *NewItem =
  159|    343|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|    343|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|    343|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|    343|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 343, False: 0]
  ------------------
  167|    343|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|    343|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|    343|    return NewItem;
  170|    343|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEEC2IS2_EEjOT_:
  127|    343|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE10getKeyDataEv:
  141|    343|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIPNS_14MCSectionMachOEEptEv:
  457|  3.73k|  StringMapEntry<ValueTy> *operator->() const {
  458|  3.73k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  3.73k|  }
_ZN7llvm_ks17StringMapIteratorIbEC2Ev:
  449|    119|  StringMapIterator() {}
_ZN7llvm_ks22StringMapConstIteratorIbEC2Ev:
  408|    119|  StringMapConstIterator() : Ptr(nullptr) { }
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefEbEE:
  330|    119|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|    119|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|    119|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|    119|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 119]
  |  Branch (333:19): [True: 0, False: 0]
  ------------------
  334|      0|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|      0|                            false); // Already exists in map.
  336|       |
  337|    119|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 119]
  ------------------
  338|      0|      --NumTombstones;
  339|    119|    Bucket =
  340|    119|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|    119|    ++NumItems;
  342|    119|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 119, False: 0]
  ------------------
  343|       |
  344|    119|    BucketNo = RehashTable(BucketNo);
  345|    119|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|    119|  }
_ZN7llvm_ks14StringMapEntryIbE6CreateINS_15MallocAllocatorEbEEPS1_NS_9StringRefERT_OT0_:
  149|    119|                                InitType &&InitVal) {
  150|    119|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|    119|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|    119|      KeyLength+1;
  156|    119|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|    119|    StringMapEntry *NewItem =
  159|    119|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|    119|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|    119|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|    119|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 119, False: 0]
  ------------------
  167|    119|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|    119|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|    119|    return NewItem;
  170|    119|  }
_ZNK7llvm_ks17StringMapIteratorIbEptEv:
  457|    119|  StringMapEntry<ValueTy> *operator->() const {
  458|    119|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|    119|  }
_ZNK7llvm_ks14StringMapEntryIbE6getKeyEv:
  129|    119|  StringRef getKey() const {
  130|    119|    return StringRef(getKeyData(), getKeyLength());
  131|    119|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEEC2Ev:
  224|  17.0k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEEC2Ev:
  224|  17.0k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEEC2Ev:
  224|  17.0k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEED2Ev:
  385|  17.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  17.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 17.0k, False: 0]
  ------------------
  390|  4.38M|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 4.36M, False: 17.0k]
  ------------------
  391|  4.36M|        StringMapEntryBase *Bucket = TheTable[I];
  392|  4.36M|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 2.04M, False: 2.31M]
  |  Branch (392:23): [True: 2.04M, False: 0]
  ------------------
  393|  2.04M|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|  2.04M|        }
  395|  4.36M|      }
  396|  17.0k|    }
  397|  17.0k|    free(TheTable);
  398|  17.0k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|  2.08M|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  2.08M|    unsigned AllocSize =
  201|  2.08M|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  2.08M|    this->~StringMapEntry();
  203|  2.08M|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  2.08M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEED2Ev:
  385|  17.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  17.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 584, False: 16.4k]
  ------------------
  390|  9.92k|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 9.34k, False: 584]
  ------------------
  391|  9.34k|        StringMapEntryBase *Bucket = TheTable[I];
  392|  9.34k|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 643, False: 8.70k]
  |  Branch (392:23): [True: 643, False: 0]
  ------------------
  393|    643|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|    643|        }
  395|  9.34k|      }
  396|    584|    }
  397|  17.0k|    free(TheTable);
  398|  17.0k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|    643|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|    643|    unsigned AllocSize =
  201|    643|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|    643|    this->~StringMapEntry();
  203|    643|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|    643|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEED2Ev:
  385|  17.0k|  ~StringMap() {
  386|       |    // Delete all the elements in the map, but don't reset the elements
  387|       |    // to default values.  This is a copy of clear(), but avoids unnecessary
  388|       |    // work not required in the destructor.
  389|  17.0k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 17.0k, False: 0]
  ------------------
  390|  2.19M|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 2.18M, False: 17.0k]
  ------------------
  391|  2.18M|        StringMapEntryBase *Bucket = TheTable[I];
  392|  2.18M|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 1.12M, False: 1.05M]
  |  Branch (392:23): [True: 1.12M, False: 0]
  ------------------
  393|  1.12M|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|  1.12M|        }
  395|  2.18M|      }
  396|  17.0k|    }
  397|  17.0k|    free(TheTable);
  398|  17.0k|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|  1.12M|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  1.12M|    unsigned AllocSize =
  201|  1.12M|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  1.12M|    this->~StringMapEntry();
  203|  1.12M|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  1.12M|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEEixES5_:
  298|  1.12M|  ValueTy &operator[](StringRef Key) {
  299|  1.12M|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  1.12M|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE6insertENS2_IS5_S9_EE:
  330|  1.12M|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  1.12M|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  1.12M|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  1.12M|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 1.12M]
  |  Branch (333:19): [True: 0, False: 0]
  ------------------
  334|      0|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|      0|                            false); // Already exists in map.
  336|       |
  337|  1.12M|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 1.12M]
  ------------------
  338|      0|      --NumTombstones;
  339|  1.12M|    Bucket =
  340|  1.12M|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  1.12M|    ++NumItems;
  342|  1.12M|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 1.12M, False: 0]
  ------------------
  343|       |
  344|  1.12M|    BucketNo = RehashTable(BucketNo);
  345|  1.12M|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  1.12M|  }
_ZN7llvm_ks17StringMapIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2EPPNS_18StringMapEntryBaseEb:
  452|  1.12M|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  1.12M|  }
_ZN7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2EPPNS_18StringMapEntryBaseEb:
  412|  1.60M|  : Ptr(Bucket) {
  413|  1.60M|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 1.12M, False: 478k]
  ------------------
  414|  1.60M|  }
_ZN7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE23AdvancePastEmptyBucketsEv:
  440|  1.12M|  void AdvancePastEmptyBuckets() {
  441|  1.12M|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 1.12M]
  |  Branch (441:31): [True: 0, False: 1.12M]
  ------------------
  442|      0|      ++Ptr;
  443|  1.12M|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE6CreateINS_15MallocAllocatorES9_EEPSA_S5_RT_OT0_:
  149|  1.12M|                                InitType &&InitVal) {
  150|  1.12M|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|  1.12M|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  1.12M|      KeyLength+1;
  156|  1.12M|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  1.12M|    StringMapEntry *NewItem =
  159|  1.12M|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  1.12M|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  1.12M|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  1.12M|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 1.12M, False: 0]
  ------------------
  167|  1.12M|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  1.12M|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  1.12M|    return NewItem;
  170|  1.12M|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2IS9_EEjOT_:
  127|  1.12M|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE10getKeyDataEv:
  141|  1.12M|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEptEv:
  457|  1.12M|  StringMapEntry<ValueTy> *operator->() const {
  458|  1.12M|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  1.12M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEEixENS_9StringRefE:
  298|  2.08M|  ValueTy &operator[](StringRef Key) {
  299|  2.08M|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  2.08M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES3_EE:
  330|  2.08M|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  2.08M|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  2.08M|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  2.08M|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 2.08M]
  |  Branch (333:19): [True: 0, False: 0]
  ------------------
  334|      0|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|      0|                            false); // Already exists in map.
  336|       |
  337|  2.08M|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 2.08M]
  ------------------
  338|      0|      --NumTombstones;
  339|  2.08M|    Bucket =
  340|  2.08M|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  2.08M|    ++NumItems;
  342|  2.08M|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 2.08M, False: 0]
  ------------------
  343|       |
  344|  2.08M|    BucketNo = RehashTable(BucketNo);
  345|  2.08M|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  2.08M|  }
AsmParser.cpp:_ZN7llvm_ks17StringMapIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2EPPNS_18StringMapEntryBaseEb:
  452|  4.01M|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  4.01M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2EPPNS_18StringMapEntryBaseEb:
  412|  4.01M|  : Ptr(Bucket) {
  413|  4.01M|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 2.08M, False: 1.93M]
  ------------------
  414|  4.01M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEE23AdvancePastEmptyBucketsEv:
  440|  2.08M|  void AdvancePastEmptyBuckets() {
  441|  2.08M|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 2.08M]
  |  Branch (441:31): [True: 0, False: 2.08M]
  ------------------
  442|      0|      ++Ptr;
  443|  2.08M|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE6CreateINS_15MallocAllocatorES3_EEPS4_NS_9StringRefERT_OT0_:
  149|  2.08M|                                InitType &&InitVal) {
  150|  2.08M|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|  2.08M|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  2.08M|      KeyLength+1;
  156|  2.08M|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  2.08M|    StringMapEntry *NewItem =
  159|  2.08M|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  2.08M|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  2.08M|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  2.08M|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 2.08M, False: 0]
  ------------------
  167|  2.08M|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  2.08M|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  2.08M|    return NewItem;
  170|  2.08M|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2IS3_EEjOT_:
  127|  2.08M|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE10getKeyDataEv:
  141|  2.08M|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AsmParser.cpp:_ZNK7llvm_ks17StringMapIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEptEv:
  457|  2.08M|  StringMapEntry<ValueTy> *operator->() const {
  458|  2.08M|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  2.08M|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEneERKS4_:
  426|  1.56k|  bool operator!=(const StringMapConstIterator &RHS) const {
  427|  1.56k|    return Ptr != RHS.Ptr;
  428|  1.56k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE4findENS_9StringRefE:
  277|   967k|  iterator find(StringRef Key) {
  278|   967k|    int Bucket = FindKey(Key);
  279|   967k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (279:9): [True: 553k, False: 413k]
  ------------------
  280|   413k|    return iterator(TheTable+Bucket, true);
  281|   967k|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEeqERKS4_:
  423|   965k|  bool operator==(const StringMapConstIterator &RHS) const {
  424|   965k|    return Ptr == RHS.Ptr;
  425|   965k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE3endEv:
  267|  1.52M|  iterator end() {
  268|  1.52M|    return iterator(TheTable+NumBuckets, true);
  269|  1.52M|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEptEv:
  419|   413k|  const value_type *operator->() const {
  420|   413k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|   413k|  }
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE8getValueEv:
  133|   413k|  const ValueTy &getValue() const { return second; }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE4findENS_9StringRefE:
  277|   361k|  iterator find(StringRef Key) {
  278|   361k|    int Bucket = FindKey(Key);
  279|   361k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (279:9): [True: 335k, False: 25.7k]
  ------------------
  280|  25.7k|    return iterator(TheTable+Bucket, true);
  281|   361k|  }
AsmParser.cpp:_ZN7llvm_ks17StringMapIteratorIN12_GLOBAL__N_110MCAsmMacroEEC2EPPNS_18StringMapEntryBaseEb:
  452|   723k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   723k|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEEC2EPPNS_18StringMapEntryBaseEb:
  412|   723k|  : Ptr(Bucket) {
  413|   723k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 643, False: 723k]
  ------------------
  414|   723k|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEE23AdvancePastEmptyBucketsEv:
  440|    643|  void AdvancePastEmptyBuckets() {
  441|    643|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 643]
  |  Branch (441:31): [True: 0, False: 643]
  ------------------
  442|      0|      ++Ptr;
  443|    643|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEEeqERKS3_:
  423|   361k|  bool operator==(const StringMapConstIterator &RHS) const {
  424|   361k|    return Ptr == RHS.Ptr;
  425|   361k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE3endEv:
  267|   697k|  iterator end() {
  268|   697k|    return iterator(TheTable+NumBuckets, true);
  269|   697k|  }
AsmParser.cpp:_ZNK7llvm_ks17StringMapIteratorIN12_GLOBAL__N_110MCAsmMacroEEptEv:
  457|  25.7k|  StringMapEntry<ValueTy> *operator->() const {
  458|  25.7k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  25.7k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE8getValueEv:
  134|  25.7k|  ValueTy &getValue() { return second; }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE6lookupES5_:
  291|   239k|  ValueTy lookup(StringRef Key) const {
  292|   239k|    const_iterator it = find(Key);
  293|   239k|    if (it != end())
  ------------------
  |  Branch (293:9): [True: 6.09k, False: 233k]
  ------------------
  294|  6.09k|      return it->second;
  295|   233k|    return ValueTy();
  296|   239k|  }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE4findES5_:
  283|   239k|  const_iterator find(StringRef Key) const {
  284|   239k|    int Bucket = FindKey(Key);
  285|   239k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (285:9): [True: 233k, False: 6.09k]
  ------------------
  286|  6.09k|    return const_iterator(TheTable+Bucket, true);
  287|   239k|  }
_ZNK7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEneERKSA_:
  426|   239k|  bool operator!=(const StringMapConstIterator &RHS) const {
  427|   239k|    return Ptr != RHS.Ptr;
  428|   239k|  }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE3endEv:
  273|   472k|  const_iterator end() const {
  274|   472k|    return const_iterator(TheTable+NumBuckets, true);
  275|   472k|  }
_ZNK7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEptEv:
  419|  6.09k|  const value_type *operator->() const {
  420|  6.09k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|  6.09k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|    643|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|    643|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|    643|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|    643|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 643]
  |  Branch (333:19): [True: 0, False: 0]
  ------------------
  334|      0|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|      0|                            false); // Already exists in map.
  336|       |
  337|    643|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 643]
  ------------------
  338|      0|      --NumTombstones;
  339|    643|    Bucket =
  340|    643|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|    643|    ++NumItems;
  342|    643|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 643, False: 0]
  ------------------
  343|       |
  344|    643|    BucketNo = RehashTable(BucketNo);
  345|    643|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|    643|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE6CreateINS_15MallocAllocatorES2_EEPS3_NS_9StringRefERT_OT0_:
  149|    643|                                InitType &&InitVal) {
  150|    643|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|    643|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|    643|      KeyLength+1;
  156|    643|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|    643|    StringMapEntry *NewItem =
  159|    643|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|    643|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|    643|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|    643|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 594, False: 49]
  ------------------
  167|    594|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|    643|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|    643|    return NewItem;
  170|    643|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEEC2IS2_EEjOT_:
  127|    643|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE10getKeyDataEv:
  141|    643|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE5clearEv:
  349|  17.3k|  void clear() {
  350|  17.3k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 17.0k, False: 281]
  ------------------
  351|       |
  352|       |    // Zap all values, resetting the keys back to non-present (not tombstone),
  353|       |    // which is safe because we're removing all elements.
  354|  72.2k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 71.9k, False: 281]
  ------------------
  355|  71.9k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|  71.9k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 34.2k, False: 37.6k]
  |  Branch (356:21): [True: 34.2k, False: 0]
  ------------------
  357|  34.2k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|  34.2k|      }
  359|  71.9k|      Bucket = nullptr;
  360|  71.9k|    }
  361|       |
  362|    281|    NumItems = 0;
  363|    281|    NumTombstones = 0;
  364|    281|  }

_ZN7llvm_ks9StringRefC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
   91|  2.50M|      : Data(Str.data()), Length(Str.length()) {}
_ZN7llvm_ks9StringRefC2EPKc:
   72|  20.6M|      : Data(Str) {
   73|       |        //assert(Str && "StringRef cannot be built from a NULL argument");
   74|  20.6M|        if (!Str)
  ------------------
  |  Branch (74:13): [True: 316, False: 20.6M]
  ------------------
   75|    316|            Length = 0;
   76|  20.6M|        else 
   77|  20.6M|            Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior
   78|  20.6M|      }
_ZN7llvm_ks9StringRef13compareMemoryEPKcS2_m:
   58|  13.6M|    static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) {
   59|  13.6M|      if (Length == 0) { return 0; }
  ------------------
  |  Branch (59:11): [True: 3.39k, False: 13.6M]
  ------------------
   60|  13.6M|      return ::memcmp(Lhs,Rhs,Length);
   61|  13.6M|    }
_ZN7llvm_ks9StringRefC2Ev:
   68|  2.62M|    /*implicit*/ StringRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks9StringRefC2EPKcm:
   83|   111M|      : Data(data), Length(length) {
   84|       |        assert((data || length == 0) &&
  ------------------
  |  Branch (84:9): [True: 111M, False: 0]
  |  Branch (84:9): [True: 0, False: 0]
  |  Branch (84:9): [True: 111M, Folded]
  |  Branch (84:9): [True: 111M, False: 0]
  ------------------
   85|   111M|        "StringRef cannot be built from a NULL argument with non-null length");
   86|   111M|      }
_ZNK7llvm_ks9StringRef5beginEv:
   97|  79.1M|    iterator begin() const { return Data; }
_ZNK7llvm_ks9StringRef3endEv:
   99|  84.1M|    iterator end() const { return Data + Length; }
_ZNK7llvm_ks9StringRef4dataEv:
  115|  31.6M|    const char *data() const { return Data; }
_ZNK7llvm_ks9StringRef5emptyEv:
  119|  15.3M|    bool empty() const { return Length == 0; }
_ZNK7llvm_ks9StringRef4sizeEv:
  123|  47.2M|    size_t size() const { return Length; }
_ZNK7llvm_ks9StringRef5frontEv:
  126|  1.11M|    char front() const {
  127|  1.11M|      assert(!empty());
  ------------------
  |  Branch (127:7): [True: 1.11M, False: 0]
  ------------------
  128|  1.11M|      return Data[0];
  129|  1.11M|    }
_ZNK7llvm_ks9StringRef4backEv:
  132|    374|    char back() const {
  133|    374|      assert(!empty());
  ------------------
  |  Branch (133:7): [True: 374, False: 0]
  ------------------
  134|    374|      return Data[Length-1];
  135|    374|    }
_ZNK7llvm_ks9StringRef6equalsES0_:
  147|  3.95M|    bool equals(StringRef RHS) const {
  148|  3.95M|      return (Length == RHS.Length &&
  ------------------
  |  Branch (148:15): [True: 1.75M, False: 2.20M]
  ------------------
  149|  1.75M|              compareMemory(Data, RHS.Data, RHS.Length) == 0);
  ------------------
  |  Branch (149:15): [True: 1.40M, False: 345k]
  ------------------
  150|  3.95M|    }
_ZNK7llvm_ks9StringRef7compareES0_:
  160|  5.91M|    int compare(StringRef RHS) const {
  161|       |      // Check the prefix for a mismatch.
  162|  5.91M|      if (int Res = compareMemory(Data, RHS.Data, std::min(Length, RHS.Length)))
  ------------------
  |  Branch (162:15): [True: 5.08M, False: 825k]
  ------------------
  163|  5.08M|        return Res < 0 ? -1 : 1;
  ------------------
  |  Branch (163:16): [True: 1.67M, False: 3.41M]
  ------------------
  164|       |
  165|       |      // Otherwise the prefixes match, so we only need to check the lengths.
  166|   825k|      if (Length == RHS.Length)
  ------------------
  |  Branch (166:11): [True: 334k, False: 491k]
  ------------------
  167|   334k|        return 0;
  168|   491k|      return Length < RHS.Length ? -1 : 1;
  ------------------
  |  Branch (168:14): [True: 153k, False: 338k]
  ------------------
  169|   825k|    }
_ZNK7llvm_ks9StringRef3strEv:
  200|  1.29M|    std::string str() const {
  201|  1.29M|      if (!Data) return std::string();
  ------------------
  |  Branch (201:11): [True: 0, False: 1.29M]
  ------------------
  202|  1.29M|      return std::string(Data, Length);
  203|  1.29M|    }
_ZNK7llvm_ks9StringRefixEm:
  209|  79.9M|    char operator[](size_t Index) const {
  210|  79.9M|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (210:7): [True: 79.9M, False: 0]
  |  Branch (210:7): [True: 79.9M, Folded]
  |  Branch (210:7): [True: 79.9M, False: 0]
  ------------------
  211|  79.9M|      return Data[Index];
  212|  79.9M|    }
_ZNK7llvm_ks9StringRefcvNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEv:
  218|  1.08M|    operator std::string() const {
  219|  1.08M|      return str();
  220|  1.08M|    }
_ZNK7llvm_ks9StringRef10startswithES0_:
  228|  3.01M|    bool startswith(StringRef Prefix) const {
  229|  3.01M|      return Length >= Prefix.Length &&
  ------------------
  |  Branch (229:14): [True: 1.18M, False: 1.82M]
  ------------------
  230|  1.18M|             compareMemory(Data, Prefix.Data, Prefix.Length) == 0;
  ------------------
  |  Branch (230:14): [True: 17.2k, False: 1.17M]
  ------------------
  231|  3.01M|    }
_ZNK7llvm_ks9StringRef8endswithES0_:
  238|  4.76M|    bool endswith(StringRef Suffix) const {
  239|  4.76M|      return Length >= Suffix.Length &&
  ------------------
  |  Branch (239:14): [True: 4.76M, False: 0]
  ------------------
  240|  4.76M|        compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0;
  ------------------
  |  Branch (240:9): [True: 1.33k, False: 4.76M]
  ------------------
  241|  4.76M|    }
_ZNK7llvm_ks9StringRef4findEcm:
  255|   924k|    size_t find(char C, size_t From = 0) const {
  256|   924k|      size_t FindBegin = std::min(From, Length);
  257|   924k|      if (FindBegin < Length) { // Avoid calling memchr with nullptr.
  ------------------
  |  Branch (257:11): [True: 922k, False: 2.10k]
  ------------------
  258|       |        // Just forward to memchr, which is faster than a hand-rolled loop.
  259|   922k|        if (const void *P = ::memchr(Data + FindBegin, C, Length - FindBegin))
  ------------------
  |  Branch (259:25): [True: 612k, False: 310k]
  ------------------
  260|   612k|          return static_cast<const char *>(P) - Data;
  261|   922k|      }
  262|   312k|      return npos;
  263|   924k|    }
_ZNK7llvm_ks9StringRef6substrEmm:
  421|  1.93M|    StringRef substr(size_t Start, size_t N = npos) const {
  422|  1.93M|      Start = std::min(Start, Length);
  423|  1.93M|      return StringRef(Data + Start, std::min(N, Length - Start));
  424|  1.93M|    }
_ZNK7llvm_ks9StringRef10drop_frontEm:
  429|  25.8k|    StringRef drop_front(size_t N = 1) const {
  430|  25.8k|      assert(size() >= N && "Dropping more elements than exist");
  ------------------
  |  Branch (430:7): [True: 25.8k, False: 0]
  |  Branch (430:7): [True: 25.8k, Folded]
  |  Branch (430:7): [True: 25.8k, False: 0]
  ------------------
  431|  25.8k|      return substr(N);
  432|  25.8k|    }
_ZNK7llvm_ks9StringRef9drop_backEm:
  437|  25.9k|    StringRef drop_back(size_t N = 1) const {
  438|  25.9k|      assert(size() >= N && "Dropping more elements than exist");
  ------------------
  |  Branch (438:7): [True: 25.9k, False: 0]
  |  Branch (438:7): [True: 25.9k, Folded]
  |  Branch (438:7): [True: 25.9k, False: 0]
  ------------------
  439|  25.9k|      return substr(0, size()-N);
  440|  25.9k|    }
_ZNK7llvm_ks9StringRef5sliceEmm:
  453|  7.31M|    StringRef slice(size_t Start, size_t End) const {
  454|  7.31M|      Start = std::min(Start, Length);
  455|  7.31M|      End = std::min(std::max(Start, End), Length);
  456|  7.31M|      return StringRef(Data + Start, End - Start);
  457|  7.31M|    }
_ZNK7llvm_ks9StringRef5splitEc:
  469|   296k|    std::pair<StringRef, StringRef> split(char Separator) const {
  470|   296k|      size_t Idx = find(Separator);
  471|   296k|      if (Idx == npos)
  ------------------
  |  Branch (471:11): [True: 271k, False: 25.5k]
  ------------------
  472|   271k|        return std::make_pair(*this, StringRef());
  473|  25.5k|      return std::make_pair(slice(0, Idx), slice(Idx+1, npos));
  474|   296k|    }
_ZNK7llvm_ks9StringRef5ltrimES0_:
  547|  25.5k|    StringRef ltrim(StringRef Chars = " \t\n\v\f\r") const {
  548|  25.5k|      return drop_front(std::min(Length, find_first_not_of(Chars)));
  549|  25.5k|    }
_ZNK7llvm_ks9StringRef5rtrimES0_:
  553|  25.5k|    StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const {
  554|  25.5k|      return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
  555|  25.5k|    }
_ZNK7llvm_ks9StringRef4trimES0_:
  559|  25.5k|    StringRef trim(StringRef Chars = " \t\n\v\f\r") const {
  560|  25.5k|      return ltrim(Chars).rtrim(Chars);
  561|  25.5k|    }
_ZN7llvm_kseqENS_9StringRefES0_:
  579|  3.62M|  inline bool operator==(StringRef LHS, StringRef RHS) {
  580|  3.62M|    return LHS.equals(RHS);
  581|  3.62M|  }
_ZN7llvm_ksneENS_9StringRefES0_:
  584|   597k|  inline bool operator!=(StringRef LHS, StringRef RHS) {
  585|   597k|    return !(LHS == RHS);
  586|   597k|  }
_ZN7llvm_ksltENS_9StringRefES0_:
  588|  5.91M|  inline bool operator<(StringRef LHS, StringRef RHS) {
  589|  5.91M|    return LHS.compare(RHS) == -1;
  590|  5.91M|  }
_ZN7llvm_kspLERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS_9StringRefE:
  604|  68.2k|  inline std::string &operator+=(std::string &buffer, StringRef string) {
  605|  68.2k|    return buffer.append(string.data(), string.size());
  606|  68.2k|  }

_ZNK7llvm_ks12StringSwitchIiiE7DefaultERKi:
  150|     56|  R Default(const T& Value) const {
  151|     56|    if (Result)
  ------------------
  |  Branch (151:9): [True: 45, False: 11]
  ------------------
  152|     45|      return *Result;
  153|       |
  154|     11|    return Value;
  155|     56|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_EC2ENS_9StringRefE:
   54|  28.9k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|   115k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   115k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 94.9k, False: 20.9k]
  |  Branch (59:20): [True: 5.09k, False: 89.8k]
  ------------------
   60|  5.09k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 380, False: 4.71k]
  ------------------
   61|    380|      Result = &Value;
   62|    380|    }
   63|       |
   64|   115k|    return *this;
   65|   115k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|   347k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   347k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 264k, False: 83.6k]
  |  Branch (59:20): [True: 28.2k, False: 235k]
  ------------------
   60|  28.2k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 2.26k, False: 25.9k]
  ------------------
   61|  2.26k|      Result = &Value;
   62|  2.26k|    }
   63|       |
   64|   347k|    return *this;
   65|   347k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj9EEERS3_RAT__KcRKS2_:
   58|   260k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   260k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 198k, False: 62.1k]
  |  Branch (59:20): [True: 8.53k, False: 190k]
  ------------------
   60|  8.53k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 726, False: 7.81k]
  ------------------
   61|    726|      Result = &Value;
   62|    726|    }
   63|       |
   64|   260k|    return *this;
   65|   260k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj10EEERS3_RAT__KcRKS2_:
   58|   173k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   173k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 124k, False: 49.4k]
  |  Branch (59:20): [True: 7.71k, False: 116k]
  ------------------
   60|  7.71k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 655, False: 7.06k]
  ------------------
   61|    655|      Result = &Value;
   62|    655|    }
   63|       |
   64|   173k|    return *this;
   65|   173k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|   463k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   463k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 304k, False: 159k]
  |  Branch (59:20): [True: 16.6k, False: 287k]
  ------------------
   60|  16.6k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1.04k, False: 15.6k]
  ------------------
   61|  1.04k|      Result = &Value;
   62|  1.04k|    }
   63|       |
   64|   463k|    return *this;
   65|   463k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|   115k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   115k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 95.5k, False: 20.3k]
  |  Branch (59:20): [True: 4.03k, False: 91.4k]
  ------------------
   60|  4.03k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 465, False: 3.56k]
  ------------------
   61|    465|      Result = &Value;
   62|    465|    }
   63|       |
   64|   115k|    return *this;
   65|   115k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj12EEERS3_RAT__KcRKS2_:
   58|   202k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   202k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 125k, False: 77.0k]
  |  Branch (59:20): [True: 7.21k, False: 118k]
  ------------------
   60|  7.21k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 968, False: 6.25k]
  ------------------
   61|    968|      Result = &Value;
   62|    968|    }
   63|       |
   64|   202k|    return *this;
   65|   202k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj8EEERS3_RAT__KcRKS2_:
   58|   318k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   318k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 208k, False: 109k]
  |  Branch (59:20): [True: 9.07k, False: 199k]
  ------------------
   60|  9.07k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 740, False: 8.33k]
  ------------------
   61|    740|      Result = &Value;
   62|    740|    }
   63|       |
   64|   318k|    return *this;
   65|   318k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj11EEERS3_RAT__KcRKS2_:
   58|  57.9k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  57.9k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 44.0k, False: 13.8k]
  |  Branch (59:20): [True: 1.11k, False: 42.9k]
  ------------------
   60|  1.11k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 275, False: 836]
  ------------------
   61|    275|      Result = &Value;
   62|    275|    }
   63|       |
   64|  57.9k|    return *this;
   65|  57.9k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj2EEERS3_RAT__KcRKS2_:
   58|  57.9k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  57.9k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 49.3k, False: 8.57k]
  |  Branch (59:20): [True: 12.8k, False: 36.5k]
  ------------------
   60|  12.8k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 5.44k, False: 7.37k]
  ------------------
   61|  5.44k|      Result = &Value;
   62|  5.44k|    }
   63|       |
   64|  57.9k|    return *this;
   65|  57.9k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj3EEERS3_RAT__KcRKS2_:
   58|  57.9k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  57.9k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 35.2k, False: 22.6k]
  |  Branch (59:20): [True: 3.64k, False: 31.6k]
  ------------------
   60|  3.64k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 237, False: 3.41k]
  ------------------
   61|    237|      Result = &Value;
   62|    237|    }
   63|       |
   64|  57.9k|    return *this;
   65|  57.9k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj13EEERS3_RAT__KcRKS2_:
   58|   173k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   173k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 100k, False: 73.3k]
  |  Branch (59:20): [True: 4.86k, False: 95.6k]
  ------------------
   60|  4.86k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 650, False: 4.21k]
  ------------------
   61|    650|      Result = &Value;
   62|    650|    }
   63|       |
   64|   173k|    return *this;
   65|   173k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj14EEERS3_RAT__KcRKS2_:
   58|   115k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   115k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 70.4k, False: 45.3k]
  |  Branch (59:20): [True: 1.63k, False: 68.8k]
  ------------------
   60|  1.63k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 179, False: 1.45k]
  ------------------
   61|    179|      Result = &Value;
   62|    179|    }
   63|       |
   64|   115k|    return *this;
   65|   115k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj15EEERS3_RAT__KcRKS2_:
   58|  86.9k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  86.9k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 52.7k, False: 34.1k]
  |  Branch (59:20): [True: 7.69k, False: 45.0k]
  ------------------
   60|  7.69k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 153, False: 7.54k]
  ------------------
   61|    153|      Result = &Value;
   62|    153|    }
   63|       |
   64|  86.9k|    return *this;
   65|  86.9k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj16EEERS3_RAT__KcRKS2_:
   58|  28.9k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  28.9k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 17.2k, False: 11.6k]
  |  Branch (59:20): [True: 735, False: 16.5k]
  ------------------
   60|    735|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 77, False: 658]
  ------------------
   61|     77|      Result = &Value;
   62|     77|    }
   63|       |
   64|  28.9k|    return *this;
   65|  28.9k|  }
_ZNK7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E7DefaultERKS2_:
  150|  28.9k|  R Default(const T& Value) const {
  151|  28.9k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 14.2k, False: 14.7k]
  ------------------
  152|  14.2k|      return *Result;
  153|       |
  154|  14.7k|    return Value;
  155|  28.9k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_EC2ES1_:
   54|   156k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj14EEERS2_RAT__KcRKS1_:
   58|  5.56k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  5.56k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 5.54k, False: 20]
  |  Branch (59:20): [True: 54, False: 5.49k]
  ------------------
   60|     54|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1, False: 53]
  ------------------
   61|      1|      Result = &Value;
   62|      1|    }
   63|       |
   64|  5.56k|    return *this;
   65|  5.56k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj13EEERS2_RAT__KcRKS1_:
   58|  2.78k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  2.78k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 2.78k, False: 0]
  |  Branch (59:20): [True: 268, False: 2.51k]
  ------------------
   60|    268|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 20, False: 248]
  ------------------
   61|     20|      Result = &Value;
   62|     20|    }
   63|       |
   64|  2.78k|    return *this;
   65|  2.78k|  }
_ZNK7llvm_ks12StringSwitchINS_9StringRefES1_E7DefaultERKS1_:
  150|   156k|  R Default(const T& Value) const {
  151|   156k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 21, False: 156k]
  ------------------
  152|     21|      return *Result;
  153|       |
  154|   156k|    return Value;
  155|   156k|  }
_ZN7llvm_ks12StringSwitchIiiEC2ENS_9StringRefE:
   54|     56|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj5ELj5ELj5EEERS3_RAT__KcRAT0__S6_RAT1__S6_RAT2__S6_RKS2_:
  120|   170k|                      const T& Value) {
  121|   170k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 170k, False: 0]
  ------------------
  122|   170k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 170k, False: 0]
  |  Branch (122:32): [True: 170k, False: 0]
  ------------------
  123|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 0]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|      0|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 0, False: 0]
  |  Branch (124:32): [True: 0, False: 0]
  ------------------
  125|   170k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 0]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|   170k|      Result = &Value;
  127|   170k|    }
  128|       |
  129|   170k|    return *this;
  130|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj5ELj5EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   170k|                      const char (&S2)[N2], const T& Value) {
  106|   170k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 0, False: 170k]
  ------------------
  107|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 0]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 0]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|      0|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 0]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   170k|    return *this;
  114|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj6ELj7ELj8EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   170k|                      const char (&S2)[N2], const T& Value) {
  106|   170k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 0, False: 170k]
  ------------------
  107|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 0]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 0]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|      0|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 0]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   170k|    return *this;
  114|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj8ELj6EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   170k|                      const T& Value) {
   93|   170k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 170k]
  ------------------
   94|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 0]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 0]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   170k|    return *this;
  100|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj10ELj4ELj6EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   170k|                      const char (&S2)[N2], const T& Value) {
  106|   170k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 0, False: 170k]
  ------------------
  107|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 0]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 0]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|      0|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 0]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   170k|    return *this;
  114|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj12ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   170k|                      const T& Value) {
   93|   170k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 170k]
  ------------------
   94|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 0]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 0]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   170k|    return *this;
  100|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj7ELj13EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   170k|                      const char (&S2)[N2], const T& Value) {
  106|   170k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 0, False: 170k]
  ------------------
  107|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 0]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 0]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|      0|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 0]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   170k|    return *this;
  114|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj7ELj15EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   170k|                      const T& Value) {
   93|   170k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 170k]
  ------------------
   94|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 0]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 0]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   170k|    return *this;
  100|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj7ELj9EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   170k|                      const T& Value) {
   93|   170k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 170k]
  ------------------
   94|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 0]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 0]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   170k|    return *this;
  100|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj6ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   170k|                      const T& Value) {
   93|   170k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 170k]
  ------------------
   94|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 0]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 0]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   170k|    return *this;
  100|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj8ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   170k|                      const T& Value) {
   93|   170k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 170k]
  ------------------
   94|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 0]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 0]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   170k|    return *this;
  100|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E10StartsWithILj8EEERS3_RAT__KcRKS2_:
   80|   170k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   170k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 0, False: 170k]
  |  Branch (81:20): [True: 0, False: 0]
  ------------------
   82|      0|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 0]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|   170k|    return *this;
   87|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_EC2ENS_9StringRefE:
   54|   204k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|   204k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   204k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 204k, False: 0]
  |  Branch (59:20): [True: 0, False: 204k]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   204k|    return *this;
   65|   204k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_E4CaseILj3EEERS3_RAT__KcRKS2_:
   58|   204k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   204k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 204k, False: 0]
  |  Branch (59:20): [True: 0, False: 204k]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   204k|    return *this;
   65|   204k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|   204k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   204k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 204k, False: 0]
  |  Branch (59:20): [True: 0, False: 204k]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   204k|    return *this;
   65|   204k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|  1.43M|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.43M|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.43M, False: 0]
  |  Branch (59:20): [True: 0, False: 1.43M]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  1.43M|    return *this;
   65|  1.43M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|   409k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   409k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 409k, False: 0]
  |  Branch (59:20): [True: 0, False: 409k]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   409k|    return *this;
   65|   409k|  }
_ZNK7llvm_ks12StringSwitchINS_6Triple10VendorTypeES2_E7DefaultERKS2_:
  150|   204k|  R Default(const T& Value) const {
  151|   204k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 0, False: 204k]
  ------------------
  152|      0|      return *Result;
  153|       |
  154|   204k|    return Value;
  155|   204k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_EC2ENS_9StringRefE:
   54|   204k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj9EEERS3_RAT__KcRKS2_:
   80|   613k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   613k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 613k, False: 0]
  |  Branch (81:20): [True: 0, False: 613k]
  ------------------
   82|      0|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 0]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|   613k|    return *this;
   87|   613k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj7EEERS3_RAT__KcRKS2_:
   80|  1.02M|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|  1.02M|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 1.02M, False: 0]
  |  Branch (81:20): [True: 1.02M, False: 0]
  ------------------
   82|  1.02M|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 1.02M]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|  1.02M|    return *this;
   87|  1.02M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj10EEERS3_RAT__KcRKS2_:
   80|   204k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   204k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 204k, False: 0]
  |  Branch (81:20): [True: 0, False: 204k]
  ------------------
   82|      0|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 0]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|   204k|    return *this;
   87|   204k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj8EEERS3_RAT__KcRKS2_:
   80|  1.02M|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|  1.02M|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 1.02M, False: 0]
  |  Branch (81:20): [True: 1.02M, False: 0]
  ------------------
   82|  1.02M|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 1.02M]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|  1.02M|    return *this;
   87|  1.02M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj4EEERS3_RAT__KcRKS2_:
   80|  1.02M|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|  1.02M|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 1.02M, False: 0]
  |  Branch (81:20): [True: 1.02M, False: 0]
  ------------------
   82|  1.02M|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 1.02M]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|  1.02M|    return *this;
   87|  1.02M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj6EEERS3_RAT__KcRKS2_:
   80|  1.02M|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|  1.02M|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 1.02M, False: 0]
  |  Branch (81:20): [True: 1.02M, False: 0]
  ------------------
   82|  1.02M|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 1.02M]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|  1.02M|    return *this;
   87|  1.02M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E10StartsWithILj5EEERS3_RAT__KcRKS2_:
   80|   818k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   818k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 818k, False: 0]
  |  Branch (81:20): [True: 818k, False: 0]
  ------------------
   82|   818k|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 818k]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|   818k|    return *this;
   87|   818k|  }
_ZNK7llvm_ks12StringSwitchINS_6Triple6OSTypeES2_E7DefaultERKS2_:
  150|   204k|  R Default(const T& Value) const {
  151|   204k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 0, False: 204k]
  ------------------
  152|      0|      return *Result;
  153|       |
  154|   204k|    return Value;
  155|   204k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_EC2ENS_9StringRefE:
   54|   170k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_E10StartsWithILj7EEERS3_RAT__KcRKS2_:
   80|   681k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   681k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 511k, False: 170k]
  |  Branch (81:20): [True: 511k, False: 0]
  ------------------
   82|   511k|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 170k, False: 340k]
  ------------------
   83|   170k|      Result = &Value;
   84|   170k|    }
   85|       |
   86|   681k|    return *this;
   87|   681k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_E10StartsWithILj5EEERS3_RAT__KcRKS2_:
   80|   340k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   340k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 170k, False: 170k]
  |  Branch (81:20): [True: 170k, False: 0]
  ------------------
   82|   170k|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 170k]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|   340k|    return *this;
   87|   340k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_E10StartsWithILj10EEERS3_RAT__KcRKS2_:
   80|   340k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   340k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 170k, False: 170k]
  |  Branch (81:20): [True: 0, False: 170k]
  ------------------
   82|      0|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 0]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|   340k|    return *this;
   87|   340k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_E10StartsWithILj8EEERS3_RAT__KcRKS2_:
   80|   681k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   681k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 170k, False: 511k]
  |  Branch (81:20): [True: 0, False: 170k]
  ------------------
   82|      0|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 0]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|   681k|    return *this;
   87|   681k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_E10StartsWithILj4EEERS3_RAT__KcRKS2_:
   80|   170k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   170k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 0, False: 170k]
  |  Branch (81:20): [True: 0, False: 0]
  ------------------
   82|      0|        std::memcmp(S, Str.data(), N-1) == 0) {
  ------------------
  |  Branch (82:9): [True: 0, False: 0]
  ------------------
   83|      0|      Result = &Value;
   84|      0|    }
   85|       |
   86|   170k|    return *this;
   87|   170k|  }
_ZNK7llvm_ks12StringSwitchINS_6Triple15EnvironmentTypeES2_E7DefaultERKS2_:
  150|   170k|  R Default(const T& Value) const {
  151|   170k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 170k, False: 0]
  ------------------
  152|   170k|      return *Result;
  153|       |
  154|      0|    return Value;
  155|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple16ObjectFormatTypeES2_EC2ENS_9StringRefE:
   54|   153k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple16ObjectFormatTypeES2_E8EndsWithILj5EEERS3_RAT__KcRKS2_:
   69|   153k|  StringSwitch& EndsWith(const char (&S)[N], const T &Value) {
   70|   153k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (70:9): [True: 153k, False: 0]
  |  Branch (70:20): [True: 153k, False: 0]
  ------------------
   71|   153k|        std::memcmp(S, Str.data() + Str.size() + 1 - N, N-1) == 0) {
  ------------------
  |  Branch (71:9): [True: 0, False: 153k]
  ------------------
   72|      0|      Result = &Value;
   73|      0|    }
   74|       |
   75|   153k|    return *this;
   76|   153k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple16ObjectFormatTypeES2_E8EndsWithILj4EEERS3_RAT__KcRKS2_:
   69|   153k|  StringSwitch& EndsWith(const char (&S)[N], const T &Value) {
   70|   153k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (70:9): [True: 153k, False: 0]
  |  Branch (70:20): [True: 153k, False: 0]
  ------------------
   71|   153k|        std::memcmp(S, Str.data() + Str.size() + 1 - N, N-1) == 0) {
  ------------------
  |  Branch (71:9): [True: 0, False: 153k]
  ------------------
   72|      0|      Result = &Value;
   73|      0|    }
   74|       |
   75|   153k|    return *this;
   76|   153k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple16ObjectFormatTypeES2_E8EndsWithILj6EEERS3_RAT__KcRKS2_:
   69|   153k|  StringSwitch& EndsWith(const char (&S)[N], const T &Value) {
   70|   153k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (70:9): [True: 153k, False: 0]
  |  Branch (70:20): [True: 153k, False: 0]
  ------------------
   71|   153k|        std::memcmp(S, Str.data() + Str.size() + 1 - N, N-1) == 0) {
  ------------------
  |  Branch (71:9): [True: 0, False: 153k]
  ------------------
   72|      0|      Result = &Value;
   73|      0|    }
   74|       |
   75|   153k|    return *this;
   76|   153k|  }
_ZNK7llvm_ks12StringSwitchINS_6Triple16ObjectFormatTypeES2_E7DefaultERKS2_:
  150|   153k|  R Default(const T& Value) const {
  151|   153k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 0, False: 153k]
  ------------------
  152|      0|      return *Result;
  153|       |
  154|   153k|    return Value;
  155|   153k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_EC2ENS_9StringRefE:
   54|   170k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj8EEERS3_RAT__KcRKS2_:
   58|  1.53M|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.53M|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 1.53M]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  1.53M|    return *this;
   65|  1.53M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj11EEERS3_RAT__KcRKS2_:
   58|   170k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   170k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 170k]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   170k|    return *this;
   65|   170k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|  1.53M|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.53M|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 1.53M]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  1.53M|    return *this;
   65|  1.53M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|   511k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   511k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 511k]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   511k|    return *this;
   65|   511k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|   681k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   681k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 681k]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   681k|    return *this;
   65|   681k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|  1.02M|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.02M|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 1.02M]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  1.02M|    return *this;
   65|  1.02M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj9EEERS3_RAT__KcRKS2_:
   58|   340k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   340k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 0, False: 340k]
  |  Branch (59:20): [True: 0, False: 0]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   340k|    return *this;
   65|   340k|  }
_ZNK7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E7DefaultERKS2_:
  150|   170k|  R Default(const T& Value) const {
  151|   170k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 170k, False: 0]
  ------------------
  152|   170k|      return *Result;
  153|       |
  154|      0|    return Value;
  155|   170k|  }
_ZN7llvm_ks12StringSwitchIjjEC2ENS_9StringRefE:
   54|  68.8k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj3EEERS1_RAT__KcRKj:
   58|  5.19k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  5.19k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 5.04k, False: 150]
  |  Branch (59:20): [True: 397, False: 4.65k]
  ------------------
   60|    397|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 35, False: 362]
  ------------------
   61|     35|      Result = &Value;
   62|     35|    }
   63|       |
   64|  5.19k|    return *this;
   65|  5.19k|  }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj4EEERS1_RAT__KcRKj:
   58|  5.85k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  5.85k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 5.61k, False: 242]
  |  Branch (59:20): [True: 377, False: 5.23k]
  ------------------
   60|    377|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 27, False: 350]
  ------------------
   61|     27|      Result = &Value;
   62|     27|    }
   63|       |
   64|  5.85k|    return *this;
   65|  5.85k|  }
_ZNK7llvm_ks12StringSwitchIjjE7DefaultERKj:
  150|  68.8k|  R Default(const T& Value) const {
  151|  68.8k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 339, False: 68.5k]
  ------------------
  152|    339|      return *Result;
  153|       |
  154|  68.5k|    return Value;
  155|  68.8k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj4EEERS2_RAT__KcRKS1_:
   58|   613k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   613k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 613k, False: 0]
  |  Branch (59:20): [True: 0, False: 613k]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   613k|    return *this;
   65|   613k|  }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj7EEERS1_RAT__KcRKj:
   58|  9.61k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  9.61k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 8.78k, False: 827]
  |  Branch (59:20): [True: 705, False: 8.08k]
  ------------------
   60|    705|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 43, False: 662]
  ------------------
   61|     43|      Result = &Value;
   62|     43|    }
   63|       |
   64|  9.61k|    return *this;
   65|  9.61k|  }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj8EEERS1_RAT__KcRKj:
   58|  3.20k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  3.20k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 2.94k, False: 264]
  |  Branch (59:20): [True: 519, False: 2.42k]
  ------------------
   60|    519|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1, False: 518]
  ------------------
   61|      1|      Result = &Value;
   62|      1|    }
   63|       |
   64|  3.20k|    return *this;
   65|  3.20k|  }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj9EEERS1_RAT__KcRKj:
   58|  1.60k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.60k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.43k, False: 168]
  |  Branch (59:20): [True: 33, False: 1.40k]
  ------------------
   60|     33|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 2, False: 31]
  ------------------
   61|      2|      Result = &Value;
   62|      2|    }
   63|       |
   64|  1.60k|    return *this;
   65|  1.60k|  }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj5EEERS1_RAT__KcRKj:
   58|    837|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|    837|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 758, False: 79]
  |  Branch (59:20): [True: 25, False: 733]
  ------------------
   60|     25|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 25]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|    837|    return *this;
   65|    837|  }
_ZN7llvm_ks12StringSwitchIjjE4CaseILj6EEERS1_RAT__KcRKj:
   58|  12.8k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  12.8k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 11.9k, False: 928]
  |  Branch (59:20): [True: 1.75k, False: 10.1k]
  ------------------
   60|  1.75k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 46, False: 1.71k]
  ------------------
   61|     46|      Result = &Value;
   62|     46|    }
   63|       |
   64|  12.8k|    return *this;
   65|  12.8k|  }
_ZN7llvm_ks12StringSwitchIiiE4CaseILj3EEERS1_RAT__KcRKi:
   58|    224|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|    224|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 103, False: 121]
  |  Branch (59:20): [True: 87, False: 16]
  ------------------
   60|     87|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 45, False: 42]
  ------------------
   61|     45|      Result = &Value;
   62|     45|    }
   63|       |
   64|    224|    return *this;
   65|    224|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj3EEERS2_RAT__KcRKS1_:
   58|   153k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   153k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 153k, False: 0]
  |  Branch (59:20): [True: 0, False: 153k]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   153k|    return *this;
   65|   153k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj6EEERS2_RAT__KcRKS1_:
   58|   306k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   306k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 306k, False: 0]
  |  Branch (59:20): [True: 0, False: 306k]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   306k|    return *this;
   65|   306k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj9EEERS2_RAT__KcRKS1_:
   58|   306k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   306k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 306k, False: 0]
  |  Branch (59:20): [True: 0, False: 306k]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   306k|    return *this;
   65|   306k|  }
_ZN7llvm_ks12StringSwitchIjjE5CasesILj5ELj5EEERS1_RAT__KcRAT0__S4_RKj:
   92|   135k|                      const T& Value) {
   93|   135k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 135k, False: 6]
  ------------------
   94|   135k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 3.00k, False: 132k]
  |  Branch (94:32): [True: 5, False: 2.99k]
  ------------------
   95|   135k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 2.99k, False: 132k]
  |  Branch (95:32): [True: 72, False: 2.92k]
  ------------------
   96|     77|      Result = &Value;
   97|     77|    }
   98|       |
   99|   135k|    return *this;
  100|   135k|  }
_ZN7llvm_ks12StringSwitchIjjE5CasesILj6ELj6EEERS1_RAT__KcRAT0__S4_RKj:
   92|   338k|                      const T& Value) {
   93|   338k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 337k, False: 431]
  ------------------
   94|   337k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 3.78k, False: 334k]
  |  Branch (94:32): [True: 5, False: 3.77k]
  ------------------
   95|   337k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 3.77k, False: 334k]
  |  Branch (95:32): [True: 6, False: 3.77k]
  ------------------
   96|     11|      Result = &Value;
   97|     11|    }
   98|       |
   99|   338k|    return *this;
  100|   338k|  }
_ZN7llvm_ks12StringSwitchIjjE5CasesILj7ELj7EEERS1_RAT__KcRAT0__S4_RKj:
   92|   135k|                      const T& Value) {
   93|   135k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 135k, False: 267]
  ------------------
   94|   135k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 1.08k, False: 134k]
  |  Branch (94:32): [True: 2, False: 1.08k]
  ------------------
   95|   135k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 1.08k, False: 134k]
  |  Branch (95:32): [True: 11, False: 1.07k]
  ------------------
   96|     13|      Result = &Value;
   97|     13|    }
   98|       |
   99|   135k|    return *this;
  100|   135k|  }
_ZN7llvm_ks12StringSwitchIjjE5CasesILj8ELj8EEERS1_RAT__KcRAT0__S4_RKj:
   92|   203k|                      const T& Value) {
   93|   203k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 202k, False: 380]
  ------------------
   94|   202k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 1.43k, False: 201k]
  |  Branch (94:32): [True: 17, False: 1.41k]
  ------------------
   95|   202k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 1.41k, False: 201k]
  |  Branch (95:32): [True: 67, False: 1.35k]
  ------------------
   96|     84|      Result = &Value;
   97|     84|    }
   98|       |
   99|   203k|    return *this;
  100|   203k|  }
_ZN7llvm_ks12StringSwitchIPKcS2_E4CaseILj4EEERS3_RAT__S1_RKS2_:
   58|     21|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|     21|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 17, False: 4]
  |  Branch (59:20): [True: 14, False: 3]
  ------------------
   60|     14|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 4, False: 10]
  ------------------
   61|      4|      Result = &Value;
   62|      4|    }
   63|       |
   64|     21|    return *this;
   65|     21|  }
_ZNK7llvm_ks12StringSwitchIPKcS2_E7DefaultERKS2_:
  150|  27.5k|  R Default(const T& Value) const {
  151|  27.5k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 2.12k, False: 25.4k]
  ------------------
  152|  2.12k|      return *Result;
  153|       |
  154|  25.4k|    return Value;
  155|  27.5k|  }
_ZN7llvm_ks12StringSwitchIPKcS2_EC2ENS_9StringRefE:
   54|  27.6k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchIPKcS2_E4CaseILj5EEERS3_RAT__S1_RKS2_:
   58|    145|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|    145|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 123, False: 22]
  |  Branch (59:20): [True: 63, False: 60]
  ------------------
   60|     63|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 40, False: 23]
  ------------------
   61|     40|      Result = &Value;
   62|     40|    }
   63|       |
   64|    145|    return *this;
   65|    145|  }
_ZN7llvm_ks12StringSwitchIPKcS2_E4CaseILj6EEERS3_RAT__S1_RKS2_:
   58|   138k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   138k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 135k, False: 2.53k]
  |  Branch (59:20): [True: 35.3k, False: 100k]
  ------------------
   60|  35.3k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 2.08k, False: 33.2k]
  ------------------
   61|  2.08k|      Result = &Value;
   62|  2.08k|    }
   63|       |
   64|   138k|    return *this;
   65|   138k|  }
_ZNK7llvm_ks12StringSwitchIPKcS2_EcvS2_Ev:
  158|     69|  operator R() const {
  159|     69|    assert(Result && "Fell off the end of a string-switch");
  ------------------
  |  Branch (159:5): [True: 69, False: 0]
  |  Branch (159:5): [True: 69, Folded]
  |  Branch (159:5): [True: 69, False: 0]
  ------------------
  160|     69|    return *Result;
  161|     69|  }
_ZN7llvm_ks12StringSwitchIPKcS2_E4CaseILj7EEERS3_RAT__S1_RKS2_:
   58|  82.7k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  82.7k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 80.3k, False: 2.41k]
  |  Branch (59:20): [True: 2.77k, False: 77.5k]
  ------------------
   60|  2.77k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 63, False: 2.71k]
  ------------------
   61|     63|      Result = &Value;
   62|     63|    }
   63|       |
   64|  82.7k|    return *this;
   65|  82.7k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj5EEERS2_RAT__KcRKS1_:
   58|   306k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   306k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 306k, False: 0]
  |  Branch (59:20): [True: 306k, False: 0]
  ------------------
   60|   306k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 306k]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|   306k|    return *this;
   65|   306k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj4ELj5ELj6EEERS2_RAT__KcRAT0__S5_RAT1__S5_RKS1_:
  105|   153k|                      const char (&S2)[N2], const T& Value) {
  106|   153k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 153k, False: 0]
  ------------------
  107|   153k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 153k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|   153k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 153k, False: 0]
  |  Branch (108:32): [True: 0, False: 153k]
  ------------------
  109|   153k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 153k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   153k|    return *this;
  114|   153k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj4ELj5EEERS2_RAT__KcRAT0__S5_RKS1_:
   92|   153k|                      const T& Value) {
   93|   153k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 153k, False: 0]
  ------------------
   94|   153k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 153k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|   153k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 153k, False: 0]
  |  Branch (95:32): [True: 0, False: 153k]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   153k|    return *this;
  100|   153k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj3ELj4ELj5ELj4EEERS2_RAT__KcRAT0__S5_RAT1__S5_RAT2__S5_RKS1_:
  120|   153k|                      const T& Value) {
  121|   153k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 153k, False: 0]
  ------------------
  122|   153k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 0, False: 153k]
  |  Branch (122:32): [True: 0, False: 0]
  ------------------
  123|   153k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 153k]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|   153k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 153k, False: 0]
  |  Branch (124:32): [True: 0, False: 153k]
  ------------------
  125|   153k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 153k]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|      0|      Result = &Value;
  127|      0|    }
  128|       |
  129|   153k|    return *this;
  130|   153k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj3ELj4ELj8ELj6EEERS2_RAT__KcRAT0__S5_RAT1__S5_RAT2__S5_RKS1_:
  120|   153k|                      const T& Value) {
  121|   153k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 153k, False: 0]
  ------------------
  122|   153k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 0, False: 153k]
  |  Branch (122:32): [True: 0, False: 0]
  ------------------
  123|   153k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 153k]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|   153k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 0, False: 153k]
  |  Branch (124:32): [True: 0, False: 0]
  ------------------
  125|   153k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 153k]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|      0|      Result = &Value;
  127|      0|    }
  128|       |
  129|   153k|    return *this;
  130|   153k|  }

_ZN7llvm_ks6TripleC2Ev:
  223|  17.0k|  Triple() : Data(), Arch(), Vendor(), OS(), Environment(), ObjectFormat() {}
_ZNK7llvm_ks6Triple15getObjectFormatEv:
  285|  68.1k|  ObjectFormatType getObjectFormat() const { return ObjectFormat; }
_ZNK7llvm_ks6Triple7getArchEv:
  255|   326k|  ArchType getArch() const { return Arch; }
_ZNK7llvm_ks6Triple5getOSEv:
  264|  1.21M|  OSType getOS() const { return OS; }
_ZNK7llvm_ks6Triple14getEnvironmentEv:
  273|  34.0k|  EnvironmentType getEnvironment() const { return Environment; }
_ZNK7llvm_ks6Triple9getTripleEv:
  326|  17.0k|  const std::string &getTriple() const { return Data; }
_ZNK7llvm_ks6Triple8isMacOSXEv:
  412|   187k|  bool isMacOSX() const {
  413|   187k|    return getOS() == Triple::Darwin || getOS() == Triple::MacOSX;
  ------------------
  |  Branch (413:12): [True: 0, False: 187k]
  |  Branch (413:41): [True: 0, False: 187k]
  ------------------
  414|   187k|  }
_ZNK7llvm_ks6Triple5isiOSEv:
  421|   187k|  bool isiOS() const {
  422|   187k|    return getOS() == Triple::IOS || isTvOS();
  ------------------
  |  Branch (422:12): [True: 0, False: 187k]
  |  Branch (422:38): [True: 0, False: 187k]
  ------------------
  423|   187k|  }
_ZNK7llvm_ks6Triple6isTvOSEv:
  426|   187k|  bool isTvOS() const {
  427|   187k|    return getOS() == Triple::TvOS;
  428|   187k|  }
_ZNK7llvm_ks6Triple9isWatchOSEv:
  431|   187k|  bool isWatchOS() const {
  432|   187k|    return getOS() == Triple::WatchOS;
  433|   187k|  }
_ZNK7llvm_ks6Triple10isOSDarwinEv:
  440|   187k|  bool isOSDarwin() const {
  441|   187k|    return isMacOSX() || isiOS() || isWatchOS();
  ------------------
  |  Branch (441:12): [True: 0, False: 187k]
  |  Branch (441:26): [True: 0, False: 187k]
  |  Branch (441:37): [True: 0, False: 187k]
  ------------------
  442|   187k|  }
_ZNK7llvm_ks6Triple11isOSSolarisEv:
  458|  17.0k|  bool isOSSolaris() const {
  459|  17.0k|    return getOS() == Triple::Solaris;
  460|  17.0k|  }
_ZNK7llvm_ks6Triple9isOSIAMCUEv:
  466|  17.0k|  bool isOSIAMCU() const {
  467|  17.0k|    return getOS() == Triple::ELFIAMCU;
  468|  17.0k|  }
_ZNK7llvm_ks6Triple26isWindowsCygwinEnvironmentEv:
  490|  34.0k|  bool isWindowsCygwinEnvironment() const {
  491|  34.0k|    return getOS() == Triple::Win32 && getEnvironment() == Triple::Cygnus;
  ------------------
  |  Branch (491:12): [True: 0, False: 34.0k]
  |  Branch (491:40): [True: 0, False: 0]
  ------------------
  492|  34.0k|  }
_ZNK7llvm_ks6Triple23isWindowsGNUEnvironmentEv:
  494|  34.0k|  bool isWindowsGNUEnvironment() const {
  495|  34.0k|    return getOS() == Triple::Win32 && getEnvironment() == Triple::GNU;
  ------------------
  |  Branch (495:12): [True: 0, False: 34.0k]
  |  Branch (495:40): [True: 0, False: 0]
  ------------------
  496|  34.0k|  }
_ZNK7llvm_ks6Triple11isOSCygMingEv:
  499|  34.0k|  bool isOSCygMing() const {
  500|  34.0k|    return isWindowsCygwinEnvironment() || isWindowsGNUEnvironment();
  ------------------
  |  Branch (500:12): [True: 0, False: 34.0k]
  |  Branch (500:44): [True: 0, False: 34.0k]
  ------------------
  501|  34.0k|  }
_ZNK7llvm_ks6Triple11isOSWindowsEv:
  510|   153k|  bool isOSWindows() const {
  511|   153k|    return getOS() == Triple::Win32;
  512|   153k|  }
_ZNK7llvm_ks6Triple16isOSBinFormatELFEv:
  525|  17.0k|  bool isOSBinFormatELF() const {
  526|  17.0k|    return getObjectFormat() == Triple::ELF;
  527|  17.0k|  }
_ZNK7llvm_ks6Triple18isOSBinFormatMachOEv:
  535|  17.0k|  bool isOSBinFormatMachO() const {
  536|  17.0k|    return getObjectFormat() == Triple::MachO;
  537|  17.0k|  }

_ZN7llvm_ks5TwineC2ERKNS_9StringRefE:
  286|   514k|      : LHSKind(StringRefKind), RHSKind(EmptyKind) {
  287|   514k|      LHS.stringRef = &Str;
  288|       |      assert(isValid() && "Invalid twine!");
  ------------------
  |  Branch (288:7): [True: 514k, False: 0]
  |  Branch (288:7): [True: 514k, Folded]
  |  Branch (288:7): [True: 514k, False: 0]
  ------------------
  289|   514k|    }
_ZNK7llvm_ks5Twine7isValidEv:
  213|   977k|    bool isValid() const {
  214|       |      // Nullary twines always have Empty on the RHS.
  215|   977k|      if (isNullary() && getRHSKind() != EmptyKind)
  ------------------
  |  Branch (215:11): [True: 0, False: 977k]
  |  Branch (215:26): [True: 0, False: 0]
  ------------------
  216|      0|        return false;
  217|       |
  218|       |      // Null should never appear on the RHS.
  219|   977k|      if (getRHSKind() == NullKind)
  ------------------
  |  Branch (219:11): [True: 0, False: 977k]
  ------------------
  220|      0|        return false;
  221|       |
  222|       |      // The RHS cannot be non-empty if the LHS is empty.
  223|   977k|      if (getRHSKind() != EmptyKind && getLHSKind() == EmptyKind)
  ------------------
  |  Branch (223:11): [True: 10.9k, False: 966k]
  |  Branch (223:40): [True: 0, False: 10.9k]
  ------------------
  224|      0|        return false;
  225|       |
  226|       |      // A twine child should always be binary.
  227|   977k|      if (getLHSKind() == TwineKind &&
  ------------------
  |  Branch (227:11): [True: 5.49k, False: 972k]
  ------------------
  228|  5.49k|          !LHS.twine->isBinary())
  ------------------
  |  Branch (228:11): [True: 0, False: 5.49k]
  ------------------
  229|      0|        return false;
  230|   977k|      if (getRHSKind() == TwineKind &&
  ------------------
  |  Branch (230:11): [True: 0, False: 977k]
  ------------------
  231|      0|          !RHS.twine->isBinary())
  ------------------
  |  Branch (231:11): [True: 0, False: 0]
  ------------------
  232|      0|        return false;
  233|       |
  234|   977k|      return true;
  235|   977k|    }
_ZNK7llvm_ks5Twine9isNullaryEv:
  197|  1.02M|    bool isNullary() const {
  198|  1.02M|      return isNull() || isEmpty();
  ------------------
  |  Branch (198:14): [True: 0, False: 1.02M]
  |  Branch (198:26): [True: 0, False: 1.02M]
  ------------------
  199|  1.02M|    }
_ZNK7llvm_ks5Twine6isNullEv:
  187|  1.05M|    bool isNull() const {
  188|  1.05M|      return getLHSKind() == NullKind;
  189|  1.05M|    }
_ZNK7llvm_ks5Twine7isEmptyEv:
  192|  1.05M|    bool isEmpty() const {
  193|  1.05M|      return getLHSKind() == EmptyKind;
  194|  1.05M|    }
_ZNK7llvm_ks5Twine10getRHSKindEv:
  241|  4.45M|    NodeKind getRHSKind() const { return RHSKind; }
_ZNK7llvm_ks5Twine10getLHSKindEv:
  238|  5.20M|    NodeKind getLHSKind() const { return LHSKind; }
_ZNK7llvm_ks5Twine8isBinaryEv:
  207|  5.49k|    bool isBinary() const {
  208|  5.49k|      return getLHSKind() != NullKind && getRHSKind() != EmptyKind;
  ------------------
  |  Branch (208:14): [True: 5.49k, False: 0]
  |  Branch (208:42): [True: 5.49k, False: 0]
  ------------------
  209|  5.49k|    }
_ZN7llvm_ks5TwineC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  279|  85.2k|      : LHSKind(StdStringKind), RHSKind(EmptyKind) {
  280|  85.2k|      LHS.stdString = &Str;
  281|       |      assert(isValid() && "Invalid twine!");
  ------------------
  |  Branch (281:7): [True: 85.2k, False: 0]
  |  Branch (281:7): [True: 85.2k, Folded]
  |  Branch (281:7): [True: 85.2k, False: 0]
  ------------------
  282|  85.2k|    }
_ZN7llvm_ks5TwineC2ENS0_5ChildENS0_8NodeKindES1_S2_:
  178|  10.9k|        : LHS(LHS), RHS(RHS), LHSKind(LHSKind), RHSKind(RHSKind) {
  179|       |      assert(isValid() && "Invalid twine!");
  ------------------
  |  Branch (179:7): [True: 10.9k, False: 0]
  |  Branch (179:7): [True: 10.9k, Folded]
  |  Branch (179:7): [True: 10.9k, False: 0]
  ------------------
  180|  10.9k|    }
_ZNK7llvm_ks5Twine7isUnaryEv:
  202|  56.0k|    bool isUnary() const {
  203|  56.0k|      return getRHSKind() == EmptyKind && !isNullary();
  ------------------
  |  Branch (203:14): [True: 50.5k, False: 5.49k]
  |  Branch (203:43): [True: 50.5k, False: 0]
  ------------------
  204|  56.0k|    }
_ZN7llvm_ks5TwineC2EPKc:
  267|   367k|      : RHSKind(EmptyKind) {
  268|   367k|      if (Str[0] != '\0') {
  ------------------
  |  Branch (268:11): [True: 367k, False: 0]
  ------------------
  269|   367k|        LHS.cString = Str;
  270|   367k|        LHSKind = CStringKind;
  271|   367k|      } else
  272|      0|        LHSKind = EmptyKind;
  273|       |
  274|       |      assert(isValid() && "Invalid twine!");
  ------------------
  |  Branch (274:7): [True: 367k, False: 0]
  |  Branch (274:7): [True: 367k, Folded]
  |  Branch (274:7): [True: 367k, False: 0]
  ------------------
  275|   367k|    }
_ZN7llvm_ks5TwineC2EPKcRKNS_9StringRefE:
  359|     42|        : LHSKind(CStringKind), RHSKind(StringRefKind) {
  360|     42|      this->LHS.cString = LHS;
  361|     42|      this->RHS.stringRef = &RHS;
  362|       |      assert(isValid() && "Invalid twine!");
  ------------------
  |  Branch (362:7): [True: 42, False: 0]
  |  Branch (362:7): [True: 42, Folded]
  |  Branch (362:7): [True: 42, False: 0]
  ------------------
  363|     42|    }
_ZNK7llvm_ks5Twine17isSingleStringRefEv:
  403|  1.22M|    bool isSingleStringRef() const {
  404|  1.22M|      if (getRHSKind() != EmptyKind) return false;
  ------------------
  |  Branch (404:11): [True: 5.49k, False: 1.22M]
  ------------------
  405|       |
  406|  1.22M|      switch (getLHSKind()) {
  407|      0|      case EmptyKind:
  ------------------
  |  Branch (407:7): [True: 0, False: 1.22M]
  ------------------
  408|   203k|      case CStringKind:
  ------------------
  |  Branch (408:7): [True: 203k, False: 1.01M]
  ------------------
  409|   203k|      case StdStringKind:
  ------------------
  |  Branch (409:7): [True: 0, False: 1.22M]
  ------------------
  410|  1.22M|      case StringRefKind:
  ------------------
  |  Branch (410:7): [True: 1.01M, False: 203k]
  ------------------
  411|  1.22M|      case SmallStringKind:
  ------------------
  |  Branch (411:7): [True: 0, False: 1.22M]
  ------------------
  412|  1.22M|        return true;
  413|      0|      default:
  ------------------
  |  Branch (413:7): [True: 0, False: 1.22M]
  ------------------
  414|      0|        return false;
  415|  1.22M|      }
  416|  1.22M|    }
_ZNK7llvm_ks5Twine18getSingleStringRefEv:
  436|   610k|    StringRef getSingleStringRef() const {
  437|   610k|      assert(isSingleStringRef() &&"This cannot be had as a single stringref!");
  ------------------
  |  Branch (437:7): [True: 610k, False: 0]
  |  Branch (437:7): [True: 610k, Folded]
  |  Branch (437:7): [True: 610k, False: 0]
  ------------------
  438|   610k|      switch (getLHSKind()) {
  439|      0|      default: llvm_unreachable("Out of sync with isSingleStringRef");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (439:7): [True: 0, False: 610k]
  ------------------
  440|      0|      case EmptyKind:      return StringRef();
  ------------------
  |  Branch (440:7): [True: 0, False: 610k]
  ------------------
  441|   101k|      case CStringKind:    return StringRef(LHS.cString);
  ------------------
  |  Branch (441:7): [True: 101k, False: 508k]
  ------------------
  442|      0|      case StdStringKind:  return StringRef(*LHS.stdString);
  ------------------
  |  Branch (442:7): [True: 0, False: 610k]
  ------------------
  443|   508k|      case StringRefKind:  return *LHS.stringRef;
  ------------------
  |  Branch (443:7): [True: 508k, False: 101k]
  ------------------
  444|      0|      case SmallStringKind:
  ------------------
  |  Branch (444:7): [True: 0, False: 610k]
  ------------------
  445|      0|        return StringRef(LHS.smallString->data(), LHS.smallString->size());
  446|   610k|      }
  447|   610k|    }
_ZNK7llvm_ks5Twine11toStringRefERNS_15SmallVectorImplIcEE:
  452|   615k|    StringRef toStringRef(SmallVectorImpl<char> &Out) const {
  453|   615k|      if (isSingleStringRef())
  ------------------
  |  Branch (453:11): [True: 610k, False: 5.49k]
  ------------------
  454|   610k|        return getSingleStringRef();
  455|  5.49k|      toVector(Out);
  456|  5.49k|      return StringRef(Out.data(), Out.size());
  457|   615k|    }
_ZNK7llvm_ks5Twine6concatERKS0_:
  485|  10.9k|  inline Twine Twine::concat(const Twine &Suffix) const {
  486|       |    // Concatenation with null is null.
  487|  10.9k|    if (isNull() || Suffix.isNull())
  ------------------
  |  Branch (487:9): [True: 0, False: 10.9k]
  |  Branch (487:21): [True: 0, False: 10.9k]
  ------------------
  488|      0|      return Twine(NullKind);
  489|       |
  490|       |    // Concatenation with empty yields the other side.
  491|  10.9k|    if (isEmpty())
  ------------------
  |  Branch (491:9): [True: 0, False: 10.9k]
  ------------------
  492|      0|      return Suffix;
  493|  10.9k|    if (Suffix.isEmpty())
  ------------------
  |  Branch (493:9): [True: 0, False: 10.9k]
  ------------------
  494|      0|      return *this;
  495|       |
  496|       |    // Otherwise we need to create a new node, taking care to fold in unary
  497|       |    // twines.
  498|  10.9k|    Child NewLHS, NewRHS;
  499|  10.9k|    NewLHS.twine = this;
  500|  10.9k|    NewRHS.twine = &Suffix;
  501|  10.9k|    NodeKind NewLHSKind = TwineKind, NewRHSKind = TwineKind;
  502|  10.9k|    if (isUnary()) {
  ------------------
  |  Branch (502:9): [True: 5.45k, False: 5.49k]
  ------------------
  503|  5.45k|      NewLHS = LHS;
  504|  5.45k|      NewLHSKind = getLHSKind();
  505|  5.45k|    }
  506|  10.9k|    if (Suffix.isUnary()) {
  ------------------
  |  Branch (506:9): [True: 10.9k, False: 0]
  ------------------
  507|  10.9k|      NewRHS = Suffix.LHS;
  508|  10.9k|      NewRHSKind = Suffix.getLHSKind();
  509|  10.9k|    }
  510|       |
  511|  10.9k|    return Twine(NewLHS, NewLHSKind, NewRHS, NewRHSKind);
  512|  10.9k|  }
_ZN7llvm_ksplERKNS_5TwineES2_:
  514|  10.9k|  inline Twine operator+(const Twine &LHS, const Twine &RHS) {
  515|  10.9k|    return LHS.concat(RHS);
  516|  10.9k|  }
_ZN7llvm_ksplEPKcRKNS_9StringRefE:
  521|     42|  inline Twine operator+(const char *LHS, const StringRef &RHS) {
  522|     42|    return Twine(LHS, RHS);
  523|     42|  }
_ZN7llvm_kslsERNS_11raw_ostreamERKNS_5TwineE:
  532|   220k|  inline raw_ostream &operator<<(raw_ostream &OS, const Twine &RHS) {
  533|   220k|    RHS.print(OS);
  534|   220k|    return OS;
  535|   220k|  }

_ZNK7llvm_ks14ilist_iteratorINS_10MCFragmentEE19getNodePtrUncheckedEv:
  283|  79.4M|  pointer getNodePtrUnchecked() const { return NodePtr; }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE6insertENS_14ilist_iteratorIS1_EEPS1_:
  461|  44.4k|  iterator insert(iterator where, NodeTy *New) {
  462|  44.4k|    NodeTy *CurNode = where.getNodePtrUnchecked();
  463|  44.4k|    NodeTy *PrevNode = this->getPrev(CurNode);
  464|  44.4k|    this->setNext(New, CurNode);
  465|  44.4k|    this->setPrev(New, PrevNode);
  466|       |
  467|  44.4k|    if (CurNode != Head)  // Is PrevNode off the beginning of the list?
  ------------------
  |  Branch (467:9): [True: 35.1k, False: 9.35k]
  ------------------
  468|  35.1k|      this->setNext(PrevNode, New);
  469|  9.35k|    else
  470|  9.35k|      Head = New;
  471|  44.4k|    this->setPrev(CurNode, New);
  472|       |
  473|  44.4k|    this->addNodeToList(New);  // Notify traits that we added a node...
  474|  44.4k|    return iterator(New);
  475|  44.4k|  }
_ZN7llvm_ks21ilist_nextprev_traitsINS_10MCFragmentEE7getPrevEPS1_:
   57|   158M|  static NodeTy *getPrev(NodeTy *N) { return N->getPrev(); }
_ZN7llvm_ks21ilist_nextprev_traitsINS_10MCFragmentEE7setNextEPS1_S3_:
   63|   141k|  static void setNext(NodeTy *N, NodeTy *Next) { N->setNext(Next); }
_ZN7llvm_ks21ilist_nextprev_traitsINS_10MCFragmentEE7setPrevEPS1_S3_:
   62|   195k|  static void setPrev(NodeTy *N, NodeTy *Prev) { N->setPrev(Prev); }
_ZN7llvm_ks14ilist_iteratorINS_10MCFragmentEEC2EPS1_:
  223|  79.4M|  explicit ilist_iterator(pointer NP) : NodePtr(NP) {}
_ZNK7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE11getPrevNodeERS1_:
  692|  47.6k|  NodeTy *getPrevNode(NodeTy &N) const {
  693|  47.6k|    auto I = N.getIterator();
  694|  47.6k|    if (I == begin())
  ------------------
  |  Branch (694:9): [True: 8.50k, False: 39.1k]
  ------------------
  695|  8.50k|      return nullptr;
  696|  39.1k|    return &*std::prev(I);
  697|  47.6k|  }
_ZNK7llvm_ks14ilist_iteratorINS_10MCFragmentEEeqIKS1_EEbRKNS0_IT_EE:
  254|  47.6k|  template <class Y> bool operator==(const ilist_iterator<Y> &RHS) const {
  255|  47.6k|    return NodePtr == RHS.getNodePtrUnchecked();
  256|  47.6k|  }
_ZNK7llvm_ks14ilist_iteratorIKNS_10MCFragmentEE19getNodePtrUncheckedEv:
  283|  85.8k|  pointer getNodePtrUnchecked() const { return NodePtr; }
_ZNK7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE5beginEv:
  412|  47.6k|  const_iterator begin() const {
  413|  47.6k|    CreateLazySentinel();
  414|  47.6k|    return const_iterator(Head);
  415|  47.6k|  }
_ZNK7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE18CreateLazySentinelEv:
  375|  79.3M|  void CreateLazySentinel() const {
  376|  79.3M|    this->ensureHead(Head);
  377|  79.3M|  }
_ZN7llvm_ks21ilist_sentinel_traitsINS_10MCFragmentEE10ensureHeadERPS1_:
   91|  79.5M|  static NodeTy *ensureHead(NodeTy *&Head) {
   92|  79.5M|    if (!Head) {
  ------------------
  |  Branch (92:9): [True: 17.4k, False: 79.4M]
  ------------------
   93|  17.4k|      Head = ilist_traits<NodeTy>::createSentinel();
   94|  17.4k|      ilist_traits<NodeTy>::noteHead(Head, Head);
   95|  17.4k|      ilist_traits<NodeTy>::setNext(Head, nullptr);
   96|  17.4k|      return Head;
   97|  17.4k|    }
   98|  79.4M|    return ilist_traits<NodeTy>::getPrev(Head);
   99|  79.5M|  }
_ZN7llvm_ks21ilist_sentinel_traitsINS_10MCFragmentEE14createSentinelEv:
   78|  17.4k|  static NodeTy *createSentinel() { return new NodeTy(); }
_ZN7llvm_ks21ilist_sentinel_traitsINS_10MCFragmentEE8noteHeadEPS1_S3_:
  102|  17.4k|  static void noteHead(NodeTy *NewHead, NodeTy *Sentinel) {
  103|  17.4k|    ilist_traits<NodeTy>::setPrev(NewHead, Sentinel);
  104|  17.4k|  }
_ZN7llvm_ks14ilist_iteratorIKNS_10MCFragmentEEC2EPS2_:
  223|  47.6k|  explicit ilist_iterator(pointer NP) : NodePtr(NP) {}
_ZN7llvm_ks14ilist_iteratorINS_10MCFragmentEEmmEv:
  262|  78.8M|  ilist_iterator &operator--() {      // predecrement - Back up
  263|  78.8M|    NodePtr = Traits::getPrev(NodePtr);
  264|  78.8M|    assert(NodePtr && "--'d off the beginning of an ilist!");
  ------------------
  |  Branch (264:5): [True: 78.8M, False: 0]
  |  Branch (264:5): [True: 78.8M, Folded]
  |  Branch (264:5): [True: 78.8M, False: 0]
  ------------------
  265|  78.8M|    return *this;
  266|  78.8M|  }
_ZN7llvm_ks14ilist_iteratorINS_10MCFragmentEEC2Ev:
  225|  84.7k|  ilist_iterator() : NodePtr(nullptr) {}
_ZN7llvm_ks14ilist_iteratorINS_10MCFragmentEEppEv:
  267|   228k|  ilist_iterator &operator++() {      // preincrement - Advance
  268|   228k|    NodePtr = Traits::getNext(NodePtr);
  269|   228k|    return *this;
  270|   228k|  }
_ZN7llvm_ks21ilist_nextprev_traitsINS_10MCFragmentEE7getNextEPS1_:
   58|   272k|  static NodeTy *getNext(NodeTy *N) { return N->getNext(); }
_ZNK7llvm_ks14ilist_iteratorINS_10MCFragmentEEeqIS1_EEbRKNS0_IT_EE:
  254|  48.3k|  template <class Y> bool operator==(const ilist_iterator<Y> &RHS) const {
  255|  48.3k|    return NodePtr == RHS.getNodePtrUnchecked();
  256|  48.3k|  }
_ZNK7llvm_ks14ilist_iteratorINS_10MCFragmentEEdeEv:
  248|  79.1M|  reference operator*() const {
  249|  79.1M|    return *NodePtr;
  250|  79.1M|  }
_ZNK7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE5emptyEv:
  434|  8.18k|  bool LLVM_ATTRIBUTE_UNUSED_RESULT empty() const {
  435|  8.18k|    return !Head || Head == getTail();
  ------------------
  |  Branch (435:12): [True: 0, False: 8.18k]
  |  Branch (435:21): [True: 0, False: 8.18k]
  ------------------
  436|  8.18k|  }
_ZNK7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE7getTailEv:
  370|  8.18k|  const NodeTy *getTail() const { return this->ensureHead(Head); }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE3endEv:
  416|   169k|  iterator end() {
  417|   169k|    CreateLazySentinel();
  418|   169k|    return iterator(getTail());
  419|   169k|  }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE7getTailEv:
  369|   186k|  NodeTy *getTail() { return this->ensureHead(Head); }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE5beginEv:
  408|  79.0M|  iterator begin() {
  409|  79.0M|    CreateLazySentinel();
  410|  79.0M|    return iterator(Head);
  411|  79.0M|  }
_ZNK7llvm_ks14ilist_iteratorINS_10MCFragmentEEneIS1_EEbRKNS0_IT_EE:
  257|  79.2M|  template <class Y> bool operator!=(const ilist_iterator<Y> &RHS) const {
  258|  79.2M|    return NodePtr != RHS.getNodePtrUnchecked();
  259|  79.2M|  }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEEC2Ev:
  400|   740k|  iplist() : Head(this->provideInitialHead()) {}
_ZN7llvm_ks21ilist_sentinel_traitsINS_10MCFragmentEE18provideInitialHeadEv:
   86|   740k|  static NodeTy *provideInitialHead() { return nullptr; }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEED2Ev:
  401|   740k|  ~iplist() {
  402|   740k|    if (!Head) return;
  ------------------
  |  Branch (402:9): [True: 723k, False: 17.4k]
  ------------------
  403|  17.4k|    clear();
  404|  17.4k|    Traits::destroySentinel(getTail());
  405|  17.4k|  }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE5clearEv:
  605|  17.4k|  void clear() { if (Head) erase(begin(), end()); }
  ------------------
  |  Branch (605:22): [True: 17.4k, False: 0]
  ------------------
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE5eraseENS_14ilist_iteratorIS1_EES6_:
  599|  17.4k|  iterator erase(iterator first, iterator last) {
  600|  61.9k|    while (first != last)
  ------------------
  |  Branch (600:12): [True: 44.4k, False: 17.4k]
  ------------------
  601|  44.4k|      first = erase(first);
  602|  17.4k|    return last;
  603|  17.4k|  }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE5eraseENS_14ilist_iteratorIS1_EE:
  517|  44.4k|  iterator erase(iterator where) {
  518|  44.4k|    this->deleteNode(remove(where));
  519|  44.4k|    return where;
  520|  44.4k|  }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE6removeERNS_14ilist_iteratorIS1_EE:
  484|  44.4k|  NodeTy *remove(iterator &IT) {
  485|  44.4k|    assert(IT != end() && "Cannot remove end of list!");
  ------------------
  |  Branch (485:5): [True: 44.4k, False: 0]
  |  Branch (485:5): [True: 44.4k, Folded]
  |  Branch (485:5): [True: 44.4k, False: 0]
  ------------------
  486|  44.4k|    NodeTy *Node = &*IT;
  487|  44.4k|    NodeTy *NextNode = this->getNext(Node);
  488|  44.4k|    NodeTy *PrevNode = this->getPrev(Node);
  489|       |
  490|  44.4k|    if (Node != Head)  // Is PrevNode off the beginning of the list?
  ------------------
  |  Branch (490:9): [True: 0, False: 44.4k]
  ------------------
  491|      0|      this->setNext(PrevNode, NextNode);
  492|  44.4k|    else
  493|  44.4k|      Head = NextNode;
  494|  44.4k|    this->setPrev(NextNode, PrevNode);
  495|  44.4k|    IT.reset(NextNode);
  496|  44.4k|    this->removeNodeFromList(Node);  // Notify traits that we removed a node...
  497|       |
  498|       |    // Set the next/prev pointers of the current node to null.  This isn't
  499|       |    // strictly required, but this catches errors where a node is removed from
  500|       |    // an ilist (and potentially deleted) with iterators still pointing at it.
  501|       |    // When those iterators are incremented or decremented, they will assert on
  502|       |    // the null next/prev pointer instead of "usually working".
  503|  44.4k|    this->setNext(Node, nullptr);
  504|  44.4k|    this->setPrev(Node, nullptr);
  505|  44.4k|    return Node;
  506|  44.4k|  }
_ZN7llvm_ks14ilist_iteratorINS_10MCFragmentEE5resetEPS1_:
  241|  44.4k|  void reset(pointer NP) { NodePtr = NP; }
_ZN7llvm_ks21ilist_sentinel_traitsINS_10MCFragmentEE15destroySentinelEPS1_:
   81|  17.4k|  static void destroySentinel(NodeTy *N) { delete N; }
_ZNK7llvm_ks14ilist_iteratorINS_10MCFragmentEEptEv:
  251|  54.0k|  pointer operator->() const { return &operator*(); }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE6rbeginEv:
  426|  8.18k|  reverse_iterator rbegin()            { return reverse_iterator(end()); }
_ZN7llvm_ks14ilist_iteratorIKNS_10MCFragmentEEC2IS1_EERKNS0_IT_EE:
  231|  14.8k|    : NodePtr(RHS.getNodePtrUnchecked()) {}
_ZNK7llvm_ks14ilist_iteratorIKNS_10MCFragmentEEneIS2_EEbRKNS0_IT_EE:
  257|  38.2k|  template <class Y> bool operator!=(const ilist_iterator<Y> &RHS) const {
  258|  38.2k|    return NodePtr != RHS.getNodePtrUnchecked();
  259|  38.2k|  }
_ZN7llvm_ks14ilist_iteratorIKNS_10MCFragmentEEppEv:
  267|  30.8k|  ilist_iterator &operator++() {      // preincrement - Advance
  268|  30.8k|    NodePtr = Traits::getNext(NodePtr);
  269|  30.8k|    return *this;
  270|  30.8k|  }
_ZN7llvm_ks21ilist_nextprev_traitsINS_10MCFragmentEE7getNextEPKS1_:
   60|  30.8k|  static const NodeTy *getNext(const NodeTy *N) { return N->getNext(); }
_ZNK7llvm_ks14ilist_iteratorIKNS_10MCFragmentEEdeEv:
  248|  30.8k|  reference operator*() const {
  249|  30.8k|    return *NodePtr;
  250|  30.8k|  }
_ZN7llvm_ks13simplify_typeIKNS_14ilist_iteratorINS_10MCFragmentEEEE18getSimplifiedValueERS4_:
  333|  14.6k|  static SimpleType getSimplifiedValue(const ilist_iterator<NodeTy> &Node) {
  334|  14.6k|    return &*Node;
  335|  14.6k|  }
_ZN7llvm_ks13simplify_typeINS_14ilist_iteratorINS_10MCFragmentEEEE18getSimplifiedValueERS3_:
  326|  14.6k|  static SimpleType getSimplifiedValue(ilist_iterator<NodeTy> &Node) {
  327|  14.6k|    return &*Node;
  328|  14.6k|  }

_ZN7llvm_ks15ilist_half_nodeINS_10MCFragmentEE7getPrevEv:
   33|   158M|  NodeTy *getPrev() { return Prev; }
_ZN7llvm_ks10ilist_nodeINS_10MCFragmentEE7setNextEPS1_:
   56|   141k|  void setNext(NodeTy *N) { Next = N; }
_ZN7llvm_ks15ilist_half_nodeINS_10MCFragmentEE7setPrevEPS1_:
   35|   195k|  void setPrev(NodeTy *P) { Prev = P; }
_ZN7llvm_ks22ilist_node_with_parentINS_10MCFragmentENS_9MCSectionEEC2Ev:
   78|   802k|  ilist_node_with_parent() = default;
_ZN7llvm_ks10ilist_nodeINS_10MCFragmentEEC2Ev:
   58|   802k|  ilist_node() : Next(nullptr) {}
_ZN7llvm_ks15ilist_half_nodeINS_10MCFragmentEEC2Ev:
   36|   802k|  ilist_half_node() : Prev(nullptr) {}
_ZN7llvm_ks22ilist_node_with_parentINS_10MCFragmentENS_9MCSectionEE11getPrevNodeEv:
   94|  47.6k|  NodeTy *getPrevNode() {
   95|       |    // Should be separated to a reused function, but then we couldn't use auto
   96|       |    // (and would need the type of the list).
   97|  47.6k|    const auto &List =
   98|  47.6k|        getNodeParent()->*(ParentTy::getSublistAccess((NodeTy *)nullptr));
   99|  47.6k|    return List.getPrevNode(*static_cast<NodeTy *>(this));
  100|  47.6k|  }
_ZNK7llvm_ks22ilist_node_with_parentINS_10MCFragmentENS_9MCSectionEE13getNodeParentEv:
   86|  47.6k|  const ParentTy *getNodeParent() const {
   87|  47.6k|    return static_cast<const NodeTy *>(this)->getParent();
   88|  47.6k|  }
_ZN7llvm_ks10ilist_nodeINS_10MCFragmentEE11getIteratorEv:
   61|  47.6k|  ilist_iterator<NodeTy> getIterator() {
   62|       |    // FIXME: Stop downcasting to create the iterator (potential UB).
   63|  47.6k|    return ilist_iterator<NodeTy>(static_cast<NodeTy *>(this));
   64|  47.6k|  }
_ZN7llvm_ks10ilist_nodeINS_10MCFragmentEE7getNextEv:
   54|   272k|  NodeTy *getNext() { return Next; }
_ZNK7llvm_ks10ilist_nodeINS_10MCFragmentEE7getNextEv:
   55|  30.8k|  const NodeTy *getNext() const { return Next; }

_ZN7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES3_EC2IS6_EEOT_:
  239|  93.5k|      : pointee_iterator::iterator_adaptor_base(std::forward<U &&>(u)) {}
_ZN7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES4_EES7_NS2_26random_access_iterator_tagES4_lS5_RS4_NS2_15iterator_traitsIS7_EEEC2IS7_EEOT_NS2_9enable_ifIXntsr3std10is_base_ofINS2_9remove_cvINS2_16remove_referenceISF_E4typeEE4typeES8_EE5valueEiE4typeE:
  163|  93.5k|      : I(std::forward<U &&>(u)) {}
_ZN7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES4_EC2IS7_EEOT_:
  239|  15.7k|      : pointee_iterator::iterator_adaptor_base(std::forward<U &&>(u)) {}
_ZN7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EES8_NS2_26random_access_iterator_tagES5_lS6_RS5_NS2_15iterator_traitsIS8_EEEC2IS8_EEOT_NS2_9enable_ifIXntsr3std10is_base_ofINS2_9remove_cvINS2_16remove_referenceISG_E4typeEE4typeES9_EE5valueEiE4typeE:
  163|  15.7k|      : I(std::forward<U &&>(u)) {}
_ZNK7llvm_ks20iterator_facade_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES4_EENS2_26random_access_iterator_tagES4_lS5_RS4_EneERKS8_:
   96|  94.2k|  bool operator!=(const DerivedT &RHS) const {
   97|  94.2k|    return !static_cast<const DerivedT *>(this)->operator==(RHS);
   98|  94.2k|  }
_ZNK7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES4_EES7_NS2_26random_access_iterator_tagES4_lS5_RS4_NS2_15iterator_traitsIS7_EEEeqERKS8_:
  208|  94.2k|  bool operator==(const DerivedT &RHS) const { return I == RHS.I; }
_ZN7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES4_EES7_NS2_26random_access_iterator_tagES4_lS5_RS4_NS2_15iterator_traitsIS7_EEEppEv:
  195|  47.4k|  DerivedT &operator++() {
  196|  47.4k|    ++I;
  197|  47.4k|    return *static_cast<DerivedT *>(this);
  198|  47.4k|  }
_ZNK7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES3_EdeEv:
  241|  48.5k|  T &operator*() const { return **this->I; }
_ZNK7llvm_ks20iterator_facade_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EENS2_26random_access_iterator_tagES5_lS6_RS5_EneERKS9_:
   96|  68.4k|  bool operator!=(const DerivedT &RHS) const {
   97|  68.4k|    return !static_cast<const DerivedT *>(this)->operator==(RHS);
   98|  68.4k|  }
_ZNK7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EES8_NS2_26random_access_iterator_tagES5_lS6_RS5_NS2_15iterator_traitsIS8_EEEeqERKS9_:
  208|  68.4k|  bool operator==(const DerivedT &RHS) const { return I == RHS.I; }
_ZN7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EES8_NS2_26random_access_iterator_tagES5_lS6_RS5_NS2_15iterator_traitsIS8_EEEppEv:
  195|  60.5k|  DerivedT &operator++() {
  196|  60.5k|    ++I;
  197|  60.5k|    return *static_cast<DerivedT *>(this);
  198|  60.5k|  }
_ZNK7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES4_EdeEv:
  241|  60.5k|  T &operator*() const { return **this->I; }

_ZN7llvm_ks10make_rangeINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EEEENS_14iterator_rangeIT_EESB_SB_:
   54|  7.89k|template <class T> iterator_range<T> make_range(T x, T y) {
   55|  7.89k|  return iterator_range<T>(std::move(x), std::move(y));
   56|  7.89k|}
_ZN7llvm_ks10make_rangeINS_14TargetRegistry8iteratorEEENS_14iterator_rangeIT_EES4_S4_:
   54|   119k|template <class T> iterator_range<T> make_range(T x, T y) {
   55|   119k|  return iterator_range<T>(std::move(x), std::move(y));
   56|   119k|}
_ZN7llvm_ks14iterator_rangeINS_14TargetRegistry8iteratorEEC2ES2_S2_:
   43|   119k|      : begin_iterator(std::move(begin_iterator)),
   44|   119k|        end_iterator(std::move(end_iterator)) {}
_ZNK7llvm_ks14iterator_rangeINS_14TargetRegistry8iteratorEE5beginEv:
   46|  34.0k|  IteratorT begin() const { return begin_iterator; }
_ZNK7llvm_ks14iterator_rangeINS_14TargetRegistry8iteratorEE3endEv:
   47|  85.2k|  IteratorT end() const { return end_iterator; }
_ZN7llvm_ks14iterator_rangeINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EEEC2ES9_S9_:
   43|  7.89k|      : begin_iterator(std::move(begin_iterator)),
   44|  7.89k|        end_iterator(std::move(end_iterator)) {}
_ZNK7llvm_ks14iterator_rangeINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EEE5beginEv:
   46|  7.89k|  IteratorT begin() const { return begin_iterator; }
_ZNK7llvm_ks14iterator_rangeINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EEE3endEv:
   47|  7.89k|  IteratorT end() const { return end_iterator; }

_ZN7llvm_ks12MCAsmBackend7setArchEi:
  145|  17.0k|  void setArch(int arch) { KsArch = arch; }
_ZN7llvm_ks12MCAsmBackend17processFixupValueERKNS_11MCAssemblerERKNS_11MCAsmLayoutERKNS_7MCFixupEPKNS_10MCFragmentERKNS_7MCValueERmRb:
   85|  17.6k|                                 bool &IsResolved) {}
_ZNK7llvm_ks12MCAsmBackend17getMinimumNopSizeEv:
  128|     56|  virtual unsigned getMinimumNopSize() const { return 1; }
_ZN7llvm_ks12MCAsmBackend19handleAssemblerFlagENS_15MCAssemblerFlagE:
  137|    499|  virtual void handleAssemblerFlag(MCAssemblerFlag Flag) {}
_ZN7llvm_ks12MCAsmBackend7getArchEv:
  146|  7.66k|  int getArch() { return KsArch; }

_ZN7llvm_ks9MCAsmInfo8setRadixEj:
  480|  19.3k|  void setRadix(unsigned v) { Radix = v; }
_ZN7llvm_ks9MCAsmInfo19setAssemblerDialectEj:
  479|  3.07k|  void setAssemblerDialect(unsigned v) { AssemblerDialect = v; }
_ZN7llvm_ks9MCAsmInfo16setCommentStringEPKc:
  458|    281|  void setCommentString(const char *str) { CommentString = str; }
_ZNK7llvm_ks9MCAsmInfo14isLittleEndianEv:
  379|  78.6M|  bool isLittleEndian() const { return IsLittleEndian; }
_ZNK7llvm_ks9MCAsmInfo24hasSubsectionsViaSymbolsEv:
  384|   339k|  bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
_ZNK7llvm_ks9MCAsmInfo13getDollarIsPCEv:
  450|  4.51k|  bool getDollarIsPC() const { return DollarIsPC; }
_ZNK7llvm_ks9MCAsmInfo18getSeparatorStringEv:
  451|  38.4M|  const char *getSeparatorString() const { return SeparatorString; }
_ZNK7llvm_ks9MCAsmInfo16getCommentStringEv:
  457|  13.4M|  const char *getCommentString() const { return CommentString; }
_ZNK7llvm_ks9MCAsmInfo22getPrivateGlobalPrefixEv:
  463|   239k|  const char *getPrivateGlobalPrefix() const { return PrivateGlobalPrefix; }
_ZNK7llvm_ks9MCAsmInfo19getAssemblerDialectEv:
  478|   381k|  unsigned getAssemblerDialect() const { return AssemblerDialect; }
_ZNK7llvm_ks9MCAsmInfo8getRadixEv:
  481|  17.0k|  unsigned getRadix() const { return Radix; }
_ZNK7llvm_ks9MCAsmInfo17doesAllowAtInNameEv:
  482|  10.8k|  bool doesAllowAtInName() const { return AllowAtInName; }
_ZNK7llvm_ks9MCAsmInfo21getAlignmentIsInBytesEv:
  490|  18.0k|  bool getAlignmentIsInBytes() const { return AlignmentIsInBytes; }
_ZNK7llvm_ks9MCAsmInfo21getTextAlignFillValueEv:
  491|  9.12k|  unsigned getTextAlignFillValue() const { return TextAlignFillValue; }
_ZNK7llvm_ks9MCAsmInfo34getCOMMDirectiveAlignmentIsInBytesEv:
  497|    177|  bool getCOMMDirectiveAlignmentIsInBytes() const {
  498|    177|    return COMMDirectiveAlignmentIsInBytes;
  499|    177|  }
_ZNK7llvm_ks9MCAsmInfo30getLCOMMDirectiveAlignmentTypeEv:
  500|    214|  LCOMM::LCOMMType getLCOMMDirectiveAlignmentType() const {
  501|    214|    return LCOMMDirectiveAlignmentType;
  502|    214|  }
_ZNK7llvm_ks9MCAsmInfo25useParensForSymbolVariantEv:
  548|   618k|  bool useParensForSymbolVariant() const { return UseParensForSymbolVariant; }
_ZN7llvm_ks9MCAsmInfo20addInitialFrameStateERKNS_16MCCFIInstructionE:
  550|  34.0k|  void addInitialFrameState(const MCCFIInstruction &Inst) {
  551|  34.0k|    InitialFrameState.push_back(Inst);
  552|  34.0k|  }
_ZNK7llvm_ks9MCAsmInfo21compressDebugSectionsEv:
  566|  7.40k|  bool compressDebugSections() const { return CompressDebugSections; }
_ZNK7llvm_ks9MCAsmInfo19shouldUseLogicalShrEv:
  572|   843k|  bool shouldUseLogicalShr() const { return UseLogicalShr; }

_ZNK7llvm_ks11MCAsmLayout12getAssemblerEv:
   51|  73.8k|  MCAssembler &getAssembler() const { return Assembler; }
_ZN7llvm_ks11MCAsmLayout15getSectionOrderEv:
   66|  32.1k|  llvm_ks::SmallVectorImpl<MCSection *> &getSectionOrder() { return SectionOrder; }

_ZNK7llvm_ks11MCAssembler8setErrorEj:
   64|  7.69k|  void setError(unsigned E) const { KsError = E; }
_ZNK7llvm_ks11MCAssembler8getErrorEv:
   65|  45.2k|  unsigned getError() const { return KsError; }
_ZNK7llvm_ks11MCAssembler14setSymResolverEPv:
   67|  7.89k|  void setSymResolver(void *h) const { KsSymResolver = h; }
_ZNK7llvm_ks11MCAssembler10getContextEv:
  264|  32.6k|  MCContext &getContext() const { return Context; }
_ZNK7llvm_ks11MCAssembler10getBackendEv:
  266|  69.7k|  MCAsmBackend &getBackend() const { return Backend; }
_ZNK7llvm_ks11MCAssembler10getEmitterEv:
  268|  27.7k|  MCCodeEmitter &getEmitter() const { return Emitter; }
_ZNK7llvm_ks11MCAssembler9getWriterEv:
  270|  86.2k|  MCObjectWriter &getWriter() const { return Writer; }
_ZNK7llvm_ks11MCAssembler11getRelaxAllEv:
  294|  27.2k|  bool getRelaxAll() const { return RelaxAll; }
_ZNK7llvm_ks11MCAssembler17isBundlingEnabledEv:
  297|  78.8M|  bool isBundlingEnabled() const { return BundleAlignSize != 0; }
_ZN7llvm_ks11MCAssembler5beginEv:
  310|  46.7k|  iterator begin() { return Sections.begin(); }
_ZN7llvm_ks11MCAssembler3endEv:
  313|  46.7k|  iterator end() { return Sections.end(); }
_ZN7llvm_ks11MCAssembler12symbol_beginEv:
  321|  7.89k|  symbol_iterator symbol_begin() { return Symbols.begin(); }
_ZN7llvm_ks11MCAssembler10symbol_endEv:
  324|  7.89k|  symbol_iterator symbol_end() { return Symbols.end(); }
_ZN7llvm_ks11MCAssembler7symbolsEv:
  327|  7.89k|  symbol_range symbols() { return make_range(symbol_begin(), symbol_end()); }
_ZN7llvm_ks11MCAssembler11addFileNameENS_9StringRefE:
  411|  4.80k|  void addFileName(StringRef FileName) {
  412|  4.80k|    if (std::find(FileNames.begin(), FileNames.end(), FileName) ==
  ------------------
  |  Branch (412:9): [True: 540, False: 4.26k]
  ------------------
  413|  4.80k|        FileNames.end())
  414|    540|      FileNames.push_back(FileName);
  415|  4.80k|  }

_ZN7llvm_ks7MCCVLocC2Ejjjjbb:
   43|  17.0k|      : FunctionId(functionid), FileNum(fileNum), Line(line), Column(column),
   44|  17.0k|        PrologueEnd(prologueend), IsStmt(isstmt) {}

_ZN7llvm_ks9MCContext13ELFSectionKeyC2ENS_9StringRefES2_j:
  183|   740k|          : SectionName(SectionName), GroupName(GroupName), UniqueID(UniqueID) {
  184|   740k|      }
_ZNK7llvm_ks9MCContext13ELFSectionKeyltERKS1_:
  185|  5.01M|      bool operator<(const ELFSectionKey &Other) const {
  186|  5.01M|        if (SectionName != Other.SectionName)
  ------------------
  |  Branch (186:13): [True: 5.01M, False: 124]
  ------------------
  187|  5.01M|          return SectionName < Other.SectionName;
  188|    124|        if (GroupName != Other.GroupName)
  ------------------
  |  Branch (188:13): [True: 0, False: 124]
  ------------------
  189|      0|          return GroupName < Other.GroupName;
  190|    124|        return UniqueID < Other.UniqueID;
  191|    124|      }
_ZNK7llvm_ks9MCContext10getAsmInfoEv:
  242|  78.9M|    const MCAsmInfo *getAsmInfo() const { return MAI; }
_ZNK7llvm_ks9MCContext15getRegisterInfoEv:
  244|  2.49k|    const MCRegisterInfo *getRegisterInfo() const { return MRI; }
_ZNK7llvm_ks9MCContext17getObjectFileInfoEv:
  246|  19.8k|    const MCObjectFileInfo *getObjectFileInfo() const { return MOFI; }
_ZN7llvm_ks9MCContext14getBaseAddressEv:
  251|  8.34k|    uint64_t getBaseAddress() { return BaseAddress; }
_ZN7llvm_ks9MCContext13getELFSectionENS_9StringRefEjj:
  331|   484k|                                unsigned Flags) {
  332|   484k|      return getELFSection(Section, Type, Flags, nullptr);
  333|   484k|    }
_ZN7llvm_ks9MCContext13getELFSectionENS_9StringRefEjjPKc:
  336|   654k|                                unsigned Flags, const char *BeginSymName) {
  337|   654k|      return getELFSection(Section, Type, Flags, 0, "", BeginSymName);
  338|   654k|    }
_ZN7llvm_ks9MCContext13getELFSectionENS_9StringRefEjjjS1_:
  342|  85.2k|                                StringRef Group) {
  343|  85.2k|      return getELFSection(Section, Type, Flags, EntrySize, Group, nullptr);
  344|  85.2k|    }
_ZN7llvm_ks9MCContext13getELFSectionENS_9StringRefEjjjS1_PKc:
  348|   740k|                                StringRef Group, const char *BeginSymName) {
  349|   740k|      return getELFSection(Section, Type, Flags, EntrySize, Group, ~0,
  350|   740k|                           BeginSymName);
  351|   740k|    }
_ZN7llvm_ks9MCContext19getMCDwarfLineTableEj:
  435|     63|    MCDwarfLineTable &getMCDwarfLineTable(unsigned CUID) {
  436|     63|      return MCDwarfLineTablesCUMap[CUID];
  437|     63|    }
_ZN7llvm_ks9MCContext15getMCDwarfFilesEj:
  445|     63|    const SmallVectorImpl<MCDwarfFile> &getMCDwarfFiles(unsigned CUID = 0) {
  446|     63|      return getMCDwarfLineTable(CUID).getMCDwarfFiles();
  447|     63|    }
_ZN7llvm_ks9MCContext22getGenDwarfForAssemblyEv:
  486|  17.0k|    bool getGenDwarfForAssembly() { return GenDwarfForAssembly; }
_ZN7llvm_ks9MCContext8allocateEjj:
  555|  1.54M|    void *allocate(unsigned Size, unsigned Align = 8) {
  556|  1.54M|      return Allocator.Allocate(Size, Align);
  557|  1.54M|    }
_ZnwmRN7llvm_ks9MCContextEm:
  596|  1.28M|                          size_t Alignment = 8) LLVM_NOEXCEPT {
  597|  1.28M|  return C.allocate(Bytes, Alignment);
  598|  1.28M|}

_ZN7llvm_ks10MCDwarfLocC2Ejjjjjj:
   78|  34.0k|      : FileNum(fileNum), Line(line), Column(column), Flags(flags), Isa(isa),
   79|  34.0k|        Discriminator(discriminator) {}
_ZN7llvm_ks22MCDwarfLineTableHeaderC2Ev:
  205|     63|  MCDwarfLineTableHeader() : Label(nullptr) {}
_ZN7llvm_ks16MCDwarfLineTable15getMCDwarfFilesEv:
  265|     63|  SmallVectorImpl<MCDwarfFile> &getMCDwarfFiles() {
  266|     63|    return Header.MCDwarfFiles;
  267|     63|  }
_ZN7llvm_ks16MCCFIInstructionC2ENS0_6OpTypeEPNS_8MCSymbolEjiNS_9StringRefE:
  358|  34.0k|      : Operation(Op), Label(L), Register(R), Offset(O),
  359|  34.0k|        Values(V.begin(), V.end()) {
  360|       |    assert(Op != OpRegister);
  ------------------
  |  Branch (360:5): [True: 34.0k, False: 0]
  ------------------
  361|  34.0k|  }
_ZN7llvm_ks16MCCFIInstruction12createDefCfaEPNS_8MCSymbolEji:
  372|  17.0k|                                       int Offset) {
  373|  17.0k|    return MCCFIInstruction(OpDefCfa, L, Register, -Offset, "");
  374|  17.0k|  }
_ZN7llvm_ks16MCCFIInstruction12createOffsetEPNS_8MCSymbolEji:
  399|  17.0k|                                       int Offset) {
  400|  17.0k|    return MCCFIInstruction(OpOffset, L, Register, Offset, "");
  401|  17.0k|  }

_ZN7llvm_ks23MCELFObjectTargetWriter8getOSABIENS_6Triple6OSTypeE:
   54|  17.0k|  static uint8_t getOSABI(Triple::OSType OSType) {
   55|  17.0k|    switch (OSType) {
   56|      0|      case Triple::CloudABI:
  ------------------
  |  Branch (56:7): [True: 0, False: 17.0k]
  ------------------
   57|      0|        return ELF::ELFOSABI_CLOUDABI;
   58|      0|      case Triple::PS4:
  ------------------
  |  Branch (58:7): [True: 0, False: 17.0k]
  ------------------
   59|      0|      case Triple::FreeBSD:
  ------------------
  |  Branch (59:7): [True: 0, False: 17.0k]
  ------------------
   60|      0|        return ELF::ELFOSABI_FREEBSD;
   61|  17.0k|      default:
  ------------------
  |  Branch (61:7): [True: 17.0k, False: 0]
  ------------------
   62|  17.0k|        return ELF::ELFOSABI_NONE;
   63|  17.0k|    }
   64|  17.0k|  }
_ZN7llvm_ks18ELFRelocationEntryC2EmPKNS_11MCSymbolELFEjm:
   37|  4.19k|      : Offset(Offset), Symbol(Symbol), Type(Type), Addend(Addend) {}
_ZN7llvm_ks23MCELFObjectTargetWriterD2Ev:
   66|  17.0k|  virtual ~MCELFObjectTargetWriter() {}
_ZNK7llvm_ks23MCELFObjectTargetWriter11getEMachineEv:
   80|  8.39k|  uint16_t getEMachine() const { return EMachine; }
_ZNK7llvm_ks23MCELFObjectTargetWriter7is64BitEv:
   82|    238|  bool is64Bit() const { return Is64Bit; }

_ZN7llvm_ks13MCELFStreamerC2ERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterE:
   32|  17.0k|      : MCObjectStreamer(Context, TAB, OS, Emitter), SeenIdent(false) {}

_ZN7llvm_ks6MCExprC2ENS0_8ExprKindE:
   59|  1.28M|  explicit MCExpr(ExprKind Kind) : Kind(Kind) {}
_ZNK7llvm_ks6MCExpr7getKindEv:
   70|  5.63M|  ExprKind getKind() const { return Kind; }
_ZN7llvm_ks14MCConstantExprC2El:
  134|   508k|      : MCExpr(MCExpr::Constant), Value(Value) {}
_ZNK7llvm_ks14MCConstantExpr8getValueEv:
  146|   567k|  int64_t getValue() const { return Value; }
_ZN7llvm_ks14MCConstantExpr7classofEPKNS_6MCExprE:
  150|  1.26M|  static bool classof(const MCExpr *E) {
  151|  1.26M|    return E->getKind() == MCExpr::Constant;
  152|  1.26M|  }
_ZNK7llvm_ks15MCSymbolRefExpr9getSymbolEv:
  333|  1.00M|  const MCSymbol &getSymbol() const { return *Symbol; }
_ZNK7llvm_ks15MCSymbolRefExpr7getKindEv:
  335|   160k|  VariantKind getKind() const { return Kind; }
_ZNK7llvm_ks15MCSymbolRefExpr24hasSubsectionsViaSymbolsEv:
  339|  3.49k|  bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
_ZN7llvm_ks15MCSymbolRefExpr7classofEPKNS_6MCExprE:
  351|   846k|  static bool classof(const MCExpr *E) {
  352|   846k|    return E->getKind() == MCExpr::SymbolRef;
  353|   846k|  }
_ZN7llvm_ks11MCUnaryExprC2ENS0_6OpcodeEPKNS_6MCExprE:
  371|   193k|      : MCExpr(MCExpr::Unary), Op(Op), Expr(Expr) {}
_ZN7llvm_ks11MCUnaryExpr10createLNotEPKNS_6MCExprERNS_9MCContextE:
  379|  3.42k|  static const MCUnaryExpr *createLNot(const MCExpr *Expr, MCContext &Ctx) {
  380|  3.42k|    return create(LNot, Expr, Ctx);
  381|  3.42k|  }
_ZN7llvm_ks11MCUnaryExpr11createMinusEPKNS_6MCExprERNS_9MCContextE:
  382|   102k|  static const MCUnaryExpr *createMinus(const MCExpr *Expr, MCContext &Ctx) {
  383|   102k|    return create(Minus, Expr, Ctx);
  384|   102k|  }
_ZN7llvm_ks11MCUnaryExpr9createNotEPKNS_6MCExprERNS_9MCContextE:
  385|  62.9k|  static const MCUnaryExpr *createNot(const MCExpr *Expr, MCContext &Ctx) {
  386|  62.9k|    return create(Not, Expr, Ctx);
  387|  62.9k|  }
_ZN7llvm_ks11MCUnaryExpr10createPlusEPKNS_6MCExprERNS_9MCContextE:
  388|  24.1k|  static const MCUnaryExpr *createPlus(const MCExpr *Expr, MCContext &Ctx) {
  389|  24.1k|    return create(Plus, Expr, Ctx);
  390|  24.1k|  }
_ZNK7llvm_ks11MCUnaryExpr9getOpcodeEv:
  397|   177k|  Opcode getOpcode() const { return Op; }
_ZNK7llvm_ks11MCUnaryExpr10getSubExprEv:
  400|   378k|  const MCExpr *getSubExpr() const { return Expr; }
_ZN7llvm_ks11MCUnaryExpr7classofEPKNS_6MCExprE:
  404|   340k|  static bool classof(const MCExpr *E) {
  405|   340k|    return E->getKind() == MCExpr::Unary;
  406|   340k|  }
_ZN7llvm_ks12MCBinaryExprC2ENS0_6OpcodeEPKNS_6MCExprES4_:
  443|   250k|      : MCExpr(MCExpr::Binary), Op(Op), LHS(LHS), RHS(RHS) {}
_ZN7llvm_ks12MCBinaryExpr9createAddEPKNS_6MCExprES3_RNS_9MCContextE:
  452|  12.2k|                                       MCContext &Ctx) {
  453|  12.2k|    return create(Add, LHS, RHS, Ctx);
  454|  12.2k|  }
_ZNK7llvm_ks12MCBinaryExpr9getOpcodeEv:
  533|   274k|  Opcode getOpcode() const { return Op; }
_ZNK7llvm_ks12MCBinaryExpr6getLHSEv:
  536|   691k|  const MCExpr *getLHS() const { return LHS; }
_ZNK7llvm_ks12MCBinaryExpr6getRHSEv:
  539|   611k|  const MCExpr *getRHS() const { return RHS; }
_ZN7llvm_ks12MCBinaryExpr7classofEPKNS_6MCExprE:
  543|   641k|  static bool classof(const MCExpr *E) {
  544|   641k|    return E->getKind() == MCExpr::Binary;
  545|   641k|  }

_ZN7llvm_ks7MCFixup6createEjPKNS_6MCExprENS_11MCFixupKindENS_5SMLocE:
   87|  57.8k|                        MCFixupKind Kind, SMLoc Loc = SMLoc()) {
   88|  57.8k|    assert(unsigned(Kind) < MaxTargetFixupKind && "Kind out of range!");
  ------------------
  |  Branch (88:5): [True: 57.8k, False: 0]
  |  Branch (88:5): [True: 57.8k, Folded]
  |  Branch (88:5): [True: 57.8k, False: 0]
  ------------------
   89|  57.8k|    MCFixup FI;
   90|  57.8k|    FI.Value = Value;
   91|  57.8k|    FI.Offset = Offset;
   92|  57.8k|    FI.Kind = unsigned(Kind);
   93|  57.8k|    FI.Loc = Loc;
   94|  57.8k|    return FI;
   95|  57.8k|  }
_ZNK7llvm_ks7MCFixup7getKindEv:
  119|  63.8k|  MCFixupKind getKind() const { return MCFixupKind(Kind); }
_ZNK7llvm_ks7MCFixup9getOffsetEv:
  121|  61.6k|  uint32_t getOffset() const { return Offset; }
_ZN7llvm_ks7MCFixup9setOffsetEj:
  122|  4.85k|  void setOffset(uint32_t Value) { Offset = Value; }
_ZNK7llvm_ks7MCFixup8getValueEv:
  124|  30.1k|  const MCExpr *getValue() const { return Value; }
_ZN7llvm_ks7MCFixup14getKindForSizeEjb:
  128|  55.1k|  static MCFixupKind getKindForSize(unsigned Size, bool isPCRel) {
  129|  55.1k|    switch (Size) {
  130|      0|    default: llvm_unreachable("Invalid generic fixup size!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (130:5): [True: 0, False: 55.1k]
  ------------------
  131|  7.49k|    case 1: return isPCRel ? FK_PCRel_1 : FK_Data_1;
  ------------------
  |  Branch (131:5): [True: 7.49k, False: 47.6k]
  |  Branch (131:20): [True: 6.41k, False: 1.07k]
  ------------------
  132|  37.4k|    case 2: return isPCRel ? FK_PCRel_2 : FK_Data_2;
  ------------------
  |  Branch (132:5): [True: 37.4k, False: 17.7k]
  |  Branch (132:20): [True: 452, False: 36.9k]
  ------------------
  133|  10.1k|    case 4: return isPCRel ? FK_PCRel_4 : FK_Data_4;
  ------------------
  |  Branch (133:5): [True: 10.1k, False: 44.9k]
  |  Branch (133:20): [True: 4.72k, False: 5.46k]
  ------------------
  134|     73|    case 8: return isPCRel ? FK_PCRel_8 : FK_Data_8;
  ------------------
  |  Branch (134:5): [True: 73, False: 55.0k]
  |  Branch (134:20): [True: 0, False: 73]
  ------------------
  135|  55.1k|    }
  136|  55.1k|  }
_ZNK7llvm_ks7MCFixup6getLocEv:
  162|  5.51k|  SMLoc getLoc() const { return Loc; }

_ZNK7llvm_ks10MCFragment7getKindEv:
   97|   157M|  FragmentType getKind() const { return Kind; }
_ZNK7llvm_ks10MCFragment9getParentEv:
   99|   579k|  MCSection *getParent() const { return Parent; }
_ZN7llvm_ks10MCFragment9setParentEPNS_9MCSectionE:
  100|  44.4k|  void setParent(MCSection *Value) { Parent = Value; }
_ZNK7llvm_ks10MCFragment14getLayoutOrderEv:
  105|   364k|  unsigned getLayoutOrder() const { return LayoutOrder; }
_ZN7llvm_ks10MCFragment14setLayoutOrderEj:
  106|  39.5k|  void setLayoutOrder(unsigned Value) { LayoutOrder = Value; }
_ZNK7llvm_ks10MCFragment16getBundlePaddingEv:
  121|  25.5k|  uint8_t getBundlePadding() const { return BundlePadding; }
_ZNK7llvm_ks10MCFragment7isDummyEv:
  128|   740k|  bool isDummy() const { return Kind == FT_Dummy; }
_ZN7llvm_ks15MCDummyFragmentC2EPNS_9MCSectionE:
  136|   740k|      : MCFragment(FT_Dummy, false, 0, Sec){};
_ZN7llvm_ks17MCEncodedFragmentC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  147|  19.3k|      : MCFragment(FType, HasInstructions, 0, Sec) {}
_ZN7llvm_ks17MCEncodedFragment7classofEPKNS_10MCFragmentE:
  150|  42.1k|  static bool classof(const MCFragment *F) {
  151|  42.1k|    MCFragment::FragmentType Kind = F->getKind();
  152|  42.1k|    switch (Kind) {
  153|  21.3k|    default:
  ------------------
  |  Branch (153:5): [True: 21.3k, False: 20.7k]
  ------------------
  154|  21.3k|      return false;
  155|  3.27k|    case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (155:5): [True: 3.27k, False: 38.8k]
  ------------------
  156|  3.27k|    case MCFragment::FT_CompactEncodedInst:
  ------------------
  |  Branch (156:5): [True: 0, False: 42.1k]
  ------------------
  157|  20.7k|    case MCFragment::FT_Data:
  ------------------
  |  Branch (157:5): [True: 17.4k, False: 24.6k]
  ------------------
  158|  20.7k|      return true;
  159|  42.1k|    }
  160|  42.1k|  }
_ZN7llvm_ks14MCDataFragmentC2EPNS_9MCSectionE:
  222|  13.0k|      : MCEncodedFragmentWithFixups<32, 4>(FT_Data, false, Sec) {}
_ZN7llvm_ks14MCDataFragment18setHasInstructionsEb:
  224|  17.5k|  void setHasInstructions(bool V) { HasInstructions = V; }
_ZN7llvm_ks14MCDataFragment7classofEPKNS_10MCFragmentE:
  226|   157M|  static bool classof(const MCFragment *F) {
  227|   157M|    return F->getKind() == MCFragment::FT_Data;
  228|   157M|  }
_ZN7llvm_ks28MCCompactEncodedInstFragment7classofEPKNS_10MCFragmentE:
  242|  10.3k|  static bool classof(const MCFragment *F) {
  243|  10.3k|    return F->getKind() == MCFragment::FT_CompactEncodedInst;
  244|  10.3k|  }
_ZN7llvm_ks19MCRelaxableFragmentC2ERKNS_6MCInstERKNS_15MCSubtargetInfoEPNS_9MCSectionE:
  261|  6.30k|      : MCEncodedFragmentWithFixups(FT_Relaxable, true, Sec),
  262|  6.30k|        Inst(Inst), STI(STI) {}
_ZNK7llvm_ks19MCRelaxableFragment7getInstEv:
  264|  18.5k|  const MCInst &getInst() const { return Inst; }
_ZN7llvm_ks19MCRelaxableFragment7setInstERKNS_6MCInstE:
  265|  3.87k|  void setInst(const MCInst &Value) { Inst = Value; }
_ZN7llvm_ks19MCRelaxableFragment16getSubtargetInfoEv:
  267|  3.87k|  const MCSubtargetInfo &getSubtargetInfo() { return STI; }
_ZN7llvm_ks19MCRelaxableFragment7classofEPKNS_10MCFragmentE:
  269|  42.0k|  static bool classof(const MCFragment *F) {
  270|  42.0k|    return F->getKind() == MCFragment::FT_Relaxable;
  271|  42.0k|  }
_ZN7llvm_ks15MCAlignFragmentC2EjljjPNS_9MCSectionE:
  297|  10.4k|      : MCFragment(FT_Align, false, 0, Sec), Alignment(Alignment),
  298|  10.4k|        EmitNops(false), Value(Value),
  299|  10.4k|        ValueSize(ValueSize), MaxBytesToEmit(MaxBytesToEmit) {}
_ZNK7llvm_ks15MCAlignFragment12getAlignmentEv:
  304|  18.9k|  unsigned getAlignment() const { return Alignment; }
_ZNK7llvm_ks15MCAlignFragment8getValueEv:
  306|    271|  int64_t getValue() const { return Value; }
_ZNK7llvm_ks15MCAlignFragment12getValueSizeEv:
  308|  27.4k|  unsigned getValueSize() const { return ValueSize; }
_ZNK7llvm_ks15MCAlignFragment17getMaxBytesToEmitEv:
  310|  18.9k|  unsigned getMaxBytesToEmit() const { return MaxBytesToEmit; }
_ZNK7llvm_ks15MCAlignFragment11hasEmitNopsEv:
  312|  9.57k|  bool hasEmitNops() const { return EmitNops; }
_ZN7llvm_ks15MCAlignFragment11setEmitNopsEb:
  313|  1.21k|  void setEmitNops(bool Value) { EmitNops = Value; }
_ZN7llvm_ks15MCAlignFragment7classofEPKNS_10MCFragmentE:
  317|  39.8k|  static bool classof(const MCFragment *F) {
  318|  39.8k|    return F->getKind() == MCFragment::FT_Align;
  319|  39.8k|  }
_ZN7llvm_ks14MCFillFragmentC2EhmPNS_9MCSectionE:
  332|  5.48k|      : MCFragment(FT_Fill, false, 0, Sec), Value(Value), Size(Size) {}
_ZNK7llvm_ks14MCFillFragment8getValueEv:
  334|  5.37k|  uint8_t getValue() const { return Value; }
_ZNK7llvm_ks14MCFillFragment7getSizeEv:
  335|  16.0k|  uint64_t getSize() const { return Size; }
_ZN7llvm_ks14MCFillFragment7classofEPKNS_10MCFragmentE:
  337|  21.5k|  static bool classof(const MCFragment *F) {
  338|  21.5k|    return F->getKind() == MCFragment::FT_Fill;
  339|  21.5k|  }
_ZN7llvm_ks13MCOrgFragmentC2ERKNS_6MCExprEaPNS_9MCSectionE:
  352|  9.13k|      : MCFragment(FT_Org, false, 0, Sec), Offset(&Offset), Value(Value) {}
_ZNK7llvm_ks13MCOrgFragment9getOffsetEv:
  357|  8.65k|  const MCExpr &getOffset() const { return *Offset; }
_ZNK7llvm_ks13MCOrgFragment8getValueEv:
  359|  74.2M|  uint8_t getValue() const { return Value; }
_ZN7llvm_ks13MCOrgFragment7classofEPKNS_10MCFragmentE:
  363|  20.0k|  static bool classof(const MCFragment *F) {
  364|  20.0k|    return F->getKind() == MCFragment::FT_Org;
  365|  20.0k|  }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj32ELj4EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  195|  13.0k|      : MCEncodedFragmentWithContents<ContentsSize>(FType, HasInstructions,
  196|  13.0k|                                                    Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj32EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  174|  13.0k|      : MCEncodedFragment(FType, HasInstructions, Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj32EE11getContentsEv:
  177|   157M|  SmallVectorImpl<char> &getContents() { return Contents; }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj32ELj4EE9getFixupsEv:
  202|  56.3k|  SmallVectorImpl<MCFixup> &getFixups() { return Fixups; }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj8ELj1EE9getFixupsEv:
  202|  24.4k|  SmallVectorImpl<MCFixup> &getFixups() { return Fixups; }
_ZNK7llvm_ks29MCEncodedFragmentWithContentsILj32EE11getContentsEv:
  178|  21.0k|  const SmallVectorImpl<char> &getContents() const { return Contents; }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj8ELj1EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  195|  6.30k|      : MCEncodedFragmentWithContents<ContentsSize>(FType, HasInstructions,
  196|  6.30k|                                                    Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj8EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  174|  6.30k|      : MCEncodedFragment(FType, HasInstructions, Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj8EE11getContentsEv:
  177|  11.8k|  SmallVectorImpl<char> &getContents() { return Contents; }
_ZNK7llvm_ks29MCEncodedFragmentWithContentsILj8EE11getContentsEv:
  178|  11.5k|  const SmallVectorImpl<char> &getContents() const { return Contents; }
_ZNK7llvm_ks27MCEncodedFragmentWithFixupsILj8ELj1EE9getFixupsEv:
  203|  6.88k|  const SmallVectorImpl<MCFixup> &getFixups() const { return Fixups; }

_ZN7llvm_ks9MCOperandC2Ev:
   52|  85.4k|  MCOperand() : Kind(kInvalid), FPImmVal(0.0) {}
_ZNK7llvm_ks9MCOperand5isRegEv:
   55|   108k|  bool isReg() const { return Kind == kRegister; }
_ZNK7llvm_ks9MCOperand5isImmEv:
   56|  46.3k|  bool isImm() const { return Kind == kImmediate; }
_ZNK7llvm_ks9MCOperand6isExprEv:
   58|  53.8k|  bool isExpr() const { return Kind == kExpr; }
_ZNK7llvm_ks9MCOperand6getRegEv:
   62|  88.0k|  unsigned getReg() const {
   63|  88.0k|    assert(isReg() && "This is not a register operand!");
  ------------------
  |  Branch (63:5): [True: 88.0k, False: 0]
  |  Branch (63:5): [True: 88.0k, Folded]
  |  Branch (63:5): [True: 88.0k, False: 0]
  ------------------
   64|  88.0k|    return RegVal;
   65|  88.0k|  }
_ZNK7llvm_ks9MCOperand6getImmEv:
   73|  24.2k|  int64_t getImm() const {
   74|  24.2k|    assert(isImm() && "This is not an immediate");
  ------------------
  |  Branch (74:5): [True: 24.2k, False: 0]
  |  Branch (74:5): [True: 24.2k, Folded]
  |  Branch (74:5): [True: 24.2k, False: 0]
  ------------------
   75|  24.2k|    return ImmVal;
   76|  24.2k|  }
_ZNK7llvm_ks9MCOperand7getExprEv:
   92|  10.7k|  const MCExpr *getExpr() const {
   93|  10.7k|    assert(isExpr() && "This is not an expression");
  ------------------
  |  Branch (93:5): [True: 10.7k, False: 0]
  |  Branch (93:5): [True: 10.7k, Folded]
  |  Branch (93:5): [True: 10.7k, False: 0]
  ------------------
   94|  10.7k|    return ExprVal;
   95|  10.7k|  }
_ZN7llvm_ks9MCOperand9createRegEj:
  110|  28.5k|  static MCOperand createReg(unsigned Reg) {
  111|  28.5k|    MCOperand Op;
  112|  28.5k|    Op.Kind = kRegister;
  113|  28.5k|    Op.RegVal = Reg;
  114|  28.5k|    return Op;
  115|  28.5k|  }
_ZN7llvm_ks9MCOperand9createImmEl:
  116|  48.9k|  static MCOperand createImm(int64_t Val) {
  117|  48.9k|    MCOperand Op;
  118|  48.9k|    Op.Kind = kImmediate;
  119|  48.9k|    Op.ImmVal = Val;
  120|  48.9k|    return Op;
  121|  48.9k|  }
_ZN7llvm_ks9MCOperand10createExprEPKNS_6MCExprE:
  128|  7.88k|  static MCOperand createExpr(const MCExpr *Val) {
  129|  7.88k|    MCOperand Op;
  130|  7.88k|    Op.Kind = kExpr;
  131|  7.88k|    Op.ExprVal = Val;
  132|  7.88k|    return Op;
  133|  7.88k|  }
_ZN7llvm_ks6MCInstC2Em:
  158|  33.5k|  MCInst(uint64_t addr = 0) : Opcode(0), Address(addr) {}
_ZN7llvm_ks6MCInst9setOpcodeEj:
  160|  66.9k|  void setOpcode(unsigned Op) { Opcode = Op; }
_ZNK7llvm_ks6MCInst9getOpcodeEv:
  161|   384k|  unsigned getOpcode() const { return Opcode; }
_ZN7llvm_ks6MCInst10setAddressEm:
  163|  27.7k|  void setAddress(uint64_t addr) { Address = addr; }
_ZNK7llvm_ks6MCInst10getAddressEv:
  164|  45.3k|  uint64_t getAddress() const { return Address; }
_ZN7llvm_ks6MCInst6setLocENS_5SMLocE:
  166|  23.8k|  void setLoc(SMLoc loc) { Loc = loc; }
_ZNK7llvm_ks6MCInst6getLocEv:
  167|  16.2k|  SMLoc getLoc() const { return Loc; }
_ZNK7llvm_ks6MCInst10getOperandEj:
  169|  88.6k|  const MCOperand &getOperand(unsigned i) const { return Operands[i]; }
_ZN7llvm_ks6MCInst10getOperandEj:
  170|  76.7k|  MCOperand &getOperand(unsigned i) { return Operands[i]; }
_ZNK7llvm_ks6MCInst14getNumOperandsEv:
  171|  28.9k|  unsigned getNumOperands() const { return Operands.size(); }
_ZN7llvm_ks6MCInst10addOperandERKNS_9MCOperandE:
  173|  85.6k|  void addOperand(const MCOperand &Op) { Operands.push_back(Op); }
_ZN7llvm_ks6MCInst5clearEv:
  177|  60.9k|  void clear() { Operands.clear(); }

_ZNK7llvm_ks11MCInstrDesc20getOperandConstraintEjNS_4MCOI17OperandConstraintE:
  181|  26.2k|                           MCOI::OperandConstraint Constraint) const {
  182|  26.2k|    if (OpNum < NumOperands &&
  ------------------
  |  Branch (182:9): [True: 26.2k, False: 0]
  ------------------
  183|  26.2k|        (OpInfo[OpNum].Constraints & (1 << Constraint))) {
  ------------------
  |  Branch (183:9): [True: 172, False: 26.0k]
  ------------------
  184|    172|      unsigned Pos = 16 + Constraint * 4;
  185|    172|      return (int)(OpInfo[OpNum].Constraints >> Pos) & 0xf;
  186|    172|    }
  187|  26.0k|    return -1;
  188|  26.2k|  }
_ZNK7llvm_ks11MCInstrDesc14getNumOperandsEv:
  203|  55.5k|  unsigned getNumOperands() const { return NumOperands; }

_ZN7llvm_ks11MCInstrInfo15InitMCInstrInfoEPKNS_11MCInstrDescEPKjPKcj:
   34|  17.0k|                       unsigned NO) {
   35|  17.0k|    Desc = D;
   36|  17.0k|    InstrNameIndices = NI;
   37|  17.0k|    InstrNameData = ND;
   38|  17.0k|    NumOpcodes = NO;
   39|  17.0k|  }
_ZNK7llvm_ks11MCInstrInfo3getEj:
   45|  27.7k|  const MCInstrDesc &get(unsigned Opcode) const {
   46|  27.7k|    assert(Opcode < NumOpcodes && "Invalid opcode!");
  ------------------
  |  Branch (46:5): [True: 27.7k, False: 0]
  |  Branch (46:5): [True: 27.7k, Folded]
  |  Branch (46:5): [True: 27.7k, False: 0]
  ------------------
   47|  27.7k|    return Desc[Opcode];
   48|  27.7k|  }

_ZN7llvm_ks14MCLOHContainerC2Ev:
  128|  17.0k|  MCLOHContainer() : EmitSize(0) {}

_ZNK7llvm_ks16MCObjectFileInfo14getTextSectionEv:
  219|  17.0k|  MCSection *getTextSection() const { return TextSection; }
_ZNK7llvm_ks16MCObjectFileInfo17getObjectFileTypeEv:
  339|   239k|  Environment getObjectFileType() const { return Env; }
_ZNK7llvm_ks16MCObjectFileInfo15getTargetTripleEv:
  352|  2.78k|  const Triple &getTargetTriple() const { return TT; }

_ZN7llvm_ks16MCObjectStreamer6insertEPNS_10MCFragmentE:
   64|  39.3k|  void insert(MCFragment *F) {
   65|  39.3k|    flushPendingLabels(F);
   66|  39.3k|    MCSection *CurSection = getCurrentSectionOnly();
   67|  39.3k|    CurSection->getFragmentList().insert(CurInsertionPoint, F);
   68|  39.3k|    F->setParent(CurSection);
   69|  39.3k|  }
_ZN7llvm_ks16MCObjectStreamer12getAssemblerEv:
   87|   392k|  MCAssembler &getAssembler() { return *Assembler; }

_ZN7llvm_ks14MCObjectWriterC2ERNS_17raw_pwrite_streamEb:
   51|  17.0k|      : OS(&OS), IsLittleEndian(IsLittleEndian) {}
_ZN7llvm_ks14MCObjectWriter9getStreamEv:
   65|  80.3k|  raw_pwrite_stream &getStream() { return *OS; }
_ZN7llvm_ks14MCObjectWriter6write8Eh:
  127|  74.3M|  void write8(uint8_t Value) { *OS << char(Value); }
_ZN7llvm_ks14MCObjectWriter10WriteZerosEj:
  174|  7.40k|  void WriteZeros(unsigned N) {
  175|  7.40k|    const char Zeros[16] = {0};
  176|       |
  177|  7.40k|    for (unsigned i = 0, e = N / 16; i != e; ++i)
  ------------------
  |  Branch (177:38): [True: 0, False: 7.40k]
  ------------------
  178|      0|      *OS << StringRef(Zeros, 16);
  179|       |
  180|  7.40k|    *OS << StringRef(Zeros, N % 16);
  181|  7.40k|  }
_ZN7llvm_ks14MCObjectWriter10writeBytesERKNS_15SmallVectorImplIcEEj:
  184|  8.85k|                  unsigned ZeroFillSize = 0) {
  185|  8.85k|    writeBytes(StringRef(ByteVec.data(), ByteVec.size()), ZeroFillSize);
  186|  8.85k|  }
_ZN7llvm_ks14MCObjectWriter10writeBytesENS_9StringRefEj:
  188|  2.53M|  void writeBytes(StringRef Str, unsigned ZeroFillSize = 0) {
  189|       |    // TODO: this version may need to go away once all fragment contents are
  190|       |    // converted to SmallVector<char, N>
  191|  2.53M|    assert(
  ------------------
  |  Branch (191:5): [True: 2.53M, False: 0]
  |  Branch (191:5): [True: 0, False: 0]
  |  Branch (191:5): [True: 2.53M, Folded]
  |  Branch (191:5): [True: 2.53M, False: 0]
  ------------------
  192|  2.53M|        (ZeroFillSize == 0 || Str.size() <= ZeroFillSize) &&
  193|  2.53M|        "data size greater than fill size, unexpected large write will occur");
  194|  2.53M|    *OS << Str;
  195|  2.53M|    if (ZeroFillSize)
  ------------------
  |  Branch (195:9): [True: 0, False: 2.53M]
  ------------------
  196|      0|      WriteZeros(ZeroFillSize - Str.size());
  197|  2.53M|  }

_ZN7llvm_ks7AsmCondC2Ev:
   35|  17.0k|  AsmCond() : TheCond(NoCond), CondMet(false), Ignore(false) {}

_ZNK7llvm_ks8AsmLexer6getMAIEv:
   57|  14.0k|  const MCAsmInfo &getMAI() const { return MAI; }

_ZN7llvm_ks8AsmTokenC2Ev:
   65|  14.5k|  AsmToken() {}
_ZN7llvm_ks8AsmTokenC2ENS0_9TokenKindENS_9StringRefENS_5APIntE:
   67|   846k|      : Kind(Kind), Str(Str), IntVal(IntVal) {}
_ZN7llvm_ks8AsmTokenC2ENS0_9TokenKindENS_9StringRefEl:
   69|  12.2M|      : Kind(Kind), Str(Str), IntVal(64, IntVal, true) {}
_ZNK7llvm_ks8AsmToken7getKindEv:
   71|  3.57M|  TokenKind getKind() const { return Kind; }
_ZNK7llvm_ks8AsmToken2isENS0_9TokenKindE:
   72|  29.5M|  bool is(TokenKind K) const { return Kind == K; }
_ZNK7llvm_ks8AsmToken5isNotENS0_9TokenKindE:
   73|  19.3M|  bool isNot(TokenKind K) const { return Kind != K; }
_ZNK7llvm_ks8AsmToken17getStringContentsERb:
   80|  18.5k|  StringRef getStringContents(bool &valid) const {
   81|       |    //assert(Kind == String && "This token isn't a string!");
   82|  18.5k|    if (Kind != String) {
  ------------------
  |  Branch (82:9): [True: 314, False: 18.2k]
  ------------------
   83|    314|        valid = false;
   84|    314|        return nullptr;
   85|    314|    }
   86|  18.2k|    valid = true;
   87|  18.2k|    return Str.slice(1, Str.size() - 1);
   88|  18.5k|  }
_ZNK7llvm_ks8AsmToken13getIdentifierEv:
   94|  1.52M|  StringRef getIdentifier() const {
   95|  1.52M|    if (Kind == Identifier)
  ------------------
  |  Branch (95:9): [True: 1.52M, False: 5.44k]
  ------------------
   96|  1.52M|      return getString();
   97|  5.44k|    bool valid;
   98|  5.44k|    return getStringContents(valid);
   99|  1.52M|  }
_ZNK7llvm_ks8AsmToken9getStringEv:
  106|  1.96M|  StringRef getString() const { return Str; }
_ZNK7llvm_ks8AsmToken9getIntValERb:
  111|   285k|  int64_t getIntVal(bool &valid) const {
  112|       |    //assert(Kind == Integer && "This token isn't an integer!");
  113|   285k|    if (Kind != Integer) {
  ------------------
  |  Branch (113:9): [True: 0, False: 285k]
  ------------------
  114|      0|        valid = false;
  115|      0|        return -1;
  116|      0|    }
  117|   285k|    valid = true;
  118|   285k|    return IntVal.getZExtValue();
  119|   285k|  }
_ZNK7llvm_ks8AsmToken11getAPIntValERb:
  121|    967|  APInt getAPIntVal(bool &valid) const {
  122|       |    //assert((Kind == Integer || Kind == BigNum) &&
  123|       |    //       "This token isn't an integer!");
  124|    967|    if (Kind != Integer && Kind != BigNum) {
  ------------------
  |  Branch (124:9): [True: 296, False: 671]
  |  Branch (124:28): [True: 0, False: 296]
  ------------------
  125|      0|        valid = false;
  126|       |        //return APInt(-1);
  127|      0|    }
  128|    967|    valid = true;
  129|    967|    return IntVal;
  130|    967|  }
_ZN7llvm_ks10MCAsmLexer8SetErrorENS_5SMLocERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  154|  8.90k|  void SetError(SMLoc errLoc, const std::string &err) {
  155|  8.90k|    ErrLoc = errLoc;
  156|  8.90k|    Err = err;
  157|  8.90k|  }
_ZN7llvm_ks10MCAsmLexer3LexEv:
  166|  13.0M|  const AsmToken &Lex() {
  167|  13.0M|    assert(!CurTok.empty());
  ------------------
  |  Branch (167:5): [True: 13.0M, False: 0]
  ------------------
  168|  13.0M|    CurTok.erase(CurTok.begin());
  169|  13.0M|    if (CurTok.empty())
  ------------------
  |  Branch (169:9): [True: 13.0M, False: 0]
  ------------------
  170|  13.0M|      CurTok.emplace_back(LexToken());
  171|  13.0M|    return CurTok.front();
  172|  13.0M|  }
_ZNK7llvm_ks10MCAsmLexer6getTokEv:
  184|  49.8M|  const AsmToken &getTok() const {
  185|  49.8M|    return CurTok[0];
  186|  49.8M|  }
_ZN7llvm_ks10MCAsmLexer7peekTokEb:
  189|  8.71k|  const AsmToken peekTok(bool ShouldSkipSpace = true) {
  190|  8.71k|    AsmToken Tok;
  191|       |
  192|  8.71k|    MutableArrayRef<AsmToken> Buf(Tok);
  193|  8.71k|    if (peekTokens(Buf, ShouldSkipSpace) != 1)
  ------------------
  |  Branch (193:9): [True: 2, False: 8.70k]
  ------------------
  194|      2|        return AsmToken(AsmToken::Error, nullptr);
  195|       |
  196|  8.70k|    return Tok;
  197|  8.71k|  }
_ZN7llvm_ks10MCAsmLexer9getErrLocEv:
  204|  8.90k|  SMLoc getErrLoc() {
  205|  8.90k|    return ErrLoc;
  206|  8.90k|  }
_ZN7llvm_ks10MCAsmLexer6getErrEv:
  209|  8.90k|  const std::string &getErr() {
  210|  8.90k|    return Err;
  211|  8.90k|  }
_ZNK7llvm_ks10MCAsmLexer7getKindEv:
  214|  3.55M|  AsmToken::TokenKind getKind() const { return getTok().getKind(); }
_ZNK7llvm_ks10MCAsmLexer2isENS_8AsmToken9TokenKindE:
  217|  16.4M|  bool is(AsmToken::TokenKind K) const { return getTok().is(K); }
_ZNK7llvm_ks10MCAsmLexer5isNotENS_8AsmToken9TokenKindE:
  220|  19.2M|  bool isNot(AsmToken::TokenKind K) const { return getTok().isNot(K); }
_ZN7llvm_ks10MCAsmLexer12setSkipSpaceEb:
  223|   133k|  void setSkipSpace(bool val) { SkipSpace = val; }

_ZN7llvm_ks23InlineAsmIdentifierInfo5clearEv:
   38|  20.2k|  void clear() {
   39|  20.2k|    OpDecl = nullptr;
   40|  20.2k|    IsVarDecl = false;
   41|  20.2k|    Length = 1;
   42|  20.2k|    Size = 0;
   43|  20.2k|    Type = 0;
   44|  20.2k|  }
_ZNK7llvm_ks11MCAsmParser8getLexerEv:
   93|  10.2M|  const MCAsmLexer &getLexer() const {
   94|  10.2M|    return const_cast<MCAsmParser*>(this)->getLexer();
   95|  10.2M|  }
_ZNK7llvm_ks11MCAsmParser15getTargetParserEv:
  102|   770k|  MCTargetAsmParser &getTargetParser() const { return *TargetParser; }

_ZN7llvm_ks20MCAsmParserExtension10getContextEv:
   54|  44.0k|  MCContext &getContext() { return getParser().getContext(); }
_ZN7llvm_ks20MCAsmParserExtension8getLexerEv:
   56|  1.04M|  MCAsmLexer &getLexer() { return getParser().getLexer(); }
_ZN7llvm_ks20MCAsmParserExtension9getParserEv:
   61|  3.53M|  MCAsmParser &getParser() { return *Parser; }
_ZN7llvm_ks20MCAsmParserExtension11getStreamerEv:
   67|  51.1k|  MCStreamer &getStreamer() { return getParser().getStreamer(); }
_ZN7llvm_ks20MCAsmParserExtension7WarningENS_5SMLocERKNS_5TwineE:
   68|  1.28k|  bool Warning(SMLoc L, const Twine &Msg) {
   69|  1.28k|    return getParser().Warning(L, Msg);
   70|  1.28k|  }
_ZN7llvm_ks20MCAsmParserExtension5ErrorENS_5SMLocERKNS_5TwineE:
   71|    295|  bool Error(SMLoc L, const Twine &Msg) {
   72|    295|    return getParser().Error(L, Msg);
   73|    295|  }
_ZN7llvm_ks20MCAsmParserExtension8TokErrorERKNS_5TwineE:
   77|    674|  bool TokError(const Twine &Msg) {
   78|    674|    return getParser().TokError(Msg);
   79|    674|  }
_ZN7llvm_ks20MCAsmParserExtension3LexEv:
   81|  9.52k|  const AsmToken &Lex() { return getParser().Lex(); }
_ZN7llvm_ks20MCAsmParserExtension6getTokEv:
   83|  14.0k|  const AsmToken &getTok() { return getParser().getTok(); }
_ZNK7llvm_ks20MCAsmParserExtension21HasBracketExpressionsEv:
   85|    323|  bool HasBracketExpressions() const { return BracketExpressionsSupported; }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_18parseDirectiveDescES5_S6_EEEEbPS0_S5_S6_:
   36|     28|                              SMLoc DirectiveLoc) {
   37|     28|    T *Obj = static_cast<T*>(Target);
   38|     28|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|     28|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_18parseDirectiveLsymES5_S6_EEEEbPS0_S5_S6_:
   36|     27|                              SMLoc DirectiveLoc) {
   37|     27|    T *Obj = static_cast<T*>(Target);
   38|     27|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|     27|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_24parseDirectiveDumpOrLoadES5_S6_EEEEbPS0_S5_S6_:
   36|  1.25k|                              SMLoc DirectiveLoc) {
   37|  1.25k|    T *Obj = static_cast<T*>(Target);
   38|  1.25k|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|  1.25k|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_21parseDirectiveSectionES5_S6_EEEEbPS0_S5_S6_:
   36|  2.96k|                              SMLoc DirectiveLoc) {
   37|  2.96k|    T *Obj = static_cast<T*>(Target);
   38|  2.96k|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|  2.96k|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_18parseDirectiveTBSSES5_S6_EEEEbPS0_S5_S6_:
   36|    652|                              SMLoc DirectiveLoc) {
   37|    652|    T *Obj = static_cast<T*>(Target);
   38|    652|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    652|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_24parseSectionDirectiveBssES5_S6_EEEEbPS0_S5_S6_:
   36|    316|                              SMLoc DirectiveLoc) {
   37|    316|    T *Obj = static_cast<T*>(Target);
   38|    316|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    316|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_26parseSectionDirectiveConstES5_S6_EEEEbPS0_S5_S6_:
   36|     68|                              SMLoc DirectiveLoc) {
   37|     68|    T *Obj = static_cast<T*>(Target);
   38|     68|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|     68|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_25parseSectionDirectiveDataES5_S6_EEEEbPS0_S5_S6_:
   36|    569|                              SMLoc DirectiveLoc) {
   37|    569|    T *Obj = static_cast<T*>(Target);
   38|    569|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    569|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_25parseSectionDirectiveDyldES5_S6_EEEEbPS0_S5_S6_:
   36|      3|                              SMLoc DirectiveLoc) {
   37|      3|    T *Obj = static_cast<T*>(Target);
   38|      3|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|      3|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_26parseSectionDirectiveTDataES5_S6_EEEEbPS0_S5_S6_:
   36|      1|                              SMLoc DirectiveLoc) {
   37|      1|    T *Obj = static_cast<T*>(Target);
   38|      1|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|      1|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_25parseSectionDirectiveTextES5_S6_EEEEbPS0_S5_S6_:
   36|      1|                              SMLoc DirectiveLoc) {
   37|      1|    T *Obj = static_cast<T*>(Target);
   38|      1|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|      1|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_24parseSectionDirectiveTLVES5_S6_EEEEbPS0_S5_S6_:
   36|      2|                              SMLoc DirectiveLoc) {
   37|      2|    T *Obj = static_cast<T*>(Target);
   38|      2|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|      2|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_26parseSectionDirectiveIdentES5_S6_EEEEbPS0_S5_S6_:
   36|    205|                              SMLoc DirectiveLoc) {
   37|    205|    T *Obj = static_cast<T*>(Target);
   38|    205|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    205|  }

_ZN7llvm_ks18MCParsedAsmOperandD2Ev:
   43|   122k|  virtual ~MCParsedAsmOperand() {}
_ZN7llvm_ks18MCParsedAsmOperandC2Ev:
   40|   122k|  MCParsedAsmOperand() = default;

_ZN7llvm_ks20ParseInstructionInfoC2EPNS_15SmallVectorImplINS_10AsmRewriteEEE:
   81|  74.7k|    : AsmRewrites(rewrites) {}
_ZNK7llvm_ks17MCTargetAsmParser20getAvailableFeaturesEv:
  129|   119k|  uint64_t getAvailableFeatures() const { return AvailableFeatures; }
_ZN7llvm_ks17MCTargetAsmParser20setAvailableFeaturesEm:
  131|  17.5k|  void setAvailableFeatures(uint64_t Value) { AvailableFeatures = Value; }
_ZN7llvm_ks17MCTargetAsmParser18isParsingInlineAsmEv:
  134|   159k|  bool isParsingInlineAsm () { return ParsingInlineAsm; }
_ZNK7llvm_ks17MCTargetAsmParser16getTargetOptionsEv:
  137|  33.2k|  MCTargetOptions getTargetOptions() const { return MCOptions; }
_ZN7llvm_ks17MCTargetAsmParser16ParseInstructionERNS_20ParseInstructionInfoENS_9StringRefENS_8AsmTokenERNS_15SmallVectorImplINSt3__110unique_ptrINS_18MCParsedAsmOperandENS6_14default_deleteIS8_EEEEEERj:
  165|  74.7k|                                AsmToken Token, OperandVector &Operands, unsigned int &ErrorCode) {
  166|  74.7k|    return ParseInstruction(Info, Name, Token.getLoc(), Operands, ErrorCode);
  167|  74.7k|  }
_ZN7llvm_ks17MCTargetAsmParser26validateTargetOperandClassERNS_18MCParsedAsmOperandEj:
  200|   330k|                                              unsigned Kind) {
  201|   330k|    return Match_InvalidOperand;
  202|   330k|  }
_ZN7llvm_ks17MCTargetAsmParser25checkTargetMatchPredicateERNS_6MCInstE:
  206|  60.9k|  virtual unsigned checkTargetMatchPredicate(MCInst &Inst) {
  207|  60.9k|    return Match_Success;
  208|  60.9k|  }
_ZN7llvm_ks17MCTargetAsmParser20equalIsAsmAssignmentEv:
  214|   356k|  virtual bool equalIsAsmAssignment() { return true; };
_ZN7llvm_ks17MCTargetAsmParser7isLabelERNS_8AsmTokenERb:
  216|    506|  virtual bool isLabel(AsmToken &Token, bool &valid) { valid = true; return true; };
_ZN7llvm_ks17MCTargetAsmParser19applyModifierToExprEPKNS_6MCExprENS_15MCSymbolRefExpr11VariantKindERNS_9MCContextE:
  220|  17.2k|                                            MCContext &Ctx) {
  221|  17.2k|    return nullptr;
  222|  17.2k|  }
_ZN7llvm_ks17MCTargetAsmParser13onLabelParsedEPNS_8MCSymbolE:
  224|    195|  virtual void onLabelParsed(MCSymbol *Symbol) { }

_ZNK7llvm_ks15MCRegisterClass8containsEj:
   67|  37.8k|  bool contains(unsigned Reg) const {
   68|  37.8k|    unsigned InByte = Reg % 8;
   69|  37.8k|    unsigned Byte = Reg / 8;
   70|  37.8k|    if (Byte >= RegSetSize)
  ------------------
  |  Branch (70:9): [True: 1.03k, False: 36.8k]
  ------------------
   71|  1.03k|      return false;
   72|  36.8k|    return (RegSet[Byte] & (1 << InByte)) != 0;
   73|  37.8k|  }
_ZNK7llvm_ks14MCRegisterInfo16DwarfLLVMRegPairltES1_:
  145|   255k|    bool operator<(DwarfLLVMRegPair RHS) const { return FromReg < RHS.FromReg; }
_ZN7llvm_ks14MCRegisterInfo18InitMCRegisterInfoEPKNS_14MCRegisterDescEjjjPKNS_15MCRegisterClassEjPA2_KtjPS7_PKjPKcSE_SA_jPKNS0_17SubRegCoveredBitsESA_:
  256|  17.0k|                          const uint16_t *RET) {
  257|  17.0k|    Desc = D;
  258|  17.0k|    NumRegs = NR;
  259|  17.0k|    RAReg = RA;
  260|  17.0k|    PCReg = PC;
  261|  17.0k|    Classes = C;
  262|  17.0k|    DiffLists = DL;
  263|  17.0k|    RegUnitMaskSequences = RUMS;
  264|  17.0k|    RegStrings = Strings;
  265|  17.0k|    RegClassStrings = ClassStrings;
  266|  17.0k|    NumClasses = NC;
  267|  17.0k|    RegUnitRoots = RURoots;
  268|  17.0k|    NumRegUnits = NRU;
  269|  17.0k|    SubRegIndices = SubIndices;
  270|  17.0k|    NumSubRegIndices = NumIndices;
  271|  17.0k|    SubRegIdxRanges = SubIdxRanges;
  272|  17.0k|    RegEncodingTable = RET;
  273|  17.0k|  }
_ZN7llvm_ks14MCRegisterInfo22mapLLVMRegsToDwarfRegsEPKNS0_16DwarfLLVMRegPairEjb:
  279|  34.0k|                              bool isEH) {
  280|  34.0k|    if (isEH) {
  ------------------
  |  Branch (280:9): [True: 17.0k, False: 17.0k]
  ------------------
  281|  17.0k|      EHL2DwarfRegs = Map;
  282|  17.0k|      EHL2DwarfRegsSize = Size;
  283|  17.0k|    } else {
  284|  17.0k|      L2DwarfRegs = Map;
  285|  17.0k|      L2DwarfRegsSize = Size;
  286|  17.0k|    }
  287|  34.0k|  }
_ZN7llvm_ks14MCRegisterInfo22mapDwarfRegsToLLVMRegsEPKNS0_16DwarfLLVMRegPairEjb:
  293|  34.0k|                              bool isEH) {
  294|  34.0k|    if (isEH) {
  ------------------
  |  Branch (294:9): [True: 17.0k, False: 17.0k]
  ------------------
  295|  17.0k|      EHDwarf2LRegs = Map;
  296|  17.0k|      EHDwarf2LRegsSize = Size;
  297|  17.0k|    } else {
  298|  17.0k|      Dwarf2LRegs = Map;
  299|  17.0k|      Dwarf2LRegsSize = Size;
  300|  17.0k|    }
  301|  34.0k|  }
_ZN7llvm_ks14MCRegisterInfo18mapLLVMRegToSEHRegEji:
  308|  4.17M|  void mapLLVMRegToSEHReg(unsigned LLVMReg, int SEHReg) {
  309|  4.17M|    L2SEHRegs[LLVMReg] = SEHReg;
  310|  4.17M|  }
_ZNK7llvm_ks14MCRegisterInfo16getEncodingValueEj:
  418|  4.17M|  uint16_t getEncodingValue(unsigned RegNo) const {
  419|  4.17M|    assert(RegNo < NumRegs &&
  ------------------
  |  Branch (419:5): [True: 4.17M, False: 0]
  |  Branch (419:5): [True: 4.17M, Folded]
  |  Branch (419:5): [True: 4.17M, False: 0]
  ------------------
  420|  4.17M|           "Attempting to get encoding for invalid register number!");
  421|  4.17M|    return RegEncodingTable[RegNo];
  422|  4.17M|  }

_ZN7llvm_ks17ilist_node_traitsINS_10MCFragmentEE13addNodeToListEPS1_:
   40|  44.4k|  void addNodeToList(MCFragment *) {}
_ZN7llvm_ks17ilist_node_traitsINS_10MCFragmentEE18removeNodeFromListEPS1_:
   41|  44.4k|  void removeNodeFromList(MCFragment *) {}
_ZNK7llvm_ks9MCSection10getVariantEv:
  113|  20.5k|  SectionVariant getVariant() const { return Variant; }
_ZN7llvm_ks9MCSection14getBeginSymbolEv:
  115|  40.4k|  MCSymbol *getBeginSymbol() { return Begin; }
_ZNK7llvm_ks9MCSection14getBeginSymbolEv:
  116|  3.62k|  const MCSymbol *getBeginSymbol() const {
  117|  3.62k|    return const_cast<MCSection *>(this)->getBeginSymbol();
  118|  3.62k|  }
_ZN7llvm_ks9MCSection14setBeginSymbolEPNS_8MCSymbolE:
  119|  17.4k|  void setBeginSymbol(MCSymbol *Sym) {
  120|  17.4k|    assert(!Begin);
  ------------------
  |  Branch (120:5): [True: 17.4k, False: 0]
  ------------------
  121|  17.4k|    Begin = Sym;
  122|  17.4k|  }
_ZNK7llvm_ks9MCSection12getAlignmentEv:
  126|  17.9k|  unsigned getAlignment() const { return Alignment; }
_ZN7llvm_ks9MCSection12setAlignmentEj:
  127|    314|  void setAlignment(unsigned Value) { Alignment = Value; }
_ZN7llvm_ks9MCSection10setOrdinalEj:
  130|  8.18k|  void setOrdinal(unsigned Value) { Ordinal = Value; }
_ZN7llvm_ks9MCSection14setLayoutOrderEj:
  133|  8.18k|  void setLayoutOrder(unsigned Value) { LayoutOrder = Value; }
_ZNK7llvm_ks9MCSection14isBundleLockedEv:
  137|  59.5k|  bool isBundleLocked() const { return BundleLockState != NotBundleLocked; }
_ZN7llvm_ks9MCSection18setHasInstructionsEb:
  147|  23.8k|  void setHasInstructions(bool Value) { HasInstructions = Value; }
_ZNK7llvm_ks9MCSection12isRegisteredEv:
  149|  18.4k|  bool isRegistered() const { return IsRegistered; }
_ZN7llvm_ks9MCSection15setIsRegisteredEb:
  150|  17.4k|  void setIsRegistered(bool Value) { IsRegistered = Value; }
_ZN7llvm_ks9MCSection15getFragmentListEv:
  152|  79.0M|  MCSection::FragmentListType &getFragmentList() { return Fragments; }
_ZN7llvm_ks9MCSection16getSublistAccessEPNS_10MCFragmentE:
  158|  47.6k|  static FragmentListType MCSection::*getSublistAccess(MCFragment *) {
  159|  47.6k|    return &MCSection::Fragments;
  160|  47.6k|  }
_ZN7llvm_ks9MCSection16getDummyFragmentEv:
  163|  67.7k|  MCDummyFragment &getDummyFragment() { return DummyFragment; }
_ZNK7llvm_ks9MCSection5beginEv:
  166|  7.40k|  MCSection::const_iterator begin() const {
  167|  7.40k|    return const_cast<MCSection *>(this)->begin();
  168|  7.40k|  }
_ZNK7llvm_ks9MCSection3endEv:
  171|  7.40k|  MCSection::const_iterator end() const {
  172|  7.40k|    return const_cast<MCSection *>(this)->end();
  173|  7.40k|  }

_ZNK7llvm_ks12MCSectionELF14getSectionNameEv:
   74|  39.2k|  StringRef getSectionName() const { return SectionName; }
_ZNK7llvm_ks12MCSectionELF8getGroupEv:
   78|  25.9k|  const MCSymbolELF *getGroup() const { return Group; }
_ZN7llvm_ks12MCSectionELFC2ENS_9StringRefEjjNS_11SectionKindEjPKNS_11MCSymbolELFEjPNS_8MCSymbolEPKS0_:
   58|   740k|      : MCSection(SV_ELF, K, Begin), SectionName(Section), Type(type),
   59|   740k|        Flags(flags), UniqueID(UniqueID), EntrySize(entrySize), Group(group),
   60|   740k|        Associated(Associated) {
   61|   740k|    if (Group)
  ------------------
  |  Branch (61:9): [True: 0, False: 740k]
  ------------------
   62|      0|      Group->setIsSignature();
   63|   740k|  }
_ZNK7llvm_ks12MCSectionELF7getTypeEv:
   75|  23.0k|  unsigned getType() const { return Type; }
_ZNK7llvm_ks12MCSectionELF8getFlagsEv:
   76|  81.8k|  unsigned getFlags() const { return Flags; }
_ZN7llvm_ks12MCSectionELF7classofEPKNS_9MCSectionE:
   90|  20.5k|  static bool classof(const MCSection *S) {
   91|  20.5k|    return S->getVariant() == SV_ELF;
   92|  20.5k|  }

_ZNK7llvm_ks14MCSectionMachO7getTypeEv:
   58|  2.37k|  MachO::SectionType getType() const {
   59|  2.37k|    return static_cast<MachO::SectionType>(TypeAndAttributes &
   60|  2.37k|                                           MachO::SECTION_TYPE);
   61|  2.37k|  }
_ZNK7llvm_ks14MCSectionMachO12hasAttributeEj:
   62|     54|  bool hasAttribute(unsigned Value) const {
   63|     54|    return (TypeAndAttributes & Value) != 0;
   64|     54|  }

_ZNK7llvm_ks10MCStreamer14setSymResolverEPv:
  201|  17.0k|  void setSymResolver(void *h) const { KsSymResolver = h; }
_ZNK7llvm_ks10MCStreamer14getSymResolverEv:
  202|  7.89k|  void *getSymResolver() const { return KsSymResolver; }
_ZNK7llvm_ks10MCStreamer10getContextEv:
  215|  36.4k|  MCContext &getContext() const { return Context; }
_ZN7llvm_ks10MCStreamer17getTargetStreamerEv:
  217|   189k|  MCTargetStreamer *getTargetStreamer() {
  218|   189k|    return TargetStreamer.get();
  219|   189k|  }
_ZN7llvm_ks10MCStreamer19getNumWinFrameInfosEv:
  226|  17.0k|  unsigned getNumWinFrameInfos() { return WinFrameInfos.size(); }
_ZN7llvm_ks10MCStreamer12AddBlankLineEv:
  275|  6.03M|  virtual void AddBlankLine() {}
_ZNK7llvm_ks10MCStreamer17getCurrentSectionEv:
  283|   158M|  MCSectionSubPair getCurrentSection() const {
  284|   158M|    if (!SectionStack.empty())
  ------------------
  |  Branch (284:9): [True: 158M, False: 0]
  ------------------
  285|   158M|      return SectionStack.back().first;
  286|      0|    return MCSectionSubPair();
  287|   158M|  }
_ZNK7llvm_ks10MCStreamer21getCurrentSectionOnlyEv:
  288|   158M|  MCSection *getCurrentSectionOnly() const { return getCurrentSection().first; }

_ZNK7llvm_ks15MCSubtargetInfo14getFeatureBitsEv:
   63|   379k|  const FeatureBitset& getFeatureBits() const {
   64|   379k|    return FeatureBits;
   65|   379k|  }
_ZN7llvm_ks15MCSubtargetInfoC2ERKS0_:
   47|    499|  MCSubtargetInfo(const MCSubtargetInfo &) = default;

_ZN7llvm_ks8MCSymbolC2ENS0_10SymbolKindEPKNS_14StringMapEntryIbEEb:
  150|   257k|      : IsTemporary(isTemporary), IsRedefinable(false), IsUsed(false),
  151|   257k|        IsRegistered(false), IsExternal(false), IsPrivateExtern(false),
  152|   257k|        Kind(Kind), IsUsedInReloc(false), SymbolContents(SymContentsUnset),
  153|   257k|        CommonAlignLog2(0), Flags(0) {
  154|   257k|    Offset = 0;
  155|   257k|    FragmentAndHasName.setInt(!!Name);
  156|   257k|    if (Name)
  ------------------
  |  Branch (156:9): [True: 257k, False: 0]
  ------------------
  157|   257k|      getNameEntryPtr() = Name;
  158|   257k|  }
_ZNK7llvm_ks8MCSymbol13getSectionPtrEb:
  179|  18.8k|  MCSection *getSectionPtr(bool SetUsed = true) const {
  180|  18.8k|    if (MCFragment *F = getFragment(SetUsed)) {
  ------------------
  |  Branch (180:21): [True: 18.8k, False: 0]
  ------------------
  181|  18.8k|      assert(F != AbsolutePseudoFragment);
  ------------------
  |  Branch (181:7): [True: 18.8k, False: 0]
  ------------------
  182|  18.8k|      return F->getParent();
  183|  18.8k|    }
  184|      0|    return nullptr;
  185|  18.8k|  }
_ZN7llvm_ks8MCSymbol15getNameEntryPtrEv:
  188|   266k|  const StringMapEntry<bool> *&getNameEntryPtr() {
  189|   266k|    assert(FragmentAndHasName.getInt() && "Name is required");
  ------------------
  |  Branch (189:5): [True: 266k, False: 0]
  |  Branch (189:5): [True: 266k, Folded]
  |  Branch (189:5): [True: 266k, False: 0]
  ------------------
  190|   266k|    NameEntryStorageTy *Name = reinterpret_cast<NameEntryStorageTy *>(this);
  191|   266k|    return (*(Name - 1)).NameEntry;
  192|   266k|  }
_ZNK7llvm_ks8MCSymbol15getNameEntryPtrEv:
  193|  9.02k|  const StringMapEntry<bool> *&getNameEntryPtr() const {
  194|  9.02k|    return const_cast<MCSymbol*>(this)->getNameEntryPtr();
  195|  9.02k|  }
_ZNK7llvm_ks8MCSymbol7getNameEv:
  199|  9.02k|  StringRef getName() const {
  200|  9.02k|    if (!FragmentAndHasName.getInt())
  ------------------
  |  Branch (200:9): [True: 0, False: 9.02k]
  ------------------
  201|      0|      return StringRef();
  202|       |
  203|  9.02k|    return getNameEntryPtr()->first();
  204|  9.02k|  }
_ZNK7llvm_ks8MCSymbol12isRegisteredEv:
  206|   430k|  bool isRegistered() const { return IsRegistered; }
_ZNK7llvm_ks8MCSymbol15setIsRegisteredEb:
  207|  74.5k|  void setIsRegistered(bool Value) const { IsRegistered = Value; }
_ZNK7llvm_ks8MCSymbol14setUsedInRelocEv:
  209|  3.67k|  void setUsedInReloc() const { IsUsedInReloc = true; }
_ZNK7llvm_ks8MCSymbol13isUsedInRelocEv:
  210|    358|  bool isUsedInReloc() const { return IsUsedInReloc; }
_ZNK7llvm_ks8MCSymbol11isTemporaryEv:
  216|     93|  bool isTemporary() const { return IsTemporary; }
_ZNK7llvm_ks8MCSymbol6isUsedEv:
  219|   225k|  bool isUsed() const { return IsUsed; }
_ZN7llvm_ks8MCSymbol14setRedefinableEb:
  225|   113k|  void setRedefinable(bool Value) { IsRedefinable = Value; }
_ZN7llvm_ks8MCSymbol18redefineIfPossibleEv:
  227|    203|  void redefineIfPossible() {
  228|    203|    if (IsRedefinable) {
  ------------------
  |  Branch (228:9): [True: 5, False: 198]
  ------------------
  229|      5|      if (SymbolContents == SymContentsVariable) {
  ------------------
  |  Branch (229:11): [True: 4, False: 1]
  ------------------
  230|      4|        Value = nullptr;
  231|      4|        SymbolContents = SymContentsUnset;
  232|      4|      }
  233|      5|      setUndefined();
  234|      5|      IsRedefinable = false;
  235|      5|    }
  236|    203|  }
_ZNK7llvm_ks8MCSymbol9isDefinedEb:
  245|   384k|  bool isDefined(bool SetUsed = true) const {
  246|   384k|    return getFragment(SetUsed) != nullptr;
  247|   384k|  }
_ZNK7llvm_ks8MCSymbol11isInSectionEb:
  251|  54.6k|  bool isInSection(bool SetUsed = true) const {
  252|  54.6k|    return isDefined(SetUsed) && !isAbsolute(SetUsed);
  ------------------
  |  Branch (252:12): [True: 34.9k, False: 19.6k]
  |  Branch (252:34): [True: 34.5k, False: 434]
  ------------------
  253|  54.6k|  }
_ZNK7llvm_ks8MCSymbol11isUndefinedEb:
  256|   310k|  bool isUndefined(bool SetUsed = true) const { return !isDefined(SetUsed); }
_ZNK7llvm_ks8MCSymbol10isAbsoluteEb:
  259|  35.5k|  bool isAbsolute(bool SetUsed = true) const {
  260|  35.5k|    return getFragment(SetUsed) == AbsolutePseudoFragment;
  261|  35.5k|  }
_ZNK7llvm_ks8MCSymbol10getSectionEb:
  264|  18.8k|  MCSection &getSection(bool SetUsed = true) const {
  265|  18.8k|    assert(isInSection(SetUsed) && "Invalid accessor!");
  ------------------
  |  Branch (265:5): [True: 18.8k, False: 0]
  |  Branch (265:5): [True: 18.8k, Folded]
  |  Branch (265:5): [True: 18.8k, False: 0]
  ------------------
  266|  18.8k|    return *getSectionPtr(SetUsed);
  267|  18.8k|  }
_ZNK7llvm_ks8MCSymbol11setFragmentEPNS_10MCFragmentE:
  270|   125k|  void setFragment(MCFragment *F) const {
  271|   125k|    assert(!isVariable() && "Cannot set fragment of variable");
  ------------------
  |  Branch (271:5): [True: 125k, False: 0]
  |  Branch (271:5): [True: 125k, Folded]
  |  Branch (271:5): [True: 125k, False: 0]
  ------------------
  272|   125k|    FragmentAndHasName.setPointer(F);
  273|   125k|  }
_ZN7llvm_ks8MCSymbol12setUndefinedEv:
  276|   113k|  void setUndefined() { FragmentAndHasName.setPointer(nullptr); }
_ZNK7llvm_ks8MCSymbol5isELFEv:
  278|   168k|  bool isELF() const { return Kind == SymbolKindELF; }
_ZNK7llvm_ks8MCSymbol10isVariableEv:
  289|  1.91M|  bool isVariable() const {
  290|  1.91M|    return SymbolContents == SymContentsVariable;
  291|  1.91M|  }
_ZNK7llvm_ks8MCSymbol16getVariableValueEb:
  294|   145k|  const MCExpr *getVariableValue(bool SetUsed = true) const {
  295|   145k|    assert(isVariable() && "Invalid accessor!");
  ------------------
  |  Branch (295:5): [True: 145k, False: 0]
  |  Branch (295:5): [True: 145k, Folded]
  |  Branch (295:5): [True: 145k, False: 0]
  ------------------
  296|   145k|    IsUsed |= SetUsed;
  297|   145k|    return Value;
  298|   145k|  }
_ZNK7llvm_ks8MCSymbol9getOffsetEv:
  314|  33.6k|  uint64_t getOffset() const {
  315|  33.6k|    assert((SymbolContents == SymContentsUnset ||
  ------------------
  |  Branch (315:5): [True: 164, False: 33.4k]
  |  Branch (315:5): [True: 33.4k, False: 0]
  |  Branch (315:5): [True: 33.6k, Folded]
  |  Branch (315:5): [True: 33.6k, False: 0]
  ------------------
  316|  33.6k|            SymbolContents == SymContentsOffset) &&
  317|  33.6k|           "Cannot get offset for a common/variable symbol");
  318|  33.6k|    return Offset;
  319|  33.6k|  }
_ZN7llvm_ks8MCSymbol9setOffsetEm:
  320|  58.0k|  void setOffset(uint64_t Value) {
  321|  58.0k|    assert((SymbolContents == SymContentsUnset ||
  ------------------
  |  Branch (321:5): [True: 58.0k, False: 0]
  |  Branch (321:5): [True: 0, False: 0]
  |  Branch (321:5): [True: 58.0k, Folded]
  |  Branch (321:5): [True: 58.0k, False: 0]
  ------------------
  322|  58.0k|            SymbolContents == SymContentsOffset) &&
  323|  58.0k|           "Cannot set offset for a common/variable symbol");
  324|  58.0k|    Offset = Value;
  325|  58.0k|    SymbolContents = SymContentsOffset;
  326|  58.0k|  }
_ZN7llvm_ks8MCSymbol9setCommonEmj:
  338|     82|  void setCommon(uint64_t Size, unsigned Align) {
  339|     82|    assert(getOffset() == 0);
  ------------------
  |  Branch (339:5): [True: 82, False: 0]
  ------------------
  340|     82|    CommonSize = Size;
  341|     82|    SymbolContents = SymContentsCommon;
  342|       |
  343|     82|    assert((!Align || isPowerOf2_32(Align)) &&
  ------------------
  |  Branch (343:5): [True: 0, False: 82]
  |  Branch (343:5): [True: 82, False: 0]
  |  Branch (343:5): [True: 82, Folded]
  |  Branch (343:5): [True: 82, False: 0]
  ------------------
  344|     82|           "Alignment must be a power of 2");
  345|     82|    unsigned Log2Align = Log2_32(Align) + 1;
  346|     82|    assert(Log2Align < (1U << NumCommonAlignmentBits) &&
  ------------------
  |  Branch (346:5): [True: 82, False: 0]
  |  Branch (346:5): [True: 82, Folded]
  |  Branch (346:5): [True: 82, False: 0]
  ------------------
  347|     82|           "Out of range alignment");
  348|     82|    CommonAlignLog2 = Log2Align;
  349|     82|  }
_ZNK7llvm_ks8MCSymbol18getCommonAlignmentEv:
  352|    783|  unsigned getCommonAlignment() const {
  353|    783|    assert(isCommon() && "Not a 'common' symbol!");
  ------------------
  |  Branch (353:5): [True: 783, False: 0]
  |  Branch (353:5): [True: 783, Folded]
  |  Branch (353:5): [True: 783, False: 0]
  ------------------
  354|    783|    return CommonAlignLog2 ? (1U << (CommonAlignLog2 - 1)) : 0;
  ------------------
  |  Branch (354:12): [True: 783, False: 0]
  ------------------
  355|    783|  }
_ZN7llvm_ks8MCSymbol13declareCommonEmj:
  362|    865|  bool declareCommon(uint64_t Size, unsigned Align) {
  363|    865|    assert(isCommon() || getOffset() == 0);
  ------------------
  |  Branch (363:5): [True: 783, False: 82]
  |  Branch (363:5): [True: 82, False: 0]
  |  Branch (363:5): [True: 865, False: 0]
  ------------------
  364|    865|    if(isCommon()) {
  ------------------
  |  Branch (364:8): [True: 783, False: 82]
  ------------------
  365|    783|      if(CommonSize != Size || getCommonAlignment() != Align)
  ------------------
  |  Branch (365:10): [True: 0, False: 783]
  |  Branch (365:32): [True: 0, False: 783]
  ------------------
  366|      0|       return true;
  367|    783|    } else
  368|     82|      setCommon(Size, Align);
  369|    865|    return false;
  370|    865|  }
_ZNK7llvm_ks8MCSymbol8isCommonEv:
  373|  2.51k|  bool isCommon() const {
  374|  2.51k|    return SymbolContents == SymContentsCommon;
  375|  2.51k|  }
_ZNK7llvm_ks8MCSymbol11getFragmentEb:
  377|   734k|  MCFragment *getFragment(bool SetUsed = true) const {
  378|   734k|    MCFragment *Fragment = FragmentAndHasName.getPointer();
  379|   734k|    if (Fragment || !isVariable())
  ------------------
  |  Branch (379:9): [True: 265k, False: 469k]
  |  Branch (379:21): [True: 349k, False: 120k]
  ------------------
  380|   614k|      return Fragment;
  381|   120k|    Fragment = getVariableValue(SetUsed)->findAssociatedFragment();
  382|   120k|    FragmentAndHasName.setPointer(Fragment);
  383|   120k|    return Fragment;
  384|   734k|  }
_ZNK7llvm_ks8MCSymbol10isExternalEv:
  386|    661|  bool isExternal() const { return IsExternal; }
_ZNK7llvm_ks8MCSymbol11setExternalEb:
  387|    892|  void setExternal(bool Value) const { IsExternal = Value; }
_ZNK7llvm_ks8MCSymbol8getFlagsEv:
  400|  32.8k|  uint32_t getFlags() const { return Flags; }
_ZNK7llvm_ks8MCSymbol8setFlagsEj:
  403|  24.8k|  void setFlags(uint32_t Value) const {
  404|  24.8k|    assert(Value < (1U << NumFlagsBits) && "Out of range flags");
  ------------------
  |  Branch (404:5): [True: 24.8k, False: 0]
  |  Branch (404:5): [True: 24.8k, Folded]
  |  Branch (404:5): [True: 24.8k, False: 0]
  ------------------
  405|  24.8k|    Flags = Value;
  406|  24.8k|  }

_ZN7llvm_ks11MCSymbolELFC2EPKNS_14StringMapEntryIbEEb:
   22|   257k|      : MCSymbol(SymbolKindELF, Name, isTemporary) {}
_ZN7llvm_ks11MCSymbolELF7classofEPKNS_8MCSymbolE:
   47|   168k|  static bool classof(const MCSymbol *S) { return S->isELF(); }
_ZN7llvm_ks11MCSymbolELF7setSizeEPKNS_6MCExprE:
   23|    927|  void setSize(const MCExpr *SS) { SymbolSize = SS; }

ks.cpp:_ZL28InitMCTargetOptionsFromFlagsv:
   34|  17.0k|static inline MCTargetOptions InitMCTargetOptionsFromFlags() {
   35|  17.0k|  MCTargetOptions Options;
   36|  17.0k|  Options.MCRelaxAll = RelaxAll;
   37|  17.0k|  Options.DwarfVersion = DwarfVersion;
   38|  17.0k|  Options.ABIName = ABIName;
   39|  17.0k|  Options.MCFatalWarnings = FatalWarnings;
   40|  17.0k|  Options.MCNoWarn = NoWarn;
   41|  17.0k|  return Options;
   42|  17.0k|}

_ZNK7llvm_ks7MCValue11getConstantEv:
   46|   988k|  int64_t getConstant() const { return Cst; }
_ZNK7llvm_ks7MCValue7getSymAEv:
   47|   544k|  const MCSymbolRefExpr *getSymA() const { return SymA; }
_ZNK7llvm_ks7MCValue7getSymBEv:
   48|   485k|  const MCSymbolRefExpr *getSymB() const { return SymB; }
_ZNK7llvm_ks7MCValue10isAbsoluteEv:
   52|   731k|  bool isAbsolute() const { return !SymA && !SymB; }
  ------------------
  |  Branch (52:36): [True: 343k, False: 387k]
  |  Branch (52:45): [True: 334k, False: 9.31k]
  ------------------
_ZN7llvm_ks7MCValue3getEPKNS_15MCSymbolRefExprES3_lj:
   64|   582k|                     int64_t Val = 0, uint32_t RefKind = 0) {
   65|   582k|    MCValue R;
   66|   582k|    R.Cst = Val;
   67|   582k|    R.SymA = SymA;
   68|   582k|    R.SymB = SymB;
   69|   582k|    R.RefKind = RefKind;
   70|   582k|    return R;
   71|   582k|  }
_ZN7llvm_ks7MCValue3getEl:
   73|   417k|  static MCValue get(int64_t Val) {
   74|   417k|    MCValue R;
   75|   417k|    R.Cst = Val;
   76|   417k|    R.SymA = nullptr;
   77|   417k|    R.SymB = nullptr;
   78|   417k|    R.RefKind = 0;
   79|   417k|    return R;
   80|   417k|  }

_ZN7llvm_ks11SectionKind3getENS0_4KindE:
  161|   743k|  static SectionKind get(Kind K) {
  162|   743k|    SectionKind Res;
  163|   743k|    Res.K = K;
  164|   743k|    return Res;
  165|   743k|  }
_ZN7llvm_ks11SectionKind7getTextEv:
  169|  17.0k|  static SectionKind getText() { return get(Text); }
_ZN7llvm_ks11SectionKind11getReadOnlyEv:
  170|   723k|  static SectionKind getReadOnly() { return get(ReadOnly); }
_ZN7llvm_ks11SectionKind7getDataEv:
  189|  3.73k|  static SectionKind getData() { return get(Data); }

_ZNK7llvm_ks18StringTableBuilder11isFinalizedEv:
   64|  14.3k|  bool isFinalized() const {
   65|  14.3k|    return !StringTable.empty();
   66|  14.3k|  }

_ZN7llvm_ks13FeatureBitsetC2Ev:
   37|  53.7k|  FeatureBitset() : bitset() {}
_ZN7llvm_ks13FeatureBitsetC2ERKNSt3__16bitsetILm128EEE:
   39|    998|  FeatureBitset(const bitset<MAX_SUBTARGET_FEATURES>& B) : bitset(B) {}
_ZN7llvm_ks13FeatureBitsetC2ESt16initializer_listIjE:
   41|  2.43k|  FeatureBitset(std::initializer_list<unsigned> Init) : bitset() {
   42|  2.43k|    for (auto I : Init)
  ------------------
  |  Branch (42:17): [True: 5.58k, False: 2.43k]
  ------------------
   43|  5.58k|      set(I);
   44|  2.43k|  }
_ZNK7llvm_ks18SubtargetFeatureKVltENS_9StringRefE:
   59|   443k|  bool operator<(StringRef S) const {
   60|   443k|    return StringRef(Key) < S;
   61|   443k|  }
_ZNK7llvm_ks18SubtargetFeatureKVltERKS0_:
   64|  2.59M|  bool operator<(const SubtargetFeatureKV &Other) const {
   65|  2.59M|    return StringRef(Key) < StringRef(Other.Key);
   66|  2.59M|  }

_ZN7llvm_ks7alignOfINS_12MCSectionELFEEEjv:
  106|   136k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14MCSectionMachOEEEjv:
  106|    796|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_15MCSubtargetInfoEEEjv:
  106|  1.73k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIPNS_8MCSymbolEEEEEjv:
  106|  36.4k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIbEEEEjv:
  106|   257k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIjEEEEjv:
  106|   190k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIPNS_14MCSectionMachOEEEEEjv:
  106|    343|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS5_NS_9StringRefENS_5SMLocEEEEEEEEjv:
  106|  1.12M|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
AsmParser.cpp:_ZN7llvm_ks7alignOfINS_14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEEEEEjv:
  106|  2.08M|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
AsmParser.cpp:_ZN7llvm_ks7alignOfINS_14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEEEEEjv:
  106|    643|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_8MCSymbol18NameEntryStorageTyEEEjv:
  106|   257k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }

_ZN7llvm_ks15MallocAllocator8AllocateEmm:
   94|  3.47M|                                                size_t /*Alignment*/) {
   95|  3.47M|    return malloc(Size);
   96|  3.47M|  }
_ZN7llvm_ks15MallocAllocator10DeallocateEPKvm:
  101|  3.47M|  void Deallocate(const void *Ptr, size_t /*Size*/) {
  102|  3.47M|    free(const_cast<void *>(Ptr));
  103|  3.47M|  }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE8AllocateEmm:
  209|  2.57M|  Allocate(size_t Size, size_t Alignment) {
  210|  2.57M|    assert(Alignment > 0 && "0-byte alignnment is not allowed. Use 1 instead.");
  ------------------
  |  Branch (210:5): [True: 2.57M, False: 0]
  |  Branch (210:5): [True: 2.57M, Folded]
  |  Branch (210:5): [True: 2.57M, False: 0]
  ------------------
  211|       |
  212|       |    // Keep track of how many bytes we've allocated.
  213|  2.57M|    BytesAllocated += Size;
  214|       |
  215|  2.57M|    size_t Adjustment = alignmentAdjustment(CurPtr, Alignment);
  216|  2.57M|    assert(Adjustment + Size >= Size && "Adjustment + Size must not overflow");
  ------------------
  |  Branch (216:5): [True: 2.57M, False: 0]
  |  Branch (216:5): [True: 2.57M, Folded]
  |  Branch (216:5): [True: 2.57M, False: 0]
  ------------------
  217|       |
  218|       |    // Check if we have enough space.
  219|  2.57M|    if (Adjustment + Size <= size_t(End - CurPtr)) {
  ------------------
  |  Branch (219:9): [True: 2.50M, False: 74.0k]
  ------------------
  220|  2.50M|      char *AlignedPtr = CurPtr + Adjustment;
  221|  2.50M|      CurPtr = AlignedPtr + Size;
  222|       |      // Update the allocation point of this memory block in MemorySanitizer.
  223|       |      // Without this, MemorySanitizer messages for values originated from here
  224|       |      // will point to the allocation of the entire slab.
  225|  2.50M|      __msan_allocated_memory(AlignedPtr, Size);
  226|       |      // Similarly, tell ASan about this space.
  227|  2.50M|      __asan_unpoison_memory_region(AlignedPtr, Size);
  228|  2.50M|      return AlignedPtr;
  229|  2.50M|    }
  230|       |
  231|       |    // If Size is really big, allocate a separate slab for it.
  232|  74.0k|    size_t PaddedSize = Size + Alignment - 1;
  233|  74.0k|    if (PaddedSize > SizeThreshold) {
  ------------------
  |  Branch (233:9): [True: 17, False: 74.0k]
  ------------------
  234|     17|      void *NewSlab = Allocator.Allocate(PaddedSize, 0);
  235|       |      // We own the new slab and don't want anyone reading anyting other than
  236|       |      // pieces returned from this method.  So poison the whole slab.
  237|     17|      __asan_poison_memory_region(NewSlab, PaddedSize);
  238|     17|      CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize));
  239|       |
  240|     17|      uintptr_t AlignedAddr = alignAddr(NewSlab, Alignment);
  241|     17|      assert(AlignedAddr + Size <= (uintptr_t)NewSlab + PaddedSize);
  ------------------
  |  Branch (241:7): [True: 17, False: 0]
  ------------------
  242|     17|      char *AlignedPtr = (char*)AlignedAddr;
  243|     17|      __msan_allocated_memory(AlignedPtr, Size);
  244|     17|      __asan_unpoison_memory_region(AlignedPtr, Size);
  245|     17|      return AlignedPtr;
  246|     17|    }
  247|       |
  248|       |    // Otherwise, start a new slab and try again.
  249|  74.0k|    StartNewSlab();
  250|  74.0k|    uintptr_t AlignedAddr = alignAddr(CurPtr, Alignment);
  251|  74.0k|    assert(AlignedAddr + Size <= (uintptr_t)End &&
  ------------------
  |  Branch (251:5): [True: 74.0k, False: 0]
  |  Branch (251:5): [True: 74.0k, Folded]
  |  Branch (251:5): [True: 74.0k, False: 0]
  ------------------
  252|  74.0k|           "Unable to allocate memory!");
  253|  74.0k|    char *AlignedPtr = (char*)AlignedAddr;
  254|  74.0k|    CurPtr = AlignedPtr + Size;
  255|  74.0k|    __msan_allocated_memory(AlignedPtr, Size);
  256|  74.0k|    __asan_unpoison_memory_region(AlignedPtr, Size);
  257|  74.0k|    return AlignedPtr;
  258|  74.0k|  }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE12StartNewSlabEv:
  319|  74.0k|  void StartNewSlab() {
  320|  74.0k|    size_t AllocatedSlabSize = computeSlabSize(Slabs.size());
  321|       |
  322|  74.0k|    void *NewSlab = Allocator.Allocate(AllocatedSlabSize, 0);
  323|       |    // We own the new slab and don't want anyone reading anything other than
  324|       |    // pieces returned from this method.  So poison the whole slab.
  325|  74.0k|    __asan_poison_memory_region(NewSlab, AllocatedSlabSize);
  326|       |
  327|  74.0k|    Slabs.push_back(NewSlab);
  328|  74.0k|    CurPtr = (char *)(NewSlab);
  329|  74.0k|    End = ((char *)NewSlab) + AllocatedSlabSize;
  330|  74.0k|  }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE15computeSlabSizeEj:
  309|   217k|  static size_t computeSlabSize(unsigned SlabIdx) {
  310|       |    // Scale the actual allocated slab size based on the number of slabs
  311|       |    // allocated. Every 128 slabs allocated, we double the allocated size to
  312|       |    // reduce allocation frequency, but saturate at multiplying the slab size by
  313|       |    // 2^30.
  314|   217k|    return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128));
  315|   217k|  }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEC2Ev:
  145|   102k|      : CurPtr(nullptr), End(nullptr), BytesAllocated(0), Allocator() {}
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_13MCSectionCOFFEEC2Ev:
  367|  17.0k|  SpecificBumpPtrAllocator() : Allocator() {}
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_12MCSectionELFEEC2Ev:
  367|  17.0k|  SpecificBumpPtrAllocator() : Allocator() {}
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_14MCSectionMachOEEC2Ev:
  367|  17.0k|  SpecificBumpPtrAllocator() : Allocator() {}
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_15MCSubtargetInfoEEC2Ev:
  367|  17.0k|  SpecificBumpPtrAllocator() : Allocator() {}
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EED2Ev:
  164|   102k|  ~BumpPtrAllocatorImpl() {
  165|   102k|    DeallocateSlabs(Slabs.begin(), Slabs.end());
  166|   102k|    DeallocateCustomSizedSlabs();
  167|   102k|  }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE15DeallocateSlabsEPPvS4_:
  334|   154k|                       SmallVectorImpl<void *>::iterator E) {
  335|   228k|    for (; I != E; ++I) {
  ------------------
  |  Branch (335:12): [True: 74.0k, False: 154k]
  ------------------
  336|  74.0k|      size_t AllocatedSlabSize =
  337|  74.0k|          computeSlabSize(std::distance(Slabs.begin(), I));
  338|  74.0k|      Allocator.Deallocate(*I, AllocatedSlabSize);
  339|  74.0k|    }
  340|   154k|  }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE26DeallocateCustomSizedSlabsEv:
  343|   255k|  void DeallocateCustomSizedSlabs() {
  344|   255k|    for (auto &PtrAndSize : CustomSizedSlabs) {
  ------------------
  |  Branch (344:27): [True: 17, False: 255k]
  ------------------
  345|     17|      void *Ptr = PtrAndSize.first;
  346|     17|      size_t Size = PtrAndSize.second;
  347|     17|      Allocator.Deallocate(Ptr, Size);
  348|     17|    }
  349|   255k|  }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_13MCSectionCOFFEED2Ev:
  370|  17.0k|  ~SpecificBumpPtrAllocator() { DestroyAll(); }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_12MCSectionELFEED2Ev:
  370|  17.0k|  ~SpecificBumpPtrAllocator() { DestroyAll(); }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_14MCSectionMachOEED2Ev:
  370|  17.0k|  ~SpecificBumpPtrAllocator() { DestroyAll(); }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE10DeallocateEPKvm:
  263|   293k|  void Deallocate(const void *Ptr, size_t Size) {
  264|   293k|    __asan_poison_memory_region(Ptr, Size);
  265|   293k|  }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_15MCSubtargetInfoEED2Ev:
  370|  17.0k|  ~SpecificBumpPtrAllocator() { DestroyAll(); }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_13MCSectionCOFFEE10DestroyAllEv:
  380|  34.0k|  void DestroyAll() {
  381|  34.0k|    auto DestroyElements = [](char *Begin, char *End) {
  382|  34.0k|      assert(Begin == (char*)alignAddr(Begin, alignOf<T>()));
  383|  34.0k|      for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  384|  34.0k|        reinterpret_cast<T *>(Ptr)->~T();
  385|  34.0k|    };
  386|       |
  387|  34.0k|    for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E;
  ------------------
  |  Branch (387:71): [True: 0, False: 34.0k]
  ------------------
  388|  34.0k|         ++I) {
  389|      0|      size_t AllocatedSlabSize = BumpPtrAllocator::computeSlabSize(
  390|      0|          std::distance(Allocator.Slabs.begin(), I));
  391|      0|      char *Begin = (char*)alignAddr(*I, alignOf<T>());
  392|      0|      char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr
  ------------------
  |  Branch (392:19): [True: 0, False: 0]
  ------------------
  393|      0|                                               : (char *)*I + AllocatedSlabSize;
  394|       |
  395|      0|      DestroyElements(Begin, End);
  396|      0|    }
  397|       |
  398|  34.0k|    for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
  ------------------
  |  Branch (398:27): [True: 0, False: 34.0k]
  ------------------
  399|      0|      void *Ptr = PtrAndSize.first;
  400|      0|      size_t Size = PtrAndSize.second;
  401|      0|      DestroyElements((char*)alignAddr(Ptr, alignOf<T>()), (char *)Ptr + Size);
  402|      0|    }
  403|       |
  404|  34.0k|    Allocator.Reset();
  405|  34.0k|  }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_12MCSectionELFEE10DestroyAllEv:
  380|  34.0k|  void DestroyAll() {
  381|  34.0k|    auto DestroyElements = [](char *Begin, char *End) {
  382|  34.0k|      assert(Begin == (char*)alignAddr(Begin, alignOf<T>()));
  383|  34.0k|      for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  384|  34.0k|        reinterpret_cast<T *>(Ptr)->~T();
  385|  34.0k|    };
  386|       |
  387|   102k|    for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E;
  ------------------
  |  Branch (387:71): [True: 68.1k, False: 34.0k]
  ------------------
  388|  68.1k|         ++I) {
  389|  68.1k|      size_t AllocatedSlabSize = BumpPtrAllocator::computeSlabSize(
  390|  68.1k|          std::distance(Allocator.Slabs.begin(), I));
  391|  68.1k|      char *Begin = (char*)alignAddr(*I, alignOf<T>());
  392|  68.1k|      char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr
  ------------------
  |  Branch (392:19): [True: 34.0k, False: 34.0k]
  ------------------
  393|  68.1k|                                               : (char *)*I + AllocatedSlabSize;
  394|       |
  395|  68.1k|      DestroyElements(Begin, End);
  396|  68.1k|    }
  397|       |
  398|  34.0k|    for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
  ------------------
  |  Branch (398:27): [True: 0, False: 34.0k]
  ------------------
  399|      0|      void *Ptr = PtrAndSize.first;
  400|      0|      size_t Size = PtrAndSize.second;
  401|      0|      DestroyElements((char*)alignAddr(Ptr, alignOf<T>()), (char *)Ptr + Size);
  402|      0|    }
  403|       |
  404|  34.0k|    Allocator.Reset();
  405|  34.0k|  }
_ZZN7llvm_ks24SpecificBumpPtrAllocatorINS_12MCSectionELFEE10DestroyAllEvENKUlPcS3_E_clES3_S3_:
  381|  68.1k|    auto DestroyElements = [](char *Begin, char *End) {
  382|  68.1k|      assert(Begin == (char*)alignAddr(Begin, alignOf<T>()));
  ------------------
  |  Branch (382:7): [True: 68.1k, False: 0]
  ------------------
  383|   808k|      for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  ------------------
  |  Branch (383:31): [True: 740k, False: 68.1k]
  ------------------
  384|   740k|        reinterpret_cast<T *>(Ptr)->~T();
  385|  68.1k|    };
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_14MCSectionMachOEE10DestroyAllEv:
  380|  34.0k|  void DestroyAll() {
  381|  34.0k|    auto DestroyElements = [](char *Begin, char *End) {
  382|  34.0k|      assert(Begin == (char*)alignAddr(Begin, alignOf<T>()));
  383|  34.0k|      for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  384|  34.0k|        reinterpret_cast<T *>(Ptr)->~T();
  385|  34.0k|    };
  386|       |
  387|  34.4k|    for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E;
  ------------------
  |  Branch (387:71): [True: 398, False: 34.0k]
  ------------------
  388|  34.0k|         ++I) {
  389|    398|      size_t AllocatedSlabSize = BumpPtrAllocator::computeSlabSize(
  390|    398|          std::distance(Allocator.Slabs.begin(), I));
  391|    398|      char *Begin = (char*)alignAddr(*I, alignOf<T>());
  392|    398|      char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr
  ------------------
  |  Branch (392:19): [True: 398, False: 0]
  ------------------
  393|    398|                                               : (char *)*I + AllocatedSlabSize;
  394|       |
  395|    398|      DestroyElements(Begin, End);
  396|    398|    }
  397|       |
  398|  34.0k|    for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
  ------------------
  |  Branch (398:27): [True: 0, False: 34.0k]
  ------------------
  399|      0|      void *Ptr = PtrAndSize.first;
  400|      0|      size_t Size = PtrAndSize.second;
  401|      0|      DestroyElements((char*)alignAddr(Ptr, alignOf<T>()), (char *)Ptr + Size);
  402|      0|    }
  403|       |
  404|  34.0k|    Allocator.Reset();
  405|  34.0k|  }
_ZZN7llvm_ks24SpecificBumpPtrAllocatorINS_14MCSectionMachOEE10DestroyAllEvENKUlPcS3_E_clES3_S3_:
  381|    398|    auto DestroyElements = [](char *Begin, char *End) {
  382|    398|      assert(Begin == (char*)alignAddr(Begin, alignOf<T>()));
  ------------------
  |  Branch (382:7): [True: 398, False: 0]
  ------------------
  383|    741|      for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  ------------------
  |  Branch (383:31): [True: 343, False: 398]
  ------------------
  384|    343|        reinterpret_cast<T *>(Ptr)->~T();
  385|    398|    };
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_15MCSubtargetInfoEE10DestroyAllEv:
  380|  34.0k|  void DestroyAll() {
  381|  34.0k|    auto DestroyElements = [](char *Begin, char *End) {
  382|  34.0k|      assert(Begin == (char*)alignAddr(Begin, alignOf<T>()));
  383|  34.0k|      for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  384|  34.0k|        reinterpret_cast<T *>(Ptr)->~T();
  385|  34.0k|    };
  386|       |
  387|  34.9k|    for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E;
  ------------------
  |  Branch (387:71): [True: 866, False: 34.0k]
  ------------------
  388|  34.0k|         ++I) {
  389|    866|      size_t AllocatedSlabSize = BumpPtrAllocator::computeSlabSize(
  390|    866|          std::distance(Allocator.Slabs.begin(), I));
  391|    866|      char *Begin = (char*)alignAddr(*I, alignOf<T>());
  392|    866|      char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr
  ------------------
  |  Branch (392:19): [True: 866, False: 0]
  ------------------
  393|    866|                                               : (char *)*I + AllocatedSlabSize;
  394|       |
  395|    866|      DestroyElements(Begin, End);
  396|    866|    }
  397|       |
  398|  34.0k|    for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
  ------------------
  |  Branch (398:27): [True: 0, False: 34.0k]
  ------------------
  399|      0|      void *Ptr = PtrAndSize.first;
  400|      0|      size_t Size = PtrAndSize.second;
  401|      0|      DestroyElements((char*)alignAddr(Ptr, alignOf<T>()), (char *)Ptr + Size);
  402|      0|    }
  403|       |
  404|  34.0k|    Allocator.Reset();
  405|  34.0k|  }
_ZZN7llvm_ks24SpecificBumpPtrAllocatorINS_15MCSubtargetInfoEE10DestroyAllEvENKUlPcS3_E_clES3_S3_:
  381|    866|    auto DestroyElements = [](char *Begin, char *End) {
  382|    866|      assert(Begin == (char*)alignAddr(Begin, alignOf<T>()));
  ------------------
  |  Branch (382:7): [True: 866, False: 0]
  ------------------
  383|  1.36k|      for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  ------------------
  |  Branch (383:31): [True: 499, False: 866]
  ------------------
  384|    499|        reinterpret_cast<T *>(Ptr)->~T();
  385|    866|    };
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE5ResetEv:
  189|   153k|  void Reset() {
  190|       |    // Deallocate all but the first slab, and deallocate all custom-sized slabs.
  191|   153k|    DeallocateCustomSizedSlabs();
  192|   153k|    CustomSizedSlabs.clear();
  193|       |
  194|   153k|    if (Slabs.empty())
  ------------------
  |  Branch (194:9): [True: 101k, False: 52.3k]
  ------------------
  195|   101k|      return;
  196|       |
  197|       |    // Reset the state.
  198|  52.3k|    BytesAllocated = 0;
  199|  52.3k|    CurPtr = (char *)Slabs.front();
  200|  52.3k|    End = CurPtr + SlabSize;
  201|       |
  202|  52.3k|    __asan_poison_memory_region(*Slabs.begin(), computeSlabSize(0));
  203|  52.3k|    DeallocateSlabs(std::next(Slabs.begin()), Slabs.end());
  204|  52.3k|    Slabs.erase(std::next(Slabs.begin()), Slabs.end());
  205|  52.3k|  }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_14MCSectionMachOEE8AllocateEm:
  408|    343|  T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }
_ZN7llvm_ks13AllocatorBaseINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE8AllocateINS_14MCSectionMachOEEEPT_m:
   76|    343|  template <typename T> T *Allocate(size_t Num = 1) {
   77|    343|    return static_cast<T *>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment));
   78|    343|  }
_ZN7llvm_ks13AllocatorBaseINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE8AllocateEmm:
   46|   741k|  void *Allocate(size_t Size, size_t Alignment) {
   47|   741k|#ifdef __clang__
   48|   741k|    static_assert(static_cast<void *(AllocatorBase::*)(size_t, size_t)>(
   49|   741k|                      &AllocatorBase::Allocate) !=
   50|   741k|                      static_cast<void *(DerivedT::*)(size_t, size_t)>(
   51|   741k|                          &DerivedT::Allocate),
   52|   741k|                  "Class derives from AllocatorBase without implementing the "
   53|   741k|                  "core Allocate(size_t, size_t) overload!");
   54|   741k|#endif
   55|   741k|    return static_cast<DerivedT *>(this)->Allocate(Size, Alignment);
   56|   741k|  }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_12MCSectionELFEE8AllocateEm:
  408|   740k|  T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }
_ZN7llvm_ks13AllocatorBaseINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE8AllocateINS_12MCSectionELFEEEPT_m:
   76|   740k|  template <typename T> T *Allocate(size_t Num = 1) {
   77|   740k|    return static_cast<T *>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment));
   78|   740k|  }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_15MCSubtargetInfoEE8AllocateEm:
  408|    499|  T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }
_ZN7llvm_ks13AllocatorBaseINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE8AllocateINS_15MCSubtargetInfoEEEPT_m:
   76|    499|  template <typename T> T *Allocate(size_t Num = 1) {
   77|    499|    return static_cast<T *>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment));
   78|    499|  }

_ZN7llvm_ks4castINS_11MCSymbolELFENS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  69.7k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  69.7k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 69.7k, False: 0]
  |  Branch (237:3): [True: 69.7k, Folded]
  |  Branch (237:3): [True: 69.7k, False: 0]
  ------------------
  238|  69.7k|  return cast_convert_val<X, Y*,
  239|  69.7k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  69.7k|}
_ZN7llvm_ks3isaINS_11MCSymbolELFEPNS_8MCSymbolEEEbRKT0_:
  132|  70.7k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  70.7k|  return isa_impl_wrap<X, const Y,
  134|  70.7k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  70.7k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPNS_8MCSymbolEPKS2_E4doitERS4_:
  111|  70.7k|  static bool doit(const From &Val) {
  112|  70.7k|    return isa_impl_wrap<To, SimpleFrom,
  113|  70.7k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  70.7k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  70.7k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEPKNS_8MCSymbolES4_E4doitERKS4_:
  121|  85.4k|  static bool doit(const FromTy &Val) {
  122|  85.4k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  85.4k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEPKNS_8MCSymbolEE4doitES4_:
   94|  85.4k|  static inline bool doit(const From *Val) {
   95|  85.4k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 85.4k, False: 0]
  |  Branch (95:5): [True: 85.4k, Folded]
  |  Branch (95:5): [True: 85.4k, False: 0]
  ------------------
   96|  85.4k|    return isa_impl<To, From>::doit(*Val);
   97|  85.4k|  }
_ZN7llvm_ks8isa_implINS_11MCSymbolELFENS_8MCSymbolEvE4doitERKS2_:
   55|   168k|  static inline bool doit(const From &Val) {
   56|   168k|    return To::classof(&Val);
   57|   168k|  }
_ZN7llvm_ks13simplify_typeIKPNS_8MCSymbolEE18getSimplifiedValueERS3_:
   45|  70.7k|  static RetType getSimplifiedValue(const From& Val) {
   46|  70.7k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  70.7k|  }
_ZN7llvm_ks13simplify_typeIPNS_8MCSymbolEE18getSimplifiedValueERS2_:
   36|  70.7k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPNS_8MCSymbolES3_E4doitERKS3_:
  200|  69.7k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  69.7k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  69.7k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  69.7k|    return Res2;
  204|  69.7k|  }
_ZN7llvm_ks12cast_or_nullINS_11MCSymbolELFENS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  267|  18.4k|cast_or_null(Y *Val) {
  268|  18.4k|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 17.4k, False: 991]
  ------------------
  269|  18.4k|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 991, False: 0]
  |  Branch (269:3): [True: 991, Folded]
  |  Branch (269:3): [True: 991, False: 0]
  ------------------
  270|    991|  return cast<X>(Val);
  271|    991|}
_ZN7llvm_ks4castINS_11MCSymbolELFES1_EENS_10cast_rettyIT_PT0_E8ret_typeES5_:
  236|    927|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|    927|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 927, False: 0]
  |  Branch (237:3): [True: 927, Folded]
  |  Branch (237:3): [True: 927, False: 0]
  ------------------
  238|    927|  return cast_convert_val<X, Y*,
  239|    927|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|    927|}
_ZN7llvm_ks3isaINS_11MCSymbolELFEPS1_EEbRKT0_:
  132|    927|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|    927|  return isa_impl_wrap<X, const Y,
  134|    927|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|    927|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPS1_PKS1_E4doitERS3_:
  111|    927|  static bool doit(const From &Val) {
  112|    927|    return isa_impl_wrap<To, SimpleFrom,
  113|    927|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|    927|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|    927|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEPKS1_S3_E4doitERKS3_:
  121|    927|  static bool doit(const FromTy &Val) {
  122|    927|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|    927|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEPKS1_E4doitES3_:
   94|    927|  static inline bool doit(const From *Val) {
   95|    927|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 927, False: 0]
  |  Branch (95:5): [True: 927, Folded]
  |  Branch (95:5): [True: 927, False: 0]
  ------------------
   96|    927|    return isa_impl<To, From>::doit(*Val);
   97|    927|  }
_ZN7llvm_ks8isa_implINS_11MCSymbolELFES1_vE4doitERKS1_:
   64|    927|  static inline bool doit(const From &) { return true; }
_ZN7llvm_ks13simplify_typeIKPNS_11MCSymbolELFEE18getSimplifiedValueERS3_:
   45|    927|  static RetType getSimplifiedValue(const From& Val) {
   46|    927|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|    927|  }
_ZN7llvm_ks13simplify_typeIPNS_11MCSymbolELFEE18getSimplifiedValueERS2_:
   36|    927|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPS1_S2_E4doitERKS2_:
  200|    927|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|    927|    typename cast_retty<To, FromTy>::ret_type Res2
  202|    927|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|    927|    return Res2;
  204|    927|  }
_ZN7llvm_ks13simplify_typeIKPKNS_6MCExprEE18getSimplifiedValueERS4_:
   45|  2.67M|  static RetType getSimplifiedValue(const From& Val) {
   46|  2.67M|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  2.67M|  }
_ZN7llvm_ks13simplify_typeIPKNS_6MCExprEE18getSimplifiedValueERS3_:
   36|  2.67M|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks4castINS_12MCBinaryExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   507k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   507k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 507k, False: 0]
  |  Branch (237:3): [True: 507k, Folded]
  |  Branch (237:3): [True: 507k, False: 0]
  ------------------
  238|   507k|  return cast_convert_val<X, Y*,
  239|   507k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   507k|}
_ZN7llvm_ks3isaINS_12MCBinaryExprEPKNS_6MCExprEEEbRKT0_:
  132|   507k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   507k|  return isa_impl_wrap<X, const Y,
  134|   507k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   507k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCBinaryExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   507k|  static bool doit(const From &Val) {
  112|   507k|    return isa_impl_wrap<To, SimpleFrom,
  113|   507k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   507k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   507k|  }
_ZN7llvm_ks13isa_impl_wrapINS_12MCBinaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   507k|  static bool doit(const FromTy &Val) {
  122|   507k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   507k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCBinaryExprEPKNS_6MCExprEE4doitES4_:
   94|   507k|  static inline bool doit(const From *Val) {
   95|   507k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 507k, False: 0]
  |  Branch (95:5): [True: 507k, Folded]
  |  Branch (95:5): [True: 507k, False: 0]
  ------------------
   96|   507k|    return isa_impl<To, From>::doit(*Val);
   97|   507k|  }
_ZN7llvm_ks8isa_implINS_12MCBinaryExprENS_6MCExprEvE4doitERKS2_:
   55|   641k|  static inline bool doit(const From &Val) {
   56|   641k|    return To::classof(&Val);
   57|   641k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCBinaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   507k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   507k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   507k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   507k|    return Res2;
  204|   507k|  }
_ZN7llvm_ks4castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   610k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   610k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 610k, False: 0]
  |  Branch (237:3): [True: 610k, Folded]
  |  Branch (237:3): [True: 610k, False: 0]
  ------------------
  238|   610k|  return cast_convert_val<X, Y*,
  239|   610k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   610k|}
_ZN7llvm_ks3isaINS_15MCSymbolRefExprEPKNS_6MCExprEEEbRKT0_:
  132|   619k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   619k|  return isa_impl_wrap<X, const Y,
  134|   619k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   619k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   619k|  static bool doit(const From &Val) {
  112|   619k|    return isa_impl_wrap<To, SimpleFrom,
  113|   619k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   619k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   619k|  }
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   619k|  static bool doit(const FromTy &Val) {
  122|   619k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   619k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCSymbolRefExprEPKNS_6MCExprEE4doitES4_:
   94|   619k|  static inline bool doit(const From *Val) {
   95|   619k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 619k, False: 0]
  |  Branch (95:5): [True: 619k, Folded]
  |  Branch (95:5): [True: 619k, False: 0]
  ------------------
   96|   619k|    return isa_impl<To, From>::doit(*Val);
   97|   619k|  }
_ZN7llvm_ks8isa_implINS_15MCSymbolRefExprENS_6MCExprEvE4doitERKS2_:
   55|   846k|  static inline bool doit(const From &Val) {
   56|   846k|    return To::classof(&Val);
   57|   846k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCSymbolRefExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   610k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   610k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   610k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   610k|    return Res2;
  204|   610k|  }
_ZN7llvm_ks4castINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  82.9k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  82.9k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 82.9k, False: 0]
  |  Branch (230:3): [True: 82.9k, Folded]
  |  Branch (230:3): [True: 82.9k, False: 0]
  ------------------
  231|  82.9k|  return cast_convert_val<X, Y,
  232|  82.9k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  82.9k|}
_ZN7llvm_ks3isaINS_11MCSymbolELFENS_8MCSymbolEEEbRKT0_:
  132|  82.9k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  82.9k|  return isa_impl_wrap<X, const Y,
  134|  82.9k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  82.9k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKNS_8MCSymbolES3_E4doitERS3_:
  121|  82.9k|  static bool doit(const FromTy &Val) {
  122|  82.9k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  82.9k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEKNS_8MCSymbolEE4doitERS3_:
   74|  82.9k|  static inline bool doit(const From &Val) {
   75|  82.9k|    return isa_impl<To, From>::doit(Val);
   76|  82.9k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEKNS_8MCSymbolES3_E4doitERS3_:
  200|  82.9k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  82.9k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  82.9k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  82.9k|    return Res2;
  204|  82.9k|  }
_ZN7llvm_ks4castINS_11MCUnaryExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   289k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   289k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 289k, False: 0]
  |  Branch (237:3): [True: 289k, Folded]
  |  Branch (237:3): [True: 289k, False: 0]
  ------------------
  238|   289k|  return cast_convert_val<X, Y*,
  239|   289k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   289k|}
_ZN7llvm_ks3isaINS_11MCUnaryExprEPKNS_6MCExprEEEbRKT0_:
  132|   289k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   289k|  return isa_impl_wrap<X, const Y,
  134|   289k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   289k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   289k|  static bool doit(const From &Val) {
  112|   289k|    return isa_impl_wrap<To, SimpleFrom,
  113|   289k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   289k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   289k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   289k|  static bool doit(const FromTy &Val) {
  122|   289k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   289k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCUnaryExprEPKNS_6MCExprEE4doitES4_:
   94|   289k|  static inline bool doit(const From *Val) {
   95|   289k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 289k, False: 0]
  |  Branch (95:5): [True: 289k, Folded]
  |  Branch (95:5): [True: 289k, False: 0]
  ------------------
   96|   289k|    return isa_impl<To, From>::doit(*Val);
   97|   289k|  }
_ZN7llvm_ks8isa_implINS_11MCUnaryExprENS_6MCExprEvE4doitERKS2_:
   55|   340k|  static inline bool doit(const From &Val) {
   56|   340k|    return To::classof(&Val);
   57|   340k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCUnaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   289k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   289k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   289k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   289k|    return Res2;
  204|   289k|  }
_ZN7llvm_ks4castINS_19MCRelaxableFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  12.6k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  12.6k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 12.6k, False: 0]
  |  Branch (237:3): [True: 12.6k, Folded]
  |  Branch (237:3): [True: 12.6k, False: 0]
  ------------------
  238|  12.6k|  return cast_convert_val<X, Y*,
  239|  12.6k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  12.6k|}
_ZN7llvm_ks3isaINS_19MCRelaxableFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  12.6k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  12.6k|  return isa_impl_wrap<X, const Y,
  134|  12.6k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  12.6k|}
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  12.6k|  static bool doit(const From &Val) {
  112|  12.6k|    return isa_impl_wrap<To, SimpleFrom,
  113|  12.6k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  12.6k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  12.6k|  }
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  12.6k|  static bool doit(const FromTy &Val) {
  122|  12.6k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  12.6k|  }
_ZN7llvm_ks11isa_impl_clINS_19MCRelaxableFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  12.6k|  static inline bool doit(const From *Val) {
   95|  12.6k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 12.6k, False: 0]
  |  Branch (95:5): [True: 12.6k, Folded]
  |  Branch (95:5): [True: 12.6k, False: 0]
  ------------------
   96|  12.6k|    return isa_impl<To, From>::doit(*Val);
   97|  12.6k|  }
_ZN7llvm_ks8isa_implINS_19MCRelaxableFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  38.7k|  static inline bool doit(const From &Val) {
   56|  38.7k|    return To::classof(&Val);
   57|  38.7k|  }
_ZN7llvm_ks13simplify_typeIKPNS_10MCFragmentEE18getSimplifiedValueERS3_:
   45|   157M|  static RetType getSimplifiedValue(const From& Val) {
   46|   157M|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|   157M|  }
_ZN7llvm_ks13simplify_typeIPNS_10MCFragmentEE18getSimplifiedValueERS2_:
   36|   157M|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_19MCRelaxableFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  27.2k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  27.2k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  27.2k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  27.2k|    return Res2;
  204|  27.2k|  }
_ZN7llvm_ks4castINS_14MCDataFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  78.7M|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  78.7M|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 78.7M, False: 0]
  |  Branch (237:3): [True: 78.7M, Folded]
  |  Branch (237:3): [True: 78.7M, False: 0]
  ------------------
  238|  78.7M|  return cast_convert_val<X, Y*,
  239|  78.7M|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  78.7M|}
_ZN7llvm_ks3isaINS_14MCDataFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|   157M|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   157M|  return isa_impl_wrap<X, const Y,
  134|   157M|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   157M|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|   157M|  static bool doit(const From &Val) {
  112|   157M|    return isa_impl_wrap<To, SimpleFrom,
  113|   157M|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   157M|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   157M|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|   157M|  static bool doit(const FromTy &Val) {
  122|   157M|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   157M|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|   157M|  static inline bool doit(const From *Val) {
   95|   157M|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 157M, False: 0]
  |  Branch (95:5): [True: 157M, Folded]
  |  Branch (95:5): [True: 157M, False: 0]
  ------------------
   96|   157M|    return isa_impl<To, From>::doit(*Val);
   97|   157M|  }
_ZN7llvm_ks8isa_implINS_14MCDataFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|   157M|  static inline bool doit(const From &Val) {
   56|   157M|    return To::classof(&Val);
   57|   157M|  }
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  78.7M|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  78.7M|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  78.7M|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  78.7M|    return Res2;
  204|  78.7M|  }
_ZN7llvm_ks8dyn_castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  297|  9.76k|dyn_cast(Y *Val) {
  298|  9.76k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 4.70k, False: 5.05k]
  ------------------
  299|  9.76k|}
_ZN7llvm_ks8isa_implINS_14MCConstantExprENS_6MCExprEvE4doitERKS2_:
   55|  1.26M|  static inline bool doit(const From &Val) {
   56|  1.26M|    return To::classof(&Val);
   57|  1.26M|  }
_ZN7llvm_ks4castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|   226k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|   226k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 226k, False: 0]
  |  Branch (230:3): [True: 226k, Folded]
  |  Branch (230:3): [True: 226k, False: 0]
  ------------------
  231|   226k|  return cast_convert_val<X, Y,
  232|   226k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|   226k|}
_ZN7llvm_ks3isaINS_15MCSymbolRefExprENS_6MCExprEEEbRKT0_:
  132|   226k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   226k|  return isa_impl_wrap<X, const Y,
  134|   226k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   226k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEKNS_6MCExprES3_E4doitERS3_:
  121|   226k|  static bool doit(const FromTy &Val) {
  122|   226k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   226k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCSymbolRefExprEKNS_6MCExprEE4doitERS3_:
   74|   226k|  static inline bool doit(const From &Val) {
   75|   226k|    return isa_impl<To, From>::doit(Val);
   76|   226k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCSymbolRefExprEKNS_6MCExprES3_E4doitERS3_:
  200|   226k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   226k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   226k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   226k|    return Res2;
  204|   226k|  }
_ZN7llvm_ks4castINS_11MCUnaryExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  50.9k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  50.9k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 50.9k, False: 0]
  |  Branch (230:3): [True: 50.9k, Folded]
  |  Branch (230:3): [True: 50.9k, False: 0]
  ------------------
  231|  50.9k|  return cast_convert_val<X, Y,
  232|  50.9k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  50.9k|}
_ZN7llvm_ks3isaINS_11MCUnaryExprENS_6MCExprEEEbRKT0_:
  132|  50.9k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  50.9k|  return isa_impl_wrap<X, const Y,
  134|  50.9k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  50.9k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEKNS_6MCExprES3_E4doitERS3_:
  121|  50.9k|  static bool doit(const FromTy &Val) {
  122|  50.9k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  50.9k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCUnaryExprEKNS_6MCExprEE4doitERS3_:
   74|  50.9k|  static inline bool doit(const From &Val) {
   75|  50.9k|    return isa_impl<To, From>::doit(Val);
   76|  50.9k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCUnaryExprEKNS_6MCExprES3_E4doitERS3_:
  200|  50.9k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  50.9k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  50.9k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  50.9k|    return Res2;
  204|  50.9k|  }
_ZN7llvm_ks4castINS_12MCBinaryExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|   134k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|   134k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 134k, False: 0]
  |  Branch (230:3): [True: 134k, Folded]
  |  Branch (230:3): [True: 134k, False: 0]
  ------------------
  231|   134k|  return cast_convert_val<X, Y,
  232|   134k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|   134k|}
_ZN7llvm_ks3isaINS_12MCBinaryExprENS_6MCExprEEEbRKT0_:
  132|   134k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   134k|  return isa_impl_wrap<X, const Y,
  134|   134k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   134k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCBinaryExprEKNS_6MCExprES3_E4doitERS3_:
  121|   134k|  static bool doit(const FromTy &Val) {
  122|   134k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   134k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCBinaryExprEKNS_6MCExprEE4doitERS3_:
   74|   134k|  static inline bool doit(const From &Val) {
   75|   134k|    return isa_impl<To, From>::doit(Val);
   76|   134k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCBinaryExprEKNS_6MCExprES3_E4doitERS3_:
  200|   134k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   134k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   134k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   134k|    return Res2;
  204|   134k|  }
_ZN7llvm_ks3isaINS_14MCConstantExprEPKNS_6MCExprEEEbRKT0_:
  132|  1.26M|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  1.26M|  return isa_impl_wrap<X, const Y,
  134|  1.26M|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  1.26M|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCConstantExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|  1.26M|  static bool doit(const From &Val) {
  112|  1.26M|    return isa_impl_wrap<To, SimpleFrom,
  113|  1.26M|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  1.26M|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  1.26M|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCConstantExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|  1.26M|  static bool doit(const FromTy &Val) {
  122|  1.26M|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  1.26M|  }
_ZN7llvm_ks11isa_impl_clINS_14MCConstantExprEPKNS_6MCExprEE4doitES4_:
   94|  1.26M|  static inline bool doit(const From *Val) {
   95|  1.26M|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 1.26M, False: 0]
  |  Branch (95:5): [True: 1.26M, Folded]
  |  Branch (95:5): [True: 1.26M, False: 0]
  ------------------
   96|  1.26M|    return isa_impl<To, From>::doit(*Val);
   97|  1.26M|  }
_ZN7llvm_ks8dyn_castINS_14MCConstantExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  297|   657k|dyn_cast(Y *Val) {
  298|   657k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 245k, False: 412k]
  ------------------
  299|   657k|}
_ZN7llvm_ks4castINS_14MCConstantExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   567k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   567k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 567k, False: 0]
  |  Branch (237:3): [True: 567k, Folded]
  |  Branch (237:3): [True: 567k, False: 0]
  ------------------
  238|   567k|  return cast_convert_val<X, Y*,
  239|   567k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   567k|}
_ZN7llvm_ks16cast_convert_valINS_14MCConstantExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   567k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   567k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   567k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   567k|    return Res2;
  204|   567k|  }
_ZN7llvm_ks4castINS_15MCAlignFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  11.6k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  11.6k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 11.6k, False: 0]
  |  Branch (237:3): [True: 11.6k, Folded]
  |  Branch (237:3): [True: 11.6k, False: 0]
  ------------------
  238|  11.6k|  return cast_convert_val<X, Y*,
  239|  11.6k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  11.6k|}
_ZN7llvm_ks3isaINS_15MCAlignFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  11.6k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  11.6k|  return isa_impl_wrap<X, const Y,
  134|  11.6k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  11.6k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  11.6k|  static bool doit(const From &Val) {
  112|  11.6k|    return isa_impl_wrap<To, SimpleFrom,
  113|  11.6k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  11.6k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  11.6k|  }
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  11.6k|  static bool doit(const FromTy &Val) {
  122|  11.6k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  11.6k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCAlignFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  11.6k|  static inline bool doit(const From *Val) {
   95|  11.6k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 11.6k, False: 0]
  |  Branch (95:5): [True: 11.6k, Folded]
  |  Branch (95:5): [True: 11.6k, False: 0]
  ------------------
   96|  11.6k|    return isa_impl<To, From>::doit(*Val);
   97|  11.6k|  }
_ZN7llvm_ks8isa_implINS_15MCAlignFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  39.8k|  static inline bool doit(const From &Val) {
   56|  39.8k|    return To::classof(&Val);
   57|  39.8k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCAlignFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  11.6k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  11.6k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  11.6k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  11.6k|    return Res2;
  204|  11.6k|  }
_ZN7llvm_ks4castINS_14MCFillFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  5.48k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  5.48k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 5.48k, False: 0]
  |  Branch (237:3): [True: 5.48k, Folded]
  |  Branch (237:3): [True: 5.48k, False: 0]
  ------------------
  238|  5.48k|  return cast_convert_val<X, Y*,
  239|  5.48k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  5.48k|}
_ZN7llvm_ks3isaINS_14MCFillFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  5.48k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  5.48k|  return isa_impl_wrap<X, const Y,
  134|  5.48k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  5.48k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  5.48k|  static bool doit(const From &Val) {
  112|  5.48k|    return isa_impl_wrap<To, SimpleFrom,
  113|  5.48k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  5.48k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  5.48k|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  5.48k|  static bool doit(const FromTy &Val) {
  122|  5.48k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  5.48k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCFillFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  5.48k|  static inline bool doit(const From *Val) {
   95|  5.48k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 5.48k, False: 0]
  |  Branch (95:5): [True: 5.48k, Folded]
  |  Branch (95:5): [True: 5.48k, False: 0]
  ------------------
   96|  5.48k|    return isa_impl<To, From>::doit(*Val);
   97|  5.48k|  }
_ZN7llvm_ks8isa_implINS_14MCFillFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  21.5k|  static inline bool doit(const From &Val) {
   56|  21.5k|    return To::classof(&Val);
   57|  21.5k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCFillFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  5.48k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  5.48k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  5.48k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  5.48k|    return Res2;
  204|  5.48k|  }
_ZN7llvm_ks4castINS_13MCOrgFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  9.13k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  9.13k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 9.13k, False: 0]
  |  Branch (237:3): [True: 9.13k, Folded]
  |  Branch (237:3): [True: 9.13k, False: 0]
  ------------------
  238|  9.13k|  return cast_convert_val<X, Y*,
  239|  9.13k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  9.13k|}
_ZN7llvm_ks3isaINS_13MCOrgFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  9.13k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  9.13k|  return isa_impl_wrap<X, const Y,
  134|  9.13k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  9.13k|}
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  9.13k|  static bool doit(const From &Val) {
  112|  9.13k|    return isa_impl_wrap<To, SimpleFrom,
  113|  9.13k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  9.13k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  9.13k|  }
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  9.13k|  static bool doit(const FromTy &Val) {
  122|  9.13k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  9.13k|  }
_ZN7llvm_ks11isa_impl_clINS_13MCOrgFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  9.13k|  static inline bool doit(const From *Val) {
   95|  9.13k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 9.13k, False: 0]
  |  Branch (95:5): [True: 9.13k, Folded]
  |  Branch (95:5): [True: 9.13k, False: 0]
  ------------------
   96|  9.13k|    return isa_impl<To, From>::doit(*Val);
   97|  9.13k|  }
_ZN7llvm_ks8isa_implINS_13MCOrgFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  20.0k|  static inline bool doit(const From &Val) {
   56|  20.0k|    return To::classof(&Val);
   57|  20.0k|  }
_ZN7llvm_ks16cast_convert_valINS_13MCOrgFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  9.13k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  9.13k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  9.13k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  9.13k|    return Res2;
  204|  9.13k|  }
_ZN7llvm_ks16dyn_cast_or_nullINS_14MCDataFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  320|  79.0M|dyn_cast_or_null(Y *Val) {
  321|  79.0M|  return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (321:11): [True: 78.8M, False: 222k]
  |  Branch (321:18): [True: 78.7M, False: 38.9k]
  ------------------
  322|  79.0M|}
_ZN7llvm_ks4castINS_14MCDataFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  21.0k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  21.0k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 21.0k, False: 0]
  |  Branch (230:3): [True: 21.0k, Folded]
  |  Branch (230:3): [True: 21.0k, False: 0]
  ------------------
  231|  21.0k|  return cast_convert_val<X, Y,
  232|  21.0k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  21.0k|}
_ZN7llvm_ks3isaINS_14MCDataFragmentENS_10MCFragmentEEEbRKT0_:
  132|  21.0k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  21.0k|  return isa_impl_wrap<X, const Y,
  134|  21.0k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  21.0k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  21.0k|  static bool doit(const FromTy &Val) {
  122|  21.0k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  21.0k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  21.0k|  static inline bool doit(const From &Val) {
   75|  21.0k|    return isa_impl<To, From>::doit(Val);
   76|  21.0k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  21.0k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  21.0k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  21.0k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  21.0k|    return Res2;
  204|  21.0k|  }
_ZN7llvm_ks4castINS_19MCRelaxableFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  11.5k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  11.5k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 11.5k, False: 0]
  |  Branch (230:3): [True: 11.5k, Folded]
  |  Branch (230:3): [True: 11.5k, False: 0]
  ------------------
  231|  11.5k|  return cast_convert_val<X, Y,
  232|  11.5k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  11.5k|}
_ZN7llvm_ks3isaINS_19MCRelaxableFragmentENS_10MCFragmentEEEbRKT0_:
  132|  11.5k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  11.5k|  return isa_impl_wrap<X, const Y,
  134|  11.5k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  11.5k|}
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  11.5k|  static bool doit(const FromTy &Val) {
  122|  11.5k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  11.5k|  }
_ZN7llvm_ks11isa_impl_clINS_19MCRelaxableFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  11.5k|  static inline bool doit(const From &Val) {
   75|  11.5k|    return isa_impl<To, From>::doit(Val);
   76|  11.5k|  }
_ZN7llvm_ks16cast_convert_valINS_19MCRelaxableFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  11.5k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  11.5k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  11.5k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  11.5k|    return Res2;
  204|  11.5k|  }
_ZN7llvm_ks4castINS_14MCFillFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  16.0k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  16.0k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 16.0k, False: 0]
  |  Branch (230:3): [True: 16.0k, Folded]
  |  Branch (230:3): [True: 16.0k, False: 0]
  ------------------
  231|  16.0k|  return cast_convert_val<X, Y,
  232|  16.0k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  16.0k|}
_ZN7llvm_ks3isaINS_14MCFillFragmentENS_10MCFragmentEEEbRKT0_:
  132|  16.0k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  16.0k|  return isa_impl_wrap<X, const Y,
  134|  16.0k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  16.0k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  16.0k|  static bool doit(const FromTy &Val) {
  122|  16.0k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  16.0k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCFillFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  16.0k|  static inline bool doit(const From &Val) {
   75|  16.0k|    return isa_impl<To, From>::doit(Val);
   76|  16.0k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCFillFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  16.0k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  16.0k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  16.0k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  16.0k|    return Res2;
  204|  16.0k|  }
_ZN7llvm_ks4castINS_15MCAlignFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  28.1k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  28.1k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 28.1k, False: 0]
  |  Branch (230:3): [True: 28.1k, Folded]
  |  Branch (230:3): [True: 28.1k, False: 0]
  ------------------
  231|  28.1k|  return cast_convert_val<X, Y,
  232|  28.1k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  28.1k|}
_ZN7llvm_ks3isaINS_15MCAlignFragmentENS_10MCFragmentEEEbRKT0_:
  132|  28.1k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  28.1k|  return isa_impl_wrap<X, const Y,
  134|  28.1k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  28.1k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  28.1k|  static bool doit(const FromTy &Val) {
  122|  28.1k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  28.1k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCAlignFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  28.1k|  static inline bool doit(const From &Val) {
   75|  28.1k|    return isa_impl<To, From>::doit(Val);
   76|  28.1k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCAlignFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  28.1k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  28.1k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  28.1k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  28.1k|    return Res2;
  204|  28.1k|  }
_ZN7llvm_ks4castINS_13MCOrgFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  10.9k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  10.9k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 10.9k, False: 0]
  |  Branch (230:3): [True: 10.9k, Folded]
  |  Branch (230:3): [True: 10.9k, False: 0]
  ------------------
  231|  10.9k|  return cast_convert_val<X, Y,
  232|  10.9k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  10.9k|}
_ZN7llvm_ks3isaINS_13MCOrgFragmentENS_10MCFragmentEEEbRKT0_:
  132|  10.9k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  10.9k|  return isa_impl_wrap<X, const Y,
  134|  10.9k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  10.9k|}
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  10.9k|  static bool doit(const FromTy &Val) {
  122|  10.9k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  10.9k|  }
_ZN7llvm_ks11isa_impl_clINS_13MCOrgFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  10.9k|  static inline bool doit(const From &Val) {
   75|  10.9k|    return isa_impl<To, From>::doit(Val);
   76|  10.9k|  }
_ZN7llvm_ks16cast_convert_valINS_13MCOrgFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  10.9k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  10.9k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  10.9k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  10.9k|    return Res2;
  204|  10.9k|  }
_ZN7llvm_ks3isaINS_17MCEncodedFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  42.1k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  42.1k|  return isa_impl_wrap<X, const Y,
  134|  42.1k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  42.1k|}
_ZN7llvm_ks13isa_impl_wrapINS_17MCEncodedFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  42.1k|  static bool doit(const From &Val) {
  112|  42.1k|    return isa_impl_wrap<To, SimpleFrom,
  113|  42.1k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  42.1k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  42.1k|  }
_ZN7llvm_ks13isa_impl_wrapINS_17MCEncodedFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  42.1k|  static bool doit(const FromTy &Val) {
  122|  42.1k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  42.1k|  }
_ZN7llvm_ks11isa_impl_clINS_17MCEncodedFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  42.1k|  static inline bool doit(const From *Val) {
   95|  42.1k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 42.1k, False: 0]
  |  Branch (95:5): [True: 42.1k, Folded]
  |  Branch (95:5): [True: 42.1k, False: 0]
  ------------------
   96|  42.1k|    return isa_impl<To, From>::doit(*Val);
   97|  42.1k|  }
_ZN7llvm_ks8isa_implINS_17MCEncodedFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  42.1k|  static inline bool doit(const From &Val) {
   56|  42.1k|    return To::classof(&Val);
   57|  42.1k|  }
_ZN7llvm_ks13simplify_typeIKPKNS_9MCSectionEE18getSimplifiedValueERS4_:
   45|  7.25k|  static RetType getSimplifiedValue(const From& Val) {
   46|  7.25k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  7.25k|  }
_ZN7llvm_ks13simplify_typeIPKNS_9MCSectionEE18getSimplifiedValueERS3_:
   36|  7.25k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks8dyn_castINS_17MCEncodedFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  297|  31.7k|dyn_cast(Y *Val) {
  298|  31.7k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 10.3k, False: 21.3k]
  ------------------
  299|  31.7k|}
_ZN7llvm_ks4castINS_17MCEncodedFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  10.3k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  10.3k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 10.3k, False: 0]
  |  Branch (237:3): [True: 10.3k, Folded]
  |  Branch (237:3): [True: 10.3k, False: 0]
  ------------------
  238|  10.3k|  return cast_convert_val<X, Y*,
  239|  10.3k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  10.3k|}
_ZN7llvm_ks16cast_convert_valINS_17MCEncodedFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  10.3k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  10.3k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  10.3k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  10.3k|    return Res2;
  204|  10.3k|  }
_ZN7llvm_ks3isaINS_28MCCompactEncodedInstFragmentEPNS_17MCEncodedFragmentEEEbRKT0_:
  132|  10.3k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  10.3k|  return isa_impl_wrap<X, const Y,
  134|  10.3k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  10.3k|}
_ZN7llvm_ks13isa_impl_wrapINS_28MCCompactEncodedInstFragmentEKPNS_17MCEncodedFragmentEPKS2_E4doitERS4_:
  111|  10.3k|  static bool doit(const From &Val) {
  112|  10.3k|    return isa_impl_wrap<To, SimpleFrom,
  113|  10.3k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  10.3k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  10.3k|  }
_ZN7llvm_ks13isa_impl_wrapINS_28MCCompactEncodedInstFragmentEPKNS_17MCEncodedFragmentES4_E4doitERKS4_:
  121|  10.3k|  static bool doit(const FromTy &Val) {
  122|  10.3k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  10.3k|  }
_ZN7llvm_ks11isa_impl_clINS_28MCCompactEncodedInstFragmentEPKNS_17MCEncodedFragmentEE4doitES4_:
   94|  10.3k|  static inline bool doit(const From *Val) {
   95|  10.3k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 10.3k, False: 0]
  |  Branch (95:5): [True: 10.3k, Folded]
  |  Branch (95:5): [True: 10.3k, False: 0]
  ------------------
   96|  10.3k|    return isa_impl<To, From>::doit(*Val);
   97|  10.3k|  }
_ZN7llvm_ks8isa_implINS_28MCCompactEncodedInstFragmentENS_17MCEncodedFragmentEvE4doitERKS2_:
   55|  10.3k|  static inline bool doit(const From &Val) {
   56|  10.3k|    return To::classof(&Val);
   57|  10.3k|  }
_ZN7llvm_ks13simplify_typeIKPNS_17MCEncodedFragmentEE18getSimplifiedValueERS3_:
   45|  32.7k|  static RetType getSimplifiedValue(const From& Val) {
   46|  32.7k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  32.7k|  }
_ZN7llvm_ks13simplify_typeIPNS_17MCEncodedFragmentEE18getSimplifiedValueERS2_:
   36|  32.7k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks8dyn_castINS_14MCDataFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  297|  10.3k|dyn_cast(Y *Val) {
  298|  10.3k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 8.74k, False: 1.63k]
  ------------------
  299|  10.3k|}
_ZN7llvm_ks3isaINS_14MCDataFragmentEPNS_17MCEncodedFragmentEEEbRKT0_:
  132|  19.1k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  19.1k|  return isa_impl_wrap<X, const Y,
  134|  19.1k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  19.1k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKPNS_17MCEncodedFragmentEPKS2_E4doitERS4_:
  111|  19.1k|  static bool doit(const From &Val) {
  112|  19.1k|    return isa_impl_wrap<To, SimpleFrom,
  113|  19.1k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  19.1k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  19.1k|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEPKNS_17MCEncodedFragmentES4_E4doitERKS4_:
  121|  19.1k|  static bool doit(const FromTy &Val) {
  122|  19.1k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  19.1k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEPKNS_17MCEncodedFragmentEE4doitES4_:
   94|  19.1k|  static inline bool doit(const From *Val) {
   95|  19.1k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 19.1k, False: 0]
  |  Branch (95:5): [True: 19.1k, Folded]
  |  Branch (95:5): [True: 19.1k, False: 0]
  ------------------
   96|  19.1k|    return isa_impl<To, From>::doit(*Val);
   97|  19.1k|  }
_ZN7llvm_ks8isa_implINS_14MCDataFragmentENS_17MCEncodedFragmentEvE4doitERKS2_:
   55|  19.1k|  static inline bool doit(const From &Val) {
   56|  19.1k|    return To::classof(&Val);
   57|  19.1k|  }
_ZN7llvm_ks4castINS_14MCDataFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  8.74k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  8.74k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 8.74k, False: 0]
  |  Branch (237:3): [True: 8.74k, Folded]
  |  Branch (237:3): [True: 8.74k, False: 0]
  ------------------
  238|  8.74k|  return cast_convert_val<X, Y*,
  239|  8.74k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  8.74k|}
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEPNS_17MCEncodedFragmentES3_E4doitERKS3_:
  200|  8.74k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  8.74k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  8.74k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  8.74k|    return Res2;
  204|  8.74k|  }
_ZN7llvm_ks8dyn_castINS_19MCRelaxableFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  297|  1.63k|dyn_cast(Y *Val) {
  298|  1.63k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 1.63k, False: 0]
  ------------------
  299|  1.63k|}
_ZN7llvm_ks3isaINS_19MCRelaxableFragmentEPNS_17MCEncodedFragmentEEEbRKT0_:
  132|  3.27k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  3.27k|  return isa_impl_wrap<X, const Y,
  134|  3.27k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  3.27k|}
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEKPNS_17MCEncodedFragmentEPKS2_E4doitERS4_:
  111|  3.27k|  static bool doit(const From &Val) {
  112|  3.27k|    return isa_impl_wrap<To, SimpleFrom,
  113|  3.27k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  3.27k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  3.27k|  }
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEPKNS_17MCEncodedFragmentES4_E4doitERKS4_:
  121|  3.27k|  static bool doit(const FromTy &Val) {
  122|  3.27k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  3.27k|  }
_ZN7llvm_ks11isa_impl_clINS_19MCRelaxableFragmentEPKNS_17MCEncodedFragmentEE4doitES4_:
   94|  3.27k|  static inline bool doit(const From *Val) {
   95|  3.27k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 3.27k, False: 0]
  |  Branch (95:5): [True: 3.27k, Folded]
  |  Branch (95:5): [True: 3.27k, False: 0]
  ------------------
   96|  3.27k|    return isa_impl<To, From>::doit(*Val);
   97|  3.27k|  }
_ZN7llvm_ks8isa_implINS_19MCRelaxableFragmentENS_17MCEncodedFragmentEvE4doitERKS2_:
   55|  3.27k|  static inline bool doit(const From &Val) {
   56|  3.27k|    return To::classof(&Val);
   57|  3.27k|  }
_ZN7llvm_ks4castINS_19MCRelaxableFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  1.63k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  1.63k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 1.63k, False: 0]
  |  Branch (237:3): [True: 1.63k, Folded]
  |  Branch (237:3): [True: 1.63k, False: 0]
  ------------------
  238|  1.63k|  return cast_convert_val<X, Y*,
  239|  1.63k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  1.63k|}
_ZN7llvm_ks16cast_convert_valINS_19MCRelaxableFragmentEPNS_17MCEncodedFragmentES3_E4doitERKS3_:
  200|  1.63k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  1.63k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  1.63k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  1.63k|    return Res2;
  204|  1.63k|  }
_ZN7llvm_ks4castINS_19MCRelaxableFragmentENS_14ilist_iteratorINS_10MCFragmentEEEEENS_10cast_rettyIT_T0_E8ret_typeERS7_:
  229|  14.6k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  14.6k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 14.6k, False: 0]
  |  Branch (230:3): [True: 14.6k, Folded]
  |  Branch (230:3): [True: 14.6k, False: 0]
  ------------------
  231|  14.6k|  return cast_convert_val<X, Y,
  232|  14.6k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  14.6k|}
_ZN7llvm_ks3isaINS_19MCRelaxableFragmentENS_14ilist_iteratorINS_10MCFragmentEEEEEbRKT0_:
  132|  14.6k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  14.6k|  return isa_impl_wrap<X, const Y,
  134|  14.6k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  14.6k|}
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEKNS_14ilist_iteratorINS_10MCFragmentEEEPS3_E4doitERS5_:
  111|  14.6k|  static bool doit(const From &Val) {
  112|  14.6k|    return isa_impl_wrap<To, SimpleFrom,
  113|  14.6k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  14.6k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  14.6k|  }
_ZN7llvm_ks13isa_impl_wrapINS_19MCRelaxableFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  121|  14.6k|  static bool doit(const FromTy &Val) {
  122|  14.6k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  14.6k|  }
_ZN7llvm_ks11isa_impl_clINS_19MCRelaxableFragmentEPNS_10MCFragmentEE4doitEPKS2_:
   80|  14.6k|  static inline bool doit(const From *Val) {
   81|  14.6k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (81:5): [True: 14.6k, False: 0]
  |  Branch (81:5): [True: 14.6k, Folded]
  |  Branch (81:5): [True: 14.6k, False: 0]
  ------------------
   82|  14.6k|    return isa_impl<To, From>::doit(*Val);
   83|  14.6k|  }
_ZN7llvm_ks16cast_convert_valINS_19MCRelaxableFragmentENS_14ilist_iteratorINS_10MCFragmentEEEPS3_E4doitERS4_:
  191|  14.6k|  static typename cast_retty<To, From>::ret_type doit(From &Val) {
  192|  14.6k|    return cast_convert_val<To, SimpleFrom,
  193|  14.6k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  194|  14.6k|                          simplify_type<From>::getSimplifiedValue(Val));
  195|  14.6k|  }
_ZN7llvm_ks3isaINS_11MCSymbolELFEPKNS_8MCSymbolEEEbRKT0_:
  132|  14.6k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  14.6k|  return isa_impl_wrap<X, const Y,
  134|  14.6k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  14.6k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPKNS_8MCSymbolES4_E4doitERS5_:
  111|  14.6k|  static bool doit(const From &Val) {
  112|  14.6k|    return isa_impl_wrap<To, SimpleFrom,
  113|  14.6k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  14.6k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  14.6k|  }
_ZN7llvm_ks13simplify_typeIKPKNS_8MCSymbolEE18getSimplifiedValueERS4_:
   45|  14.6k|  static RetType getSimplifiedValue(const From& Val) {
   46|  14.6k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  14.6k|  }
_ZN7llvm_ks13simplify_typeIPKNS_8MCSymbolEE18getSimplifiedValueERS3_:
   36|  14.6k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks4castINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|  10.9k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  10.9k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 10.9k, False: 0]
  |  Branch (237:3): [True: 10.9k, Folded]
  |  Branch (237:3): [True: 10.9k, False: 0]
  ------------------
  238|  10.9k|  return cast_convert_val<X, Y*,
  239|  10.9k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  10.9k|}
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPKNS_8MCSymbolES4_E4doitERKS4_:
  200|  10.9k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  10.9k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  10.9k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  10.9k|    return Res2;
  204|  10.9k|  }
_ZN7llvm_ks4castINS_12MCSectionELFENS_9MCSectionEEENS_10cast_rettyIT_T0_E8ret_typeERS5_:
  229|  13.3k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  13.3k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 13.3k, False: 0]
  |  Branch (230:3): [True: 13.3k, Folded]
  |  Branch (230:3): [True: 13.3k, False: 0]
  ------------------
  231|  13.3k|  return cast_convert_val<X, Y,
  232|  13.3k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  13.3k|}
_ZN7llvm_ks3isaINS_12MCSectionELFENS_9MCSectionEEEbRKT0_:
  132|  13.3k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  13.3k|  return isa_impl_wrap<X, const Y,
  134|  13.3k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  13.3k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEKNS_9MCSectionES3_E4doitERS3_:
  121|  13.3k|  static bool doit(const FromTy &Val) {
  122|  13.3k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  13.3k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCSectionELFEKNS_9MCSectionEE4doitERS3_:
   74|  13.3k|  static inline bool doit(const From &Val) {
   75|  13.3k|    return isa_impl<To, From>::doit(Val);
   76|  13.3k|  }
_ZN7llvm_ks8isa_implINS_12MCSectionELFENS_9MCSectionEvE4doitERKS2_:
   55|  20.5k|  static inline bool doit(const From &Val) {
   56|  20.5k|    return To::classof(&Val);
   57|  20.5k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCSectionELFENS_9MCSectionES2_E4doitERKS2_:
  200|  13.3k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  13.3k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  13.3k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  13.3k|    return Res2;
  204|  13.3k|  }
_ZN7llvm_ks12cast_or_nullINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  267|  4.19k|cast_or_null(Y *Val) {
  268|  4.19k|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 520, False: 3.67k]
  ------------------
  269|  4.19k|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 3.67k, False: 0]
  |  Branch (269:3): [True: 3.67k, Folded]
  |  Branch (269:3): [True: 3.67k, False: 0]
  ------------------
  270|  3.67k|  return cast<X>(Val);
  271|  3.67k|}
_ZN7llvm_ks12cast_or_nullINS_12MCSectionELFEKNS_9MCSectionEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  267|  4.14k|cast_or_null(Y *Val) {
  268|  4.14k|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 520, False: 3.62k]
  ------------------
  269|  4.14k|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 3.62k, False: 0]
  |  Branch (269:3): [True: 3.62k, Folded]
  |  Branch (269:3): [True: 3.62k, False: 0]
  ------------------
  270|  3.62k|  return cast<X>(Val);
  271|  3.62k|}
_ZN7llvm_ks3isaINS_12MCSectionELFEPKNS_9MCSectionEEEbRKT0_:
  132|  7.25k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  7.25k|  return isa_impl_wrap<X, const Y,
  134|  7.25k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  7.25k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEKPKNS_9MCSectionES4_E4doitERS5_:
  111|  7.25k|  static bool doit(const From &Val) {
  112|  7.25k|    return isa_impl_wrap<To, SimpleFrom,
  113|  7.25k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  7.25k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  7.25k|  }
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEPKNS_9MCSectionES4_E4doitERKS4_:
  121|  7.25k|  static bool doit(const FromTy &Val) {
  122|  7.25k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  7.25k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCSectionELFEPKNS_9MCSectionEE4doitES4_:
   94|  7.25k|  static inline bool doit(const From *Val) {
   95|  7.25k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 7.25k, False: 0]
  |  Branch (95:5): [True: 7.25k, Folded]
  |  Branch (95:5): [True: 7.25k, False: 0]
  ------------------
   96|  7.25k|    return isa_impl<To, From>::doit(*Val);
   97|  7.25k|  }
_ZN7llvm_ks4castINS_12MCSectionELFEKNS_9MCSectionEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|  3.62k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  3.62k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 3.62k, False: 0]
  |  Branch (237:3): [True: 3.62k, Folded]
  |  Branch (237:3): [True: 3.62k, False: 0]
  ------------------
  238|  3.62k|  return cast_convert_val<X, Y*,
  239|  3.62k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  3.62k|}
_ZN7llvm_ks16cast_convert_valINS_12MCSectionELFEPKNS_9MCSectionES4_E4doitERKS4_:
  200|  3.62k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  3.62k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  3.62k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  3.62k|    return Res2;
  204|  3.62k|  }

_ZN7llvm_ks7ErrorOrINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEEEC2ES6_:
  110|  17.0k|  ErrorOr(T Val) : HasError(false) {
  111|  17.0k|    new (getStorage()) storage_type(moveIfMoveConstructible<storage_type>(Val));
  112|  17.0k|  }
_ZN7llvm_ks7ErrorOrINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEEE10getStorageEv:
  262|  51.1k|  storage_type *getStorage() {
  263|  51.1k|    assert(!HasError && "Cannot get value when an error exists!");
  ------------------
  |  Branch (263:5): [True: 51.1k, False: 0]
  |  Branch (263:5): [True: 51.1k, Folded]
  |  Branch (263:5): [True: 51.1k, False: 0]
  ------------------
  264|  51.1k|    return reinterpret_cast<storage_type*>(TStorage.buffer);
  265|  51.1k|  }
_ZN7llvm_ks23moveIfMoveConstructibleINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEES6_EEONS1_9enable_ifIXsr3std16is_constructibleIT_T0_EE5valueENS1_16remove_referenceIS9_E4typeEE4typeERS9_:
   29|  17.0k| moveIfMoveConstructible(V &Val) {
   30|  17.0k|  return std::move(Val);
   31|  17.0k|}
_ZN7llvm_ks7ErrorOrINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEEED2Ev:
  166|  17.0k|  ~ErrorOr() {
  167|  17.0k|    if (!HasError)
  ------------------
  |  Branch (167:9): [True: 17.0k, False: 7]
  ------------------
  168|  17.0k|      getStorage()->~storage_type();
  169|  17.0k|  }
_ZNK7llvm_ks7ErrorOrINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEEE8getErrorEv:
  179|  17.0k|  std::error_code getError() const {
  180|  17.0k|    return HasError ? *getErrorStorage() : std::error_code();
  ------------------
  |  Branch (180:12): [True: 0, False: 17.0k]
  ------------------
  181|  17.0k|  }
_ZN7llvm_ks7ErrorOrINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEEE15getErrorStorageEv:
  272|      7|  std::error_code *getErrorStorage() {
  273|      7|    assert(HasError && "Cannot get error when a value exists!");
  ------------------
  |  Branch (273:5): [True: 7, False: 0]
  |  Branch (273:5): [True: 7, Folded]
  |  Branch (273:5): [True: 7, False: 0]
  ------------------
  274|      7|    return reinterpret_cast<std::error_code *>(ErrorStorage.buffer);
  275|      7|  }
_ZN7llvm_ks7ErrorOrINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEEEdeEv:
  189|  17.0k|  reference operator *() {
  190|  17.0k|    return *getStorage();
  191|  17.0k|  }
_ZN7llvm_ks7ErrorOrINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEEEC2ENS1_10error_codeE:
  106|      7|  ErrorOr(std::error_code EC) : HasError(true) {
  107|      7|    new (getErrorStorage()) std::error_code(EC);
  108|      7|  }
_ZNK7llvm_ks7ErrorOrINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEEEcvbEv:
  172|      7|  explicit operator bool() const {
  173|      7|    return !HasError;
  174|      7|  }

_ZN7llvm_ks3sys2fs8UniqueIDC2Emm:
  123|  34.0k|  UniqueID(uint64_t Device, uint64_t File) : Device(Device), File(File) {}
_ZNK7llvm_ks3sys2fs8UniqueIDeqERKS2_:
  124|  17.0k|  bool operator==(const UniqueID &Other) const {
  125|  17.0k|    return Device == Other.Device && File == Other.File;
  ------------------
  |  Branch (125:12): [True: 17.0k, False: 0]
  |  Branch (125:38): [True: 17.0k, False: 0]
  ------------------
  126|  17.0k|  }
_ZN7llvm_ks3sys2fs11file_statusC2Ev:
  161|  34.0k|    file_status() : fs_st_dev(0), fs_st_ino(0), fs_st_mtime(0),
  162|  34.0k|        fs_st_uid(0), fs_st_gid(0), fs_st_size(0),
  163|  34.0k|        Type(file_type::status_error), Perms(perms_not_known) {}
_ZN7llvm_ks3sys2fs11file_statusC2ENS1_9file_typeENS1_5permsEmmljjl:
  171|  34.0k|        : fs_st_dev(Dev), fs_st_ino(Ino), fs_st_mtime(MTime), fs_st_uid(UID),
  172|  34.0k|          fs_st_gid(GID), fs_st_size(Size), Type(Type), Perms(Perms) {}
_ZNK7llvm_ks3sys2fs11file_status4typeEv:
  196|      1|  file_type type() const { return Type; }

_ZN7llvm_ks13encodeSLEB128ElRNS_11raw_ostreamE:
   23|      7|inline void encodeSLEB128(int64_t Value, raw_ostream &OS) {
   24|      7|  bool More;
   25|     54|  do {
   26|     54|    uint8_t Byte = Value & 0x7f;
   27|       |    // NOTE: this assumes that this signed shift is an arithmetic right shift.
   28|     54|    Value >>= 7;
   29|     54|    More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) ||
  ------------------
  |  Branch (29:16): [True: 0, False: 54]
  |  Branch (29:33): [True: 0, False: 0]
  ------------------
   30|     54|              ((Value == -1) && ((Byte & 0x40) != 0))));
  ------------------
  |  Branch (30:16): [True: 8, False: 46]
  |  Branch (30:33): [True: 7, False: 1]
  ------------------
   31|     54|    if (More)
  ------------------
  |  Branch (31:9): [True: 47, False: 7]
  ------------------
   32|     47|      Byte |= 0x80; // Mark this byte to show that more bytes will follow.
   33|     54|    OS << char(Byte);
   34|     54|  } while (More);
  ------------------
  |  Branch (34:12): [True: 47, False: 7]
  ------------------
   35|      7|}
_ZN7llvm_ks13encodeULEB128EmRNS_11raw_ostreamEj:
   39|      4|                          unsigned Padding = 0) {
   40|      8|  do {
   41|      8|    uint8_t Byte = Value & 0x7f;
   42|      8|    Value >>= 7;
   43|      8|    if (Value != 0 || Padding != 0)
  ------------------
  |  Branch (43:9): [True: 4, False: 4]
  |  Branch (43:23): [True: 0, False: 4]
  ------------------
   44|      4|      Byte |= 0x80; // Mark this byte to show that more bytes will follow.
   45|      8|    OS << char(Byte);
   46|      8|  } while (Value != 0);
  ------------------
  |  Branch (46:12): [True: 4, False: 4]
  ------------------
   47|       |
   48|       |  // Pad with 0x80 and emit a null byte at the end.
   49|      4|  if (Padding != 0) {
  ------------------
  |  Branch (49:7): [True: 0, False: 4]
  ------------------
   50|      0|    for (; Padding != 1; --Padding)
  ------------------
  |  Branch (50:12): [True: 0, False: 0]
  ------------------
   51|      0|      OS << '\x80';
   52|      0|    OS << '\x00';
   53|      0|  }
   54|      4|}

_ZN7llvm_ks5isIntILj8EEEbl:
  268|  1.11k|inline bool isInt<8>(int64_t x) {
  269|  1.11k|  return static_cast<int8_t>(x) == x;
  270|  1.11k|}
_ZN7llvm_ks5isIntILj32EEEbl:
  276|    182|inline bool isInt<32>(int64_t x) {
  277|    182|  return static_cast<int32_t>(x) == x;
  278|    182|}
_ZN7llvm_ks6isUIntILj8EEEbm:
  294|    313|inline bool isUInt<8>(uint64_t x) {
  295|    313|  return static_cast<uint8_t>(x) == x;
  296|    313|}
_ZN7llvm_ks6isUIntILj16EEEbm:
  298|    192|inline bool isUInt<16>(uint64_t x) {
  299|    192|  return static_cast<uint16_t>(x) == x;
  300|    192|}
_ZN7llvm_ks6isUIntILj32EEEbm:
  302|  4.73k|inline bool isUInt<32>(uint64_t x) {
  303|  4.73k|  return static_cast<uint32_t>(x) == x;
  304|  4.73k|}
_ZN7llvm_ks7isUIntNEjm:
  315|  78.6M|inline bool isUIntN(unsigned N, uint64_t x) {
  316|  78.6M|  return N >= 64 || x < (UINT64_C(1)<<(N));
  ------------------
  |  Branch (316:10): [True: 2.28k, False: 78.6M]
  |  Branch (316:21): [True: 78.6M, False: 1.58k]
  ------------------
  317|  78.6M|}
_ZN7llvm_ks6isIntNEjl:
  321|  13.0k|inline bool isIntN(unsigned N, int64_t x) {
  322|  13.0k|  return N >= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < (INT64_C(1)<<(N-1)));
  ------------------
  |  Branch (322:10): [True: 11, False: 13.0k]
  |  Branch (322:22): [True: 12.5k, False: 470]
  |  Branch (322:51): [True: 12.3k, False: 283]
  ------------------
  323|  13.0k|}
_ZN7llvm_ks13isPowerOf2_32Ej:
  354|     82|inline bool isPowerOf2_32(uint32_t Value) {
  355|     82|  return Value && !(Value & (Value - 1));
  ------------------
  |  Branch (355:10): [True: 82, False: 0]
  |  Branch (355:19): [True: 82, False: 0]
  ------------------
  356|     82|}
_ZN7llvm_ks13isPowerOf2_64Em:
  360|  2.80M|inline bool isPowerOf2_64(uint64_t Value) {
  361|  2.80M|  return Value && !(Value & (Value - int64_t(1L)));
  ------------------
  |  Branch (361:10): [True: 2.80M, False: 11]
  |  Branch (361:19): [True: 2.79M, False: 1.98k]
  ------------------
  362|  2.80M|}
_ZN7llvm_ks7Log2_32Ej:
  468|     82|inline unsigned Log2_32(uint32_t Value) {
  469|     82|  return 31 - countLeadingZeros(Value);
  470|     82|}
_ZN7llvm_ks7Log2_64Em:
  474|      8|inline unsigned Log2_64(uint64_t Value) {
  475|      8|  return 63 - countLeadingZeros(Value);
  476|      8|}
_ZN7llvm_ks9alignAddrEPKvm:
  565|  2.78M|inline uintptr_t alignAddr(const void *Addr, size_t Alignment) {
  566|  2.78M|  assert(Alignment && isPowerOf2_64((uint64_t)Alignment) &&
  ------------------
  |  Branch (566:3): [True: 2.78M, False: 0]
  |  Branch (566:3): [True: 2.78M, False: 0]
  |  Branch (566:3): [True: 2.78M, Folded]
  |  Branch (566:3): [True: 2.78M, False: 0]
  ------------------
  567|  2.78M|         "Alignment is not a power of two!");
  568|       |
  569|  2.78M|  assert((uintptr_t)Addr + Alignment - 1 >= (uintptr_t)Addr);
  ------------------
  |  Branch (569:3): [True: 2.78M, False: 0]
  ------------------
  570|       |
  571|  2.78M|  return (((uintptr_t)Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1));
  572|  2.78M|}
_ZN7llvm_ks19alignmentAdjustmentEPKvm:
  576|  2.57M|inline size_t alignmentAdjustment(const void *Ptr, size_t Alignment) {
  577|  2.57M|  return alignAddr(Ptr, Alignment) - (uintptr_t)Ptr;
  578|  2.57M|}
_ZN7llvm_ks12NextPowerOf2Em:
  582|   114k|inline uint64_t NextPowerOf2(uint64_t A) {
  583|   114k|  A |= (A >> 1);
  584|   114k|  A |= (A >> 2);
  585|   114k|  A |= (A >> 4);
  586|   114k|  A |= (A >> 8);
  587|   114k|  A |= (A >> 16);
  588|   114k|  A |= (A >> 32);
  589|   114k|  return A + 1;
  590|   114k|}
_ZN7llvm_ks7alignToEmmm:
  619|  51.8k|inline uint64_t alignTo(uint64_t Value, uint64_t Align, uint64_t Skew = 0) {
  620|  51.8k|  Skew %= Align;
  621|  51.8k|  return (Value + Align - 1 - Skew) / Align * Align + Skew;
  622|  51.8k|}
_ZN7llvm_ks17OffsetToAlignmentEmm:
  627|  26.3k|inline uint64_t OffsetToAlignment(uint64_t Value, uint64_t Align) {
  628|  26.3k|  return alignTo(Value, Align) - Value;
  629|  26.3k|}
_ZN7llvm_ks17countLeadingZerosIjEEmT_NS_12ZeroBehaviorE:
  178|     82|std::size_t countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) {
  179|     82|  static_assert(std::numeric_limits<T>::is_integer &&
  180|     82|                    !std::numeric_limits<T>::is_signed,
  181|     82|                "Only unsigned integral types are allowed.");
  182|     82|  return detail::LeadingZerosCounter<T, sizeof(T)>::count(Val, ZB);
  183|     82|}
_ZN7llvm_ks6detail19LeadingZerosCounterIjLm4EE5countEjNS_12ZeroBehaviorE:
  137|     82|  static std::size_t count(T Val, ZeroBehavior ZB) {
  138|     82|    if (ZB != ZB_Undefined && Val == 0)
  ------------------
  |  Branch (138:9): [True: 82, False: 0]
  |  Branch (138:31): [True: 0, False: 82]
  ------------------
  139|      0|      return 32;
  140|       |
  141|     82|#if __has_builtin(__builtin_clz) || LLVM_GNUC_PREREQ(4, 0, 0)
  142|     82|    return __builtin_clz(Val);
  143|       |#elif defined(_MSC_VER)
  144|       |    unsigned long Index;
  145|       |    _BitScanReverse(&Index, Val);
  146|       |    return Index ^ 31;
  147|       |#endif
  148|     82|  }
_ZN7llvm_ks17countLeadingZerosImEEmT_NS_12ZeroBehaviorE:
  178|  1.32M|std::size_t countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) {
  179|  1.32M|  static_assert(std::numeric_limits<T>::is_integer &&
  180|  1.32M|                    !std::numeric_limits<T>::is_signed,
  181|  1.32M|                "Only unsigned integral types are allowed.");
  182|  1.32M|  return detail::LeadingZerosCounter<T, sizeof(T)>::count(Val, ZB);
  183|  1.32M|}
_ZN7llvm_ks6detail19LeadingZerosCounterImLm8EE5countEmNS_12ZeroBehaviorE:
  153|  1.32M|  static std::size_t count(T Val, ZeroBehavior ZB) {
  154|  1.32M|    if (ZB != ZB_Undefined && Val == 0)
  ------------------
  |  Branch (154:9): [True: 1.05M, False: 268k]
  |  Branch (154:31): [True: 126k, False: 929k]
  ------------------
  155|   126k|      return 64;
  156|       |
  157|  1.19M|#if __has_builtin(__builtin_clzll) || LLVM_GNUC_PREREQ(4, 0, 0)
  158|  1.19M|    return __builtin_clzll(Val);
  159|       |#elif defined(_MSC_VER)
  160|       |    unsigned long Index;
  161|       |    _BitScanReverse64(&Index, Val);
  162|       |    return Index ^ 63;
  163|       |#endif
  164|  1.32M|  }
_ZN7llvm_ks18countTrailingZerosImEEmT_NS_12ZeroBehaviorE:
  109|  47.8k|std::size_t countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) {
  110|  47.8k|  static_assert(std::numeric_limits<T>::is_integer &&
  111|  47.8k|                    !std::numeric_limits<T>::is_signed,
  112|  47.8k|                "Only unsigned integral types are allowed.");
  113|  47.8k|  return detail::TrailingZerosCounter<T, sizeof(T)>::count(Val, ZB);
  114|  47.8k|}
_ZN7llvm_ks6detail20TrailingZerosCounterImLm8EE5countEmNS_12ZeroBehaviorE:
   84|  47.8k|  static std::size_t count(T Val, ZeroBehavior ZB) {
   85|  47.8k|    if (ZB != ZB_Undefined && Val == 0)
  ------------------
  |  Branch (85:9): [True: 0, False: 47.8k]
  |  Branch (85:31): [True: 0, False: 0]
  ------------------
   86|      0|      return 64;
   87|       |
   88|  47.8k|#if __has_builtin(__builtin_ctzll) || LLVM_GNUC_PREREQ(4, 0, 0)
   89|  47.8k|    return __builtin_ctzll(Val);
   90|       |#elif defined(_MSC_VER)
   91|       |    unsigned long Index;
   92|       |    _BitScanForward64(&Index, Val);
   93|       |    return Index;
   94|       |#endif
   95|  47.8k|  }
_ZN7llvm_ks15countPopulationImEEjT_:
  449|  1.83k|inline unsigned countPopulation(T Value) {
  450|  1.83k|  static_assert(std::numeric_limits<T>::is_integer &&
  451|  1.83k|                    !std::numeric_limits<T>::is_signed,
  452|  1.83k|                "Only unsigned integral types are allowed.");
  453|  1.83k|  return detail::PopulationCounter<T, sizeof(T)>::count(Value);
  454|  1.83k|}
_ZN7llvm_ks6detail17PopulationCounterImLm8EE5countEm:
  431|  1.83k|  static unsigned count(T Value) {
  432|  1.83k|#if __GNUC__ >= 4
  433|  1.83k|    return __builtin_popcountll(Value);
  434|       |#else
  435|       |    uint64_t v = Value;
  436|       |    v = v - ((v >> 1) & 0x5555555555555555ULL);
  437|       |    v = (v & 0x3333333333333333ULL) + ((v >> 2) & 0x3333333333333333ULL);
  438|       |    v = (v + (v >> 4)) & 0x0F0F0F0F0F0F0F0FULL;
  439|       |    return unsigned((uint64_t)(v * 0x0101010101010101ULL) >> 56);
  440|       |#endif
  441|  1.83k|  }
_ZN7llvm_ks12findFirstSetImEET_S1_NS_12ZeroBehaviorE:
  192|  47.8k|template <typename T> T findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) {
  193|  47.8k|  if (ZB == ZB_Max && Val == 0)
  ------------------
  |  Branch (193:7): [True: 47.8k, False: 0]
  |  Branch (193:23): [True: 0, False: 47.8k]
  ------------------
  194|      0|    return std::numeric_limits<T>::max();
  195|       |
  196|  47.8k|  return countTrailingZeros(Val, ZB_Undefined);
  197|  47.8k|}
_ZN7llvm_ks11findLastSetImEET_S1_NS_12ZeroBehaviorE:
  206|   268k|template <typename T> T findLastSet(T Val, ZeroBehavior ZB = ZB_Max) {
  207|   268k|  if (ZB == ZB_Max && Val == 0)
  ------------------
  |  Branch (207:7): [True: 268k, False: 0]
  |  Branch (207:23): [True: 0, False: 268k]
  ------------------
  208|      0|    return std::numeric_limits<T>::max();
  209|       |
  210|       |  // Use ^ instead of - because both gcc and llvm can remove the associated ^
  211|       |  // in the __builtin_clz intrinsic on x86.
  212|   268k|  return countLeadingZeros(Val, ZB_Undefined) ^
  213|   268k|         (std::numeric_limits<T>::digits - 1);
  214|   268k|}

_ZN7llvm_ks12MemoryBufferC2Ev:
   43|  42.5k|  MemoryBuffer() {}
_ZNK7llvm_ks12MemoryBuffer14getBufferStartEv:
   49|  22.3M|  const char *getBufferStart() const { return BufferStart; }
_ZNK7llvm_ks12MemoryBuffer12getBufferEndEv:
   50|  13.6M|  const char *getBufferEnd() const   { return BufferEnd; }
_ZNK7llvm_ks12MemoryBuffer13getBufferSizeEv:
   51|  67.9k|  size_t getBufferSize() const { return BufferEnd-BufferStart; }
_ZNK7llvm_ks12MemoryBuffer9getBufferEv:
   53|  67.9k|  StringRef getBuffer() const {
   54|  67.9k|    return StringRef(BufferStart, getBufferSize());
   55|  67.9k|  }

_ZNK7llvm_ks3sys4path14const_iteratordeEv:
   61|  34.0k|  reference operator*() const { return Component; }
_ZNK7llvm_ks3sys4path14const_iteratorptEv:
   62|  17.0k|  pointer   operator->() const { return &Component; }
_ZNK7llvm_ks3sys4path14const_iteratorneERKS2_:
   65|  17.0k|  bool operator!=(const const_iterator &RHS) const { return !(*this == RHS); }

_ZN7llvm_ks21PointerLikeTypeTraitsIPNS_10MCFragmentEE16getAsVoidPointerES2_:
   41|   359k|  static inline void *getAsVoidPointer(T *P) { return P; }
_ZN7llvm_ks21PointerLikeTypeTraitsIPNS_10MCFragmentEE18getFromVoidPointerEPv:
   42|   734k|  static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
_ZN7llvm_ks21PointerLikeTypeTraitsIPKNS_8MCSymbolEE16getAsVoidPointerES3_:
   68|  13.9k|  static inline const void *getAsVoidPointer(const T *P) {
   69|  13.9k|    return NonConst::getAsVoidPointer(const_cast<T *>(P));
   70|  13.9k|  }
_ZN7llvm_ks21PointerLikeTypeTraitsIPNS_8MCSymbolEE16getAsVoidPointerES2_:
   41|  13.9k|  static inline void *getAsVoidPointer(T *P) { return P; }

_ZN7llvm_ks5SMLocC2Ev:
   27|   356M|  SMLoc() : Ptr(nullptr) {}
_ZNK7llvm_ks5SMLoc7isValidEv:
   29|  75.0k|  bool isValid() const { return Ptr != nullptr; }
_ZNK7llvm_ks5SMLoceqERKS0_:
   31|  46.7k|  bool operator==(const SMLoc &RHS) const { return RHS.Ptr == Ptr; }
_ZNK7llvm_ks5SMLocneERKS0_:
   32|   344M|  bool operator!=(const SMLoc &RHS) const { return RHS.Ptr != Ptr; }
_ZNK7llvm_ks5SMLoc10getPointerEv:
   34|  36.6M|  const char *getPointer() const { return Ptr; }
_ZN7llvm_ks5SMLoc14getFromPointerEPKc:
   36|   355M|  static SMLoc getFromPointer(const char *Ptr) {
   37|   355M|    SMLoc L;
   38|   355M|    L.Ptr = Ptr;
   39|   355M|    return L;
   40|   355M|  }
_ZN7llvm_ks7SMRangeC2ENS_5SMLocES1_:
   53|     42|  SMRange(SMLoc St, SMLoc En) : Start(St), End(En) {
   54|       |    assert(Start.isValid() == End.isValid() &&
  ------------------
  |  Branch (54:5): [True: 42, False: 0]
  |  Branch (54:5): [True: 42, Folded]
  |  Branch (54:5): [True: 42, False: 0]
  ------------------
   55|     42|           "Start and end should either both be valid or both be invalid!");
   56|     42|  }
_ZNK7llvm_ks7SMRange7isValidEv:
   58|     42|  bool isValid() const { return Start.isValid(); }

_ZN7llvm_ks9SourceMgrC2Ev:
   80|  17.0k|    : LineNoCache(nullptr), DiagHandler(nullptr), DiagContext(nullptr) {}
_ZN7llvm_ks9SourceMgr12clearBuffersEv:
  121|  17.0k|  void clearBuffers() {
  122|  17.0k|      Buffers.clear();
  123|  17.0k|  }
_ZN7llvm_ks9SourceMgr18AddNewSourceBufferENSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEENS_5SMLocE:
  128|  42.5k|                              SMLoc IncludeLoc) {
  129|  42.5k|    SrcBuffer NB;
  130|  42.5k|    NB.Buffer = std::move(F);
  131|  42.5k|    NB.IncludeLoc = IncludeLoc;
  132|  42.5k|    Buffers.push_back(std::move(NB));
  133|  42.5k|    return Buffers.size();
  134|  42.5k|  }
_ZN7llvm_ks9SourceMgr9SrcBufferC2Ev:
   55|  42.5k|    SrcBuffer() {}
_ZN7llvm_ks9SourceMgr9SrcBufferC2EOS1_:
   58|  81.2k|        : Buffer(std::move(O.Buffer)), IncludeLoc(O.IncludeLoc) {}
_ZNK7llvm_ks9SourceMgr15isValidBufferIDEj:
   74|   260k|  bool isValidBufferID(unsigned i) const { return i && i <= Buffers.size(); }
  ------------------
  |  Branch (74:51): [True: 260k, False: 0]
  |  Branch (74:56): [True: 260k, False: 0]
  ------------------
_ZN7llvm_ks9SourceMgr14setDiagHandlerEPFvRKNS_12SMDiagnosticEPvES4_:
   89|  34.0k|  void setDiagHandler(DiagHandlerTy DH, void *Ctx = nullptr) {
   90|  34.0k|    DiagHandler = DH;
   91|  34.0k|    DiagContext = Ctx;
   92|  34.0k|  }
_ZNK7llvm_ks9SourceMgr14getDiagHandlerEv:
   94|  17.0k|  DiagHandlerTy getDiagHandler() const { return DiagHandler; }
_ZNK7llvm_ks9SourceMgr14getDiagContextEv:
   95|  17.0k|  void *getDiagContext() const { return DiagContext; }
_ZNK7llvm_ks9SourceMgr15getMemoryBufferEj:
  102|   199k|  const MemoryBuffer *getMemoryBuffer(unsigned i) const {
  103|   199k|    assert(isValidBufferID(i));
  ------------------
  |  Branch (103:5): [True: 199k, False: 0]
  ------------------
  104|   199k|    return Buffers[i - 1].Buffer.get();
  105|   199k|  }
_ZNK7llvm_ks9SourceMgr13getNumBuffersEv:
  107|  98.9k|  unsigned getNumBuffers() const {
  108|  98.9k|    return Buffers.size();
  109|  98.9k|  }
_ZNK7llvm_ks9SourceMgr13getMainFileIDEv:
  111|  81.9k|  unsigned getMainFileID() const {
  112|  81.9k|    assert(getNumBuffers());
  ------------------
  |  Branch (112:5): [True: 81.9k, False: 0]
  ------------------
  113|  81.9k|    return 1;
  114|  81.9k|  }
_ZNK7llvm_ks9SourceMgr19getParentIncludeLocEj:
  116|  61.1k|  SMLoc getParentIncludeLoc(unsigned i) const {
  117|  61.1k|    assert(isValidBufferID(i));
  ------------------
  |  Branch (117:5): [True: 61.1k, False: 0]
  ------------------
  118|  61.1k|    return Buffers[i - 1].IncludeLoc;
  119|  61.1k|  }
_ZNK7llvm_ks9SourceMgr14FindLineNumberENS_5SMLocEj:
  152|  1.99k|  unsigned FindLineNumber(SMLoc Loc, unsigned BufferID = 0) const {
  153|  1.99k|    return getLineAndColumn(Loc, BufferID).first;
  154|  1.99k|  }
_ZNK7llvm_ks12SMDiagnostic12getSourceMgrEv:
  263|  65.8k|  const SourceMgr *getSourceMgr() const { return SM; }
_ZNK7llvm_ks12SMDiagnostic6getLocEv:
  264|  65.8k|  SMLoc getLoc() const { return Loc; }
_ZNK7llvm_ks12SMDiagnostic11getColumnNoEv:
  267|    998|  int getColumnNo() const { return ColumnNo; }
_ZNK7llvm_ks12SMDiagnostic7getKindEv:
  268|    998|  SourceMgr::DiagKind getKind() const { return Kind; }
_ZNK7llvm_ks12SMDiagnostic10getMessageEv:
  269|    998|  StringRef getMessage() const { return Message; }
_ZNK7llvm_ks12SMDiagnostic15getLineContentsEv:
  270|    998|  StringRef getLineContents() const { return LineContents; }
_ZNK7llvm_ks12SMDiagnostic9getRangesEv:
  271|    998|  ArrayRef<std::pair<unsigned, unsigned> > getRanges() const {
  272|    998|    return Ranges;
  273|    998|  }

_ZN7llvm_ks11StringSaverC2ERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEE:
   25|  17.0k|  StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {}

_ZNK7llvm_ks6Target15createMCRegInfoENS_9StringRefE:
  260|  17.0k|  MCRegisterInfo *createMCRegInfo(StringRef TT) const {
  261|  17.0k|    if (!MCRegInfoCtorFn)
  ------------------
  |  Branch (261:9): [True: 0, False: 17.0k]
  ------------------
  262|      0|      return nullptr;
  263|  17.0k|    return MCRegInfoCtorFn(Triple(TT));
  264|  17.0k|  }
_ZNK7llvm_ks6Target15createMCAsmInfoERKNS_14MCRegisterInfoENS_9StringRefE:
  236|  17.0k|                             StringRef TheTriple) const {
  237|  17.0k|    if (!MCAsmInfoCtorFn)
  ------------------
  |  Branch (237:9): [True: 0, False: 17.0k]
  ------------------
  238|      0|      return nullptr;
  239|  17.0k|    return MCAsmInfoCtorFn(MRI, Triple(TheTriple));
  240|  17.0k|  }
_ZNK7llvm_ks6Target17createMCInstrInfoEv:
  244|  17.0k|  MCInstrInfo *createMCInstrInfo() const {
  245|  17.0k|    if (!MCInstrInfoCtorFn)
  ------------------
  |  Branch (245:9): [True: 0, False: 17.0k]
  ------------------
  246|      0|      return nullptr;
  247|  17.0k|    return MCInstrInfoCtorFn();
  248|  17.0k|  }
_ZNK7llvm_ks6Target21createMCSubtargetInfoENS_9StringRefES1_S1_:
  276|  17.0k|                                         StringRef Features) const {
  277|  17.0k|    if (!MCSubtargetInfoCtorFn)
  ------------------
  |  Branch (277:9): [True: 0, False: 17.0k]
  ------------------
  278|      0|      return nullptr;
  279|  17.0k|    return MCSubtargetInfoCtorFn(Triple(TheTriple), CPU, Features);
  280|  17.0k|  }
_ZNK7llvm_ks6Target18createMCAsmBackendERKNS_14MCRegisterInfoENS_9StringRefES4_:
  301|  17.0k|                                   StringRef TheTriple, StringRef CPU) const {
  302|  17.0k|    if (!MCAsmBackendCtorFn)
  ------------------
  |  Branch (302:9): [True: 0, False: 17.0k]
  ------------------
  303|      0|      return nullptr;
  304|  17.0k|    return MCAsmBackendCtorFn(*this, MRI, Triple(TheTriple), CPU);
  305|  17.0k|  }
_ZNK7llvm_ks6Target19createMCCodeEmitterERKNS_11MCInstrInfoERKNS_14MCRegisterInfoERNS_9MCContextE:
  338|  17.0k|                                     MCContext &Ctx) const {
  339|  17.0k|    if (!MCCodeEmitterCtorFn)
  ------------------
  |  Branch (339:9): [True: 0, False: 17.0k]
  ------------------
  340|      0|      return nullptr;
  341|  17.0k|    return MCCodeEmitterCtorFn(II, MRI, Ctx);
  342|  17.0k|  }
_ZNK7llvm_ks6Target22createMCObjectStreamerERKNS_6TripleERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterERKNS_15MCSubtargetInfoEbb:
  356|  17.0k|                                     bool DWARFMustBeAtTheEnd) const {
  357|  17.0k|    MCStreamer *S;
  358|  17.0k|    switch (T.getObjectFormat()) {
  359|      0|    default:
  ------------------
  |  Branch (359:5): [True: 0, False: 17.0k]
  ------------------
  360|      0|      llvm_unreachable("Unknown object format");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  361|  17.0k|    case Triple::ELF:
  ------------------
  |  Branch (361:5): [True: 17.0k, False: 0]
  ------------------
  362|  17.0k|      if (ELFStreamerCtorFn)
  ------------------
  |  Branch (362:11): [True: 0, False: 17.0k]
  ------------------
  363|      0|        S = ELFStreamerCtorFn(T, Ctx, TAB, OS, Emitter, RelaxAll);
  364|  17.0k|      else
  365|  17.0k|        S = createELFStreamer(Ctx, TAB, OS, Emitter, RelaxAll);
  366|  17.0k|      break;
  367|  17.0k|    }
  368|  17.0k|    if (ObjectTargetStreamerCtorFn)
  ------------------
  |  Branch (368:9): [True: 0, False: 17.0k]
  ------------------
  369|      0|      ObjectTargetStreamerCtorFn(*S, STI);
  370|  17.0k|    return S;
  371|  17.0k|  }
_ZNK7llvm_ks6Target17createMCAsmParserERKNS_15MCSubtargetInfoERNS_11MCAsmParserERKNS_11MCInstrInfoERKNS_15MCTargetOptionsE:
  320|  17.0k|                                       const MCTargetOptions &Options) const {
  321|  17.0k|    if (!MCAsmParserCtorFn)
  ------------------
  |  Branch (321:9): [True: 0, False: 17.0k]
  ------------------
  322|      0|      return nullptr;
  323|  17.0k|    return MCAsmParserCtorFn(STI, Parser, MII, Options);
  324|  17.0k|  }
_ZN7llvm_ks6TargetC2Ev:
  198|     46|      : ELFStreamerCtorFn(nullptr), NullTargetStreamerCtorFn(nullptr),
  199|     46|        AsmTargetStreamerCtorFn(nullptr), ObjectTargetStreamerCtorFn(nullptr),
  200|     46|        MCRelocationInfoCtorFn(nullptr) {}
_ZNK7llvm_ks6Target7getNextEv:
  206|   392k|  const Target *getNext() const { return Next; }
_ZN7llvm_ks14TargetRegistry8iteratorC2EPNS_6TargetE:
  420|   119k|    explicit iterator(Target *T) : Current(T) {}
_ZN7llvm_ks14TargetRegistry8iteratorC2Ev:
  424|   119k|    iterator() : Current(nullptr) {}
_ZNK7llvm_ks14TargetRegistry8iteratoreqERKS1_:
  426|   460k|    bool operator==(const iterator &x) const { return Current == x.Current; }
_ZNK7llvm_ks14TargetRegistry8iteratorneERKS1_:
  427|   426k|    bool operator!=(const iterator &x) const { return !operator==(x); }
_ZN7llvm_ks14TargetRegistry8iteratorppEv:
  430|   392k|    iterator &operator++() { // Preincrement
  431|   392k|      assert(Current && "Cannot increment end iterator!");
  ------------------
  |  Branch (431:7): [True: 392k, False: 0]
  |  Branch (431:7): [True: 392k, Folded]
  |  Branch (431:7): [True: 392k, False: 0]
  ------------------
  432|   392k|      Current = Current->getNext();
  433|   392k|      return *this;
  434|   392k|    }
_ZNK7llvm_ks14TargetRegistry8iteratordeEv:
  441|   409k|    const Target &operator*() const {
  442|   409k|      assert(Current && "Cannot dereference end iterator!");
  ------------------
  |  Branch (442:7): [True: 409k, False: 0]
  |  Branch (442:7): [True: 409k, Folded]
  |  Branch (442:7): [True: 409k, False: 0]
  ------------------
  443|   409k|      return *Current;
  444|   409k|    }
_ZN7llvm_ks14TargetRegistry17RegisterMCAsmInfoERNS_6TargetEPFPNS_9MCAsmInfoERKNS_14MCRegisterInfoERKNS_6TripleEE:
  508|     23|  static void RegisterMCAsmInfo(Target &T, Target::MCAsmInfoCtorFnTy Fn) {
  509|     23|    T.MCAsmInfoCtorFn = Fn;
  510|     23|  }
_ZN7llvm_ks14TargetRegistry19RegisterMCInstrInfoERNS_6TargetEPFPNS_11MCInstrInfoEvE:
  521|     23|  static void RegisterMCInstrInfo(Target &T, Target::MCInstrInfoCtorFnTy Fn) {
  522|     23|    T.MCInstrInfoCtorFn = Fn;
  523|     23|  }
_ZN7llvm_ks14TargetRegistry17RegisterMCRegInfoERNS_6TargetEPFPNS_14MCRegisterInfoERKNS_6TripleEE:
  541|     23|  static void RegisterMCRegInfo(Target &T, Target::MCRegInfoCtorFnTy Fn) {
  542|     23|    T.MCRegInfoCtorFn = Fn;
  543|     23|  }
_ZN7llvm_ks14TargetRegistry23RegisterMCSubtargetInfoERNS_6TargetEPFPNS_15MCSubtargetInfoERKNS_6TripleENS_9StringRefES8_E:
  555|     23|                                      Target::MCSubtargetInfoCtorFnTy Fn) {
  556|     23|    T.MCSubtargetInfoCtorFn = Fn;
  557|     23|  }
_ZN7llvm_ks14TargetRegistry20RegisterMCAsmBackendERNS_6TargetEPFPNS_12MCAsmBackendERKS1_RKNS_14MCRegisterInfoERKNS_6TripleENS_9StringRefEE:
  581|     21|  static void RegisterMCAsmBackend(Target &T, Target::MCAsmBackendCtorTy Fn) {
  582|     21|    T.MCAsmBackendCtorFn = Fn;
  583|     21|  }
_ZN7llvm_ks14TargetRegistry21RegisterMCAsmBackend2ERNS_6TargetEPFPNS_12MCAsmBackendERKS1_RKNS_14MCRegisterInfoERKNS_6TripleENS_9StringRefERKNS_15MCSubtargetInfoERKNS_15MCTargetOptionsEE:
  584|      2|  static void RegisterMCAsmBackend2(Target &T, Target::MCAsmBackendCtorTy2 Fn) {
  585|      2|    T.MCAsmBackendCtorFn2 = Fn;
  586|      2|  }
_ZN7llvm_ks14TargetRegistry19RegisterMCAsmParserERNS_6TargetEPFPNS_17MCTargetAsmParserERKNS_15MCSubtargetInfoERNS_11MCAsmParserERKNS_11MCInstrInfoERKNS_15MCTargetOptionsEE:
  597|     23|  static void RegisterMCAsmParser(Target &T, Target::MCAsmParserCtorTy Fn) {
  598|     23|    T.MCAsmParserCtorFn = Fn;
  599|     23|  }
_ZN7llvm_ks14TargetRegistry21RegisterMCCodeEmitterERNS_6TargetEPFPNS_13MCCodeEmitterERKNS_11MCInstrInfoERKNS_14MCRegisterInfoERNS_9MCContextEE:
  623|     23|  static void RegisterMCCodeEmitter(Target &T, Target::MCCodeEmitterCtorTy Fn) {
  624|     23|    T.MCCodeEmitterCtorFn = Fn;
  625|     23|  }
_ZN7llvm_ks14TargetRegistry25RegisterAsmTargetStreamerERNS_6TargetEPFPNS_16MCTargetStreamerERNS_10MCStreamerERNS_21formatted_raw_ostreamEE:
  637|      2|                                        Target::AsmTargetStreamerCtorTy Fn) {
  638|      2|    T.AsmTargetStreamerCtorFn = Fn;
  639|      2|  }
_ZN7llvm_ks14TargetRegistry28RegisterObjectTargetStreamerERNS_6TargetEPFPNS_16MCTargetStreamerERNS_10MCStreamerERKNS_15MCSubtargetInfoEE:
  643|      2|                               Target::ObjectTargetStreamerCtorTy Fn) {
  644|      2|    T.ObjectTargetStreamerCtorFn = Fn;
  645|      2|  }
_ZN7llvm_ks14TargetRegistry24RegisterMCRelocationInfoERNS_6TargetEPFPNS_16MCRelocationInfoERKNS_6TripleERNS_9MCContextEE:
  657|      2|                                       Target::MCRelocationInfoCtorTy Fn) {
  658|      2|    T.MCRelocationInfoCtorFn = Fn;
  659|      2|  }
_ZN7llvm_ks19RegisterMCAsmInfoFnC2ERNS_6TargetEPFPNS_9MCAsmInfoERKNS_14MCRegisterInfoERKNS_6TripleEE:
  715|     20|  RegisterMCAsmInfoFn(Target &T, Target::MCAsmInfoCtorFnTy Fn) {
  716|     20|    TargetRegistry::RegisterMCAsmInfo(T, Fn);
  717|     20|  }
AArch64AsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_116AArch64AsmParserEEC2ERNS_6TargetE:
  900|      3|  RegisterMCAsmParser(Target &T) {
  901|      3|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      3|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE3EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE3EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE4EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE4EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
ARMAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_112ARMAsmParserEEC2ERNS_6TargetE:
  900|      4|  RegisterMCAsmParser(Target &T) {
  901|      4|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      4|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE1EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE1EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE2EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE2EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE26EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE26EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE27EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE27EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
HexagonAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_116HexagonAsmParserEEC2ERNS_6TargetE:
  900|      1|  RegisterMCAsmParser(Target &T) {
  901|      1|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE8EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE8EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
MipsAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_113MipsAsmParserEEC2ERNS_6TargetE:
  900|      4|  RegisterMCAsmParser(Target &T) {
  901|      4|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      4|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE9EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE9EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE10EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE10EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE11EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE11EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE12EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE12EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
PPCAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_112PPCAsmParserEEC2ERNS_6TargetE:
  900|      3|  RegisterMCAsmParser(Target &T) {
  901|      3|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      3|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE14EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE14EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE15EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE15EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE16EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE16EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
SparcAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_114SparcAsmParserEEC2ERNS_6TargetE:
  900|      3|  RegisterMCAsmParser(Target &T) {
  901|      3|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      3|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE21EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE21EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE22EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE22EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE23EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE23EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
SystemZAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_116SystemZAsmParserEEC2ERNS_6TargetE:
  900|      1|  RegisterMCAsmParser(Target &T) {
  901|      1|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE24EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE24EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
X86AsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_112X86AsmParserEEC2ERNS_6TargetE:
  900|      2|  RegisterMCAsmParser(Target &T) {
  901|      2|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      2|  }
X86AsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_112X86AsmParserEE9AllocatorERKNS_15MCSubtargetInfoERNS_11MCAsmParserERKNS_11MCInstrInfoERKNS_15MCTargetOptionsE:
  907|  17.0k|                                      const MCTargetOptions &Options) {
  908|  17.0k|    return new MCAsmParserImpl(STI, P, MII, Options);
  909|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE28EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE28EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE29EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE29EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks19RegisterMCAsmParserINS_14RISCVAsmParserEEC2ERNS_6TargetE:
  900|      2|  RegisterMCAsmParser(Target &T) {
  901|      2|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      2|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE18EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE18EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE19EEC2ERNS_6TargetEPKcS7_:
  677|      1|  RegisterTarget(Target &T, const char *Name, const char *Desc) {
  678|      1|    TargetRegistry::RegisterTarget(T, Name, Desc, &getArchMatch);
  679|      1|  }
_ZN7llvm_ks14RegisterTargetILNS_6Triple8ArchTypeE19EE12getArchMatchES2_:
  681|  17.0k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  17.0k|    return Arch == TargetArchType;
  683|  17.0k|  }

_ZN7llvm_ks24InitializeAllTargetInfosEv:
   44|      1|  inline void InitializeAllTargetInfos() {
   45|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
   46|      1|#include "llvm/Config/Targets.def"
  ------------------
  |  |    1|       |/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\
  |  |    2|       ||*                                                                            *|
  |  |    3|       ||*                     The LLVM Compiler Infrastructure                       *|
  |  |    4|       ||*                                                                            *|
  |  |    5|       ||* This file is distributed under the University of Illinois Open Source      *|
  |  |    6|       ||* License. See LICENSE.TXT for details.                                      *|
  |  |    7|       ||*                                                                            *|
  |  |    8|       ||*===----------------------------------------------------------------------===*|
  |  |    9|       ||*                                                                            *|
  |  |   10|       ||* This file enumerates all of the target architectures supported by          *|
  |  |   11|       ||* this build of LLVM. Clients of this file should define the                 *|
  |  |   12|       ||* LLVM_TARGET macro to be a function-like macro with a single                *|
  |  |   13|       ||* parameter (the name of the target); including this file will then          *|
  |  |   14|       ||* enumerate all of the targets.                                              *|
  |  |   15|       ||*                                                                            *|
  |  |   16|       ||* The set of targets supported by LLVM is generated at configuration         *|
  |  |   17|       ||* time, at which point this header is generated. Do not modify this          *|
  |  |   18|       ||* header directly.                                                           *|
  |  |   19|       ||*                                                                            *|
  |  |   20|       |\*===----------------------------------------------------------------------===*/
  |  |   21|       |
  |  |   22|       |#ifndef LLVM_TARGET
  |  |   23|       |#  error Please define the macro LLVM_TARGET(TargetName)
  |  |   24|       |#endif
  |  |   25|       |
  |  |   26|      1|LLVM_TARGET(AArch64)
  |  |  ------------------
  |  |  |  |   45|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
  |  |  ------------------
  |  |   27|      1|LLVM_TARGET(ARM)
  |  |  ------------------
  |  |  |  |   45|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
  |  |  ------------------
  |  |   28|      1|LLVM_TARGET(Hexagon)
  |  |  ------------------
  |  |  |  |   45|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
  |  |  ------------------
  |  |   29|      1|LLVM_TARGET(Mips)
  |  |  ------------------
  |  |  |  |   45|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
  |  |  ------------------
  |  |   30|      1|LLVM_TARGET(PowerPC)
  |  |  ------------------
  |  |  |  |   45|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
  |  |  ------------------
  |  |   31|      1|LLVM_TARGET(Sparc)
  |  |  ------------------
  |  |  |  |   45|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
  |  |  ------------------
  |  |   32|      1|LLVM_TARGET(SystemZ)
  |  |  ------------------
  |  |  |  |   45|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
  |  |  ------------------
  |  |   33|      1|LLVM_TARGET(X86)
  |  |  ------------------
  |  |  |  |   45|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
  |  |  ------------------
  |  |   34|      1|LLVM_TARGET(RISCV)
  |  |  ------------------
  |  |  |  |   45|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetInfo();
  |  |  ------------------
  |  |   35|       |
  |  |   36|       |
  |  |   37|      1|#undef LLVM_TARGET
  ------------------
   47|      1|  }
_ZN7llvm_ks22InitializeAllTargetMCsEv:
   67|      1|  inline void InitializeAllTargetMCs() {
   68|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetMC();
   69|      1|#include "llvm/Config/Targets.def"
  ------------------
  |  |    1|       |/*===- llvm/Config/Targets.def - LLVM Target Architectures ------*- C++ -*-===*\
  |  |    2|       ||*                                                                            *|
  |  |    3|       ||*                     The LLVM Compiler Infrastructure                       *|
  |  |    4|       ||*                                                                            *|
  |  |    5|       ||* This file is distributed under the University of Illinois Open Source      *|
  |  |    6|       ||* License. See LICENSE.TXT for details.                                      *|
  |  |    7|       ||*                                                                            *|
  |  |    8|       ||*===----------------------------------------------------------------------===*|
  |  |    9|       ||*                                                                            *|
  |  |   10|       ||* This file enumerates all of the target architectures supported by          *|
  |  |   11|       ||* this build of LLVM. Clients of this file should define the                 *|
  |  |   12|       ||* LLVM_TARGET macro to be a function-like macro with a single                *|
  |  |   13|       ||* parameter (the name of the target); including this file will then          *|
  |  |   14|       ||* enumerate all of the targets.                                              *|
  |  |   15|       ||*                                                                            *|
  |  |   16|       ||* The set of targets supported by LLVM is generated at configuration         *|
  |  |   17|       ||* time, at which point this header is generated. Do not modify this          *|
  |  |   18|       ||* header directly.                                                           *|
  |  |   19|       ||*                                                                            *|
  |  |   20|       |\*===----------------------------------------------------------------------===*/
  |  |   21|       |
  |  |   22|       |#ifndef LLVM_TARGET
  |  |   23|       |#  error Please define the macro LLVM_TARGET(TargetName)
  |  |   24|       |#endif
  |  |   25|       |
  |  |   26|      1|LLVM_TARGET(AArch64)
  |  |  ------------------
  |  |  |  |   68|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetMC();
  |  |  ------------------
  |  |   27|      1|LLVM_TARGET(ARM)
  |  |  ------------------
  |  |  |  |   68|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetMC();
  |  |  ------------------
  |  |   28|      1|LLVM_TARGET(Hexagon)
  |  |  ------------------
  |  |  |  |   68|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetMC();
  |  |  ------------------
  |  |   29|      1|LLVM_TARGET(Mips)
  |  |  ------------------
  |  |  |  |   68|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetMC();
  |  |  ------------------
  |  |   30|      1|LLVM_TARGET(PowerPC)
  |  |  ------------------
  |  |  |  |   68|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetMC();
  |  |  ------------------
  |  |   31|      1|LLVM_TARGET(Sparc)
  |  |  ------------------
  |  |  |  |   68|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetMC();
  |  |  ------------------
  |  |   32|      1|LLVM_TARGET(SystemZ)
  |  |  ------------------
  |  |  |  |   68|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetMC();
  |  |  ------------------
  |  |   33|      1|LLVM_TARGET(X86)
  |  |  ------------------
  |  |  |  |   68|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetMC();
  |  |  ------------------
  |  |   34|      1|LLVM_TARGET(RISCV)
  |  |  ------------------
  |  |  |  |   68|      1|#define LLVM_TARGET(TargetName) LLVMInitialize##TargetName##TargetMC();
  |  |  ------------------
  |  |   35|       |
  |  |   36|       |
  |  |   37|      1|#undef LLVM_TARGET
  ------------------
   70|      1|  }
_ZN7llvm_ks23InitializeAllAsmParsersEv:
   85|      1|  inline void InitializeAllAsmParsers() {
   86|      1|#define LLVM_ASM_PARSER(TargetName) LLVMInitialize##TargetName##AsmParser();
   87|      1|#include "llvm/Config/AsmParsers.def"
  ------------------
  |  |    1|       |/*===- llvm/Config/AsmParsers.def - LLVM Assembly Parsers -------*- C++ -*-===*\
  |  |    2|       ||*                                                                            *|
  |  |    3|       ||*                     The LLVM Compiler Infrastructure                       *|
  |  |    4|       ||*                                                                            *|
  |  |    5|       ||* This file is distributed under the University of Illinois Open Source      *|
  |  |    6|       ||* License. See LICENSE.TXT for details.                                      *|
  |  |    7|       ||*                                                                            *|
  |  |    8|       ||*===----------------------------------------------------------------------===*|
  |  |    9|       ||*                                                                            *|
  |  |   10|       ||* This file enumerates all of the assembly-language parsers                  *|
  |  |   11|       ||* supported by this build of LLVM. Clients of this file should define        *|
  |  |   12|       ||* the LLVM_ASM_PARSER macro to be a function-like macro with a               *|
  |  |   13|       ||* single parameter (the name of the target whose assembly can be             *|
  |  |   14|       ||* generated); including this file will then enumerate all of the             *|
  |  |   15|       ||* targets with assembly parsers.                                             *|
  |  |   16|       ||*                                                                            *|
  |  |   17|       ||* The set of targets supported by LLVM is generated at configuration         *|
  |  |   18|       ||* time, at which point this header is generated. Do not modify this          *|
  |  |   19|       ||* header directly.                                                           *|
  |  |   20|       ||*                                                                            *|
  |  |   21|       |\*===----------------------------------------------------------------------===*/
  |  |   22|       |
  |  |   23|       |#ifndef LLVM_ASM_PARSER
  |  |   24|       |#  error Please define the macro LLVM_ASM_PARSER(TargetName)
  |  |   25|       |#endif
  |  |   26|       |
  |  |   27|      1|LLVM_ASM_PARSER(AArch64)
  |  |  ------------------
  |  |  |  |   86|      1|#define LLVM_ASM_PARSER(TargetName) LLVMInitialize##TargetName##AsmParser();
  |  |  ------------------
  |  |   28|      1|LLVM_ASM_PARSER(ARM)
  |  |  ------------------
  |  |  |  |   86|      1|#define LLVM_ASM_PARSER(TargetName) LLVMInitialize##TargetName##AsmParser();
  |  |  ------------------
  |  |   29|      1|LLVM_ASM_PARSER(Hexagon)
  |  |  ------------------
  |  |  |  |   86|      1|#define LLVM_ASM_PARSER(TargetName) LLVMInitialize##TargetName##AsmParser();
  |  |  ------------------
  |  |   30|      1|LLVM_ASM_PARSER(Mips)
  |  |  ------------------
  |  |  |  |   86|      1|#define LLVM_ASM_PARSER(TargetName) LLVMInitialize##TargetName##AsmParser();
  |  |  ------------------
  |  |   31|      1|LLVM_ASM_PARSER(PowerPC)
  |  |  ------------------
  |  |  |  |   86|      1|#define LLVM_ASM_PARSER(TargetName) LLVMInitialize##TargetName##AsmParser();
  |  |  ------------------
  |  |   32|      1|LLVM_ASM_PARSER(Sparc)
  |  |  ------------------
  |  |  |  |   86|      1|#define LLVM_ASM_PARSER(TargetName) LLVMInitialize##TargetName##AsmParser();
  |  |  ------------------
  |  |   33|      1|LLVM_ASM_PARSER(SystemZ)
  |  |  ------------------
  |  |  |  |   86|      1|#define LLVM_ASM_PARSER(TargetName) LLVMInitialize##TargetName##AsmParser();
  |  |  ------------------
  |  |   34|      1|LLVM_ASM_PARSER(X86)
  |  |  ------------------
  |  |  |  |   86|      1|#define LLVM_ASM_PARSER(TargetName) LLVMInitialize##TargetName##AsmParser();
  |  |  ------------------
  |  |   35|      1|LLVM_ASM_PARSER(RISCV)
  |  |  ------------------
  |  |  |  |   86|      1|#define LLVM_ASM_PARSER(TargetName) LLVMInitialize##TargetName##AsmParser();
  |  |  ------------------
  |  |   36|       |
  |  |   37|       |
  |  |   38|      1|#undef LLVM_ASM_PARSER
  ------------------
   88|      1|  }

_ZN7llvm_ks19raw_svector_ostreamC2ERNS_15SmallVectorImplIcEE:
  493|   346k|  explicit raw_svector_ostream(SmallVectorImpl<char> &O) : OS(O) {
  494|   346k|    SetUnbuffered();
  495|   346k|  }
_ZN7llvm_ks17raw_pwrite_streamC2Eb:
  325|   346k|      : raw_ostream(Unbuffered) {}
_ZN7llvm_ks11raw_ostreamC2Eb:
   84|   346k|      : BufferMode(unbuffered ? Unbuffered : InternalBuffer) {
  ------------------
  |  Branch (84:20): [True: 1, False: 346k]
  ------------------
   85|       |    // Start out ready to flush.
   86|   346k|    OutBufStart = OutBufEnd = OutBufCur = nullptr;
   87|   346k|  }
_ZN7llvm_ks11raw_ostream13SetUnbufferedEv:
  121|   346k|  void SetUnbuffered() {
  122|   346k|    flush();
  123|   346k|    SetBufferAndMode(nullptr, 0, Unbuffered);
  124|   346k|  }
_ZN7llvm_ks11raw_ostream5flushEv:
  134|   346k|  void flush() {
  135|   346k|    if (OutBufCur != OutBufStart)
  ------------------
  |  Branch (135:9): [True: 0, False: 346k]
  ------------------
  136|      0|      flush_nonempty();
  137|   346k|  }
_ZNK7llvm_ks11raw_ostream4tellEv:
   92|  80.3k|  uint64_t tell() const { return current_pos() + GetNumBytesInBuffer(); }
_ZNK7llvm_ks11raw_ostream19GetNumBytesInBufferEv:
  126|   426k|  size_t GetNumBytesInBuffer() const {
  127|   426k|    return OutBufCur - OutBufStart;
  128|   426k|  }
_ZN7llvm_ks11raw_ostreamlsEc:
  139|  79.2M|  raw_ostream &operator<<(char C) {
  140|  79.2M|    if (OutBufCur >= OutBufEnd)
  ------------------
  |  Branch (140:9): [True: 79.2M, False: 0]
  ------------------
  141|  79.2M|      return write(C);
  142|      0|    *OutBufCur++ = C;
  143|      0|    return *this;
  144|  79.2M|  }
_ZN7llvm_ks11raw_ostreamlsENS_9StringRefE:
  160|  9.22M|  raw_ostream &operator<<(StringRef Str) {
  161|       |    // Inline fast path, particularly for strings with a known length.
  162|  9.22M|    size_t Size = Str.size();
  163|       |
  164|       |    // Make sure we can use the fast path.
  165|  9.22M|    if (Size > (size_t)(OutBufEnd - OutBufCur))
  ------------------
  |  Branch (165:9): [True: 9.19M, False: 34.5k]
  ------------------
  166|  9.19M|      return write(Str.data(), Size);
  167|       |
  168|  34.5k|    if (Size) {
  ------------------
  |  Branch (168:9): [True: 0, False: 34.5k]
  ------------------
  169|      0|      memcpy(OutBufCur, Str.data(), Size);
  170|      0|      OutBufCur += Size;
  171|      0|    }
  172|  34.5k|    return *this;
  173|  9.22M|  }
_ZN7llvm_ks11raw_ostreamlsEPKc:
  175|   589k|  raw_ostream &operator<<(const char *Str) {
  176|       |    // Inline fast path, particularly for constant strings where a sufficiently
  177|       |    // smart compiler will simplify strlen.
  178|       |
  179|   589k|    return this->operator<<(StringRef(Str));
  180|   589k|  }
_ZN7llvm_ks11raw_ostreamlsERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  182|   112k|  raw_ostream &operator<<(const std::string &Str) {
  183|       |    // Avoid the fast path, it would only increase code size for a marginal win.
  184|   112k|    return write(Str.data(), Str.length());
  185|   112k|  }
_ZN7llvm_ks11raw_ostreamlsEj:
  196|  50.6k|  raw_ostream &operator<<(unsigned int N) {
  197|  50.6k|    return this->operator<<(static_cast<unsigned long>(N));
  198|  50.6k|  }
_ZN7llvm_ks11raw_ostreamlsEi:
  200|  94.9k|  raw_ostream &operator<<(int N) {
  201|  94.9k|    return this->operator<<(static_cast<long>(N));
  202|  94.9k|  }
_ZNK7llvm_ks14raw_fd_ostream9has_errorEv:
  415|      1|  bool has_error() const {
  416|      1|    return Error;
  417|      1|  }
_ZN7llvm_ks19raw_svector_ostream3strEv:
  501|  25.4k|  StringRef str() { return StringRef(OS.data(), OS.size()); }

ks_errno:
   42|  11.4k|{
   43|  11.4k|    return (ks_err)ks->errnum;
   44|  11.4k|}
ks_open:
  261|  17.0k|{
  262|  17.0k|    struct ks_struct *ks;
  263|  17.0k|    std::string TripleName = "";
  264|       |
  265|  17.0k|    if (arch < KS_ARCH_MAX) {
  ------------------
  |  Branch (265:9): [True: 17.0k, False: 0]
  ------------------
  266|       |        // LLVM-based architectures
  267|  17.0k|        ks = new (std::nothrow) ks_struct(arch, mode, KS_ERR_OK, KS_OPT_SYNTAX_INTEL);
  268|       |        
  269|  17.0k|        if (!ks) {
  ------------------
  |  Branch (269:13): [True: 0, False: 17.0k]
  ------------------
  270|       |            // memory insufficient
  271|      0|            return KS_ERR_NOMEM;
  272|      0|        }
  273|       |
  274|  17.0k|        switch(arch) {
  275|      0|            default: break;
  ------------------
  |  Branch (275:13): [True: 0, False: 17.0k]
  ------------------
  276|       |
  277|      0|#ifdef LLVM_ENABLE_ARCH_ARM
  278|      0|            case KS_ARCH_ARM:
  ------------------
  |  Branch (278:13): [True: 0, False: 17.0k]
  ------------------
  279|      0|                if (mode & ~KS_MODE_ARM_MASK) {
  ------------------
  |  |   23|      0|#define KS_MODE_ARM_MASK    (KS_MODE_ARM|KS_MODE_THUMB|KS_MODE_LITTLE_ENDIAN|KS_MODE_BIG_ENDIAN|KS_MODE_V8)
  ------------------
  |  Branch (279:21): [True: 0, False: 0]
  ------------------
  280|      0|                    delete ks;
  281|      0|                    return KS_ERR_MODE;
  282|      0|                }
  283|       |
  284|      0|                switch(mode) {
  285|      0|                    default:
  ------------------
  |  Branch (285:21): [True: 0, False: 0]
  ------------------
  286|      0|                        return KS_ERR_MODE;
  287|       |                    // big-endian
  288|      0|                    case KS_MODE_BIG_ENDIAN | KS_MODE_V8 | KS_MODE_ARM:
  ------------------
  |  Branch (288:21): [True: 0, False: 0]
  ------------------
  289|      0|                        TripleName = "armv8eb";
  290|      0|                        break;
  291|      0|                    case KS_MODE_BIG_ENDIAN | KS_MODE_V8 | KS_MODE_THUMB:
  ------------------
  |  Branch (291:21): [True: 0, False: 0]
  ------------------
  292|      0|                        TripleName = "thumbv8eb";
  293|      0|                        break;
  294|      0|                    case KS_MODE_BIG_ENDIAN | KS_MODE_ARM:
  ------------------
  |  Branch (294:21): [True: 0, False: 0]
  ------------------
  295|      0|                        TripleName = "armv7eb";
  296|      0|                        break;
  297|      0|                    case KS_MODE_BIG_ENDIAN | KS_MODE_THUMB:
  ------------------
  |  Branch (297:21): [True: 0, False: 0]
  ------------------
  298|      0|                        TripleName = "thumbebv7";
  299|      0|                        break;
  300|       |
  301|       |                    // little-endian
  302|      0|                    case KS_MODE_LITTLE_ENDIAN | KS_MODE_V8 | KS_MODE_ARM:
  ------------------
  |  Branch (302:21): [True: 0, False: 0]
  ------------------
  303|      0|                        TripleName = "armv8";
  304|      0|                        break;
  305|      0|                    case KS_MODE_LITTLE_ENDIAN | KS_MODE_V8 | KS_MODE_THUMB:
  ------------------
  |  Branch (305:21): [True: 0, False: 0]
  ------------------
  306|      0|                        TripleName = "thumbv8";
  307|      0|                        break;
  308|      0|                    case KS_MODE_LITTLE_ENDIAN | KS_MODE_ARM:
  ------------------
  |  Branch (308:21): [True: 0, False: 0]
  ------------------
  309|      0|                        TripleName = "armv7";
  310|      0|                        break;
  311|      0|                    case KS_MODE_LITTLE_ENDIAN | KS_MODE_THUMB:
  ------------------
  |  Branch (311:21): [True: 0, False: 0]
  ------------------
  312|      0|                        TripleName = "thumbv7";
  313|      0|                        break;
  314|      0|                }
  315|       |
  316|      0|                InitKs(arch, ks, TripleName);
  317|       |
  318|       |                //ks->init_arch = arm_ks_init;
  319|      0|                break;
  320|      0|#endif
  321|       |
  322|      0|#ifdef LLVM_ENABLE_ARCH_AArch64
  323|      0|            case KS_ARCH_ARM64:
  ------------------
  |  Branch (323:13): [True: 0, False: 17.0k]
  ------------------
  324|      0|                if (mode != KS_MODE_LITTLE_ENDIAN) {
  ------------------
  |  Branch (324:21): [True: 0, False: 0]
  ------------------
  325|      0|                    delete ks;
  326|      0|                    return KS_ERR_MODE;
  327|      0|                }
  328|       |
  329|      0|                TripleName = "aarch64";
  330|      0|                InitKs(arch, ks, TripleName);
  331|       |
  332|       |                //ks->init_arch = arm64_ks_init;
  333|      0|                break;
  334|      0|#endif
  335|       |
  336|      0|#ifdef LLVM_ENABLE_ARCH_Hexagon
  337|      0|            case KS_ARCH_HEXAGON:
  ------------------
  |  Branch (337:13): [True: 0, False: 17.0k]
  ------------------
  338|      0|                if (mode & ~KS_MODE_HEXAGON_MASK) {
  ------------------
  |  |   28|      0|#define KS_MODE_HEXAGON_MASK  (KS_MODE_BIG_ENDIAN)
  ------------------
  |  Branch (338:21): [True: 0, False: 0]
  ------------------
  339|      0|                    delete ks;
  340|      0|                    return KS_ERR_MODE;
  341|      0|                }
  342|       |
  343|      0|                TripleName = "hexagon";
  344|       |
  345|      0|                InitKs(arch, ks, TripleName);
  346|       |
  347|       |                //ks->init_arch = arm_ks_init;
  348|      0|                break;
  349|      0|#endif
  350|       |
  351|      0|#ifdef LLVM_ENABLE_ARCH_SystemZ
  352|      0|            case KS_ARCH_SYSTEMZ:
  ------------------
  |  Branch (352:13): [True: 0, False: 17.0k]
  ------------------
  353|      0|                if (mode & ~KS_MODE_SYSTEMZ_MASK) {
  ------------------
  |  |   29|      0|#define KS_MODE_SYSTEMZ_MASK  (KS_MODE_BIG_ENDIAN)
  ------------------
  |  Branch (353:21): [True: 0, False: 0]
  ------------------
  354|      0|                    delete ks;
  355|      0|                    return KS_ERR_MODE;
  356|      0|                }
  357|       |
  358|      0|                TripleName = "s390x";
  359|       |
  360|      0|                InitKs(arch, ks, TripleName);
  361|       |
  362|       |                //ks->init_arch = arm_ks_init;
  363|      0|                break;
  364|      0|#endif
  365|       |
  366|      0|#ifdef LLVM_ENABLE_ARCH_Sparc
  367|      0|            case KS_ARCH_SPARC:
  ------------------
  |  Branch (367:13): [True: 0, False: 17.0k]
  ------------------
  368|      0|                if ((mode & ~KS_MODE_SPARC_MASK) ||
  ------------------
  |  |   27|      0|#define KS_MODE_SPARC_MASK  (KS_MODE_V9|KS_MODE_SPARC32|KS_MODE_SPARC64|KS_MODE_LITTLE_ENDIAN|KS_MODE_BIG_ENDIAN)
  ------------------
  |  Branch (368:21): [True: 0, False: 0]
  ------------------
  369|      0|                        !(mode & (KS_MODE_SPARC32|KS_MODE_SPARC64))) {
  ------------------
  |  Branch (369:25): [True: 0, False: 0]
  ------------------
  370|      0|                    delete ks;
  371|      0|                    return KS_ERR_MODE;
  372|      0|                }
  373|      0|                if (mode & KS_MODE_BIG_ENDIAN) {
  ------------------
  |  Branch (373:21): [True: 0, False: 0]
  ------------------
  374|       |                    // big endian
  375|      0|                    if (mode & KS_MODE_SPARC64)
  ------------------
  |  Branch (375:25): [True: 0, False: 0]
  ------------------
  376|      0|                        TripleName = "sparc64";
  377|      0|                    else
  378|      0|                        TripleName = "sparc";
  379|      0|                } else {
  380|       |                    // little endian
  381|      0|                    if (mode & KS_MODE_SPARC64) {
  ------------------
  |  Branch (381:25): [True: 0, False: 0]
  ------------------
  382|       |                        // TripleName = "sparc64el";
  383|       |                        // FIXME
  384|      0|                        delete ks;
  385|      0|                        return KS_ERR_MODE;
  386|      0|                    } else
  387|      0|                        TripleName = "sparcel";
  388|      0|                }
  389|       |
  390|      0|                InitKs(arch, ks, TripleName);
  391|       |
  392|      0|                break;
  393|      0|#endif
  394|       |
  395|      0|#ifdef LLVM_ENABLE_ARCH_RISCV
  396|      0|            case KS_ARCH_RISCV: {
  ------------------
  |  Branch (396:13): [True: 0, False: 17.0k]
  ------------------
  397|      0|                if ((mode & ~KS_MODE_RISCV_MASK) ||
  ------------------
  |  |   32|      0|#define KS_MODE_RISCV_MASK (KS_MODE_RISCV32|KS_MODE_RISCV64|KS_MODE_LITTLE_ENDIAN)
  ------------------
  |  Branch (397:21): [True: 0, False: 0]
  ------------------
  398|      0|                        (mode & KS_MODE_BIG_ENDIAN) ||
  ------------------
  |  Branch (398:25): [True: 0, False: 0]
  ------------------
  399|      0|                        !(mode & (KS_MODE_RISCV32|KS_MODE_RISCV64))) {
  ------------------
  |  Branch (399:25): [True: 0, False: 0]
  ------------------
  400|      0|                    delete ks;
  401|      0|                    return KS_ERR_MODE;
  402|      0|                }
  403|       |
  404|      0|                switch(mode) {
  405|      0|                    default: break;
  ------------------
  |  Branch (405:21): [True: 0, False: 0]
  ------------------
  406|      0|                    case KS_MODE_RISCV32:
  ------------------
  |  Branch (406:21): [True: 0, False: 0]
  ------------------
  407|      0|                        TripleName = "riscv32";
  408|      0|                        break;
  409|      0|                    case KS_MODE_RISCV64:
  ------------------
  |  Branch (409:21): [True: 0, False: 0]
  ------------------
  410|      0|                        TripleName = "riscv64";
  411|      0|                        break;
  412|      0|                }
  413|       |
  414|      0|                InitKs(arch, ks, TripleName);
  415|       |
  416|      0|                break;
  417|      0|            }
  418|      0|#endif
  419|       |
  420|      0|#ifdef LLVM_ENABLE_ARCH_Mips
  421|      0|            case KS_ARCH_MIPS:
  ------------------
  |  Branch (421:13): [True: 0, False: 17.0k]
  ------------------
  422|      0|                if ((mode & ~KS_MODE_MIPS_MASK) ||
  ------------------
  |  |   24|      0|#define KS_MODE_MIPS_MASK   (KS_MODE_MIPS32|KS_MODE_MIPS64|KS_MODE_LITTLE_ENDIAN|KS_MODE_BIG_ENDIAN)
  ------------------
  |  Branch (422:21): [True: 0, False: 0]
  ------------------
  423|      0|                        !(mode & (KS_MODE_MIPS32|KS_MODE_MIPS64))) {
  ------------------
  |  Branch (423:25): [True: 0, False: 0]
  ------------------
  424|      0|                    delete ks;
  425|      0|                    return KS_ERR_MODE;
  426|      0|                }
  427|      0|                if (mode & KS_MODE_BIG_ENDIAN) {
  ------------------
  |  Branch (427:21): [True: 0, False: 0]
  ------------------
  428|       |                    // big endian
  429|      0|                    if (mode & KS_MODE_MIPS32)
  ------------------
  |  Branch (429:25): [True: 0, False: 0]
  ------------------
  430|      0|                        TripleName = "mips";
  431|      0|                    if (mode & KS_MODE_MIPS64)
  ------------------
  |  Branch (431:25): [True: 0, False: 0]
  ------------------
  432|      0|                        TripleName = "mips64";
  433|      0|                } else {    // little endian
  434|      0|                    if (mode & KS_MODE_MIPS32)
  ------------------
  |  Branch (434:25): [True: 0, False: 0]
  ------------------
  435|      0|                        TripleName = "mipsel";
  436|      0|                    if (mode & KS_MODE_MIPS64)
  ------------------
  |  Branch (436:25): [True: 0, False: 0]
  ------------------
  437|      0|                        TripleName = "mips64el";
  438|      0|                }
  439|       |
  440|      0|                InitKs(arch, ks, TripleName);
  441|       |
  442|      0|                break;
  443|      0|#endif
  444|       |
  445|      0|#ifdef LLVM_ENABLE_ARCH_PowerPC
  446|      0|            case KS_ARCH_PPC:
  ------------------
  |  Branch (446:13): [True: 0, False: 17.0k]
  ------------------
  447|      0|                if ((mode & ~KS_MODE_PPC_MASK) ||
  ------------------
  |  |   26|      0|#define KS_MODE_PPC_MASK    (KS_MODE_PPC32|KS_MODE_PPC64|KS_MODE_LITTLE_ENDIAN|KS_MODE_BIG_ENDIAN)
  ------------------
  |  Branch (447:21): [True: 0, False: 0]
  ------------------
  448|      0|                        !(mode & (KS_MODE_PPC32|KS_MODE_PPC64))) {
  ------------------
  |  Branch (448:25): [True: 0, False: 0]
  ------------------
  449|      0|                    delete ks;
  450|      0|                    return KS_ERR_MODE;
  451|      0|                }
  452|       |
  453|      0|                if (mode & KS_MODE_BIG_ENDIAN) {
  ------------------
  |  Branch (453:21): [True: 0, False: 0]
  ------------------
  454|       |                    // big endian
  455|      0|                    if (mode & KS_MODE_PPC32)
  ------------------
  |  Branch (455:25): [True: 0, False: 0]
  ------------------
  456|      0|                        TripleName = "ppc32";
  457|      0|                    if (mode & KS_MODE_PPC64)
  ------------------
  |  Branch (457:25): [True: 0, False: 0]
  ------------------
  458|      0|                        TripleName = "ppc64";
  459|      0|                } else {    // little endian
  460|      0|                    if (mode & KS_MODE_PPC32) {
  ------------------
  |  Branch (460:25): [True: 0, False: 0]
  ------------------
  461|       |                        // do not support this mode
  462|      0|                        delete ks;
  463|      0|                        return KS_ERR_MODE;
  464|      0|                    }
  465|      0|                    if (mode & KS_MODE_MIPS64)
  ------------------
  |  Branch (465:25): [True: 0, False: 0]
  ------------------
  466|      0|                        TripleName = "ppc64le";
  467|      0|                }
  468|       |
  469|      0|                InitKs(arch, ks, TripleName);
  470|       |
  471|       |                //ks->init_arch = ppc_ks_init;
  472|      0|                break;
  473|      0|#endif
  474|       |
  475|      0|#ifdef LLVM_ENABLE_ARCH_X86
  476|  17.0k|            case KS_ARCH_X86: {
  ------------------
  |  Branch (476:13): [True: 17.0k, False: 0]
  ------------------
  477|  17.0k|                if ((mode & ~KS_MODE_X86_MASK) ||
  ------------------
  |  |   25|  17.0k|#define KS_MODE_X86_MASK    (KS_MODE_16|KS_MODE_32|KS_MODE_64|KS_MODE_LITTLE_ENDIAN)
  ------------------
  |  Branch (477:21): [True: 0, False: 17.0k]
  ------------------
  478|  17.0k|                        (mode & KS_MODE_BIG_ENDIAN) ||
  ------------------
  |  Branch (478:25): [True: 0, False: 17.0k]
  ------------------
  479|  17.0k|                        !(mode & (KS_MODE_16|KS_MODE_32|KS_MODE_64))) {
  ------------------
  |  Branch (479:25): [True: 0, False: 17.0k]
  ------------------
  480|      0|                    delete ks;
  481|      0|                    return KS_ERR_MODE;
  482|      0|                }
  483|       |
  484|  17.0k|                switch(mode) {
  485|      0|                    default: break;
  ------------------
  |  Branch (485:21): [True: 0, False: 17.0k]
  ------------------
  486|  17.0k|                    case KS_MODE_16:
  ------------------
  |  Branch (486:21): [True: 17.0k, False: 0]
  ------------------
  487|       |                        // FIXME
  488|  17.0k|                        TripleName = "i386-unknown-unknown-code16";
  489|  17.0k|                        break;
  490|      0|                    case KS_MODE_32:
  ------------------
  |  Branch (490:21): [True: 0, False: 17.0k]
  ------------------
  491|       |                        // FIXME
  492|      0|                        TripleName = "i386";
  493|      0|                        break;
  494|      0|                    case KS_MODE_64:
  ------------------
  |  Branch (494:21): [True: 0, False: 17.0k]
  ------------------
  495|       |                        // FIXME
  496|      0|                        TripleName = "x86_64";
  497|      0|                        break;
  498|  17.0k|                }
  499|       |
  500|  17.0k|                InitKs(arch, ks, TripleName);
  501|       |
  502|       |                //ks->init_arch = x86_ks_init;
  503|  17.0k|                break;
  504|  17.0k|            }
  505|      0|#endif
  506|      0|#ifdef LLVM_ENABLE_ARCH_EVM
  507|      0|            case KS_ARCH_EVM: {
  ------------------
  |  Branch (507:13): [True: 0, False: 17.0k]
  ------------------
  508|      0|                *result = ks;
  509|      0|                return KS_ERR_OK;
  510|  17.0k|            }
  511|  17.0k|#endif
  512|  17.0k|        }
  513|       |
  514|  17.0k|        if (TripleName.empty()) {
  ------------------
  |  Branch (514:13): [True: 0, False: 17.0k]
  ------------------
  515|       |            // this arch is not supported
  516|      0|            delete ks;
  517|      0|            return KS_ERR_ARCH;
  518|      0|        }
  519|       |
  520|  17.0k|        *result = ks;
  521|       |
  522|  17.0k|        return KS_ERR_OK;
  523|  17.0k|    } else
  524|      0|        return KS_ERR_ARCH;
  525|  17.0k|}
ks_close:
  530|  17.0k|{
  531|  17.0k|    if (!ks)
  ------------------
  |  Branch (531:9): [True: 0, False: 17.0k]
  ------------------
  532|      0|        return KS_ERR_HANDLE;
  533|       |
  534|  17.0k|    if (ks->arch == KS_ARCH_EVM) {
  ------------------
  |  Branch (534:9): [True: 0, False: 17.0k]
  ------------------
  535|       |        // handle EVM differently
  536|      0|        delete ks;
  537|      0|        return KS_ERR_OK;
  538|      0|    }
  539|       |
  540|       |    // LLVM-based architectures
  541|  17.0k|    delete ks->STI;
  542|  17.0k|    delete ks->MCII;
  543|  17.0k|    delete ks->MAI;
  544|  17.0k|    delete ks->MRI;
  545|  17.0k|    delete ks->MAB;
  546|       |
  547|       |    // finally, free ks itself.
  548|  17.0k|    delete ks;
  549|       |
  550|  17.0k|    return KS_ERR_OK;
  551|  17.0k|}
ks_option:
  556|  17.0k|{
  557|  17.0k|    ks->MAI->setRadix(16);
  558|  17.0k|    switch(type) {
  ------------------
  |  Branch (558:12): [True: 17.0k, False: 0]
  ------------------
  559|  17.0k|        case KS_OPT_SYNTAX:
  ------------------
  |  Branch (559:9): [True: 17.0k, False: 0]
  ------------------
  560|  17.0k|            if (ks->arch != KS_ARCH_X86)
  ------------------
  |  Branch (560:17): [True: 0, False: 17.0k]
  ------------------
  561|      0|                return KS_ERR_OPT_INVALID;
  562|  17.0k|            switch(value) {
  563|  13.9k|                default:
  ------------------
  |  Branch (563:17): [True: 13.9k, False: 3.07k]
  ------------------
  564|  13.9k|                    return KS_ERR_OPT_INVALID;
  565|    200|                case KS_OPT_SYNTAX_RADIX16: // default syntax is Intel
  ------------------
  |  Branch (565:17): [True: 200, False: 16.8k]
  ------------------
  566|    297|                case KS_OPT_SYNTAX_NASM | KS_OPT_SYNTAX_RADIX16:
  ------------------
  |  Branch (566:17): [True: 97, False: 16.9k]
  ------------------
  567|    356|                case KS_OPT_SYNTAX_INTEL | KS_OPT_SYNTAX_RADIX16:
  ------------------
  |  Branch (567:17): [True: 59, False: 16.9k]
  ------------------
  568|    356|                    ks->MAI->setRadix(16);
  569|    637|                case KS_OPT_SYNTAX_NASM:
  ------------------
  |  Branch (569:17): [True: 281, False: 16.7k]
  ------------------
  570|    681|                case KS_OPT_SYNTAX_INTEL:
  ------------------
  |  Branch (570:17): [True: 44, False: 17.0k]
  ------------------
  571|    681|                    ks->syntax = (ks_opt_value)value;
  572|    681|                    ks->MAI->setAssemblerDialect(1);
  573|    681|                    break;
  574|  1.73k|                case KS_OPT_SYNTAX_GAS | KS_OPT_SYNTAX_RADIX16:
  ------------------
  |  Branch (574:17): [True: 1.73k, False: 15.3k]
  ------------------
  575|  1.98k|                case KS_OPT_SYNTAX_ATT | KS_OPT_SYNTAX_RADIX16:
  ------------------
  |  Branch (575:17): [True: 251, False: 16.7k]
  ------------------
  576|  1.98k|                    ks->MAI->setRadix(16);
  577|  2.23k|                case KS_OPT_SYNTAX_GAS:
  ------------------
  |  Branch (577:17): [True: 248, False: 16.7k]
  ------------------
  578|  2.39k|                case KS_OPT_SYNTAX_ATT:
  ------------------
  |  Branch (578:17): [True: 156, False: 16.8k]
  ------------------
  579|  2.39k|                    ks->syntax = (ks_opt_value)value;
  580|  2.39k|                    ks->MAI->setAssemblerDialect(0);
  581|  2.39k|                    break;
  582|  17.0k|            }
  583|       |
  584|  3.07k|            return KS_ERR_OK;
  585|      0|        case KS_OPT_SYM_RESOLVER:
  ------------------
  |  Branch (585:9): [True: 0, False: 17.0k]
  ------------------
  586|      0|            ks->sym_resolver = (ks_sym_resolver)value;
  587|      0|            return KS_ERR_OK;
  588|  17.0k|    }
  589|       |
  590|      0|    return KS_ERR_OPT_INVALID;
  591|  17.0k|}
ks_free:
  596|  5.59k|{
  597|  5.59k|    free(p);
  598|  5.59k|}
ks_asm:
  610|  17.0k|{
  611|  17.0k|    MCCodeEmitter *CE;
  612|  17.0k|    MCStreamer *Streamer;
  613|  17.0k|    unsigned char *encoding;
  614|  17.0k|    SmallString<1024> Msg;
  615|  17.0k|    raw_svector_ostream OS(Msg);
  616|       |
  617|  17.0k|    if (ks->arch == KS_ARCH_EVM) {
  ------------------
  |  Branch (617:9): [True: 0, False: 17.0k]
  ------------------
  618|       |        // handle EVM differently
  619|      0|        unsigned short opcode = EVM_opcode(assembly);
  620|      0|        if (opcode == (unsigned short)-1) {
  ------------------
  |  Branch (620:13): [True: 0, False: 0]
  ------------------
  621|       |            // invalid instruction
  622|      0|            return -1;
  623|      0|        }
  624|       |
  625|      0|        *insn_size = 1;
  626|      0|        *stat_count = 1;
  627|      0|        encoding = (unsigned char *)malloc(*insn_size);
  628|      0|        encoding[0] = opcode;
  629|      0|        *insn = encoding;
  630|      0|        return 0;
  631|      0|    }
  632|       |
  633|  17.0k|    *insn = NULL;
  634|  17.0k|    *insn_size = 0;
  635|       |
  636|  17.0k|    MCContext Ctx(ks->MAI, ks->MRI, &ks->MOFI, &ks->SrcMgr, true, address);
  637|  17.0k|    ks->MOFI.InitMCObjectFileInfo(Triple(ks->TripleName), Ctx);
  638|  17.0k|    CE = ks->TheTarget->createMCCodeEmitter(*ks->MCII, *ks->MRI, Ctx);
  639|  17.0k|    if (!CE) {
  ------------------
  |  Branch (639:9): [True: 0, False: 17.0k]
  ------------------
  640|       |        // memory insufficient
  641|      0|        return KS_ERR_NOMEM;
  642|      0|    }
  643|  17.0k|    Streamer = ks->TheTarget->createMCObjectStreamer(
  644|  17.0k|            Triple(ks->TripleName), Ctx, *ks->MAB, OS, CE, *ks->STI, ks->MCOptions.MCRelaxAll,
  645|  17.0k|            /*DWARFMustBeAtTheEnd*/ false);
  646|       |            
  647|  17.0k|    if (!Streamer) {
  ------------------
  |  Branch (647:9): [True: 0, False: 17.0k]
  ------------------
  648|       |        // memory insufficient
  649|      0|        delete CE;
  650|      0|        return KS_ERR_NOMEM;
  651|      0|    }
  652|       |
  653|       |    // Tell SrcMgr about this buffer, which is what the parser will pick up.
  654|  17.0k|    ErrorOr<std::unique_ptr<MemoryBuffer>> BufferPtr = MemoryBuffer::getMemBuffer(assembly);
  655|  17.0k|    if (BufferPtr.getError()) {
  ------------------
  |  Branch (655:9): [True: 0, False: 17.0k]
  ------------------
  656|      0|        delete Streamer;
  657|      0|        delete CE;
  658|      0|        return KS_ERR_NOMEM;
  659|      0|    }
  660|       |
  661|  17.0k|    ks->SrcMgr.clearBuffers();
  662|  17.0k|    ks->SrcMgr.AddNewSourceBuffer(std::move(*BufferPtr), SMLoc());
  663|       |
  664|  17.0k|    Streamer->setSymResolver((void *)(ks->sym_resolver));
  665|       |
  666|  17.0k|    MCAsmParser *Parser = createMCAsmParser(ks->SrcMgr, Ctx, *Streamer, *ks->MAI);
  667|  17.0k|    if (!Parser) {
  ------------------
  |  Branch (667:9): [True: 0, False: 17.0k]
  ------------------
  668|      0|        delete Streamer;
  669|      0|        delete CE;
  670|       |        // memory insufficient
  671|      0|        return KS_ERR_NOMEM;
  672|      0|    }
  673|  17.0k|    MCTargetAsmParser *TAP = ks->TheTarget->createMCAsmParser(*ks->STI, *Parser, *ks->MCII, ks->MCOptions);
  674|  17.0k|    if (!TAP) { 
  ------------------
  |  Branch (674:9): [True: 0, False: 17.0k]
  ------------------
  675|       |        // memory insufficient
  676|      0|        delete Parser;
  677|      0|        delete Streamer;
  678|      0|        delete CE;
  679|      0|        return KS_ERR_NOMEM;
  680|      0|    }
  681|  17.0k|    TAP->KsSyntax = ks->syntax;
  682|       |
  683|  17.0k|    Parser->setTargetParser(*TAP);
  684|       |
  685|       |    // TODO: optimize this to avoid setting up NASM every time we call ks_asm()
  686|  17.0k|    if (ks->arch == KS_ARCH_X86 && ks->syntax == KS_OPT_SYNTAX_NASM) {
  ------------------
  |  Branch (686:9): [True: 17.0k, False: 0]
  |  Branch (686:36): [True: 281, False: 16.7k]
  ------------------
  687|    281|        Parser->initializeDirectiveKindMap(KS_OPT_SYNTAX_NASM);
  688|    281|        ks->MAI->setCommentString(";");
  689|    281|    }
  690|       |
  691|  17.0k|    *stat_count = Parser->Run(false, address);
  692|       |
  693|       |    // PPC counts empty statement
  694|  17.0k|    if (ks->arch == KS_ARCH_PPC)
  ------------------
  |  Branch (694:9): [True: 0, False: 17.0k]
  ------------------
  695|      0|        *stat_count = *stat_count / 2;
  696|       |
  697|  17.0k|    ks->errnum = Parser->KsError;
  698|       |
  699|  17.0k|    delete TAP;
  700|  17.0k|    delete Parser;
  701|  17.0k|    delete CE;
  702|  17.0k|    delete Streamer;
  703|       |
  704|  17.0k|    if (ks->errnum >= KS_ERR_ASM)
  ------------------
  |  |  103|  17.0k|#define KS_ERR_ASM 128
  ------------------
  |  Branch (704:9): [True: 11.4k, False: 5.59k]
  ------------------
  705|  11.4k|        return -1;
  706|  5.59k|    else {
  707|  5.59k|        *insn_size = Msg.size();
  708|  5.59k|        encoding = (unsigned char *)malloc(*insn_size);
  709|  5.59k|        if (!encoding) {
  ------------------
  |  Branch (709:13): [True: 0, False: 5.59k]
  ------------------
  710|      0|            return KS_ERR_NOMEM;
  711|      0|        }
  712|  5.59k|        memcpy(encoding, Msg.data(), *insn_size);
  713|  5.59k|        *insn = encoding;
  714|  5.59k|        return 0;
  715|  5.59k|    }
  716|  17.0k|}
ks.cpp:_ZL6InitKsiP9ks_structNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  204|  17.0k|{
  205|  17.0k|    static bool initialized = false;
  206|  17.0k|    std::string MCPU = "";
  207|       |
  208|  17.0k|    if (!initialized) {
  ------------------
  |  Branch (208:9): [True: 1, False: 17.0k]
  ------------------
  209|      1|        initialized = true;
  210|       |        // Initialize targets and assembly parsers.
  211|      1|        llvm_ks::InitializeAllTargetInfos();
  212|      1|        llvm_ks::InitializeAllTargetMCs();
  213|      1|        llvm_ks::InitializeAllAsmParsers();
  214|      1|    }
  215|       |
  216|  17.0k|    ks->TripleName = Triple::normalize(TripleName);
  217|  17.0k|    ks->TheTarget = GetTarget(ks->TripleName);
  218|  17.0k|    if (!ks->TheTarget)
  ------------------
  |  Branch (218:9): [True: 0, False: 17.0k]
  ------------------
  219|      0|        return KS_ERR_MODE;   // FIXME
  220|       |
  221|       |    // Now that GetTarget() has (potentially) replaced TripleName, it's safe to
  222|       |    // construct the Triple object.
  223|  17.0k|    Triple TheTriple(ks->TripleName);
  224|       |
  225|  17.0k|    ks->MRI = ks->TheTarget->createMCRegInfo(ks->TripleName);
  226|  17.0k|    assert(ks->MRI && "Unable to create target register info!");
  ------------------
  |  Branch (226:5): [True: 17.0k, False: 0]
  |  Branch (226:5): [True: 17.0k, Folded]
  |  Branch (226:5): [True: 17.0k, False: 0]
  ------------------
  227|       |
  228|       |    // Package up features to be passed to target/subtarget
  229|       |#if 0
  230|       |    if (MAttrs.size()) {
  231|       |        SubtargetFeatures Features;
  232|       |        for (unsigned i = 0; i != MAttrs.size(); ++i)
  233|       |            Features.AddFeature(MAttrs[i]);
  234|       |        ks->FeaturesStr = Features.getString();
  235|       |    }
  236|       |#endif
  237|       |
  238|  17.0k|    ks->MAI = ks->TheTarget->createMCAsmInfo(*ks->MRI, ks->TripleName);
  239|  17.0k|    assert(ks->MAI && "Unable to create target asm info!");
  ------------------
  |  Branch (239:5): [True: 17.0k, False: 0]
  |  Branch (239:5): [True: 17.0k, Folded]
  |  Branch (239:5): [True: 17.0k, False: 0]
  ------------------
  240|       |
  241|       |    // enable Knights Landing architecture for X86
  242|  17.0k|    if (ks->arch == KS_ARCH_X86)
  ------------------
  |  Branch (242:9): [True: 17.0k, False: 0]
  ------------------
  243|  17.0k|        MCPU = "knl";
  244|       |
  245|  17.0k|    ks->MCII = ks->TheTarget->createMCInstrInfo();
  246|  17.0k|    ks->STI = ks->TheTarget->createMCSubtargetInfo(ks->TripleName, MCPU, ks->FeaturesStr);
  247|  17.0k|    if(ks->TripleName.rfind("riscv",0)==0){
  ------------------
  |  Branch (247:8): [True: 0, False: 17.0k]
  ------------------
  248|      0|        ks->MAB = ks->TheTarget->createMCAsmBackend2(*ks->MRI, ks->TripleName, MCPU, *ks->STI, ks->MCOptions);
  249|  17.0k|    } else {
  250|  17.0k|        ks->MAB = ks->TheTarget->createMCAsmBackend(*ks->MRI, ks->TripleName, MCPU);
  251|  17.0k|    }
  252|  17.0k|    ks->MAB->setArch(arch);
  253|  17.0k|    ks->MCOptions = InitMCTargetOptionsFromFlags();
  254|       |
  255|  17.0k|    return KS_ERR_OK;
  256|  17.0k|}
ks.cpp:_ZL9GetTargetNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE:
  192|  17.0k|{
  193|       |    // Figure out the target triple.
  194|  17.0k|    Triple TheTriple(TripleName);
  195|       |
  196|       |    // Get the target specific parser.
  197|  17.0k|    std::string Error;
  198|       |
  199|  17.0k|    return TargetRegistry::lookupTarget("", TheTriple, Error);
  200|  17.0k|}

_ZN9ks_structC2E7ks_archij12ks_opt_value:
   63|  17.0k|        : arch(arch), mode(mode), errnum(errnum), syntax(syntax) { }

_ZN7llvm_ks21createELFObjectWriterEPNS_23MCELFObjectTargetWriterERNS_17raw_pwrite_streamEb:
 1271|  17.0k|                                            bool IsLittleEndian) {
 1272|  17.0k|  return new ELFObjectWriter(MOTW, OS, IsLittleEndian);
 1273|  17.0k|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriterC2EPN7llvm_ks23MCELFObjectTargetWriterERNS1_17raw_pwrite_streamEb:
  142|  17.0k|        : MCObjectWriter(OS, IsLittleEndian), TargetObjectWriter(MOTW) {}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriterD2Ev:
  297|  17.0k|{}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter24executePostLayoutBindingERN7llvm_ks11MCAssemblerERKNS1_11MCAsmLayoutE:
  316|  7.89k|                                               const MCAsmLayout &Layout) {
  317|       |  // The presence of symbol versions causes undefined symbols and
  318|       |  // versions declared with @@@ to be renamed.
  319|       |
  320|  60.5k|  for (const MCSymbol &A : Asm.symbols()) {
  ------------------
  |  Branch (320:26): [True: 60.5k, False: 7.89k]
  ------------------
  321|  60.5k|    const auto &Alias = cast<MCSymbolELF>(A);
  322|       |    // Not an alias.
  323|  60.5k|    if (!Alias.isVariable())
  ------------------
  |  Branch (323:9): [True: 58.8k, False: 1.73k]
  ------------------
  324|  58.8k|      continue;
  325|  1.73k|    auto *Ref = dyn_cast<MCSymbolRefExpr>(Alias.getVariableValue());
  326|  1.73k|    if (!Ref)
  ------------------
  |  Branch (326:9): [True: 788, False: 951]
  ------------------
  327|    788|      continue;
  328|    951|    const auto &Symbol = cast<MCSymbolELF>(Ref->getSymbol());
  329|       |
  330|    951|    StringRef AliasName = Alias.getName();
  331|    951|    size_t Pos = AliasName.find('@');
  332|    951|    if (Pos == StringRef::npos)
  ------------------
  |  Branch (332:9): [True: 290, False: 661]
  ------------------
  333|    290|      continue;
  334|       |
  335|       |    // Aliases defined with .symvar copy the binding from the symbol they alias.
  336|       |    // This is the first place we are able to copy this information.
  337|    661|    Alias.setExternal(Symbol.isExternal());
  338|    661|    Alias.setBinding(Symbol.getBinding());
  339|       |
  340|    661|    StringRef Rest = AliasName.substr(Pos);
  341|    661|    if (!Symbol.isUndefined() && !Rest.startswith("@@@"))
  ------------------
  |  Branch (341:9): [True: 303, False: 358]
  |  Branch (341:9): [True: 106, False: 555]
  |  Branch (341:34): [True: 106, False: 197]
  ------------------
  342|    106|      continue;
  343|       |
  344|       |    // FIXME: produce a better error message.
  345|    555|    if (Symbol.isUndefined() && Rest.startswith("@@") &&
  ------------------
  |  Branch (345:9): [True: 358, False: 197]
  |  Branch (345:9): [True: 0, False: 555]
  |  Branch (345:33): [True: 73, False: 285]
  ------------------
  346|     73|        !Rest.startswith("@@@"))
  ------------------
  |  Branch (346:9): [True: 0, False: 73]
  ------------------
  347|      0|      report_fatal_error("A @@ version cannot be undefined");
  348|       |
  349|    555|    Renames.insert(std::make_pair(&Symbol, &Alias));
  350|    555|  }
  351|  7.89k|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter16recordRelocationERN7llvm_ks11MCAssemblerERKNS1_11MCAsmLayoutEPKNS1_10MCFragmentERKNS1_7MCFixupENS1_7MCValueERbRm:
  557|  9.70k|{
  558|  9.70k|  const MCSectionELF &FixupSection = cast<MCSectionELF>(*Fragment->getParent());
  559|  9.70k|  uint64_t C = Target.getConstant();
  560|  9.70k|  bool valid;
  561|  9.70k|  uint64_t FixupOffset = Layout.getFragmentOffset(Fragment, valid) + Fixup.getOffset();
  562|  9.70k|  MCContext &Ctx = Asm.getContext();
  563|       |
  564|  9.70k|  if (const MCSymbolRefExpr *RefB = Target.getSymB()) {
  ------------------
  |  Branch (564:30): [True: 6.03k, False: 3.67k]
  ------------------
  565|  6.03k|    assert(RefB->getKind() == MCSymbolRefExpr::VK_None &&
  ------------------
  |  Branch (565:5): [True: 6.03k, False: 0]
  |  Branch (565:5): [True: 6.03k, Folded]
  |  Branch (565:5): [True: 6.03k, False: 0]
  ------------------
  566|  6.03k|           "Should not have constructed this");
  567|       |
  568|       |    // Let A, B and C being the components of Target and R be the location of
  569|       |    // the fixup. If the fixup is not pcrel, we want to compute (A - B + C).
  570|       |    // If it is pcrel, we want to compute (A - B + C - R).
  571|       |
  572|       |    // In general, ELF has no relocations for -B. It can only represent (A + C)
  573|       |    // or (A + C - R). If B = R + K and the relocation is not pcrel, we can
  574|       |    // replace B to implement it: (A - R - K + C)
  575|  6.03k|    if (IsPCRel) {
  ------------------
  |  Branch (575:9): [True: 56, False: 5.97k]
  ------------------
  576|     56|      Ctx.reportError(
  577|     56|          Fixup.getLoc(),
  578|     56|          "No relocation available to represent this relative expression");
  579|     56|      return;
  580|     56|    }
  581|       |
  582|  5.97k|    const auto &SymB = cast<MCSymbolELF>(RefB->getSymbol());
  583|       |
  584|  5.97k|    if (SymB.isUndefined()) {
  ------------------
  |  Branch (584:9): [True: 5.45k, False: 520]
  ------------------
  585|  5.45k|      Ctx.reportError(Fixup.getLoc(),
  586|  5.45k|                      Twine("symbol '") + SymB.getName() +
  587|  5.45k|                          "' can not be undefined in a subtraction expression");
  588|  5.45k|      return;
  589|  5.45k|    }
  590|       |
  591|  5.97k|    assert(!SymB.isAbsolute() && "Should have been folded");
  ------------------
  |  Branch (591:5): [True: 520, False: 0]
  |  Branch (591:5): [True: 520, Folded]
  |  Branch (591:5): [True: 520, False: 0]
  ------------------
  592|    520|    const MCSection &SecB = SymB.getSection();
  593|    520|    if (&SecB != &FixupSection) {
  ------------------
  |  Branch (593:9): [True: 0, False: 520]
  ------------------
  594|      0|      Ctx.reportError(Fixup.getLoc(),
  595|      0|                      "Cannot represent a difference across sections");
  596|      0|      return;
  597|      0|    }
  598|       |
  599|    520|    bool valid;
  600|    520|    uint64_t SymBOffset = Layout.getSymbolOffset(SymB, valid);
  601|    520|    uint64_t K = SymBOffset - FixupOffset;
  602|    520|    IsPCRel = true;
  603|    520|    C -= K;
  604|    520|  }
  605|       |
  606|       |  // We either rejected the fixup or folded B into C at this point.
  607|  4.19k|  const MCSymbolRefExpr *RefA = Target.getSymA();
  608|  4.19k|  const auto *SymA = RefA ? cast<MCSymbolELF>(&RefA->getSymbol()) : nullptr;
  ------------------
  |  Branch (608:22): [True: 3.67k, False: 520]
  ------------------
  609|       |
  610|  4.19k|  bool ViaWeakRef = false;
  611|  4.19k|  if (SymA && SymA->isVariable()) {
  ------------------
  |  Branch (611:7): [True: 3.67k, False: 520]
  |  Branch (611:15): [True: 285, False: 3.39k]
  ------------------
  612|    285|    const MCExpr *Expr = SymA->getVariableValue();
  613|    285|    if (const auto *Inner = dyn_cast<MCSymbolRefExpr>(Expr)) {
  ------------------
  |  Branch (613:21): [True: 181, False: 104]
  ------------------
  614|    181|      if (Inner->getKind() == MCSymbolRefExpr::VK_WEAKREF) {
  ------------------
  |  Branch (614:11): [True: 0, False: 181]
  ------------------
  615|      0|        SymA = cast<MCSymbolELF>(&Inner->getSymbol());
  616|      0|        ViaWeakRef = true;
  617|      0|      }
  618|    181|    }
  619|    285|  }
  620|       |
  621|  4.19k|  unsigned Type = getRelocType(Ctx, Target, Fixup, IsPCRel);
  622|  4.19k|  bool RelocateWithSymbol = shouldRelocateWithSymbol(Asm, RefA, SymA, C, Type);
  623|  4.19k|  if (!RelocateWithSymbol && SymA && !SymA->isUndefined()) {
  ------------------
  |  Branch (623:7): [True: 4.14k, False: 50]
  |  Branch (623:30): [True: 3.62k, False: 520]
  |  Branch (623:38): [True: 3.62k, False: 0]
  ------------------
  624|  3.62k|    bool valid;
  625|  3.62k|    C += Layout.getSymbolOffset(*SymA, valid);
  626|  3.62k|  }
  627|       |
  628|  4.19k|  uint64_t Addend = 0;
  629|  4.19k|  if (hasRelocationAddend()) {
  ------------------
  |  Branch (629:7): [True: 0, False: 4.19k]
  ------------------
  630|      0|    Addend = C;
  631|      0|    C = 0;
  632|      0|  }
  633|       |
  634|  4.19k|  FixedValue = C;
  635|       |
  636|  4.19k|  if (!RelocateWithSymbol) {
  ------------------
  |  Branch (636:7): [True: 4.14k, False: 50]
  ------------------
  637|  4.14k|    const MCSection *SecA =
  638|  4.14k|        (SymA && !SymA->isUndefined()) ? &SymA->getSection() : nullptr;
  ------------------
  |  Branch (638:10): [True: 3.62k, False: 520]
  |  Branch (638:18): [True: 3.62k, False: 0]
  ------------------
  639|  4.14k|    auto *ELFSec = cast_or_null<MCSectionELF>(SecA);
  640|  4.14k|    const auto *SectionSymbol =
  641|  4.14k|        ELFSec ? cast<MCSymbolELF>(ELFSec->getBeginSymbol()) : nullptr;
  ------------------
  |  Branch (641:9): [True: 3.62k, False: 520]
  ------------------
  642|  4.14k|    if (SectionSymbol)
  ------------------
  |  Branch (642:9): [True: 3.62k, False: 520]
  ------------------
  643|  3.62k|      SectionSymbol->setUsedInReloc();
  644|  4.14k|    ELFRelocationEntry Rec(FixupOffset, SectionSymbol, Type, Addend);
  645|  4.14k|    Relocations[&FixupSection].push_back(Rec);
  646|  4.14k|    return;
  647|  4.14k|  }
  648|       |
  649|     50|  if (SymA) {
  ------------------
  |  Branch (649:7): [True: 50, False: 0]
  ------------------
  650|     50|    if (const MCSymbolELF *R = Renames.lookup(SymA))
  ------------------
  |  Branch (650:28): [True: 0, False: 50]
  ------------------
  651|      0|      SymA = R;
  652|       |
  653|     50|    if (ViaWeakRef)
  ------------------
  |  Branch (653:9): [True: 0, False: 50]
  ------------------
  654|      0|      SymA->setIsWeakrefUsedInReloc();
  655|     50|    else
  656|     50|      SymA->setUsedInReloc();
  657|     50|  }
  658|     50|  ELFRelocationEntry Rec(FixupOffset, SymA, Type, Addend);
  659|     50|  Relocations[&FixupSection].push_back(Rec);
  660|     50|  return;
  661|  4.19k|}
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter12getRelocTypeERN7llvm_ks9MCContextERKNS1_7MCValueERKNS1_7MCFixupEb:
  133|  4.19k|                          const MCFixup &Fixup, bool IsPCRel) const {
  134|  4.19k|      return TargetObjectWriter->getRelocType(Ctx, Target, Fixup, IsPCRel);
  135|  4.19k|    }
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter24shouldRelocateWithSymbolERKN7llvm_ks11MCAssemblerEPKNS1_15MCSymbolRefExprEPKNS1_8MCSymbolEmj:
  437|  4.19k|                                               unsigned Type) const {
  438|  4.19k|  const auto *Sym = cast_or_null<MCSymbolELF>(S);
  439|       |  // A PCRel relocation to an absolute value has no symbol (or section). We
  440|       |  // represent that with a relocation to a null section.
  441|  4.19k|  if (!RefA)
  ------------------
  |  Branch (441:7): [True: 520, False: 3.67k]
  ------------------
  442|    520|    return false;
  443|       |
  444|  3.67k|  MCSymbolRefExpr::VariantKind Kind = RefA->getKind();
  445|  3.67k|  switch (Kind) {
  446|  3.62k|  default:
  ------------------
  |  Branch (446:3): [True: 3.62k, False: 50]
  ------------------
  447|  3.62k|    break;
  448|       |  // The .odp creation emits a relocation against the symbol ".TOC." which
  449|       |  // create a R_PPC64_TOC relocation. However the relocation symbol name
  450|       |  // in final object creation should be NULL, since the symbol does not
  451|       |  // really exist, it is just the reference to TOC base for the current
  452|       |  // object file. Since the symbol is undefined, returning false results
  453|       |  // in a relocation with a null section which is the desired result.
  454|  3.62k|  case MCSymbolRefExpr::VK_PPC_TOCBASE:
  ------------------
  |  Branch (454:3): [True: 0, False: 3.67k]
  ------------------
  455|      0|    return false;
  456|       |
  457|       |  // These VariantKind cause the relocation to refer to something other than
  458|       |  // the symbol itself, like a linker generated table. Since the address of
  459|       |  // symbol is not relevant, we cannot replace the symbol with the
  460|       |  // section and patch the difference in the addend.
  461|     50|  case MCSymbolRefExpr::VK_GOT:
  ------------------
  |  Branch (461:3): [True: 50, False: 3.62k]
  ------------------
  462|     50|  case MCSymbolRefExpr::VK_PLT:
  ------------------
  |  Branch (462:3): [True: 0, False: 3.67k]
  ------------------
  463|     50|  case MCSymbolRefExpr::VK_GOTPCREL:
  ------------------
  |  Branch (463:3): [True: 0, False: 3.67k]
  ------------------
  464|     50|  case MCSymbolRefExpr::VK_Mips_GOT:
  ------------------
  |  Branch (464:3): [True: 0, False: 3.67k]
  ------------------
  465|     50|  case MCSymbolRefExpr::VK_PPC_GOT_LO:
  ------------------
  |  Branch (465:3): [True: 0, False: 3.67k]
  ------------------
  466|     50|  case MCSymbolRefExpr::VK_PPC_GOT_HI:
  ------------------
  |  Branch (466:3): [True: 0, False: 3.67k]
  ------------------
  467|     50|  case MCSymbolRefExpr::VK_PPC_GOT_HA:
  ------------------
  |  Branch (467:3): [True: 0, False: 3.67k]
  ------------------
  468|     50|    return true;
  469|  3.67k|  }
  470|       |
  471|       |  // An undefined symbol is not in any section, so the relocation has to point
  472|       |  // to the symbol itself.
  473|  3.67k|  assert(Sym && "Expected a symbol");
  ------------------
  |  Branch (473:3): [True: 3.62k, False: 0]
  |  Branch (473:3): [True: 3.62k, Folded]
  |  Branch (473:3): [True: 3.62k, False: 0]
  ------------------
  474|  3.62k|  if (Sym->isUndefined())
  ------------------
  |  Branch (474:7): [True: 0, False: 3.62k]
  ------------------
  475|      0|    return true;
  476|       |
  477|  3.62k|  unsigned Binding = Sym->getBinding();
  478|  3.62k|  switch(Binding) {
  479|      0|  default:
  ------------------
  |  Branch (479:3): [True: 0, False: 3.62k]
  ------------------
  480|      0|    llvm_unreachable("Invalid Binding");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  481|  3.62k|  case ELF::STB_LOCAL:
  ------------------
  |  Branch (481:3): [True: 3.62k, False: 0]
  ------------------
  482|  3.62k|    break;
  483|      0|  case ELF::STB_WEAK:
  ------------------
  |  Branch (483:3): [True: 0, False: 3.62k]
  ------------------
  484|       |    // If the symbol is weak, it might be overridden by a symbol in another
  485|       |    // file. The relocation has to point to the symbol so that the linker
  486|       |    // can update it.
  487|      0|    return true;
  488|      0|  case ELF::STB_GLOBAL:
  ------------------
  |  Branch (488:3): [True: 0, False: 3.62k]
  ------------------
  489|       |    // Global ELF symbols can be preempted by the dynamic linker. The relocation
  490|       |    // has to point to the symbol for a reason analogous to the STB_WEAK case.
  491|      0|    return true;
  492|  3.62k|  }
  493|       |
  494|       |  // If a relocation points to a mergeable section, we have to be careful.
  495|       |  // If the offset is zero, a relocation with the section will encode the
  496|       |  // same information. With a non-zero offset, the situation is different.
  497|       |  // For example, a relocation can point 42 bytes past the end of a string.
  498|       |  // If we change such a relocation to use the section, the linker would think
  499|       |  // that it pointed to another string and subtracting 42 at runtime will
  500|       |  // produce the wrong value.
  501|  3.62k|  auto &Sec = cast<MCSectionELF>(Sym->getSection());
  502|  3.62k|  unsigned Flags = Sec.getFlags();
  503|  3.62k|  if (Flags & ELF::SHF_MERGE) {
  ------------------
  |  Branch (503:7): [True: 0, False: 3.62k]
  ------------------
  504|      0|    if (C != 0)
  ------------------
  |  Branch (504:9): [True: 0, False: 0]
  ------------------
  505|      0|      return true;
  506|       |
  507|       |    // It looks like gold has a bug (http://sourceware.org/PR16794) and can
  508|       |    // only handle section relocations to mergeable sections if using RELA.
  509|      0|    if (!hasRelocationAddend())
  ------------------
  |  Branch (509:9): [True: 0, False: 0]
  ------------------
  510|      0|      return true;
  511|      0|  }
  512|       |
  513|       |  // Most TLS relocations use a got, so they need the symbol. Even those that
  514|       |  // are just an offset (@tpoff), require a symbol in gold versions before
  515|       |  // 5efeedf61e4fe720fd3e9a08e6c91c10abb66d42 (2014-09-26) which fixed
  516|       |  // http://sourceware.org/PR16773.
  517|  3.62k|  if (Flags & ELF::SHF_TLS)
  ------------------
  |  Branch (517:7): [True: 0, False: 3.62k]
  ------------------
  518|      0|    return true;
  519|       |
  520|       |  // If the symbol is a thumb function the final relocation must set the lowest
  521|       |  // bit. With a symbol that is done by just having the symbol have that bit
  522|       |  // set, so we would lose the bit if we relocated with the section.
  523|       |  // FIXME: We could use the section but add the bit to the relocation value.
  524|  3.62k|  if (Asm.isThumbFunc(Sym))
  ------------------
  |  Branch (524:7): [True: 0, False: 3.62k]
  ------------------
  525|      0|    return true;
  526|       |
  527|  3.62k|  if (TargetObjectWriter->needsRelocateWithSymbol(*Sym, Type))
  ------------------
  |  Branch (527:7): [True: 0, False: 3.62k]
  ------------------
  528|      0|    return true;
  529|  3.62k|  return false;
  530|  3.62k|}
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter19hasRelocationAddendEv:
  127|  4.55k|    bool hasRelocationAddend() const {
  128|       |      // Keystone doesn't want relocation addends.
  129|       |      /* return TargetObjectWriter->hasRelocationAddend(); */
  130|  4.55k|      return false;
  131|  4.55k|    }
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter38isSymbolRefDifferenceFullyResolvedImplERKN7llvm_ks11MCAssemblerERKNS1_8MCSymbolERKNS1_10MCFragmentEbb:
 1237|  11.0k|    bool InSet, bool IsPCRel) const {
 1238|  11.0k|  const auto &SymA = cast<MCSymbolELF>(SA);
 1239|  11.0k|  if (IsPCRel) {
  ------------------
  |  Branch (1239:7): [True: 119, False: 10.9k]
  ------------------
 1240|    119|    assert(!InSet);
  ------------------
  |  Branch (1240:5): [True: 119, False: 0]
  ------------------
 1241|    119|    if (::isWeak(SymA))
  ------------------
  |  Branch (1241:9): [True: 0, False: 119]
  ------------------
 1242|      0|      return false;
 1243|    119|  }
 1244|  11.0k|  return MCObjectWriter::isSymbolRefDifferenceFullyResolvedImpl(Asm, SymA, FB,
 1245|  11.0k|                                                                InSet, IsPCRel);
 1246|  11.0k|}
ELFObjectWriter.cpp:_ZL6isWeakRKN7llvm_ks11MCSymbolELFE:
  535|    119|static bool isWeak(const MCSymbolELF &Sym) {
  536|    119|  if (Sym.getType() == ELF::STT_GNU_IFUNC)
  ------------------
  |  Branch (536:7): [True: 0, False: 119]
  ------------------
  537|      0|    return true;
  538|       |
  539|    119|  switch (Sym.getBinding()) {
  540|      0|  default:
  ------------------
  |  Branch (540:3): [True: 0, False: 119]
  ------------------
  541|      0|    llvm_unreachable("Unknown binding");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  542|    119|  case ELF::STB_LOCAL:
  ------------------
  |  Branch (542:3): [True: 119, False: 0]
  ------------------
  543|    119|    return false;
  544|      0|  case ELF::STB_GLOBAL:
  ------------------
  |  Branch (544:3): [True: 0, False: 119]
  ------------------
  545|      0|    return false;
  546|      0|  case ELF::STB_WEAK:
  ------------------
  |  Branch (546:3): [True: 0, False: 119]
  ------------------
  547|      0|  case ELF::STB_GNU_UNIQUE:
  ------------------
  |  Branch (547:3): [True: 0, False: 119]
  ------------------
  548|      0|    return true;
  549|    119|  }
  550|    119|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter11writeObjectERN7llvm_ks11MCAssemblerERKNS1_11MCAsmLayoutE:
 1103|  7.11k|{
 1104|  7.11k|  MCContext &Ctx = Asm.getContext();
 1105|  7.11k|  MCSectionELF *StrtabSection =
 1106|  7.11k|      Ctx.getELFSection(".strtab", ELF::SHT_STRTAB, 0);
 1107|  7.11k|  StringTableIndex = addToSectionTable(StrtabSection);
 1108|       |
 1109|  7.11k|  RevGroupMapTy RevGroupMap;
 1110|  7.11k|  SectionIndexMapTy SectionIndexMap;
 1111|       |
 1112|  7.11k|  std::map<const MCSymbol *, std::vector<const MCSectionELF *>> GroupMembers;
 1113|       |
 1114|       |  // ... then the sections ...
 1115|  7.11k|  SectionOffsetsTy SectionOffsets;
 1116|  7.11k|  std::vector<MCSectionELF *> Groups;
 1117|  7.11k|  std::vector<MCSectionELF *> Relocations;
 1118|  7.40k|  for (MCSection &Sec : Asm) {
  ------------------
  |  Branch (1118:23): [True: 7.40k, False: 6.80k]
  ------------------
 1119|  7.40k|    MCSectionELF &Section = static_cast<MCSectionELF &>(Sec);
 1120|       |
 1121|  7.40k|    align(Section.getAlignment());
 1122|       |
 1123|       |    // Remember the offset into the file for this section.
 1124|  7.40k|    uint64_t SecStart = getStream().tell();
 1125|       |
 1126|  7.40k|    const MCSymbolELF *SignatureSymbol = Section.getGroup();
 1127|  7.40k|    writeSectionData(Asm, Section, Layout);
 1128|  7.40k|    if (Asm.getError())
  ------------------
  |  Branch (1128:9): [True: 315, False: 7.08k]
  ------------------
 1129|    315|        return;
 1130|       |
 1131|  7.08k|    uint64_t SecEnd = getStream().tell();
 1132|  7.08k|    SectionOffsets[&Section] = std::make_pair(SecStart, SecEnd);
 1133|       |
 1134|  7.08k|    MCSectionELF *RelSection = createRelocationSection(Ctx, Section);
 1135|       |
 1136|  7.08k|    if (SignatureSymbol) {
  ------------------
  |  Branch (1136:9): [True: 0, False: 7.08k]
  ------------------
 1137|      0|      Asm.registerSymbol(*SignatureSymbol);
 1138|      0|      unsigned &GroupIdx = RevGroupMap[SignatureSymbol];
 1139|      0|      if (!GroupIdx) {
  ------------------
  |  Branch (1139:11): [True: 0, False: 0]
  ------------------
 1140|      0|        MCSectionELF *Group = Ctx.createELFGroupSection(SignatureSymbol);
 1141|      0|        GroupIdx = addToSectionTable(Group);
 1142|      0|        Group->setAlignment(4);
 1143|      0|        Groups.push_back(Group);
 1144|      0|      }
 1145|      0|      std::vector<const MCSectionELF *> &Members =
 1146|      0|          GroupMembers[SignatureSymbol];
 1147|      0|      Members.push_back(&Section);
 1148|      0|      if (RelSection)
  ------------------
  |  Branch (1148:11): [True: 0, False: 0]
  ------------------
 1149|      0|        Members.push_back(RelSection);
 1150|      0|    }
 1151|       |
 1152|  7.08k|    SectionIndexMap[&Section] = addToSectionTable(&Section);
 1153|  7.08k|    if (RelSection) {
  ------------------
  |  Branch (1153:9): [True: 119, False: 6.96k]
  ------------------
 1154|    119|      SectionIndexMap[RelSection] = addToSectionTable(RelSection);
 1155|    119|      Relocations.push_back(RelSection);
 1156|    119|    }
 1157|  7.08k|  }
 1158|       |
 1159|  6.80k|return;
 1160|       |
 1161|  6.80k|  for (MCSectionELF *Group : Groups) {
  ------------------
  |  Branch (1161:28): [True: 0, False: 0]
  ------------------
 1162|      0|    align(Group->getAlignment());
 1163|       |
 1164|       |    // Remember the offset into the file for this section.
 1165|      0|    uint64_t SecStart = getStream().tell();
 1166|       |
 1167|      0|    const MCSymbol *SignatureSymbol = Group->getGroup();
 1168|      0|    assert(SignatureSymbol);
  ------------------
  |  Branch (1168:5): [True: 0, False: 0]
  ------------------
 1169|      0|    write(uint32_t(ELF::GRP_COMDAT));
 1170|      0|    for (const MCSectionELF *Member : GroupMembers[SignatureSymbol]) {
  ------------------
  |  Branch (1170:37): [True: 0, False: 0]
  ------------------
 1171|      0|      uint32_t SecIndex = SectionIndexMap.lookup(Member);
 1172|      0|      write(SecIndex);
 1173|      0|    }
 1174|       |
 1175|      0|    uint64_t SecEnd = getStream().tell();
 1176|      0|    SectionOffsets[Group] = std::make_pair(SecStart, SecEnd);
 1177|      0|  }
 1178|       |
 1179|       |  // Compute symbol table information.
 1180|      0|  computeSymbolTable(Asm, Layout, SectionIndexMap, RevGroupMap, SectionOffsets);
 1181|       |
 1182|      0|  for (MCSectionELF *RelSection : Relocations) {
  ------------------
  |  Branch (1182:33): [True: 0, False: 0]
  ------------------
 1183|      0|    align(RelSection->getAlignment());
 1184|       |
 1185|       |    // Remember the offset into the file for this section.
 1186|      0|    uint64_t SecStart = getStream().tell();
 1187|       |
 1188|      0|    writeRelocations(Asm, *RelSection->getAssociatedSection());	// qq
 1189|       |
 1190|      0|    uint64_t SecEnd = getStream().tell();
 1191|      0|    SectionOffsets[RelSection] = std::make_pair(SecStart, SecEnd);
 1192|      0|  }
 1193|       |
 1194|      0|  {
 1195|      0|    uint64_t SecStart = getStream().tell();
 1196|      0|    const MCSectionELF *Sec = createStringTable(Ctx);
 1197|      0|    uint64_t SecEnd = getStream().tell();
 1198|      0|    SectionOffsets[Sec] = std::make_pair(SecStart, SecEnd);
 1199|      0|  }
 1200|       |
 1201|      0|  uint64_t NaturalAlignment = is64Bit() ? 8 : 4;
  ------------------
  |  Branch (1201:31): [True: 0, False: 0]
  ------------------
 1202|      0|  align(NaturalAlignment);
 1203|       |
 1204|      0|  const uint64_t SectionHeaderOffset = getStream().tell();
 1205|       |
 1206|       |  // ... then the section header table ...
 1207|      0|  writeSectionHeader(Layout, SectionIndexMap, SectionOffsets);
 1208|       |
 1209|      0|  uint16_t NumSections = (SectionTable.size() + 1 >= ELF::SHN_LORESERVE)
  ------------------
  |  Branch (1209:26): [True: 0, False: 0]
  ------------------
 1210|      0|                             ? (uint16_t)ELF::SHN_UNDEF
 1211|      0|                             : SectionTable.size() + 1;
 1212|      0|  if (sys::IsLittleEndianHost != IsLittleEndian)
  ------------------
  |  Branch (1212:7): [True: 0, False: 0]
  ------------------
 1213|      0|    sys::swapByteOrder(NumSections);
 1214|      0|  unsigned NumSectionsOffset;
 1215|       |
 1216|      0|  if (is64Bit()) {
  ------------------
  |  Branch (1216:7): [True: 0, False: 0]
  ------------------
 1217|      0|    uint64_t Val = SectionHeaderOffset;
 1218|      0|    if (sys::IsLittleEndianHost != IsLittleEndian)
  ------------------
  |  Branch (1218:9): [True: 0, False: 0]
  ------------------
 1219|      0|      sys::swapByteOrder(Val);
 1220|      0|    getStream().pwrite(reinterpret_cast<char *>(&Val), sizeof(Val),
 1221|      0|                       offsetof(ELF::Elf64_Ehdr, e_shoff));
 1222|      0|    NumSectionsOffset = offsetof(ELF::Elf64_Ehdr, e_shnum);
 1223|      0|  } else {
 1224|      0|    uint32_t Val = SectionHeaderOffset;
 1225|      0|    if (sys::IsLittleEndianHost != IsLittleEndian)
  ------------------
  |  Branch (1225:9): [True: 0, False: 0]
  ------------------
 1226|      0|      sys::swapByteOrder(Val);
 1227|      0|    getStream().pwrite(reinterpret_cast<char *>(&Val), sizeof(Val),
 1228|      0|                       offsetof(ELF::Elf32_Ehdr, e_shoff));
 1229|       |    NumSectionsOffset = offsetof(ELF::Elf32_Ehdr, e_shnum);
 1230|      0|  }
 1231|      0|  getStream().pwrite(reinterpret_cast<char *>(&NumSections),
 1232|      0|                     sizeof(NumSections), NumSectionsOffset);
 1233|      0|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter17addToSectionTableEPKN7llvm_ks12MCSectionELFE:
  240|  14.3k|unsigned ELFObjectWriter::addToSectionTable(const MCSectionELF *Sec) {
  241|  14.3k|  SectionTable.push_back(Sec);
  242|  14.3k|  StrTabBuilder.add(Sec->getSectionName());
  243|  14.3k|  return SectionTable.size();
  244|  14.3k|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter5alignEj:
  235|  7.40k|void ELFObjectWriter::align(unsigned Alignment) {
  236|  7.40k|  uint64_t Padding = OffsetToAlignment(getStream().tell(), Alignment);
  237|  7.40k|  WriteZeros(Padding);
  238|  7.40k|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter16writeSectionDataERKN7llvm_ks11MCAssemblerERNS1_9MCSectionERKNS1_11MCAsmLayoutE:
  911|  7.40k|                                       const MCAsmLayout &Layout) {
  912|  7.40k|  MCSectionELF &Section = static_cast<MCSectionELF &>(Sec);
  913|  7.40k|  StringRef SectionName = Section.getSectionName();
  914|       |
  915|       |  // Compressing debug_frame requires handling alignment fragments which is
  916|       |  // more work (possibly generalizing MCAssembler.cpp:writeFragment to allow
  917|       |  // for writing to arbitrary buffers) for little benefit.
  918|  7.40k|  if (!Asm.getContext().getAsmInfo()->compressDebugSections() ||
  ------------------
  |  Branch (918:7): [True: 7.40k, False: 0]
  |  Branch (918:7): [True: 7.40k, False: 0]
  ------------------
  919|  7.40k|      !SectionName.startswith(".debug_") || SectionName == ".debug_frame") {
  ------------------
  |  Branch (919:7): [True: 0, False: 0]
  |  Branch (919:45): [True: 0, False: 0]
  ------------------
  920|  7.40k|    Asm.writeSectionData(&Section, Layout);
  921|  7.40k|    return;
  922|  7.40k|  }
  923|       |
  924|      0|  SmallVector<char, 128> UncompressedData;
  925|      0|  raw_svector_ostream VecOS(UncompressedData);
  926|      0|  raw_pwrite_stream &OldStream = getStream();
  927|      0|  setStream(VecOS);
  928|      0|  Asm.writeSectionData(&Section, Layout);
  929|      0|  setStream(OldStream);
  930|       |
  931|       |#if 0
  932|       |  SmallVector<char, 128> CompressedContents;
  933|       |  zlib::Status Success = zlib::compress(
  934|       |      StringRef(UncompressedData.data(), UncompressedData.size()),
  935|       |      CompressedContents);
  936|       |  if (Success != zlib::StatusOK) {
  937|       |    getStream() << UncompressedData;
  938|       |    return;
  939|       |  }
  940|       |
  941|       |  if (!prependCompressionHeader(UncompressedData.size(), CompressedContents)) {
  942|       |    getStream() << UncompressedData;
  943|       |    return;
  944|       |  }
  945|       |  Asm.getContext().renameELFSection(&Section,
  946|       |                                    (".z" + SectionName.drop_front(1)).str());
  947|       |  getStream() << CompressedContents;
  948|       |#endif
  949|      0|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter23createRelocationSectionERN7llvm_ks9MCContextERKNS1_12MCSectionELFE:
  885|  7.08k|                                         const MCSectionELF &Sec) {
  886|  7.08k|  if (Relocations[&Sec].empty())
  ------------------
  |  Branch (886:7): [True: 6.96k, False: 119]
  ------------------
  887|  6.96k|    return nullptr;
  888|       |
  889|    119|  const StringRef SectionName = Sec.getSectionName();
  890|    119|  std::string RelaSectionName = hasRelocationAddend() ? ".rela" : ".rel";
  ------------------
  |  Branch (890:33): [True: 0, False: 119]
  ------------------
  891|    119|  RelaSectionName += SectionName;
  892|       |
  893|    119|  unsigned EntrySize;
  894|    119|  if (hasRelocationAddend())
  ------------------
  |  Branch (894:7): [True: 0, False: 119]
  ------------------
  895|      0|    EntrySize = is64Bit() ? sizeof(ELF::Elf64_Rela) : sizeof(ELF::Elf32_Rela);
  ------------------
  |  Branch (895:17): [True: 0, False: 0]
  ------------------
  896|    119|  else
  897|    119|    EntrySize = is64Bit() ? sizeof(ELF::Elf64_Rel) : sizeof(ELF::Elf32_Rel);
  ------------------
  |  Branch (897:17): [True: 0, False: 119]
  ------------------
  898|       |
  899|    119|  unsigned Flags = 0;
  900|    119|  if (Sec.getFlags() & ELF::SHF_GROUP)
  ------------------
  |  Branch (900:7): [True: 0, False: 119]
  ------------------
  901|      0|    Flags = ELF::SHF_GROUP;
  902|       |
  903|    119|  MCSectionELF *RelaSection = Ctx.createELFRelSection(
  904|    119|      RelaSectionName, hasRelocationAddend() ? ELF::SHT_RELA : ELF::SHT_REL,
  ------------------
  |  Branch (904:24): [True: 0, False: 119]
  ------------------
  905|    119|      Flags, EntrySize, Sec.getGroup(), &Sec);
  906|    119|  RelaSection->setAlignment(is64Bit() ? 8 : 4);
  ------------------
  |  Branch (906:29): [True: 0, False: 119]
  ------------------
  907|    119|  return RelaSection;
  908|  7.08k|}
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter7is64BitEv:
  126|    238|    bool is64Bit() const { return TargetObjectWriter->is64Bit(); }

_ZN7llvm_ks12MCAsmBackendC2Ev:
   15|  17.0k|MCAsmBackend::MCAsmBackend() : HasDataInCodeSupport(false) {}
_ZN7llvm_ks12MCAsmBackendD2Ev:
   17|  17.0k|MCAsmBackend::~MCAsmBackend() {}
_ZNK7llvm_ks12MCAsmBackend12getFixupKindENS_9StringRefE:
   19|    478|Optional<MCFixupKind> MCAsmBackend::getFixupKind(StringRef Name) const {
   20|    478|  return None;
   21|    478|}
_ZNK7llvm_ks12MCAsmBackend16getFixupKindInfoENS_11MCFixupKindE:
   23|  48.0k|const MCFixupKindInfo &MCAsmBackend::getFixupKindInfo(MCFixupKind Kind) const {
   24|  48.0k|  static const MCFixupKindInfo Builtins[] = {
   25|  48.0k|      {"FK_Data_1", 0, 8, 0},
   26|  48.0k|      {"FK_Data_2", 0, 16, 0},
   27|  48.0k|      {"FK_Data_4", 0, 32, 0},
   28|  48.0k|      {"FK_Data_8", 0, 64, 0},
   29|  48.0k|      {"FK_PCRel_1", 0, 8, MCFixupKindInfo::FKF_IsPCRel},
   30|  48.0k|      {"FK_PCRel_2", 0, 16, MCFixupKindInfo::FKF_IsPCRel},
   31|  48.0k|      {"FK_PCRel_4", 0, 32, MCFixupKindInfo::FKF_IsPCRel},
   32|  48.0k|      {"FK_PCRel_8", 0, 64, MCFixupKindInfo::FKF_IsPCRel},
   33|  48.0k|      {"FK_GPRel_1", 0, 8, 0},
   34|  48.0k|      {"FK_GPRel_2", 0, 16, 0},
   35|  48.0k|      {"FK_GPRel_4", 0, 32, 0},
   36|  48.0k|      {"FK_GPRel_8", 0, 64, 0},
   37|  48.0k|      {"FK_SecRel_1", 0, 8, 0},
   38|  48.0k|      {"FK_SecRel_2", 0, 16, 0},
   39|  48.0k|      {"FK_SecRel_4", 0, 32, 0},
   40|  48.0k|      {"FK_SecRel_8", 0, 64, 0}};
   41|       |
   42|  48.0k|  assert((size_t)Kind <= array_lengthof(Builtins) && "Unknown fixup kind");
  ------------------
  |  Branch (42:3): [True: 48.0k, False: 0]
  |  Branch (42:3): [True: 48.0k, Folded]
  |  Branch (42:3): [True: 48.0k, False: 0]
  ------------------
   43|  48.0k|  return Builtins[Kind];
   44|  48.0k|}
_ZNK7llvm_ks12MCAsmBackend28fixupNeedsRelaxationAdvancedERKNS_7MCFixupEbmPKNS_19MCRelaxableFragmentERKNS_11MCAsmLayoutE:
   48|  6.18k|    const MCRelaxableFragment *DF, const MCAsmLayout &Layout) const {
   49|  6.18k|  if (!Resolved)
  ------------------
  |  Branch (49:7): [True: 93, False: 6.09k]
  ------------------
   50|     93|    return true;
   51|  6.09k|  unsigned KsError;
   52|  6.09k|  return fixupNeedsRelaxation(Fixup, Value, DF, Layout, KsError);
   53|  6.18k|}

_ZN7llvm_ks9MCAsmInfoC2Ev:
   25|  17.0k|MCAsmInfo::MCAsmInfo() {
   26|  17.0k|  PointerSize = 4;
   27|  17.0k|  CalleeSaveStackSlotSize = 4;
   28|       |
   29|  17.0k|  IsLittleEndian = true;
   30|  17.0k|  StackGrowsUp = false;
   31|  17.0k|  HasSubsectionsViaSymbols = false;
   32|  17.0k|  HasMachoZeroFillDirective = false;
   33|  17.0k|  HasMachoTBSSDirective = false;
   34|  17.0k|  HasStaticCtorDtorReferenceInStaticMode = false;
   35|  17.0k|  MaxInstLength = 4;
   36|  17.0k|  MinInstAlignment = 1;
   37|  17.0k|  DollarIsPC = false;
   38|  17.0k|  SeparatorString = ";";
   39|  17.0k|  CommentString = "#";
   40|  17.0k|  LabelSuffix = ":";
   41|  17.0k|  UseAssignmentForEHBegin = false;
   42|  17.0k|  NeedsLocalForSize = false;
   43|  17.0k|  PrivateGlobalPrefix = "L";
   44|  17.0k|  PrivateLabelPrefix = PrivateGlobalPrefix;
   45|  17.0k|  LinkerPrivateGlobalPrefix = "";
   46|  17.0k|  InlineAsmStart = "APP";
   47|  17.0k|  InlineAsmEnd = "NO_APP";
   48|  17.0k|  Code16Directive = ".code16";
   49|  17.0k|  Code32Directive = ".code32";
   50|  17.0k|  Code64Directive = ".code64";
   51|  17.0k|  AssemblerDialect = 0;
   52|  17.0k|  AllowAtInName = false;
   53|  17.0k|  SupportsQuotedNames = true;
   54|  17.0k|  UseDataRegionDirectives = false;
   55|  17.0k|  ZeroDirective = "\t.zero\t";
   56|  17.0k|  AsciiDirective = "\t.ascii\t";
   57|  17.0k|  AscizDirective = "\t.asciz\t";
   58|  17.0k|  Data8bitsDirective = "\t.byte\t";
   59|  17.0k|  Data16bitsDirective = "\t.short\t";
   60|  17.0k|  Data32bitsDirective = "\t.long\t";
   61|  17.0k|  Data64bitsDirective = "\t.quad\t";
   62|  17.0k|  SunStyleELFSectionSwitchSyntax = false;
   63|  17.0k|  UsesELFSectionDirectiveForBSS = false;
   64|  17.0k|  AlignmentIsInBytes = true;
   65|  17.0k|  TextAlignFillValue = 0;
   66|  17.0k|  GPRel64Directive = nullptr;
   67|  17.0k|  GPRel32Directive = nullptr;
   68|  17.0k|  GlobalDirective = "\t.globl\t";
   69|  17.0k|  SetDirectiveSuppressesReloc = false;
   70|  17.0k|  HasAggressiveSymbolFolding = true;
   71|  17.0k|  COMMDirectiveAlignmentIsInBytes = true;
   72|  17.0k|  LCOMMDirectiveAlignmentType = LCOMM::NoAlignment;
   73|  17.0k|  HasFunctionAlignment = true;
   74|  17.0k|  HasDotTypeDotSizeDirective = true;
   75|  17.0k|  HasSingleParameterDotFile = true;
   76|  17.0k|  HasIdentDirective = false;
   77|  17.0k|  HasNoDeadStrip = false;
   78|  17.0k|  WeakDirective = "\t.weak\t";
   79|  17.0k|  WeakRefDirective = nullptr;
   80|  17.0k|  HasWeakDefDirective = false;
   81|  17.0k|  HasWeakDefCanBeHiddenDirective = false;
   82|  17.0k|  HasLinkOnceDirective = false;
   83|  17.0k|  HiddenVisibilityAttr = MCSA_Hidden;
   84|  17.0k|  HiddenDeclarationVisibilityAttr = MCSA_Hidden;
   85|  17.0k|  ProtectedVisibilityAttr = MCSA_Protected;
   86|  17.0k|  SupportsDebugInformation = false;
   87|  17.0k|  ExceptionsType = ExceptionHandling::None;
   88|  17.0k|  WinEHEncodingType = WinEH::EncodingType::Invalid;
   89|  17.0k|  DwarfUsesRelocationsAcrossSections = true;
   90|  17.0k|  DwarfFDESymbolsUseAbsDiff = false;
   91|  17.0k|  DwarfRegNumForCFI = false;
   92|  17.0k|  NeedsDwarfSectionOffsetDirective = false;
   93|  17.0k|  UseParensForSymbolVariant = false;
   94|  17.0k|  UseLogicalShr = true;
   95|       |
   96|       |  // FIXME: Clang's logic should be synced with the logic used to initialize
   97|       |  //        this member and the two implementations should be merged.
   98|       |  // For reference:
   99|       |  // - Solaris always enables the integrated assembler by default
  100|       |  //   - SparcELFMCAsmInfo and X86ELFMCAsmInfo are handling this case
  101|       |  // - Windows always enables the integrated assembler by default
  102|       |  //   - MCAsmInfoCOFF is handling this case, should it be MCAsmInfoMicrosoft?
  103|       |  // - MachO targets always enables the integrated assembler by default
  104|       |  //   - MCAsmInfoDarwin is handling this case
  105|       |  // - Generic_GCC toolchains enable the integrated assembler on a per
  106|       |  //   architecture basis.
  107|       |  //   - The target subclasses for AArch64, ARM, and X86 handle these cases
  108|  17.0k|  UseIntegratedAssembler = false;
  109|       |
  110|  17.0k|  CompressDebugSections = false;
  111|  17.0k|}
_ZN7llvm_ks9MCAsmInfoD2Ev:
  113|  17.0k|MCAsmInfo::~MCAsmInfo() {
  114|  17.0k|}

_ZN7llvm_ks12MCAsmInfoELFC2Ev:
   27|  17.0k|MCAsmInfoELF::MCAsmInfoELF() {
   28|  17.0k|  HasIdentDirective = true;
   29|  17.0k|  WeakRefDirective = "\t.weak\t";
   30|  17.0k|  PrivateGlobalPrefix = ".L";
   31|  17.0k|  PrivateLabelPrefix = ".L";
   32|  17.0k|  UsesNonexecutableStackSection = true;
   33|  17.0k|}

_ZN7llvm_ks11MCAssemblerC2ERNS_9MCContextERNS_12MCAsmBackendERNS_13MCCodeEmitterERNS_14MCObjectWriterE:
   48|  17.0k|    : Context(Context_), Backend(Backend_), Emitter(Emitter_), Writer(Writer_),
   49|  17.0k|      BundleAlignSize(0), RelaxAll(false), SubsectionsViaSymbols(false),
   50|  17.0k|      IncrementalLinkerCompatible(false), ELFHeaderEFlags(0) {
   51|  17.0k|  VersionMinInfo.Major = 0; // Major version == 0 for "none specified"
   52|  17.0k|}
_ZN7llvm_ks11MCAssemblerD2Ev:
   54|  17.0k|MCAssembler::~MCAssembler() {
   55|  17.0k|}
_ZN7llvm_ks11MCAssembler15registerSectionERNS_9MCSectionE:
   80|  18.4k|bool MCAssembler::registerSection(MCSection &Section) {
   81|  18.4k|  if (Section.isRegistered())
  ------------------
  |  Branch (81:7): [True: 991, False: 17.4k]
  ------------------
   82|    991|    return false;
   83|  17.4k|  Sections.push_back(&Section);
   84|  17.4k|  Section.setIsRegistered(true);
   85|  17.4k|  return true;
   86|  18.4k|}
_ZNK7llvm_ks11MCAssembler11isThumbFuncEPKNS_8MCSymbolE:
   88|  13.9k|bool MCAssembler::isThumbFunc(const MCSymbol *Symbol) const {
   89|  13.9k|  if (ThumbFuncs.count(Symbol))
  ------------------
  |  Branch (89:7): [True: 0, False: 13.9k]
  ------------------
   90|      0|    return true;
   91|       |
   92|  13.9k|  if (!Symbol->isVariable())
  ------------------
  |  Branch (92:7): [True: 13.5k, False: 432]
  ------------------
   93|  13.5k|    return false;
   94|       |
   95|       |  // FIXME: It looks like gas supports some cases of the form "foo + 2". It
   96|       |  // is not clear if that is a bug or a feature.
   97|    432|  const MCExpr *Expr = Symbol->getVariableValue();
   98|    432|  const MCSymbolRefExpr *Ref = dyn_cast<MCSymbolRefExpr>(Expr);
   99|    432|  if (!Ref)
  ------------------
  |  Branch (99:7): [True: 184, False: 248]
  ------------------
  100|    184|    return false;
  101|       |
  102|    248|  if (Ref->getKind() != MCSymbolRefExpr::VK_None)
  ------------------
  |  Branch (102:7): [True: 0, False: 248]
  ------------------
  103|      0|    return false;
  104|       |
  105|    248|  const MCSymbol &Sym = Ref->getSymbol();
  106|    248|  if (!isThumbFunc(&Sym))
  ------------------
  |  Branch (106:7): [True: 248, False: 0]
  ------------------
  107|    248|    return false;
  108|       |
  109|      0|  ThumbFuncs.insert(Symbol); // Cache it.
  110|      0|  return true;
  111|    248|}
_ZNK7llvm_ks11MCAssembler13evaluateFixupERKNS_11MCAsmLayoutERKNS_7MCFixupEPKNS_10MCFragmentERNS_7MCValueERmRj:
  150|  19.0k|{
  151|  19.0k|  KsError = 0;
  152|       |
  153|       |  // FIXME: This code has some duplication with recordRelocation. We should
  154|       |  // probably merge the two into a single callback that tries to evaluate a
  155|       |  // fixup and records a relocation if one is needed.
  156|  19.0k|  const MCExpr *Expr = Fixup.getValue();
  157|  19.0k|  if (!Expr->evaluateAsRelocatable(Target, &Layout, &Fixup)) {
  ------------------
  |  Branch (157:7): [True: 734, False: 18.2k]
  ------------------
  158|       |    // getContext().reportError(Fixup.getLoc(), "expected relocatable expression");
  159|       |    // Claim to have completely evaluated the fixup, to prevent any further
  160|       |    // processing from being done.
  161|       |    // return true;
  162|    734|    Value = 0;
  163|    734|    KsError = KS_ERR_ASM_INVALIDOPERAND;
  164|    734|    return false;
  165|    734|  }
  166|       |
  167|  18.2k|  bool IsPCRel = Backend.getFixupKindInfo(
  168|  18.2k|    Fixup.getKind()).Flags & MCFixupKindInfo::FKF_IsPCRel;
  169|       |
  170|  18.2k|  bool IsResolved;
  171|  18.2k|  if (IsPCRel) {
  ------------------
  |  Branch (171:7): [True: 8.10k, False: 10.1k]
  ------------------
  172|  8.10k|    if (Target.getSymB()) {
  ------------------
  |  Branch (172:9): [True: 183, False: 7.91k]
  ------------------
  173|    183|      IsResolved = false;
  174|  7.91k|    } else if (!Target.getSymA()) {
  ------------------
  |  Branch (174:16): [True: 7.66k, False: 252]
  ------------------
  175|  7.66k|      if (getBackend().getArch() == KS_ARCH_X86)
  ------------------
  |  Branch (175:11): [True: 7.66k, False: 0]
  ------------------
  176|  7.66k|          IsResolved = true;
  177|      0|      else
  178|      0|          IsResolved = false;
  179|  7.66k|    } else {
  180|    252|      const MCSymbolRefExpr *A = Target.getSymA();
  181|    252|      const MCSymbol &SA = A->getSymbol();
  182|    252|      if (A->getKind() != MCSymbolRefExpr::VK_None || SA.isUndefined()) {
  ------------------
  |  Branch (182:11): [True: 3, False: 249]
  |  Branch (182:55): [True: 130, False: 119]
  ------------------
  183|    133|        IsResolved = false;
  184|    133|      } else {
  185|    119|        IsResolved = getWriter().isSymbolRefDifferenceFullyResolvedImpl(
  186|    119|            *this, SA, *DF, false, true);
  187|    119|      }
  188|    252|    }
  189|  10.1k|  } else {
  190|  10.1k|    IsResolved = Target.isAbsolute();
  191|  10.1k|  }
  192|       |
  193|  18.2k|  Value = Target.getConstant();
  194|       |
  195|  18.2k|  if (const MCSymbolRefExpr *A = Target.getSymA()) {
  ------------------
  |  Branch (195:30): [True: 8.59k, False: 9.70k]
  ------------------
  196|  8.59k|    const MCSymbol &Sym = A->getSymbol();
  197|  8.59k|    bool valid;
  198|  8.59k|    if (Sym.isDefined()) {
  ------------------
  |  Branch (198:9): [True: 8.03k, False: 566]
  ------------------
  199|  8.03k|      Value += Layout.getSymbolOffset(Sym, valid);
  200|  8.03k|      if (!valid) {
  ------------------
  |  Branch (200:11): [True: 5, False: 8.02k]
  ------------------
  201|      5|        KsError = KS_ERR_ASM_FIXUP_INVALID;
  202|      5|        return false;
  203|      5|      }
  204|  8.03k|    } else {
  205|       |        // a missing symbol. is there any resolver registered?
  206|    566|        if (KsSymResolver) {
  ------------------
  |  Branch (206:13): [True: 0, False: 566]
  ------------------
  207|      0|            uint64_t imm;
  208|      0|            ks_sym_resolver resolver = (ks_sym_resolver)KsSymResolver;
  209|      0|            if (resolver(Sym.getName().str().c_str(), &imm)) {
  ------------------
  |  Branch (209:17): [True: 0, False: 0]
  ------------------
  210|       |                // resolver handled this symbol
  211|      0|                Value = imm;
  212|      0|                IsResolved = true;
  213|      0|            } else {
  214|       |                // resolver did not handle this symbol
  215|      0|                KsError = KS_ERR_ASM_SYMBOL_MISSING;
  216|      0|                return false;
  217|      0|            }
  218|    566|        } else {
  219|       |            // no resolver registered
  220|    566|            KsError = KS_ERR_ASM_SYMBOL_MISSING;
  221|    566|            return false;
  222|    566|        }
  223|    566|    }
  224|  8.59k|  }
  225|       |
  226|  17.7k|  if (const MCSymbolRefExpr *B = Target.getSymB()) {
  ------------------
  |  Branch (226:30): [True: 6.11k, False: 11.6k]
  ------------------
  227|  6.11k|    const MCSymbol &Sym = B->getSymbol();
  228|  6.11k|    bool valid;
  229|  6.11k|    if (Sym.isDefined()) {
  ------------------
  |  Branch (229:9): [True: 532, False: 5.58k]
  ------------------
  230|    532|      Value -= Layout.getSymbolOffset(Sym, valid);
  231|    532|      if (!valid) {
  ------------------
  |  Branch (231:11): [True: 2, False: 530]
  ------------------
  232|      2|        KsError = KS_ERR_ASM_FIXUP_INVALID;
  233|      2|        return false;
  234|      2|      }
  235|    532|    }
  236|  6.11k|  }
  237|       |
  238|  17.7k|  bool ShouldAlignPC = Backend.getFixupKindInfo(Fixup.getKind()).Flags &
  239|  17.7k|                         MCFixupKindInfo::FKF_IsAlignedDownTo32Bits;
  240|  17.7k|  assert((ShouldAlignPC ? IsPCRel : true) &&
  ------------------
  |  Branch (240:3): [True: 0, False: 17.7k]
  |  Branch (240:3): [True: 17.7k, False: 0]
  |  Branch (240:3): [True: 17.7k, Folded]
  |  Branch (240:3): [True: 17.7k, False: 0]
  ------------------
  241|  17.7k|    "FKF_IsAlignedDownTo32Bits is only allowed on PC-relative fixups!");
  242|       |
  243|  17.7k|  if (IsPCRel) {
  ------------------
  |  Branch (243:7): [True: 7.91k, False: 9.80k]
  ------------------
  244|  7.91k|    bool valid;
  245|  7.91k|    uint64_t Offset = Layout.getFragmentOffset(DF, valid) + Fixup.getOffset();
  246|  7.91k|    if (!valid) {
  ------------------
  |  Branch (246:9): [True: 47, False: 7.87k]
  ------------------
  247|     47|        KsError = KS_ERR_ASM_FRAGMENT_INVALID;
  248|     47|        return false;
  249|     47|    }
  250|       |
  251|       |    // A number of ARM fixups in Thumb mode require that the effective PC
  252|       |    // address be determined as the 32-bit aligned version of the actual offset.
  253|  7.87k|    if (ShouldAlignPC) Offset &= ~0x3;
  ------------------
  |  Branch (253:9): [True: 0, False: 7.87k]
  ------------------
  254|  7.87k|    Value -= Offset;
  255|  7.87k|  }
  256|       |
  257|       |  // Let the backend adjust the fixup value if necessary, including whether
  258|       |  // we need a relocation.
  259|  17.6k|  Backend.processFixupValue(*this, Layout, Fixup, DF, Target, Value,
  260|  17.6k|                            IsResolved);
  261|       |
  262|  17.6k|  return IsResolved;
  263|  17.7k|}
_ZNK7llvm_ks11MCAssembler19computeFragmentSizeERKNS_11MCAsmLayoutERKNS_10MCFragmentERb:
  267|  62.0k|{
  268|  62.0k|  valid = true;
  269|  62.0k|  switch (F.getKind()) {
  ------------------
  |  Branch (269:11): [True: 62.0k, False: 0]
  ------------------
  270|  13.5k|  case MCFragment::FT_Data:
  ------------------
  |  Branch (270:3): [True: 13.5k, False: 48.4k]
  ------------------
  271|  13.5k|    return cast<MCDataFragment>(F).getContents().size();
  272|  10.1k|  case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (272:3): [True: 10.1k, False: 51.9k]
  ------------------
  273|  10.1k|    return cast<MCRelaxableFragment>(F).getContents().size();
  274|      0|  case MCFragment::FT_CompactEncodedInst:
  ------------------
  |  Branch (274:3): [True: 0, False: 62.0k]
  ------------------
  275|      0|    return cast<MCCompactEncodedInstFragment>(F).getContents().size();
  276|  10.6k|  case MCFragment::FT_Fill:
  ------------------
  |  Branch (276:3): [True: 10.6k, False: 51.3k]
  ------------------
  277|  10.6k|    return cast<MCFillFragment>(F).getSize();
  278|       |
  279|      0|  case MCFragment::FT_LEB:
  ------------------
  |  Branch (279:3): [True: 0, False: 62.0k]
  ------------------
  280|      0|    return cast<MCLEBFragment>(F).getContents().size();
  281|       |
  282|      0|  case MCFragment::FT_SafeSEH:
  ------------------
  |  Branch (282:3): [True: 0, False: 62.0k]
  ------------------
  283|      0|    return 4;
  284|       |
  285|  18.9k|  case MCFragment::FT_Align: {
  ------------------
  |  Branch (285:3): [True: 18.9k, False: 43.0k]
  ------------------
  286|  18.9k|    const MCAlignFragment &AF = cast<MCAlignFragment>(F);
  287|  18.9k|    unsigned Offset = Layout.getFragmentOffset(&AF, valid);
  288|  18.9k|    if (!valid) {
  ------------------
  |  Branch (288:9): [True: 0, False: 18.9k]
  ------------------
  289|      0|        return 0;
  290|      0|    }
  291|  18.9k|    unsigned Size = OffsetToAlignment(Offset, AF.getAlignment());
  292|       |    // If we are padding with nops, force the padding to be larger than the
  293|       |    // minimum nop size.
  294|  18.9k|    if (Size > 0 && AF.hasEmitNops()) {
  ------------------
  |  Branch (294:9): [True: 503, False: 18.4k]
  |  Branch (294:21): [True: 56, False: 447]
  ------------------
  295|     56|      while (Size % getBackend().getMinimumNopSize())
  ------------------
  |  Branch (295:14): [True: 0, False: 56]
  ------------------
  296|      0|        Size += AF.getAlignment();
  297|     56|    }
  298|  18.9k|    if (Size > AF.getMaxBytesToEmit())
  ------------------
  |  Branch (298:9): [True: 4, False: 18.9k]
  ------------------
  299|      4|      return 0;
  300|  18.9k|    return Size;
  301|  18.9k|  }
  302|       |
  303|  8.65k|  case MCFragment::FT_Org: {
  ------------------
  |  Branch (303:3): [True: 8.65k, False: 53.3k]
  ------------------
  304|  8.65k|    const MCOrgFragment &OF = cast<MCOrgFragment>(F);
  305|  8.65k|    MCValue Value;
  306|  8.65k|    if (!OF.getOffset().evaluateAsValue(Value, Layout)) {
  ------------------
  |  Branch (306:9): [True: 1.10k, False: 7.54k]
  ------------------
  307|       |      //report_fatal_error("expected assembly-time absolute expression");
  308|  1.10k|      valid = false;
  309|  1.10k|      return 0;
  310|  1.10k|    }
  311|       |
  312|       |    // FIXME: We need a way to communicate this error.
  313|  7.54k|    uint64_t FragmentOffset = Layout.getFragmentOffset(&OF, valid);
  314|  7.54k|    if (!valid) {
  ------------------
  |  Branch (314:9): [True: 0, False: 7.54k]
  ------------------
  315|      0|      return 0;
  316|      0|    }
  317|  7.54k|    int64_t TargetLocation = Value.getConstant();
  318|  7.54k|    if (const MCSymbolRefExpr *A = Value.getSymA()) {
  ------------------
  |  Branch (318:32): [True: 1.56k, False: 5.98k]
  ------------------
  319|  1.56k|      uint64_t Val;
  320|  1.56k|      if (!Layout.getSymbolOffset(A->getSymbol(), Val, valid)) {
  ------------------
  |  Branch (320:11): [True: 818, False: 746]
  ------------------
  321|       |        //report_fatal_error("expected absolute expression");
  322|    818|        valid = false;
  323|    818|        return 0;
  324|    818|      }
  325|    746|      TargetLocation += Val;
  326|    746|    }
  327|  6.72k|    int64_t Size = TargetLocation - FragmentOffset;
  328|  6.72k|    if (Size < 0 || Size >= 0x40000000) {
  ------------------
  |  Branch (328:9): [True: 2.06k, False: 4.66k]
  |  Branch (328:21): [True: 163, False: 4.50k]
  ------------------
  329|       |      //report_fatal_error("invalid .org offset '" + Twine(TargetLocation) +
  330|       |      //                   "' (at offset '" + Twine(FragmentOffset) + "')");
  331|  2.22k|      valid = false;
  332|  2.22k|      return 0;
  333|  2.22k|    }
  334|  4.50k|    return Size;
  335|  6.72k|  }
  336|       |
  337|      0|  case MCFragment::FT_Dwarf:
  ------------------
  |  Branch (337:3): [True: 0, False: 62.0k]
  ------------------
  338|      0|    return cast<MCDwarfLineAddrFragment>(F).getContents().size();
  339|      0|  case MCFragment::FT_DwarfFrame:
  ------------------
  |  Branch (339:3): [True: 0, False: 62.0k]
  ------------------
  340|      0|    return cast<MCDwarfCallFrameFragment>(F).getContents().size();
  341|      0|  case MCFragment::FT_Dummy:
  ------------------
  |  Branch (341:3): [True: 0, False: 62.0k]
  ------------------
  342|      0|    llvm_unreachable("Should not have been added");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  343|  62.0k|  }
  344|       |
  345|      0|  llvm_unreachable("invalid fragment kind");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  346|  62.0k|}
_ZN7llvm_ks11MCAsmLayout14layoutFragmentEPNS_10MCFragmentE:
  349|  47.4k|{
  350|  47.4k|  MCFragment *Prev = F->getPrevNode();
  351|       |
  352|       |  // We should never try to recompute something which is valid.
  353|       |  //assert(!isFragmentValid(F) && "Attempt to recompute a valid fragment!");
  354|  47.4k|  if (isFragmentValid(F))
  ------------------
  |  Branch (354:7): [True: 0, False: 47.4k]
  ------------------
  355|      0|      return true;
  356|       |
  357|       |  // We should never try to compute the fragment layout if its predecessor
  358|       |  // isn't valid.
  359|       |  //assert((!Prev || isFragmentValid(Prev)) &&
  360|       |  //       "Attempt to compute fragment before its predecessor!");
  361|  47.4k|  if (Prev && !isFragmentValid(Prev))
  ------------------
  |  Branch (361:7): [True: 39.0k, False: 8.34k]
  |  Branch (361:15): [True: 2.87k, False: 36.1k]
  ------------------
  362|  2.87k|      return true;
  363|       |
  364|  44.5k|  bool valid = true;
  365|       |  // Compute fragment offset and size.
  366|  44.5k|  if (Prev)
  ------------------
  |  Branch (366:7): [True: 36.1k, False: 8.34k]
  ------------------
  367|  36.1k|    F->Offset = Prev->Offset + getAssembler().computeFragmentSize(*this, *Prev, valid);
  368|  8.34k|  else
  369|  8.34k|    F->Offset = getAssembler().getContext().getBaseAddress();
  370|  44.5k|  if (!valid) {
  ------------------
  |  Branch (370:7): [True: 3.83k, False: 40.6k]
  ------------------
  371|  3.83k|      return false;
  372|  3.83k|  }
  373|  40.6k|  LastValidFragment[F->getParent()] = F;
  374|       |
  375|       |  // If bundling is enabled and this fragment has instructions in it, it has to
  376|       |  // obey the bundling restrictions. With padding, we'll have:
  377|       |  //
  378|       |  //
  379|       |  //        BundlePadding
  380|       |  //             |||
  381|       |  // -------------------------------------
  382|       |  //   Prev  |##########|       F        |
  383|       |  // -------------------------------------
  384|       |  //                    ^
  385|       |  //                    |
  386|       |  //                    F->Offset
  387|       |  //
  388|       |  // The fragment's offset will point to after the padding, and its computed
  389|       |  // size won't include the padding.
  390|       |  //
  391|       |  // When the -mc-relax-all flag is used, we optimize bundling by writting the
  392|       |  // padding directly into fragments when the instructions are emitted inside
  393|       |  // the streamer. When the fragment is larger than the bundle size, we need to
  394|       |  // ensure that it's bundle aligned. This means that if we end up with
  395|       |  // multiple fragments, we must emit bundle padding between fragments.
  396|       |  //
  397|       |  // ".align N" is an example of a directive that introduces multiple
  398|       |  // fragments. We could add a special case to handle ".align N" by emitting
  399|       |  // within-fragment padding (which would produce less padding when N is less
  400|       |  // than the bundle size), but for now we don't.
  401|       |  //
  402|  40.6k|  if (Assembler.isBundlingEnabled() && F->hasInstructions()) {
  ------------------
  |  Branch (402:7): [True: 0, False: 40.6k]
  |  Branch (402:40): [True: 0, False: 0]
  ------------------
  403|      0|    assert(isa<MCEncodedFragment>(F) &&
  ------------------
  |  Branch (403:5): [True: 0, False: 0]
  |  Branch (403:5): [True: 0, Folded]
  |  Branch (403:5): [True: 0, False: 0]
  ------------------
  404|      0|           "Only MCEncodedFragment implementations have instructions");
  405|      0|    if (!isa<MCEncodedFragment>(F))
  ------------------
  |  Branch (405:9): [True: 0, False: 0]
  ------------------
  406|      0|        return true;
  407|       |
  408|      0|    bool valid;
  409|      0|    uint64_t FSize = Assembler.computeFragmentSize(*this, *F, valid);
  410|      0|    if (!valid)
  ------------------
  |  Branch (410:9): [True: 0, False: 0]
  ------------------
  411|      0|        return true;
  412|       |
  413|      0|    if (!Assembler.getRelaxAll() && FSize > Assembler.getBundleAlignSize())
  ------------------
  |  Branch (413:9): [True: 0, False: 0]
  |  Branch (413:37): [True: 0, False: 0]
  ------------------
  414|       |      //report_fatal_error("Fragment can't be larger than a bundle size");
  415|      0|      return true;
  416|       |
  417|      0|    uint64_t RequiredBundlePadding = computeBundlePadding(Assembler, F,
  418|      0|                                                          F->Offset, FSize);
  419|      0|    if (RequiredBundlePadding > UINT8_MAX)
  ------------------
  |  Branch (419:9): [True: 0, False: 0]
  ------------------
  420|       |      //report_fatal_error("Padding cannot exceed 255 bytes");
  421|      0|      return true;
  422|       |
  423|      0|    F->setBundlePadding(static_cast<uint8_t>(RequiredBundlePadding));
  424|      0|    F->Offset += RequiredBundlePadding;
  425|      0|  }
  426|       |
  427|  40.6k|  return false;
  428|  40.6k|}
_ZN7llvm_ks11MCAssembler14registerSymbolERKNS_8MCSymbolEPb:
  430|   430k|void MCAssembler::registerSymbol(const MCSymbol &Symbol, bool *Created) {
  431|   430k|  bool New = !Symbol.isRegistered();
  432|   430k|  if (Created)
  ------------------
  |  Branch (432:7): [True: 0, False: 430k]
  ------------------
  433|      0|    *Created = New;
  434|   430k|  if (New) {
  ------------------
  |  Branch (434:7): [True: 74.5k, False: 355k]
  ------------------
  435|  74.5k|    Symbol.setIsRegistered(true);
  436|  74.5k|    Symbols.push_back(&Symbol);
  437|  74.5k|  }
  438|   430k|}
_ZNK7llvm_ks11MCAssembler20writeFragmentPaddingERKNS_10MCFragmentEmPNS_14MCObjectWriterE:
  441|  25.5k|                                       MCObjectWriter *OW) const {
  442|       |  // Should NOP padding be written out before this fragment?
  443|  25.5k|  unsigned BundlePadding = F.getBundlePadding();
  444|  25.5k|  if (BundlePadding > 0) {
  ------------------
  |  Branch (444:7): [True: 0, False: 25.5k]
  ------------------
  445|      0|    assert(isBundlingEnabled() &&
  ------------------
  |  Branch (445:5): [True: 0, False: 0]
  |  Branch (445:5): [True: 0, Folded]
  |  Branch (445:5): [True: 0, False: 0]
  ------------------
  446|      0|           "Writing bundle padding with disabled bundling");
  447|      0|    assert(F.hasInstructions() &&
  ------------------
  |  Branch (447:5): [True: 0, False: 0]
  |  Branch (447:5): [True: 0, Folded]
  |  Branch (447:5): [True: 0, False: 0]
  ------------------
  448|      0|           "Writing bundle padding for a fragment without instructions");
  449|       |
  450|      0|    unsigned TotalLength = BundlePadding + static_cast<unsigned>(FSize);
  451|      0|    if (F.alignToBundleEnd() && TotalLength > getBundleAlignSize()) {
  ------------------
  |  Branch (451:9): [True: 0, False: 0]
  |  Branch (451:33): [True: 0, False: 0]
  ------------------
  452|       |      // If the padding itself crosses a bundle boundary, it must be emitted
  453|       |      // in 2 pieces, since even nop instructions must not cross boundaries.
  454|       |      //             v--------------v   <- BundleAlignSize
  455|       |      //        v---------v             <- BundlePadding
  456|       |      // ----------------------------
  457|       |      // | Prev |####|####|    F    |
  458|       |      // ----------------------------
  459|       |      //        ^-------------------^   <- TotalLength
  460|      0|      unsigned DistanceToBoundary = TotalLength - getBundleAlignSize();
  461|      0|      if (!getBackend().writeNopData(DistanceToBoundary, OW))
  ------------------
  |  Branch (461:11): [True: 0, False: 0]
  ------------------
  462|      0|          report_fatal_error("unable to write NOP sequence of " +
  463|      0|                             Twine(DistanceToBoundary) + " bytes");
  464|      0|      BundlePadding -= DistanceToBoundary;
  465|      0|    }
  466|      0|    if (!getBackend().writeNopData(BundlePadding, OW))
  ------------------
  |  Branch (466:9): [True: 0, False: 0]
  ------------------
  467|      0|      report_fatal_error("unable to write NOP sequence of " +
  468|      0|                         Twine(BundlePadding) + " bytes");
  469|      0|  }
  470|  25.5k|}
_ZNK7llvm_ks11MCAssembler16writeSectionDataEPKNS_9MCSectionERKNS_11MCAsmLayoutE:
  608|  7.40k|{
  609|       |  // Ignore virtual sections.
  610|  7.40k|  if (Sec->isVirtualSection()) {
  ------------------
  |  Branch (610:7): [True: 28, False: 7.37k]
  ------------------
  611|     28|    assert(Layout.getSectionFileSize(Sec) == 0 && "Invalid size for section!");
  ------------------
  |  Branch (611:5): [True: 28, False: 0]
  |  Branch (611:5): [True: 28, Folded]
  |  Branch (611:5): [True: 28, False: 0]
  ------------------
  612|       |
  613|       |    // Check that contents are only things legal inside a virtual section.
  614|    114|    for (const MCFragment &F : *Sec) {
  ------------------
  |  Branch (614:30): [True: 114, False: 28]
  ------------------
  615|    114|      switch (F.getKind()) {
  616|      0|      default: llvm_unreachable("Invalid fragment in virtual section!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (616:7): [True: 0, False: 114]
  ------------------
  617|      0|      case MCFragment::FT_Data: {
  ------------------
  |  Branch (617:7): [True: 0, False: 114]
  ------------------
  618|       |        // Check that we aren't trying to write a non-zero contents (or fixups)
  619|       |        // into a virtual section. This is to support clients which use standard
  620|       |        // directives to fill the contents of virtual sections.
  621|      0|        const MCDataFragment &DF = cast<MCDataFragment>(F);
  622|      0|        assert(DF.fixup_begin() == DF.fixup_end() &&
  ------------------
  |  Branch (622:9): [True: 0, False: 0]
  |  Branch (622:9): [True: 0, Folded]
  |  Branch (622:9): [True: 0, False: 0]
  ------------------
  623|      0|               "Cannot have fixups in virtual section!");
  624|      0|        for (unsigned i = 0, e = DF.getContents().size(); i != e; ++i)
  ------------------
  |  Branch (624:59): [True: 0, False: 0]
  ------------------
  625|      0|          if (DF.getContents()[i]) {
  ------------------
  |  Branch (625:15): [True: 0, False: 0]
  ------------------
  626|      0|            if (auto *ELFSec = dyn_cast<const MCSectionELF>(Sec))
  ------------------
  |  Branch (626:23): [True: 0, False: 0]
  ------------------
  627|      0|              report_fatal_error("non-zero initializer found in section '" +
  628|      0|                  ELFSec->getSectionName() + "'");
  629|      0|            else
  630|      0|              report_fatal_error("non-zero initializer found in virtual section");
  631|      0|          }
  632|      0|        break;
  633|      0|      }
  634|     57|      case MCFragment::FT_Align:
  ------------------
  |  Branch (634:7): [True: 57, False: 57]
  ------------------
  635|       |        // Check that we aren't trying to write a non-zero value into a virtual
  636|       |        // section.
  637|     57|        assert((cast<MCAlignFragment>(F).getValueSize() == 0 ||
  ------------------
  |  Branch (637:9): [True: 0, False: 57]
  |  Branch (637:9): [True: 57, False: 0]
  |  Branch (637:9): [True: 57, Folded]
  |  Branch (637:9): [True: 57, False: 0]
  ------------------
  638|     57|                cast<MCAlignFragment>(F).getValue() == 0) &&
  639|     57|               "Invalid align in virtual section!");
  640|     57|        break;
  641|     57|      case MCFragment::FT_Fill:
  ------------------
  |  Branch (641:7): [True: 57, False: 57]
  ------------------
  642|     57|        assert((cast<MCFillFragment>(F).getValue() == 0) &&
  ------------------
  |  Branch (642:9): [True: 57, False: 0]
  |  Branch (642:9): [True: 57, Folded]
  |  Branch (642:9): [True: 57, False: 0]
  ------------------
  643|     57|               "Invalid fill in virtual section!");
  644|     57|        break;
  645|    114|      }
  646|    114|    }
  647|       |
  648|     28|    return;
  649|     28|  }
  650|       |
  651|  7.37k|  uint64_t Start = getWriter().getStream().tell();
  652|  7.37k|  (void)Start;
  653|       |
  654|  7.37k|  setError(0);
  655|  7.37k|  for (const MCFragment &F : *Sec)
  ------------------
  |  Branch (655:28): [True: 30.7k, False: 7.37k]
  ------------------
  656|  30.7k|    writeFragment(*this, Layout, F);
  657|       |
  658|       |  //assert(getWriter().getStream().tell() - Start ==
  659|       |  //       Layout.getSectionAddressSize(Sec));
  660|  7.37k|}
_ZN7llvm_ks11MCAssembler11handleFixupERKNS_11MCAsmLayoutERNS_10MCFragmentERKNS_7MCFixupERj:
  664|  12.1k|                                                   const MCFixup &Fixup, unsigned int &KsError) {
  665|       |  // Evaluate the fixup.
  666|  12.1k|  MCValue Target;
  667|  12.1k|  uint64_t FixedValue;
  668|  12.1k|  bool IsPCRel = Backend.getFixupKindInfo(Fixup.getKind()).Flags &
  669|  12.1k|                 MCFixupKindInfo::FKF_IsPCRel;
  670|  12.1k|  if (!evaluateFixup(Layout, Fixup, &F, Target, FixedValue, KsError)) {
  ------------------
  |  Branch (670:7): [True: 10.3k, False: 1.77k]
  ------------------
  671|  10.3k|    if (KsError) {
  ------------------
  |  Branch (671:9): [True: 677, False: 9.71k]
  ------------------
  672|       |        // return a dummy value
  673|    677|        return std::make_pair(0, false);
  674|    677|    }
  675|       |    // The fixup was unresolved, we need a relocation. Inform the object
  676|       |    // writer of the relocation, and give it an opportunity to adjust the
  677|       |    // fixup value if need be.
  678|  9.71k|    if (const MCSymbolRefExpr *RefB = Target.getSymB()) {
  ------------------
  |  Branch (678:32): [True: 6.03k, False: 3.67k]
  ------------------
  679|  6.03k|        if (RefB->getKind() != MCSymbolRefExpr::VK_None) {
  ------------------
  |  Branch (679:13): [True: 5, False: 6.03k]
  ------------------
  680|      5|            KsError = KS_ERR_ASM_FIXUP_INVALID;
  681|       |            // return a dummy value
  682|      5|            return std::make_pair(0, false);
  683|      5|        }
  684|  6.03k|    }
  685|  9.70k|    getWriter().recordRelocation(*this, Layout, &F, Fixup, Target, IsPCRel,
  686|  9.70k|                                 FixedValue);
  687|  9.70k|  }
  688|       |
  689|  11.4k|  return std::make_pair(FixedValue, IsPCRel);
  690|  12.1k|}
_ZN7llvm_ks11MCAssembler6layoutERNS_11MCAsmLayoutERj:
  693|  7.89k|{
  694|  7.89k|  DEBUG_WITH_TYPE("mc-dump", {
  695|  7.89k|      llvm_ks::errs() << "assembler backend - pre-layout\n--\n";
  696|  7.89k|      dump(); });
  697|       |
  698|       |  // Create dummy fragments and assign section ordinals.
  699|  7.89k|  unsigned SectionIndex = 0;
  700|  8.18k|  for (MCSection &Sec : *this) {
  ------------------
  |  Branch (700:23): [True: 8.18k, False: 7.89k]
  ------------------
  701|       |    // Create dummy fragments to eliminate any empty sections, this simplifies
  702|       |    // layout.
  703|  8.18k|    if (Sec.getFragmentList().empty())
  ------------------
  |  Branch (703:9): [True: 0, False: 8.18k]
  ------------------
  704|      0|      new MCDataFragment(&Sec);
  705|       |
  706|  8.18k|    Sec.setOrdinal(SectionIndex++);
  707|  8.18k|  }
  708|       |
  709|       |  // Assign layout order indices to sections and fragments.
  710|  16.0k|  for (unsigned i = 0, e = Layout.getSectionOrder().size(); i != e; ++i) {
  ------------------
  |  Branch (710:61): [True: 8.18k, False: 7.89k]
  ------------------
  711|  8.18k|    MCSection *Sec = Layout.getSectionOrder()[i];
  712|  8.18k|    Sec->setLayoutOrder(i);
  713|       |
  714|  8.18k|    unsigned FragmentIndex = 0;
  715|  8.18k|    for (MCFragment &Frag : *Sec)
  ------------------
  |  Branch (715:27): [True: 39.5k, False: 8.18k]
  ------------------
  716|  39.5k|      Frag.setLayoutOrder(FragmentIndex++);
  717|  8.18k|  }
  718|       |
  719|       |  // Layout until everything fits.
  720|  8.10k|  while (layoutOnce(Layout))
  ------------------
  |  Branch (720:10): [True: 212, False: 7.89k]
  ------------------
  721|    212|    continue;
  722|       |
  723|  7.89k|  DEBUG_WITH_TYPE("mc-dump", {
  724|  7.89k|      llvm_ks::errs() << "assembler backend - post-relaxation\n--\n";
  725|  7.89k|      dump(); });
  726|       |
  727|       |  // Finalize the layout, including fragment lowering.
  728|  7.89k|  finishLayout(Layout);
  729|       |
  730|  7.89k|  DEBUG_WITH_TYPE("mc-dump", {
  731|  7.89k|      llvm_ks::errs() << "assembler backend - final-layout\n--\n";
  732|  7.89k|      dump(); });
  733|       |
  734|       |  // Allow the object writer a chance to perform post-layout binding (for
  735|       |  // example, to set the index fields in the symbol data).
  736|  7.89k|  getWriter().executePostLayoutBinding(*this, Layout);
  737|       |
  738|       |  // Evaluate and apply the fixups, generating relocation entries as necessary.
  739|  8.18k|  for (MCSection &Sec : *this) {
  ------------------
  |  Branch (739:23): [True: 8.18k, False: 7.11k]
  ------------------
  740|  31.7k|    for (MCFragment &Frag : Sec) {
  ------------------
  |  Branch (740:27): [True: 31.7k, False: 7.41k]
  ------------------
  741|  31.7k|      MCEncodedFragment *F = dyn_cast<MCEncodedFragment>(&Frag);
  742|       |      // Data and relaxable fragments both have fixups.  So only process
  743|       |      // those here.
  744|       |      // FIXME: Is there a better way to do this?  MCEncodedFragmentWithFixups
  745|       |      // being templated makes this tricky.
  746|  31.7k|      if (!F || isa<MCCompactEncodedInstFragment>(F))
  ------------------
  |  Branch (746:11): [True: 21.3k, False: 10.3k]
  |  Branch (746:17): [True: 0, False: 10.3k]
  ------------------
  747|  21.3k|        continue;
  748|  10.3k|      ArrayRef<MCFixup> Fixups;
  749|  10.3k|      MutableArrayRef<char> Contents;
  750|  10.3k|      if (auto *FragWithFixups = dyn_cast<MCDataFragment>(F)) {
  ------------------
  |  Branch (750:17): [True: 8.74k, False: 1.63k]
  ------------------
  751|  8.74k|        Fixups = FragWithFixups->getFixups();
  752|  8.74k|        Contents = FragWithFixups->getContents();
  753|  8.74k|      } else if (auto *FragWithFixups = dyn_cast<MCRelaxableFragment>(F)) {
  ------------------
  |  Branch (753:24): [True: 1.63k, False: 0]
  ------------------
  754|  1.63k|        Fixups = FragWithFixups->getFixups();
  755|  1.63k|        Contents = FragWithFixups->getContents();
  756|  1.63k|      } else
  757|      0|        llvm_unreachable("Unknown fragment with fixups!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  758|  12.1k|      for (const MCFixup &Fixup : Fixups) {
  ------------------
  |  Branch (758:33): [True: 12.1k, False: 9.60k]
  ------------------
  759|  12.1k|        uint64_t FixedValue;
  760|  12.1k|        bool IsPCRel;
  761|  12.1k|        std::tie(FixedValue, IsPCRel) = handleFixup(Layout, *F, Fixup, KsError);
  762|  12.1k|        if (KsError)
  ------------------
  |  Branch (762:13): [True: 682, False: 11.4k]
  ------------------
  763|    682|            return;
  764|  11.4k|        getBackend().applyFixup(Fixup, Contents.data(),
  765|  11.4k|                                Contents.size(), FixedValue, IsPCRel, KsError);
  766|  11.4k|        if (KsError)
  ------------------
  |  Branch (766:13): [True: 91, False: 11.3k]
  ------------------
  767|     91|            return;
  768|  11.4k|      }
  769|  10.3k|    }
  770|  8.18k|  }
  771|  7.89k|}
_ZN7llvm_ks11MCAssembler6FinishERj:
  773|  7.89k|void MCAssembler::Finish(unsigned int &KsError) {
  774|       |  // Create the layout object.
  775|  7.89k|  MCAsmLayout Layout(*this);
  776|  7.89k|  layout(Layout, KsError);
  777|       |
  778|       |  // Write the object file.
  779|  7.89k|  if (!KsError) {
  ------------------
  |  Branch (779:7): [True: 7.11k, False: 773]
  ------------------
  780|  7.11k|      getWriter().writeObject(*this, Layout);
  781|  7.11k|      KsError = getError();
  782|  7.11k|  }
  783|  7.89k|}
_ZNK7llvm_ks11MCAssembler20fixupNeedsRelaxationERKNS_7MCFixupEPKNS_19MCRelaxableFragmentERKNS_11MCAsmLayoutERj:
  788|  6.86k|{
  789|  6.86k|  MCValue Target;
  790|  6.86k|  uint64_t Value;
  791|  6.86k|  bool Resolved = evaluateFixup(Layout, Fixup, DF, Target, Value, KsError);
  792|  6.86k|  if (KsError) {
  ------------------
  |  Branch (792:7): [True: 677, False: 6.18k]
  ------------------
  793|    677|      KsError = KS_ERR_ASM_FIXUP_INVALID;
  794|       |      // return a dummy value
  795|    677|      return false;
  796|    677|  }
  797|  6.18k|  return getBackend().fixupNeedsRelaxationAdvanced(Fixup, Resolved, Value, DF,
  798|  6.18k|                                                   Layout);
  799|  6.86k|}
_ZNK7llvm_ks11MCAssembler23fragmentNeedsRelaxationEPKNS_19MCRelaxableFragmentERKNS_11MCAsmLayoutERj:
  803|  14.6k|{
  804|       |  // If this inst doesn't ever need relaxation, ignore it. This occurs when we
  805|       |  // are intentionally pushing out inst fragments, or because we relaxed a
  806|       |  // previous instruction to one that doesn't need relaxation.
  807|  14.6k|  if (!getBackend().mayNeedRelaxation(F->getInst()))
  ------------------
  |  Branch (807:7): [True: 7.75k, False: 6.88k]
  ------------------
  808|  7.75k|    return false;
  809|       |
  810|  6.88k|  for (const MCFixup &Fixup : F->getFixups())
  ------------------
  |  Branch (810:29): [True: 6.86k, False: 3.00k]
  ------------------
  811|  6.86k|    if (fixupNeedsRelaxation(Fixup, F, Layout, KsError))
  ------------------
  |  Branch (811:9): [True: 3.87k, False: 2.98k]
  ------------------
  812|  3.87k|      return true;
  813|       |
  814|  3.00k|  return false;
  815|  6.88k|}
_ZN7llvm_ks11MCAssembler16relaxInstructionERNS_11MCAsmLayoutERNS_19MCRelaxableFragmentE:
  819|  14.6k|{
  820|  14.6k|  unsigned KsError = 0;
  821|  14.6k|  if (!fragmentNeedsRelaxation(&F, Layout, KsError))
  ------------------
  |  Branch (821:7): [True: 10.7k, False: 3.87k]
  ------------------
  822|  10.7k|    return false;
  823|       |
  824|       |  // FIXME-PERF: We could immediately lower out instructions if we can tell
  825|       |  // they are fully resolved, to avoid retesting on later passes.
  826|       |
  827|       |  // Relax the fragment.
  828|       |
  829|  3.87k|  MCInst Relaxed;
  830|  3.87k|  getBackend().relaxInstruction(F.getInst(), Relaxed);
  831|       |
  832|       |  // Encode the new instruction.
  833|       |  //
  834|       |  // FIXME-PERF: If it matters, we could let the target do this. It can
  835|       |  // probably do so more efficiently in many cases.
  836|  3.87k|  SmallVector<MCFixup, 4> Fixups;
  837|  3.87k|  SmallString<256> Code;
  838|  3.87k|  raw_svector_ostream VecOS(Code);
  839|  3.87k|  getEmitter().encodeInstruction(Relaxed, VecOS, Fixups, F.getSubtargetInfo(), KsError);
  840|       |
  841|       |  // Update the fragment.
  842|  3.87k|  F.setInst(Relaxed);
  843|  3.87k|  F.getContents() = Code;
  844|  3.87k|  F.getFixups() = Fixups;
  845|       |
  846|  3.87k|  return true;
  847|  14.6k|}
_ZN7llvm_ks11MCAssembler17layoutSectionOnceERNS_11MCAsmLayoutERNS_9MCSectionE:
  876|  8.61k|{
  877|       |  // Holds the first fragment which needed relaxing during this layout. It will
  878|       |  // remain NULL if none were relaxed.
  879|       |  // When a fragment is relaxed, all the fragments following it should get
  880|       |  // invalidated because their offset is going to change.
  881|  8.61k|  MCFragment *FirstRelaxedFragment = nullptr;
  882|       |
  883|       |  // Attempt to relax all the fragments in the section.
  884|  62.6k|  for (MCSection::iterator I = Sec.begin(), IE = Sec.end(); I != IE; ++I) {
  ------------------
  |  Branch (884:61): [True: 54.0k, False: 8.61k]
  ------------------
  885|       |    // Check if this is a fragment that needs relaxation.
  886|  54.0k|    bool RelaxedFrag = false;
  887|  54.0k|    switch(I->getKind()) {
  888|  39.3k|    default:
  ------------------
  |  Branch (888:5): [True: 39.3k, False: 14.6k]
  ------------------
  889|  39.3k|      break;
  890|  39.3k|    case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (890:5): [True: 14.6k, False: 39.3k]
  ------------------
  891|  14.6k|      assert(!getRelaxAll() &&
  ------------------
  |  Branch (891:7): [True: 14.6k, False: 0]
  |  Branch (891:7): [True: 14.6k, Folded]
  |  Branch (891:7): [True: 14.6k, False: 0]
  ------------------
  892|  14.6k|             "Did not expect a MCRelaxableFragment in RelaxAll mode");
  893|  14.6k|      RelaxedFrag = relaxInstruction(Layout, *cast<MCRelaxableFragment>(I));
  894|  14.6k|      break;
  895|      0|    case MCFragment::FT_Dwarf:
  ------------------
  |  Branch (895:5): [True: 0, False: 54.0k]
  ------------------
  896|      0|      RelaxedFrag = relaxDwarfLineAddr(Layout,
  897|      0|                                       *cast<MCDwarfLineAddrFragment>(I));
  898|      0|      break;
  899|      0|    case MCFragment::FT_DwarfFrame:
  ------------------
  |  Branch (899:5): [True: 0, False: 54.0k]
  ------------------
  900|      0|      RelaxedFrag =
  901|      0|        relaxDwarfCallFrameFragment(Layout,
  902|      0|                                    *cast<MCDwarfCallFrameFragment>(I));
  903|      0|      break;
  904|      0|    case MCFragment::FT_LEB:
  ------------------
  |  Branch (904:5): [True: 0, False: 54.0k]
  ------------------
  905|      0|      RelaxedFrag = relaxLEB(Layout, *cast<MCLEBFragment>(I));
  906|      0|      break;
  907|  54.0k|    }
  908|  54.0k|    if (RelaxedFrag && !FirstRelaxedFragment)
  ------------------
  |  Branch (908:9): [True: 3.87k, False: 50.1k]
  |  Branch (908:24): [True: 212, False: 3.66k]
  ------------------
  909|    212|      FirstRelaxedFragment = &*I;
  910|  54.0k|  }
  911|  8.61k|  if (FirstRelaxedFragment) {
  ------------------
  |  Branch (911:7): [True: 212, False: 8.40k]
  ------------------
  912|    212|    Layout.invalidateFragmentsFrom(FirstRelaxedFragment);
  913|    212|    return true;
  914|    212|  }
  915|  8.40k|  return false;
  916|  8.61k|}
_ZN7llvm_ks11MCAssembler10layoutOnceERNS_11MCAsmLayoutE:
  919|  8.10k|{
  920|  8.10k|  bool WasRelaxed = false;
  921|  16.5k|  for (iterator it = begin(), ie = end(); it != ie; ++it) {
  ------------------
  |  Branch (921:43): [True: 8.40k, False: 8.10k]
  ------------------
  922|  8.40k|    MCSection &Sec = *it;
  923|  8.61k|    while (layoutSectionOnce(Layout, Sec))
  ------------------
  |  Branch (923:12): [True: 212, False: 8.40k]
  ------------------
  924|    212|      WasRelaxed = true;
  925|  8.40k|  }
  926|       |
  927|  8.10k|  return WasRelaxed;
  928|  8.10k|}
_ZN7llvm_ks11MCAssembler12finishLayoutERNS_11MCAsmLayoutE:
  930|  7.89k|void MCAssembler::finishLayout(MCAsmLayout &Layout) {
  931|       |  // The layout is done. Mark every fragment as valid.
  932|  16.0k|  for (unsigned int i = 0, n = Layout.getSectionOrder().size(); i != n; ++i) {
  ------------------
  |  Branch (932:65): [True: 8.18k, False: 7.89k]
  ------------------
  933|  8.18k|    bool valid;
  934|  8.18k|    Layout.getFragmentOffset(&*Layout.getSectionOrder()[i]->rbegin(), valid);
  935|  8.18k|  }
  936|  7.89k|}
MCAssembler.cpp:_ZL13writeFragmentRKN7llvm_ks11MCAssemblerERKNS_11MCAsmLayoutERKNS_10MCFragmentE:
  475|  30.7k|{
  476|  30.7k|  if (Asm.getError())
  ------------------
  |  Branch (476:7): [True: 4.85k, False: 25.8k]
  ------------------
  477|  4.85k|      return;
  478|       |
  479|  25.8k|  MCObjectWriter *OW = &Asm.getWriter();
  480|       |
  481|  25.8k|  bool valid;
  482|       |  // FIXME: Embed in fragments instead?
  483|  25.8k|  uint64_t FragmentSize = Asm.computeFragmentSize(Layout, F, valid);
  484|  25.8k|  if (!valid) {
  ------------------
  |  Branch (484:7): [True: 315, False: 25.5k]
  ------------------
  485|    315|      Asm.setError(KS_ERR_ASM_FRAGMENT_INVALID);
  486|    315|      return;
  487|    315|  }
  488|       |
  489|  25.5k|  Asm.writeFragmentPadding(F, FragmentSize, OW);
  490|       |
  491|       |  // This variable (and its dummy usage) is to participate in the assert at
  492|       |  // the end of the function.
  493|  25.5k|  uint64_t Start = OW->getStream().tell();
  494|  25.5k|  (void) Start;
  495|       |
  496|  25.5k|  switch (F.getKind()) {
  ------------------
  |  Branch (496:11): [True: 25.5k, False: 0]
  ------------------
  497|  9.06k|  case MCFragment::FT_Align: {
  ------------------
  |  Branch (497:3): [True: 9.06k, False: 16.4k]
  ------------------
  498|  9.06k|    const MCAlignFragment &AF = cast<MCAlignFragment>(F);
  499|  9.06k|    assert(AF.getValueSize() && "Invalid virtual align in concrete fragment!");
  ------------------
  |  Branch (499:5): [True: 9.06k, False: 0]
  |  Branch (499:5): [True: 9.06k, Folded]
  |  Branch (499:5): [True: 9.06k, False: 0]
  ------------------
  500|       |
  501|  9.06k|    uint64_t Count = FragmentSize / AF.getValueSize();
  502|       |
  503|       |    // FIXME: This error shouldn't actually occur (the front end should emit
  504|       |    // multiple .align directives to enforce the semantics it wants), but is
  505|       |    // severe enough that we want to report it. How to handle this?
  506|  9.06k|    if (Count * AF.getValueSize() != FragmentSize)
  ------------------
  |  Branch (506:9): [True: 0, False: 9.06k]
  ------------------
  507|      0|      report_fatal_error("undefined .align directive, value size '" +
  508|      0|                        Twine(AF.getValueSize()) +
  509|      0|                        "' is not a divisor of padding size '" +
  510|      0|                        Twine(FragmentSize) + "'");
  511|       |
  512|       |    // See if we are aligning with nops, and if so do that first to try to fill
  513|       |    // the Count bytes.  Then if that did not fill any bytes or there are any
  514|       |    // bytes left to fill use the Value and ValueSize to fill the rest.
  515|       |    // If we are aligning with nops, ask that target to emit the right data.
  516|  9.06k|    if (AF.hasEmitNops()) {
  ------------------
  |  Branch (516:9): [True: 995, False: 8.07k]
  ------------------
  517|    995|      if (!Asm.getBackend().writeNopData(Count, OW))
  ------------------
  |  Branch (517:11): [True: 0, False: 995]
  ------------------
  518|      0|        report_fatal_error("unable to write nop sequence of " +
  519|      0|                          Twine(Count) + " bytes");
  520|    995|      break;
  521|    995|    }
  522|       |
  523|       |    // Otherwise, write out in multiples of the value size.
  524|  8.28k|    for (uint64_t i = 0; i != Count; ++i) {
  ------------------
  |  Branch (524:26): [True: 214, False: 8.07k]
  ------------------
  525|    214|      switch (AF.getValueSize()) {
  526|      0|      default: llvm_unreachable("Invalid size!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (526:7): [True: 0, False: 214]
  ------------------
  527|    214|      case 1: OW->write8 (uint8_t (AF.getValue())); break;
  ------------------
  |  Branch (527:7): [True: 214, False: 0]
  ------------------
  528|      0|      case 2: OW->write16(uint16_t(AF.getValue())); break;
  ------------------
  |  Branch (528:7): [True: 0, False: 214]
  ------------------
  529|      0|      case 4: OW->write32(uint32_t(AF.getValue())); break;
  ------------------
  |  Branch (529:7): [True: 0, False: 214]
  ------------------
  530|      0|      case 8: OW->write64(uint64_t(AF.getValue())); break;
  ------------------
  |  Branch (530:7): [True: 0, False: 214]
  ------------------
  531|    214|      }
  532|    214|    }
  533|  8.07k|    break;
  534|  8.07k|  }
  535|       |
  536|  8.07k|  case MCFragment::FT_Data: 
  ------------------
  |  Branch (536:3): [True: 7.46k, False: 18.0k]
  ------------------
  537|  7.46k|    OW->writeBytes(cast<MCDataFragment>(F).getContents());
  538|  7.46k|    break;
  539|       |
  540|  1.38k|  case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (540:3): [True: 1.38k, False: 24.1k]
  ------------------
  541|  1.38k|    OW->writeBytes(cast<MCRelaxableFragment>(F).getContents());
  542|  1.38k|    break;
  543|       |
  544|      0|  case MCFragment::FT_CompactEncodedInst:
  ------------------
  |  Branch (544:3): [True: 0, False: 25.5k]
  ------------------
  545|      0|    OW->writeBytes(cast<MCCompactEncodedInstFragment>(F).getContents());
  546|      0|    break;
  547|       |
  548|  5.31k|  case MCFragment::FT_Fill: {
  ------------------
  |  Branch (548:3): [True: 5.31k, False: 20.2k]
  ------------------
  549|  5.31k|    const MCFillFragment &FF = cast<MCFillFragment>(F);
  550|  5.31k|    uint8_t V = FF.getValue();
  551|  5.31k|    const unsigned MaxChunkSize = 16;
  552|  5.31k|    char Data[MaxChunkSize];
  553|  5.31k|    memcpy(Data, &V, 1);
  554|  85.0k|    for (unsigned I = 1; I < MaxChunkSize; ++I)
  ------------------
  |  Branch (554:26): [True: 79.7k, False: 5.31k]
  ------------------
  555|  79.7k|      Data[I] = Data[0];
  556|       |
  557|  5.31k|    uint64_t Size = FF.getSize();
  558|  31.8k|    for (unsigned ChunkSize = MaxChunkSize; ChunkSize; ChunkSize /= 2) {
  ------------------
  |  Branch (558:45): [True: 26.5k, False: 5.31k]
  ------------------
  559|  26.5k|      StringRef Ref(Data, ChunkSize);
  560|  2.55M|      for (uint64_t I = 0, E = Size / ChunkSize; I != E; ++I)
  ------------------
  |  Branch (560:50): [True: 2.52M, False: 26.5k]
  ------------------
  561|  2.52M|        OW->writeBytes(Ref);
  562|  26.5k|      Size = Size % ChunkSize;
  563|  26.5k|    }
  564|  5.31k|    break;
  565|  8.07k|  }
  566|       |
  567|      0|  case MCFragment::FT_LEB: {
  ------------------
  |  Branch (567:3): [True: 0, False: 25.5k]
  ------------------
  568|      0|    const MCLEBFragment &LF = cast<MCLEBFragment>(F);
  569|      0|    OW->writeBytes(LF.getContents());
  570|      0|    break;
  571|  8.07k|  }
  572|       |
  573|      0|  case MCFragment::FT_SafeSEH: {
  ------------------
  |  Branch (573:3): [True: 0, False: 25.5k]
  ------------------
  574|      0|    const MCSafeSEHFragment &SF = cast<MCSafeSEHFragment>(F);
  575|      0|    OW->write32(SF.getSymbol()->getIndex());
  576|      0|    break;
  577|  8.07k|  }
  578|       |
  579|  2.30k|  case MCFragment::FT_Org: {
  ------------------
  |  Branch (579:3): [True: 2.30k, False: 23.2k]
  ------------------
  580|  2.30k|    const MCOrgFragment &OF = cast<MCOrgFragment>(F);
  581|       |
  582|  74.2M|    for (uint64_t i = 0, e = FragmentSize; i != e; ++i)
  ------------------
  |  Branch (582:44): [True: 74.2M, False: 2.30k]
  ------------------
  583|  74.2M|      OW->write8(uint8_t(OF.getValue()));
  584|       |
  585|  2.30k|    break;
  586|  8.07k|  }
  587|       |
  588|      0|  case MCFragment::FT_Dwarf: {
  ------------------
  |  Branch (588:3): [True: 0, False: 25.5k]
  ------------------
  589|      0|    const MCDwarfLineAddrFragment &OF = cast<MCDwarfLineAddrFragment>(F);
  590|      0|    OW->writeBytes(OF.getContents());
  591|      0|    break;
  592|  8.07k|  }
  593|      0|  case MCFragment::FT_DwarfFrame: {
  ------------------
  |  Branch (593:3): [True: 0, False: 25.5k]
  ------------------
  594|      0|    const MCDwarfCallFrameFragment &CF = cast<MCDwarfCallFrameFragment>(F);
  595|      0|    OW->writeBytes(CF.getContents());
  596|      0|    break;
  597|  8.07k|  }
  598|      0|  case MCFragment::FT_Dummy:
  ------------------
  |  Branch (598:3): [True: 0, False: 25.5k]
  ------------------
  599|      0|    llvm_unreachable("Should not have been added");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  600|  25.5k|  }
  601|       |
  602|  25.5k|  assert(OW->getStream().tell() - Start == FragmentSize &&
  ------------------
  |  Branch (602:3): [True: 25.5k, False: 0]
  |  Branch (602:3): [True: 25.5k, Folded]
  |  Branch (602:3): [True: 25.5k, False: 0]
  ------------------
  603|  25.5k|         "The stream should advance by fragment size");
  604|  25.5k|}

_ZN7llvm_ks13MCCodeEmitterC2Ev:
   14|  17.0k|MCCodeEmitter::MCCodeEmitter() {
   15|  17.0k|}
_ZN7llvm_ks13MCCodeEmitterD2Ev:
   17|  17.0k|MCCodeEmitter::~MCCodeEmitter() {
   18|  17.0k|}

_ZN7llvm_ks9MCContextC2EPKNS_9MCAsmInfoEPKNS_14MCRegisterInfoEPKNS_16MCObjectFileInfoEPKNS_9SourceMgrEbm:
   40|  17.0k|    : SrcMgr(mgr), MAI(mai), MRI(mri), MOFI(mofi), Allocator(),
   41|  17.0k|      Symbols(Allocator), UsedNames(Allocator),
   42|  17.0k|      CurrentDwarfLoc(0, 0, 0, DWARF2_FLAG_IS_STMT, 0, 0), DwarfLocSeen(false),
  ------------------
  |  |   68|  17.0k|#define DWARF2_FLAG_IS_STMT (1 << 0)
  ------------------
   43|  17.0k|      GenDwarfForAssembly(false), GenDwarfFileNumber(0), DwarfVersion(4),
   44|  17.0k|      AllowTemporaryLabels(true), DwarfCompileUnitID(0),
   45|  17.0k|      AutoReset(DoAutoReset), HadError(false), BaseAddress(BaseAddr) {
   46|       |
   47|  17.0k|  std::error_code EC = llvm_ks::sys::fs::current_path(CompilationDir);
   48|  17.0k|  if (EC)
  ------------------
  |  Branch (48:7): [True: 0, False: 17.0k]
  ------------------
   49|      0|    CompilationDir.clear();
   50|       |
   51|  17.0k|  SecureLogFile = getenv("AS_SECURE_LOG_FILE");
   52|  17.0k|  SecureLog = nullptr;
   53|  17.0k|  SecureLogUsed = false;
   54|       |
   55|  17.0k|  if (SrcMgr && SrcMgr->getNumBuffers())
  ------------------
  |  Branch (55:7): [True: 17.0k, False: 0]
  |  Branch (55:17): [True: 0, False: 17.0k]
  ------------------
   56|      0|    MainFileName =
   57|      0|        SrcMgr->getMemoryBuffer(SrcMgr->getMainFileID())->getBufferIdentifier();
   58|  17.0k|}
_ZN7llvm_ks9MCContextD2Ev:
   60|  17.0k|MCContext::~MCContext() {
   61|  17.0k|  if (AutoReset)
  ------------------
  |  Branch (61:7): [True: 17.0k, False: 0]
  ------------------
   62|  17.0k|    reset();
   63|       |
   64|       |  // NOTE: The symbols are all allocated out of a bump pointer allocator,
   65|       |  // we don't need to free them here.
   66|  17.0k|}
_ZN7llvm_ks9MCContext5resetEv:
   72|  17.0k|void MCContext::reset() {
   73|       |  // Call the destructors so the fragments are freed
   74|  17.0k|  COFFAllocator.DestroyAll();
   75|  17.0k|  ELFAllocator.DestroyAll();
   76|  17.0k|  MachOAllocator.DestroyAll();
   77|       |
   78|  17.0k|  MCSubtargetAllocator.DestroyAll();
   79|  17.0k|  UsedNames.clear();
   80|  17.0k|  Symbols.clear();
   81|  17.0k|  SectionSymbols.clear();
   82|  17.0k|  Allocator.Reset();
   83|  17.0k|  Instances.clear();
   84|  17.0k|  CompilationDir.clear();
   85|  17.0k|  MainFileName.clear();
   86|  17.0k|  MCDwarfLineTablesCUMap.clear();
   87|  17.0k|  SectionsForRanges.clear();
   88|  17.0k|  MCGenDwarfLabelEntries.clear();
   89|  17.0k|  DwarfDebugFlags = StringRef();
   90|  17.0k|  DwarfCompileUnitID = 0;
   91|  17.0k|  CurrentDwarfLoc = MCDwarfLoc(0, 0, 0, DWARF2_FLAG_IS_STMT, 0, 0);
  ------------------
  |  |   68|  17.0k|#define DWARF2_FLAG_IS_STMT (1 << 0)
  ------------------
   92|       |
   93|  17.0k|  MachOUniquingMap.clear();
   94|  17.0k|  ELFUniquingMap.clear();
   95|  17.0k|  COFFUniquingMap.clear();
   96|       |
   97|  17.0k|  NextID.clear();
   98|  17.0k|  AllowTemporaryLabels = true;
   99|  17.0k|  DwarfLocSeen = false;
  100|  17.0k|  GenDwarfForAssembly = false;
  101|  17.0k|  GenDwarfFileNumber = 0;
  102|       |
  103|  17.0k|  HadError = false;
  104|  17.0k|}
_ZN7llvm_ks9MCContext17getOrCreateSymbolERKNS_5TwineE:
  110|   280k|MCSymbol *MCContext::getOrCreateSymbol(const Twine &Name) {
  111|   280k|  SmallString<128> NameSV;
  112|   280k|  StringRef NameRef = Name.toStringRef(NameSV);
  113|       |
  114|   280k|  assert(!NameRef.empty() && "Normal symbols cannot be unnamed!");
  ------------------
  |  Branch (114:3): [True: 280k, False: 0]
  |  Branch (114:3): [True: 280k, Folded]
  |  Branch (114:3): [True: 280k, False: 0]
  ------------------
  115|       |
  116|   280k|  MCSymbol *&Sym = Symbols[NameRef];
  117|   280k|  if (!Sym)
  ------------------
  |  Branch (117:7): [True: 19.1k, False: 260k]
  ------------------
  118|  19.1k|    Sym = createSymbol(NameRef, false, false);
  119|       |
  120|   280k|  return Sym;
  121|   280k|}
_ZN7llvm_ks9MCContext24getOrCreateSectionSymbolERKNS_12MCSectionELFE:
  123|  17.4k|MCSymbolELF *MCContext::getOrCreateSectionSymbol(const MCSectionELF &Section) {
  124|  17.4k|  MCSymbolELF *&Sym = SectionSymbols[&Section];
  125|  17.4k|  if (Sym)
  ------------------
  |  Branch (125:7): [True: 0, False: 17.4k]
  ------------------
  126|      0|    return Sym;
  127|       |
  128|  17.4k|  StringRef Name = Section.getSectionName();
  129|       |
  130|  17.4k|  MCSymbol *&OldSym = Symbols[Name];
  131|  17.4k|  if (OldSym && OldSym->isUndefined()) {
  ------------------
  |  Branch (131:7): [True: 144, False: 17.2k]
  |  Branch (131:17): [True: 0, False: 144]
  ------------------
  132|      0|    Sym = cast<MCSymbolELF>(OldSym);
  133|      0|    return Sym;
  134|      0|  }
  135|       |
  136|  17.4k|  auto NameIter = UsedNames.insert(std::make_pair(Name, true)).first;
  137|  17.4k|  Sym = new (&*NameIter, *this) MCSymbolELF(&*NameIter, /*isTemporary*/ false);
  138|       |
  139|  17.4k|  if (!OldSym)
  ------------------
  |  Branch (139:7): [True: 17.2k, False: 144]
  ------------------
  140|  17.2k|    OldSym = Sym;
  141|       |
  142|  17.4k|  return Sym;
  143|  17.4k|}
_ZN7llvm_ks9MCContext16createSymbolImplEPKNS_14StringMapEntryIbEEb:
  162|   239k|                                      bool IsTemporary) {
  163|   239k|  if (MOFI) {
  ------------------
  |  Branch (163:7): [True: 239k, False: 0]
  ------------------
  164|   239k|    switch (MOFI->getObjectFileType()) {
  ------------------
  |  Branch (164:13): [True: 239k, False: 0]
  ------------------
  165|      0|    case MCObjectFileInfo::IsCOFF:
  ------------------
  |  Branch (165:5): [True: 0, False: 239k]
  ------------------
  166|      0|      return new (Name, *this) MCSymbolCOFF(Name, IsTemporary);
  167|   239k|    case MCObjectFileInfo::IsELF:
  ------------------
  |  Branch (167:5): [True: 239k, False: 0]
  ------------------
  168|   239k|      return new (Name, *this) MCSymbolELF(Name, IsTemporary);
  169|      0|    case MCObjectFileInfo::IsMachO:
  ------------------
  |  Branch (169:5): [True: 0, False: 239k]
  ------------------
  170|      0|      return new (Name, *this) MCSymbolMachO(Name, IsTemporary);
  171|   239k|    }
  172|   239k|  }
  173|      0|  return new (Name, *this) MCSymbol(MCSymbol::SymbolKindUnset, Name,
  174|      0|                                    IsTemporary);
  175|   239k|}
_ZN7llvm_ks9MCContext12createSymbolENS_9StringRefEbb:
  178|   239k|                                  bool CanBeUnnamed) {
  179|   239k|  if (CanBeUnnamed && !UseNamesOnTempLabels)
  ------------------
  |  Branch (179:7): [True: 220k, False: 19.1k]
  |  Branch (179:23): [True: 0, False: 220k]
  ------------------
  180|      0|    return createSymbolImpl(nullptr, true);
  181|       |
  182|       |  // Determine whether this is an user writter assembler temporary or normal
  183|       |  // label, if used.
  184|   239k|  bool IsTemporary = CanBeUnnamed;
  185|   239k|  if (AllowTemporaryLabels && !IsTemporary)
  ------------------
  |  Branch (185:7): [True: 239k, False: 0]
  |  Branch (185:31): [True: 19.1k, False: 220k]
  ------------------
  186|  19.1k|    IsTemporary = Name.startswith(MAI->getPrivateGlobalPrefix());
  187|       |
  188|   239k|  SmallString<128> NewName = Name;
  189|   239k|  bool AddSuffix = AlwaysAddSuffix;
  190|   239k|  unsigned &NextUniqueID = NextID[Name];
  191|   239k|  for (;;) {
  192|   239k|    if (AddSuffix) {
  ------------------
  |  Branch (192:9): [True: 50.0k, False: 189k]
  ------------------
  193|  50.0k|      NewName.resize(Name.size());
  194|  50.0k|      raw_svector_ostream(NewName) << NextUniqueID++;
  195|  50.0k|    }
  196|   239k|    auto NameEntry = UsedNames.insert(std::make_pair(NewName, true));
  197|   239k|    if (NameEntry.second) {
  ------------------
  |  Branch (197:9): [True: 239k, False: 0]
  ------------------
  198|       |      // Ok, we found a name. Have the MCSymbol object itself refer to the copy
  199|       |      // of the string that is embedded in the UsedNames entry.
  200|   239k|      return createSymbolImpl(&*NameEntry.first, IsTemporary);
  201|   239k|    }
  202|   239k|    assert(IsTemporary && "Cannot rename non-temporary symbols");
  ------------------
  |  Branch (202:5): [True: 0, False: 0]
  |  Branch (202:5): [True: 0, Folded]
  |  Branch (202:5): [True: 0, False: 0]
  ------------------
  203|      0|    AddSuffix = true;
  204|      0|  }
  205|      0|  llvm_unreachable("Infinite loop");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  206|   239k|}
_ZN7llvm_ks9MCContext16createTempSymbolERKNS_5TwineEbb:
  209|   220k|                                      bool CanBeUnnamed) {
  210|   220k|  SmallString<128> NameSV;
  211|   220k|  raw_svector_ostream(NameSV) << MAI->getPrivateGlobalPrefix() << Name;
  212|   220k|  return createSymbol(NameSV, AlwaysAddSuffix, CanBeUnnamed);
  213|   220k|}
_ZN7llvm_ks9MCContext16createTempSymbolEb:
  221|  50.0k|MCSymbol *MCContext::createTempSymbol(bool CanBeUnnamed) {
  222|  50.0k|  return createTempSymbol("tmp", true, CanBeUnnamed);
  223|  50.0k|}
_ZN7llvm_ks9MCContext12NextInstanceEjRb:
  226|     63|{
  227|     63|  if (LocalLabelVal >= Instances.size()) {
  ------------------
  |  Branch (227:7): [True: 63, False: 0]
  ------------------
  228|     63|      valid = false;
  229|     63|      return 0;
  230|     63|  }
  231|      0|  MCLabel *&Label = Instances[LocalLabelVal];
  232|      0|  if (!Label)
  ------------------
  |  Branch (232:7): [True: 0, False: 0]
  ------------------
  233|      0|    Label = new (*this) MCLabel(0);
  234|      0|  return Label->incInstance();
  235|     63|}
_ZN7llvm_ks9MCContext11GetInstanceEjRb:
  238|    837|{
  239|    837|  if (LocalLabelVal >= Instances.size()) {
  ------------------
  |  Branch (239:7): [True: 837, False: 0]
  ------------------
  240|    837|      valid = false;
  241|    837|      return 0;
  242|    837|  }
  243|      0|  MCLabel *&Label = Instances[LocalLabelVal];
  244|      0|  if (!Label)
  ------------------
  |  Branch (244:7): [True: 0, False: 0]
  ------------------
  245|      0|    Label = new (*this) MCLabel(0);
  246|      0|  return Label->getInstance();
  247|    837|}
_ZN7llvm_ks9MCContext28createDirectionalLocalSymbolEjRb:
  258|     63|{
  259|     63|  valid = true;
  260|     63|  unsigned Instance = NextInstance(LocalLabelVal, valid);
  261|     63|  if (!valid)
  ------------------
  |  Branch (261:7): [True: 63, False: 0]
  ------------------
  262|     63|      return nullptr;
  263|      0|  return getOrCreateDirectionalLocalSymbol(LocalLabelVal, Instance);
  264|     63|}
_ZN7llvm_ks9MCContext25getDirectionalLocalSymbolEjbRb:
  268|    837|{
  269|    837|  valid = true;
  270|    837|  unsigned Instance = GetInstance(LocalLabelVal, valid);
  271|    837|  if (!valid)
  ------------------
  |  Branch (271:7): [True: 837, False: 0]
  ------------------
  272|    837|      return nullptr;
  273|      0|  if (!Before)
  ------------------
  |  Branch (273:7): [True: 0, False: 0]
  ------------------
  274|      0|    ++Instance;
  275|      0|  return getOrCreateDirectionalLocalSymbol(LocalLabelVal, Instance);
  276|    837|}
_ZNK7llvm_ks9MCContext12lookupSymbolERKNS_5TwineE:
  278|   126k|MCSymbol *MCContext::lookupSymbol(const Twine &Name) const {
  279|   126k|  SmallString<128> NameSV;
  280|   126k|  StringRef NameRef = Name.toStringRef(NameSV);
  281|   126k|  return Symbols.lookup(NameRef);
  282|   126k|}
_ZN7llvm_ks9MCContext15getMachOSectionENS_9StringRefES1_jjNS_11SectionKindEPKc:
  291|  3.73k|                                           const char *BeginSymName) {
  292|       |
  293|       |  // We unique sections by their segment/section pair.  The returned section
  294|       |  // may not have the same flags as the requested section, if so this should be
  295|       |  // diagnosed by the client as an error.
  296|       |
  297|       |  // Form the name to look up.
  298|  3.73k|  SmallString<64> Name;
  299|  3.73k|  Name += Segment;
  300|  3.73k|  Name.push_back(',');
  301|  3.73k|  Name += Section;
  302|       |
  303|       |  // Do the lookup, if we have a hit, return it.
  304|  3.73k|  MCSectionMachO *&Entry = MachOUniquingMap[Name];
  305|  3.73k|  if (Entry)
  ------------------
  |  Branch (305:7): [True: 3.38k, False: 343]
  ------------------
  306|  3.38k|    return Entry;
  307|       |
  308|    343|  MCSymbol *Begin = nullptr;
  309|    343|  if (BeginSymName)
  ------------------
  |  Branch (309:7): [True: 0, False: 343]
  ------------------
  310|      0|    Begin = createTempSymbol(BeginSymName, false);
  311|       |
  312|       |  // Otherwise, return a new section.
  313|    343|  return Entry = new (MachOAllocator.Allocate()) MCSectionMachO(
  314|    343|             Segment, Section, TypeAndAttributes, Reserved2, Kind, Begin);
  315|  3.73k|}
_ZN7llvm_ks9MCContext19createELFRelSectionENS_9StringRefEjjjPKNS_11MCSymbolELFEPKNS_12MCSectionELFE:
  336|    119|                                             const MCSectionELF *Associated) {
  337|    119|  StringMap<bool>::iterator I;
  338|    119|  bool Inserted;
  339|    119|  std::tie(I, Inserted) = ELFRelSecNames.insert(std::make_pair(Name, true));
  340|       |
  341|    119|  return new (ELFAllocator.Allocate())
  342|    119|      MCSectionELF(I->getKey(), Type, Flags, SectionKind::getReadOnly(),
  343|    119|                   EntrySize, Group, true, nullptr, Associated);
  344|    119|}
_ZN7llvm_ks9MCContext13getELFSectionENS_9StringRefEjjjS1_jPKc:
  349|   740k|                                       const char *BeginSymName) {
  350|   740k|  MCSymbolELF *GroupSym = nullptr;
  351|   740k|  if (!Group.empty())
  ------------------
  |  Branch (351:7): [True: 0, False: 740k]
  ------------------
  352|      0|    GroupSym = cast<MCSymbolELF>(getOrCreateSymbol(Group));
  353|       |
  354|   740k|  return getELFSection(Section, Type, Flags, EntrySize, GroupSym, UniqueID,
  355|   740k|                       BeginSymName, nullptr);
  356|   740k|}
_ZN7llvm_ks9MCContext13getELFSectionENS_9StringRefEjjjPKNS_11MCSymbolELFEjPKcPKNS_12MCSectionELFE:
  363|   740k|                                       const MCSectionELF *Associated) {
  364|   740k|  StringRef Group = "";
  365|   740k|  if (GroupSym)
  ------------------
  |  Branch (365:7): [True: 0, False: 740k]
  ------------------
  366|      0|    Group = GroupSym->getName();
  367|       |  // Do the lookup, if we have a hit, return it.
  368|   740k|  auto IterBool = ELFUniquingMap.insert(
  369|   740k|      std::make_pair(ELFSectionKey{Section, Group, UniqueID}, nullptr));
  370|   740k|  auto &Entry = *IterBool.first;
  371|   740k|  if (!IterBool.second)
  ------------------
  |  Branch (371:7): [True: 62, False: 740k]
  ------------------
  372|     62|    return Entry.second;
  373|       |
  374|   740k|  StringRef CachedName = Entry.first.SectionName;
  375|       |
  376|   740k|  SectionKind Kind;
  377|   740k|  if (Flags & ELF::SHF_EXECINSTR)
  ------------------
  |  Branch (377:7): [True: 17.0k, False: 723k]
  ------------------
  378|  17.0k|    Kind = SectionKind::getText();
  379|   723k|  else
  380|   723k|    Kind = SectionKind::getReadOnly();
  381|       |
  382|   740k|  MCSymbol *Begin = nullptr;
  383|   740k|  if (BeginSymName)
  ------------------
  |  Branch (383:7): [True: 170k, False: 569k]
  ------------------
  384|   170k|    Begin = createTempSymbol(BeginSymName, false);
  385|       |
  386|   740k|  MCSectionELF *Result = new (ELFAllocator.Allocate())
  387|   740k|      MCSectionELF(CachedName, Type, Flags, Kind, EntrySize, GroupSym, UniqueID,
  388|   740k|                   Begin, Associated);
  389|   740k|  Entry.second = Result;
  390|   740k|  return Result;
  391|   740k|}
_ZN7llvm_ks9MCContext16getSubtargetCopyERKNS_15MCSubtargetInfoE:
  460|    499|MCSubtargetInfo &MCContext::getSubtargetCopy(const MCSubtargetInfo &STI) {
  461|    499|  return *new (MCSubtargetAllocator.Allocate()) MCSubtargetInfo(STI);
  462|    499|}
_ZN7llvm_ks9MCContext12getDwarfFileENS_9StringRefES1_jj:
  473|     54|                                 unsigned FileNumber, unsigned CUID) {
  474|     54|  return 0;
  475|     54|}
_ZN7llvm_ks9MCContext22isValidDwarfFileNumberEjj:
  479|     63|bool MCContext::isValidDwarfFileNumber(unsigned FileNumber, unsigned CUID) {
  480|     63|  const SmallVectorImpl<MCDwarfFile> &MCDwarfFiles = getMCDwarfFiles(CUID);
  481|     63|  if (FileNumber == 0 || FileNumber >= MCDwarfFiles.size())
  ------------------
  |  Branch (481:7): [True: 1, False: 62]
  |  Branch (481:26): [True: 62, False: 0]
  ------------------
  482|     63|    return false;
  483|       |
  484|      0|  return !MCDwarfFiles[FileNumber].Name.empty();
  485|     63|}
_ZN7llvm_ks9MCContext11reportErrorENS_5SMLocERKNS_5TwineE:
  506|  5.51k|void MCContext::reportError(SMLoc Loc, const Twine &Msg) {
  507|  5.51k|  HadError = true;
  508|       |
  509|       |  // If we have a source manager use it. Otherwise just use the generic
  510|       |  // report_fatal_error().
  511|  5.51k|  if (!SrcMgr)
  ------------------
  |  Branch (511:7): [True: 0, False: 5.51k]
  ------------------
  512|      0|    report_fatal_error(Msg, false);
  513|       |
  514|       |  // Use the source manager to print the message.
  515|  5.51k|  SrcMgr->PrintMessage(Loc, SourceMgr::DK_Error, Msg);
  516|  5.51k|}

_ZN7llvm_ks23MCELFObjectTargetWriterC2Ebhtbb:
   22|  17.0k|  : OSABI(OSABI_), EMachine(EMachine_),
   23|  17.0k|    HasRelocationAddend(HasRelocationAddend_), Is64Bit(Is64Bit_),
   24|  17.0k|    IsN64(IsN64_){
   25|  17.0k|}
_ZNK7llvm_ks23MCELFObjectTargetWriter23needsRelocateWithSymbolERKNS_8MCSymbolEj:
   28|  3.62k|                                                      unsigned Type) const {
   29|  3.62k|  return false;
   30|  3.62k|}

_ZNK7llvm_ks13MCELFStreamer14isBundleLockedEv:
   43|  59.5k|bool MCELFStreamer::isBundleLocked() const {
   44|  59.5k|  return getCurrentSectionOnly()->isBundleLocked();
   45|  59.5k|}
_ZN7llvm_ks13MCELFStreamerD2Ev:
   47|  17.0k|MCELFStreamer::~MCELFStreamer() {
   48|  17.0k|}
_ZN7llvm_ks13MCELFStreamer12InitSectionsEb:
   91|  17.0k|void MCELFStreamer::InitSections(bool NoExecStack) {
   92|  17.0k|  MCContext &Ctx = getContext();
   93|  17.0k|  SwitchSection(Ctx.getObjectFileInfo()->getTextSection());
   94|       |
   95|  17.0k|  if (NoExecStack)
  ------------------
  |  Branch (95:7): [True: 0, False: 17.0k]
  ------------------
   96|      0|    SwitchSection(Ctx.getAsmInfo()->getNonexecutableStackSection(Ctx));
   97|  17.0k|}
_ZN7llvm_ks13MCELFStreamer9EmitLabelEPNS_8MCSymbolE:
   99|  67.7k|void MCELFStreamer::EmitLabel(MCSymbol *S) {
  100|  67.7k|  auto *Symbol = cast<MCSymbolELF>(S);
  101|  67.7k|  assert(Symbol->isUndefined() && "Cannot define a symbol twice!");
  ------------------
  |  Branch (101:3): [True: 67.7k, False: 0]
  |  Branch (101:3): [True: 67.7k, Folded]
  |  Branch (101:3): [True: 67.7k, False: 0]
  ------------------
  102|       |
  103|  67.7k|  MCObjectStreamer::EmitLabel(Symbol);
  104|       |
  105|  67.7k|  const MCSectionELF &Section =
  106|  67.7k|      static_cast<const MCSectionELF &>(*getCurrentSectionOnly());
  107|  67.7k|  if (Section.getFlags() & ELF::SHF_TLS)
  ------------------
  |  Branch (107:7): [True: 316, False: 67.3k]
  ------------------
  108|    316|    Symbol->setType(ELF::STT_TLS);
  109|  67.7k|}
_ZN7llvm_ks13MCELFStreamer17EmitAssemblerFlagENS_15MCAssemblerFlagE:
  111|    499|void MCELFStreamer::EmitAssemblerFlag(MCAssemblerFlag Flag) {
  112|       |  // Let the target do whatever target specific stuff it needs to do.
  113|    499|  getAssembler().getBackend().handleAssemblerFlag(Flag);
  114|       |  // Do any generic stuff we need to do.
  115|    499|  switch (Flag) {
  ------------------
  |  Branch (115:11): [True: 499, False: 0]
  ------------------
  116|      0|  case MCAF_SyntaxUnified: return; // no-op here.
  ------------------
  |  Branch (116:3): [True: 0, False: 499]
  ------------------
  117|     13|  case MCAF_Code16: return; // Change parsing mode; no-op here.
  ------------------
  |  Branch (117:3): [True: 13, False: 486]
  ------------------
  118|    185|  case MCAF_Code32: return; // Change parsing mode; no-op here.
  ------------------
  |  Branch (118:3): [True: 185, False: 314]
  ------------------
  119|    301|  case MCAF_Code64: return; // Change parsing mode; no-op here.
  ------------------
  |  Branch (119:3): [True: 301, False: 198]
  ------------------
  120|      0|  case MCAF_SubsectionsViaSymbols:
  ------------------
  |  Branch (120:3): [True: 0, False: 499]
  ------------------
  121|      0|    getAssembler().setSubsectionsViaSymbols(true);
  122|      0|    return;
  123|    499|  }
  124|       |
  125|      0|  llvm_unreachable("invalid assembler flag!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  126|    499|}
_ZN7llvm_ks13MCELFStreamer13ChangeSectionEPNS_9MCSectionEPKNS_6MCExprE:
  138|  18.4k|                                  const MCExpr *Subsection) {
  139|  18.4k|  MCSection *CurSection = getCurrentSectionOnly();
  140|  18.4k|  if (CurSection && isBundleLocked())
  ------------------
  |  Branch (140:7): [True: 1.36k, False: 17.0k]
  |  Branch (140:21): [True: 0, False: 1.36k]
  ------------------
  141|      0|    report_fatal_error("Unterminated .bundle_lock when changing a section");
  142|       |
  143|  18.4k|  MCAssembler &Asm = getAssembler();
  144|       |  // Ensure the previous section gets aligned if necessary.
  145|  18.4k|  setSectionAlignmentForBundling(Asm, CurSection);
  146|  18.4k|  auto *SectionELF = static_cast<const MCSectionELF *>(Section);
  147|  18.4k|  const MCSymbol *Grp = SectionELF->getGroup();
  148|  18.4k|  if (Grp)
  ------------------
  |  Branch (148:7): [True: 0, False: 18.4k]
  ------------------
  149|      0|    Asm.registerSymbol(*Grp);
  150|       |
  151|  18.4k|  this->MCObjectStreamer::ChangeSection(Section, Subsection);
  152|  18.4k|  MCContext &Ctx = getContext();
  153|  18.4k|  auto *Begin = cast_or_null<MCSymbolELF>(Section->getBeginSymbol());
  154|  18.4k|  if (!Begin) {
  ------------------
  |  Branch (154:7): [True: 17.4k, False: 991]
  ------------------
  155|  17.4k|    Begin = Ctx.getOrCreateSectionSymbol(*SectionELF);
  156|  17.4k|    Section->setBeginSymbol(Begin);
  157|  17.4k|  }
  158|  18.4k|  if (Begin->isUndefined()) {
  ------------------
  |  Branch (158:7): [True: 17.4k, False: 991]
  ------------------
  159|  17.4k|    Asm.registerSymbol(*Begin);
  160|  17.4k|    Begin->setType(ELF::STT_SECTION);
  161|  17.4k|  }
  162|  18.4k|}
_ZN7llvm_ks13MCELFStreamer19EmitSymbolAttributeEPNS_8MCSymbolENS_12MCSymbolAttrE:
  193|    107|bool MCELFStreamer::EmitSymbolAttribute(MCSymbol *S, MCSymbolAttr Attribute) {
  194|    107|  auto *Symbol = cast<MCSymbolELF>(S);
  195|       |  // Indirect symbols are handled differently, to match how 'as' handles
  196|       |  // them. This makes writing matching .o files easier.
  197|    107|  if (Attribute == MCSA_IndirectSymbol) {
  ------------------
  |  Branch (197:7): [True: 0, False: 107]
  ------------------
  198|       |    // Note that we intentionally cannot use the symbol data here; this is
  199|       |    // important for matching the string table that 'as' generates.
  200|      0|    IndirectSymbolData ISD;
  201|      0|    ISD.Symbol = Symbol;
  202|      0|    ISD.Section = getCurrentSectionOnly();
  203|      0|    getAssembler().getIndirectSymbols().push_back(ISD);
  204|      0|    return true;
  205|      0|  }
  206|       |
  207|       |  // Adding a symbol attribute always introduces the symbol, note that an
  208|       |  // important side effect of calling registerSymbol here is to register
  209|       |  // the symbol with the assembler.
  210|    107|  getAssembler().registerSymbol(*Symbol);
  211|       |
  212|       |  // The implementation of symbol attributes is designed to match 'as', but it
  213|       |  // leaves much to desired. It doesn't really make sense to arbitrarily add and
  214|       |  // remove flags, but 'as' allows this (in particular, see .desc).
  215|       |  //
  216|       |  // In the future it might be worth trying to make these operations more well
  217|       |  // defined.
  218|    107|  switch (Attribute) {
  ------------------
  |  Branch (218:11): [True: 107, False: 0]
  ------------------
  219|      0|  case MCSA_LazyReference:
  ------------------
  |  Branch (219:3): [True: 0, False: 107]
  ------------------
  220|      0|  case MCSA_Reference:
  ------------------
  |  Branch (220:3): [True: 0, False: 107]
  ------------------
  221|      0|  case MCSA_SymbolResolver:
  ------------------
  |  Branch (221:3): [True: 0, False: 107]
  ------------------
  222|      0|  case MCSA_PrivateExtern:
  ------------------
  |  Branch (222:3): [True: 0, False: 107]
  ------------------
  223|      0|  case MCSA_WeakDefinition:
  ------------------
  |  Branch (223:3): [True: 0, False: 107]
  ------------------
  224|      0|  case MCSA_WeakDefAutoPrivate:
  ------------------
  |  Branch (224:3): [True: 0, False: 107]
  ------------------
  225|      0|  case MCSA_Invalid:
  ------------------
  |  Branch (225:3): [True: 0, False: 107]
  ------------------
  226|      0|  case MCSA_IndirectSymbol:
  ------------------
  |  Branch (226:3): [True: 0, False: 107]
  ------------------
  227|      0|    return false;
  228|       |
  229|     20|  case MCSA_NoDeadStrip:
  ------------------
  |  Branch (229:3): [True: 20, False: 87]
  ------------------
  230|       |    // Ignore for now.
  231|     20|    break;
  232|       |
  233|      0|  case MCSA_ELF_TypeGnuUniqueObject:
  ------------------
  |  Branch (233:3): [True: 0, False: 107]
  ------------------
  234|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_OBJECT));
  235|      0|    Symbol->setBinding(ELF::STB_GNU_UNIQUE);
  236|      0|    Symbol->setExternal(true);
  237|      0|    break;
  238|       |
  239|     87|  case MCSA_Global:
  ------------------
  |  Branch (239:3): [True: 87, False: 20]
  ------------------
  240|     87|    Symbol->setBinding(ELF::STB_GLOBAL);
  241|     87|    Symbol->setExternal(true);
  242|     87|    break;
  243|       |
  244|      0|  case MCSA_WeakReference:
  ------------------
  |  Branch (244:3): [True: 0, False: 107]
  ------------------
  245|      0|  case MCSA_Weak:
  ------------------
  |  Branch (245:3): [True: 0, False: 107]
  ------------------
  246|      0|    Symbol->setBinding(ELF::STB_WEAK);
  247|      0|    Symbol->setExternal(true);
  248|      0|    break;
  249|       |
  250|      0|  case MCSA_Local:
  ------------------
  |  Branch (250:3): [True: 0, False: 107]
  ------------------
  251|      0|    Symbol->setBinding(ELF::STB_LOCAL);
  252|      0|    Symbol->setExternal(false);
  253|      0|    break;
  254|       |
  255|      0|  case MCSA_ELF_TypeFunction:
  ------------------
  |  Branch (255:3): [True: 0, False: 107]
  ------------------
  256|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_FUNC));
  257|      0|    break;
  258|       |
  259|      0|  case MCSA_ELF_TypeIndFunction:
  ------------------
  |  Branch (259:3): [True: 0, False: 107]
  ------------------
  260|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_GNU_IFUNC));
  261|      0|    break;
  262|       |
  263|      0|  case MCSA_ELF_TypeObject:
  ------------------
  |  Branch (263:3): [True: 0, False: 107]
  ------------------
  264|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_OBJECT));
  265|      0|    break;
  266|       |
  267|      0|  case MCSA_ELF_TypeTLS:
  ------------------
  |  Branch (267:3): [True: 0, False: 107]
  ------------------
  268|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_TLS));
  269|      0|    break;
  270|       |
  271|      0|  case MCSA_ELF_TypeCommon:
  ------------------
  |  Branch (271:3): [True: 0, False: 107]
  ------------------
  272|       |    // TODO: Emit these as a common symbol.
  273|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_OBJECT));
  274|      0|    break;
  275|       |
  276|      0|  case MCSA_ELF_TypeNoType:
  ------------------
  |  Branch (276:3): [True: 0, False: 107]
  ------------------
  277|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_NOTYPE));
  278|      0|    break;
  279|       |
  280|      0|  case MCSA_Protected:
  ------------------
  |  Branch (280:3): [True: 0, False: 107]
  ------------------
  281|      0|    Symbol->setVisibility(ELF::STV_PROTECTED);
  282|      0|    break;
  283|       |
  284|      0|  case MCSA_Hidden:
  ------------------
  |  Branch (284:3): [True: 0, False: 107]
  ------------------
  285|      0|    Symbol->setVisibility(ELF::STV_HIDDEN);
  286|      0|    break;
  287|       |
  288|      0|  case MCSA_Internal:
  ------------------
  |  Branch (288:3): [True: 0, False: 107]
  ------------------
  289|      0|    Symbol->setVisibility(ELF::STV_INTERNAL);
  290|      0|    break;
  291|    107|  }
  292|       |
  293|    107|  return true;
  294|    107|}
_ZN7llvm_ks13MCELFStreamer16EmitCommonSymbolEPNS_8MCSymbolEmj:
  297|    927|                                     unsigned ByteAlignment) {
  298|    927|  auto *Symbol = cast<MCSymbolELF>(S);
  299|    927|  getAssembler().registerSymbol(*Symbol);
  300|       |
  301|    927|  if (!Symbol->isBindingSet()) {
  ------------------
  |  Branch (301:7): [True: 82, False: 845]
  ------------------
  302|     82|    Symbol->setBinding(ELF::STB_GLOBAL);
  303|     82|    Symbol->setExternal(true);
  304|     82|  }
  305|       |
  306|    927|  Symbol->setType(ELF::STT_OBJECT);
  307|       |
  308|    927|  if (Symbol->getBinding() == ELF::STB_LOCAL) {
  ------------------
  |  Branch (308:7): [True: 62, False: 865]
  ------------------
  309|     62|    MCSection &Section = *getAssembler().getContext().getELFSection(
  310|     62|        ".bss", ELF::SHT_NOBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC);
  311|     62|    MCSectionSubPair P = getCurrentSection();
  312|     62|    SwitchSection(&Section);
  313|       |
  314|     62|    EmitValueToAlignment(ByteAlignment, 0, 1, 0);
  315|     62|    EmitLabel(Symbol);
  316|     62|    EmitZeros(Size);
  317|       |
  318|       |    // Update the maximum alignment of the section if necessary.
  319|     62|    if (ByteAlignment > Section.getAlignment())
  ------------------
  |  Branch (319:9): [True: 0, False: 62]
  ------------------
  320|      0|      Section.setAlignment(ByteAlignment);
  321|       |
  322|     62|    SwitchSection(P.first, P.second);
  323|    865|  } else {
  324|    865|    if(Symbol->declareCommon(Size, ByteAlignment))
  ------------------
  |  Branch (324:8): [True: 0, False: 865]
  ------------------
  325|      0|      report_fatal_error("Symbol: " + Symbol->getName() +
  326|      0|                         " redeclared as different type");
  327|    865|  }
  328|       |
  329|    927|  cast<MCSymbolELF>(Symbol)
  330|    927|      ->setSize(MCConstantExpr::create(Size, getContext()));
  331|    927|}
_ZN7llvm_ks13MCELFStreamer21EmitLocalCommonSymbolEPNS_8MCSymbolEmj:
  338|     62|                                          unsigned ByteAlignment) {
  339|     62|  auto *Symbol = cast<MCSymbolELF>(S);
  340|       |  // FIXME: Should this be caught and done earlier?
  341|     62|  getAssembler().registerSymbol(*Symbol);
  342|     62|  Symbol->setBinding(ELF::STB_LOCAL);
  343|     62|  Symbol->setExternal(false);
  344|     62|  EmitCommonSymbol(Symbol, Size, ByteAlignment);
  345|     62|}
_ZN7llvm_ks13MCELFStreamer13EmitValueImplEPKNS_6MCExprEjNS_5SMLocE:
  348|  47.7k|                                  SMLoc Loc) {
  349|  47.7k|  if (isBundleLocked())
  ------------------
  |  Branch (349:7): [True: 0, False: 47.7k]
  ------------------
  350|      0|    report_fatal_error("Emitting values inside a locked bundle is forbidden");
  351|  47.7k|  fixSymbolsInTLSFixups(Value);
  352|  47.7k|  MCObjectStreamer::EmitValueImpl(Value, Size, Loc);
  353|  47.7k|}
_ZN7llvm_ks13MCELFStreamer20EmitValueToAlignmentEjljj:
  358|  10.4k|                                         unsigned MaxBytesToEmit) {
  359|  10.4k|  if (isBundleLocked())
  ------------------
  |  Branch (359:7): [True: 0, False: 10.4k]
  ------------------
  360|      0|    report_fatal_error("Emitting values inside a locked bundle is forbidden");
  361|  10.4k|  MCObjectStreamer::EmitValueToAlignment(ByteAlignment, Value,
  362|  10.4k|                                         ValueSize, MaxBytesToEmit);
  363|  10.4k|}
_ZN7llvm_ks13MCELFStreamer17EmitFileDirectiveENS_9StringRefE:
  368|  4.80k|void MCELFStreamer::EmitFileDirective(StringRef Filename) {
  369|  4.80k|  getAssembler().addFileName(Filename);
  370|  4.80k|}
_ZN7llvm_ks13MCELFStreamer21fixSymbolsInTLSFixupsEPKNS_6MCExprE:
  387|   284k|void MCELFStreamer::fixSymbolsInTLSFixups(const MCExpr *expr) {
  388|   284k|  switch (expr->getKind()) {
  ------------------
  |  Branch (388:11): [True: 284k, False: 0]
  ------------------
  389|      0|  case MCExpr::Target:
  ------------------
  |  Branch (389:3): [True: 0, False: 284k]
  ------------------
  390|      0|    cast<MCTargetExpr>(expr)->fixELFSymbolsInTLSFixups(getAssembler());
  391|      0|    break;
  392|  58.3k|  case MCExpr::Constant:
  ------------------
  |  Branch (392:3): [True: 58.3k, False: 226k]
  ------------------
  393|  58.3k|    break;
  394|       |
  395|  97.2k|  case MCExpr::Binary: {
  ------------------
  |  Branch (395:3): [True: 97.2k, False: 187k]
  ------------------
  396|  97.2k|    const MCBinaryExpr *be = cast<MCBinaryExpr>(expr);
  397|  97.2k|    fixSymbolsInTLSFixups(be->getLHS());
  398|  97.2k|    fixSymbolsInTLSFixups(be->getRHS());
  399|  97.2k|    break;
  400|      0|  }
  401|       |
  402|  97.7k|  case MCExpr::SymbolRef: {
  ------------------
  |  Branch (402:3): [True: 97.7k, False: 186k]
  ------------------
  403|  97.7k|    const MCSymbolRefExpr &symRef = *cast<MCSymbolRefExpr>(expr);
  404|  97.7k|    switch (symRef.getKind()) {
  405|  93.3k|    default:
  ------------------
  |  Branch (405:5): [True: 93.3k, False: 4.41k]
  ------------------
  406|  93.3k|      return;
  407|  93.3k|    case MCSymbolRefExpr::VK_GOTTPOFF:
  ------------------
  |  Branch (407:5): [True: 67, False: 97.7k]
  ------------------
  408|    139|    case MCSymbolRefExpr::VK_INDNTPOFF:
  ------------------
  |  Branch (408:5): [True: 72, False: 97.7k]
  ------------------
  409|    213|    case MCSymbolRefExpr::VK_NTPOFF:
  ------------------
  |  Branch (409:5): [True: 74, False: 97.7k]
  ------------------
  410|    420|    case MCSymbolRefExpr::VK_GOTNTPOFF:
  ------------------
  |  Branch (410:5): [True: 207, False: 97.5k]
  ------------------
  411|    458|    case MCSymbolRefExpr::VK_TLSGD:
  ------------------
  |  Branch (411:5): [True: 38, False: 97.7k]
  ------------------
  412|    532|    case MCSymbolRefExpr::VK_TLSLD:
  ------------------
  |  Branch (412:5): [True: 74, False: 97.7k]
  ------------------
  413|    778|    case MCSymbolRefExpr::VK_TLSLDM:
  ------------------
  |  Branch (413:5): [True: 246, False: 97.5k]
  ------------------
  414|    841|    case MCSymbolRefExpr::VK_TPOFF:
  ------------------
  |  Branch (414:5): [True: 63, False: 97.7k]
  ------------------
  415|    841|    case MCSymbolRefExpr::VK_TPREL:
  ------------------
  |  Branch (415:5): [True: 0, False: 97.7k]
  ------------------
  416|    922|    case MCSymbolRefExpr::VK_DTPOFF:
  ------------------
  |  Branch (416:5): [True: 81, False: 97.7k]
  ------------------
  417|    922|    case MCSymbolRefExpr::VK_DTPREL:
  ------------------
  |  Branch (417:5): [True: 0, False: 97.7k]
  ------------------
  418|    922|    case MCSymbolRefExpr::VK_Mips_TLSGD:
  ------------------
  |  Branch (418:5): [True: 0, False: 97.7k]
  ------------------
  419|    922|    case MCSymbolRefExpr::VK_Mips_GOTTPREL:
  ------------------
  |  Branch (419:5): [True: 0, False: 97.7k]
  ------------------
  420|    922|    case MCSymbolRefExpr::VK_Mips_TPREL_HI:
  ------------------
  |  Branch (420:5): [True: 0, False: 97.7k]
  ------------------
  421|    922|    case MCSymbolRefExpr::VK_Mips_TPREL_LO:
  ------------------
  |  Branch (421:5): [True: 0, False: 97.7k]
  ------------------
  422|  1.13k|    case MCSymbolRefExpr::VK_PPC_DTPMOD:
  ------------------
  |  Branch (422:5): [True: 210, False: 97.5k]
  ------------------
  423|  1.45k|    case MCSymbolRefExpr::VK_PPC_TPREL_LO:
  ------------------
  |  Branch (423:5): [True: 326, False: 97.4k]
  ------------------
  424|  1.49k|    case MCSymbolRefExpr::VK_PPC_TPREL_HI:
  ------------------
  |  Branch (424:5): [True: 40, False: 97.7k]
  ------------------
  425|  1.55k|    case MCSymbolRefExpr::VK_PPC_TPREL_HA:
  ------------------
  |  Branch (425:5): [True: 60, False: 97.7k]
  ------------------
  426|  1.63k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHER:
  ------------------
  |  Branch (426:5): [True: 76, False: 97.7k]
  ------------------
  427|  1.70k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHERA:
  ------------------
  |  Branch (427:5): [True: 73, False: 97.7k]
  ------------------
  428|  1.77k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHEST:
  ------------------
  |  Branch (428:5): [True: 68, False: 97.7k]
  ------------------
  429|  1.85k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHESTA:
  ------------------
  |  Branch (429:5): [True: 78, False: 97.7k]
  ------------------
  430|  2.10k|    case MCSymbolRefExpr::VK_PPC_DTPREL_LO:
  ------------------
  |  Branch (430:5): [True: 255, False: 97.5k]
  ------------------
  431|  2.19k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HI:
  ------------------
  |  Branch (431:5): [True: 82, False: 97.7k]
  ------------------
  432|  2.33k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HA:
  ------------------
  |  Branch (432:5): [True: 140, False: 97.6k]
  ------------------
  433|  2.37k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHER:
  ------------------
  |  Branch (433:5): [True: 43, False: 97.7k]
  ------------------
  434|  2.39k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHERA:
  ------------------
  |  Branch (434:5): [True: 22, False: 97.7k]
  ------------------
  435|  2.43k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHEST:
  ------------------
  |  Branch (435:5): [True: 40, False: 97.7k]
  ------------------
  436|  2.50k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHESTA:
  ------------------
  |  Branch (436:5): [True: 74, False: 97.7k]
  ------------------
  437|  2.76k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL:
  ------------------
  |  Branch (437:5): [True: 252, False: 97.5k]
  ------------------
  438|  2.84k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_LO:
  ------------------
  |  Branch (438:5): [True: 87, False: 97.6k]
  ------------------
  439|  2.93k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_HI:
  ------------------
  |  Branch (439:5): [True: 88, False: 97.6k]
  ------------------
  440|  3.01k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_HA:
  ------------------
  |  Branch (440:5): [True: 79, False: 97.7k]
  ------------------
  441|  3.09k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL:
  ------------------
  |  Branch (441:5): [True: 77, False: 97.7k]
  ------------------
  442|  3.22k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_LO:
  ------------------
  |  Branch (442:5): [True: 132, False: 97.6k]
  ------------------
  443|  3.30k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_HI:
  ------------------
  |  Branch (443:5): [True: 77, False: 97.7k]
  ------------------
  444|  3.38k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_HA:
  ------------------
  |  Branch (444:5): [True: 81, False: 97.7k]
  ------------------
  445|  3.42k|    case MCSymbolRefExpr::VK_PPC_TLS:
  ------------------
  |  Branch (445:5): [True: 38, False: 97.7k]
  ------------------
  446|  3.54k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD:
  ------------------
  |  Branch (446:5): [True: 121, False: 97.6k]
  ------------------
  447|  3.58k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_LO:
  ------------------
  |  Branch (447:5): [True: 40, False: 97.7k]
  ------------------
  448|  3.66k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_HI:
  ------------------
  |  Branch (448:5): [True: 83, False: 97.7k]
  ------------------
  449|  4.09k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_HA:
  ------------------
  |  Branch (449:5): [True: 435, False: 97.3k]
  ------------------
  450|  4.09k|    case MCSymbolRefExpr::VK_PPC_TLSGD:
  ------------------
  |  Branch (450:5): [True: 0, False: 97.7k]
  ------------------
  451|  4.18k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD:
  ------------------
  |  Branch (451:5): [True: 81, False: 97.7k]
  ------------------
  452|  4.25k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_LO:
  ------------------
  |  Branch (452:5): [True: 77, False: 97.7k]
  ------------------
  453|  4.36k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_HI:
  ------------------
  |  Branch (453:5): [True: 104, False: 97.6k]
  ------------------
  454|  4.41k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_HA:
  ------------------
  |  Branch (454:5): [True: 53, False: 97.7k]
  ------------------
  455|  4.41k|    case MCSymbolRefExpr::VK_PPC_TLSLD:
  ------------------
  |  Branch (455:5): [True: 0, False: 97.7k]
  ------------------
  456|  4.41k|      break;
  457|  97.7k|    }
  458|  4.41k|    getAssembler().registerSymbol(symRef.getSymbol());
  459|  4.41k|    cast<MCSymbolELF>(symRef.getSymbol()).setType(ELF::STT_TLS);
  460|  4.41k|    break;
  461|  97.7k|  }
  462|       |
  463|  31.2k|  case MCExpr::Unary:
  ------------------
  |  Branch (463:3): [True: 31.2k, False: 253k]
  ------------------
  464|  31.2k|    fixSymbolsInTLSFixups(cast<MCUnaryExpr>(expr)->getSubExpr());
  465|  31.2k|    break;
  466|   284k|  }
  467|   284k|}
_ZN7llvm_ks13MCELFStreamer18EmitInstToFragmentERNS_6MCInstERKNS_15MCSubtargetInfoE:
  470|  6.30k|                                       const MCSubtargetInfo &STI) {
  471|  6.30k|  this->MCObjectStreamer::EmitInstToFragment(Inst, STI);
  472|  6.30k|  MCRelaxableFragment &F = *cast<MCRelaxableFragment>(getCurrentFragment());
  473|       |
  474|  12.6k|  for (unsigned i = 0, e = F.getFixups().size(); i != e; ++i)
  ------------------
  |  Branch (474:50): [True: 6.29k, False: 6.30k]
  ------------------
  475|  6.29k|    fixSymbolsInTLSFixups(F.getFixups()[i].getValue());
  476|  6.30k|}
_ZN7llvm_ks13MCELFStreamer14EmitInstToDataERNS_6MCInstERKNS_15MCSubtargetInfoERj:
  481|  17.5k|{
  482|  17.5k|  MCAssembler &Assembler = getAssembler();
  483|  17.5k|  SmallVector<MCFixup, 4> Fixups;
  484|  17.5k|  SmallString<256> Code;
  485|  17.5k|  raw_svector_ostream VecOS(Code);
  486|  17.5k|  Assembler.getEmitter().encodeInstruction(Inst, VecOS, Fixups, STI, KsError);
  487|  17.5k|  if (KsError)
  ------------------
  |  Branch (487:7): [True: 20, False: 17.5k]
  ------------------
  488|     20|      return;
  489|       |
  490|  22.4k|  for (unsigned i = 0, e = Fixups.size(); i != e; ++i)
  ------------------
  |  Branch (490:43): [True: 4.85k, False: 17.5k]
  ------------------
  491|  4.85k|    fixSymbolsInTLSFixups(Fixups[i].getValue());
  492|       |
  493|       |  // There are several possibilities here:
  494|       |  //
  495|       |  // If bundling is disabled, append the encoded instruction to the current data
  496|       |  // fragment (or create a new such fragment if the current fragment is not a
  497|       |  // data fragment).
  498|       |  //
  499|       |  // If bundling is enabled:
  500|       |  // - If we're not in a bundle-locked group, emit the instruction into a
  501|       |  //   fragment of its own. If there are no fixups registered for the
  502|       |  //   instruction, emit a MCCompactEncodedInstFragment. Otherwise, emit a
  503|       |  //   MCDataFragment.
  504|       |  // - If we're in a bundle-locked group, append the instruction to the current
  505|       |  //   data fragment because we want all the instructions in a group to get into
  506|       |  //   the same fragment. Be careful not to do that for the first instruction in
  507|       |  //   the group, though.
  508|  17.5k|  MCDataFragment *DF;
  509|       |
  510|  17.5k|  if (Assembler.isBundlingEnabled()) {
  ------------------
  |  Branch (510:7): [True: 0, False: 17.5k]
  ------------------
  511|      0|    MCSection &Sec = *getCurrentSectionOnly();
  512|      0|    if (Assembler.getRelaxAll() && isBundleLocked())
  ------------------
  |  Branch (512:9): [True: 0, False: 0]
  |  Branch (512:36): [True: 0, False: 0]
  ------------------
  513|       |      // If the -mc-relax-all flag is used and we are bundle-locked, we re-use
  514|       |      // the current bundle group.
  515|      0|      DF = BundleGroups.back();
  516|      0|    else if (Assembler.getRelaxAll() && !isBundleLocked())
  ------------------
  |  Branch (516:14): [True: 0, False: 0]
  |  Branch (516:41): [True: 0, False: 0]
  ------------------
  517|       |      // When not in a bundle-locked group and the -mc-relax-all flag is used,
  518|       |      // we create a new temporary fragment which will be later merged into
  519|       |      // the current fragment.
  520|      0|      DF = new MCDataFragment();
  521|      0|    else if (isBundleLocked() && !Sec.isBundleGroupBeforeFirstInst())
  ------------------
  |  Branch (521:14): [True: 0, False: 0]
  |  Branch (521:34): [True: 0, False: 0]
  ------------------
  522|       |      // If we are bundle-locked, we re-use the current fragment.
  523|       |      // The bundle-locking directive ensures this is a new data fragment.
  524|      0|      DF = cast<MCDataFragment>(getCurrentFragment());
  525|      0|    else if (!isBundleLocked() && Fixups.size() == 0) {
  ------------------
  |  Branch (525:14): [True: 0, False: 0]
  |  Branch (525:35): [True: 0, False: 0]
  ------------------
  526|       |      // Optimize memory usage by emitting the instruction to a
  527|       |      // MCCompactEncodedInstFragment when not in a bundle-locked group and
  528|       |      // there are no fixups registered.
  529|      0|      MCCompactEncodedInstFragment *CEIF = new MCCompactEncodedInstFragment();
  530|      0|      insert(CEIF);
  531|      0|      CEIF->getContents().append(Code.begin(), Code.end());
  532|      0|      return;
  533|      0|    } else {
  534|      0|      DF = new MCDataFragment();
  535|      0|      insert(DF);
  536|      0|    }
  537|      0|    if (Sec.getBundleLockState() == MCSection::BundleLockedAlignToEnd) {
  ------------------
  |  Branch (537:9): [True: 0, False: 0]
  ------------------
  538|       |      // If this fragment is for a group marked "align_to_end", set a flag
  539|       |      // in the fragment. This can happen after the fragment has already been
  540|       |      // created if there are nested bundle_align groups and an inner one
  541|       |      // is the one marked align_to_end.
  542|      0|      DF->setAlignToBundleEnd(true);
  543|      0|    }
  544|       |
  545|       |    // We're now emitting an instruction in a bundle group, so this flag has
  546|       |    // to be turned off.
  547|      0|    Sec.setBundleGroupBeforeFirstInst(false);
  548|  17.5k|  } else {
  549|  17.5k|    DF = getOrCreateDataFragment();
  550|  17.5k|  }
  551|       |
  552|       |  // Add the fixups and data.
  553|  22.4k|  for (unsigned i = 0, e = Fixups.size(); i != e; ++i) {
  ------------------
  |  Branch (553:43): [True: 4.85k, False: 17.5k]
  ------------------
  554|  4.85k|    Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size());
  555|  4.85k|    DF->getFixups().push_back(Fixups[i]);
  556|  4.85k|  }
  557|  17.5k|  DF->setHasInstructions(true);
  558|  17.5k|  DF->getContents().append(Code.begin(), Code.end());
  559|       |
  560|  17.5k|  if (Assembler.isBundlingEnabled() && Assembler.getRelaxAll()) {
  ------------------
  |  Branch (560:7): [True: 0, False: 17.5k]
  |  Branch (560:40): [True: 0, False: 0]
  ------------------
  561|      0|    if (!isBundleLocked()) {
  ------------------
  |  Branch (561:9): [True: 0, False: 0]
  ------------------
  562|      0|      mergeFragment(getOrCreateDataFragment(), DF);
  563|      0|      delete DF;
  564|      0|    }
  565|      0|  }
  566|  17.5k|}
_ZN7llvm_ks13MCELFStreamer10FinishImplEv:
  634|  7.89k|{
  635|       |  // Ensure the last section gets aligned if necessary.
  636|  7.89k|  MCSection *CurSection = getCurrentSectionOnly();
  637|  7.89k|  setSectionAlignmentForBundling(getAssembler(), CurSection);
  638|       |
  639|  7.89k|  EmitFrames(nullptr);
  640|  7.89k|  return this->MCObjectStreamer::FinishImpl();
  641|  7.89k|}
_ZN7llvm_ks17createELFStreamerERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterEb:
  645|  17.0k|                                    bool RelaxAll) {
  646|  17.0k|  MCELFStreamer *S = new MCELFStreamer(Context, MAB, OS, CE);
  647|  17.0k|  if (RelaxAll)
  ------------------
  |  Branch (647:7): [True: 0, False: 17.0k]
  ------------------
  648|      0|    S->getAssembler().setRelaxAll(true);
  649|  17.0k|  return S;
  650|  17.0k|}
MCELFStreamer.cpp:_ZL30setSectionAlignmentForBundlingRKN7llvm_ks11MCAssemblerEPNS_9MCSectionE:
  131|  26.3k|                                           MCSection *Section) {
  132|  26.3k|  if (Section && Assembler.isBundlingEnabled() && Section->hasInstructions() &&
  ------------------
  |  Branch (132:7): [True: 9.25k, False: 17.0k]
  |  Branch (132:18): [True: 0, False: 9.25k]
  |  Branch (132:51): [True: 0, False: 0]
  ------------------
  133|      0|      Section->getAlignment() < Assembler.getBundleAlignSize())
  ------------------
  |  Branch (133:7): [True: 0, False: 0]
  ------------------
  134|      0|    Section->setAlignment(Assembler.getBundleAlignSize());
  135|  26.3k|}

_ZN7llvm_ks12MCBinaryExpr6createENS0_6OpcodeEPKNS_6MCExprES4_RNS_9MCContextE:
  133|   250k|                                         const MCExpr *RHS, MCContext &Ctx) {
  134|   250k|  return new (Ctx) MCBinaryExpr(Opc, LHS, RHS);
  135|   250k|}
_ZN7llvm_ks11MCUnaryExpr6createENS0_6OpcodeEPKNS_6MCExprERNS_9MCContextE:
  138|   193k|                                       MCContext &Ctx) {
  139|   193k|  return new (Ctx) MCUnaryExpr(Opc, Expr);
  140|   193k|}
_ZN7llvm_ks14MCConstantExpr6createElRNS_9MCContextE:
  142|   508k|const MCConstantExpr *MCConstantExpr::create(int64_t Value, MCContext &Ctx) {
  143|   508k|  return new (Ctx) MCConstantExpr(Value);
  144|   508k|}
_ZN7llvm_ks15MCSymbolRefExprC2EPKNS_8MCSymbolENS0_11VariantKindEPKNS_9MCAsmInfoE:
  150|   331k|    : MCExpr(MCExpr::SymbolRef), Kind(Kind),
  151|   331k|      UseParensForSymbolVariant(MAI->useParensForSymbolVariant()),
  152|   331k|      HasSubsectionsViaSymbols(MAI->hasSubsectionsViaSymbols()),
  153|   331k|      Symbol(Symbol) {
  154|       |  assert(Symbol);
  ------------------
  |  Branch (154:3): [True: 331k, False: 0]
  ------------------
  155|   331k|}
_ZN7llvm_ks15MCSymbolRefExpr6createEPKNS_8MCSymbolENS0_11VariantKindERNS_9MCContextE:
  159|   331k|                                               MCContext &Ctx) {
  160|   331k|  return new (Ctx) MCSymbolRefExpr(Sym, Kind, Ctx.getAsmInfo());
  161|   331k|}
_ZN7llvm_ks15MCSymbolRefExpr21getVariantKindForNameENS_9StringRefE:
  303|  28.9k|MCSymbolRefExpr::getVariantKindForName(StringRef Name) {
  304|  28.9k|  return StringSwitch<VariantKind>(Name.lower())
  305|  28.9k|    .Case("got", VK_GOT)
  306|  28.9k|    .Case("gotoff", VK_GOTOFF)
  307|  28.9k|    .Case("gotpcrel", VK_GOTPCREL)
  308|  28.9k|    .Case("gottpoff", VK_GOTTPOFF)
  309|  28.9k|    .Case("indntpoff", VK_INDNTPOFF)
  310|  28.9k|    .Case("ntpoff", VK_NTPOFF)
  311|  28.9k|    .Case("gotntpoff", VK_GOTNTPOFF)
  312|  28.9k|    .Case("plt", VK_PLT)
  313|  28.9k|    .Case("tlsgd", VK_TLSGD)
  314|  28.9k|    .Case("tlsld", VK_TLSLD)
  315|  28.9k|    .Case("tlsldm", VK_TLSLDM)
  316|  28.9k|    .Case("tpoff", VK_TPOFF)
  317|  28.9k|    .Case("dtpoff", VK_DTPOFF)
  318|  28.9k|    .Case("tlvp", VK_TLVP)
  319|  28.9k|    .Case("tlvppage", VK_TLVPPAGE)
  320|  28.9k|    .Case("tlvppageoff", VK_TLVPPAGEOFF)
  321|  28.9k|    .Case("page", VK_PAGE)
  322|  28.9k|    .Case("pageoff", VK_PAGEOFF)
  323|  28.9k|    .Case("gotpage", VK_GOTPAGE)
  324|  28.9k|    .Case("gotpageoff", VK_GOTPAGEOFF)
  325|  28.9k|    .Case("imgrel", VK_COFF_IMGREL32)
  326|  28.9k|    .Case("secrel32", VK_SECREL)
  327|  28.9k|    .Case("size", VK_SIZE)
  328|  28.9k|    .Case("l", VK_PPC_LO)
  329|  28.9k|    .Case("h", VK_PPC_HI)
  330|  28.9k|    .Case("ha", VK_PPC_HA)
  331|  28.9k|    .Case("higher", VK_PPC_HIGHER)
  332|  28.9k|    .Case("highera", VK_PPC_HIGHERA)
  333|  28.9k|    .Case("highest", VK_PPC_HIGHEST)
  334|  28.9k|    .Case("highesta", VK_PPC_HIGHESTA)
  335|  28.9k|    .Case("got@l", VK_PPC_GOT_LO)
  336|  28.9k|    .Case("got@h", VK_PPC_GOT_HI)
  337|  28.9k|    .Case("got@ha", VK_PPC_GOT_HA)
  338|  28.9k|    .Case("local", VK_PPC_LOCAL)
  339|  28.9k|    .Case("tocbase", VK_PPC_TOCBASE)
  340|  28.9k|    .Case("toc", VK_PPC_TOC)
  341|  28.9k|    .Case("toc@l", VK_PPC_TOC_LO)
  342|  28.9k|    .Case("toc@h", VK_PPC_TOC_HI)
  343|  28.9k|    .Case("toc@ha", VK_PPC_TOC_HA)
  344|  28.9k|    .Case("tls", VK_PPC_TLS)
  345|  28.9k|    .Case("dtpmod", VK_PPC_DTPMOD)
  346|  28.9k|    .Case("tprel", VK_PPC_TPREL)
  347|  28.9k|    .Case("tprel@l", VK_PPC_TPREL_LO)
  348|  28.9k|    .Case("tprel@h", VK_PPC_TPREL_HI)
  349|  28.9k|    .Case("tprel@ha", VK_PPC_TPREL_HA)
  350|  28.9k|    .Case("tprel@higher", VK_PPC_TPREL_HIGHER)
  351|  28.9k|    .Case("tprel@highera", VK_PPC_TPREL_HIGHERA)
  352|  28.9k|    .Case("tprel@highest", VK_PPC_TPREL_HIGHEST)
  353|  28.9k|    .Case("tprel@highesta", VK_PPC_TPREL_HIGHESTA)
  354|  28.9k|    .Case("dtprel", VK_PPC_DTPREL)
  355|  28.9k|    .Case("dtprel@l", VK_PPC_DTPREL_LO)
  356|  28.9k|    .Case("dtprel@h", VK_PPC_DTPREL_HI)
  357|  28.9k|    .Case("dtprel@ha", VK_PPC_DTPREL_HA)
  358|  28.9k|    .Case("dtprel@higher", VK_PPC_DTPREL_HIGHER)
  359|  28.9k|    .Case("dtprel@highera", VK_PPC_DTPREL_HIGHERA)
  360|  28.9k|    .Case("dtprel@highest", VK_PPC_DTPREL_HIGHEST)
  361|  28.9k|    .Case("dtprel@highesta", VK_PPC_DTPREL_HIGHESTA)
  362|  28.9k|    .Case("got@tprel", VK_PPC_GOT_TPREL)
  363|  28.9k|    .Case("got@tprel@l", VK_PPC_GOT_TPREL_LO)
  364|  28.9k|    .Case("got@tprel@h", VK_PPC_GOT_TPREL_HI)
  365|  28.9k|    .Case("got@tprel@ha", VK_PPC_GOT_TPREL_HA)
  366|  28.9k|    .Case("got@dtprel", VK_PPC_GOT_DTPREL)
  367|  28.9k|    .Case("got@dtprel@l", VK_PPC_GOT_DTPREL_LO)
  368|  28.9k|    .Case("got@dtprel@h", VK_PPC_GOT_DTPREL_HI)
  369|  28.9k|    .Case("got@dtprel@ha", VK_PPC_GOT_DTPREL_HA)
  370|  28.9k|    .Case("got@tlsgd", VK_PPC_GOT_TLSGD)
  371|  28.9k|    .Case("got@tlsgd@l", VK_PPC_GOT_TLSGD_LO)
  372|  28.9k|    .Case("got@tlsgd@h", VK_PPC_GOT_TLSGD_HI)
  373|  28.9k|    .Case("got@tlsgd@ha", VK_PPC_GOT_TLSGD_HA)
  374|  28.9k|    .Case("got@tlsld", VK_PPC_GOT_TLSLD)
  375|  28.9k|    .Case("got@tlsld@l", VK_PPC_GOT_TLSLD_LO)
  376|  28.9k|    .Case("got@tlsld@h", VK_PPC_GOT_TLSLD_HI)
  377|  28.9k|    .Case("got@tlsld@ha", VK_PPC_GOT_TLSLD_HA)
  378|  28.9k|    .Case("gdgot", VK_Hexagon_GD_GOT)
  379|  28.9k|    .Case("gdplt", VK_Hexagon_GD_PLT)
  380|  28.9k|    .Case("iegot", VK_Hexagon_IE_GOT)
  381|  28.9k|    .Case("ie", VK_Hexagon_IE)
  382|  28.9k|    .Case("ldgot", VK_Hexagon_LD_GOT)
  383|  28.9k|    .Case("ldplt", VK_Hexagon_LD_PLT)
  384|  28.9k|    .Case("pcrel", VK_Hexagon_PCREL)
  385|  28.9k|    .Case("none", VK_ARM_NONE)
  386|  28.9k|    .Case("got_prel", VK_ARM_GOT_PREL)
  387|  28.9k|    .Case("target1", VK_ARM_TARGET1)
  388|  28.9k|    .Case("target2", VK_ARM_TARGET2)
  389|  28.9k|    .Case("prel31", VK_ARM_PREL31)
  390|  28.9k|    .Case("sbrel", VK_ARM_SBREL)
  391|  28.9k|    .Case("tlsldo", VK_ARM_TLSLDO)
  392|  28.9k|    .Case("tlscall", VK_ARM_TLSCALL)
  393|  28.9k|    .Case("tlsdesc", VK_ARM_TLSDESC)
  394|  28.9k|    .Default(VK_Invalid);
  395|  28.9k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERl:
  406|   502k|bool MCExpr::evaluateAsAbsolute(int64_t &Res) const {
  407|   502k|  return evaluateAsAbsolute(Res, nullptr, nullptr, nullptr);
  408|   502k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlRKNS_11MCAssemblerE:
  421|  47.7k|bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const {
  422|  47.7k|  return evaluateAsAbsolute(Res, &Asm, nullptr, nullptr);
  423|  47.7k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISB_EENS_6detail12DenseMapPairISB_mEEEE:
  433|   549k|                                const SectionAddrMap *Addrs) const {
  434|       |  // FIXME: The use if InSet = Addrs is a hack. Setting InSet causes us
  435|       |  // absolutize differences across sections and that is what the MachO writer
  436|       |  // uses Addrs for.
  437|   549k|  return evaluateAsAbsolute(Res, Asm, Layout, Addrs, Addrs);
  438|   549k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISB_EENS_6detail12DenseMapPairISB_mEEEEb:
  443|   549k|{
  444|   549k|  MCValue Value;
  445|       |
  446|       |  // Fast path constants.
  447|   549k|  if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(this)) {
  ------------------
  |  Branch (447:29): [True: 193k, False: 356k]
  ------------------
  448|   193k|    Res = CE->getValue();
  449|   193k|    return true;
  450|   193k|  }
  451|       |
  452|   356k|  bool valid;
  453|   356k|  bool IsRelocatable =
  454|   356k|      evaluateAsRelocatableImpl(Value, Asm, Layout, nullptr, Addrs, InSet, valid);
  455|       |
  456|       |  // Record the current value.
  457|   356k|  Res = Value.getConstant();
  458|       |
  459|   356k|  return IsRelocatable && Value.isAbsolute();
  ------------------
  |  Branch (459:10): [True: 297k, False: 58.5k]
  |  Branch (459:27): [True: 103k, False: 194k]
  ------------------
  460|   549k|}
_ZNK7llvm_ks6MCExpr21evaluateAsRelocatableERNS_7MCValueEPKNS_11MCAsmLayoutEPKNS_7MCFixupE:
  606|  19.7k|{
  607|  19.7k|  MCAssembler *Assembler = Layout ? &Layout->getAssembler() : nullptr;
  ------------------
  |  Branch (607:28): [True: 19.0k, False: 759]
  ------------------
  608|  19.7k|  bool valid;
  609|  19.7k|  return evaluateAsRelocatableImpl(Res, Assembler, Layout, Fixup, nullptr,
  610|  19.7k|                                   false, valid);
  611|  19.7k|}
_ZNK7llvm_ks6MCExpr15evaluateAsValueERNS_7MCValueERKNS_11MCAsmLayoutE:
  614|  10.2k|{
  615|  10.2k|  MCAssembler *Assembler = &Layout.getAssembler();
  616|  10.2k|  bool valid;
  617|  10.2k|  return evaluateAsRelocatableImpl(Res, Assembler, &Layout, nullptr, nullptr,
  618|  10.2k|                                   true, valid);
  619|  10.2k|}
_ZNK7llvm_ks6MCExpr25evaluateAsRelocatableImplERNS_7MCValueEPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_7MCFixupEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISF_EENS_6detail12DenseMapPairISF_mEEEEbRb:
  639|  1.19M|{
  640|  1.19M|  switch (getKind()) {
  ------------------
  |  Branch (640:11): [True: 1.19M, False: 0]
  ------------------
  641|      0|  case Target:
  ------------------
  |  Branch (641:3): [True: 0, False: 1.19M]
  ------------------
  642|      0|    return cast<MCTargetExpr>(this)->evaluateAsRelocatableImpl(Res, Layout,
  643|      0|                                                               Fixup);
  644|       |
  645|   292k|  case Constant:
  ------------------
  |  Branch (645:3): [True: 292k, False: 901k]
  ------------------
  646|   292k|    Res = MCValue::get(cast<MCConstantExpr>(this)->getValue());
  647|   292k|    return true;
  648|       |
  649|   360k|  case SymbolRef: {
  ------------------
  |  Branch (649:3): [True: 360k, False: 833k]
  ------------------
  650|   360k|    const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
  651|   360k|    const MCSymbol &Sym = SRE->getSymbol();
  652|       |
  653|       |    // Evaluate recursively if this is a variable.
  654|   360k|    if (Sym.isVariable() && SRE->getKind() == MCSymbolRefExpr::VK_None &&
  ------------------
  |  Branch (654:9): [True: 7.45k, False: 353k]
  |  Branch (654:29): [True: 7.30k, False: 155]
  ------------------
  655|  7.30k|        canExpand(Sym, InSet)) {
  ------------------
  |  Branch (655:9): [True: 3.49k, False: 3.81k]
  ------------------
  656|  3.49k|      bool IsMachO = SRE->hasSubsectionsViaSymbols();
  657|  3.49k|      bool valid;
  658|  3.49k|      if (Sym.getVariableValue()->evaluateAsRelocatableImpl(
  ------------------
  |  Branch (658:11): [True: 1.10k, False: 2.38k]
  ------------------
  659|  3.49k|              Res, Asm, Layout, Fixup, Addrs, InSet || IsMachO, valid)) {
  ------------------
  |  Branch (659:47): [True: 866, False: 2.62k]
  |  Branch (659:56): [True: 0, False: 2.62k]
  ------------------
  660|  1.10k|        if (!IsMachO)
  ------------------
  |  Branch (660:13): [True: 1.10k, False: 0]
  ------------------
  661|  1.10k|          return true;
  662|       |
  663|      0|        const MCSymbolRefExpr *A = Res.getSymA();
  664|      0|        const MCSymbolRefExpr *B = Res.getSymB();
  665|       |        // FIXME: This is small hack. Given
  666|       |        // a = b + 4
  667|       |        // .long a
  668|       |        // the OS X assembler will completely drop the 4. We should probably
  669|       |        // include it in the relocation or produce an error if that is not
  670|       |        // possible.
  671|      0|        if (!A && !B)
  ------------------
  |  Branch (671:13): [True: 0, False: 0]
  |  Branch (671:19): [True: 0, False: 0]
  ------------------
  672|      0|          return true;
  673|      0|      }
  674|  3.49k|    }
  675|       |
  676|   359k|    Res = MCValue::get(SRE, nullptr, 0);
  677|   359k|    return true;
  678|   360k|  }
  679|       |
  680|   194k|  case Unary: {
  ------------------
  |  Branch (680:3): [True: 194k, False: 999k]
  ------------------
  681|   194k|    const MCUnaryExpr *AUE = cast<MCUnaryExpr>(this);
  682|   194k|    MCValue Value;
  683|       |
  684|   194k|    bool valid;
  685|   194k|    if (!AUE->getSubExpr()->evaluateAsRelocatableImpl(Value, Asm, Layout, Fixup,
  ------------------
  |  Branch (685:9): [True: 18.7k, False: 176k]
  ------------------
  686|   194k|                                                      Addrs, InSet, valid))
  687|  18.7k|      return false;
  688|       |
  689|   176k|    switch (AUE->getOpcode()) {
  ------------------
  |  Branch (689:13): [True: 176k, False: 0]
  ------------------
  690|  2.11k|    case MCUnaryExpr::LNot:
  ------------------
  |  Branch (690:5): [True: 2.11k, False: 174k]
  ------------------
  691|  2.11k|      if (!Value.isAbsolute())
  ------------------
  |  Branch (691:11): [True: 1.11k, False: 997]
  ------------------
  692|  1.11k|        return false;
  693|    997|      Res = MCValue::get(!Value.getConstant());
  694|    997|      break;
  695|  93.0k|    case MCUnaryExpr::Minus:
  ------------------
  |  Branch (695:5): [True: 93.0k, False: 83.1k]
  ------------------
  696|       |      /// -(a - b + const) ==> (b - a - const)
  697|  93.0k|      if (Value.getSymA() && !Value.getSymB())
  ------------------
  |  Branch (697:11): [True: 27.5k, False: 65.4k]
  |  Branch (697:30): [True: 27.3k, False: 218]
  ------------------
  698|  27.3k|        return false;
  699|  65.6k|      Res = MCValue::get(Value.getSymB(), Value.getSymA(),
  700|  65.6k|                         -Value.getConstant());
  701|  65.6k|      break;
  702|  62.7k|    case MCUnaryExpr::Not:
  ------------------
  |  Branch (702:5): [True: 62.7k, False: 113k]
  ------------------
  703|  62.7k|      if (!Value.isAbsolute())
  ------------------
  |  Branch (703:11): [True: 521, False: 62.2k]
  ------------------
  704|    521|        return false;
  705|  62.2k|      Res = MCValue::get(~Value.getConstant());
  706|  62.2k|      break;
  707|  18.2k|    case MCUnaryExpr::Plus:
  ------------------
  |  Branch (707:5): [True: 18.2k, False: 157k]
  ------------------
  708|  18.2k|      Res = Value;
  709|  18.2k|      break;
  710|   176k|    }
  711|       |
  712|   147k|    return true;
  713|   176k|  }
  714|       |
  715|   345k|  case Binary: {
  ------------------
  |  Branch (715:3): [True: 345k, False: 848k]
  ------------------
  716|   345k|    const MCBinaryExpr *ABE = cast<MCBinaryExpr>(this);
  717|   345k|    MCValue LHSValue, RHSValue;
  718|   345k|    bool valid;
  719|       |
  720|   345k|    if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup,
  ------------------
  |  Branch (720:9): [True: 82.3k, False: 263k]
  ------------------
  721|   345k|                                                  Addrs, InSet, valid) ||
  722|   263k|        !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup,
  ------------------
  |  Branch (722:9): [True: 10.1k, False: 253k]
  ------------------
  723|   263k|                                                  Addrs, InSet, valid))
  724|  92.4k|      return false;
  725|       |
  726|       |    // We only support a few operations on non-constant expressions, handle
  727|       |    // those first.
  728|   253k|    if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) {
  ------------------
  |  Branch (728:9): [True: 147k, False: 105k]
  |  Branch (728:35): [True: 43.3k, False: 62.3k]
  ------------------
  729|   191k|      switch (ABE->getOpcode()) {
  730|  20.3k|      default:
  ------------------
  |  Branch (730:7): [True: 20.3k, False: 170k]
  ------------------
  731|  20.3k|        return false;
  732|   141k|      case MCBinaryExpr::Sub:
  ------------------
  |  Branch (732:7): [True: 141k, False: 49.7k]
  ------------------
  733|       |        // Negate RHS and add.
  734|   141k|        return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue,
  735|   141k|                                   RHSValue.getSymB(), RHSValue.getSymA(),
  736|   141k|                                   -RHSValue.getConstant(), Res, valid);
  737|       |
  738|  29.4k|      case MCBinaryExpr::Add:
  ------------------
  |  Branch (738:7): [True: 29.4k, False: 161k]
  ------------------
  739|  29.4k|        return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue,
  740|  29.4k|                                   RHSValue.getSymA(), RHSValue.getSymB(),
  741|  29.4k|                                   RHSValue.getConstant(), Res, valid);
  742|   191k|      }
  743|   191k|    }
  744|       |
  745|       |    // FIXME: We need target hooks for the evaluation. It may be limited in
  746|       |    // width, and gas defines the result of comparisons differently from
  747|       |    // Apple as.
  748|  62.3k|    int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant();
  749|  62.3k|    int64_t Result = 0;
  750|  62.3k|    switch (ABE->getOpcode()) {
  ------------------
  |  Branch (750:13): [True: 62.3k, False: 0]
  ------------------
  751|      0|    case MCBinaryExpr::AShr: Result = LHS >> RHS; break;
  ------------------
  |  Branch (751:5): [True: 0, False: 62.3k]
  ------------------
  752|  15.6k|    case MCBinaryExpr::Add:  Result = LHS + RHS; break;
  ------------------
  |  Branch (752:5): [True: 15.6k, False: 46.7k]
  ------------------
  753|    760|    case MCBinaryExpr::And:  Result = LHS & RHS; break;
  ------------------
  |  Branch (753:5): [True: 760, False: 61.5k]
  ------------------
  754|  3.46k|    case MCBinaryExpr::Div:
  ------------------
  |  Branch (754:5): [True: 3.46k, False: 58.8k]
  ------------------
  755|       |      // Handle division by zero. gas just emits a warning and keeps going,
  756|       |      // we try to be stricter.
  757|       |      // FIXME: Currently the caller of this function has no way to understand
  758|       |      // we're bailing out because of 'division by zero'. Therefore, it will
  759|       |      // emit a 'expected relocatable expression' error. It would be nice to
  760|       |      // change this code to emit a better diagnostic.
  761|  3.46k|      if (RHS == 0)
  ------------------
  |  Branch (761:11): [True: 295, False: 3.16k]
  ------------------
  762|    295|        return false;
  763|  3.16k|      Result = LHS / RHS;
  764|  3.16k|      break;
  765|    340|    case MCBinaryExpr::EQ:   Result = LHS == RHS; break;
  ------------------
  |  Branch (765:5): [True: 340, False: 61.9k]
  ------------------
  766|  1.86k|    case MCBinaryExpr::GT:   Result = LHS > RHS; break;
  ------------------
  |  Branch (766:5): [True: 1.86k, False: 60.4k]
  ------------------
  767|    841|    case MCBinaryExpr::GTE:  Result = LHS >= RHS; break;
  ------------------
  |  Branch (767:5): [True: 841, False: 61.4k]
  ------------------
  768|    406|    case MCBinaryExpr::LAnd: Result = LHS && RHS; break;
  ------------------
  |  Branch (768:5): [True: 406, False: 61.9k]
  |  Branch (768:39): [True: 172, False: 234]
  |  Branch (768:46): [True: 171, False: 1]
  ------------------
  769|    420|    case MCBinaryExpr::LOr:  Result = LHS || RHS; break;
  ------------------
  |  Branch (769:5): [True: 420, False: 61.9k]
  |  Branch (769:39): [True: 334, False: 86]
  |  Branch (769:46): [True: 23, False: 63]
  ------------------
  770|    259|    case MCBinaryExpr::LShr: Result = uint64_t(LHS) >> uint64_t(RHS); break;
  ------------------
  |  Branch (770:5): [True: 259, False: 62.0k]
  ------------------
  771|  3.41k|    case MCBinaryExpr::LT:   Result = LHS < RHS; break;
  ------------------
  |  Branch (771:5): [True: 3.41k, False: 58.9k]
  ------------------
  772|    648|    case MCBinaryExpr::LTE:  Result = LHS <= RHS; break;
  ------------------
  |  Branch (772:5): [True: 648, False: 61.6k]
  ------------------
  773|    854|    case MCBinaryExpr::Mod:
  ------------------
  |  Branch (773:5): [True: 854, False: 61.4k]
  ------------------
  774|       |      // Handle division by zero. gas just emits a warning and keeps going,
  775|       |      // we try to be stricter.
  776|       |      // FIXME: Currently the caller of this function has no way to understand
  777|       |      // we're bailing out because of 'division by zero'. Therefore, it will
  778|       |      // emit a 'expected relocatable expression' error. It would be nice to
  779|       |      // change this code to emit a better diagnostic.
  780|    854|      if (RHS == 0)
  ------------------
  |  Branch (780:11): [True: 91, False: 763]
  ------------------
  781|     91|        return false;
  782|    763|      Result = LHS % RHS;
  783|    763|      break;
  784|  21.8k|    case MCBinaryExpr::Mul:  Result = LHS * RHS; break;
  ------------------
  |  Branch (784:5): [True: 21.8k, False: 40.5k]
  ------------------
  785|    364|    case MCBinaryExpr::NE:   Result = LHS != RHS; break;
  ------------------
  |  Branch (785:5): [True: 364, False: 61.9k]
  ------------------
  786|  2.12k|    case MCBinaryExpr::Or:   Result = LHS | RHS; break;
  ------------------
  |  Branch (786:5): [True: 2.12k, False: 60.2k]
  ------------------
  787|    281|    case MCBinaryExpr::Shl:  Result = uint64_t(LHS) << uint64_t(RHS); break;
  ------------------
  |  Branch (787:5): [True: 281, False: 62.0k]
  ------------------
  788|  8.28k|    case MCBinaryExpr::Sub:  Result = LHS - RHS; break;
  ------------------
  |  Branch (788:5): [True: 8.28k, False: 54.0k]
  ------------------
  789|    566|    case MCBinaryExpr::Xor:  Result = LHS ^ RHS; break;
  ------------------
  |  Branch (789:5): [True: 566, False: 61.7k]
  ------------------
  790|  62.3k|    }
  791|       |
  792|  61.9k|    Res = MCValue::get(Result);
  793|  61.9k|    return true;
  794|  62.3k|  }
  795|  1.19M|  }
  796|       |
  797|      0|  llvm_unreachable("Invalid assembly expression kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  798|  1.19M|}
_ZNK7llvm_ks6MCExpr22findAssociatedFragmentEv:
  800|   295k|MCFragment *MCExpr::findAssociatedFragment() const {
  801|   295k|  switch (getKind()) {
  ------------------
  |  Branch (801:11): [True: 295k, False: 0]
  ------------------
  802|      0|  case Target:
  ------------------
  |  Branch (802:3): [True: 0, False: 295k]
  ------------------
  803|       |    // We never look through target specific expressions.
  804|      0|    return cast<MCTargetExpr>(this)->findAssociatedFragment();
  805|       |
  806|  36.9k|  case Constant:
  ------------------
  |  Branch (806:3): [True: 36.9k, False: 258k]
  ------------------
  807|  36.9k|    return MCSymbol::AbsolutePseudoFragment;
  808|       |
  809|   140k|  case SymbolRef: {
  ------------------
  |  Branch (809:3): [True: 140k, False: 155k]
  ------------------
  810|   140k|    const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
  811|   140k|    const MCSymbol &Sym = SRE->getSymbol();
  812|   140k|    return Sym.getFragment();
  813|      0|  }
  814|       |
  815|  61.5k|  case Unary:
  ------------------
  |  Branch (815:3): [True: 61.5k, False: 234k]
  ------------------
  816|  61.5k|    return cast<MCUnaryExpr>(this)->getSubExpr()->findAssociatedFragment();
  817|       |
  818|  57.0k|  case Binary: {
  ------------------
  |  Branch (818:3): [True: 57.0k, False: 238k]
  ------------------
  819|  57.0k|    const MCBinaryExpr *BE = cast<MCBinaryExpr>(this);
  820|  57.0k|    MCFragment *LHS_F = BE->getLHS()->findAssociatedFragment();
  821|  57.0k|    MCFragment *RHS_F = BE->getRHS()->findAssociatedFragment();
  822|       |
  823|       |    // If either is absolute, return the other.
  824|  57.0k|    if (LHS_F == MCSymbol::AbsolutePseudoFragment)
  ------------------
  |  Branch (824:9): [True: 11.4k, False: 45.5k]
  ------------------
  825|  11.4k|      return RHS_F;
  826|  45.5k|    if (RHS_F == MCSymbol::AbsolutePseudoFragment)
  ------------------
  |  Branch (826:9): [True: 31.2k, False: 14.3k]
  ------------------
  827|  31.2k|      return LHS_F;
  828|       |
  829|       |    // Not always correct, but probably the best we can do without more context.
  830|  14.3k|    if (BE->getOpcode() == MCBinaryExpr::Sub)
  ------------------
  |  Branch (830:9): [True: 8.86k, False: 5.45k]
  ------------------
  831|  8.86k|      return MCSymbol::AbsolutePseudoFragment;
  832|       |
  833|       |    // Otherwise, return the first non-null fragment.
  834|  5.45k|    return LHS_F ? LHS_F : RHS_F;
  ------------------
  |  Branch (834:12): [True: 235, False: 5.22k]
  ------------------
  835|  14.3k|  }
  836|   295k|  }
  837|       |
  838|      0|  llvm_unreachable("Invalid assembly expression kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  839|   295k|}
MCExpr.cpp:_ZL9canExpandRKN7llvm_ks8MCSymbolEb:
  621|  7.30k|static bool canExpand(const MCSymbol &Sym, bool InSet) {
  622|  7.30k|  const MCExpr *Expr = Sym.getVariableValue();
  623|  7.30k|  const auto *Inner = dyn_cast<MCSymbolRefExpr>(Expr);
  624|  7.30k|  if (Inner) {
  ------------------
  |  Branch (624:7): [True: 3.32k, False: 3.98k]
  ------------------
  625|  3.32k|    if (Inner->getKind() == MCSymbolRefExpr::VK_WEAKREF)
  ------------------
  |  Branch (625:9): [True: 0, False: 3.32k]
  ------------------
  626|      0|      return false;
  627|  3.32k|  }
  628|       |
  629|  7.30k|  if (InSet)
  ------------------
  |  Branch (629:7): [True: 866, False: 6.43k]
  ------------------
  630|    866|    return true;
  631|  6.43k|  return !Sym.isInSection();
  632|  7.30k|}
MCExpr.cpp:_ZL19EvaluateSymbolicAddPKN7llvm_ks11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoIS9_EENS_6detail12DenseMapPairIS9_mEEEEbRKNS_7MCValueEPKNS_15MCSymbolRefExprESN_lRSI_Rb:
  547|   170k|{
  548|       |  // FIXME: This routine (and other evaluation parts) are *incredibly* sloppy
  549|       |  // about dealing with modifiers. This will ultimately bite us, one day.
  550|   170k|  const MCSymbolRefExpr *LHS_A = LHS.getSymA();
  551|   170k|  const MCSymbolRefExpr *LHS_B = LHS.getSymB();
  552|   170k|  int64_t LHS_Cst = LHS.getConstant();
  553|       |
  554|       |  // Fold the result constant immediately.
  555|   170k|  int64_t Result_Cst = LHS_Cst + RHS_Cst;
  556|       |
  557|   170k|  assert((!Layout || Asm) &&
  ------------------
  |  Branch (557:3): [True: 143k, False: 27.2k]
  |  Branch (557:3): [True: 27.2k, False: 0]
  |  Branch (557:3): [True: 170k, Folded]
  |  Branch (557:3): [True: 170k, False: 0]
  ------------------
  558|   170k|         "Must have an assembler object if layout is given!");
  559|       |
  560|       |  // If we have a layout, we can fold resolved differences.
  561|   170k|  if (Asm) {
  ------------------
  |  Branch (561:7): [True: 82.3k, False: 88.4k]
  ------------------
  562|       |    // First, fold out any differences which are fully resolved. By
  563|       |    // reassociating terms in
  564|       |    //   Result = (LHS_A - LHS_B + LHS_Cst) + (RHS_A - RHS_B + RHS_Cst).
  565|       |    // we have the four possible differences:
  566|       |    //   (LHS_A - LHS_B),
  567|       |    //   (LHS_A - RHS_B),
  568|       |    //   (RHS_A - LHS_B),
  569|       |    //   (RHS_A - RHS_B).
  570|       |    // Since we are attempting to be as aggressive as possible about folding, we
  571|       |    // attempt to evaluate each possible alternative.
  572|  82.3k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, LHS_B,
  573|  82.3k|                                        Result_Cst, valid);
  574|  82.3k|    if (!valid)
  ------------------
  |  Branch (574:9): [True: 0, False: 82.3k]
  ------------------
  575|      0|        return false;
  576|  82.3k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, RHS_B,
  577|  82.3k|                                        Result_Cst, valid);
  578|  82.3k|    if (!valid)
  ------------------
  |  Branch (578:9): [True: 62, False: 82.2k]
  ------------------
  579|     62|        return false;
  580|  82.2k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, LHS_B,
  581|  82.2k|                                        Result_Cst, valid);
  582|  82.2k|    if (!valid)
  ------------------
  |  Branch (582:9): [True: 24, False: 82.2k]
  ------------------
  583|     24|        return false;
  584|  82.2k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, RHS_B,
  585|  82.2k|                                        Result_Cst, valid);
  586|  82.2k|    if (!valid)
  ------------------
  |  Branch (586:9): [True: 0, False: 82.2k]
  ------------------
  587|      0|        return false;
  588|  82.2k|  }
  589|       |
  590|       |  // We can't represent the addition or subtraction of two symbols.
  591|   170k|  if ((LHS_A && RHS_A) || (LHS_B && RHS_B))
  ------------------
  |  Branch (591:8): [True: 125k, False: 45.5k]
  |  Branch (591:17): [True: 1.82k, False: 123k]
  |  Branch (591:28): [True: 15.6k, False: 153k]
  |  Branch (591:37): [True: 11.9k, False: 3.67k]
  ------------------
  592|  13.7k|    return false;
  593|       |
  594|       |  // At this point, we have at most one additive symbol and one subtractive
  595|       |  // symbol -- find them.
  596|   156k|  const MCSymbolRefExpr *A = LHS_A ? LHS_A : RHS_A;
  ------------------
  |  Branch (596:30): [True: 111k, False: 45.2k]
  ------------------
  597|   156k|  const MCSymbolRefExpr *B = LHS_B ? LHS_B : RHS_B;
  ------------------
  |  Branch (597:30): [True: 3.67k, False: 153k]
  ------------------
  598|       |
  599|   156k|  Res = MCValue::get(A, B, Result_Cst);
  600|   156k|  return true;
  601|   170k|}
MCExpr.cpp:_ZL35AttemptToFoldSymbolOffsetDifferencePKN7llvm_ks11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoIS9_EENS_6detail12DenseMapPairIS9_mEEEEbRPKNS_15MCSymbolRefExprESL_RlRb:
  466|   329k|    const MCSymbolRefExpr *&B, int64_t &Addend, bool &valid) {
  467|   329k|  valid = true;
  468|   329k|  if (!A || !B)
  ------------------
  |  Branch (468:7): [True: 177k, False: 151k]
  |  Branch (468:13): [True: 113k, False: 38.2k]
  ------------------
  469|   290k|    return;
  470|       |
  471|  38.2k|  const MCSymbol &SA = A->getSymbol();
  472|  38.2k|  const MCSymbol &SB = B->getSymbol();
  473|       |
  474|  38.2k|  if (SA.isUndefined() || SB.isUndefined())
  ------------------
  |  Branch (474:7): [True: 12.4k, False: 25.8k]
  |  Branch (474:27): [True: 14.7k, False: 11.1k]
  ------------------
  475|  27.1k|    return;
  476|       |
  477|  11.1k|  if (!Asm->getWriter().isSymbolRefDifferenceFullyResolved(*Asm, A, B, InSet, valid))
  ------------------
  |  Branch (477:7): [True: 291, False: 10.8k]
  ------------------
  478|    291|    return;
  479|  10.8k|  if (!valid)
  ------------------
  |  Branch (479:7): [True: 0, False: 10.8k]
  ------------------
  480|      0|      return;
  481|       |
  482|  10.8k|  if (SA.getFragment() == SB.getFragment() && !SA.isVariable() &&
  ------------------
  |  Branch (482:7): [True: 9.87k, False: 967]
  |  Branch (482:47): [True: 9.54k, False: 329]
  ------------------
  483|  9.54k|      !SB.isVariable()) {
  ------------------
  |  Branch (483:7): [True: 9.03k, False: 503]
  ------------------
  484|  9.03k|    Addend += (SA.getOffset() - SB.getOffset());
  485|       |
  486|       |    // Pointers to Thumb symbols need to have their low-bit set to allow
  487|       |    // for interworking.
  488|  9.03k|    if (Asm->isThumbFunc(&SA))
  ------------------
  |  Branch (488:9): [True: 0, False: 9.03k]
  ------------------
  489|      0|      Addend |= 1;
  490|       |
  491|       |    // Clear the symbol expr pointers to indicate we have folded these
  492|       |    // operands.
  493|  9.03k|    A = B = nullptr;
  494|  9.03k|    return;
  495|  9.03k|  }
  496|       |
  497|  1.79k|  if (!Layout)
  ------------------
  |  Branch (497:7): [True: 721, False: 1.07k]
  ------------------
  498|    721|    return;
  499|       |
  500|  1.07k|  const MCSection &SecA = *SA.getFragment()->getParent();
  501|  1.07k|  const MCSection &SecB = *SB.getFragment()->getParent();
  502|       |
  503|  1.07k|  if ((&SecA != &SecB) && !Addrs)
  ------------------
  |  Branch (503:7): [True: 0, False: 1.07k]
  |  Branch (503:27): [True: 0, False: 0]
  ------------------
  504|      0|    return;
  505|       |
  506|       |  // Eagerly evaluate.
  507|  1.07k|  bool valid1, valid2;
  508|  1.07k|  Addend += Layout->getSymbolOffset(A->getSymbol(), valid1) -
  509|  1.07k|            Layout->getSymbolOffset(B->getSymbol(), valid2);
  510|  1.07k|  if (Addrs && (&SecA != &SecB))
  ------------------
  |  Branch (510:7): [True: 0, False: 1.07k]
  |  Branch (510:16): [True: 0, False: 0]
  ------------------
  511|      0|    Addend += (Addrs->lookup(&SecA) - Addrs->lookup(&SecB));
  512|       |
  513|       |  // Pointers to Thumb symbols need to have their low-bit set to allow
  514|       |  // for interworking.
  515|  1.07k|  if (Asm->isThumbFunc(&SA))
  ------------------
  |  Branch (515:7): [True: 0, False: 1.07k]
  ------------------
  516|      0|    Addend |= 1;
  517|       |
  518|       |  // Clear the symbol expr pointers to indicate we have folded these
  519|       |  // operands.
  520|  1.07k|  A = B = nullptr;
  521|  1.07k|}

_ZN7llvm_ks11MCAsmLayoutC2ERNS_11MCAssemblerE:
   32|  7.89k|  : Assembler(Asm), LastValidFragment()
   33|  7.89k| {
   34|       |  // Compute the section layout order. Virtual sections must go last.
   35|  7.89k|  for (MCSection &Sec : Asm)
  ------------------
  |  Branch (35:23): [True: 8.18k, False: 7.89k]
  ------------------
   36|  8.18k|    if (!Sec.isVirtualSection())
  ------------------
  |  Branch (36:9): [True: 8.15k, False: 29]
  ------------------
   37|  8.15k|      SectionOrder.push_back(&Sec);
   38|  7.89k|  for (MCSection &Sec : Asm)
  ------------------
  |  Branch (38:23): [True: 8.18k, False: 7.89k]
  ------------------
   39|  8.18k|    if (Sec.isVirtualSection())
  ------------------
  |  Branch (39:9): [True: 29, False: 8.15k]
  ------------------
   40|     29|      SectionOrder.push_back(&Sec);
   41|  7.89k|}
_ZNK7llvm_ks11MCAsmLayout15isFragmentValidEPKNS_10MCFragmentE:
   43|   198k|bool MCAsmLayout::isFragmentValid(const MCFragment *F) const {
   44|   198k|  const MCSection *Sec = F->getParent();
   45|   198k|  const MCFragment *LastValid = LastValidFragment.lookup(Sec);
   46|   198k|  if (!LastValid)
  ------------------
  |  Branch (46:7): [True: 16.6k, False: 182k]
  ------------------
   47|  16.6k|    return false;
   48|   198k|  assert(LastValid->getParent() == Sec);
  ------------------
  |  Branch (48:3): [True: 182k, False: 0]
  ------------------
   49|   182k|  return F->getLayoutOrder() <= LastValid->getLayoutOrder();
   50|   182k|}
_ZN7llvm_ks11MCAsmLayout23invalidateFragmentsFromEPNS_10MCFragmentE:
   52|    212|void MCAsmLayout::invalidateFragmentsFrom(MCFragment *F) {
   53|       |  // If this fragment wasn't already valid, we don't need to do anything.
   54|    212|  if (!isFragmentValid(F))
  ------------------
  |  Branch (54:7): [True: 2, False: 210]
  ------------------
   55|      2|    return;
   56|       |
   57|       |  // Otherwise, reset the last valid fragment to the previous fragment
   58|       |  // (if this is the first fragment, it will be NULL).
   59|    210|  LastValidFragment[F->getParent()] = F->getPrevNode();
   60|    210|}
_ZNK7llvm_ks11MCAsmLayout11ensureValidEPKNS_10MCFragmentE:
   63|  67.7k|{
   64|  67.7k|  MCSection *Sec = F->getParent();
   65|  67.7k|  MCSection::iterator I;
   66|  67.7k|  if (MCFragment *Cur = LastValidFragment[Sec])
  ------------------
  |  Branch (66:19): [True: 59.3k, False: 8.34k]
  ------------------
   67|  59.3k|    I = ++MCSection::iterator(Cur);
   68|  8.34k|  else
   69|  8.34k|    I = Sec->begin();
   70|       |
   71|       |  // Advance the layout position until the fragment is valid.
   72|   112k|  while (!isFragmentValid(F)) {
  ------------------
  |  Branch (72:10): [True: 48.3k, False: 63.8k]
  ------------------
   73|       |    //assert(I != Sec->end() && "Layout bookkeeping error");
   74|  48.3k|    if (I == Sec->end())
  ------------------
  |  Branch (74:9): [True: 961, False: 47.4k]
  ------------------
   75|    961|        return false;
   76|  47.4k|    if (const_cast<MCAsmLayout *>(this)->layoutFragment(&*I))
  ------------------
  |  Branch (76:9): [True: 2.87k, False: 44.5k]
  ------------------
   77|  2.87k|        return false;
   78|  44.5k|    ++I;
   79|  44.5k|  }
   80|       |
   81|  63.8k|  return true;
   82|  67.7k|}
_ZNK7llvm_ks11MCAsmLayout17getFragmentOffsetEPKNS_10MCFragmentERb:
   85|  67.7k|{
   86|  67.7k|  valid = true;
   87|  67.7k|  if (!ensureValid(F)) {
  ------------------
  |  Branch (87:7): [True: 3.83k, False: 63.8k]
  ------------------
   88|  3.83k|      valid = false;
   89|  3.83k|      return 0;
   90|  3.83k|  }
   91|       |  //assert(F->Offset != ~UINT64_C(0) && "Address not set!");
   92|  63.8k|  if (F->Offset == ~UINT64_C(0)) {
  ------------------
  |  Branch (92:7): [True: 0, False: 63.8k]
  ------------------
   93|      0|      valid = false;
   94|      0|      return 0;
   95|      0|  }
   96|       |
   97|  63.8k|  return F->Offset;
   98|  63.8k|}
_ZNK7llvm_ks11MCAsmLayout15getSymbolOffsetERKNS_8MCSymbolERmRb:
  156|  1.56k|{
  157|  1.56k|  return getSymbolOffsetImpl(*this, S, false, Val, valid);
  158|  1.56k|}
_ZNK7llvm_ks11MCAsmLayout15getSymbolOffsetERKNS_8MCSymbolERb:
  161|  14.8k|{
  162|  14.8k|  uint64_t Val;
  163|  14.8k|  getSymbolOffsetImpl(*this, S, true, Val, valid);
  164|  14.8k|  return Val;
  165|  14.8k|}
_ZNK7llvm_ks11MCAsmLayout18getSectionFileSizeEPKNS_9MCSectionE:
  212|     28|uint64_t MCAsmLayout::getSectionFileSize(const MCSection *Sec) const {
  213|       |  // Virtual sections have no file size.
  214|     28|  if (Sec->isVirtualSection())
  ------------------
  |  Branch (214:7): [True: 28, False: 0]
  ------------------
  215|     28|    return 0;
  216|       |
  217|       |  // Otherwise, the file size is the same as the address space size.
  218|      0|  return getSectionAddressSize(Sec);
  219|     28|}
_ZN7llvm_ks17ilist_node_traitsINS_10MCFragmentEE10deleteNodeEPS1_:
  264|  44.4k|void ilist_node_traits<MCFragment>::deleteNode(MCFragment *V) {
  265|  44.4k|  V->destroy();
  266|  44.4k|}
_ZN7llvm_ks10MCFragmentC2Ev:
  268|  17.4k|MCFragment::MCFragment() : Kind(FragmentType(~0)), HasInstructions(false),
  269|  17.4k|                           AlignToBundleEnd(false), BundlePadding(0) {
  270|  17.4k|}
_ZN7llvm_ks10MCFragmentD2Ev:
  272|   802k|MCFragment::~MCFragment() { }
_ZN7llvm_ks10MCFragmentC2ENS0_12FragmentTypeEbhPNS_9MCSectionE:
  276|   785k|    : Kind(Kind), HasInstructions(HasInstructions), AlignToBundleEnd(false),
  277|   785k|      BundlePadding(BundlePadding), Parent(Parent), Atom(nullptr),
  278|   785k|      Offset(~UINT64_C(0)) {
  279|   785k|  if (Parent && !isDummy())
  ------------------
  |  Branch (279:7): [True: 740k, False: 44.4k]
  |  Branch (279:17): [True: 0, False: 740k]
  ------------------
  280|      0|    Parent->getFragmentList().push_back(this);
  281|   785k|}
_ZN7llvm_ks10MCFragment7destroyEv:
  283|  44.4k|void MCFragment::destroy() {
  284|       |  // First check if we are the sentinal.
  285|  44.4k|  if (Kind == FragmentType(~0)) {
  ------------------
  |  Branch (285:7): [True: 0, False: 44.4k]
  ------------------
  286|      0|    delete this;
  287|      0|    return;
  288|      0|  }
  289|       |
  290|  44.4k|  switch (Kind) {
  ------------------
  |  Branch (290:11): [True: 44.4k, False: 0]
  ------------------
  291|  10.4k|    case FT_Align:
  ------------------
  |  Branch (291:5): [True: 10.4k, False: 34.0k]
  ------------------
  292|  10.4k|      delete cast<MCAlignFragment>(this);
  293|  10.4k|      return;
  294|  13.0k|    case FT_Data:
  ------------------
  |  Branch (294:5): [True: 13.0k, False: 31.4k]
  ------------------
  295|  13.0k|      delete cast<MCDataFragment>(this);
  296|  13.0k|      return;
  297|      0|    case FT_CompactEncodedInst:
  ------------------
  |  Branch (297:5): [True: 0, False: 44.4k]
  ------------------
  298|      0|      delete cast<MCCompactEncodedInstFragment>(this);
  299|      0|      return;
  300|  5.48k|    case FT_Fill:
  ------------------
  |  Branch (300:5): [True: 5.48k, False: 38.9k]
  ------------------
  301|  5.48k|      delete cast<MCFillFragment>(this);
  302|  5.48k|      return;
  303|  6.30k|    case FT_Relaxable:
  ------------------
  |  Branch (303:5): [True: 6.30k, False: 38.1k]
  ------------------
  304|  6.30k|      delete cast<MCRelaxableFragment>(this);
  305|  6.30k|      return;
  306|  9.13k|    case FT_Org:
  ------------------
  |  Branch (306:5): [True: 9.13k, False: 35.3k]
  ------------------
  307|  9.13k|      delete cast<MCOrgFragment>(this);
  308|  9.13k|      return;
  309|      0|    case FT_Dwarf:
  ------------------
  |  Branch (309:5): [True: 0, False: 44.4k]
  ------------------
  310|      0|      delete cast<MCDwarfLineAddrFragment>(this);
  311|      0|      return;
  312|      0|    case FT_DwarfFrame:
  ------------------
  |  Branch (312:5): [True: 0, False: 44.4k]
  ------------------
  313|      0|      delete cast<MCDwarfCallFrameFragment>(this);
  314|      0|      return;
  315|      0|    case FT_LEB:
  ------------------
  |  Branch (315:5): [True: 0, False: 44.4k]
  ------------------
  316|      0|      delete cast<MCLEBFragment>(this);
  317|      0|      return;
  318|      0|    case FT_SafeSEH:
  ------------------
  |  Branch (318:5): [True: 0, False: 44.4k]
  ------------------
  319|      0|      delete cast<MCSafeSEHFragment>(this);
  320|      0|      return;
  321|      0|    case FT_Dummy:
  ------------------
  |  Branch (321:5): [True: 0, False: 44.4k]
  ------------------
  322|      0|      delete cast<MCDummyFragment>(this);
  323|      0|      return;
  324|  44.4k|  }
  325|  44.4k|}
MCFragment.cpp:_ZL19getSymbolOffsetImplRKN7llvm_ks11MCAsmLayoutERKNS_8MCSymbolEbRmRb:
  119|  16.4k|{
  120|  16.4k|  valid = true;
  121|  16.4k|  if (!S.isVariable())
  ------------------
  |  Branch (121:7): [True: 14.8k, False: 1.60k]
  ------------------
  122|  14.8k|    return getLabelOffset(Layout, S, ReportError, Val);
  123|       |
  124|       |  // If SD is a variable, evaluate it.
  125|  1.60k|  MCValue Target;
  126|  1.60k|  if (!S.getVariableValue()->evaluateAsValue(Target, Layout)) {
  ------------------
  |  Branch (126:7): [True: 297, False: 1.30k]
  ------------------
  127|       |    //report_fatal_error("unable to evaluate offset for variable '" +
  128|       |    //                   S.getName() + "'");
  129|    297|    valid = false;
  130|    297|    return false;
  131|    297|  }
  132|       |
  133|  1.30k|  uint64_t Offset = Target.getConstant();
  134|       |
  135|  1.30k|  const MCSymbolRefExpr *A = Target.getSymA();
  136|  1.30k|  if (A) {
  ------------------
  |  Branch (136:7): [True: 931, False: 376]
  ------------------
  137|    931|    uint64_t ValA;
  138|    931|    if (!getLabelOffset(Layout, A->getSymbol(), ReportError, ValA))
  ------------------
  |  Branch (138:9): [True: 24, False: 907]
  ------------------
  139|     24|      return false;
  140|    907|    Offset += ValA;
  141|    907|  }
  142|       |
  143|  1.28k|  const MCSymbolRefExpr *B = Target.getSymB();
  144|  1.28k|  if (B) {
  ------------------
  |  Branch (144:7): [True: 375, False: 908]
  ------------------
  145|    375|    uint64_t ValB;
  146|    375|    if (!getLabelOffset(Layout, B->getSymbol(), ReportError, ValB))
  ------------------
  |  Branch (146:9): [True: 18, False: 357]
  ------------------
  147|     18|      return false;
  148|    357|    Offset -= ValB;
  149|    357|  }
  150|       |
  151|  1.26k|  Val = Offset;
  152|  1.26k|  return true;
  153|  1.28k|}
MCFragment.cpp:_ZL14getLabelOffsetRKN7llvm_ks11MCAsmLayoutERKNS_8MCSymbolEbRm:
  103|  16.1k|{
  104|  16.1k|  if (!S.getFragment()) {
  ------------------
  |  Branch (104:7): [True: 757, False: 15.3k]
  ------------------
  105|    757|    if (ReportError)
  ------------------
  |  Branch (105:9): [True: 0, False: 757]
  ------------------
  106|      0|      report_fatal_error("unable to evaluate offset to undefined symbol '" +
  107|      0|                         S.getName() + "'");
  108|    757|    return false;
  109|    757|  }
  110|       |
  111|  15.3k|  bool valid;
  112|  15.3k|  Val = Layout.getFragmentOffset(S.getFragment(), valid) + S.getOffset();
  113|       |
  114|  15.3k|  return valid;
  115|  16.1k|}

_ZN7llvm_ks16MCObjectFileInfo23initELFMCObjectFileInfoENS_6TripleE:
  267|  17.0k|void MCObjectFileInfo::initELFMCObjectFileInfo(Triple T) {
  268|  17.0k|  switch (T.getArch()) {
  269|      0|  case Triple::mips:
  ------------------
  |  Branch (269:3): [True: 0, False: 17.0k]
  ------------------
  270|      0|  case Triple::mipsel:
  ------------------
  |  Branch (270:3): [True: 0, False: 17.0k]
  ------------------
  271|      0|    FDECFIEncoding = dwarf::DW_EH_PE_sdata4;
  272|      0|    break;
  273|      0|  case Triple::mips64:
  ------------------
  |  Branch (273:3): [True: 0, False: 17.0k]
  ------------------
  274|      0|  case Triple::mips64el:
  ------------------
  |  Branch (274:3): [True: 0, False: 17.0k]
  ------------------
  275|      0|    FDECFIEncoding = dwarf::DW_EH_PE_sdata8;
  276|      0|    break;
  277|      0|  case Triple::x86_64:
  ------------------
  |  Branch (277:3): [True: 0, False: 17.0k]
  ------------------
  278|      0|    break;
  279|  17.0k|  default:
  ------------------
  |  Branch (279:3): [True: 17.0k, False: 0]
  ------------------
  280|  17.0k|    FDECFIEncoding = dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4;
  281|  17.0k|    break;
  282|  17.0k|  }
  283|       |
  284|  17.0k|  switch (T.getArch()) {
  285|      0|  case Triple::arm:
  ------------------
  |  Branch (285:3): [True: 0, False: 17.0k]
  ------------------
  286|      0|  case Triple::armeb:
  ------------------
  |  Branch (286:3): [True: 0, False: 17.0k]
  ------------------
  287|      0|  case Triple::thumb:
  ------------------
  |  Branch (287:3): [True: 0, False: 17.0k]
  ------------------
  288|      0|  case Triple::thumbeb:
  ------------------
  |  Branch (288:3): [True: 0, False: 17.0k]
  ------------------
  289|      0|    if (Ctx->getAsmInfo()->getExceptionHandlingType() == ExceptionHandling::ARM)
  ------------------
  |  Branch (289:9): [True: 0, False: 0]
  ------------------
  290|      0|      break;
  291|       |    // Fallthrough if not using EHABI
  292|      0|  case Triple::ppc:
  ------------------
  |  Branch (292:3): [True: 0, False: 17.0k]
  ------------------
  293|  17.0k|  case Triple::x86:
  ------------------
  |  Branch (293:3): [True: 17.0k, False: 0]
  ------------------
  294|  17.0k|    break;
  295|      0|  case Triple::x86_64:
  ------------------
  |  Branch (295:3): [True: 0, False: 17.0k]
  ------------------
  296|      0|    break;
  297|      0|  case Triple::aarch64:
  ------------------
  |  Branch (297:3): [True: 0, False: 17.0k]
  ------------------
  298|      0|  case Triple::aarch64_be:
  ------------------
  |  Branch (298:3): [True: 0, False: 17.0k]
  ------------------
  299|       |    // The small model guarantees static code/data size < 4GB, but not where it
  300|       |    // will be in memory. Most of these could end up >2GB away so even a signed
  301|       |    // pc-relative 32-bit address is insufficient, theoretically.
  302|      0|    break;
  303|      0|  case Triple::mips:
  ------------------
  |  Branch (303:3): [True: 0, False: 17.0k]
  ------------------
  304|      0|  case Triple::mipsel:
  ------------------
  |  Branch (304:3): [True: 0, False: 17.0k]
  ------------------
  305|      0|  case Triple::mips64:
  ------------------
  |  Branch (305:3): [True: 0, False: 17.0k]
  ------------------
  306|      0|  case Triple::mips64el:
  ------------------
  |  Branch (306:3): [True: 0, False: 17.0k]
  ------------------
  307|       |    // MIPS uses indirect pointer to refer personality functions and types, so
  308|       |    // that the eh_frame section can be read-only. DW.ref.personality will be
  309|       |    // generated for relocation.
  310|      0|    PersonalityEncoding = dwarf::DW_EH_PE_indirect;
  311|       |    // FIXME: The N64 ABI probably ought to use DW_EH_PE_sdata8 but we can't
  312|       |    //        identify N64 from just a triple.
  313|      0|    TTypeEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel |
  314|      0|                    dwarf::DW_EH_PE_sdata4;
  315|       |    // We don't support PC-relative LSDA references in GAS so we use the default
  316|       |    // DW_EH_PE_absptr for those.
  317|      0|    break;
  318|      0|  case Triple::ppc64:
  ------------------
  |  Branch (318:3): [True: 0, False: 17.0k]
  ------------------
  319|      0|  case Triple::ppc64le:
  ------------------
  |  Branch (319:3): [True: 0, False: 17.0k]
  ------------------
  320|      0|    PersonalityEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel |
  321|      0|      dwarf::DW_EH_PE_udata8;
  322|      0|    LSDAEncoding = dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_udata8;
  323|      0|    TTypeEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel |
  324|      0|      dwarf::DW_EH_PE_udata8;
  325|      0|    break;
  326|      0|  case Triple::sparcel:
  ------------------
  |  Branch (326:3): [True: 0, False: 17.0k]
  ------------------
  327|      0|  case Triple::sparc:
  ------------------
  |  Branch (327:3): [True: 0, False: 17.0k]
  ------------------
  328|      0|    break;
  329|      0|  case Triple::sparcv9:
  ------------------
  |  Branch (329:3): [True: 0, False: 17.0k]
  ------------------
  330|      0|    LSDAEncoding = dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4;
  331|      0|    break;
  332|      0|  case Triple::systemz:
  ------------------
  |  Branch (332:3): [True: 0, False: 17.0k]
  ------------------
  333|       |    // All currently-defined code models guarantee that 4-byte PC-relative
  334|       |    // values will be in range.
  335|      0|    break;
  336|      0|  default:
  ------------------
  |  Branch (336:3): [True: 0, False: 17.0k]
  ------------------
  337|      0|    break;
  338|  17.0k|  }
  339|       |
  340|  17.0k|  unsigned EHSectionType = T.getArch() == Triple::x86_64
  ------------------
  |  Branch (340:28): [True: 0, False: 17.0k]
  ------------------
  341|  17.0k|                               ? ELF::SHT_X86_64_UNWIND
  342|  17.0k|                               : ELF::SHT_PROGBITS;
  343|       |
  344|       |  // Solaris requires different flags for .eh_frame to seemingly every other
  345|       |  // platform.
  346|  17.0k|  unsigned EHSectionFlags = ELF::SHF_ALLOC;
  347|  17.0k|  if (T.isOSSolaris() && T.getArch() != Triple::x86_64)
  ------------------
  |  Branch (347:7): [True: 0, False: 17.0k]
  |  Branch (347:26): [True: 0, False: 0]
  ------------------
  348|      0|    EHSectionFlags |= ELF::SHF_WRITE;
  349|       |
  350|       |  // ELF
  351|  17.0k|  BSSSection = Ctx->getELFSection(".bss", ELF::SHT_NOBITS,
  352|  17.0k|                                  ELF::SHF_WRITE | ELF::SHF_ALLOC);
  353|       |
  354|  17.0k|  TextSection = Ctx->getELFSection(".text", ELF::SHT_PROGBITS,
  355|  17.0k|                                   ELF::SHF_EXECINSTR | ELF::SHF_ALLOC);
  356|       |
  357|  17.0k|  DataSection = Ctx->getELFSection(".data", ELF::SHT_PROGBITS,
  358|  17.0k|                                   ELF::SHF_WRITE | ELF::SHF_ALLOC);
  359|       |
  360|  17.0k|  ReadOnlySection =
  361|  17.0k|      Ctx->getELFSection(".rodata", ELF::SHT_PROGBITS, ELF::SHF_ALLOC);
  362|       |
  363|  17.0k|  TLSDataSection =
  364|  17.0k|      Ctx->getELFSection(".tdata", ELF::SHT_PROGBITS,
  365|  17.0k|                         ELF::SHF_ALLOC | ELF::SHF_TLS | ELF::SHF_WRITE);
  366|       |
  367|  17.0k|  TLSBSSSection = Ctx->getELFSection(
  368|  17.0k|      ".tbss", ELF::SHT_NOBITS, ELF::SHF_ALLOC | ELF::SHF_TLS | ELF::SHF_WRITE);
  369|       |
  370|  17.0k|  DataRelROSection = Ctx->getELFSection(".data.rel.ro", ELF::SHT_PROGBITS,
  371|  17.0k|                                        ELF::SHF_ALLOC | ELF::SHF_WRITE);
  372|       |
  373|  17.0k|  MergeableConst4Section =
  374|  17.0k|      Ctx->getELFSection(".rodata.cst4", ELF::SHT_PROGBITS,
  375|  17.0k|                         ELF::SHF_ALLOC | ELF::SHF_MERGE, 4, "");
  376|       |
  377|  17.0k|  MergeableConst8Section =
  378|  17.0k|      Ctx->getELFSection(".rodata.cst8", ELF::SHT_PROGBITS,
  379|  17.0k|                         ELF::SHF_ALLOC | ELF::SHF_MERGE, 8, "");
  380|       |
  381|  17.0k|  MergeableConst16Section =
  382|  17.0k|      Ctx->getELFSection(".rodata.cst16", ELF::SHT_PROGBITS,
  383|  17.0k|                         ELF::SHF_ALLOC | ELF::SHF_MERGE, 16, "");
  384|       |
  385|  17.0k|  StaticCtorSection = Ctx->getELFSection(".ctors", ELF::SHT_PROGBITS,
  386|  17.0k|                                         ELF::SHF_ALLOC | ELF::SHF_WRITE);
  387|       |
  388|  17.0k|  StaticDtorSection = Ctx->getELFSection(".dtors", ELF::SHT_PROGBITS,
  389|  17.0k|                                         ELF::SHF_ALLOC | ELF::SHF_WRITE);
  390|       |
  391|       |  // Exception Handling Sections.
  392|       |
  393|       |  // FIXME: We're emitting LSDA info into a readonly section on ELF, even though
  394|       |  // it contains relocatable pointers.  In PIC mode, this is probably a big
  395|       |  // runtime hit for C++ apps.  Either the contents of the LSDA need to be
  396|       |  // adjusted or this should be a data section.
  397|  17.0k|  LSDASection = Ctx->getELFSection(".gcc_except_table", ELF::SHT_PROGBITS,
  398|  17.0k|                                   ELF::SHF_ALLOC);
  399|       |
  400|  17.0k|  COFFDebugSymbolsSection = nullptr;
  401|  17.0k|  COFFDebugTypesSection = nullptr;
  402|       |
  403|       |  // Debug Info Sections.
  404|  17.0k|  DwarfAbbrevSection = Ctx->getELFSection(".debug_abbrev", ELF::SHT_PROGBITS, 0,
  405|  17.0k|                                          "section_abbrev");
  406|  17.0k|  DwarfInfoSection =
  407|  17.0k|      Ctx->getELFSection(".debug_info", ELF::SHT_PROGBITS, 0, "section_info");
  408|  17.0k|  DwarfLineSection = Ctx->getELFSection(".debug_line", ELF::SHT_PROGBITS, 0);
  409|  17.0k|  DwarfFrameSection = Ctx->getELFSection(".debug_frame", ELF::SHT_PROGBITS, 0);
  410|  17.0k|  DwarfPubNamesSection =
  411|  17.0k|      Ctx->getELFSection(".debug_pubnames", ELF::SHT_PROGBITS, 0);
  412|  17.0k|  DwarfPubTypesSection =
  413|  17.0k|      Ctx->getELFSection(".debug_pubtypes", ELF::SHT_PROGBITS, 0);
  414|  17.0k|  DwarfGnuPubNamesSection =
  415|  17.0k|      Ctx->getELFSection(".debug_gnu_pubnames", ELF::SHT_PROGBITS, 0);
  416|  17.0k|  DwarfGnuPubTypesSection =
  417|  17.0k|      Ctx->getELFSection(".debug_gnu_pubtypes", ELF::SHT_PROGBITS, 0);
  418|  17.0k|  DwarfStrSection =
  419|  17.0k|      Ctx->getELFSection(".debug_str", ELF::SHT_PROGBITS,
  420|  17.0k|                         ELF::SHF_MERGE | ELF::SHF_STRINGS, 1, "");
  421|  17.0k|  DwarfLocSection = Ctx->getELFSection(".debug_loc", ELF::SHT_PROGBITS, 0);
  422|  17.0k|  DwarfARangesSection =
  423|  17.0k|      Ctx->getELFSection(".debug_aranges", ELF::SHT_PROGBITS, 0);
  424|  17.0k|  DwarfRangesSection =
  425|  17.0k|      Ctx->getELFSection(".debug_ranges", ELF::SHT_PROGBITS, 0, "debug_range");
  426|  17.0k|  DwarfMacinfoSection = Ctx->getELFSection(".debug_macinfo", ELF::SHT_PROGBITS,
  427|  17.0k|                                           0, "debug_macinfo");
  428|       |
  429|       |  // DWARF5 Experimental Debug Info
  430|       |
  431|       |  // Accelerator Tables
  432|  17.0k|  DwarfAccelNamesSection =
  433|  17.0k|      Ctx->getELFSection(".apple_names", ELF::SHT_PROGBITS, 0, "names_begin");
  434|  17.0k|  DwarfAccelObjCSection =
  435|  17.0k|      Ctx->getELFSection(".apple_objc", ELF::SHT_PROGBITS, 0, "objc_begin");
  436|  17.0k|  DwarfAccelNamespaceSection = Ctx->getELFSection(
  437|  17.0k|      ".apple_namespaces", ELF::SHT_PROGBITS, 0, "namespac_begin");
  438|  17.0k|  DwarfAccelTypesSection =
  439|  17.0k|      Ctx->getELFSection(".apple_types", ELF::SHT_PROGBITS, 0, "types_begin");
  440|       |
  441|       |  // Fission Sections
  442|  17.0k|  DwarfInfoDWOSection =
  443|  17.0k|      Ctx->getELFSection(".debug_info.dwo", ELF::SHT_PROGBITS, 0);
  444|  17.0k|  DwarfTypesDWOSection =
  445|  17.0k|      Ctx->getELFSection(".debug_types.dwo", ELF::SHT_PROGBITS, 0);
  446|  17.0k|  DwarfAbbrevDWOSection =
  447|  17.0k|      Ctx->getELFSection(".debug_abbrev.dwo", ELF::SHT_PROGBITS, 0);
  448|  17.0k|  DwarfStrDWOSection =
  449|  17.0k|      Ctx->getELFSection(".debug_str.dwo", ELF::SHT_PROGBITS,
  450|  17.0k|                         ELF::SHF_MERGE | ELF::SHF_STRINGS, 1, "");
  451|  17.0k|  DwarfLineDWOSection =
  452|  17.0k|      Ctx->getELFSection(".debug_line.dwo", ELF::SHT_PROGBITS, 0);
  453|  17.0k|  DwarfLocDWOSection =
  454|  17.0k|      Ctx->getELFSection(".debug_loc.dwo", ELF::SHT_PROGBITS, 0, "skel_loc");
  455|  17.0k|  DwarfStrOffDWOSection =
  456|  17.0k|      Ctx->getELFSection(".debug_str_offsets.dwo", ELF::SHT_PROGBITS, 0);
  457|  17.0k|  DwarfAddrSection =
  458|  17.0k|      Ctx->getELFSection(".debug_addr", ELF::SHT_PROGBITS, 0, "addr_sec");
  459|       |
  460|       |  // DWP Sections
  461|  17.0k|  DwarfCUIndexSection =
  462|  17.0k|      Ctx->getELFSection(".debug_cu_index", ELF::SHT_PROGBITS, 0);
  463|  17.0k|  DwarfTUIndexSection =
  464|  17.0k|      Ctx->getELFSection(".debug_tu_index", ELF::SHT_PROGBITS, 0);
  465|       |
  466|  17.0k|  StackMapSection =
  467|  17.0k|      Ctx->getELFSection(".llvm_stackmaps", ELF::SHT_PROGBITS, ELF::SHF_ALLOC);
  468|       |
  469|  17.0k|  FaultMapSection =
  470|  17.0k|      Ctx->getELFSection(".llvm_faultmaps", ELF::SHT_PROGBITS, ELF::SHF_ALLOC);
  471|       |
  472|  17.0k|  EHFrameSection =
  473|  17.0k|      Ctx->getELFSection(".eh_frame", EHSectionType, EHSectionFlags);
  474|  17.0k|}
_ZN7llvm_ks16MCObjectFileInfo20InitMCObjectFileInfoERKNS_6TripleERNS_9MCContextE:
  715|  17.0k|                                            MCContext &ctx) {
  716|  17.0k|  Ctx = &ctx;
  717|       |
  718|       |  // Common.
  719|  17.0k|  CommDirectiveSupportsAlignment = true;
  720|  17.0k|  SupportsWeakOmittedEHFrame = true;
  721|  17.0k|  SupportsCompactUnwindWithoutEHFrame = false;
  722|  17.0k|  OmitDwarfIfHaveCompactUnwind = false;
  723|       |
  724|  17.0k|  PersonalityEncoding = LSDAEncoding = FDECFIEncoding = TTypeEncoding =
  725|  17.0k|      dwarf::DW_EH_PE_absptr;
  726|       |
  727|  17.0k|  CompactUnwindDwarfEHFrameOnly = 0;
  728|       |
  729|  17.0k|  EHFrameSection = nullptr;             // Created on demand.
  730|  17.0k|  CompactUnwindSection = nullptr;       // Used only by selected targets.
  731|  17.0k|  DwarfAccelNamesSection = nullptr;     // Used only by selected targets.
  732|  17.0k|  DwarfAccelObjCSection = nullptr;      // Used only by selected targets.
  733|  17.0k|  DwarfAccelNamespaceSection = nullptr; // Used only by selected targets.
  734|  17.0k|  DwarfAccelTypesSection = nullptr;     // Used only by selected targets.
  735|       |
  736|  17.0k|  TT = TheTriple;
  737|       |
  738|  17.0k|  switch (TT.getObjectFormat()) {
  ------------------
  |  Branch (738:11): [True: 17.0k, False: 0]
  ------------------
  739|      0|  case Triple::MachO:
  ------------------
  |  Branch (739:3): [True: 0, False: 17.0k]
  ------------------
  740|      0|    Env = IsMachO;
  741|      0|    initMachOMCObjectFileInfo(TT);
  742|      0|    break;
  743|      0|  case Triple::COFF:
  ------------------
  |  Branch (743:3): [True: 0, False: 17.0k]
  ------------------
  744|      0|    if (!TT.isOSWindows())
  ------------------
  |  Branch (744:9): [True: 0, False: 0]
  ------------------
  745|      0|      report_fatal_error(
  746|      0|          "Cannot initialize MC for non-Windows COFF object files.");
  747|       |
  748|      0|    Env = IsCOFF;
  749|      0|    initCOFFMCObjectFileInfo(TT);
  750|      0|    break;
  751|  17.0k|  case Triple::ELF:
  ------------------
  |  Branch (751:3): [True: 17.0k, False: 0]
  ------------------
  752|  17.0k|    Env = IsELF;
  753|  17.0k|    initELFMCObjectFileInfo(TT);
  754|  17.0k|    break;
  755|      0|  case Triple::UnknownObjectFormat:
  ------------------
  |  Branch (755:3): [True: 0, False: 17.0k]
  ------------------
  756|      0|    report_fatal_error("Cannot initialize MC for unknown object file format.");
  757|      0|    break;
  758|  17.0k|  }
  759|  17.0k|}

_ZN7llvm_ks16MCObjectStreamerC2ERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterE:
   32|  17.0k|    : MCStreamer(Context),
   33|  17.0k|      Assembler(new MCAssembler(Context, TAB, *Emitter_,
   34|  17.0k|                                *TAB.createObjectWriter(OS))),
   35|  17.0k|      EmitEHFrame(true), EmitDebugFrame(false) {}
_ZN7llvm_ks16MCObjectStreamerD2Ev:
   37|  17.0k|MCObjectStreamer::~MCObjectStreamer() {
   38|  17.0k|  delete &Assembler->getWriter();
   39|  17.0k|  delete Assembler;
   40|  17.0k|}
_ZN7llvm_ks16MCObjectStreamer18flushPendingLabelsEPNS_10MCFragmentEm:
   42|  78.7M|void MCObjectStreamer::flushPendingLabels(MCFragment *F, uint64_t FOffset) {
   43|  78.7M|  if (PendingLabels.empty())
  ------------------
  |  Branch (43:7): [True: 78.7M, False: 12.4k]
  ------------------
   44|  78.7M|    return;
   45|  12.4k|  if (!F) {
  ------------------
  |  Branch (45:7): [True: 5.12k, False: 7.28k]
  ------------------
   46|  5.12k|    F = new MCDataFragment();
   47|  5.12k|    MCSection *CurSection = getCurrentSectionOnly();
   48|  5.12k|    CurSection->getFragmentList().insert(CurInsertionPoint, F);
   49|  5.12k|    F->setParent(CurSection);
   50|  5.12k|  }
   51|  19.6k|  for (MCSymbol *Sym : PendingLabels) {
  ------------------
  |  Branch (51:22): [True: 19.6k, False: 12.4k]
  ------------------
   52|  19.6k|    Sym->setFragment(F);
   53|  19.6k|    Sym->setOffset(FOffset);
   54|  19.6k|  }
   55|  12.4k|  PendingLabels.clear();
   56|  12.4k|}
_ZN7llvm_ks16MCObjectStreamer10EmitFramesEPNS_12MCAsmBackendE:
   83|  7.89k|void MCObjectStreamer::EmitFrames(MCAsmBackend *MAB) {
   84|       |#if 0
   85|       |  if (!getNumFrameInfos())
   86|       |    return;
   87|       |
   88|       |  if (EmitEHFrame)
   89|       |    MCDwarfFrameEmitter::Emit(*this, MAB, true);
   90|       |
   91|       |  if (EmitDebugFrame)
   92|       |    MCDwarfFrameEmitter::Emit(*this, MAB, false);
   93|       |#endif
   94|  7.89k|}
_ZNK7llvm_ks16MCObjectStreamer18getCurrentFragmentEv:
   96|  79.0M|MCFragment *MCObjectStreamer::getCurrentFragment() const {
   97|  79.0M|  assert(getCurrentSectionOnly() && "No current section!");
  ------------------
  |  Branch (97:3): [True: 79.0M, False: 0]
  |  Branch (97:3): [True: 79.0M, Folded]
  |  Branch (97:3): [True: 79.0M, False: 0]
  ------------------
   98|       |
   99|  79.0M|  if (CurInsertionPoint != getCurrentSectionOnly()->getFragmentList().begin())
  ------------------
  |  Branch (99:7): [True: 78.8M, False: 222k]
  ------------------
  100|  78.8M|    return &*std::prev(CurInsertionPoint);
  101|       |
  102|   222k|  return nullptr;
  103|  79.0M|}
_ZN7llvm_ks16MCObjectStreamer23getOrCreateDataFragmentEv:
  105|  78.6M|MCDataFragment *MCObjectStreamer::getOrCreateDataFragment() {
  106|  78.6M|  MCDataFragment *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  107|       |  // When bundling is enabled, we don't want to add data to a fragment that
  108|       |  // already has instructions (see MCELFStreamer::EmitInstToData for details)
  109|  78.6M|  if (!F || (Assembler->isBundlingEnabled() && !Assembler->getRelaxAll() &&
  ------------------
  |  Branch (109:7): [True: 7.95k, False: 78.6M]
  |  Branch (109:14): [True: 0, False: 78.6M]
  |  Branch (109:48): [True: 0, False: 0]
  ------------------
  110|  7.95k|             F->hasInstructions())) {
  ------------------
  |  Branch (110:14): [True: 0, False: 0]
  ------------------
  111|  7.95k|    F = new MCDataFragment();
  112|  7.95k|    insert(F);
  113|  7.95k|  }
  114|  78.6M|  return F;
  115|  78.6M|}
_ZN7llvm_ks16MCObjectStreamer15visitUsedSymbolERKNS_8MCSymbolE:
  117|   226k|void MCObjectStreamer::visitUsedSymbol(const MCSymbol &Sym) {
  118|   226k|  Assembler->registerSymbol(Sym);
  119|   226k|}
_ZN7llvm_ks16MCObjectStreamer13EmitValueImplEPKNS_6MCExprEjNS_5SMLocE:
  129|  47.7k|{
  130|  47.7k|  MCStreamer::EmitValueImpl(Value, Size, Loc);
  131|  47.7k|  MCDataFragment *DF = getOrCreateDataFragment();
  132|  47.7k|  flushPendingLabels(DF, DF->getContents().size());
  133|       |
  134|       |  // This makes the symbol's name (label) end up literally in the output stream
  135|       |  //if (Value->getKind() == MCExpr::SymbolRef) {
  136|       |  //    // Keystone: record data in the same section
  137|       |  //    const MCSymbolRefExpr &SRE = cast<MCSymbolRefExpr>(*Value);
  138|       |  //    const StringRef Sym = SRE.getSymbol().getName();
  139|       |  //    DF->getContents().append(Sym.begin(), Sym.end());
  140|       |  //
  141|       |  //    return;
  142|       |  //}
  143|       |
  144|       |  //MCCVLineEntry::Make(this);
  145|       |  //MCDwarfLineEntry::Make(this, getCurrentSection().first);
  146|       |
  147|       |  // Avoid fixups when possible.
  148|  47.7k|  int64_t AbsValue;
  149|  47.7k|  bool Error;
  150|  47.7k|  if (Value->evaluateAsAbsolute(AbsValue, getAssembler())) {
  ------------------
  |  Branch (150:7): [True: 4.92k, False: 42.7k]
  ------------------
  151|       |    // TODO: hande Error?
  152|  4.92k|    EmitIntValue(AbsValue, Size, Error);
  153|  4.92k|    return;
  154|  4.92k|  }
  155|  42.7k|  DF->getFixups().push_back(
  156|  42.7k|      MCFixup::create(DF->getContents().size(), Value,
  157|  42.7k|                      MCFixup::getKindForSize(Size, false), Loc));
  158|  42.7k|  DF->getContents().resize(DF->getContents().size() + Size, 0);
  159|  42.7k|}
_ZN7llvm_ks16MCObjectStreamer9EmitLabelEPNS_8MCSymbolE:
  172|  67.7k|void MCObjectStreamer::EmitLabel(MCSymbol *Symbol) {
  173|  67.7k|  MCStreamer::EmitLabel(Symbol);
  174|       |
  175|  67.7k|  getAssembler().registerSymbol(*Symbol);
  176|       |
  177|       |  // If there is a current fragment, mark the symbol as pointing into it.
  178|       |  // Otherwise queue the label and set its fragment pointer when we emit the
  179|       |  // next fragment.
  180|  67.7k|  auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  181|  67.7k|  if (F && !(getAssembler().isBundlingEnabled() &&
  ------------------
  |  Branch (181:7): [True: 38.3k, False: 29.3k]
  |  Branch (181:14): [True: 0, False: 38.3k]
  ------------------
  182|  38.3k|             getAssembler().getRelaxAll())) {
  ------------------
  |  Branch (182:14): [True: 0, False: 0]
  ------------------
  183|  38.3k|    Symbol->setFragment(F);
  184|  38.3k|    Symbol->setOffset(F->getContents().size());
  185|  38.3k|  } else {
  186|  29.3k|    PendingLabels.push_back(Symbol);
  187|  29.3k|  }
  188|  67.7k|}
_ZN7llvm_ks16MCObjectStreamer16EmitULEB128ValueEPKNS_6MCExprE:
  190|      4|void MCObjectStreamer::EmitULEB128Value(const MCExpr *Value) {
  191|      4|  int64_t IntValue;
  192|      4|  if (Value->evaluateAsAbsolute(IntValue, getAssembler())) {
  ------------------
  |  Branch (192:7): [True: 4, False: 0]
  ------------------
  193|      4|    EmitULEB128IntValue(IntValue);
  194|      4|    return;
  195|      4|  }
  196|      0|  insert(new MCLEBFragment(*Value, false));
  197|      0|}
_ZN7llvm_ks16MCObjectStreamer16EmitSLEB128ValueEPKNS_6MCExprE:
  199|      7|void MCObjectStreamer::EmitSLEB128Value(const MCExpr *Value) {
  200|      7|  int64_t IntValue;
  201|      7|  if (Value->evaluateAsAbsolute(IntValue, getAssembler())) {
  ------------------
  |  Branch (201:7): [True: 7, False: 0]
  ------------------
  202|      7|    EmitSLEB128IntValue(IntValue);
  203|      7|    return;
  204|      7|  }
  205|      0|  insert(new MCLEBFragment(*Value, true));
  206|      0|}
_ZN7llvm_ks16MCObjectStreamer13ChangeSectionEPNS_9MCSectionEPKNS_6MCExprE:
  214|  18.4k|                                     const MCExpr *Subsection) {
  215|  18.4k|  changeSectionImpl(Section, Subsection);
  216|  18.4k|}
_ZN7llvm_ks16MCObjectStreamer17changeSectionImplEPNS_9MCSectionEPKNS_6MCExprE:
  219|  18.4k|                                         const MCExpr *Subsection) {
  220|  18.4k|  assert(Section && "Cannot switch to a null section!");
  ------------------
  |  Branch (220:3): [True: 18.4k, False: 0]
  |  Branch (220:3): [True: 18.4k, Folded]
  |  Branch (220:3): [True: 18.4k, False: 0]
  ------------------
  221|  18.4k|  flushPendingLabels(nullptr);
  222|       |
  223|  18.4k|  bool Created = getAssembler().registerSection(*Section);
  224|       |
  225|  18.4k|  int64_t IntSubsection = 0;
  226|  18.4k|  if (Subsection &&
  ------------------
  |  Branch (226:7): [True: 0, False: 18.4k]
  ------------------
  227|      0|      !Subsection->evaluateAsAbsolute(IntSubsection, getAssembler()))
  ------------------
  |  Branch (227:7): [True: 0, False: 0]
  ------------------
  228|      0|    report_fatal_error("Cannot evaluate subsection number");
  229|  18.4k|  if (IntSubsection < 0 || IntSubsection > 8192)
  ------------------
  |  Branch (229:7): [True: 0, False: 18.4k]
  |  Branch (229:28): [True: 0, False: 18.4k]
  ------------------
  230|      0|    report_fatal_error("Subsection number out of range");
  231|  18.4k|  CurInsertionPoint =
  232|  18.4k|      Section->getSubsectionInsertionPoint(unsigned(IntSubsection));
  233|  18.4k|  return Created;
  234|  18.4k|}
_ZN7llvm_ks16MCObjectStreamer14EmitAssignmentEPNS_8MCSymbolEPKNS_6MCExprE:
  236|   113k|bool MCObjectStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
  237|   113k|  getAssembler().registerSymbol(*Symbol);
  238|   113k|  return MCStreamer::EmitAssignment(Symbol, Value);
  239|   113k|}
_ZN7llvm_ks16MCObjectStreamer15EmitInstructionERNS_6MCInstERKNS_15MCSubtargetInfoERj:
  248|  23.8k|{
  249|  23.8k|  MCStreamer::EmitInstruction(Inst, STI, KsError);
  250|       |
  251|  23.8k|  MCSection *Sec = getCurrentSectionOnly();
  252|  23.8k|  Sec->setHasInstructions(true);
  253|       |
  254|       |  // Now that a machine instruction has been assembled into this section, make
  255|       |  // a line entry for any .loc directive that has been seen.
  256|       |  //MCCVLineEntry::Make(this);
  257|       |  //MCDwarfLineEntry::Make(this, getCurrentSection().first);
  258|       |
  259|       |  // If this instruction doesn't need relaxation, just emit it as data.
  260|  23.8k|  MCAssembler &Assembler = getAssembler();
  261|  23.8k|  if (!Assembler.getBackend().mayNeedRelaxation(Inst)) {
  ------------------
  |  Branch (261:7): [True: 17.5k, False: 6.30k]
  ------------------
  262|  17.5k|    EmitInstToData(Inst, STI, KsError);
  263|  17.5k|    return;
  264|  17.5k|  }
  265|       |
  266|       |  // Otherwise, relax and emit it as data if either:
  267|       |  // - The RelaxAll flag was passed
  268|       |  // - Bundling is enabled and this instruction is inside a bundle-locked
  269|       |  //   group. We want to emit all such instructions into the same data
  270|       |  //   fragment.
  271|  6.30k|  if (Assembler.getRelaxAll() ||
  ------------------
  |  Branch (271:7): [True: 0, False: 6.30k]
  ------------------
  272|  6.30k|      (Assembler.isBundlingEnabled() && Sec->isBundleLocked())) {
  ------------------
  |  Branch (272:8): [True: 0, False: 6.30k]
  |  Branch (272:41): [True: 0, False: 0]
  ------------------
  273|      0|    MCInst Relaxed(Inst.getAddress());
  274|      0|    getAssembler().getBackend().relaxInstruction(Inst, Relaxed);
  275|      0|    while (getAssembler().getBackend().mayNeedRelaxation(Relaxed))
  ------------------
  |  Branch (275:12): [True: 0, False: 0]
  ------------------
  276|      0|      getAssembler().getBackend().relaxInstruction(Relaxed, Relaxed);
  277|      0|    EmitInstToData(Relaxed, STI, KsError);
  278|      0|    return;
  279|      0|  }
  280|       |
  281|       |  // Otherwise emit to a separate fragment.
  282|  6.30k|  EmitInstToFragment(Inst, STI);
  283|  6.30k|}
_ZN7llvm_ks16MCObjectStreamer18EmitInstToFragmentERNS_6MCInstERKNS_15MCSubtargetInfoE:
  287|  6.30k|{
  288|  6.30k|  if (getAssembler().getRelaxAll() && getAssembler().isBundlingEnabled())
  ------------------
  |  Branch (288:7): [True: 0, False: 6.30k]
  |  Branch (288:39): [True: 0, False: 0]
  ------------------
  289|      0|    llvm_unreachable("All instructions should have already been relaxed");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  290|       |
  291|       |  // Always create a new, separate fragment here, because its size can change
  292|       |  // during relaxation.
  293|  6.30k|  MCRelaxableFragment *IF = new MCRelaxableFragment(Inst, STI);
  294|  6.30k|  insert(IF);
  295|       |
  296|  6.30k|  SmallString<128> Code;
  297|  6.30k|  raw_svector_ostream VecOS(Code);
  298|  6.30k|  unsigned int KsError;
  299|  6.30k|  getAssembler().getEmitter().encodeInstruction(Inst, VecOS, IF->getFixups(),
  300|  6.30k|                                                STI, KsError);
  301|  6.30k|  IF->getContents().append(Code.begin(), Code.end());
  302|  6.30k|}
_ZN7llvm_ks16MCObjectStreamer9EmitBytesENS_9StringRefE:
  428|  78.6M|void MCObjectStreamer::EmitBytes(StringRef Data) {
  429|       |  //MCCVLineEntry::Make(this);
  430|       |  //MCDwarfLineEntry::Make(this, getCurrentSection().first);
  431|  78.6M|  MCDataFragment *DF = getOrCreateDataFragment();
  432|  78.6M|  flushPendingLabels(DF, DF->getContents().size());
  433|  78.6M|  DF->getContents().append(Data.begin(), Data.end());
  434|  78.6M|}
_ZN7llvm_ks16MCObjectStreamer20EmitValueToAlignmentEjljj:
  439|  10.4k|                                            unsigned MaxBytesToEmit) {
  440|  10.4k|  if (MaxBytesToEmit == 0)
  ------------------
  |  Branch (440:7): [True: 9.60k, False: 866]
  ------------------
  441|  9.60k|    MaxBytesToEmit = ByteAlignment;
  442|  10.4k|  insert(new MCAlignFragment(ByteAlignment, Value, ValueSize, MaxBytesToEmit));
  443|       |
  444|       |  // Update the maximum alignment on the current section if necessary.
  445|  10.4k|  MCSection *CurSec = getCurrentSection().first;
  446|  10.4k|  if (ByteAlignment > CurSec->getAlignment())
  ------------------
  |  Branch (446:7): [True: 195, False: 10.2k]
  ------------------
  447|    195|    CurSec->setAlignment(ByteAlignment);
  448|  10.4k|}
_ZN7llvm_ks16MCObjectStreamer17EmitCodeAlignmentEjj:
  451|  1.21k|                                         unsigned MaxBytesToEmit) {
  452|  1.21k|  EmitValueToAlignment(ByteAlignment, 0, 1, MaxBytesToEmit);
  453|  1.21k|  cast<MCAlignFragment>(getCurrentFragment())->setEmitNops(true);
  454|  1.21k|}
_ZN7llvm_ks16MCObjectStreamer17emitValueToOffsetEPKNS_6MCExprEh:
  457|  9.13k|                                         unsigned char Value) {
  458|  9.13k|  insert(new MCOrgFragment(*Offset, Value));
  459|  9.13k|}
_ZN7llvm_ks16MCObjectStreamer18EmitRelocDirectiveERKNS_6MCExprENS_9StringRefEPS2_NS_5SMLocE:
  482|    478|                                          const MCExpr *Expr, SMLoc Loc) {
  483|    478|  int64_t OffsetValue;
  484|    478|  if (!Offset.evaluateAsAbsolute(OffsetValue))
  ------------------
  |  Branch (484:7): [True: 0, False: 478]
  ------------------
  485|      0|    llvm_unreachable("Offset is not absolute");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  486|       |
  487|    478|  if (OffsetValue < 0)
  ------------------
  |  Branch (487:7): [True: 0, False: 478]
  ------------------
  488|      0|    llvm_unreachable("Offset is negative");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  489|       |
  490|    478|  MCDataFragment *DF = getOrCreateDataFragment();
  491|    478|  flushPendingLabels(DF, DF->getContents().size());
  492|       |
  493|    478|  Optional<MCFixupKind> MaybeKind = Assembler->getBackend().getFixupKind(Name);
  494|    478|  if (!MaybeKind.hasValue())
  ------------------
  |  Branch (494:7): [True: 478, False: 0]
  ------------------
  495|    478|    return true;
  496|       |
  497|      0|  MCFixupKind Kind = *MaybeKind;
  498|       |
  499|      0|  if (Expr == nullptr)
  ------------------
  |  Branch (499:7): [True: 0, False: 0]
  ------------------
  500|      0|    Expr =
  501|      0|        MCSymbolRefExpr::create(getContext().createTempSymbol(), getContext());
  502|      0|  DF->getFixups().push_back(MCFixup::create(OffsetValue, Expr, Kind, Loc));
  503|      0|  return false;
  504|    478|}
_ZN7llvm_ks16MCObjectStreamer8EmitFillEmh:
  506|  5.48k|void MCObjectStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue) {
  507|  5.48k|  const MCSection *Sec = getCurrentSection().first;
  508|  5.48k|  (void)Sec;
  509|  5.48k|  assert(Sec && "need a section");
  ------------------
  |  Branch (509:3): [True: 5.48k, False: 0]
  |  Branch (509:3): [True: 5.48k, Folded]
  |  Branch (509:3): [True: 5.48k, False: 0]
  ------------------
  510|  5.48k|  insert(new MCFillFragment(FillValue, NumBytes));
  511|  5.48k|}
_ZN7llvm_ks16MCObjectStreamer10FinishImplEv:
  514|  7.89k|{
  515|  7.89k|  unsigned int KsError = 0;
  516|       |  // If we are generating dwarf for assembly source files dump out the sections.
  517|       |  //if (getContext().getGenDwarfForAssembly())
  518|       |  //  MCGenDwarfInfo::Emit(this);
  519|       |
  520|       |  // Dump out the dwarf file & directory tables and line tables.
  521|       |  //MCDwarfLineTable::Emit(this, getAssembler().getDWARFLinetableParams());
  522|       |
  523|  7.89k|  flushPendingLabels(nullptr);
  524|  7.89k|  getAssembler().setSymResolver(getSymResolver());
  525|  7.89k|  getAssembler().Finish(KsError);
  526|       |
  527|  7.89k|  return KsError;
  528|  7.89k|}
_ZN7llvm_ks16MCObjectStreamer22getCurrentFragmentSizeEv:
  530|   281k|uint64_t MCObjectStreamer::getCurrentFragmentSize() {
  531|   281k|  auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  532|   281k|  if (nullptr != F)
  ------------------
  |  Branch (532:7): [True: 57.4k, False: 223k]
  ------------------
  533|  57.4k|      return F->getContents().size();
  534|   223k|  return 0;
  535|   281k|}

_ZN7llvm_ks14MCObjectWriterD2Ev:
   17|  17.0k|MCObjectWriter::~MCObjectWriter() {
   18|  17.0k|}
_ZNK7llvm_ks14MCObjectWriter34isSymbolRefDifferenceFullyResolvedERKNS_11MCAssemblerEPKNS_15MCSymbolRefExprES6_bRb:
   23|  11.1k|{
   24|  11.1k|  valid = true;
   25|       |  // Modified symbol references cannot be resolved.
   26|  11.1k|  if (A->getKind() != MCSymbolRefExpr::VK_None ||
  ------------------
  |  Branch (26:7): [True: 34, False: 11.0k]
  ------------------
   27|  11.0k|      B->getKind() != MCSymbolRefExpr::VK_None)
  ------------------
  |  Branch (27:7): [True: 78, False: 11.0k]
  ------------------
   28|    112|    return false;
   29|       |
   30|  11.0k|  const MCSymbol &SA = A->getSymbol();
   31|  11.0k|  const MCSymbol &SB = B->getSymbol();
   32|  11.0k|  if (SA.isUndefined() || SB.isUndefined())
  ------------------
  |  Branch (32:7): [True: 0, False: 11.0k]
  |  Branch (32:27): [True: 0, False: 11.0k]
  ------------------
   33|      0|    return false;
   34|       |
   35|  11.0k|  if (!SA.getFragment() || !SB.getFragment())
  ------------------
  |  Branch (35:7): [True: 0, False: 11.0k]
  |  Branch (35:28): [True: 0, False: 11.0k]
  ------------------
   36|      0|    return false;
   37|       |
   38|  11.0k|  if (!SA.isInSection()) {
  ------------------
  |  Branch (38:7): [True: 86, False: 10.9k]
  ------------------
   39|     86|      valid = false;
   40|     86|      return false;
   41|     86|  }
   42|  10.9k|  return isSymbolRefDifferenceFullyResolvedImpl(Asm, SA, SB, InSet);
   43|  11.0k|}
_ZNK7llvm_ks14MCObjectWriter38isSymbolRefDifferenceFullyResolvedImplERKNS_11MCAssemblerERKNS_8MCSymbolES6_b:
   47|  10.9k|    bool InSet) const {
   48|  10.9k|  return isSymbolRefDifferenceFullyResolvedImpl(Asm, A, *B.getFragment(), InSet,
   49|  10.9k|                                                false);
   50|  10.9k|}
_ZNK7llvm_ks14MCObjectWriter38isSymbolRefDifferenceFullyResolvedImplERKNS_11MCAssemblerERKNS_8MCSymbolERKNS_10MCFragmentEbb:
   54|  11.0k|    bool InSet, bool IsPCRel) const {
   55|  11.0k|  const MCSection &SecA = SymA.getSection();
   56|  11.0k|  const MCSection &SecB = *FB.getParent();
   57|       |  // On ELF and COFF  A - B is absolute if A and B are in the same section.
   58|  11.0k|  return &SecA == &SecB;
   59|  11.0k|}

_ZN7llvm_ks8AsmLexerC2ERKNS_9MCAsmInfoE:
   24|  17.0k|AsmLexer::AsmLexer(const MCAsmInfo &MAI) : MAI(MAI) {
   25|  17.0k|  CurPtr = nullptr;
   26|  17.0k|  isAtStartOfLine = true;
   27|  17.0k|  AllowAtInIdentifier = !StringRef(MAI.getCommentString()).startswith("@");
   28|  17.0k|  defaultRadix = MAI.getRadix();
   29|  17.0k|}
_ZN7llvm_ks8AsmLexerD2Ev:
   31|  17.0k|AsmLexer::~AsmLexer() {
   32|  17.0k|}
_ZN7llvm_ks8AsmLexer9setBufferENS_9StringRefEPKc:
   34|  67.9k|void AsmLexer::setBuffer(StringRef Buf, const char *ptr) {
   35|  67.9k|  CurBuf = Buf;
   36|       |
   37|  67.9k|  if (ptr)
  ------------------
  |  Branch (37:7): [True: 25.4k, False: 42.5k]
  ------------------
   38|  25.4k|    CurPtr = ptr;
   39|  42.5k|  else
   40|  42.5k|    CurPtr = CurBuf.begin();
   41|       |
   42|  67.9k|  TokStart = nullptr;
   43|  67.9k|}
_ZN7llvm_ks8AsmLexer11ReturnErrorEPKcRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
   48|  1.01M|{
   49|       |  //SetError(SMLoc::getFromPointer(Loc), Msg);
   50|       |
   51|  1.01M|  return AsmToken(AsmToken::Error, StringRef(Loc, 0));
   52|  1.01M|}
_ZN7llvm_ks8AsmLexer11getNextCharEv:
   54|  14.4M|int AsmLexer::getNextChar() {
   55|  14.4M|  char CurChar = *CurPtr++;
   56|  14.4M|  switch (CurChar) {
   57|  14.4M|  default:
  ------------------
  |  Branch (57:3): [True: 14.4M, False: 28.8k]
  ------------------
   58|  14.4M|    return (unsigned char)CurChar;
   59|  28.8k|  case 0:
  ------------------
  |  Branch (59:3): [True: 28.8k, False: 14.4M]
  ------------------
   60|       |    // A nul character in the stream is either the end of the current buffer or
   61|       |    // a random nul in the file.  Disambiguate that here.
   62|  28.8k|    if (CurPtr - 1 != CurBuf.end())
  ------------------
  |  Branch (62:9): [True: 0, False: 28.8k]
  ------------------
   63|      0|      return 0;  // Just whitespace.
   64|       |
   65|       |    // Otherwise, return end of file.
   66|  28.8k|    --CurPtr;  // Another call to lex will return EOF again.
   67|       |    return EOF;
   68|  14.4M|  }
   69|  14.4M|}
_ZN7llvm_ks8AsmLexer15LexFloatLiteralEv:
   76|  37.8k|AsmToken AsmLexer::LexFloatLiteral() {
   77|       |  // Skip the fractional digit sequence.
   78|  37.8k|  while (isdigit(*CurPtr))
  ------------------
  |  Branch (78:10): [True: 0, False: 37.8k]
  ------------------
   79|      0|    ++CurPtr;
   80|       |
   81|       |  // Check for exponent; we intentionally accept a slighlty wider set of
   82|       |  // literals here and rely on the upstream client to reject invalid ones (e.g.,
   83|       |  // "1e+").
   84|  37.8k|  if (*CurPtr == 'e' || *CurPtr == 'E') {
  ------------------
  |  Branch (84:7): [True: 2.21k, False: 35.6k]
  |  Branch (84:25): [True: 5.15k, False: 30.5k]
  ------------------
   85|  7.36k|    ++CurPtr;
   86|  7.36k|    if (*CurPtr == '-' || *CurPtr == '+')
  ------------------
  |  Branch (86:9): [True: 1.82k, False: 5.54k]
  |  Branch (86:27): [True: 431, False: 5.11k]
  ------------------
   87|  2.25k|      ++CurPtr;
   88|  28.8k|    while (isdigit(*CurPtr))
  ------------------
  |  Branch (88:12): [True: 21.5k, False: 7.36k]
  ------------------
   89|  21.5k|      ++CurPtr;
   90|  7.36k|  }
   91|       |
   92|  37.8k|  return AsmToken(AsmToken::Real,
   93|  37.8k|                  StringRef(TokStart, CurPtr - TokStart));
   94|  37.8k|}
_ZN7llvm_ks8AsmLexer18LexHexFloatLiteralEb:
  103|  7.15k|{
  104|  7.15k|  assert((*CurPtr == 'p' || *CurPtr == 'P' || *CurPtr == '.') &&
  ------------------
  |  Branch (104:3): [True: 2.92k, False: 4.23k]
  |  Branch (104:3): [True: 747, False: 3.48k]
  |  Branch (104:3): [True: 3.48k, False: 0]
  |  Branch (104:3): [True: 7.15k, Folded]
  |  Branch (104:3): [True: 7.15k, False: 0]
  ------------------
  105|  7.15k|         "unexpected parse state in floating hex");
  106|  7.15k|  bool NoFracDigits = true;
  107|       |
  108|       |  // Skip the fractional part if there is one
  109|  7.15k|  if (*CurPtr == '.') {
  ------------------
  |  Branch (109:7): [True: 3.48k, False: 3.67k]
  ------------------
  110|  3.48k|    ++CurPtr;
  111|       |
  112|  3.48k|    const char *FracStart = CurPtr;
  113|  27.1k|    while (isxdigit(*CurPtr))
  ------------------
  |  Branch (113:12): [True: 23.6k, False: 3.48k]
  ------------------
  114|  23.6k|      ++CurPtr;
  115|       |
  116|  3.48k|    NoFracDigits = CurPtr == FracStart;
  117|  3.48k|  }
  118|       |
  119|  7.15k|  if (NoIntDigits && NoFracDigits)
  ------------------
  |  Branch (119:7): [True: 3.02k, False: 4.13k]
  |  Branch (119:22): [True: 268, False: 2.75k]
  ------------------
  120|    268|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  121|    268|                                 "expected at least one significand digit");
  122|       |
  123|       |  // Make sure we do have some kind of proper exponent part
  124|  6.89k|  if (*CurPtr != 'p' && *CurPtr != 'P')
  ------------------
  |  Branch (124:7): [True: 2.98k, False: 3.90k]
  |  Branch (124:25): [True: 1.85k, False: 1.13k]
  ------------------
  125|  1.85k|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  126|  1.85k|                                 "expected exponent part 'p'");
  127|  5.03k|  ++CurPtr;
  128|       |
  129|  5.03k|  if (*CurPtr == '+' || *CurPtr == '-')
  ------------------
  |  Branch (129:7): [True: 1.16k, False: 3.87k]
  |  Branch (129:25): [True: 2.19k, False: 1.68k]
  ------------------
  130|  3.35k|    ++CurPtr;
  131|       |
  132|       |  // N.b. exponent digits are *not* hex
  133|  5.03k|  const char *ExpStart = CurPtr;
  134|  26.0k|  while (isdigit(*CurPtr))
  ------------------
  |  Branch (134:10): [True: 21.0k, False: 5.03k]
  ------------------
  135|  21.0k|    ++CurPtr;
  136|       |
  137|  5.03k|  if (CurPtr == ExpStart)
  ------------------
  |  Branch (137:7): [True: 978, False: 4.05k]
  ------------------
  138|    978|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  139|    978|                                 "expected at least one exponent digit");
  140|       |
  141|  4.05k|  return AsmToken(AsmToken::Real, StringRef(TokStart, CurPtr - TokStart));
  142|  5.03k|}
_ZN7llvm_ks8AsmLexer13LexIdentifierEv:
  149|  1.99M|AsmToken AsmLexer::LexIdentifier() {
  150|       |  // Check for floating point literals.
  151|  1.99M|  if (CurPtr[-1] == '.' && isdigit(*CurPtr)) {
  ------------------
  |  Branch (151:7): [True: 786k, False: 1.21M]
  |  Branch (151:28): [True: 48.8k, False: 737k]
  ------------------
  152|       |    // Disambiguate a .1243foo identifier from a floating literal.
  153|   292k|    while (isdigit(*CurPtr))
  ------------------
  |  Branch (153:12): [True: 243k, False: 48.8k]
  ------------------
  154|   243k|      ++CurPtr;
  155|  48.8k|    if (*CurPtr == 'e' || *CurPtr == 'E' ||
  ------------------
  |  Branch (155:9): [True: 2.21k, False: 46.6k]
  |  Branch (155:27): [True: 5.15k, False: 41.4k]
  ------------------
  156|  41.4k|        !IsIdentifierChar(*CurPtr, AllowAtInIdentifier))
  ------------------
  |  Branch (156:9): [True: 30.5k, False: 10.9k]
  ------------------
  157|  37.8k|      return LexFloatLiteral();
  158|  48.8k|  }
  159|       |
  160|  8.49M|  while (IsIdentifierChar(*CurPtr, AllowAtInIdentifier))
  ------------------
  |  Branch (160:10): [True: 6.53M, False: 1.96M]
  ------------------
  161|  6.53M|    ++CurPtr;
  162|       |
  163|       |  // Handle . as a special case.
  164|  1.96M|  if (CurPtr == TokStart+1 && TokStart[0] == '.')
  ------------------
  |  Branch (164:7): [True: 731k, False: 1.22M]
  |  Branch (164:31): [True: 84.8k, False: 646k]
  ------------------
  165|  84.8k|    return AsmToken(AsmToken::Dot, StringRef(TokStart, 1));
  166|       |
  167|  1.87M|  return AsmToken(AsmToken::Identifier, StringRef(TokStart, CurPtr - TokStart));
  168|  1.96M|}
_ZN7llvm_ks8AsmLexer8LexSlashEv:
  173|  28.3k|{
  174|  28.3k|  switch (*CurPtr) {
  175|    267|  case '*': break; // C style comment.
  ------------------
  |  Branch (175:3): [True: 267, False: 28.1k]
  ------------------
  176|  5.86k|  case '/': return ++CurPtr, LexLineComment();
  ------------------
  |  Branch (176:3): [True: 5.86k, False: 22.5k]
  ------------------
  177|  22.2k|  default:  return AsmToken(AsmToken::Slash, StringRef(CurPtr-1, 1));
  ------------------
  |  Branch (177:3): [True: 22.2k, False: 6.13k]
  ------------------
  178|  28.3k|  }
  179|       |
  180|       |  // C Style comment.
  181|    267|  ++CurPtr;  // skip the star.
  182|  1.10k|  while (1) {
  ------------------
  |  Branch (182:10): [True: 1.10k, Folded]
  ------------------
  183|  1.10k|    int CurChar = getNextChar();
  184|  1.10k|    switch (CurChar) {
  ------------------
  |  Branch (184:13): [True: 570, False: 539]
  ------------------
  185|     35|    case EOF:
  ------------------
  |  Branch (185:5): [True: 35, False: 1.07k]
  ------------------
  186|     35|      return ReturnError(TokStart, "unterminated comment");
  187|    535|    case '*':
  ------------------
  |  Branch (187:5): [True: 535, False: 574]
  ------------------
  188|       |      // End of the comment?
  189|    535|      if (CurPtr[0] != '/') break;
  ------------------
  |  Branch (189:11): [True: 303, False: 232]
  ------------------
  190|       |
  191|    232|      ++CurPtr;   // End the */.
  192|    232|      return LexToken();
  193|  1.10k|    }
  194|  1.10k|  }
  195|    267|}
_ZN7llvm_ks8AsmLexer14LexLineCommentEv:
  199|  55.6k|AsmToken AsmLexer::LexLineComment() {
  200|       |  // FIXME: This is broken if we happen to a comment at the end of a file, which
  201|       |  // was .included, and which doesn't end with a newline.
  202|  55.6k|  int CurChar = getNextChar();
  203|   906k|  while (CurChar != '\n' && CurChar != '\r' && CurChar != EOF)
  ------------------
  |  Branch (203:10): [True: 877k, False: 29.1k]
  |  Branch (203:29): [True: 851k, False: 26.2k]
  |  Branch (203:48): [True: 850k, False: 243]
  ------------------
  204|   850k|    CurChar = getNextChar();
  205|       |
  206|  55.6k|  if (CurChar == EOF)
  ------------------
  |  Branch (206:7): [True: 243, False: 55.4k]
  ------------------
  207|    243|    return AsmToken(AsmToken::Eof, StringRef(TokStart, 0));
  208|  55.4k|  return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 0));
  209|  55.6k|}
_ZN7llvm_ks8AsmLexer8LexDigitEv:
  259|   859k|{
  260|       |  // Decimal integer: [1-9][0-9]*
  261|   859k|  if (CurPtr[-1] != '0' || CurPtr[0] == '.') {
  ------------------
  |  Branch (261:7): [True: 535k, False: 323k]
  |  Branch (261:28): [True: 1.91k, False: 322k]
  ------------------
  262|   537k|    unsigned Radix = doLookAhead(CurPtr, 10);
  263|       |
  264|   537k|    if (defaultRadix == 16)
  ------------------
  |  Branch (264:9): [True: 537k, False: 0]
  ------------------
  265|   537k|      Radix = 16;
  266|       |
  267|   537k|    bool isHex = Radix == 16;
  268|       |    // Check for floating point literals.
  269|   537k|    if (!isHex && (*CurPtr == '.' || *CurPtr == 'e')) {
  ------------------
  |  Branch (269:9): [True: 0, False: 537k]
  |  Branch (269:20): [True: 0, False: 0]
  |  Branch (269:38): [True: 0, False: 0]
  ------------------
  270|      0|      ++CurPtr;
  271|      0|      return LexFloatLiteral();
  272|      0|    }
  273|       |
  274|   537k|    StringRef Result(TokStart, CurPtr - TokStart);
  275|       |
  276|   537k|    APInt Value(128, 0, true);
  277|   537k|    if (Result.getAsInteger(Radix, Value))
  ------------------
  |  Branch (277:9): [True: 0, False: 537k]
  ------------------
  278|      0|      return ReturnError(TokStart, !isHex ? "invalid decimal number" :
  ------------------
  |  Branch (278:36): [True: 0, False: 0]
  ------------------
  279|      0|                           "invalid hexdecimal number");
  280|       |
  281|       |    // Consume the [bB][hH].
  282|   537k|    if (defaultRadix != 16) {
  ------------------
  |  Branch (282:9): [True: 0, False: 537k]
  ------------------
  283|      0|      if (Radix == 2 || Radix == 16)
  ------------------
  |  Branch (283:11): [True: 0, False: 0]
  |  Branch (283:25): [True: 0, False: 0]
  ------------------
  284|      0|        ++CurPtr;
  285|      0|    }
  286|       |
  287|       |    // The darwin/x86 (and x86-64) assembler accepts and ignores type
  288|       |    // suffices on integer literals.
  289|   537k|    SkipIgnoredIntegerSuffix(CurPtr);
  290|       |
  291|   537k|    return intToken(Result, Value);
  292|   537k|  }
  293|       |
  294|   322k|  if (*CurPtr == 'b') {
  ------------------
  |  Branch (294:7): [True: 3.93k, False: 318k]
  ------------------
  295|  3.93k|    ++CurPtr;
  296|       |    // See if we actually have "0b" as part of something like "jmp 0b\n"
  297|  3.93k|    if (!isdigit(CurPtr[0])) {
  ------------------
  |  Branch (297:9): [True: 1.95k, False: 1.98k]
  ------------------
  298|  1.95k|      --CurPtr;
  299|  1.95k|      StringRef Result(TokStart, CurPtr - TokStart);
  300|  1.95k|      return AsmToken(AsmToken::Integer, Result, 0);
  301|  1.95k|    }
  302|  1.98k|    const char *NumStart = CurPtr;
  303|  27.8k|    while (CurPtr[0] == '0' || CurPtr[0] == '1')
  ------------------
  |  Branch (303:12): [True: 24.3k, False: 3.50k]
  |  Branch (303:32): [True: 1.52k, False: 1.98k]
  ------------------
  304|  25.9k|      ++CurPtr;
  305|       |
  306|       |    // Requires at least one binary digit.
  307|  1.98k|    if (CurPtr == NumStart)
  ------------------
  |  Branch (307:9): [True: 222, False: 1.75k]
  ------------------
  308|    222|      return ReturnError(TokStart, "invalid binary number");
  309|       |
  310|  1.75k|    StringRef Result(TokStart, CurPtr - TokStart);
  311|       |
  312|  1.75k|    APInt Value(128, 0, true);
  313|  1.75k|    if (Result.substr(2).getAsInteger(2, Value))
  ------------------
  |  Branch (313:9): [True: 0, False: 1.75k]
  ------------------
  314|      0|      return ReturnError(TokStart, "invalid binary number");
  315|       |
  316|       |    // The darwin/x86 (and x86-64) assembler accepts and ignores ULL and LL
  317|       |    // suffixes on integer literals.
  318|  1.75k|    SkipIgnoredIntegerSuffix(CurPtr);
  319|       |
  320|  1.75k|    return intToken(Result, Value);
  321|  1.75k|  }
  322|       |
  323|   318k|  if (*CurPtr == 'x' || *CurPtr == 'X') {
  ------------------
  |  Branch (323:7): [True: 8.49k, False: 309k]
  |  Branch (323:25): [True: 2.66k, False: 306k]
  ------------------
  324|  11.1k|    ++CurPtr;
  325|  11.1k|    const char *NumStart = CurPtr;
  326|  90.8k|    while (isxdigit(CurPtr[0]))
  ------------------
  |  Branch (326:12): [True: 79.6k, False: 11.1k]
  ------------------
  327|  79.6k|      ++CurPtr;
  328|       |
  329|       |    // "0x.0p0" is valid, and "0x0p0" (but not "0xp0" for example, which will be
  330|       |    // diagnosed by LexHexFloatLiteral).
  331|  11.1k|    if (CurPtr[0] == '.' || CurPtr[0] == 'p' || CurPtr[0] == 'P')
  ------------------
  |  Branch (331:9): [True: 3.48k, False: 7.68k]
  |  Branch (331:29): [True: 2.92k, False: 4.75k]
  |  Branch (331:49): [True: 747, False: 4.00k]
  ------------------
  332|  7.15k|      return LexHexFloatLiteral(NumStart == CurPtr);
  333|       |
  334|       |    // Otherwise requires at least one hex digit.
  335|  4.00k|    if (CurPtr == NumStart)
  ------------------
  |  Branch (335:9): [True: 641, False: 3.36k]
  ------------------
  336|    641|      return ReturnError(CurPtr-2, "invalid hexadecimal number");
  337|       |
  338|  3.36k|    APInt Result(128, 0);
  339|  3.36k|    if (StringRef(TokStart, CurPtr - TokStart).getAsInteger(0, Result))
  ------------------
  |  Branch (339:9): [True: 0, False: 3.36k]
  ------------------
  340|      0|      return ReturnError(TokStart, "invalid hexadecimal number");
  341|       |
  342|       |    // Consume the optional [hH].
  343|  3.36k|    if (*CurPtr == 'h' || *CurPtr == 'H')
  ------------------
  |  Branch (343:9): [True: 80, False: 3.28k]
  |  Branch (343:27): [True: 148, False: 3.13k]
  ------------------
  344|    228|      ++CurPtr;
  345|       |
  346|       |    // The darwin/x86 (and x86-64) assembler accepts and ignores ULL and LL
  347|       |    // suffixes on integer literals.
  348|  3.36k|    SkipIgnoredIntegerSuffix(CurPtr);
  349|       |
  350|  3.36k|    return intToken(StringRef(TokStart, CurPtr - TokStart), Result);
  351|  3.36k|  }
  352|       |
  353|       |  // Either octal or hexadecimal.
  354|   306k|  APInt Value(128, 0, true);
  355|   306k|  unsigned Radix = doLookAhead(CurPtr, 8);
  356|   306k|  bool isHex = Radix == 16;
  357|   306k|  StringRef Result(TokStart, CurPtr - TokStart);
  358|   306k|  if (Result.getAsInteger(Radix, Value))
  ------------------
  |  Branch (358:7): [True: 2.62k, False: 304k]
  ------------------
  359|  2.62k|    return ReturnError(TokStart, !isHex ? "invalid octal number" :
  ------------------
  |  Branch (359:34): [True: 2.62k, False: 0]
  ------------------
  360|  2.62k|                       "invalid hexdecimal number");
  361|       |
  362|       |  // Consume the [hH].
  363|   304k|  if (Radix == 16)
  ------------------
  |  Branch (363:7): [True: 355, False: 303k]
  ------------------
  364|    355|    ++CurPtr;
  365|       |
  366|       |  // The darwin/x86 (and x86-64) assembler accepts and ignores ULL and LL
  367|       |  // suffixes on integer literals.
  368|   304k|  SkipIgnoredIntegerSuffix(CurPtr);
  369|       |
  370|   304k|  return intToken(Result, Value);
  371|   306k|}
_ZN7llvm_ks8AsmLexer14LexSingleQuoteEv:
  375|  8.00k|{
  376|  8.00k|  int CurChar = getNextChar();
  377|       |
  378|  8.00k|  if (CurChar == '\\')
  ------------------
  |  Branch (378:7): [True: 2.11k, False: 5.89k]
  ------------------
  379|  2.11k|    CurChar = getNextChar();
  380|       |
  381|  8.00k|  if (CurChar == EOF)
  ------------------
  |  Branch (381:7): [True: 26, False: 7.98k]
  ------------------
  382|     26|    return ReturnError(TokStart, "unterminated single quote");
  383|       |
  384|  7.98k|  CurChar = getNextChar();
  385|       |
  386|  7.98k|  if (CurChar != '\'')
  ------------------
  |  Branch (386:7): [True: 5.60k, False: 2.38k]
  ------------------
  387|  5.60k|    return ReturnError(TokStart, "single quote way too long");
  388|       |
  389|       |  // The idea here being that 'c' is basically just an integral
  390|       |  // constant.
  391|  2.38k|  StringRef Res = StringRef(TokStart,CurPtr - TokStart);
  392|  2.38k|  long long Value;
  393|       |
  394|  2.38k|  if (Res.startswith("\'\\")) {
  ------------------
  |  Branch (394:7): [True: 1.34k, False: 1.03k]
  ------------------
  395|  1.34k|    char theChar = Res[2];
  396|  1.34k|    switch (theChar) {
  397|    629|      default: Value = theChar; break;
  ------------------
  |  Branch (397:7): [True: 629, False: 719]
  ------------------
  398|    360|      case '\'': Value = '\''; break;
  ------------------
  |  Branch (398:7): [True: 360, False: 988]
  ------------------
  399|     69|      case 't': Value = '\t'; break;
  ------------------
  |  Branch (399:7): [True: 69, False: 1.27k]
  ------------------
  400|    203|      case 'n': Value = '\n'; break;
  ------------------
  |  Branch (400:7): [True: 203, False: 1.14k]
  ------------------
  401|     87|      case 'b': Value = '\b'; break;
  ------------------
  |  Branch (401:7): [True: 87, False: 1.26k]
  ------------------
  402|  1.34k|    }
  403|  1.34k|  } else
  404|  1.03k|    Value = TokStart[1];
  405|       |
  406|  2.38k|  return AsmToken(AsmToken::Integer, Res, Value);
  407|  2.38k|}
_ZN7llvm_ks8AsmLexer8LexQuoteEv:
  412|  21.3k|{
  413|  21.3k|  int CurChar = getNextChar();
  414|       |  // TODO: does gas allow multiline string constants?
  415|   250k|  while (CurChar != '"') {
  ------------------
  |  Branch (415:10): [True: 228k, False: 21.1k]
  ------------------
  416|   228k|    if (CurChar == '\\') {
  ------------------
  |  Branch (416:9): [True: 11.6k, False: 217k]
  ------------------
  417|       |      // Allow \", etc.
  418|  11.6k|      CurChar = getNextChar();
  419|  11.6k|    }
  420|       |
  421|   228k|    if (CurChar == EOF)
  ------------------
  |  Branch (421:9): [True: 153, False: 228k]
  ------------------
  422|    153|      return ReturnError(TokStart, "unterminated string constant");
  423|       |
  424|   228k|    CurChar = getNextChar();
  425|   228k|  }
  426|       |
  427|  21.1k|  return AsmToken(AsmToken::String, StringRef(TokStart, CurPtr - TokStart));
  428|  21.3k|}
_ZN7llvm_ks8AsmLexer22LexUntilEndOfStatementEv:
  430|  2.86k|StringRef AsmLexer::LexUntilEndOfStatement() {
  431|  2.86k|  TokStart = CurPtr;
  432|       |
  433|   186k|  while (!isAtStartOfComment(CurPtr) &&     // Start of line comment.
  ------------------
  |  Branch (433:10): [True: 185k, False: 427]
  ------------------
  434|   185k|         !isAtStatementSeparator(CurPtr) && // End of statement marker.
  ------------------
  |  Branch (434:10): [True: 185k, False: 293]
  ------------------
  435|   185k|         *CurPtr != '\n' && *CurPtr != '\r' &&
  ------------------
  |  Branch (435:10): [True: 184k, False: 1.40k]
  |  Branch (435:29): [True: 183k, False: 609]
  ------------------
  436|   183k|         (*CurPtr != 0 || CurPtr != CurBuf.end())) {
  ------------------
  |  Branch (436:11): [True: 183k, False: 138]
  |  Branch (436:27): [True: 0, False: 138]
  ------------------
  437|   183k|    ++CurPtr;
  438|   183k|  }
  439|  2.86k|  return StringRef(TokStart, CurPtr-TokStart);
  440|  2.86k|}
_ZN7llvm_ks8AsmLexer17LexUntilEndOfLineEv:
  442|  19.0k|StringRef AsmLexer::LexUntilEndOfLine() {
  443|  19.0k|  TokStart = CurPtr;
  444|       |
  445|   284k|  while (*CurPtr != '\n' && *CurPtr != '\r' &&
  ------------------
  |  Branch (445:10): [True: 275k, False: 8.47k]
  |  Branch (445:29): [True: 265k, False: 10.5k]
  ------------------
  446|   265k|         (*CurPtr != 0 || CurPtr != CurBuf.end())) {
  ------------------
  |  Branch (446:11): [True: 265k, False: 86]
  |  Branch (446:27): [True: 0, False: 86]
  ------------------
  447|   265k|    ++CurPtr;
  448|   265k|  }
  449|  19.0k|  return StringRef(TokStart, CurPtr-TokStart);
  450|  19.0k|}
_ZN7llvm_ks8AsmLexer10peekTokensENS_15MutableArrayRefINS_8AsmTokenEEEb:
  454|  8.90k|{
  455|  8.90k|  const char *SavedTokStart = TokStart;
  456|  8.90k|  const char *SavedCurPtr = CurPtr;
  457|  8.90k|  bool SavedAtStartOfLine = isAtStartOfLine;
  458|  8.90k|  bool SavedSkipSpace = SkipSpace;
  459|       |
  460|  8.90k|  std::string SavedErr = getErr();
  461|  8.90k|  SMLoc SavedErrLoc = getErrLoc();
  462|       |
  463|  8.90k|  SkipSpace = ShouldSkipSpace;
  464|       |
  465|  8.90k|  size_t ReadCount;
  466|  18.1k|  for (ReadCount = 0; ReadCount < Buf.size(); ++ReadCount) {
  ------------------
  |  Branch (466:23): [True: 9.27k, False: 8.87k]
  ------------------
  467|  9.27k|    AsmToken Token = LexToken();
  468|       |
  469|  9.27k|    Buf[ReadCount] = Token;
  470|       |
  471|  9.27k|    if (Token.is(AsmToken::Eof))
  ------------------
  |  Branch (471:9): [True: 28, False: 9.24k]
  ------------------
  472|     28|      break;
  473|  9.27k|  }
  474|       |
  475|  8.90k|  SetError(SavedErrLoc, SavedErr);
  476|       |
  477|  8.90k|  SkipSpace = SavedSkipSpace;
  478|  8.90k|  isAtStartOfLine = SavedAtStartOfLine;
  479|  8.90k|  CurPtr = SavedCurPtr;
  480|  8.90k|  TokStart = SavedTokStart;
  481|       |
  482|  8.90k|  return ReadCount;
  483|  8.90k|}
_ZN7llvm_ks8AsmLexer18isAtStartOfCommentEPKc:
  485|  13.4M|bool AsmLexer::isAtStartOfComment(const char *Ptr) {
  486|  13.4M|  const char *CommentString = MAI.getCommentString();
  487|       |
  488|  13.4M|  if (CommentString[1] == '\0')
  ------------------
  |  Branch (488:7): [True: 13.4M, False: 0]
  ------------------
  489|  13.4M|    return CommentString[0] == Ptr[0];
  490|       |
  491|       |  // FIXME: special case for the bogus "##" comment string in X86MCAsmInfoDarwin
  492|      0|  if (CommentString[1] == '#')
  ------------------
  |  Branch (492:7): [True: 0, False: 0]
  ------------------
  493|      0|    return CommentString[0] == Ptr[0];
  494|       |
  495|      0|  return strncmp(Ptr, CommentString, strlen(CommentString)) == 0;
  496|      0|}
_ZN7llvm_ks8AsmLexer22isAtStatementSeparatorEPKc:
  498|  13.3M|bool AsmLexer::isAtStatementSeparator(const char *Ptr) {
  499|  13.3M|  return strncmp(Ptr, MAI.getSeparatorString(),
  500|  13.3M|                 strlen(MAI.getSeparatorString())) == 0;
  501|  13.3M|}
_ZN7llvm_ks8AsmLexer8LexTokenEv:
  504|  13.2M|{
  505|  13.2M|  TokStart = CurPtr;
  506|       |  // This always consumes at least one character.
  507|  13.2M|  int CurChar = getNextChar();
  508|       |
  509|  13.2M|  if (isAtStartOfComment(TokStart)) {
  ------------------
  |  Branch (509:7): [True: 79.1k, False: 13.1M]
  ------------------
  510|       |    // If this comment starts with a '#', then return the Hash token and let
  511|       |    // the assembler parser see if it can be parsed as a cpp line filename
  512|       |    // comment. We do this only if we are at the start of a line.
  513|  79.1k|    if (CurChar == '#' && isAtStartOfLine)
  ------------------
  |  Branch (513:9): [True: 78.9k, False: 188]
  |  Branch (513:27): [True: 29.3k, False: 49.6k]
  ------------------
  514|  29.3k|      return AsmToken(AsmToken::Hash, StringRef(TokStart, 1));
  515|  49.8k|    isAtStartOfLine = true;
  516|  49.8k|    return LexLineComment();
  517|  79.1k|  }
  518|  13.1M|  if (isAtStatementSeparator(TokStart)) {
  ------------------
  |  Branch (518:7): [True: 5.85M, False: 7.32M]
  ------------------
  519|  5.85M|    CurPtr += strlen(MAI.getSeparatorString()) - 1;
  520|  5.85M|    return AsmToken(AsmToken::EndOfStatement,
  521|  5.85M|                    StringRef(TokStart, strlen(MAI.getSeparatorString())));
  522|  5.85M|  }
  523|       |
  524|       |  // If we're missing a newline at EOF, make sure we still get an
  525|       |  // EndOfStatement token before the Eof token.
  526|  7.32M|  if (CurChar == EOF && !isAtStartOfLine) {
  ------------------
  |  Branch (526:7): [True: 28.3k, False: 7.29M]
  |  Branch (526:25): [True: 14.1k, False: 14.1k]
  ------------------
  527|  14.1k|    isAtStartOfLine = true;
  528|  14.1k|    return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 1));
  529|  14.1k|  }
  530|       |
  531|  7.31M|  isAtStartOfLine = false;
  532|  7.31M|  switch (CurChar) {
  533|  3.00M|  default:
  ------------------
  |  Branch (533:3): [True: 3.00M, False: 4.31M]
  ------------------
  534|       |    // Handle identifier: [a-zA-Z_.][a-zA-Z0-9_$.@]*
  535|  3.00M|    if (isalpha(CurChar) || CurChar == '_' || CurChar == '.')
  ------------------
  |  Branch (535:9): [True: 1.20M, False: 1.79M]
  |  Branch (535:29): [True: 5.26k, False: 1.78M]
  |  Branch (535:47): [True: 786k, False: 1.00M]
  ------------------
  536|  1.99M|      return LexIdentifier();
  537|       |
  538|       |    // Unknown character, emit an error.
  539|  1.00M|    return ReturnError(TokStart, "invalid character in input");
  540|  14.1k|  case EOF: return AsmToken(AsmToken::Eof, StringRef(TokStart, 0));
  ------------------
  |  Branch (540:3): [True: 14.1k, False: 7.29M]
  ------------------
  541|      0|  case 0:
  ------------------
  |  Branch (541:3): [True: 0, False: 7.31M]
  ------------------
  542|   128k|  case ' ':
  ------------------
  |  Branch (542:3): [True: 128k, False: 7.18M]
  ------------------
  543|   169k|  case '\t':
  ------------------
  |  Branch (543:3): [True: 40.4k, False: 7.27M]
  ------------------
  544|   169k|    if (SkipSpace) {
  ------------------
  |  Branch (544:9): [True: 169k, False: 0]
  ------------------
  545|       |      // Ignore whitespace.
  546|   169k|      return LexToken();
  547|   169k|    } else {
  548|      0|      int len = 1;
  549|      0|      while (*CurPtr==' ' || *CurPtr=='\t') {
  ------------------
  |  Branch (549:14): [True: 0, False: 0]
  |  Branch (549:30): [True: 0, False: 0]
  ------------------
  550|      0|        CurPtr++;
  551|      0|        len++;
  552|      0|      }
  553|      0|      return AsmToken(AsmToken::Space, StringRef(TokStart, len));
  554|      0|    }
  555|   383k|  case '\n': // FALL THROUGH.
  ------------------
  |  Branch (555:3): [True: 383k, False: 6.92M]
  ------------------
  556|   690k|  case '\r':
  ------------------
  |  Branch (556:3): [True: 307k, False: 7.00M]
  ------------------
  557|   690k|    isAtStartOfLine = true;
  558|   690k|    return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 1));
  559|  7.02k|  case ':': return AsmToken(AsmToken::Colon, StringRef(TokStart, 1));
  ------------------
  |  Branch (559:3): [True: 7.02k, False: 7.30M]
  ------------------
  560|  72.1k|  case '+': return AsmToken(AsmToken::Plus, StringRef(TokStart, 1));
  ------------------
  |  Branch (560:3): [True: 72.1k, False: 7.24M]
  ------------------
  561|   343k|  case '-': return AsmToken(AsmToken::Minus, StringRef(TokStart, 1));
  ------------------
  |  Branch (561:3): [True: 343k, False: 6.96M]
  ------------------
  562|  78.8k|  case '~': return AsmToken(AsmToken::Tilde, StringRef(TokStart, 1));
  ------------------
  |  Branch (562:3): [True: 78.8k, False: 7.23M]
  ------------------
  563|   100k|  case '(': return AsmToken(AsmToken::LParen, StringRef(TokStart, 1));
  ------------------
  |  Branch (563:3): [True: 100k, False: 7.21M]
  ------------------
  564|  14.4k|  case ')': return AsmToken(AsmToken::RParen, StringRef(TokStart, 1));
  ------------------
  |  Branch (564:3): [True: 14.4k, False: 7.29M]
  ------------------
  565|  29.0k|  case '[': return AsmToken(AsmToken::LBrac, StringRef(TokStart, 1));
  ------------------
  |  Branch (565:3): [True: 29.0k, False: 7.28M]
  ------------------
  566|  3.77k|  case ']': return AsmToken(AsmToken::RBrac, StringRef(TokStart, 1));
  ------------------
  |  Branch (566:3): [True: 3.77k, False: 7.30M]
  ------------------
  567|  7.45k|  case '{': return AsmToken(AsmToken::LCurly, StringRef(TokStart, 1));
  ------------------
  |  Branch (567:3): [True: 7.45k, False: 7.30M]
  ------------------
  568|  3.38k|  case '}': return AsmToken(AsmToken::RCurly, StringRef(TokStart, 1));
  ------------------
  |  Branch (568:3): [True: 3.38k, False: 7.30M]
  ------------------
  569|  52.5k|  case '*': return AsmToken(AsmToken::Star, StringRef(TokStart, 1));
  ------------------
  |  Branch (569:3): [True: 52.5k, False: 7.26M]
  ------------------
  570|   243k|  case ',': return AsmToken(AsmToken::Comma, StringRef(TokStart, 1));
  ------------------
  |  Branch (570:3): [True: 243k, False: 7.06M]
  ------------------
  571|  30.1k|  case '$': return AsmToken(AsmToken::Dollar, StringRef(TokStart, 1));
  ------------------
  |  Branch (571:3): [True: 30.1k, False: 7.28M]
  ------------------
  572|   226k|  case '@': return AsmToken(AsmToken::At, StringRef(TokStart, 1));
  ------------------
  |  Branch (572:3): [True: 226k, False: 7.08M]
  ------------------
  573|   209k|  case '\\': return AsmToken(AsmToken::BackSlash, StringRef(TokStart, 1));
  ------------------
  |  Branch (573:3): [True: 209k, False: 7.10M]
  ------------------
  574|   533k|  case '=':
  ------------------
  |  Branch (574:3): [True: 533k, False: 6.77M]
  ------------------
  575|   533k|    if (*CurPtr == '=')
  ------------------
  |  Branch (575:9): [True: 670, False: 532k]
  ------------------
  576|    670|      return ++CurPtr, AsmToken(AsmToken::EqualEqual, StringRef(TokStart, 2));
  577|   532k|    return AsmToken(AsmToken::Equal, StringRef(TokStart, 1));
  578|   443k|  case '|':
  ------------------
  |  Branch (578:3): [True: 443k, False: 6.87M]
  ------------------
  579|   443k|    if (*CurPtr == '|')
  ------------------
  |  Branch (579:9): [True: 38.1k, False: 404k]
  ------------------
  580|  38.1k|      return ++CurPtr, AsmToken(AsmToken::PipePipe, StringRef(TokStart, 2));
  581|   404k|    return AsmToken(AsmToken::Pipe, StringRef(TokStart, 1));
  582|  12.2k|  case '^': return AsmToken(AsmToken::Caret, StringRef(TokStart, 1));
  ------------------
  |  Branch (582:3): [True: 12.2k, False: 7.30M]
  ------------------
  583|  15.3k|  case '&':
  ------------------
  |  Branch (583:3): [True: 15.3k, False: 7.29M]
  ------------------
  584|  15.3k|    if (*CurPtr == '&')
  ------------------
  |  Branch (584:9): [True: 1.66k, False: 13.6k]
  ------------------
  585|  1.66k|      return ++CurPtr, AsmToken(AsmToken::AmpAmp, StringRef(TokStart, 2));
  586|  13.6k|    return AsmToken(AsmToken::Amp, StringRef(TokStart, 1));
  587|  9.06k|  case '!':
  ------------------
  |  Branch (587:3): [True: 9.06k, False: 7.30M]
  ------------------
  588|  9.06k|    if (*CurPtr == '=')
  ------------------
  |  Branch (588:9): [True: 552, False: 8.51k]
  ------------------
  589|    552|      return ++CurPtr, AsmToken(AsmToken::ExclaimEqual, StringRef(TokStart, 2));
  590|  8.51k|    return AsmToken(AsmToken::Exclaim, StringRef(TokStart, 1));
  591|  17.5k|  case '%': return AsmToken(AsmToken::Percent, StringRef(TokStart, 1));
  ------------------
  |  Branch (591:3): [True: 17.5k, False: 7.29M]
  ------------------
  592|  28.3k|  case '/': return LexSlash();
  ------------------
  |  Branch (592:3): [True: 28.3k, False: 7.28M]
  ------------------
  593|     72|  case '#': return AsmToken(AsmToken::Hash, StringRef(TokStart, 1));
  ------------------
  |  Branch (593:3): [True: 72, False: 7.31M]
  ------------------
  594|  8.00k|  case '\'': return LexSingleQuote();
  ------------------
  |  Branch (594:3): [True: 8.00k, False: 7.30M]
  ------------------
  595|  21.3k|  case '"': return LexQuote();
  ------------------
  |  Branch (595:3): [True: 21.3k, False: 7.29M]
  ------------------
  596|   492k|  case '0': case '1': case '2': case '3': case '4':
  ------------------
  |  Branch (596:3): [True: 323k, False: 6.98M]
  |  Branch (596:13): [True: 59.9k, False: 7.25M]
  |  Branch (596:23): [True: 62.4k, False: 7.25M]
  |  Branch (596:33): [True: 25.6k, False: 7.28M]
  |  Branch (596:43): [True: 20.1k, False: 7.29M]
  ------------------
  597|   859k|  case '5': case '6': case '7': case '8': case '9':
  ------------------
  |  Branch (597:3): [True: 17.0k, False: 7.29M]
  |  Branch (597:13): [True: 306k, False: 7.00M]
  |  Branch (597:23): [True: 9.80k, False: 7.30M]
  |  Branch (597:33): [True: 17.6k, False: 7.29M]
  |  Branch (597:43): [True: 15.8k, False: 7.29M]
  ------------------
  598|   859k|    return LexDigit();
  599|  20.3k|  case '<':
  ------------------
  |  Branch (599:3): [True: 20.3k, False: 7.29M]
  ------------------
  600|  20.3k|    switch (*CurPtr) {
  601|  4.08k|    case '<': return ++CurPtr, AsmToken(AsmToken::LessLess,
  ------------------
  |  Branch (601:5): [True: 4.08k, False: 16.2k]
  ------------------
  602|  4.08k|                                        StringRef(TokStart, 2));
  603|    833|    case '=': return ++CurPtr, AsmToken(AsmToken::LessEqual,
  ------------------
  |  Branch (603:5): [True: 833, False: 19.5k]
  ------------------
  604|    833|                                        StringRef(TokStart, 2));
  605|    495|    case '>': return ++CurPtr, AsmToken(AsmToken::LessGreater,
  ------------------
  |  Branch (605:5): [True: 495, False: 19.8k]
  ------------------
  606|    495|                                        StringRef(TokStart, 2));
  607|  14.9k|    default: return AsmToken(AsmToken::Less, StringRef(TokStart, 1));
  ------------------
  |  Branch (607:5): [True: 14.9k, False: 5.40k]
  ------------------
  608|  20.3k|    }
  609|  47.1k|  case '>':
  ------------------
  |  Branch (609:3): [True: 47.1k, False: 7.26M]
  ------------------
  610|  47.1k|    switch (*CurPtr) {
  611|  8.59k|    case '>': return ++CurPtr, AsmToken(AsmToken::GreaterGreater,
  ------------------
  |  Branch (611:5): [True: 8.59k, False: 38.5k]
  ------------------
  612|  8.59k|                                        StringRef(TokStart, 2));
  613|  1.68k|    case '=': return ++CurPtr, AsmToken(AsmToken::GreaterEqual,
  ------------------
  |  Branch (613:5): [True: 1.68k, False: 45.5k]
  ------------------
  614|  1.68k|                                        StringRef(TokStart, 2));
  615|  36.9k|    default: return AsmToken(AsmToken::Greater, StringRef(TokStart, 1));
  ------------------
  |  Branch (615:5): [True: 36.9k, False: 10.2k]
  ------------------
  616|  47.1k|    }
  617|       |
  618|       |  // TODO: Quoted identifiers (objc methods etc)
  619|       |  // local labels: [0-9][:]
  620|       |  // Forward/backward labels: [0-9][fb]
  621|       |  // Integers, fp constants, character constants.
  622|  7.31M|  }
  623|  7.31M|}
AsmLexer.cpp:_ZL16IsIdentifierCharcb:
  145|  8.53M|static bool IsIdentifierChar(char c, bool AllowAt) {
  146|  8.53M|  return isalnum(c) || c == '_' || c == '$' || c == '.' ||
  ------------------
  |  Branch (146:10): [True: 6.37M, False: 2.15M]
  |  Branch (146:24): [True: 18.5k, False: 2.13M]
  |  Branch (146:36): [True: 12.5k, False: 2.12M]
  |  Branch (146:48): [True: 75.7k, False: 2.04M]
  ------------------
  147|  2.04M|         (c == '@' && AllowAt) || c == '?';
  ------------------
  |  Branch (147:11): [True: 45.4k, False: 2.00M]
  |  Branch (147:23): [True: 45.4k, False: 0]
  |  Branch (147:35): [True: 10.9k, False: 1.99M]
  ------------------
  148|  8.53M|}
AsmLexer.cpp:_ZL11doLookAheadRPKcj:
  223|   844k|static unsigned doLookAhead(const char *&CurPtr, unsigned DefaultRadix) {
  224|   844k|  const char *FirstHex = nullptr;
  225|   844k|  const char *LookAhead = CurPtr;
  226|  1.77M|  while (1) {
  ------------------
  |  Branch (226:10): [True: 1.77M, Folded]
  ------------------
  227|  1.77M|    if (isdigit(*LookAhead)) {
  ------------------
  |  Branch (227:9): [True: 889k, False: 884k]
  ------------------
  228|   889k|      ++LookAhead;
  229|   889k|    } else if (isxdigit(*LookAhead)) {
  ------------------
  |  Branch (229:16): [True: 40.5k, False: 844k]
  ------------------
  230|  40.5k|      if (!FirstHex)
  ------------------
  |  Branch (230:11): [True: 19.0k, False: 21.4k]
  ------------------
  231|  19.0k|        FirstHex = LookAhead;
  232|  40.5k|      ++LookAhead;
  233|   844k|    } else {
  234|   844k|      break;
  235|   844k|    }
  236|  1.77M|  }
  237|   844k|  bool isHex = *LookAhead == 'h' || *LookAhead == 'H';
  ------------------
  |  Branch (237:16): [True: 460, False: 843k]
  |  Branch (237:37): [True: 61, False: 843k]
  ------------------
  238|   844k|  CurPtr = isHex || !FirstHex ? LookAhead : FirstHex;
  ------------------
  |  Branch (238:12): [True: 521, False: 843k]
  |  Branch (238:21): [True: 824k, False: 19.0k]
  ------------------
  239|   844k|  if (isHex)
  ------------------
  |  Branch (239:7): [True: 521, False: 843k]
  ------------------
  240|    521|    return 16;
  241|   843k|  return DefaultRadix;
  242|   844k|}
AsmLexer.cpp:_ZL24SkipIgnoredIntegerSuffixRPKc:
  211|   846k|static void SkipIgnoredIntegerSuffix(const char *&CurPtr) {
  212|       |  // Skip ULL, UL, U, L and LL suffices.
  213|   846k|  if (CurPtr[0] == 'U')
  ------------------
  |  Branch (213:7): [True: 354, False: 846k]
  ------------------
  214|    354|    ++CurPtr;
  215|   846k|  if (CurPtr[0] == 'L')
  ------------------
  |  Branch (215:7): [True: 3.67k, False: 843k]
  ------------------
  216|  3.67k|    ++CurPtr;
  217|   846k|  if (CurPtr[0] == 'L')
  ------------------
  |  Branch (217:7): [True: 2.54k, False: 844k]
  ------------------
  218|  2.54k|    ++CurPtr;
  219|   846k|}
AsmLexer.cpp:_ZL8intTokenN7llvm_ks9StringRefERNS_5APIntE:
  245|   846k|{
  246|   846k|  if (Value.isIntN(64))
  ------------------
  |  Branch (246:7): [True: 843k, False: 3.55k]
  ------------------
  247|   843k|    return AsmToken(AsmToken::Integer, Ref, Value);
  248|  3.55k|  return AsmToken(AsmToken::BigNum, Ref, Value);
  249|   846k|}

_ZN7llvm_ks13MCParserUtils25parseAssignmentExpressionENS_9StringRefEbRNS_11MCAsmParserERPNS_8MCSymbolERPKNS_6MCExprE:
 6074|   356k|{
 6075|   356k|  MCAsmLexer &Lexer = Parser.getLexer();
 6076|       |
 6077|       |  // FIXME: Use better location, we should use proper tokens.
 6078|       |  //SMLoc EqualLoc = Lexer.getLoc();
 6079|       |
 6080|   356k|  if (Parser.parseExpression(Value)) {
  ------------------
  |  Branch (6080:7): [True: 226k, False: 130k]
  ------------------
 6081|       |    //Parser.TokError("missing expression");
 6082|   226k|    Parser.eatToEndOfStatement();
 6083|   226k|    return true;
 6084|   226k|  }
 6085|       |
 6086|       |  // Note: we don't count b as used in "a = b". This is to allow
 6087|       |  // a = b
 6088|       |  // b = c
 6089|       |
 6090|   130k|  if (Lexer.isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (6090:7): [True: 4.86k, False: 125k]
  ------------------
 6091|       |    //return Parser.TokError("unexpected token in assignment");
 6092|  4.86k|    return true;
 6093|       |
 6094|       |  // Eat the end of statement marker.
 6095|   125k|  Parser.Lex();
 6096|       |
 6097|       |  // Validate that the LHS is allowed to be a variable (either it has not been
 6098|       |  // used as a symbol, or it is an absolute symbol).
 6099|   125k|  Sym = Parser.getContext().lookupSymbol(Name);
 6100|   125k|  if (Sym) {
  ------------------
  |  Branch (6100:7): [True: 115k, False: 10.7k]
  ------------------
 6101|       |    // Diagnose assignment to a label.
 6102|       |    //
 6103|       |    // FIXME: Diagnostics. Note the location of the definition as a label.
 6104|       |    // FIXME: Diagnose assignment to protected identifier (e.g., register name).
 6105|   115k|    if (isSymbolUsedInExpression(Sym, Value))
  ------------------
  |  Branch (6105:9): [True: 235, False: 114k]
  ------------------
 6106|       |      //return Parser.Error(EqualLoc, "Recursive use of '" + Name + "'");
 6107|    235|      return true;
 6108|   114k|    else if (Sym->isUndefined(/*SetUsed*/ false) && !Sym->isUsed() &&
  ------------------
  |  Branch (6108:14): [True: 110k, False: 3.90k]
  |  Branch (6108:53): [True: 108k, False: 2.59k]
  ------------------
 6109|   108k|             !Sym->isVariable())
  ------------------
  |  Branch (6109:14): [True: 166, False: 108k]
  ------------------
 6110|    166|      ; // Allow redefinitions of undefined symbols only used in directives.
 6111|   114k|    else if (Sym->isVariable() && !Sym->isUsed() && allow_redef)
  ------------------
  |  Branch (6111:14): [True: 114k, False: 201]
  |  Branch (6111:35): [True: 111k, False: 2.94k]
  |  Branch (6111:53): [True: 111k, False: 0]
  ------------------
 6112|   111k|      ; // Allow redefinitions of variables that haven't yet been used.
 6113|  3.14k|    else if (!Sym->isUndefined() && (!Sym->isVariable() || !allow_redef))
  ------------------
  |  Branch (6113:14): [True: 551, False: 2.59k]
  |  Branch (6113:38): [True: 201, False: 350]
  |  Branch (6113:60): [True: 0, False: 350]
  ------------------
 6114|       |      //return Parser.Error(EqualLoc, "redefinition of '" + Name + "'");
 6115|    201|      return true;
 6116|  2.94k|    else if (!Sym->isVariable())
  ------------------
  |  Branch (6116:14): [True: 0, False: 2.94k]
  ------------------
 6117|       |      //return Parser.Error(EqualLoc, "invalid assignment to '" + Name + "'");
 6118|      0|      return true;
 6119|  2.94k|    else if (!isa<MCConstantExpr>(Sym->getVariableValue()))
  ------------------
  |  Branch (6119:14): [True: 2.84k, False: 107]
  ------------------
 6120|       |      //return Parser.Error(EqualLoc,
 6121|       |      //                    "invalid reassignment of non-absolute variable '" +
 6122|       |      //                        Name + "'");
 6123|  2.84k|      return true;
 6124|   115k|  } else if (Name == ".") {
  ------------------
  |  Branch (6124:14): [True: 8.86k, False: 1.87k]
  ------------------
 6125|  8.86k|    Parser.getStreamer().emitValueToOffset(Value, 0);
 6126|  8.86k|    return false;
 6127|  8.86k|  } else {
 6128|  1.87k|    if (Name.empty()) {
  ------------------
  |  Branch (6128:9): [True: 71, False: 1.80k]
  ------------------
 6129|     71|        return true;
 6130|     71|    }
 6131|  1.80k|    Sym = Parser.getContext().getOrCreateSymbol(Name);
 6132|  1.80k|  }
 6133|       |
 6134|   113k|  Sym->setRedefinable(allow_redef);
 6135|       |
 6136|   113k|  return false;
 6137|   125k|}
_ZN7llvm_ks17createMCAsmParserERNS_9SourceMgrERNS_9MCContextERNS_10MCStreamerERKNS_9MCAsmInfoE:
 6144|  17.0k|                                     MCStreamer &Out, const MCAsmInfo &MAI) {
 6145|  17.0k|  return new AsmParser(SM, C, Out, MAI);
 6146|  17.0k|}
AsmParser.cpp:_ZN7llvm_ks13MCParserUtilsL24isSymbolUsedInExpressionEPKNS_8MCSymbolEPKNS_6MCExprE:
 6046|   254k|static bool isSymbolUsedInExpression(const MCSymbol *Sym, const MCExpr *Value) {
 6047|   254k|  switch (Value->getKind()) {
  ------------------
  |  Branch (6047:11): [True: 254k, False: 0]
  ------------------
 6048|  50.0k|  case MCExpr::Binary: {
  ------------------
  |  Branch (6048:3): [True: 50.0k, False: 204k]
  ------------------
 6049|  50.0k|    const MCBinaryExpr *BE = static_cast<const MCBinaryExpr *>(Value);
 6050|  50.0k|    return isSymbolUsedInExpression(Sym, BE->getLHS()) ||
  ------------------
  |  Branch (6050:12): [True: 228, False: 49.7k]
  ------------------
 6051|  49.7k|           isSymbolUsedInExpression(Sym, BE->getRHS());
  ------------------
  |  Branch (6051:12): [True: 29, False: 49.7k]
  ------------------
 6052|      0|  }
 6053|      0|  case MCExpr::Target:
  ------------------
  |  Branch (6053:3): [True: 0, False: 254k]
  ------------------
 6054|  32.4k|  case MCExpr::Constant:
  ------------------
  |  Branch (6054:3): [True: 32.4k, False: 222k]
  ------------------
 6055|  32.4k|    return false;
 6056|   133k|  case MCExpr::SymbolRef: {
  ------------------
  |  Branch (6056:3): [True: 133k, False: 121k]
  ------------------
 6057|   133k|    const MCSymbol &S =
 6058|   133k|        static_cast<const MCSymbolRefExpr *>(Value)->getSymbol();
 6059|   133k|    if (S.isVariable())
  ------------------
  |  Branch (6059:9): [True: 1.49k, False: 132k]
  ------------------
 6060|  1.49k|      return isSymbolUsedInExpression(Sym, S.getVariableValue());
 6061|   132k|    return &S == Sym;
 6062|   133k|  }
 6063|  38.5k|  case MCExpr::Unary:
  ------------------
  |  Branch (6063:3): [True: 38.5k, False: 216k]
  ------------------
 6064|  38.5k|    return isSymbolUsedInExpression(
 6065|  38.5k|        Sym, static_cast<const MCUnaryExpr *>(Value)->getSubExpr());
 6066|   254k|  }
 6067|       |
 6068|      0|  llvm_unreachable("Unknown expr kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 6069|   254k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParserC2ERN7llvm_ks9SourceMgrERNS1_9MCContextERNS1_10MCStreamerERKNS1_9MCAsmInfoE:
  545|  17.0k|    : Lexer(MAI), Ctx(Ctx), Out(Out), MAI(MAI), SrcMgr(SM),
  546|  17.0k|      PlatformParser(nullptr), CurBuffer(SM.getMainFileID()),
  547|  17.0k|      MacrosEnabledFlag(true), HadError(false), CppHashLineNumber(0),
  548|  17.0k|      AssemblerDialect(~0U), IsDarwin(false), ParsingInlineAsm(false),
  549|  17.0k|      NasmDefaultRel(false) {
  550|       |  // Save the old handler.
  551|  17.0k|  SavedDiagHandler = SrcMgr.getDiagHandler();
  552|  17.0k|  SavedDiagContext = SrcMgr.getDiagContext();
  553|       |  // Set our own handler which calls the saved handler.
  554|  17.0k|  SrcMgr.setDiagHandler(DiagHandler, this);
  555|  17.0k|  Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer());
  556|       |
  557|       |  // Initialize the platform / file format parser.
  558|  17.0k|  PlatformParser.reset(createDarwinAsmParser());
  559|  17.0k|  IsDarwin = true;
  560|       |#if 0
  561|       |  switch (Ctx.getObjectFileInfo()->getObjectFileType()) {
  562|       |  case MCObjectFileInfo::IsCOFF:
  563|       |    PlatformParser.reset(createCOFFAsmParser());
  564|       |    break;
  565|       |  case MCObjectFileInfo::IsMachO:
  566|       |    PlatformParser.reset(createDarwinAsmParser());
  567|       |    IsDarwin = true;
  568|       |    break;
  569|       |  case MCObjectFileInfo::IsELF:
  570|       |    PlatformParser.reset(createELFAsmParser());
  571|       |    break;
  572|       |  }
  573|       |#endif
  574|       |
  575|  17.0k|  PlatformParser->Initialize(*this);
  576|  17.0k|  initializeDirectiveKindMap(0);
  577|       |
  578|  17.0k|  NumOfMacroInstantiations = 0;
  579|  17.0k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser11DiagHandlerERKN7llvm_ks12SMDiagnosticEPv:
 2025|  64.8k|void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) {
 2026|  64.8k|  const AsmParser *Parser = static_cast<const AsmParser *>(Context);
 2027|  64.8k|  raw_ostream &OS = errs();
 2028|       |
 2029|  64.8k|  const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr();
 2030|  64.8k|  SMLoc DiagLoc = Diag.getLoc();
 2031|  64.8k|  unsigned DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc);
 2032|  64.8k|  unsigned CppHashBuf =
 2033|  64.8k|      Parser->SrcMgr.FindBufferContainingLoc(Parser->CppHashLoc);
 2034|       |
 2035|       |  // Like SourceMgr::printMessage() we need to print the include stack if any
 2036|       |  // before printing the message.
 2037|  64.8k|  unsigned DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc);
 2038|  64.8k|  if (!Parser->SavedDiagHandler && DiagCurBuffer &&
  ------------------
  |  Branch (2038:7): [True: 64.8k, False: 0]
  |  Branch (2038:36): [True: 64.8k, False: 0]
  ------------------
 2039|  64.8k|      DiagCurBuffer != DiagSrcMgr.getMainFileID()) {
  ------------------
  |  Branch (2039:7): [True: 46.7k, False: 18.1k]
  ------------------
 2040|  46.7k|    SMLoc ParentIncludeLoc = DiagSrcMgr.getParentIncludeLoc(DiagCurBuffer);
 2041|  46.7k|    DiagSrcMgr.PrintIncludeStack(ParentIncludeLoc, OS);
 2042|  46.7k|  }
 2043|       |
 2044|       |  // If we have not parsed a cpp hash line filename comment or the source
 2045|       |  // manager changed or buffer changed (like in a nested include) then just
 2046|       |  // print the normal diagnostic using its Filename and LineNo.
 2047|  64.8k|  if (!Parser->CppHashLineNumber || &DiagSrcMgr != &Parser->SrcMgr ||
  ------------------
  |  Branch (2047:7): [True: 62.7k, False: 2.09k]
  |  Branch (2047:37): [True: 0, False: 2.09k]
  ------------------
 2048|  63.8k|      DiagBuf != CppHashBuf) {
  ------------------
  |  Branch (2048:7): [True: 1.09k, False: 998]
  ------------------
 2049|  63.8k|    if (Parser->SavedDiagHandler)
  ------------------
  |  Branch (2049:9): [True: 0, False: 63.8k]
  ------------------
 2050|      0|      Parser->SavedDiagHandler(Diag, Parser->SavedDiagContext);
 2051|  63.8k|    else
 2052|  63.8k|      Diag.print(nullptr, OS);
 2053|  63.8k|    return;
 2054|  63.8k|  }
 2055|       |
 2056|       |  // Use the CppHashFilename and calculate a line number based on the
 2057|       |  // CppHashLoc and CppHashLineNumber relative to this Diag's SMLoc for
 2058|       |  // the diagnostic.
 2059|    998|  const std::string &Filename = Parser->CppHashFilename;
 2060|       |
 2061|    998|  int DiagLocLineNo = DiagSrcMgr.FindLineNumber(DiagLoc, DiagBuf);
 2062|    998|  int CppHashLocLineNo =
 2063|    998|      Parser->SrcMgr.FindLineNumber(Parser->CppHashLoc, CppHashBuf);
 2064|    998|  int LineNo =
 2065|    998|      Parser->CppHashLineNumber - 1 + (DiagLocLineNo - CppHashLocLineNo);
 2066|       |
 2067|    998|  SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo,
 2068|    998|                       Diag.getColumnNo(), Diag.getKind(), Diag.getMessage(),
 2069|    998|                       Diag.getLineContents(), Diag.getRanges());
 2070|       |
 2071|    998|  if (Parser->SavedDiagHandler)
  ------------------
  |  Branch (2071:7): [True: 0, False: 998]
  ------------------
 2072|      0|    Parser->SavedDiagHandler(NewDiag, Parser->SavedDiagContext);
 2073|    998|  else
 2074|    998|    NewDiag.print(nullptr, OS);
 2075|    998|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParserD2Ev:
  581|  17.0k|AsmParser::~AsmParser() {
  582|  17.0k|  assert((HadError || ActiveMacros.empty()) &&
  ------------------
  |  Branch (582:3): [True: 375, False: 16.6k]
  |  Branch (582:3): [True: 16.6k, False: 0]
  |  Branch (582:3): [True: 17.0k, Folded]
  |  Branch (582:3): [True: 17.0k, False: 0]
  ------------------
  583|  17.0k|         "Unexpected active macro instantiation!");
  584|       |    
  585|       |  // Restore the saved diagnostics handler and context for use during
  586|       |  // finalization
  587|  17.0k|  SrcMgr.setDiagHandler(SavedDiagHandler, SavedDiagContext);  
  588|  17.0k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19addDirectiveHandlerEN7llvm_ks9StringRefENSt3__14pairIPNS1_20MCAsmParserExtensionEPFbS6_S2_NS1_5SMLocEEEE:
  197|  1.12M|                           ExtensionDirectiveHandler Handler) override {
  198|  1.12M|    ExtensionDirectiveMap[Directive] = Handler;
  199|  1.12M|  }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser8getLexerEv:
  210|  13.5M|  MCAsmLexer &getLexer() override { return Lexer; }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser10getContextEv:
  211|  1.74M|  MCContext &getContext() override { return Ctx; }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser11getStreamerEv:
  212|  78.9M|  MCStreamer &getStreamer() override { return Out; }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19getAssemblerDialectEv:
  213|   381k|  unsigned getAssemblerDialect() override {
  214|   381k|    if (AssemblerDialect == ~0U)
  ------------------
  |  Branch (214:9): [True: 381k, False: 123]
  ------------------
  215|   381k|      return MAI.getAssemblerDialect();
  216|    123|    else
  217|    123|      return AssemblerDialect;
  218|   381k|  }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19setAssemblerDialectEj:
  219|     92|  void setAssemblerDialect(unsigned i) override {
  220|     92|    AssemblerDialect = i;
  221|     92|  }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser3RunEbmb:
  675|  17.0k|{
  676|       |  // count number of statement
  677|  17.0k|  size_t count = 0;
  678|       |
  679|       |  // Create the initial section, if requested.
  680|  17.0k|  if (!NoInitialTextSection)
  ------------------
  |  Branch (680:7): [True: 17.0k, False: 0]
  ------------------
  681|  17.0k|    Out.InitSections(false);
  682|       |
  683|       |  // Prime the lexer.
  684|  17.0k|  Lex();
  685|  17.0k|  if (!Lexer.isNot(AsmToken::Error)) {
  ------------------
  |  Branch (685:7): [True: 79, False: 16.9k]
  ------------------
  686|     79|    KsError = KS_ERR_ASM_TOKEN_INVALID;
  687|     79|    return 0;
  688|     79|  }
  689|       |
  690|  16.9k|  HadError = false;
  691|  16.9k|  AsmCond StartingCondState = TheCondState;
  692|       |
  693|       |  // If we are generating dwarf for assembly source files save the initial text
  694|       |  // section and generate a .file directive.
  695|  16.9k|  if (getContext().getGenDwarfForAssembly()) {
  ------------------
  |  Branch (695:7): [True: 0, False: 16.9k]
  ------------------
  696|      0|    MCSection *Sec = getStreamer().getCurrentSection().first;
  697|      0|    if (!Sec->getBeginSymbol()) {
  ------------------
  |  Branch (697:9): [True: 0, False: 0]
  ------------------
  698|      0|      MCSymbol *SectionStartSym = getContext().createTempSymbol();
  699|      0|      getStreamer().EmitLabel(SectionStartSym);
  700|      0|      Sec->setBeginSymbol(SectionStartSym);
  701|      0|    }
  702|      0|    bool InsertResult = getContext().addGenDwarfSection(Sec);
  703|      0|    assert(InsertResult && ".text section should not have debug info yet");
  ------------------
  |  Branch (703:5): [True: 0, False: 0]
  |  Branch (703:5): [True: 0, Folded]
  |  Branch (703:5): [True: 0, False: 0]
  ------------------
  704|      0|    (void)InsertResult;
  705|      0|    getContext().setGenDwarfFileNumber(getStreamer().EmitDwarfFileDirective(
  706|      0|        0, StringRef(), getContext().getMainFileName()));
  707|      0|  }
  708|       |
  709|       |  // While we have input, parse each statement.
  710|  7.05M|  while (Lexer.isNot(AsmToken::Eof)) {
  ------------------
  |  Branch (710:10): [True: 7.04M, False: 8.72k]
  ------------------
  711|  7.04M|    ParseStatementInfo Info;
  712|  7.04M|    if (!parseStatement(Info, nullptr, Address)) {
  ------------------
  |  Branch (712:9): [True: 6.34M, False: 691k]
  ------------------
  713|  6.34M|      count++;
  714|  6.34M|      continue;
  715|  6.34M|    }
  716|       |
  717|       |    //printf(">> 222 error = %u\n", Info.KsError);
  718|   691k|    if (!KsError) {
  ------------------
  |  Branch (718:9): [True: 8.24k, False: 683k]
  ------------------
  719|  8.24k|        KsError = Info.KsError;
  720|  8.24k|        return 0;
  721|  8.24k|    }
  722|       |
  723|       |    // We had an error, validate that one was emitted and recover by skipping to
  724|       |    // the next line.
  725|       |    // assert(HadError && "Parse statement returned an error, but none emitted!");
  726|       |
  727|       |    //eatToEndOfStatement();
  728|   691k|  }
  729|       |
  730|  8.72k|  if (TheCondState.TheCond != StartingCondState.TheCond ||
  ------------------
  |  Branch (730:7): [True: 747, False: 7.97k]
  ------------------
  731|  7.97k|      TheCondState.Ignore != StartingCondState.Ignore) {
  ------------------
  |  Branch (731:7): [True: 0, False: 7.97k]
  ------------------
  732|       |    //return TokError("unmatched .ifs or .elses");
  733|    747|    KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
  734|    747|    return 0;
  735|    747|  }
  736|       |
  737|       |  // Check to see that all assembler local symbols were actually defined.
  738|       |  // Targets that don't do subsections via symbols may not want this, though,
  739|       |  // so conservatively exclude them. Only do this if we're finalizing, though,
  740|       |  // as otherwise we won't necessarilly have seen everything yet.
  741|  7.97k|  if (!NoFinalize && MAI.hasSubsectionsViaSymbols()) {
  ------------------
  |  Branch (741:7): [True: 7.97k, False: 0]
  |  Branch (741:22): [True: 0, False: 7.97k]
  ------------------
  742|      0|    for (const auto &TableEntry : getContext().getSymbols()) {
  ------------------
  |  Branch (742:33): [True: 0, False: 0]
  ------------------
  743|      0|      MCSymbol *Sym = TableEntry.getValue();
  744|       |      // Variable symbols may not be marked as defined, so check those
  745|       |      // explicitly. If we know it's a variable, we have a definition for
  746|       |      // the purposes of this check.
  747|      0|      if (Sym->isTemporary() && !Sym->isVariable() && !Sym->isDefined()) {
  ------------------
  |  Branch (747:11): [True: 0, False: 0]
  |  Branch (747:33): [True: 0, False: 0]
  |  Branch (747:55): [True: 0, False: 0]
  ------------------
  748|       |        // FIXME: We would really like to refer back to where the symbol was
  749|       |        // first referenced for a source location. We need to add something
  750|       |        // to track that. Currently, we just point to the end of the file.
  751|       |        //return Error(getLexer().getLoc(), "assembler local symbol '" +
  752|       |        //                                      Sym->getName() + "' not defined");    // qq: set KsError, then return 0
  753|      0|        KsError = KS_ERR_ASM_SYMBOL_MISSING;
  754|      0|        return 0;
  755|      0|      }
  756|      0|    }
  757|      0|  }
  758|       |
  759|       |  // Finalize the output stream if there are no errors and if the client wants
  760|       |  // us to.
  761|  7.97k|  if (!KsError) {
  ------------------
  |  Branch (761:7): [True: 5.97k, False: 2.00k]
  ------------------
  762|  5.97k|      if (!HadError && !NoFinalize)
  ------------------
  |  Branch (762:11): [True: 5.88k, False: 83]
  |  Branch (762:24): [True: 5.88k, False: 0]
  ------------------
  763|  5.88k|          KsError = Out.Finish();
  764|  5.97k|  } else
  765|  2.00k|      Out.Finish();
  766|       |
  767|       |  //return HadError || getContext().hadError();
  768|  7.97k|  return count;
  769|  7.97k|}
AsmParser.cpp:_ZN12_GLOBAL__N_118ParseStatementInfoC2Ev:
  114|  7.04M|  ParseStatementInfo() : KsError(0), Opcode(~0U), ParseError(false), AsmRewrites(nullptr) {}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser14parseStatementERNS_18ParseStatementInfoEPN7llvm_ks23MCAsmParserSemaCallbackERm:
 1449|  7.04M|{
 1450|  7.04M|  KsError = 0;
 1451|  7.04M|  if (Lexer.is(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (1451:7): [True: 6.03M, False: 1.00M]
  ------------------
 1452|  6.03M|    Out.AddBlankLine();
 1453|  6.03M|    Lex();
 1454|  6.03M|    return false;
 1455|  6.03M|  }
 1456|       |
 1457|       |  // Statements always start with an identifier or are a full line comment.
 1458|  1.00M|  AsmToken ID = getTok();
 1459|       |  //printf(">>> parseStatement:ID = %s\n", ID.getString().str().c_str());
 1460|  1.00M|  SMLoc IDLoc = ID.getLoc();
 1461|  1.00M|  StringRef IDVal;
 1462|  1.00M|  int64_t LocalLabelVal = -1;
 1463|       |  // A full line comment is a '#' as the first token.
 1464|  1.00M|  if (Lexer.is(AsmToken::Hash))
  ------------------
  |  Branch (1464:7): [True: 29.0k, False: 974k]
  ------------------
 1465|  29.0k|    return parseCppHashLineFilenameComment(IDLoc);
 1466|       |
 1467|       |  // Allow an integer followed by a ':' as a directional local label.
 1468|   974k|  if (Lexer.is(AsmToken::Integer)) {
  ------------------
  |  Branch (1468:7): [True: 2.02k, False: 971k]
  ------------------
 1469|  2.02k|    bool valid;
 1470|  2.02k|    LocalLabelVal = getTok().getIntVal(valid);
 1471|  2.02k|    if (!valid) {
  ------------------
  |  Branch (1471:9): [True: 0, False: 2.02k]
  ------------------
 1472|      0|        return true;
 1473|      0|    }
 1474|  2.02k|    if (LocalLabelVal < 0) {
  ------------------
  |  Branch (1474:9): [True: 263, False: 1.75k]
  ------------------
 1475|    263|      if (!TheCondState.Ignore) {
  ------------------
  |  Branch (1475:11): [True: 63, False: 200]
  ------------------
 1476|       |        // return TokError("unexpected token at start of statement");
 1477|     63|        Info.KsError = KS_ERR_ASM_STAT_TOKEN;
 1478|     63|        return true;
 1479|     63|      }
 1480|    200|      IDVal = "";
 1481|  1.75k|    } else {
 1482|  1.75k|      IDVal = getTok().getString();
 1483|  1.75k|      Lex(); // Consume the integer token to be used as an identifier token.
 1484|  1.75k|      if (Lexer.getKind() != AsmToken::Colon) {
  ------------------
  |  Branch (1484:11): [True: 1.18k, False: 569]
  ------------------
 1485|  1.18k|        if (!TheCondState.Ignore) {
  ------------------
  |  Branch (1485:13): [True: 350, False: 839]
  ------------------
 1486|       |          // return TokError("unexpected token at start of statement");
 1487|    350|          Info.KsError = KS_ERR_ASM_STAT_TOKEN;
 1488|    350|          return true;
 1489|    350|        }
 1490|  1.18k|      }
 1491|  1.75k|    }
 1492|   971k|  } else if (Lexer.is(AsmToken::Dot)) {
  ------------------
  |  Branch (1492:14): [True: 27.7k, False: 944k]
  ------------------
 1493|       |    // Treat '.' as a valid identifier in this context.
 1494|  27.7k|    Lex();
 1495|  27.7k|    IDVal = ".";
 1496|   944k|  } else if (Lexer.is(AsmToken::LCurly)) {
  ------------------
  |  Branch (1496:14): [True: 1.37k, False: 942k]
  ------------------
 1497|       |    // Treat '{' as a valid identifier in this context.
 1498|  1.37k|    Lex();
 1499|  1.37k|    IDVal = "{";
 1500|   942k|  } else if (Lexer.is(AsmToken::RCurly)) {
  ------------------
  |  Branch (1500:14): [True: 1.78k, False: 941k]
  ------------------
 1501|       |    // Treat '}' as a valid identifier in this context.
 1502|  1.78k|    Lex();
 1503|  1.78k|    IDVal = "}";
 1504|   941k|  } else if (KsSyntax == KS_OPT_SYNTAX_NASM && Lexer.is(AsmToken::LBrac)) {
  ------------------
  |  Branch (1504:14): [True: 828, False: 940k]
  |  Branch (1504:48): [True: 2, False: 826]
  ------------------
 1505|       |    // [bits xx]
 1506|      2|    Lex();
 1507|      2|    ID = Lexer.getTok();
 1508|      2|    if (ID.getString().lower() == "bits") {
  ------------------
  |  Branch (1508:9): [True: 0, False: 2]
  ------------------
 1509|      0|        Lex();
 1510|      0|        if (parseNasmDirectiveBits()) {
  ------------------
  |  Branch (1510:13): [True: 0, False: 0]
  ------------------
 1511|      0|            Info.KsError = KS_ERR_ASM_DIRECTIVE_ID;
 1512|      0|            return true;
 1513|      0|        } else {
 1514|      0|            return false;
 1515|      0|        }
 1516|      2|    } else {
 1517|      2|        Info.KsError = KS_ERR_ASM_DIRECTIVE_ID;
 1518|      2|        return true;
 1519|      2|    }
 1520|   941k|  } else if (KsSyntax == KS_OPT_SYNTAX_NASM && isNasmDirective(ID.getString())) {
  ------------------
  |  Branch (1520:14): [True: 826, False: 940k]
  |  Branch (1520:14): [True: 177, False: 940k]
  |  Branch (1520:48): [True: 177, False: 649]
  ------------------
 1521|    177|      Lex();
 1522|    177|      IDVal = ID.getString();
 1523|   940k|  } else if (parseIdentifier(IDVal)) {
  ------------------
  |  Branch (1523:14): [True: 10.9k, False: 929k]
  ------------------
 1524|  10.9k|    if (!TheCondState.Ignore) {
  ------------------
  |  Branch (1524:9): [True: 8.03k, False: 2.95k]
  ------------------
 1525|       |      // return TokError("unexpected token at start of statement");
 1526|  8.03k|      Info.KsError = KS_ERR_ASM_STAT_TOKEN;
 1527|  8.03k|      return true;
 1528|  8.03k|    }
 1529|  2.95k|    IDVal = "";
 1530|  2.95k|  }
 1531|       |
 1532|       |  // Handle conditional assembly here before checking for skipping.  We
 1533|       |  // have to do this so that .endif isn't skipped in a ".if 0" block for
 1534|       |  // example.
 1535|       |
 1536|   965k|  StringMap<DirectiveKind>::const_iterator DirKindIt =
 1537|   965k|      DirectiveKindMap.find(IDVal.lower());
 1538|   965k|  DirectiveKind DirKind = (DirKindIt == DirectiveKindMap.end())
  ------------------
  |  Branch (1538:27): [True: 552k, False: 413k]
  ------------------
 1539|   965k|                              ? DK_NO_DIRECTIVE
 1540|   965k|                              : DirKindIt->getValue();
 1541|   965k|  switch (DirKind) {
 1542|   722k|  default:
  ------------------
  |  Branch (1542:3): [True: 722k, False: 242k]
  ------------------
 1543|   722k|    break;
 1544|   722k|  case DK_IF:
  ------------------
  |  Branch (1544:3): [True: 1.15k, False: 964k]
  ------------------
 1545|  1.47k|  case DK_IFEQ:
  ------------------
  |  Branch (1545:3): [True: 321, False: 965k]
  ------------------
 1546|  1.58k|  case DK_IFGE:
  ------------------
  |  Branch (1546:3): [True: 115, False: 965k]
  ------------------
 1547|  2.09k|  case DK_IFGT:
  ------------------
  |  Branch (1547:3): [True: 510, False: 965k]
  ------------------
 1548|  2.76k|  case DK_IFLE:
  ------------------
  |  Branch (1548:3): [True: 666, False: 964k]
  ------------------
 1549|  3.15k|  case DK_IFLT:
  ------------------
  |  Branch (1549:3): [True: 387, False: 965k]
  ------------------
 1550|  3.27k|  case DK_IFNE:
  ------------------
  |  Branch (1550:3): [True: 121, False: 965k]
  ------------------
 1551|  3.27k|    return parseDirectiveIf(IDLoc, DirKind);
 1552|    833|  case DK_IFB:
  ------------------
  |  Branch (1552:3): [True: 833, False: 964k]
  ------------------
 1553|    833|    return parseDirectiveIfb(IDLoc, true);
 1554|  3.92k|  case DK_IFNB:
  ------------------
  |  Branch (1554:3): [True: 3.92k, False: 961k]
  ------------------
 1555|  3.92k|    return parseDirectiveIfb(IDLoc, false);
 1556|  1.01k|  case DK_IFC:
  ------------------
  |  Branch (1556:3): [True: 1.01k, False: 964k]
  ------------------
 1557|  1.01k|    return parseDirectiveIfc(IDLoc, true);
 1558|     42|  case DK_IFEQS:
  ------------------
  |  Branch (1558:3): [True: 42, False: 965k]
  ------------------
 1559|     42|    return parseDirectiveIfeqs(IDLoc, true);
 1560|   228k|  case DK_IFNC:
  ------------------
  |  Branch (1560:3): [True: 228k, False: 737k]
  ------------------
 1561|   228k|    return parseDirectiveIfc(IDLoc, false);
 1562|  2.23k|  case DK_IFNES:
  ------------------
  |  Branch (1562:3): [True: 2.23k, False: 963k]
  ------------------
 1563|  2.23k|    return parseDirectiveIfeqs(IDLoc, false);
 1564|    222|  case DK_IFDEF:
  ------------------
  |  Branch (1564:3): [True: 222, False: 965k]
  ------------------
 1565|    222|    return parseDirectiveIfdef(IDLoc, true);
 1566|    570|  case DK_IFNDEF:
  ------------------
  |  Branch (1566:3): [True: 570, False: 964k]
  ------------------
 1567|    570|  case DK_IFNOTDEF:
  ------------------
  |  Branch (1567:3): [True: 0, False: 965k]
  ------------------
 1568|    570|    return parseDirectiveIfdef(IDLoc, false);
 1569|  1.08k|  case DK_ELSEIF:
  ------------------
  |  Branch (1569:3): [True: 1.08k, False: 964k]
  ------------------
 1570|  1.08k|    return parseDirectiveElseIf(IDLoc);
 1571|  1.11k|  case DK_ELSE:
  ------------------
  |  Branch (1571:3): [True: 1.11k, False: 964k]
  ------------------
 1572|  1.11k|    return parseDirectiveElse(IDLoc);
 1573|    631|  case DK_ENDIF:
  ------------------
  |  Branch (1573:3): [True: 631, False: 964k]
  ------------------
 1574|    631|    return parseDirectiveEndIf(IDLoc);
 1575|   965k|  }
 1576|       |
 1577|       |  // Ignore the statement if in the middle of inactive conditional
 1578|       |  // (e.g. ".if 0").
 1579|   722k|  if (TheCondState.Ignore) {
  ------------------
  |  Branch (1579:7): [True: 5.85k, False: 716k]
  ------------------
 1580|  5.85k|    eatToEndOfStatement();
 1581|  5.85k|    return false;
 1582|  5.85k|  }
 1583|       |
 1584|       |  // FIXME: Recurse on local labels?
 1585|       |
 1586|       |  // See what kind of statement we have.
 1587|   716k|  switch (Lexer.getKind()) {
 1588|    506|  case AsmToken::Colon: {
  ------------------
  |  Branch (1588:3): [True: 506, False: 716k]
  ------------------
 1589|    506|    bool valid;
 1590|    506|    if (!getTargetParser().isLabel(ID, valid))
  ------------------
  |  Branch (1590:9): [True: 0, False: 506]
  ------------------
 1591|      0|      break;
 1592|    506|    if (!valid) {
  ------------------
  |  Branch (1592:9): [True: 0, False: 506]
  ------------------
 1593|      0|        Info.KsError = KS_ERR_ASM_LABEL_INVALID;
 1594|      0|        return true;
 1595|      0|    }
 1596|    506|    checkForValidSection();
 1597|       |
 1598|       |    // identifier ':'   -> Label.
 1599|    506|    Lex();
 1600|       |
 1601|       |    // Diagnose attempt to use '.' as a label.
 1602|    506|    if (IDVal == ".") {
  ------------------
  |  Branch (1602:9): [True: 239, False: 267]
  ------------------
 1603|       |      //return Error(IDLoc, "invalid use of pseudo-symbol '.' as a label");
 1604|    239|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 1605|    239|      return true;
 1606|    239|    }
 1607|       |
 1608|       |    // Diagnose attempt to use a variable as a label.
 1609|       |    //
 1610|       |    // FIXME: Diagnostics. Note the location of the definition as a label.
 1611|       |    // FIXME: This doesn't diagnose assignment to a symbol which has been
 1612|       |    // implicitly marked as external.
 1613|    267|    MCSymbol *Sym;
 1614|    267|    if (LocalLabelVal == -1) {
  ------------------
  |  Branch (1614:9): [True: 204, False: 63]
  ------------------
 1615|    204|      if (ParsingInlineAsm && SI) {
  ------------------
  |  Branch (1615:11): [True: 0, False: 204]
  |  Branch (1615:31): [True: 0, False: 0]
  ------------------
 1616|      0|        StringRef RewrittenLabel =
 1617|      0|            SI->LookupInlineAsmLabel(IDVal, getSourceManager(), IDLoc, true);
 1618|      0|        assert(RewrittenLabel.size() &&
  ------------------
  |  Branch (1618:9): [True: 0, False: 0]
  |  Branch (1618:9): [True: 0, Folded]
  |  Branch (1618:9): [True: 0, False: 0]
  ------------------
 1619|      0|               "We should have an internal name here.");
 1620|      0|        Info.AsmRewrites->emplace_back(AOK_Label, IDLoc, IDVal.size(),
 1621|      0|                                       RewrittenLabel);
 1622|      0|        IDVal = RewrittenLabel;
 1623|      0|      }
 1624|    204|      if (IDVal.empty()) {
  ------------------
  |  Branch (1624:11): [True: 1, False: 203]
  ------------------
 1625|      1|          return true;
 1626|      1|      }
 1627|    203|      Sym = getContext().getOrCreateSymbol(IDVal);
 1628|    203|    } else {
 1629|     63|      bool valid;
 1630|     63|      Sym = Ctx.createDirectionalLocalSymbol(LocalLabelVal, valid);
 1631|     63|      if (!valid) {
  ------------------
  |  Branch (1631:11): [True: 63, False: 0]
  ------------------
 1632|     63|          Info.KsError = KS_ERR_ASM_LABEL_INVALID;
 1633|     63|          return true;
 1634|     63|      }
 1635|     63|    }
 1636|       |
 1637|    203|    Sym->redefineIfPossible();
 1638|       |
 1639|    203|    if (!Sym->isUndefined() || Sym->isVariable()) {
  ------------------
  |  Branch (1639:9): [True: 8, False: 195]
  |  Branch (1639:32): [True: 0, False: 195]
  ------------------
 1640|       |      //return Error(IDLoc, "invalid symbol redefinition");
 1641|      8|      Info.KsError = KS_ERR_ASM_SYMBOL_REDEFINED;
 1642|      8|      return true;
 1643|      8|    }
 1644|       |
 1645|       |    // Emit the label.
 1646|    195|    if (!ParsingInlineAsm)
  ------------------
  |  Branch (1646:9): [True: 195, False: 0]
  ------------------
 1647|    195|      Out.EmitLabel(Sym);
 1648|       |
 1649|    195|    getTargetParser().onLabelParsed(Sym);
 1650|       |
 1651|       |    // Consume any end of statement token, if present, to avoid spurious
 1652|       |    // AddBlankLine calls().
 1653|    195|    if (Lexer.is(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (1653:9): [True: 41, False: 154]
  ------------------
 1654|     41|      Lex();
 1655|     41|      if (Lexer.is(AsmToken::Eof))
  ------------------
  |  Branch (1655:11): [True: 18, False: 23]
  ------------------
 1656|     18|        return false;
 1657|     41|    }
 1658|       |
 1659|    177|    return false;
 1660|    195|  }
 1661|       |
 1662|   356k|  case AsmToken::Equal:
  ------------------
  |  Branch (1662:3): [True: 356k, False: 360k]
  ------------------
 1663|   356k|    if (!getTargetParser().equalIsAsmAssignment())
  ------------------
  |  Branch (1663:9): [True: 0, False: 356k]
  ------------------
 1664|      0|      break;
 1665|       |    // identifier '=' ... -> assignment statement
 1666|   356k|    Lex();
 1667|       |
 1668|   356k|    if (parseAssignment(IDVal, true)) {
  ------------------
  |  Branch (1668:9): [True: 234k, False: 122k]
  ------------------
 1669|   234k|        Info.KsError = KS_ERR_ASM_DIRECTIVE_EQU;
 1670|   234k|        return true;
 1671|   234k|    }
 1672|   122k|    return false;
 1673|       |
 1674|   359k|  default: // Normal instruction or directive.
  ------------------
  |  Branch (1674:3): [True: 359k, False: 357k]
  ------------------
 1675|   359k|    break;
 1676|   716k|  }
 1677|       |
 1678|       |  // If macros are enabled, check to see if this is a macro instantiation.
 1679|   359k|  if (areMacrosEnabled())
  ------------------
  |  Branch (1679:7): [True: 359k, False: 0]
  ------------------
 1680|   359k|    if (const MCAsmMacro *M = lookupMacro(IDVal)) {
  ------------------
  |  Branch (1680:27): [True: 24.5k, False: 335k]
  ------------------
 1681|  24.5k|      return handleMacroEntry(M, IDLoc);
 1682|  24.5k|    }
 1683|       |
 1684|       |  // Otherwise, we have a normal instruction or directive.
 1685|   335k|  if (isDirective(IDVal)) {
  ------------------
  |  Branch (1685:7): [True: 260k, False: 74.7k]
  ------------------
 1686|       |    // There are several entities interested in parsing directives:
 1687|       |    //
 1688|       |    // 1. The target-specific assembly parser. Some directives are target
 1689|       |    //    specific or may potentially behave differently on certain targets.
 1690|       |    // 2. Asm parser extensions. For example, platform-specific parsers
 1691|       |    //    (like the ELF parser) register themselves as extensions.
 1692|       |    // 3. The generic directive parser implemented by this class. These are
 1693|       |    //    all the directives that behave in a target and platform independent
 1694|       |    //    manner, or at least have a default behavior that's shared between
 1695|       |    //    all targets and platforms.
 1696|       |
 1697|       |    // First query the target-specific parser. It will return 'true' if it
 1698|       |    // isn't interested in this directive.
 1699|   260k|      uint64_t BytesInFragment = getStreamer().getCurrentFragmentSize();
 1700|   260k|      if (!getTargetParser().ParseDirective(ID)){
  ------------------
  |  Branch (1700:11): [True: 20.9k, False: 239k]
  ------------------
 1701|       |        // increment the address for the next statement if the directive
 1702|       |        // has emitted any value to the streamer.
 1703|  20.9k|        Address += getStreamer().getCurrentFragmentSize() - BytesInFragment;
 1704|  20.9k|        return false;
 1705|  20.9k|        }
 1706|       |
 1707|       |    // Next, check the extension directive map to see if any extension has
 1708|       |    // registered itself to parse this directive.
 1709|   239k|    std::pair<MCAsmParserExtension *, DirectiveHandler> Handler =
 1710|   239k|        ExtensionDirectiveMap.lookup(IDVal);
 1711|   239k|    if (Handler.first)
  ------------------
  |  Branch (1711:9): [True: 6.09k, False: 233k]
  ------------------
 1712|  6.09k|      return (*Handler.second)(Handler.first, IDVal, IDLoc);
 1713|       |
 1714|       |    // Finally, if no one else is interested in this directive, it must be
 1715|       |    // generic and familiar to this class.
 1716|   233k|    switch (DirKind) {
 1717|  62.9k|    default:
  ------------------
  |  Branch (1717:5): [True: 62.9k, False: 170k]
  ------------------
 1718|  62.9k|      break;
 1719|  62.9k|    case DK_SET:
  ------------------
  |  Branch (1719:5): [True: 1.03k, False: 232k]
  ------------------
 1720|  1.03k|    case DK_EQU:
  ------------------
  |  Branch (1720:5): [True: 1, False: 233k]
  ------------------
 1721|  1.03k|      return parseDirectiveSet(IDVal, true);
 1722|      0|    case DK_EQUIV:
  ------------------
  |  Branch (1722:5): [True: 0, False: 233k]
  ------------------
 1723|      0|      return parseDirectiveSet(IDVal, false);
 1724|     96|    case DK_ASCII:
  ------------------
  |  Branch (1724:5): [True: 96, False: 233k]
  ------------------
 1725|     96|      return parseDirectiveAscii(IDVal, false);
 1726|    229|    case DK_ASCIZ:
  ------------------
  |  Branch (1726:5): [True: 229, False: 233k]
  ------------------
 1727|    754|    case DK_STRING:
  ------------------
  |  Branch (1727:5): [True: 525, False: 232k]
  ------------------
 1728|    754|      return parseDirectiveAscii(IDVal, true);
 1729|    429|    case DK_BYTE:
  ------------------
  |  Branch (1729:5): [True: 429, False: 232k]
  ------------------
 1730|    429|      return parseDirectiveValue(1, Info.KsError);
 1731|     90|    case DK_SHORT:
  ------------------
  |  Branch (1731:5): [True: 90, False: 233k]
  ------------------
 1732|     93|    case DK_VALUE:
  ------------------
  |  Branch (1732:5): [True: 3, False: 233k]
  ------------------
 1733|    232|    case DK_2BYTE:
  ------------------
  |  Branch (1733:5): [True: 139, False: 233k]
  ------------------
 1734|    232|      return parseDirectiveValue(2, Info.KsError);
 1735|    138|    case DK_LONG:
  ------------------
  |  Branch (1735:5): [True: 138, False: 233k]
  ------------------
 1736|  1.22k|    case DK_INT:
  ------------------
  |  Branch (1736:5): [True: 1.09k, False: 232k]
  ------------------
 1737|  1.46k|    case DK_4BYTE:
  ------------------
  |  Branch (1737:5): [True: 233, False: 233k]
  ------------------
 1738|  1.46k|      return parseDirectiveValue(4, Info.KsError);
 1739|     54|    case DK_QUAD:
  ------------------
  |  Branch (1739:5): [True: 54, False: 233k]
  ------------------
 1740|    386|    case DK_8BYTE:
  ------------------
  |  Branch (1740:5): [True: 332, False: 233k]
  ------------------
 1741|    386|      return parseDirectiveValue(8, Info.KsError);
 1742|    290|    case DK_OCTA:
  ------------------
  |  Branch (1742:5): [True: 290, False: 233k]
  ------------------
 1743|    290|      return parseDirectiveOctaValue(Info.KsError);
 1744|     88|    case DK_SINGLE:
  ------------------
  |  Branch (1744:5): [True: 88, False: 233k]
  ------------------
 1745|  2.01k|    case DK_FLOAT:
  ------------------
  |  Branch (1745:5): [True: 1.92k, False: 231k]
  ------------------
 1746|  2.01k|      return parseDirectiveRealValue(APFloat::IEEEsingle);
 1747|      1|    case DK_DOUBLE:
  ------------------
  |  Branch (1747:5): [True: 1, False: 233k]
  ------------------
 1748|      1|      return parseDirectiveRealValue(APFloat::IEEEdouble);
 1749|  17.9k|    case DK_ALIGN: {
  ------------------
  |  Branch (1749:5): [True: 17.9k, False: 215k]
  ------------------
 1750|  17.9k|      bool IsPow2 = !getContext().getAsmInfo()->getAlignmentIsInBytes();
 1751|  17.9k|      return parseDirectiveAlign(IsPow2, /*ExprSize=*/1);
 1752|     88|    }
 1753|     88|    case DK_ALIGN32: {
  ------------------
  |  Branch (1753:5): [True: 88, False: 233k]
  ------------------
 1754|     88|      bool IsPow2 = !getContext().getAsmInfo()->getAlignmentIsInBytes();
 1755|     88|      return parseDirectiveAlign(IsPow2, /*ExprSize=*/4);
 1756|     88|    }
 1757|    140|    case DK_BALIGN:
  ------------------
  |  Branch (1757:5): [True: 140, False: 233k]
  ------------------
 1758|    140|      return parseDirectiveAlign(/*IsPow2=*/false, /*ExprSize=*/1);
 1759|    133|    case DK_BALIGNW:
  ------------------
  |  Branch (1759:5): [True: 133, False: 233k]
  ------------------
 1760|    133|      return parseDirectiveAlign(/*IsPow2=*/false, /*ExprSize=*/2);
 1761|    101|    case DK_BALIGNL:
  ------------------
  |  Branch (1761:5): [True: 101, False: 233k]
  ------------------
 1762|    101|      return parseDirectiveAlign(/*IsPow2=*/false, /*ExprSize=*/4);
 1763|      0|    case DK_P2ALIGN:
  ------------------
  |  Branch (1763:5): [True: 0, False: 233k]
  ------------------
 1764|      0|      return parseDirectiveAlign(/*IsPow2=*/true, /*ExprSize=*/1);
 1765|      0|    case DK_P2ALIGNW:
  ------------------
  |  Branch (1765:5): [True: 0, False: 233k]
  ------------------
 1766|      0|      return parseDirectiveAlign(/*IsPow2=*/true, /*ExprSize=*/2);
 1767|      0|    case DK_P2ALIGNL:
  ------------------
  |  Branch (1767:5): [True: 0, False: 233k]
  ------------------
 1768|      0|      return parseDirectiveAlign(/*IsPow2=*/true, /*ExprSize=*/4);
 1769|    654|    case DK_ORG:
  ------------------
  |  Branch (1769:5): [True: 654, False: 232k]
  ------------------
 1770|    654|      return parseDirectiveOrg();
 1771|  10.0k|    case DK_FILL:
  ------------------
  |  Branch (1771:5): [True: 10.0k, False: 223k]
  ------------------
 1772|  10.0k|      return parseDirectiveFill();
 1773|  5.78k|    case DK_ZERO:
  ------------------
  |  Branch (1773:5): [True: 5.78k, False: 227k]
  ------------------
 1774|  5.78k|      return parseDirectiveZero();
 1775|      0|    case DK_EXTERN:
  ------------------
  |  Branch (1775:5): [True: 0, False: 233k]
  ------------------
 1776|      0|      eatToEndOfStatement(); // .extern is the default, ignore it.
 1777|      0|      return false;
 1778|     77|    case DK_GLOBL:
  ------------------
  |  Branch (1778:5): [True: 77, False: 233k]
  ------------------
 1779|     90|    case DK_GLOBAL:
  ------------------
  |  Branch (1779:5): [True: 13, False: 233k]
  ------------------
 1780|     90|      return parseDirectiveSymbolAttribute(MCSA_Global);
 1781|      0|    case DK_LAZY_REFERENCE:
  ------------------
  |  Branch (1781:5): [True: 0, False: 233k]
  ------------------
 1782|      0|      return parseDirectiveSymbolAttribute(MCSA_LazyReference);
 1783|      0|    case DK_NO_DEAD_STRIP:
  ------------------
  |  Branch (1783:5): [True: 0, False: 233k]
  ------------------
 1784|      0|      return parseDirectiveSymbolAttribute(MCSA_NoDeadStrip);
 1785|      0|    case DK_SYMBOL_RESOLVER:
  ------------------
  |  Branch (1785:5): [True: 0, False: 233k]
  ------------------
 1786|      0|      return parseDirectiveSymbolAttribute(MCSA_SymbolResolver);
 1787|      0|    case DK_PRIVATE_EXTERN:
  ------------------
  |  Branch (1787:5): [True: 0, False: 233k]
  ------------------
 1788|      0|      return parseDirectiveSymbolAttribute(MCSA_PrivateExtern);
 1789|      0|    case DK_REFERENCE:
  ------------------
  |  Branch (1789:5): [True: 0, False: 233k]
  ------------------
 1790|      0|      return parseDirectiveSymbolAttribute(MCSA_Reference);
 1791|      0|    case DK_WEAK_DEFINITION:
  ------------------
  |  Branch (1791:5): [True: 0, False: 233k]
  ------------------
 1792|      0|      return parseDirectiveSymbolAttribute(MCSA_WeakDefinition);
 1793|      0|    case DK_WEAK_REFERENCE:
  ------------------
  |  Branch (1793:5): [True: 0, False: 233k]
  ------------------
 1794|      0|      return parseDirectiveSymbolAttribute(MCSA_WeakReference);
 1795|      0|    case DK_WEAK_DEF_CAN_BE_HIDDEN:
  ------------------
  |  Branch (1795:5): [True: 0, False: 233k]
  ------------------
 1796|      0|      return parseDirectiveSymbolAttribute(MCSA_WeakDefAutoPrivate);
 1797|  1.79k|    case DK_COMM:
  ------------------
  |  Branch (1797:5): [True: 1.79k, False: 231k]
  ------------------
 1798|  1.80k|    case DK_COMMON:
  ------------------
  |  Branch (1798:5): [True: 10, False: 233k]
  ------------------
 1799|  1.80k|      return parseDirectiveComm(/*IsLocal=*/false);
 1800|    903|    case DK_LCOMM:
  ------------------
  |  Branch (1800:5): [True: 903, False: 232k]
  ------------------
 1801|    903|      return parseDirectiveComm(/*IsLocal=*/true);
 1802|      7|    case DK_ABORT:
  ------------------
  |  Branch (1802:5): [True: 7, False: 233k]
  ------------------
 1803|      7|      return parseDirectiveAbort();
 1804|    157|    case DK_INCLUDE:
  ------------------
  |  Branch (1804:5): [True: 157, False: 233k]
  ------------------
 1805|    157|      return parseDirectiveInclude();
 1806|      0|    case DK_INCBIN:
  ------------------
  |  Branch (1806:5): [True: 0, False: 233k]
  ------------------
 1807|      0|      return parseDirectiveIncbin();
 1808|      1|    case DK_CODE16:
  ------------------
  |  Branch (1808:5): [True: 1, False: 233k]
  ------------------
 1809|      1|    case DK_CODE16GCC:
  ------------------
  |  Branch (1809:5): [True: 0, False: 233k]
  ------------------
 1810|       |      // return TokError(Twine(IDVal) + " not supported yet");
 1811|      1|      Info.KsError = KS_ERR_ASM_UNSUPPORTED;
 1812|      1|      return true;
 1813|  71.3k|    case DK_REPT:
  ------------------
  |  Branch (1813:5): [True: 71.3k, False: 161k]
  ------------------
 1814|  71.3k|      return parseDirectiveRept(IDLoc, IDVal);
 1815|  2.46k|    case DK_IRP:
  ------------------
  |  Branch (1815:5): [True: 2.46k, False: 230k]
  ------------------
 1816|  2.46k|      return parseDirectiveIrp(IDLoc);
 1817|  2.78k|    case DK_IRPC:
  ------------------
  |  Branch (1817:5): [True: 2.78k, False: 230k]
  ------------------
 1818|  2.78k|      return parseDirectiveIrpc(IDLoc);
 1819|  2.82k|    case DK_ENDR:
  ------------------
  |  Branch (1819:5): [True: 2.82k, False: 230k]
  ------------------
 1820|  2.82k|      return parseDirectiveEndr(IDLoc);
 1821|      3|    case DK_BUNDLE_ALIGN_MODE:
  ------------------
  |  Branch (1821:5): [True: 3, False: 233k]
  ------------------
 1822|      3|      return parseDirectiveBundleAlignMode();
 1823|      0|    case DK_BUNDLE_LOCK:
  ------------------
  |  Branch (1823:5): [True: 0, False: 233k]
  ------------------
 1824|      0|      return parseDirectiveBundleLock();
 1825|      0|    case DK_BUNDLE_UNLOCK:
  ------------------
  |  Branch (1825:5): [True: 0, False: 233k]
  ------------------
 1826|      0|      return parseDirectiveBundleUnlock();
 1827|      7|    case DK_SLEB128:
  ------------------
  |  Branch (1827:5): [True: 7, False: 233k]
  ------------------
 1828|      7|      return parseDirectiveLEB128(true);
 1829|      3|    case DK_ULEB128:
  ------------------
  |  Branch (1829:5): [True: 3, False: 233k]
  ------------------
 1830|      3|      return parseDirectiveLEB128(false);
 1831|    302|    case DK_SPACE:
  ------------------
  |  Branch (1831:5): [True: 302, False: 233k]
  ------------------
 1832|  2.42k|    case DK_SKIP:
  ------------------
  |  Branch (1832:5): [True: 2.12k, False: 231k]
  ------------------
 1833|  2.42k|      return parseDirectiveSpace(IDVal);
 1834|  7.36k|    case DK_FILE:
  ------------------
  |  Branch (1834:5): [True: 7.36k, False: 226k]
  ------------------
 1835|  7.36k|      return parseDirectiveFile(IDLoc);
 1836|  6.81k|    case DK_LINE:
  ------------------
  |  Branch (1836:5): [True: 6.81k, False: 226k]
  ------------------
 1837|  6.81k|      return parseDirectiveLine();
 1838|    322|    case DK_LOC:
  ------------------
  |  Branch (1838:5): [True: 322, False: 233k]
  ------------------
 1839|    322|      return parseDirectiveLoc();
 1840|      0|    case DK_STABS:
  ------------------
  |  Branch (1840:5): [True: 0, False: 233k]
  ------------------
 1841|      0|      return parseDirectiveStabs();
 1842|      0|    case DK_CV_FILE:
  ------------------
  |  Branch (1842:5): [True: 0, False: 233k]
  ------------------
 1843|      0|      return parseDirectiveCVFile();
 1844|      0|    case DK_CV_LOC:
  ------------------
  |  Branch (1844:5): [True: 0, False: 233k]
  ------------------
 1845|      0|      return parseDirectiveCVLoc();
 1846|      0|    case DK_CV_LINETABLE:
  ------------------
  |  Branch (1846:5): [True: 0, False: 233k]
  ------------------
 1847|      0|      return parseDirectiveCVLinetable();
 1848|      0|    case DK_CV_INLINE_LINETABLE:
  ------------------
  |  Branch (1848:5): [True: 0, False: 233k]
  ------------------
 1849|      0|      return parseDirectiveCVInlineLinetable();
 1850|      0|    case DK_CV_STRINGTABLE:
  ------------------
  |  Branch (1850:5): [True: 0, False: 233k]
  ------------------
 1851|      0|      return parseDirectiveCVStringTable();
 1852|      0|    case DK_CV_FILECHECKSUMS:
  ------------------
  |  Branch (1852:5): [True: 0, False: 233k]
  ------------------
 1853|      0|      return parseDirectiveCVFileChecksums();
 1854|      1|    case DK_CFI_SECTIONS:
  ------------------
  |  Branch (1854:5): [True: 1, False: 233k]
  ------------------
 1855|      1|      return parseDirectiveCFISections();
 1856|      0|    case DK_CFI_STARTPROC:
  ------------------
  |  Branch (1856:5): [True: 0, False: 233k]
  ------------------
 1857|      0|      return parseDirectiveCFIStartProc();
 1858|      0|    case DK_CFI_ENDPROC:
  ------------------
  |  Branch (1858:5): [True: 0, False: 233k]
  ------------------
 1859|      0|      return parseDirectiveCFIEndProc();
 1860|      0|    case DK_CFI_DEF_CFA:
  ------------------
  |  Branch (1860:5): [True: 0, False: 233k]
  ------------------
 1861|      0|      return parseDirectiveCFIDefCfa(IDLoc);
 1862|      0|    case DK_CFI_DEF_CFA_OFFSET:
  ------------------
  |  Branch (1862:5): [True: 0, False: 233k]
  ------------------
 1863|      0|      return parseDirectiveCFIDefCfaOffset();
 1864|      0|    case DK_CFI_ADJUST_CFA_OFFSET:
  ------------------
  |  Branch (1864:5): [True: 0, False: 233k]
  ------------------
 1865|      0|      return parseDirectiveCFIAdjustCfaOffset();
 1866|      0|    case DK_CFI_DEF_CFA_REGISTER:
  ------------------
  |  Branch (1866:5): [True: 0, False: 233k]
  ------------------
 1867|      0|      return parseDirectiveCFIDefCfaRegister(IDLoc);
 1868|      0|    case DK_CFI_OFFSET:
  ------------------
  |  Branch (1868:5): [True: 0, False: 233k]
  ------------------
 1869|      0|      return parseDirectiveCFIOffset(IDLoc);
 1870|      0|    case DK_CFI_REL_OFFSET:
  ------------------
  |  Branch (1870:5): [True: 0, False: 233k]
  ------------------
 1871|      0|      return parseDirectiveCFIRelOffset(IDLoc);
 1872|      0|    case DK_CFI_PERSONALITY:
  ------------------
  |  Branch (1872:5): [True: 0, False: 233k]
  ------------------
 1873|      0|      return parseDirectiveCFIPersonalityOrLsda(true);
 1874|      0|    case DK_CFI_LSDA:
  ------------------
  |  Branch (1874:5): [True: 0, False: 233k]
  ------------------
 1875|      0|      return parseDirectiveCFIPersonalityOrLsda(false);
 1876|      0|    case DK_CFI_REMEMBER_STATE:
  ------------------
  |  Branch (1876:5): [True: 0, False: 233k]
  ------------------
 1877|      0|      return parseDirectiveCFIRememberState();
 1878|      0|    case DK_CFI_RESTORE_STATE:
  ------------------
  |  Branch (1878:5): [True: 0, False: 233k]
  ------------------
 1879|      0|      return parseDirectiveCFIRestoreState();
 1880|      0|    case DK_CFI_SAME_VALUE:
  ------------------
  |  Branch (1880:5): [True: 0, False: 233k]
  ------------------
 1881|      0|      return parseDirectiveCFISameValue(IDLoc);
 1882|      0|    case DK_CFI_RESTORE:
  ------------------
  |  Branch (1882:5): [True: 0, False: 233k]
  ------------------
 1883|      0|      return parseDirectiveCFIRestore(IDLoc);
 1884|      0|    case DK_CFI_ESCAPE:
  ------------------
  |  Branch (1884:5): [True: 0, False: 233k]
  ------------------
 1885|      0|      return parseDirectiveCFIEscape();
 1886|      0|    case DK_CFI_SIGNAL_FRAME:
  ------------------
  |  Branch (1886:5): [True: 0, False: 233k]
  ------------------
 1887|      0|      return parseDirectiveCFISignalFrame();
 1888|      0|    case DK_CFI_UNDEFINED:
  ------------------
  |  Branch (1888:5): [True: 0, False: 233k]
  ------------------
 1889|      0|      return parseDirectiveCFIUndefined(IDLoc);
 1890|      0|    case DK_CFI_REGISTER:
  ------------------
  |  Branch (1890:5): [True: 0, False: 233k]
  ------------------
 1891|      0|      return parseDirectiveCFIRegister(IDLoc);
 1892|      0|    case DK_CFI_WINDOW_SAVE:
  ------------------
  |  Branch (1892:5): [True: 0, False: 233k]
  ------------------
 1893|      0|      return parseDirectiveCFIWindowSave();
 1894|      0|    case DK_MACROS_ON:
  ------------------
  |  Branch (1894:5): [True: 0, False: 233k]
  ------------------
 1895|      0|    case DK_MACROS_OFF:
  ------------------
  |  Branch (1895:5): [True: 0, False: 233k]
  ------------------
 1896|      0|      return parseDirectiveMacrosOnOff(IDVal);
 1897|  2.61k|    case DK_MACRO:
  ------------------
  |  Branch (1897:5): [True: 2.61k, False: 230k]
  ------------------
 1898|  2.61k|      return parseDirectiveMacro(IDLoc);
 1899|      0|    case DK_EXITM:
  ------------------
  |  Branch (1899:5): [True: 0, False: 233k]
  ------------------
 1900|      0|      return parseDirectiveExitMacro(IDVal);
 1901|    925|    case DK_ENDM:
  ------------------
  |  Branch (1901:5): [True: 925, False: 232k]
  ------------------
 1902|  23.1k|    case DK_ENDMACRO:
  ------------------
  |  Branch (1902:5): [True: 22.2k, False: 211k]
  ------------------
 1903|  23.1k|      return parseDirectiveEndMacro(IDVal);
 1904|     23|    case DK_PURGEM:
  ------------------
  |  Branch (1904:5): [True: 23, False: 233k]
  ------------------
 1905|     23|      return parseDirectivePurgeMacro(IDLoc);
 1906|    735|    case DK_END:
  ------------------
  |  Branch (1906:5): [True: 735, False: 232k]
  ------------------
 1907|    735|      return parseDirectiveEnd(IDLoc);
 1908|    226|    case DK_ERR:
  ------------------
  |  Branch (1908:5): [True: 226, False: 233k]
  ------------------
 1909|    226|      return parseDirectiveError(IDLoc, false);
 1910|    182|    case DK_ERROR:
  ------------------
  |  Branch (1910:5): [True: 182, False: 233k]
  ------------------
 1911|    182|      return parseDirectiveError(IDLoc, true);
 1912|    371|    case DK_WARNING:
  ------------------
  |  Branch (1912:5): [True: 371, False: 232k]
  ------------------
 1913|    371|      return parseDirectiveWarning(IDLoc);
 1914|  2.12k|    case DK_RELOC:
  ------------------
  |  Branch (1914:5): [True: 2.12k, False: 231k]
  ------------------
 1915|  2.12k|      return parseDirectiveReloc(IDLoc);
 1916|      0|    case DK_NASM_BITS:
  ------------------
  |  Branch (1916:5): [True: 0, False: 233k]
  ------------------
 1917|      0|      if (parseNasmDirectiveBits()) {
  ------------------
  |  Branch (1917:11): [True: 0, False: 0]
  ------------------
 1918|      0|          Info.KsError = KS_ERR_ASM_DIRECTIVE_ID;
 1919|      0|          return true;
 1920|      0|      } else {
 1921|      0|          return false;
 1922|      0|      }
 1923|      0|    case DK_NASM_USE32:
  ------------------
  |  Branch (1923:5): [True: 0, False: 233k]
  ------------------
 1924|      0|      return parseNasmDirectiveUse32();
 1925|      0|    case DK_NASM_DEFAULT:
  ------------------
  |  Branch (1925:5): [True: 0, False: 233k]
  ------------------
 1926|      0|      if (parseNasmDirectiveDefault()) {
  ------------------
  |  Branch (1926:11): [True: 0, False: 0]
  ------------------
 1927|      0|        Info.KsError = KS_ERR_ASM_DIRECTIVE_ID;
 1928|      0|        return true;
 1929|      0|      } else {
 1930|      0|        return false;
 1931|      0|      }
 1932|   233k|    }
 1933|       |
 1934|       |    //return Error(IDLoc, "unknown directive");
 1935|  62.9k|    KsError = KS_ERR_ASM_DIRECTIVE_UNKNOWN;
 1936|  62.9k|    return true;
 1937|   233k|  }
 1938|       |
 1939|       |  // __asm _emit or __asm __emit
 1940|  74.7k|  if (ParsingInlineAsm && (IDVal == "_emit" || IDVal == "__emit" ||
  ------------------
  |  Branch (1940:7): [True: 0, False: 74.7k]
  |  Branch (1940:7): [True: 0, False: 74.7k]
  |  Branch (1940:28): [True: 0, False: 0]
  |  Branch (1940:48): [True: 0, False: 0]
  ------------------
 1941|      0|                           IDVal == "_EMIT" || IDVal == "__EMIT"))
  ------------------
  |  Branch (1941:28): [True: 0, False: 0]
  |  Branch (1941:48): [True: 0, False: 0]
  ------------------
 1942|      0|    return parseDirectiveMSEmit(IDLoc, Info, IDVal.size());
 1943|       |
 1944|       |  // __asm align
 1945|  74.7k|  if (ParsingInlineAsm && (IDVal == "align" || IDVal == "ALIGN"))
  ------------------
  |  Branch (1945:7): [True: 0, False: 74.7k]
  |  Branch (1945:7): [True: 0, False: 74.7k]
  |  Branch (1945:28): [True: 0, False: 0]
  |  Branch (1945:48): [True: 0, False: 0]
  ------------------
 1946|      0|    return parseDirectiveMSAlign(IDLoc, Info);
 1947|       |
 1948|  74.7k|  if (ParsingInlineAsm && (IDVal == "even"))
  ------------------
  |  Branch (1948:7): [True: 0, False: 74.7k]
  |  Branch (1948:7): [True: 0, False: 74.7k]
  |  Branch (1948:27): [True: 0, False: 0]
  ------------------
 1949|      0|    Info.AsmRewrites->emplace_back(AOK_EVEN, IDLoc, 4);
 1950|  74.7k|  checkForValidSection();
 1951|       |
 1952|       |  // Canonicalize the opcode to lower case.
 1953|  74.7k|  std::string OpcodeStr = IDVal.lower();
 1954|  74.7k|  ParseInstructionInfo IInfo(Info.AsmRewrites);
 1955|       |  //printf(">> Going to ParseInstruction()\n");
 1956|  74.7k|  bool HadError = getTargetParser().ParseInstruction(IInfo, OpcodeStr, ID,
 1957|  74.7k|                                                     Info.ParsedOperands, Info.KsError);
 1958|  74.7k|  Info.ParseError = HadError;
 1959|       |
 1960|       |  // If parsing succeeded, match the instruction.
 1961|  74.7k|  if (!HadError) {
  ------------------
  |  Branch (1961:7): [True: 27.5k, False: 47.1k]
  ------------------
 1962|  27.5k|    uint64_t ErrorInfo;
 1963|       |    //printf(">> Going to MatchAndEmitInstruction()\n");
 1964|  27.5k|    return getTargetParser().MatchAndEmitInstruction(IDLoc, Info.Opcode,
 1965|  27.5k|                                              Info.ParsedOperands, Out,
 1966|  27.5k|                                              ErrorInfo, ParsingInlineAsm,
 1967|  27.5k|                                              Info.KsError, Address);
 1968|  27.5k|  }
 1969|       |
 1970|  47.1k|  return true;
 1971|  74.7k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser31parseCppHashLineFilenameCommentEN7llvm_ks5SMLocE:
 1986|  29.0k|bool AsmParser::parseCppHashLineFilenameComment(SMLoc L) {
 1987|  29.0k|  Lex(); // Eat the hash token.
 1988|       |
 1989|  29.0k|  if (getLexer().isNot(AsmToken::Integer)) {
  ------------------
  |  Branch (1989:7): [True: 23.8k, False: 5.20k]
  ------------------
 1990|       |    // Consume the line since in cases it is not a well-formed line directive,
 1991|       |    // as if were simply a full line comment.
 1992|  23.8k|    eatToEndOfLine();
 1993|  23.8k|    return false;
 1994|  23.8k|  }
 1995|       |
 1996|  5.20k|  bool valid;
 1997|  5.20k|  int64_t LineNumber = getTok().getIntVal(valid);
 1998|  5.20k|  if (!valid) {
  ------------------
  |  Branch (1998:7): [True: 0, False: 5.20k]
  ------------------
 1999|      0|      return true;
 2000|      0|  }
 2001|  5.20k|  Lex();
 2002|       |
 2003|  5.20k|  if (getLexer().isNot(AsmToken::String)) {
  ------------------
  |  Branch (2003:7): [True: 5.01k, False: 193]
  ------------------
 2004|  5.01k|    eatToEndOfLine();
 2005|  5.01k|    return false;
 2006|  5.01k|  }
 2007|       |
 2008|    193|  StringRef Filename = getTok().getString();
 2009|       |  // Get rid of the enclosing quotes.
 2010|    193|  Filename = Filename.substr(1, Filename.size() - 2);
 2011|       |
 2012|       |  // Save the SMLoc, Filename and LineNumber for later use by diagnostics.
 2013|    193|  CppHashLoc = L;
 2014|    193|  CppHashFilename = Filename;
 2015|    193|  CppHashLineNumber = LineNumber;
 2016|    193|  CppHashBuf = CurBuffer;
 2017|       |
 2018|       |  // Ignore any trailing characters, they're just comment.
 2019|    193|  eatToEndOfLine();
 2020|    193|  return false;
 2021|  5.20k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser14eatToEndOfLineEv:
 1976|  29.0k|{
 1977|  29.0k|  if (!Lexer.is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (1977:7): [True: 19.0k, False: 9.96k]
  ------------------
 1978|  19.0k|    Lexer.LexUntilEndOfLine();
 1979|       |  // Eat EOL.
 1980|  29.0k|  Lex();
 1981|  29.0k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser15isNasmDirectiveEN7llvm_ks9StringRefE:
 1430|  1.56k|{
 1431|  1.56k|    return (DirectiveKindMap.find(IDVal.lower()) != DirectiveKindMap.end());
 1432|  1.56k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser16parseDirectiveIfEN7llvm_ks5SMLocENS0_13DirectiveKindE:
 4909|  3.27k|{
 4910|  3.27k|  TheCondStack.push_back(TheCondState);
 4911|  3.27k|  TheCondState.TheCond = AsmCond::IfCond;
 4912|  3.27k|  if (TheCondState.Ignore) {
  ------------------
  |  Branch (4912:7): [True: 642, False: 2.62k]
  ------------------
 4913|    642|    eatToEndOfStatement();
 4914|  2.62k|  } else {
 4915|  2.62k|    int64_t ExprValue;
 4916|  2.62k|    if (parseAbsoluteExpression(ExprValue)) {
  ------------------
  |  Branch (4916:9): [True: 806, False: 1.82k]
  ------------------
 4917|    806|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4918|    806|      return true;
 4919|    806|    }
 4920|       |
 4921|  1.82k|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4921:9): [True: 338, False: 1.48k]
  ------------------
 4922|       |      //return TokError("unexpected token in '.if' directive");
 4923|    338|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4924|    338|      return true;
 4925|    338|    }
 4926|       |
 4927|  1.48k|    Lex();
 4928|       |
 4929|  1.48k|    switch (DirKind) {
 4930|      0|    default:
  ------------------
  |  Branch (4930:5): [True: 0, False: 1.48k]
  ------------------
 4931|      0|      llvm_unreachable("unsupported directive");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 4932|    135|    case DK_IF:
  ------------------
  |  Branch (4932:5): [True: 135, False: 1.35k]
  ------------------
 4933|    223|    case DK_IFNE:
  ------------------
  |  Branch (4933:5): [True: 88, False: 1.39k]
  ------------------
 4934|    223|      break;
 4935|    290|    case DK_IFEQ:
  ------------------
  |  Branch (4935:5): [True: 290, False: 1.19k]
  ------------------
 4936|    290|      ExprValue = ExprValue == 0;
 4937|    290|      break;
 4938|    106|    case DK_IFGE:
  ------------------
  |  Branch (4938:5): [True: 106, False: 1.37k]
  ------------------
 4939|    106|      ExprValue = ExprValue >= 0;
 4940|    106|      break;
 4941|    269|    case DK_IFGT:
  ------------------
  |  Branch (4941:5): [True: 269, False: 1.21k]
  ------------------
 4942|    269|      ExprValue = ExprValue > 0;
 4943|    269|      break;
 4944|    432|    case DK_IFLE:
  ------------------
  |  Branch (4944:5): [True: 432, False: 1.05k]
  ------------------
 4945|    432|      ExprValue = ExprValue <= 0;
 4946|    432|      break;
 4947|    165|    case DK_IFLT:
  ------------------
  |  Branch (4947:5): [True: 165, False: 1.32k]
  ------------------
 4948|    165|      ExprValue = ExprValue < 0;
 4949|    165|      break;
 4950|  1.48k|    }
 4951|       |
 4952|  1.48k|    TheCondState.CondMet = ExprValue;
 4953|  1.48k|    TheCondState.Ignore = !TheCondState.CondMet;
 4954|  1.48k|  }
 4955|       |
 4956|  2.12k|  return false;
 4957|  3.27k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveIfbEN7llvm_ks5SMLocEb:
 4962|  4.76k|{
 4963|  4.76k|  TheCondStack.push_back(TheCondState);
 4964|  4.76k|  TheCondState.TheCond = AsmCond::IfCond;
 4965|       |
 4966|  4.76k|  if (TheCondState.Ignore) {
  ------------------
  |  Branch (4966:7): [True: 478, False: 4.28k]
  ------------------
 4967|    478|    eatToEndOfStatement();
 4968|  4.28k|  } else {
 4969|  4.28k|    StringRef Str = parseStringToEndOfStatement();
 4970|       |
 4971|  4.28k|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4971:9): [True: 1, False: 4.28k]
  ------------------
 4972|       |      //return TokError("unexpected token in '.ifb' directive");
 4973|      1|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4974|      1|      return true;
 4975|      1|    }
 4976|       |
 4977|  4.28k|    Lex();
 4978|       |
 4979|  4.28k|    TheCondState.CondMet = ExpectBlank == Str.empty();
 4980|  4.28k|    TheCondState.Ignore = !TheCondState.CondMet;
 4981|  4.28k|  }
 4982|       |
 4983|  4.76k|  return false;
 4984|  4.76k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveIfcEN7llvm_ks5SMLocEb:
 4990|   229k|{
 4991|   229k|  TheCondStack.push_back(TheCondState);
 4992|   229k|  TheCondState.TheCond = AsmCond::IfCond;
 4993|       |
 4994|   229k|  if (TheCondState.Ignore) {
  ------------------
  |  Branch (4994:7): [True: 388, False: 228k]
  ------------------
 4995|    388|    eatToEndOfStatement();
 4996|   228k|  } else {
 4997|   228k|    StringRef Str1 = parseStringToComma();
 4998|       |
 4999|   228k|    if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (4999:9): [True: 221k, False: 7.54k]
  ------------------
 5000|       |      //return TokError("unexpected token in '.ifc' directive");
 5001|   221k|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5002|   221k|      return true;
 5003|   221k|    }
 5004|       |
 5005|  7.54k|    Lex();
 5006|       |
 5007|  7.54k|    StringRef Str2 = parseStringToEndOfStatement();
 5008|       |
 5009|  7.54k|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5009:9): [True: 1, False: 7.54k]
  ------------------
 5010|       |      //return TokError("unexpected token in '.ifc' directive");
 5011|      1|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5012|      1|      return true;
 5013|      1|    }
 5014|       |
 5015|  7.54k|    Lex();
 5016|       |
 5017|  7.54k|    TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim());
 5018|  7.54k|    TheCondState.Ignore = !TheCondState.CondMet;
 5019|  7.54k|  }
 5020|       |
 5021|  7.93k|  return false;
 5022|   229k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseStringToCommaEv:
  802|   228k|StringRef AsmParser::parseStringToComma() {
  803|   228k|  const char *Start = getTok().getLoc().getPointer();
  804|       |
  805|  2.68M|  while (Lexer.isNot(AsmToken::EndOfStatement) &&
  ------------------
  |  Branch (805:10): [True: 2.46M, False: 221k]
  ------------------
  806|  2.46M|         Lexer.isNot(AsmToken::Comma) && Lexer.isNot(AsmToken::Eof))
  ------------------
  |  Branch (806:10): [True: 2.45M, False: 7.54k]
  |  Branch (806:42): [True: 2.45M, False: 1]
  ------------------
  807|  2.45M|    Lex();
  808|       |
  809|   228k|  const char *End = getTok().getLoc().getPointer();
  810|   228k|  return StringRef(Start, End - Start);
  811|   228k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveIfeqsEN7llvm_ks5SMLocEb:
 5027|  2.28k|{
 5028|  2.28k|  if (Lexer.isNot(AsmToken::String)) {
  ------------------
  |  Branch (5028:7): [True: 60, False: 2.22k]
  ------------------
 5029|       |    //if (ExpectEqual)
 5030|       |    //  TokError("expected string parameter for '.ifeqs' directive");
 5031|       |    //else
 5032|       |    //  TokError("expected string parameter for '.ifnes' directive");
 5033|     60|    eatToEndOfStatement();
 5034|     60|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5035|     60|    return true;
 5036|     60|  }
 5037|       |
 5038|  2.22k|  bool valid;
 5039|  2.22k|  StringRef String1 = getTok().getStringContents(valid);
 5040|  2.22k|  if (!valid) {
  ------------------
  |  Branch (5040:7): [True: 0, False: 2.22k]
  ------------------
 5041|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5042|      0|      return true;
 5043|      0|  }
 5044|       |
 5045|  2.22k|  Lex();
 5046|       |
 5047|  2.22k|  if (Lexer.isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (5047:7): [True: 10, False: 2.21k]
  ------------------
 5048|       |    //if (ExpectEqual)
 5049|       |    //  TokError("expected comma after first string for '.ifeqs' directive");
 5050|       |    //else
 5051|       |    //  TokError("expected comma after first string for '.ifnes' directive");
 5052|     10|    eatToEndOfStatement();
 5053|     10|    return true;
 5054|     10|  }
 5055|       |
 5056|  2.21k|  Lex();
 5057|       |
 5058|  2.21k|  if (Lexer.isNot(AsmToken::String)) {
  ------------------
  |  Branch (5058:7): [True: 339, False: 1.87k]
  ------------------
 5059|       |    //if (ExpectEqual)
 5060|       |    //  TokError("expected string parameter for '.ifeqs' directive");
 5061|       |    //else
 5062|       |    //  TokError("expected string parameter for '.ifnes' directive");
 5063|    339|    eatToEndOfStatement();
 5064|    339|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5065|    339|    return true;
 5066|    339|  }
 5067|       |
 5068|  1.87k|  StringRef String2 = getTok().getStringContents(valid);
 5069|  1.87k|  if (!valid) {
  ------------------
  |  Branch (5069:7): [True: 0, False: 1.87k]
  ------------------
 5070|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5071|      0|      return true;
 5072|      0|  }
 5073|       |
 5074|  1.87k|  Lex();
 5075|       |
 5076|  1.87k|  TheCondStack.push_back(TheCondState);
 5077|  1.87k|  TheCondState.TheCond = AsmCond::IfCond;
 5078|  1.87k|  TheCondState.CondMet = ExpectEqual == (String1 == String2);
 5079|  1.87k|  TheCondState.Ignore = !TheCondState.CondMet;
 5080|       |
 5081|  1.87k|  return false;
 5082|  1.87k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveIfdefEN7llvm_ks5SMLocEb:
 5086|    792|bool AsmParser::parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) {
 5087|    792|  StringRef Name;
 5088|    792|  TheCondStack.push_back(TheCondState);
 5089|    792|  TheCondState.TheCond = AsmCond::IfCond;
 5090|       |
 5091|    792|  if (TheCondState.Ignore) {
  ------------------
  |  Branch (5091:7): [True: 207, False: 585]
  ------------------
 5092|    207|    eatToEndOfStatement();
 5093|    585|  } else {
 5094|    585|    if (parseIdentifier(Name)) {
  ------------------
  |  Branch (5094:9): [True: 244, False: 341]
  ------------------
 5095|       |      //return TokError("expected identifier after '.ifdef'");
 5096|    244|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5097|    244|      return true;
 5098|    244|    }
 5099|       |
 5100|    341|    Lex();
 5101|       |
 5102|    341|    MCSymbol *Sym = getContext().lookupSymbol(Name);
 5103|       |
 5104|    341|    if (expect_defined)
  ------------------
  |  Branch (5104:9): [True: 18, False: 323]
  ------------------
 5105|     18|      TheCondState.CondMet = (Sym && !Sym->isUndefined());
  ------------------
  |  Branch (5105:31): [True: 14, False: 4]
  |  Branch (5105:38): [True: 12, False: 2]
  ------------------
 5106|    323|    else
 5107|    323|      TheCondState.CondMet = (!Sym || Sym->isUndefined());
  ------------------
  |  Branch (5107:31): [True: 243, False: 80]
  |  Branch (5107:39): [True: 79, False: 1]
  ------------------
 5108|    341|    TheCondState.Ignore = !TheCondState.CondMet;
 5109|    341|  }
 5110|       |
 5111|    548|  return false;
 5112|    792|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser20parseDirectiveElseIfEN7llvm_ks5SMLocE:
 5117|  1.08k|{
 5118|  1.08k|  if (TheCondState.TheCond != AsmCond::IfCond &&
  ------------------
  |  Branch (5118:7): [True: 464, False: 619]
  ------------------
 5119|    464|      TheCondState.TheCond != AsmCond::ElseIfCond) {
  ------------------
  |  Branch (5119:7): [True: 122, False: 342]
  ------------------
 5120|       |    //Error(DirectiveLoc, "Encountered a .elseif that doesn't follow a .if or "
 5121|       |    //                    " an .elseif");
 5122|    122|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5123|    122|    return true;
 5124|    122|  }
 5125|       |
 5126|    961|  TheCondState.TheCond = AsmCond::ElseIfCond;
 5127|       |
 5128|    961|  bool LastIgnoreState = false;
 5129|    961|  if (!TheCondStack.empty())
  ------------------
  |  Branch (5129:7): [True: 961, False: 0]
  ------------------
 5130|    961|    LastIgnoreState = TheCondStack.back().Ignore;
 5131|    961|  if (LastIgnoreState || TheCondState.CondMet) {
  ------------------
  |  Branch (5131:7): [True: 569, False: 392]
  |  Branch (5131:26): [True: 240, False: 152]
  ------------------
 5132|    809|    TheCondState.Ignore = true;
 5133|    809|    eatToEndOfStatement();
 5134|    809|  } else {
 5135|    152|    int64_t ExprValue;
 5136|    152|    if (parseAbsoluteExpression(ExprValue)) {
  ------------------
  |  Branch (5136:9): [True: 76, False: 76]
  ------------------
 5137|     76|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5138|     76|      return true;
 5139|     76|    }
 5140|       |
 5141|     76|    if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (5141:9): [True: 1, False: 75]
  ------------------
 5142|       |      //return TokError("unexpected token in '.elseif' directive");
 5143|      1|      return true;
 5144|       |
 5145|     75|    Lex();
 5146|     75|    TheCondState.CondMet = ExprValue;
 5147|     75|    TheCondState.Ignore = !TheCondState.CondMet;
 5148|     75|  }
 5149|       |
 5150|    884|  return false;
 5151|    961|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveElseEN7llvm_ks5SMLocE:
 5156|  1.11k|{
 5157|  1.11k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5157:7): [True: 228, False: 886]
  ------------------
 5158|       |    //return TokError("unexpected token in '.else' directive");
 5159|    228|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5160|    228|    return true;
 5161|    228|  }
 5162|       |
 5163|    886|  Lex();
 5164|       |
 5165|    886|  if (TheCondState.TheCond != AsmCond::IfCond &&
  ------------------
  |  Branch (5165:7): [True: 564, False: 322]
  ------------------
 5166|    564|      TheCondState.TheCond != AsmCond::ElseIfCond) {
  ------------------
  |  Branch (5166:7): [True: 89, False: 475]
  ------------------
 5167|       |    //Error(DirectiveLoc, "Encountered a .else that doesn't follow a .if or an "
 5168|       |    //                    ".elseif");
 5169|     89|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5170|     89|    return true;
 5171|     89|  }
 5172|    797|  TheCondState.TheCond = AsmCond::ElseCond;
 5173|    797|  bool LastIgnoreState = false;
 5174|    797|  if (!TheCondStack.empty())
  ------------------
  |  Branch (5174:7): [True: 797, False: 0]
  ------------------
 5175|    797|    LastIgnoreState = TheCondStack.back().Ignore;
 5176|    797|  if (LastIgnoreState || TheCondState.CondMet)
  ------------------
  |  Branch (5176:7): [True: 571, False: 226]
  |  Branch (5176:26): [True: 26, False: 200]
  ------------------
 5177|    597|    TheCondState.Ignore = true;
 5178|    200|  else
 5179|    200|    TheCondState.Ignore = false;
 5180|       |
 5181|    797|  return false;
 5182|    886|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveEndIfEN7llvm_ks5SMLocE:
 5332|    631|{
 5333|    631|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5333:7): [True: 72, False: 559]
  ------------------
 5334|       |    //return TokError("unexpected token in '.endif' directive");
 5335|     72|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5336|     72|    return true;
 5337|     72|  }
 5338|       |
 5339|    559|  Lex();
 5340|       |
 5341|    559|  if ((TheCondState.TheCond == AsmCond::NoCond) || TheCondStack.empty()) {
  ------------------
  |  Branch (5341:7): [True: 209, False: 350]
  |  Branch (5341:52): [True: 0, False: 350]
  ------------------
 5342|       |    //Error(DirectiveLoc, "Encountered a .endif that doesn't follow a .if or "
 5343|       |    //                    ".else");
 5344|    209|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5345|    209|    return true;
 5346|    209|  }
 5347|    350|  if (!TheCondStack.empty()) {
  ------------------
  |  Branch (5347:7): [True: 350, False: 0]
  ------------------
 5348|    350|    TheCondState = TheCondStack.back();
 5349|    350|    TheCondStack.pop_back();
 5350|    350|  }
 5351|       |
 5352|    350|  return false;
 5353|    559|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser15parseAssignmentEN7llvm_ks9StringRefEbb:
 2518|   356k|                                bool NoDeadStrip) {
 2519|   356k|  MCSymbol *Sym;
 2520|   356k|  const MCExpr *Value;
 2521|   356k|  if (MCParserUtils::parseAssignmentExpression(Name, allow_redef, *this, Sym,
  ------------------
  |  Branch (2521:7): [True: 234k, False: 122k]
  ------------------
 2522|   356k|                                               Value)) {
 2523|   234k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2524|   234k|    return true;
 2525|   234k|  }
 2526|       |
 2527|   122k|  if (!Sym) {
  ------------------
  |  Branch (2527:7): [True: 8.86k, False: 113k]
  ------------------
 2528|       |    // In the case where we parse an expression starting with a '.', we will
 2529|       |    // not generate an error, nor will we create a symbol.  In this case we
 2530|       |    // should just return out.
 2531|  8.86k|    return false;
 2532|  8.86k|  }
 2533|       |
 2534|       |  // Do the assignment.
 2535|   113k|  if (!Out.EmitAssignment(Sym, Value)) {
  ------------------
  |  Branch (2535:7): [True: 186, False: 113k]
  ------------------
 2536|    186|    KsError = KS_ERR_ASM_DIRECTIVE_ID;
 2537|    186|    return true;
 2538|    186|  }
 2539|   113k|  if (NoDeadStrip)
  ------------------
  |  Branch (2539:7): [True: 20, False: 113k]
  ------------------
 2540|     20|    Out.EmitSymbolAttribute(Sym, MCSA_NoDeadStrip);
 2541|       |
 2542|   113k|  return false;
 2543|   113k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser16areMacrosEnabledEv:
  280|   359k|  bool areMacrosEnabled() {return MacrosEnabledFlag;}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser11lookupMacroEN7llvm_ks9StringRefE:
 2446|   361k|const MCAsmMacro *AsmParser::lookupMacro(StringRef Name) {
 2447|   361k|  StringMap<MCAsmMacro>::iterator I = MacroMap.find(Name);
 2448|   361k|  return (I == MacroMap.end()) ? nullptr : &I->getValue();
  ------------------
  |  Branch (2448:10): [True: 335k, False: 25.7k]
  ------------------
 2449|   361k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser16handleMacroEntryEPKNS_10MCAsmMacroEN7llvm_ks5SMLocE:
 2458|  24.5k|{
 2459|       |  // Arbitrarily limit macro nesting depth, to match 'as'. We can eliminate
 2460|       |  // this, although we should protect against infinite loops.
 2461|  24.5k|  if (ActiveMacros.size() == 20) {
  ------------------
  |  Branch (2461:7): [True: 1.12k, False: 23.4k]
  ------------------
 2462|       |    // return TokError("macros cannot be nested more than 20 levels deep");
 2463|  1.12k|    KsError = KS_ERR_ASM_MACRO_LEVELS_EXCEED;
 2464|  1.12k|    return true;
 2465|  1.12k|  }
 2466|       |
 2467|  23.4k|  MCAsmMacroArguments A;
 2468|  23.4k|  if (parseMacroArguments(M, A)) {
  ------------------
  |  Branch (2468:7): [True: 631, False: 22.8k]
  ------------------
 2469|    631|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2470|    631|    return true;
 2471|    631|  }
 2472|       |
 2473|       |  // Macro instantiation is lexical, unfortunately. We construct a new buffer
 2474|       |  // to hold the macro body with substitutions.
 2475|  22.8k|  SmallString<256> Buf;
 2476|  22.8k|  StringRef Body = M->Body;
 2477|  22.8k|  raw_svector_ostream OS(Buf);
 2478|       |
 2479|  22.8k|  if (expandMacro(OS, Body, M->Parameters, A, true, getTok().getLoc())) {
  ------------------
  |  Branch (2479:7): [True: 0, False: 22.8k]
  ------------------
 2480|      0|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2481|      0|    return true;
 2482|      0|  }
 2483|       |
 2484|       |  // We include the .endmacro in the buffer as our cue to exit the macro
 2485|       |  // instantiation.
 2486|  22.8k|  OS << ".endmacro\n";
 2487|       |
 2488|  22.8k|  std::unique_ptr<MemoryBuffer> Instantiation =
 2489|  22.8k|      MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
 2490|       |
 2491|       |  // Create the macro instantiation object and add to the current macro
 2492|       |  // instantiation stack.
 2493|  22.8k|  MacroInstantiation *MI = new MacroInstantiation(
 2494|  22.8k|      NameLoc, CurBuffer, getTok().getLoc(), TheCondStack.size());
 2495|  22.8k|  ActiveMacros.push_back(MI);
 2496|       |
 2497|  22.8k|  ++NumOfMacroInstantiations;
 2498|       |
 2499|       |  // Jump to the macro instantiation and prime the lexer.
 2500|  22.8k|  CurBuffer = SrcMgr.AddNewSourceBuffer(std::move(Instantiation), SMLoc());
 2501|  22.8k|  Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer());
 2502|  22.8k|  Lex();
 2503|       |
 2504|  22.8k|  return false;
 2505|  22.8k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseMacroArgumentsEPKNS_10MCAsmMacroERNSt3__16vectorINS5_IN7llvm_ks8AsmTokenENS4_9allocatorIS7_EEEENS8_ISA_EEEE:
 2337|  28.0k|{
 2338|  28.0k|  const unsigned NParameters = M ? M->Parameters.size() : 0;
  ------------------
  |  Branch (2338:32): [True: 23.4k, False: 4.60k]
  ------------------
 2339|  28.0k|  bool NamedParametersFound = false;
 2340|  28.0k|  SmallVector<SMLoc, 4> FALocs;
 2341|       |
 2342|  28.0k|  A.resize(NParameters);
 2343|  28.0k|  FALocs.resize(NParameters);
 2344|       |
 2345|       |  // Parse two kinds of macro invocations:
 2346|       |  // - macros defined without any parameters accept an arbitrary number of them
 2347|       |  // - macros defined with parameters accept at most that many of them
 2348|  28.0k|  bool HasVararg = NParameters ? M->Parameters.back().Vararg : false;
  ------------------
  |  Branch (2348:20): [True: 4.09k, False: 23.9k]
  ------------------
 2349|  66.4k|  for (unsigned Parameter = 0; !NParameters || Parameter < NParameters;
  ------------------
  |  Branch (2349:32): [True: 60.9k, False: 5.50k]
  |  Branch (2349:48): [True: 5.41k, False: 95]
  ------------------
 2350|  66.3k|       ++Parameter) {
 2351|       |    //SMLoc IDLoc = Lexer.getLoc();
 2352|  66.3k|    MCAsmMacroParameter FA;
 2353|       |
 2354|  66.3k|    if (Lexer.is(AsmToken::Identifier) && Lexer.peekTok().is(AsmToken::Equal)) {
  ------------------
  |  Branch (2354:9): [True: 8.71k, False: 57.6k]
  |  Branch (2354:9): [True: 1.36k, False: 64.9k]
  |  Branch (2354:43): [True: 1.36k, False: 7.34k]
  ------------------
 2355|  1.36k|      if (parseIdentifier(FA.Name)) {
  ------------------
  |  Branch (2355:11): [True: 0, False: 1.36k]
  ------------------
 2356|       |        //Error(IDLoc, "invalid argument identifier for formal argument");
 2357|      0|        eatToEndOfStatement();
 2358|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2359|      0|        return true;
 2360|      0|      }
 2361|       |
 2362|  1.36k|      if (!Lexer.is(AsmToken::Equal)) {
  ------------------
  |  Branch (2362:11): [True: 0, False: 1.36k]
  ------------------
 2363|       |        //TokError("expected '=' after formal parameter identifier");
 2364|      0|        eatToEndOfStatement();
 2365|      0|        KsError = KS_ERR_ASM_MACRO_EQU;
 2366|      0|        return true;
 2367|      0|      }
 2368|  1.36k|      Lex();
 2369|       |
 2370|  1.36k|      NamedParametersFound = true;
 2371|  1.36k|    }
 2372|       |
 2373|  66.3k|    if (NamedParametersFound && FA.Name.empty()) {
  ------------------
  |  Branch (2373:9): [True: 1.56k, False: 64.7k]
  |  Branch (2373:33): [True: 198, False: 1.36k]
  ------------------
 2374|       |      //Error(IDLoc, "cannot mix positional and keyword arguments");
 2375|    198|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2376|    198|      eatToEndOfStatement();
 2377|    198|      return true;
 2378|    198|    }
 2379|       |
 2380|  66.1k|    bool Vararg = HasVararg && Parameter == (NParameters - 1);
  ------------------
  |  Branch (2380:19): [True: 0, False: 66.1k]
  |  Branch (2380:32): [True: 0, False: 0]
  ------------------
 2381|  66.1k|    if (parseMacroArgument(FA.Value, Vararg)) {
  ------------------
  |  Branch (2381:9): [True: 361, False: 65.8k]
  ------------------
 2382|    361|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2383|    361|      return true;
 2384|    361|    }
 2385|       |
 2386|  65.8k|    unsigned PI = Parameter;
 2387|  65.8k|    if (!FA.Name.empty()) {
  ------------------
  |  Branch (2387:9): [True: 1.36k, False: 64.4k]
  ------------------
 2388|  1.36k|      unsigned FAI = 0;
 2389|  2.89k|      for (FAI = 0; FAI < NParameters; ++FAI)
  ------------------
  |  Branch (2389:21): [True: 2.17k, False: 715]
  ------------------
 2390|  2.17k|        if (M->Parameters[FAI].Name == FA.Name)
  ------------------
  |  Branch (2390:13): [True: 649, False: 1.52k]
  ------------------
 2391|    649|          break;
 2392|       |
 2393|  1.36k|      if (FAI >= NParameters) {
  ------------------
  |  Branch (2393:11): [True: 715, False: 649]
  ------------------
 2394|       |        //assert(M && "expected macro to be defined");
 2395|       |        //Error(IDLoc,
 2396|       |        //      "parameter named '" + FA.Name + "' does not exist for macro '" +
 2397|       |        //      M->Name + "'");
 2398|    715|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2399|    715|        return true;
 2400|    715|      }
 2401|    649|      PI = FAI;
 2402|    649|    }
 2403|       |
 2404|  65.0k|    if (!FA.Value.empty()) {
  ------------------
  |  Branch (2404:9): [True: 12.6k, False: 52.4k]
  ------------------
 2405|  12.6k|      if (A.size() <= PI)
  ------------------
  |  Branch (2405:11): [True: 11.0k, False: 1.59k]
  ------------------
 2406|  11.0k|        A.resize(PI + 1);
 2407|  12.6k|      A[PI] = FA.Value;
 2408|       |
 2409|  12.6k|      if (FALocs.size() <= PI)
  ------------------
  |  Branch (2409:11): [True: 11.0k, False: 1.59k]
  ------------------
 2410|  11.0k|        FALocs.resize(PI + 1);
 2411|       |
 2412|  12.6k|      FALocs[PI] = Lexer.getLoc();
 2413|  12.6k|    }
 2414|       |
 2415|       |    // At the end of the statement, fill in remaining arguments that have
 2416|       |    // default values. If there aren't any, then the next argument is
 2417|       |    // required but missing
 2418|  65.0k|    if (Lexer.is(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (2418:9): [True: 26.6k, False: 38.4k]
  ------------------
 2419|  26.6k|      bool Failure = false;
 2420|  38.7k|      for (unsigned FAI = 0; FAI < NParameters; ++FAI) {
  ------------------
  |  Branch (2420:30): [True: 12.0k, False: 26.6k]
  ------------------
 2421|  12.0k|        if (A[FAI].empty()) {
  ------------------
  |  Branch (2421:13): [True: 11.2k, False: 765]
  ------------------
 2422|  11.2k|          if (M->Parameters[FAI].Required) {
  ------------------
  |  Branch (2422:15): [True: 0, False: 11.2k]
  ------------------
 2423|       |            //Error(FALocs[FAI].isValid() ? FALocs[FAI] : Lexer.getLoc(),
 2424|       |            //      "missing value for required parameter "
 2425|       |            //      "'" + M->Parameters[FAI].Name + "' in macro '" + M->Name + "'");
 2426|      0|            KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2427|      0|            Failure = true;
 2428|      0|          }
 2429|       |
 2430|  11.2k|          if (!M->Parameters[FAI].Value.empty())
  ------------------
  |  Branch (2430:15): [True: 3.74k, False: 7.53k]
  ------------------
 2431|  3.74k|            A[FAI] = M->Parameters[FAI].Value;
 2432|  11.2k|        }
 2433|  12.0k|      }
 2434|  26.6k|      return Failure;
 2435|  26.6k|    }
 2436|       |
 2437|  38.4k|    if (Lexer.is(AsmToken::Comma))
  ------------------
  |  Branch (2437:9): [True: 38.4k, False: 0]
  ------------------
 2438|  38.4k|      Lex();
 2439|  38.4k|  }
 2440|       |
 2441|       |  // return TokError("too many positional arguments");
 2442|     95|  KsError = KS_ERR_ASM_MACRO_ARGS;
 2443|     95|  return true;
 2444|  28.0k|}
AsmParser.cpp:_ZN12_GLOBAL__N_119MCAsmMacroParameterC2Ev:
   65|  77.4k|  MCAsmMacroParameter() : Required(false), Vararg(false) {}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseMacroArgumentERNSt3__16vectorIN7llvm_ks8AsmTokenENS1_9allocatorIS4_EEEEb:
 2261|  66.7k|{
 2262|       |
 2263|  66.7k|  if (Vararg) {
  ------------------
  |  Branch (2263:7): [True: 0, False: 66.7k]
  ------------------
 2264|      0|    if (Lexer.isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (2264:9): [True: 0, False: 0]
  ------------------
 2265|      0|      StringRef Str = parseStringToEndOfStatement();
 2266|      0|      MA.emplace_back(AsmToken::String, Str);
 2267|      0|    }
 2268|      0|    return false;
 2269|      0|  }
 2270|       |
 2271|  66.7k|  unsigned ParenLevel = 0;
 2272|  66.7k|  unsigned AddTokens = 0;
 2273|       |
 2274|       |  // Darwin doesn't use spaces to delmit arguments.
 2275|  66.7k|  AsmLexerSkipSpaceRAII ScopedSkipSpace(Lexer, IsDarwin);
 2276|       |
 2277|   151k|  for (;;) {
 2278|   151k|    if (Lexer.is(AsmToken::Eof) || Lexer.is(AsmToken::Equal)) {
  ------------------
  |  Branch (2278:9): [True: 11, False: 151k]
  |  Branch (2278:36): [True: 0, False: 151k]
  ------------------
 2279|       |      // return TokError("unexpected token in macro instantiation");
 2280|     11|      KsError = KS_ERR_ASM_MACRO_TOKEN;
 2281|     11|      return true;
 2282|     11|    }
 2283|       |
 2284|   151k|    if (ParenLevel == 0 && Lexer.is(AsmToken::Comma))
  ------------------
  |  Branch (2284:9): [True: 143k, False: 7.99k]
  |  Branch (2284:28): [True: 38.5k, False: 105k]
  ------------------
 2285|  38.5k|      break;
 2286|       |
 2287|   113k|    if (Lexer.is(AsmToken::Space)) {
  ------------------
  |  Branch (2287:9): [True: 0, False: 113k]
  ------------------
 2288|      0|      Lex(); // Eat spaces
 2289|       |
 2290|       |      // Spaces can delimit parameters, but could also be part an expression.
 2291|       |      // If the token after a space is an operator, add the token and the next
 2292|       |      // one into this argument
 2293|      0|      if (!IsDarwin) {
  ------------------
  |  Branch (2293:11): [True: 0, False: 0]
  ------------------
 2294|      0|        if (isOperator(Lexer.getKind())) {
  ------------------
  |  Branch (2294:13): [True: 0, False: 0]
  ------------------
 2295|       |          // Check to see whether the token is used as an operator,
 2296|       |          // or part of an identifier
 2297|      0|          const char *NextChar = getTok().getEndLoc().getPointer();
 2298|      0|          if (*NextChar == ' ')
  ------------------
  |  Branch (2298:15): [True: 0, False: 0]
  ------------------
 2299|      0|            AddTokens = 2;
 2300|      0|        }
 2301|       |
 2302|      0|        if (!AddTokens && ParenLevel == 0) {
  ------------------
  |  Branch (2302:13): [True: 0, False: 0]
  |  Branch (2302:27): [True: 0, False: 0]
  ------------------
 2303|      0|          break;
 2304|      0|        }
 2305|      0|      }
 2306|      0|    }
 2307|       |
 2308|       |    // handleMacroEntry relies on not advancing the lexer here
 2309|       |    // to be able to fill in the remaining default parameter values
 2310|   113k|    if (Lexer.is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (2310:9): [True: 28.1k, False: 85.2k]
  ------------------
 2311|  28.1k|      break;
 2312|       |
 2313|       |    // Adjust the current parentheses level.
 2314|  85.2k|    if (Lexer.is(AsmToken::LParen))
  ------------------
  |  Branch (2314:9): [True: 2.73k, False: 82.5k]
  ------------------
 2315|  2.73k|      ++ParenLevel;
 2316|  82.5k|    else if (Lexer.is(AsmToken::RParen) && ParenLevel)
  ------------------
  |  Branch (2316:14): [True: 2.65k, False: 79.8k]
  |  Branch (2316:44): [True: 528, False: 2.12k]
  ------------------
 2317|    528|      --ParenLevel;
 2318|       |
 2319|       |    // Append the token to the current argument list.
 2320|  85.2k|    MA.push_back(getTok());
 2321|  85.2k|    if (AddTokens)
  ------------------
  |  Branch (2321:9): [True: 0, False: 85.2k]
  ------------------
 2322|      0|      AddTokens--;
 2323|  85.2k|    Lex();
 2324|  85.2k|  }
 2325|       |
 2326|  66.7k|  if (ParenLevel != 0) {
  ------------------
  |  Branch (2326:7): [True: 360, False: 66.3k]
  ------------------
 2327|       |    // return TokError("unbalanced parentheses in macro argument");
 2328|    360|    KsError = KS_ERR_ASM_MACRO_PAREN;
 2329|    360|    return true;
 2330|    360|  }
 2331|  66.3k|  return false;
 2332|  66.7k|}
AsmParser.cpp:_ZN12_GLOBAL__N_121AsmLexerSkipSpaceRAIIC2ERN7llvm_ks8AsmLexerEb:
 2247|  66.7k|  AsmLexerSkipSpaceRAII(AsmLexer &Lexer, bool SkipSpace) : Lexer(Lexer) {
 2248|  66.7k|    Lexer.setSkipSpace(SkipSpace);
 2249|  66.7k|  }
AsmParser.cpp:_ZN12_GLOBAL__N_121AsmLexerSkipSpaceRAIID2Ev:
 2251|  66.7k|  ~AsmLexerSkipSpaceRAII() {
 2252|  66.7k|    Lexer.setSkipSpace(true);
 2253|  66.7k|  }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser11expandMacroERN7llvm_ks19raw_svector_ostreamENS1_9StringRefENS1_8ArrayRefINS_19MCAsmMacroParameterEEENS5_INSt3__16vectorINS1_8AsmTokenENS8_9allocatorISA_EEEEEEbNS1_5SMLocE:
 2090|  6.65M|{
 2091|  6.65M|  unsigned NParameters = Parameters.size();
 2092|  6.65M|  bool HasVararg = NParameters ? Parameters.back().Vararg : false;
  ------------------
  |  Branch (2092:20): [True: 31.1k, False: 6.62M]
  ------------------
 2093|  6.65M|  if ((!IsDarwin || NParameters != 0) && NParameters != A.size())
  ------------------
  |  Branch (2093:8): [True: 0, False: 6.65M]
  |  Branch (2093:21): [True: 31.1k, False: 6.62M]
  |  Branch (2093:42): [True: 0, False: 31.1k]
  ------------------
 2094|       |    //return Error(L, "Wrong number of arguments");
 2095|      0|    return true;
 2096|       |
 2097|       |  // A macro without parameters is handled differently on Darwin:
 2098|       |  // gas accepts no arguments and does no substitutions
 2099|  6.67M|  while (!Body.empty()) {
  ------------------
  |  Branch (2099:10): [True: 6.05M, False: 620k]
  ------------------
 2100|       |    // Scan for the next substitution.
 2101|  6.05M|    std::size_t End = Body.size(), Pos = 0;
 2102|  26.7M|    for (; Pos != End; ++Pos) {
  ------------------
  |  Branch (2102:12): [True: 20.7M, False: 6.03M]
  ------------------
 2103|       |      // Check for a substitution or escape.
 2104|  20.7M|      if (IsDarwin && !NParameters) {
  ------------------
  |  Branch (2104:11): [True: 20.7M, False: 0]
  |  Branch (2104:23): [True: 17.3M, False: 3.30M]
  ------------------
 2105|       |        // This macro has no parameters, look for $0, $1, etc.
 2106|  17.3M|        if (Body[Pos] != '$' || Pos + 1 == End)
  ------------------
  |  Branch (2106:13): [True: 17.3M, False: 39.1k]
  |  Branch (2106:33): [True: 0, False: 39.1k]
  ------------------
 2107|  17.3M|          continue;
 2108|       |
 2109|  39.1k|        char Next = Body[Pos + 1];
 2110|  39.1k|        if (Next == '$' || Next == 'n' ||
  ------------------
  |  Branch (2110:13): [True: 3.45k, False: 35.7k]
  |  Branch (2110:28): [True: 640, False: 35.1k]
  ------------------
 2111|  35.1k|            isdigit(static_cast<unsigned char>(Next)))
  ------------------
  |  Branch (2111:13): [True: 3.24k, False: 31.8k]
  ------------------
 2112|  7.33k|          break;
 2113|  3.30M|      } else {
 2114|       |        // This macro has parameters, look for \foo, \bar, etc.
 2115|  3.30M|        if (Body[Pos] == '\\' && Pos + 1 != End)
  ------------------
  |  Branch (2115:13): [True: 15.8k, False: 3.29M]
  |  Branch (2115:34): [True: 15.8k, False: 0]
  ------------------
 2116|  15.8k|          break;
 2117|  3.30M|      }
 2118|  20.7M|    }
 2119|       |
 2120|       |    // Add the prefix.
 2121|  6.05M|    OS << Body.slice(0, Pos);
 2122|       |
 2123|       |    // Check if we reached the end.
 2124|  6.05M|    if (Pos == End)
  ------------------
  |  Branch (2124:9): [True: 6.03M, False: 23.2k]
  ------------------
 2125|  6.03M|      break;
 2126|       |
 2127|  23.2k|    if (IsDarwin && !NParameters) {
  ------------------
  |  Branch (2127:9): [True: 23.2k, False: 0]
  |  Branch (2127:21): [True: 7.33k, False: 15.8k]
  ------------------
 2128|  7.33k|      switch (Body[Pos + 1]) {
 2129|       |      // $$ => $
 2130|  3.45k|      case '$':
  ------------------
  |  Branch (2130:7): [True: 3.45k, False: 3.88k]
  ------------------
 2131|  3.45k|        OS << '$';
 2132|  3.45k|        break;
 2133|       |
 2134|       |      // $n => number of arguments
 2135|    640|      case 'n':
  ------------------
  |  Branch (2135:7): [True: 640, False: 6.69k]
  ------------------
 2136|    640|        OS << A.size();
 2137|    640|        break;
 2138|       |
 2139|       |      // $[0-9] => argument
 2140|  3.24k|      default: {
  ------------------
  |  Branch (2140:7): [True: 3.24k, False: 4.09k]
  ------------------
 2141|       |        // Missing arguments are ignored.
 2142|  3.24k|        unsigned Index = Body[Pos + 1] - '0';
 2143|  3.24k|        if (Index >= A.size())
  ------------------
  |  Branch (2143:13): [True: 2.43k, False: 804]
  ------------------
 2144|  2.43k|          break;
 2145|       |
 2146|       |        // Otherwise substitute with the token values, with spaces eliminated.
 2147|    804|        for (const AsmToken &Token : A[Index])
  ------------------
  |  Branch (2147:36): [True: 3.10k, False: 804]
  ------------------
 2148|  3.10k|          OS << Token.getString();
 2149|    804|        break;
 2150|  3.24k|      }
 2151|  7.33k|      }
 2152|  7.33k|      Pos += 2;
 2153|  15.8k|    } else {
 2154|  15.8k|      unsigned I = Pos + 1;
 2155|       |
 2156|       |      // Check for the \@ pseudo-variable.
 2157|  15.8k|      if (EnableAtPseudoVariable && Body[I] == '@' && I + 1 != End)
  ------------------
  |  Branch (2157:11): [True: 15.8k, False: 0]
  |  Branch (2157:37): [True: 597, False: 15.2k]
  |  Branch (2157:55): [True: 597, False: 0]
  ------------------
 2158|    597|        ++I;
 2159|  15.2k|      else
 2160|  25.3k|        while (isIdentifierChar(Body[I]) && I + 1 != End)
  ------------------
  |  Branch (2160:16): [True: 10.0k, False: 15.2k]
  |  Branch (2160:45): [True: 10.0k, False: 0]
  ------------------
 2161|  10.0k|          ++I;
 2162|       |
 2163|  15.8k|      const char *Begin = Body.data() + Pos + 1;
 2164|  15.8k|      StringRef Argument(Begin, I - (Pos + 1));
 2165|  15.8k|      unsigned Index = 0;
 2166|       |
 2167|  15.8k|      if (Argument == "@") {
  ------------------
  |  Branch (2167:11): [True: 597, False: 15.2k]
  ------------------
 2168|    597|        OS << NumOfMacroInstantiations;
 2169|    597|        Pos += 2;
 2170|  15.2k|      } else {
 2171|  29.2k|        for (; Index < NParameters; ++Index)
  ------------------
  |  Branch (2171:16): [True: 16.1k, False: 13.1k]
  ------------------
 2172|  16.1k|          if (Parameters[Index].Name == Argument)
  ------------------
  |  Branch (2172:15): [True: 2.10k, False: 14.0k]
  ------------------
 2173|  2.10k|            break;
 2174|       |
 2175|  15.2k|        if (Index == NParameters) {
  ------------------
  |  Branch (2175:13): [True: 13.1k, False: 2.10k]
  ------------------
 2176|  13.1k|          if (Body[Pos + 1] == '(' && Body[Pos + 2] == ')')
  ------------------
  |  Branch (2176:15): [True: 1.03k, False: 12.1k]
  |  Branch (2176:39): [True: 714, False: 321]
  ------------------
 2177|    714|            Pos += 3;
 2178|  12.4k|          else {
 2179|  12.4k|            OS << '\\' << Argument;
 2180|  12.4k|            Pos = I;
 2181|  12.4k|          }
 2182|  13.1k|        } else {
 2183|  2.10k|          bool VarargParameter = HasVararg && Index == (NParameters - 1);
  ------------------
  |  Branch (2183:34): [True: 0, False: 2.10k]
  |  Branch (2183:47): [True: 0, False: 0]
  ------------------
 2184|  2.10k|          for (const AsmToken &Token : A[Index])
  ------------------
  |  Branch (2184:38): [True: 15.7k, False: 2.10k]
  ------------------
 2185|       |            // We expect no quotes around the string's contents when
 2186|       |            // parsing for varargs.
 2187|  15.7k|            if (Token.getKind() != AsmToken::String || VarargParameter)
  ------------------
  |  Branch (2187:17): [True: 12.3k, False: 3.38k]
  |  Branch (2187:56): [True: 0, False: 3.38k]
  ------------------
 2188|  12.3k|              OS << Token.getString();
 2189|  3.38k|            else {
 2190|  3.38k|              bool valid;
 2191|  3.38k|              OS << Token.getStringContents(valid);
 2192|  3.38k|              if (!valid) {
  ------------------
  |  Branch (2192:19): [True: 0, False: 3.38k]
  ------------------
 2193|      0|                  return true;
 2194|      0|              }
 2195|  3.38k|            }
 2196|       |
 2197|  2.10k|          Pos += 1 + Argument.size();
 2198|  2.10k|        }
 2199|  15.2k|      }
 2200|  15.8k|    }
 2201|       |    // Update the scan point.
 2202|  23.2k|    Body = Body.substr(Pos);
 2203|  23.2k|  }
 2204|       |
 2205|  6.65M|  return false;
 2206|  6.65M|}
AsmParser.cpp:_ZL16isIdentifierCharc:
 2081|  36.7k|static bool isIdentifierChar(char c) {
 2082|  36.7k|  return isalnum(static_cast<unsigned char>(c)) || c == '_' || c == '$' ||
  ------------------
  |  Branch (2082:10): [True: 12.3k, False: 24.4k]
  |  Branch (2082:52): [True: 990, False: 23.4k]
  |  Branch (2082:64): [True: 1.74k, False: 21.6k]
  ------------------
 2083|  21.6k|         c == '.';
  ------------------
  |  Branch (2083:10): [True: 556, False: 21.1k]
  ------------------
 2084|  36.7k|}
AsmParser.cpp:_ZN12_GLOBAL__N_118MacroInstantiationC2EN7llvm_ks5SMLocEiS2_m:
 2210|  25.4k|    : InstantiationLoc(IL), ExitBuffer(EB), ExitLoc(EL),
 2211|  25.4k|      CondStackDepth(CondStackDepth) {}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser11isDirectiveEN7llvm_ks9StringRefE:
 1435|   335k|{
 1436|   335k|    if (KsSyntax == KS_OPT_SYNTAX_NASM)
  ------------------
  |  Branch (1436:9): [True: 737, False: 334k]
  ------------------
 1437|    737|        return isNasmDirective(IDVal);
 1438|   334k|    else // Directives start with "."
 1439|   334k|        return (!IDVal.empty() && IDVal[0] == '.' && IDVal != ".");
  ------------------
  |  Branch (1439:17): [True: 334k, False: 318]
  |  Branch (1439:35): [True: 270k, False: 63.1k]
  |  Branch (1439:54): [True: 260k, False: 10.7k]
  ------------------
 1440|   335k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveSetEN7llvm_ks9StringRefEb:
 2594|  1.03k|bool AsmParser::parseDirectiveSet(StringRef IDVal, bool allow_redef) {
 2595|  1.03k|  StringRef Name;
 2596|       |
 2597|  1.03k|  if (parseIdentifier(Name)) {
  ------------------
  |  Branch (2597:7): [True: 245, False: 790]
  ------------------
 2598|       |    // return TokError("expected identifier after '" + Twine(IDVal) + "'");
 2599|    245|    KsError = KS_ERR_ASM_DIRECTIVE_ID;
 2600|    245|    return true;
 2601|    245|  }
 2602|       |
 2603|    790|  if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (2603:7): [True: 430, False: 360]
  ------------------
 2604|       |    // return TokError("unexpected token in '" + Twine(IDVal) + "'");
 2605|    430|    KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2606|    430|    return true;
 2607|    430|  }
 2608|    360|  Lex();
 2609|       |
 2610|    360|  return parseAssignment(Name, allow_redef, true);
 2611|    790|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveAsciiEN7llvm_ks9StringRefEb:
 2692|    850|{
 2693|    850|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (2693:7): [True: 563, False: 287]
  ------------------
 2694|    563|    checkForValidSection();
 2695|       |
 2696|    770|    for (;;) {
 2697|    770|      if (getLexer().isNot(AsmToken::String)) {
  ------------------
  |  Branch (2697:11): [True: 378, False: 392]
  ------------------
 2698|       |        // return TokError("expected string in '" + Twine(IDVal) + "' directive");
 2699|    378|        KsError = KS_ERR_ASM_DIRECTIVE_STR;
 2700|    378|        return true;
 2701|    378|      }
 2702|       |
 2703|    392|      std::string Data;
 2704|    392|      if (parseEscapedString(Data)) {
  ------------------
  |  Branch (2704:11): [True: 6, False: 386]
  ------------------
 2705|      6|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2706|      6|        return true;
 2707|      6|      }
 2708|       |
 2709|    386|      getStreamer().EmitBytes(Data);
 2710|    386|      if (ZeroTerminated)
  ------------------
  |  Branch (2710:11): [True: 376, False: 10]
  ------------------
 2711|    376|        getStreamer().EmitBytes(StringRef("\0", 1));
 2712|       |
 2713|    386|      Lex();
 2714|       |
 2715|    386|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (2715:11): [True: 96, False: 290]
  ------------------
 2716|     96|        break;
 2717|       |
 2718|    290|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (2718:11): [True: 83, False: 207]
  ------------------
 2719|       |        // return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
 2720|     83|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2721|     83|        return true;
 2722|     83|      }
 2723|    207|      Lex();
 2724|    207|    }
 2725|    563|  }
 2726|       |
 2727|    383|  Lex();
 2728|    383|  return false;
 2729|    850|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveValueEjRj:
 2808|  2.50k|{
 2809|  2.50k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (2809:7): [True: 1.94k, False: 560]
  ------------------
 2810|  1.94k|    checkForValidSection();
 2811|       |
 2812|  7.84k|    for (;;) {
 2813|  7.84k|      const MCExpr *Value;
 2814|  7.84k|      SMLoc ExprLoc = getLexer().getLoc();
 2815|  7.84k|      if (parseExpression(Value)) {
  ------------------
  |  Branch (2815:11): [True: 444, False: 7.39k]
  ------------------
 2816|    444|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2817|    444|        return true;
 2818|    444|      }
 2819|       |
 2820|       |      // Special case constant expressions to match code generator.
 2821|  7.39k|      if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) {
  ------------------
  |  Branch (2821:33): [True: 843, False: 6.55k]
  ------------------
 2822|    843|        assert(Size <= 8 && "Invalid size");
  ------------------
  |  Branch (2822:9): [True: 843, False: 0]
  |  Branch (2822:9): [True: 843, Folded]
  |  Branch (2822:9): [True: 843, False: 0]
  ------------------
 2823|    843|        uint64_t IntValue = MCE->getValue();
 2824|    843|        if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) {
  ------------------
  |  Branch (2824:13): [True: 268, False: 575]
  |  Branch (2824:45): [True: 96, False: 172]
  ------------------
 2825|       |            // return Error(ExprLoc, "literal value out of range for directive");
 2826|     96|            KsError = KS_ERR_ASM_DIRECTIVE_VALUE_RANGE;
 2827|     96|            return true;
 2828|     96|        }
 2829|    747|        bool Error;
 2830|    747|        getStreamer().EmitIntValue(IntValue, Size, Error);
 2831|    747|        if (Error) {
  ------------------
  |  Branch (2831:13): [True: 0, False: 747]
  ------------------
 2832|      0|            KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2833|      0|            return true;
 2834|      0|        }
 2835|    747|      } else
 2836|  6.55k|        getStreamer().EmitValue(Value, Size, ExprLoc);
 2837|       |
 2838|  7.30k|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (2838:11): [True: 1.20k, False: 6.09k]
  ------------------
 2839|  1.20k|        break;
 2840|       |
 2841|       |      // FIXME: Improve diagnostic.
 2842|  6.09k|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (2842:11): [True: 205, False: 5.89k]
  ------------------
 2843|       |        // return TokError("unexpected token in directive");
 2844|    205|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2845|    205|        return true;
 2846|    205|      }
 2847|  5.89k|      Lex();
 2848|  5.89k|    }
 2849|  1.94k|  }
 2850|       |
 2851|  1.76k|  Lex();
 2852|  1.76k|  return false;
 2853|  2.50k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser15parseExpressionERPKN7llvm_ks6MCExprE:
 1076|   223k|bool AsmParser::parseExpression(const MCExpr *&Res) {
 1077|   223k|  SMLoc EndLoc;
 1078|   223k|  return parseExpression(Res, EndLoc);
 1079|   223k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser23parseDirectiveOctaValueERj:
 2858|    290|{
 2859|    290|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (2859:7): [True: 78, False: 212]
  ------------------
 2860|     78|    checkForValidSection();
 2861|       |
 2862|    985|    for (;;) {
 2863|    985|      if (Lexer.getKind() == AsmToken::Error) {
  ------------------
  |  Branch (2863:11): [True: 5, False: 980]
  ------------------
 2864|      5|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2865|      5|        return true;
 2866|      5|      }
 2867|    980|      if (Lexer.getKind() != AsmToken::Integer &&
  ------------------
  |  Branch (2867:11): [True: 309, False: 671]
  ------------------
 2868|    309|          Lexer.getKind() != AsmToken::BigNum) {
  ------------------
  |  Branch (2868:11): [True: 13, False: 296]
  ------------------
 2869|       |        // return TokError("unknown token in expression");
 2870|     13|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2871|     13|        return true;
 2872|     13|      }
 2873|       |
 2874|       |      // SMLoc ExprLoc = getLexer().getLoc();
 2875|    967|      bool valid;
 2876|    967|      APInt IntValue = getTok().getAPIntVal(valid);
 2877|    967|      if (!valid) {
  ------------------
  |  Branch (2877:11): [True: 0, False: 967]
  ------------------
 2878|      0|          KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2879|      0|          return true;
 2880|      0|      }
 2881|    967|      Lex();
 2882|       |
 2883|    967|      uint64_t hi, lo;
 2884|    967|      if (IntValue.isIntN(64)) {
  ------------------
  |  Branch (2884:11): [True: 671, False: 296]
  ------------------
 2885|    671|        hi = 0;
 2886|    671|        lo = IntValue.getZExtValue();
 2887|    671|      } else if (IntValue.isIntN(128)) {
  ------------------
  |  Branch (2887:18): [True: 290, False: 6]
  ------------------
 2888|       |        // It might actually have more than 128 bits, but the top ones are zero.
 2889|    290|        hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue();
 2890|    290|        lo = IntValue.getLoBits(64).getZExtValue();
 2891|    290|      } else {
 2892|       |        // return Error(ExprLoc, "literal value out of range for directive");
 2893|      6|        KsError = KS_ERR_ASM_DIRECTIVE_VALUE_RANGE;
 2894|      6|        return true;
 2895|      6|      }
 2896|       |
 2897|    961|      bool Error;
 2898|    961|      if (MAI.isLittleEndian()) {
  ------------------
  |  Branch (2898:11): [True: 961, False: 0]
  ------------------
 2899|    961|        getStreamer().EmitIntValue(lo, 8, Error);
 2900|    961|        getStreamer().EmitIntValue(hi, 8, Error);
 2901|    961|      } else {
 2902|      0|        getStreamer().EmitIntValue(hi, 8, Error);
 2903|      0|        getStreamer().EmitIntValue(lo, 8, Error);
 2904|      0|      }
 2905|       |
 2906|    961|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (2906:11): [True: 45, False: 916]
  ------------------
 2907|     45|        break;
 2908|       |
 2909|       |      // FIXME: Improve diagnostic.
 2910|    916|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (2910:11): [True: 9, False: 907]
  ------------------
 2911|       |        // return TokError("unexpected token in directive");
 2912|      9|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2913|      9|        return true;
 2914|      9|      }
 2915|    907|      Lex();
 2916|    907|    }
 2917|     78|  }
 2918|       |
 2919|    257|  Lex();
 2920|    257|  return false;
 2921|    290|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser23parseDirectiveRealValueERKN7llvm_ks12fltSemanticsE:
 2926|  2.01k|{
 2927|  2.01k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (2927:7): [True: 1.70k, False: 314]
  ------------------
 2928|  1.70k|    checkForValidSection();
 2929|       |
 2930|  6.06k|    for (;;) {
 2931|       |      // We don't truly support arithmetic on floating point expressions, so we
 2932|       |      // have to manually parse unary prefixes.
 2933|  6.06k|      bool IsNeg = false;
 2934|  6.06k|      if (getLexer().is(AsmToken::Minus)) {
  ------------------
  |  Branch (2934:11): [True: 1.22k, False: 4.83k]
  ------------------
 2935|  1.22k|        Lex();
 2936|  1.22k|        IsNeg = true;
 2937|  4.83k|      } else if (getLexer().is(AsmToken::Plus))
  ------------------
  |  Branch (2937:18): [True: 897, False: 3.94k]
  ------------------
 2938|    897|        Lex();
 2939|       |
 2940|  6.06k|      if (getLexer().isNot(AsmToken::Integer) &&
  ------------------
  |  Branch (2940:11): [True: 2.43k, False: 3.63k]
  ------------------
 2941|  2.43k|          getLexer().isNot(AsmToken::Real) &&
  ------------------
  |  Branch (2941:11): [True: 1.94k, False: 483]
  ------------------
 2942|  1.94k|          getLexer().isNot(AsmToken::Identifier)) {
  ------------------
  |  Branch (2942:11): [True: 223, False: 1.72k]
  ------------------
 2943|       |        // return TokError("unexpected token in directive");
 2944|    223|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2945|    223|        return true;
 2946|    223|      }
 2947|       |
 2948|       |      // Convert to an APFloat.
 2949|  5.84k|      APFloat Value(Semantics);
 2950|  5.84k|      StringRef IDVal = getTok().getString();
 2951|  5.84k|      if (getLexer().is(AsmToken::Identifier)) {
  ------------------
  |  Branch (2951:11): [True: 1.72k, False: 4.11k]
  ------------------
 2952|  1.72k|        if (!IDVal.compare_lower("infinity") || !IDVal.compare_lower("inf"))
  ------------------
  |  Branch (2952:13): [True: 21, False: 1.70k]
  |  Branch (2952:13): [True: 639, False: 1.08k]
  |  Branch (2952:49): [True: 618, False: 1.08k]
  ------------------
 2953|    639|          Value = APFloat::getInf(Semantics);
 2954|  1.08k|        else if (!IDVal.compare_lower("nan"))
  ------------------
  |  Branch (2954:18): [True: 410, False: 677]
  ------------------
 2955|    410|          Value = APFloat::getNaN(Semantics, false, ~0);
 2956|    677|        else {
 2957|       |          // return TokError("invalid floating point literal");
 2958|    677|          KsError = KS_ERR_ASM_DIRECTIVE_FPOINT;
 2959|    677|          return true;
 2960|    677|        }
 2961|  4.11k|      } else if (Value.convertFromString(IDVal, APFloat::rmNearestTiesToEven) ==
  ------------------
  |  Branch (2961:18): [True: 9, False: 4.10k]
  ------------------
 2962|  4.11k|                 APFloat::opInvalidOp) {
 2963|       |        // return TokError("invalid floating point literal");
 2964|      9|        KsError = KS_ERR_ASM_DIRECTIVE_FPOINT;
 2965|      9|        return true;
 2966|      9|      }
 2967|  5.15k|      if (IsNeg)
  ------------------
  |  Branch (2967:11): [True: 1.08k, False: 4.07k]
  ------------------
 2968|  1.08k|        Value.changeSign();
 2969|       |
 2970|       |      // Consume the numeric token.
 2971|  5.15k|      Lex();
 2972|       |
 2973|       |      // Emit the value as an integer.
 2974|  5.15k|      APInt AsInt = Value.bitcastToAPInt();
 2975|  5.15k|      bool Error;
 2976|  5.15k|      getStreamer().EmitIntValue(AsInt.getLimitedValue(),
 2977|  5.15k|                                 AsInt.getBitWidth() / 8, Error);
 2978|  5.15k|      if (Error) {
  ------------------
  |  Branch (2978:11): [True: 0, False: 5.15k]
  ------------------
 2979|      0|          KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2980|      0|          return true;
 2981|      0|      }
 2982|       |
 2983|  5.15k|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (2983:11): [True: 234, False: 4.92k]
  ------------------
 2984|    234|        break;
 2985|       |
 2986|  4.92k|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (2986:11): [True: 561, False: 4.36k]
  ------------------
 2987|       |        // return TokError("unexpected token in directive");
 2988|    561|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2989|    561|        return true;
 2990|    561|      }
 2991|  4.36k|      Lex();
 2992|  4.36k|    }
 2993|  1.70k|  }
 2994|       |
 2995|    548|  Lex();
 2996|    548|  return false;
 2997|  2.01k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveAlignEbj:
 3170|  18.4k|{
 3171|  18.4k|  checkForValidSection();
 3172|       |
 3173|       |  //SMLoc AlignmentLoc = getLexer().getLoc();
 3174|  18.4k|  int64_t Alignment;
 3175|  18.4k|  if (parseAbsoluteExpression(Alignment)) {
  ------------------
  |  Branch (3175:7): [True: 1.70k, False: 16.7k]
  ------------------
 3176|  1.70k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3177|  1.70k|    return true;
 3178|  1.70k|  }
 3179|       |
 3180|  16.7k|  SMLoc MaxBytesLoc;
 3181|  16.7k|  bool HasFillExpr = false;
 3182|  16.7k|  int64_t FillExpr = 0;
 3183|  16.7k|  int64_t MaxBytesToFill = 0;
 3184|  16.7k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3184:7): [True: 14.7k, False: 1.98k]
  ------------------
 3185|  14.7k|    if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (3185:9): [True: 519, False: 14.2k]
  ------------------
 3186|       |      // return TokError("unexpected token in directive");
 3187|    519|      KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3188|    519|      return true;
 3189|    519|    }
 3190|  14.2k|    Lex();
 3191|       |
 3192|       |    // The fill expression can be omitted while specifying a maximum number of
 3193|       |    // alignment bytes, e.g:
 3194|       |    //  .align 3,,4
 3195|  14.2k|    if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (3195:9): [True: 13.8k, False: 400]
  ------------------
 3196|  13.8k|      HasFillExpr = true;
 3197|  13.8k|      if (parseAbsoluteExpression(FillExpr)) {
  ------------------
  |  Branch (3197:11): [True: 464, False: 13.3k]
  ------------------
 3198|    464|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3199|    464|        return true;
 3200|    464|      }
 3201|  13.8k|    }
 3202|       |
 3203|  13.7k|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3203:9): [True: 9.15k, False: 4.58k]
  ------------------
 3204|  9.15k|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (3204:11): [True: 713, False: 8.44k]
  ------------------
 3205|       |        // return TokError("unexpected token in directive");
 3206|    713|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3207|    713|        return true;
 3208|    713|      }
 3209|  8.44k|      Lex();
 3210|       |
 3211|  8.44k|      MaxBytesLoc = getLexer().getLoc();
 3212|  8.44k|      if (parseAbsoluteExpression(MaxBytesToFill)) {
  ------------------
  |  Branch (3212:11): [True: 2.81k, False: 5.63k]
  ------------------
 3213|  2.81k|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3214|  2.81k|        return true;
 3215|  2.81k|      }
 3216|       |
 3217|  5.63k|      if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3217:11): [True: 376, False: 5.25k]
  ------------------
 3218|       |        // return TokError("unexpected token in directive");
 3219|    376|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3220|    376|        return true;
 3221|    376|      }
 3222|  5.63k|    }
 3223|  13.7k|  }
 3224|       |
 3225|  11.8k|  Lex();
 3226|       |
 3227|  11.8k|  if (!HasFillExpr)
  ------------------
  |  Branch (3227:7): [True: 2.35k, False: 9.47k]
  ------------------
 3228|  2.35k|    FillExpr = 0;
 3229|       |
 3230|       |  // Compute alignment in bytes.
 3231|  11.8k|  if (IsPow2) {
  ------------------
  |  Branch (3231:7): [True: 0, False: 11.8k]
  ------------------
 3232|       |    // FIXME: Diagnose overflow.
 3233|      0|    if (Alignment >= 32) {
  ------------------
  |  Branch (3233:9): [True: 0, False: 0]
  ------------------
 3234|       |      //Error(AlignmentLoc, "invalid alignment value");
 3235|      0|      Alignment = 31;
 3236|      0|    }
 3237|       |
 3238|      0|    Alignment = 1ULL << Alignment;
 3239|  11.8k|  } else {
 3240|       |    // Reject alignments that aren't either a power of two or zero,
 3241|       |    // for gas compatibility. Alignment of zero is silently rounded
 3242|       |    // up to one.
 3243|  11.8k|    if (Alignment == 0)
  ------------------
  |  Branch (3243:9): [True: 3.00k, False: 8.82k]
  ------------------
 3244|  3.00k|      Alignment = 1;
 3245|  11.8k|    if (!isPowerOf2_64(Alignment)) {
  ------------------
  |  Branch (3245:9): [True: 1.83k, False: 9.99k]
  ------------------
 3246|       |      //Error(AlignmentLoc, "alignment must be a power of 2");
 3247|  1.83k|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3248|  1.83k|      return true;
 3249|  1.83k|    }
 3250|  11.8k|  }
 3251|       |
 3252|       |  // Diagnose non-sensical max bytes to align.
 3253|  9.99k|  if (MaxBytesLoc.isValid()) {
  ------------------
  |  Branch (3253:7): [True: 5.08k, False: 4.91k]
  ------------------
 3254|  5.08k|    if (MaxBytesToFill < 1) {
  ------------------
  |  Branch (3254:9): [True: 303, False: 4.77k]
  ------------------
 3255|       |      //Error(MaxBytesLoc, "alignment directive can never be satisfied in this "
 3256|       |      //                   "many bytes, ignoring maximum bytes expression");
 3257|    303|      MaxBytesToFill = 0;
 3258|    303|    }
 3259|       |
 3260|  5.08k|    if (MaxBytesToFill >= Alignment) {
  ------------------
  |  Branch (3260:9): [True: 3.91k, False: 1.16k]
  ------------------
 3261|  3.91k|      Warning(MaxBytesLoc, "maximum bytes expression exceeds alignment and "
 3262|  3.91k|                           "has no effect");
 3263|  3.91k|      MaxBytesToFill = 0;
 3264|  3.91k|    }
 3265|  5.08k|  }
 3266|       |
 3267|       |  // Check whether we should use optimal code alignment for this .align
 3268|       |  // directive.
 3269|  9.99k|  const MCSection *Section = getStreamer().getCurrentSection().first;
 3270|  9.99k|  assert(Section && "must have section to emit alignment");
  ------------------
  |  Branch (3270:3): [True: 9.99k, False: 0]
  |  Branch (3270:3): [True: 9.99k, Folded]
  |  Branch (3270:3): [True: 9.99k, False: 0]
  ------------------
 3271|  9.99k|  bool UseCodeAlign = Section->UseCodeAlign();
 3272|  9.99k|  if ((!HasFillExpr || Lexer.getMAI().getTextAlignFillValue() == FillExpr) &&
  ------------------
  |  Branch (3272:8): [True: 875, False: 9.12k]
  |  Branch (3272:24): [True: 1, False: 9.12k]
  ------------------
 3273|    876|      ValueSize == 1 && UseCodeAlign) {
  ------------------
  |  Branch (3273:7): [True: 861, False: 15]
  |  Branch (3273:25): [True: 843, False: 18]
  ------------------
 3274|    843|    getStreamer().EmitCodeAlignment(Alignment, MaxBytesToFill);
 3275|  9.15k|  } else {
 3276|       |    // FIXME: Target specific behavior about how the "extra" bytes are filled.
 3277|  9.15k|    getStreamer().EmitValueToAlignment(Alignment, FillExpr, ValueSize,
 3278|  9.15k|                                       MaxBytesToFill);
 3279|  9.15k|  }
 3280|       |
 3281|  9.99k|  return false;
 3282|  9.99k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveOrgEv:
 3131|    654|bool AsmParser::parseDirectiveOrg() {
 3132|    654|  checkForValidSection();
 3133|       |
 3134|    654|  const MCExpr *Offset;
 3135|    654|  if (parseExpression(Offset)) {
  ------------------
  |  Branch (3135:7): [True: 228, False: 426]
  ------------------
 3136|    228|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3137|    228|    return true;
 3138|    228|  }
 3139|       |
 3140|       |  // Parse optional fill expression.
 3141|    426|  int64_t FillExpr = 0;
 3142|    426|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3142:7): [True: 196, False: 230]
  ------------------
 3143|    196|    if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (3143:9): [True: 116, False: 80]
  ------------------
 3144|       |      // return TokError("unexpected token in '.org' directive");
 3145|    116|      KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3146|    116|      return true;
 3147|    116|    }
 3148|     80|    Lex();
 3149|       |
 3150|     80|    if (parseAbsoluteExpression(FillExpr)) {
  ------------------
  |  Branch (3150:9): [True: 25, False: 55]
  ------------------
 3151|     25|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3152|     25|      return true;
 3153|     25|    }
 3154|       |
 3155|     55|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3155:9): [True: 14, False: 41]
  ------------------
 3156|       |      // return TokError("unexpected token in '.org' directive");
 3157|     14|      KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3158|     14|      return true;
 3159|     14|    }
 3160|     55|  }
 3161|       |
 3162|    271|  Lex();
 3163|    271|  getStreamer().emitValueToOffset(Offset, FillExpr);
 3164|    271|  return false;
 3165|    426|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveFillEv:
 3036|  10.0k|{
 3037|  10.0k|  checkForValidSection();
 3038|       |
 3039|  10.0k|  SMLoc RepeatLoc = getLexer().getLoc();
 3040|  10.0k|  int64_t NumValues;
 3041|  10.0k|  if (parseAbsoluteExpression(NumValues)) {
  ------------------
  |  Branch (3041:7): [True: 595, False: 9.46k]
  ------------------
 3042|    595|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3043|    595|    return true;
 3044|    595|  }
 3045|       |
 3046|  9.46k|  if (NumValues < 0) {
  ------------------
  |  Branch (3046:7): [True: 7.11k, False: 2.35k]
  ------------------
 3047|  7.11k|    Warning(RepeatLoc,
 3048|  7.11k|            "'.fill' directive with negative repeat count has no effect");
 3049|  7.11k|    NumValues = 0;
 3050|  7.11k|  }
 3051|       |
 3052|  9.46k|  int64_t FillSize = 1;
 3053|  9.46k|  int64_t FillExpr = 0;
 3054|       |
 3055|  9.46k|  SMLoc SizeLoc, ExprLoc;
 3056|  9.46k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3056:7): [True: 9.10k, False: 364]
  ------------------
 3057|  9.10k|    if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (3057:9): [True: 244, False: 8.86k]
  ------------------
 3058|       |      // return TokError("unexpected token in '.fill' directive");
 3059|    244|      KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3060|    244|      return true;
 3061|    244|    }
 3062|  8.86k|    Lex();
 3063|       |
 3064|  8.86k|    SizeLoc = getLexer().getLoc();
 3065|  8.86k|    if (parseAbsoluteExpression(FillSize)) {
  ------------------
  |  Branch (3065:9): [True: 1.81k, False: 7.04k]
  ------------------
 3066|  1.81k|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3067|  1.81k|      return true;
 3068|  1.81k|    }
 3069|       |
 3070|  7.04k|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3070:9): [True: 4.27k, False: 2.77k]
  ------------------
 3071|  4.27k|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (3071:11): [True: 784, False: 3.48k]
  ------------------
 3072|       |        // return TokError("unexpected token in '.fill' directive");
 3073|    784|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3074|    784|        return true;
 3075|    784|      }
 3076|  3.48k|      Lex();
 3077|       |
 3078|  3.48k|      ExprLoc = getLexer().getLoc();
 3079|  3.48k|      if (parseAbsoluteExpression(FillExpr)) {
  ------------------
  |  Branch (3079:11): [True: 1.88k, False: 1.60k]
  ------------------
 3080|  1.88k|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3081|  1.88k|        return true;
 3082|  1.88k|      }
 3083|       |
 3084|  1.60k|      if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3084:11): [True: 207, False: 1.39k]
  ------------------
 3085|       |        // return TokError("unexpected token in '.fill' directive");
 3086|    207|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3087|    207|        return true;
 3088|    207|      }
 3089|       |
 3090|  1.39k|      Lex();
 3091|  1.39k|    }
 3092|  7.04k|  }
 3093|       |
 3094|  4.53k|  if (FillSize < 0) {
  ------------------
  |  Branch (3094:7): [True: 606, False: 3.92k]
  ------------------
 3095|    606|    Warning(SizeLoc, "'.fill' directive with negative size has no effect");
 3096|    606|    NumValues = 0;
 3097|    606|  }
 3098|  4.53k|  if (FillSize > 8) {
  ------------------
  |  Branch (3098:7): [True: 2.85k, False: 1.68k]
  ------------------
 3099|  2.85k|    Warning(SizeLoc, "'.fill' directive with size greater than 8 has been truncated to 8");
 3100|  2.85k|    FillSize = 8;
 3101|  2.85k|  }
 3102|       |
 3103|  4.53k|  if (!isUInt<32>(FillExpr) && FillSize > 4)
  ------------------
  |  Branch (3103:7): [True: 1.27k, False: 3.25k]
  |  Branch (3103:32): [True: 515, False: 762]
  ------------------
 3104|    515|    Warning(ExprLoc, "'.fill' directive pattern has been truncated to 32-bits");
 3105|       |
 3106|  4.53k|  if (NumValues > 0) {
  ------------------
  |  Branch (3106:7): [True: 1.23k, False: 3.29k]
  ------------------
 3107|  1.23k|    int64_t NonZeroFillSize = FillSize > 4 ? 4 : FillSize;
  ------------------
  |  Branch (3107:31): [True: 316, False: 923]
  ------------------
 3108|  1.23k|    FillExpr &= ~0ULL >> (64 - NonZeroFillSize * 8);
 3109|  1.23k|    bool Error;
 3110|  61.2M|    for (uint64_t i = 0, e = NumValues; i != e; ++i) {
  ------------------
  |  Branch (3110:41): [True: 61.2M, False: 587]
  ------------------
 3111|  61.2M|      getStreamer().EmitIntValue(FillExpr, NonZeroFillSize, Error);
 3112|  61.2M|      if (Error) {
  ------------------
  |  Branch (3112:11): [True: 652, False: 61.2M]
  ------------------
 3113|    652|          KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3114|    652|          return true;
 3115|    652|      }
 3116|  61.2M|      if (NonZeroFillSize < FillSize) {
  ------------------
  |  Branch (3116:11): [True: 17.3M, False: 43.8M]
  ------------------
 3117|  17.3M|        getStreamer().EmitIntValue(0, FillSize - NonZeroFillSize, Error);
 3118|  17.3M|        if (Error) {
  ------------------
  |  Branch (3118:13): [True: 0, False: 17.3M]
  ------------------
 3119|      0|            KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3120|      0|            return true;
 3121|      0|        }
 3122|  17.3M|      }
 3123|  61.2M|    }
 3124|  1.23k|  }
 3125|       |
 3126|  3.88k|  return false;
 3127|  4.53k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveZeroEv:
 3002|  5.78k|{
 3003|  5.78k|  checkForValidSection();
 3004|       |
 3005|  5.78k|  int64_t NumBytes;
 3006|  5.78k|  if (parseAbsoluteExpression(NumBytes)) {
  ------------------
  |  Branch (3006:7): [True: 393, False: 5.39k]
  ------------------
 3007|    393|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3008|    393|    return true;
 3009|    393|  }
 3010|       |
 3011|  5.39k|  int64_t Val = 0;
 3012|  5.39k|  if (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (3012:7): [True: 5.09k, False: 294]
  ------------------
 3013|  5.09k|    Lex();
 3014|  5.09k|    if (parseAbsoluteExpression(Val)) {
  ------------------
  |  Branch (3014:9): [True: 169, False: 4.93k]
  ------------------
 3015|    169|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3016|    169|      return true;
 3017|    169|    }
 3018|  5.09k|  }
 3019|       |
 3020|  5.22k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3020:7): [True: 241, False: 4.98k]
  ------------------
 3021|       |    // return TokError("unexpected token in '.zero' directive");
 3022|    241|    KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3023|    241|    return true;
 3024|    241|  }
 3025|       |
 3026|  4.98k|  Lex();
 3027|       |
 3028|  4.98k|  getStreamer().EmitFill(NumBytes, Val);
 3029|       |
 3030|  4.98k|  return false;
 3031|  5.22k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser29parseDirectiveSymbolAttributeEN7llvm_ks12MCSymbolAttrE:
 4650|     90|{
 4651|     90|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4651:7): [True: 73, False: 17]
  ------------------
 4652|    113|    for (;;) {
 4653|    113|      StringRef Name;
 4654|       |      //SMLoc Loc = getTok().getLoc();
 4655|       |
 4656|    113|      if (parseIdentifier(Name)) {
  ------------------
  |  Branch (4656:11): [True: 12, False: 101]
  ------------------
 4657|       |        //return Error(Loc, "expected identifier in directive");
 4658|     12|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4659|     12|        return true;
 4660|     12|      }
 4661|       |
 4662|    101|      if (Name.empty()) {
  ------------------
  |  Branch (4662:11): [True: 8, False: 93]
  ------------------
 4663|      8|          KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4664|      8|          return true;
 4665|      8|      }
 4666|     93|      MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
 4667|       |
 4668|       |      // Assembler local symbols don't make any sense here. Complain loudly.
 4669|     93|      if (Sym->isTemporary()) {
  ------------------
  |  Branch (4669:11): [True: 6, False: 87]
  ------------------
 4670|       |        //return Error(Loc, "non-local symbol required in directive");
 4671|      6|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4672|      6|        return true;
 4673|      6|      }
 4674|       |
 4675|     87|      if (!getStreamer().EmitSymbolAttribute(Sym, Attr)) {
  ------------------
  |  Branch (4675:11): [True: 0, False: 87]
  ------------------
 4676|       |        //return Error(Loc, "unable to emit symbol attribute");
 4677|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4678|      0|        return true;
 4679|      0|      }
 4680|       |
 4681|     87|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (4681:11): [True: 22, False: 65]
  ------------------
 4682|     22|        break;
 4683|       |
 4684|     65|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (4684:11): [True: 25, False: 40]
  ------------------
 4685|       |        //return TokError("unexpected token in directive");
 4686|     25|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4687|     25|        return true;
 4688|     25|      }
 4689|     40|      Lex();
 4690|     40|    }
 4691|     73|  }
 4692|       |
 4693|     39|  Lex();
 4694|     39|  return false;
 4695|     90|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveCommEb:
 4700|  2.71k|{
 4701|  2.71k|  checkForValidSection();
 4702|       |
 4703|       |  //SMLoc IDLoc = getLexer().getLoc();
 4704|  2.71k|  StringRef Name;
 4705|  2.71k|  if (parseIdentifier(Name)) {
  ------------------
  |  Branch (4705:7): [True: 500, False: 2.21k]
  ------------------
 4706|       |    //return TokError("expected identifier in directive");
 4707|    500|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4708|    500|    return true;
 4709|    500|  }
 4710|       |
 4711|  2.21k|  if (Name.empty()) {
  ------------------
  |  Branch (4711:7): [True: 10, False: 2.20k]
  ------------------
 4712|     10|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4713|     10|      return true;
 4714|     10|  }
 4715|       |  // Handle the identifier as the key symbol.
 4716|  2.20k|  MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
 4717|       |
 4718|  2.20k|  if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (4718:7): [True: 293, False: 1.90k]
  ------------------
 4719|       |    //return TokError("unexpected token in directive");
 4720|    293|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4721|    293|    return true;
 4722|    293|  }
 4723|  1.90k|  Lex();
 4724|       |
 4725|  1.90k|  int64_t Size;
 4726|       |  //SMLoc SizeLoc = getLexer().getLoc();
 4727|  1.90k|  if (parseAbsoluteExpression(Size)) {
  ------------------
  |  Branch (4727:7): [True: 142, False: 1.76k]
  ------------------
 4728|    142|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4729|    142|    return true;
 4730|    142|  }
 4731|       |
 4732|  1.76k|  int64_t Pow2Alignment = 0;
 4733|  1.76k|  SMLoc Pow2AlignmentLoc;
 4734|  1.76k|  if (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (4734:7): [True: 220, False: 1.54k]
  ------------------
 4735|    220|    Lex();
 4736|    220|    Pow2AlignmentLoc = getLexer().getLoc();
 4737|    220|    if (parseAbsoluteExpression(Pow2Alignment)) {
  ------------------
  |  Branch (4737:9): [True: 6, False: 214]
  ------------------
 4738|      6|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4739|      6|      return true;
 4740|      6|    }
 4741|       |
 4742|    214|    LCOMM::LCOMMType LCOMM = Lexer.getMAI().getLCOMMDirectiveAlignmentType();
 4743|    214|    if (IsLocal && LCOMM == LCOMM::NoAlignment) {
  ------------------
  |  Branch (4743:9): [True: 37, False: 177]
  |  Branch (4743:20): [True: 37, False: 0]
  ------------------
 4744|       |      //return Error(Pow2AlignmentLoc, "alignment not supported on this target");
 4745|     37|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4746|     37|      return true;
 4747|     37|    }
 4748|       |
 4749|       |    // If this target takes alignments in bytes (not log) validate and convert.
 4750|    177|    if ((!IsLocal && Lexer.getMAI().getCOMMDirectiveAlignmentIsInBytes()) ||
  ------------------
  |  Branch (4750:10): [True: 177, False: 0]
  |  Branch (4750:22): [True: 177, False: 0]
  ------------------
 4751|    177|        (IsLocal && LCOMM == LCOMM::ByteAlignment)) {
  ------------------
  |  Branch (4751:10): [True: 0, False: 0]
  |  Branch (4751:21): [True: 0, False: 0]
  ------------------
 4752|    177|      if (!isPowerOf2_64(Pow2Alignment)) {
  ------------------
  |  Branch (4752:11): [True: 169, False: 8]
  ------------------
 4753|       |        //return Error(Pow2AlignmentLoc, "alignment must be a power of 2");
 4754|    169|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4755|    169|        return true;
 4756|    169|      }
 4757|      8|      Pow2Alignment = Log2_64(Pow2Alignment);
 4758|      8|    }
 4759|    177|  }
 4760|       |
 4761|  1.55k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4761:7): [True: 48, False: 1.50k]
  ------------------
 4762|       |    //return TokError("unexpected token in '.comm' or '.lcomm' directive");
 4763|     48|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4764|     48|    return true;
 4765|     48|  }
 4766|       |
 4767|  1.50k|  Lex();
 4768|       |
 4769|       |  // NOTE: a size of zero for a .comm should create a undefined symbol
 4770|       |  // but a size of .lcomm creates a bss symbol of size zero.
 4771|  1.50k|  if (Size < 0) {
  ------------------
  |  Branch (4771:7): [True: 81, False: 1.42k]
  ------------------
 4772|       |    //return Error(SizeLoc, "invalid '.comm' or '.lcomm' directive size, can't "
 4773|       |    //                      "be less than zero");
 4774|     81|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4775|     81|    return true;
 4776|     81|  }
 4777|       |
 4778|       |  // NOTE: The alignment in the directive is a power of 2 value, the assembler
 4779|       |  // may internally end up wanting an alignment in bytes.
 4780|       |  // FIXME: Diagnose overflow.
 4781|  1.42k|  if (Pow2Alignment < 0) {
  ------------------
  |  Branch (4781:7): [True: 0, False: 1.42k]
  ------------------
 4782|       |    //return Error(Pow2AlignmentLoc, "invalid '.comm' or '.lcomm' directive "
 4783|       |    //                               "alignment, can't be less than zero");
 4784|      0|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4785|      0|    return true;
 4786|      0|  }
 4787|       |
 4788|  1.42k|  if (!Sym->isUndefined()) {
  ------------------
  |  Branch (4788:7): [True: 497, False: 927]
  ------------------
 4789|       |    //return Error(IDLoc, "invalid symbol redefinition");
 4790|    497|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4791|    497|    return true;
 4792|    497|  }
 4793|       |
 4794|       |  // Create the Symbol as a common or local common with Size and Pow2Alignment
 4795|    927|  if (IsLocal) {
  ------------------
  |  Branch (4795:7): [True: 62, False: 865]
  ------------------
 4796|     62|    getStreamer().EmitLocalCommonSymbol(Sym, Size, 1 << Pow2Alignment);
 4797|     62|    return false;
 4798|     62|  }
 4799|       |
 4800|    865|  getStreamer().EmitCommonSymbol(Sym, Size, 1 << Pow2Alignment);
 4801|    865|  return false;
 4802|    927|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveAbortEv:
 4807|      7|{
 4808|       |  // FIXME: Use loc from directive.
 4809|       |  //SMLoc Loc = getLexer().getLoc();
 4810|       |
 4811|      7|  StringRef Str = parseStringToEndOfStatement();
 4812|      7|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4812:7): [True: 1, False: 6]
  ------------------
 4813|       |    //return TokError("unexpected token in '.abort' directive");
 4814|      1|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4815|      1|    return true;
 4816|      1|  }
 4817|       |
 4818|      6|  Lex();
 4819|       |
 4820|      6|  if (Str.empty()) {
  ------------------
  |  Branch (4820:7): [True: 3, False: 3]
  ------------------
 4821|       |    //Error(Loc, ".abort detected. Assembly stopping.");
 4822|      3|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4823|      3|    return true;
 4824|      3|  } else {
 4825|       |    //Error(Loc, ".abort '" + Str + "' detected. Assembly stopping.");
 4826|      3|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4827|      3|    return true;
 4828|      3|  }
 4829|       |
 4830|       |  // FIXME: Actually abort assembly here.
 4831|       |
 4832|      0|  return false;
 4833|      6|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser21parseDirectiveIncludeEv:
 4838|    157|{
 4839|    157|  if (getLexer().isNot(AsmToken::String)) {
  ------------------
  |  Branch (4839:7): [True: 83, False: 74]
  ------------------
 4840|       |    //return TokError("expected string in '.include' directive");
 4841|     83|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4842|     83|    return true;
 4843|     83|  }
 4844|       |
 4845|       |  // Allow the strings to have escaped octal character sequence.
 4846|     74|  std::string Filename;
 4847|     74|  if (parseEscapedString(Filename)) {
  ------------------
  |  Branch (4847:7): [True: 6, False: 68]
  ------------------
 4848|      6|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4849|      6|    return true;
 4850|      6|  }
 4851|       |  //SMLoc IncludeLoc = getLexer().getLoc();
 4852|     68|  Lex();
 4853|       |
 4854|     68|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4854:7): [True: 61, False: 7]
  ------------------
 4855|       |    //return TokError("unexpected token in '.include' directive");
 4856|     61|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4857|     61|    return true;
 4858|     61|  }
 4859|       |
 4860|       |  // Attempt to switch the lexer to the included file before consuming the end
 4861|       |  // of statement to avoid losing it when we switch.
 4862|      7|  if (enterIncludeFile(Filename)) {
  ------------------
  |  Branch (4862:7): [True: 7, False: 0]
  ------------------
 4863|       |    //Error(IncludeLoc, "Could not find include file '" + Filename + "'");
 4864|      7|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4865|      7|    return true;
 4866|      7|  }
 4867|       |
 4868|      0|  return false;
 4869|      7|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser16enterIncludeFileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  622|      7|bool AsmParser::enterIncludeFile(const std::string &Filename) {
  623|      7|  std::string IncludedFile;
  624|      7|  unsigned NewBuf =
  625|      7|      SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile);
  626|      7|  if (!NewBuf)
  ------------------
  |  Branch (626:7): [True: 7, False: 0]
  ------------------
  627|      7|    return true;
  628|       |
  629|      0|  CurBuffer = NewBuf;
  630|      0|  Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer());
  631|      0|  return false;
  632|      7|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveReptEN7llvm_ks5SMLocENS1_9StringRefE:
 5563|  71.3k|{
 5564|  71.3k|  const MCExpr *CountExpr;
 5565|       |  //SMLoc CountLoc = getTok().getLoc();
 5566|  71.3k|  if (parseExpression(CountExpr)) {
  ------------------
  |  Branch (5566:7): [True: 4.29k, False: 67.0k]
  ------------------
 5567|  4.29k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5568|  4.29k|    return true;
 5569|  4.29k|  }
 5570|       |
 5571|  67.0k|  int64_t Count;
 5572|  67.0k|  if (!CountExpr->evaluateAsAbsolute(Count)) {
  ------------------
  |  Branch (5572:7): [True: 4.23k, False: 62.8k]
  ------------------
 5573|  4.23k|    eatToEndOfStatement();
 5574|       |    //return Error(CountLoc, "unexpected token in '" + Dir + "' directive");
 5575|  4.23k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5576|  4.23k|    return true;
 5577|  4.23k|  }
 5578|       |
 5579|  62.8k|  if (Count < 0) {
  ------------------
  |  Branch (5579:7): [True: 62.1k, False: 682]
  ------------------
 5580|       |    //return Error(CountLoc, "Count is negative");
 5581|  62.1k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5582|  62.1k|    return true;
 5583|  62.1k|  }
 5584|       |
 5585|    682|  if (Lexer.isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5585:7): [True: 292, False: 390]
  ------------------
 5586|       |    //return TokError("unexpected token in '" + Dir + "' directive");
 5587|    292|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5588|    292|    return true;
 5589|    292|  }
 5590|       |
 5591|       |  // Eat the end of statement.
 5592|    390|  Lex();
 5593|       |
 5594|       |  // Lex the rept definition.
 5595|    390|  MCAsmMacro *M = parseMacroLikeBody(DirectiveLoc);
 5596|    390|  if (!M) {
  ------------------
  |  Branch (5596:7): [True: 36, False: 354]
  ------------------
 5597|     36|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5598|     36|    return true;
 5599|     36|  }
 5600|       |
 5601|       |  // Macro instantiation is lexical, unfortunately. We construct a new buffer
 5602|       |  // to hold the macro body with substitutions.
 5603|    354|  SmallString<256> Buf;
 5604|    354|  raw_svector_ostream OS(Buf);
 5605|  6.60M|  while (Count--) {
  ------------------
  |  Branch (5605:10): [True: 6.60M, False: 354]
  ------------------
 5606|       |    // Note that the AtPseudoVariable is disabled for instantiations of .rep(t).
 5607|  6.60M|    if (expandMacro(OS, M->Body, None, None, false, getTok().getLoc())) {
  ------------------
  |  Branch (5607:9): [True: 0, False: 6.60M]
  ------------------
 5608|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5609|      0|      return true;
 5610|      0|    }
 5611|  6.60M|  }
 5612|    354|  instantiateMacroLikeBody(M, DirectiveLoc, OS);
 5613|       |
 5614|    354|  return false;
 5615|    354|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseMacroLikeBodyEN7llvm_ks5SMLocE:
 5498|  2.93k|MCAsmMacro *AsmParser::parseMacroLikeBody(SMLoc DirectiveLoc) {
 5499|  2.93k|  AsmToken EndToken, StartToken = getTok();
 5500|       |
 5501|  2.93k|  unsigned NestLevel = 0;
 5502|  7.88k|  for (;;) {
 5503|       |    // Check whether we have reached the end of the file.
 5504|  7.88k|    if (getLexer().is(AsmToken::Eof)) {
  ------------------
  |  Branch (5504:9): [True: 143, False: 7.74k]
  ------------------
 5505|       |      //Error(DirectiveLoc, "no matching '.endr' in definition");
 5506|    143|      return nullptr;
 5507|    143|    }
 5508|       |
 5509|  7.74k|    if (Lexer.is(AsmToken::Identifier) &&
  ------------------
  |  Branch (5509:9): [True: 6.20k, False: 1.54k]
  |  Branch (5509:9): [True: 258, False: 7.48k]
  ------------------
 5510|  6.20k|        (getTok().getIdentifier() == ".rept")) {
  ------------------
  |  Branch (5510:9): [True: 258, False: 5.94k]
  ------------------
 5511|    258|      ++NestLevel;
 5512|    258|    }
 5513|       |
 5514|       |    // Otherwise, check whether we have reached the .endr.
 5515|  7.74k|    if (Lexer.is(AsmToken::Identifier) && getTok().getIdentifier() == ".endr") {
  ------------------
  |  Branch (5515:9): [True: 6.20k, False: 1.54k]
  |  Branch (5515:9): [True: 2.87k, False: 4.86k]
  |  Branch (5515:43): [True: 2.87k, False: 3.32k]
  ------------------
 5516|  2.87k|      if (NestLevel == 0) {
  ------------------
  |  Branch (5516:11): [True: 2.79k, False: 86]
  ------------------
 5517|  2.79k|        EndToken = getTok();
 5518|  2.79k|        Lex();
 5519|  2.79k|        if (Lexer.isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5519:13): [True: 112, False: 2.67k]
  ------------------
 5520|       |          //TokError("unexpected token in '.endr' directive");
 5521|    112|          return nullptr;
 5522|    112|        }
 5523|  2.67k|        break;
 5524|  2.79k|      }
 5525|     86|      --NestLevel;
 5526|     86|    }
 5527|       |
 5528|       |    // Otherwise, scan till the end of the statement.
 5529|  4.95k|    eatToEndOfStatement();
 5530|  4.95k|  }
 5531|       |
 5532|  2.67k|  const char *BodyStart = StartToken.getLoc().getPointer();
 5533|  2.67k|  const char *BodyEnd = EndToken.getLoc().getPointer();
 5534|  2.67k|  StringRef Body = StringRef(BodyStart, BodyEnd - BodyStart);
 5535|       |
 5536|       |  // We Are Anonymous.
 5537|  2.67k|  MacroLikeBodies.emplace_back(StringRef(), Body, MCAsmMacroParameters());
 5538|  2.67k|  return &MacroLikeBodies.back();
 5539|  2.93k|}
AsmParser.cpp:_ZN12_GLOBAL__N_110MCAsmMacroC2EN7llvm_ks9StringRefES2_NSt3__16vectorINS_19MCAsmMacroParameterENS3_9allocatorIS5_EEEE:
   77|  3.32k|      : Name(N), Body(B), Parameters(std::move(P)) {}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser24instantiateMacroLikeBodyEPNS_10MCAsmMacroEN7llvm_ks5SMLocERNS3_19raw_svector_ostreamE:
 5542|  2.67k|                                         raw_svector_ostream &OS) {
 5543|  2.67k|  OS << ".endr\n";
 5544|       |
 5545|  2.67k|  std::unique_ptr<MemoryBuffer> Instantiation =
 5546|  2.67k|      MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
 5547|       |
 5548|       |  // Create the macro instantiation object and add to the current macro
 5549|       |  // instantiation stack.
 5550|  2.67k|  MacroInstantiation *MI = new MacroInstantiation(
 5551|  2.67k|      DirectiveLoc, CurBuffer, getTok().getLoc(), TheCondStack.size());
 5552|  2.67k|  ActiveMacros.push_back(MI);
 5553|       |
 5554|       |  // Jump to the macro instantiation and prime the lexer.
 5555|  2.67k|  CurBuffer = SrcMgr.AddNewSourceBuffer(std::move(Instantiation), SMLoc());
 5556|  2.67k|  Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer());
 5557|  2.67k|  Lex();
 5558|  2.67k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveIrpEN7llvm_ks5SMLocE:
 5620|  2.46k|{
 5621|  2.46k|  MCAsmMacroParameter Parameter;
 5622|       |
 5623|  2.46k|  if (parseIdentifier(Parameter.Name)) {
  ------------------
  |  Branch (5623:7): [True: 96, False: 2.36k]
  ------------------
 5624|       |    //return TokError("expected identifier in '.irp' directive");
 5625|     96|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5626|     96|    return true;
 5627|     96|  }
 5628|       |
 5629|  2.36k|  if (Lexer.isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (5629:7): [True: 88, False: 2.27k]
  ------------------
 5630|       |    //return TokError("expected comma in '.irp' directive");
 5631|     88|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5632|     88|    return true;
 5633|     88|  }
 5634|       |
 5635|  2.27k|  Lex();
 5636|       |
 5637|  2.27k|  MCAsmMacroArguments A;
 5638|  2.27k|  if (parseMacroArguments(nullptr, A)) {
  ------------------
  |  Branch (5638:7): [True: 150, False: 2.12k]
  ------------------
 5639|    150|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5640|    150|    return true;
 5641|    150|  }
 5642|       |
 5643|       |  // Eat the end of statement.
 5644|  2.12k|  Lex();
 5645|       |
 5646|       |  // Lex the irp definition.
 5647|  2.12k|  MCAsmMacro *M = parseMacroLikeBody(DirectiveLoc);
 5648|  2.12k|  if (!M) {
  ------------------
  |  Branch (5648:7): [True: 119, False: 2.00k]
  ------------------
 5649|    119|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5650|    119|    return true;
 5651|    119|  }
 5652|       |
 5653|       |  // Macro instantiation is lexical, unfortunately. We construct a new buffer
 5654|       |  // to hold the macro body with substitutions.
 5655|  2.00k|  SmallString<256> Buf;
 5656|  2.00k|  raw_svector_ostream OS(Buf);
 5657|       |
 5658|  11.4k|  for (const MCAsmMacroArgument &Arg : A) {
  ------------------
  |  Branch (5658:38): [True: 11.4k, False: 2.00k]
  ------------------
 5659|       |    // Note that the AtPseudoVariable is enabled for instantiations of .irp.
 5660|       |    // This is undocumented, but GAS seems to support it.
 5661|  11.4k|    if (expandMacro(OS, M->Body, Parameter, Arg, true, getTok().getLoc())) {
  ------------------
  |  Branch (5661:9): [True: 0, False: 11.4k]
  ------------------
 5662|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5663|      0|      return true;
 5664|      0|    }
 5665|  11.4k|  }
 5666|       |
 5667|  2.00k|  instantiateMacroLikeBody(M, DirectiveLoc, OS);
 5668|       |
 5669|  2.00k|  return false;
 5670|  2.00k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveIrpcEN7llvm_ks5SMLocE:
 5675|  2.78k|{
 5676|  2.78k|  MCAsmMacroParameter Parameter;
 5677|       |
 5678|  2.78k|  if (parseIdentifier(Parameter.Name)) {
  ------------------
  |  Branch (5678:7): [True: 209, False: 2.57k]
  ------------------
 5679|       |    //return TokError("expected identifier in '.irpc' directive");
 5680|    209|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5681|    209|    return true;
 5682|    209|  }
 5683|       |
 5684|  2.57k|  if (Lexer.isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (5684:7): [True: 252, False: 2.32k]
  ------------------
 5685|       |    //return TokError("expected comma in '.irpc' directive");
 5686|    252|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5687|    252|    return true;
 5688|    252|  }
 5689|       |
 5690|  2.32k|  Lex();
 5691|       |
 5692|  2.32k|  MCAsmMacroArguments A;
 5693|  2.32k|  if (parseMacroArguments(nullptr, A)) {
  ------------------
  |  Branch (5693:7): [True: 588, False: 1.73k]
  ------------------
 5694|    588|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5695|    588|    return true;
 5696|    588|  }
 5697|       |
 5698|  1.73k|  if (A.size() != 1 || A.front().size() != 1) {
  ------------------
  |  Branch (5698:7): [True: 848, False: 888]
  |  Branch (5698:24): [True: 472, False: 416]
  ------------------
 5699|       |    //return TokError("unexpected token in '.irpc' directive");
 5700|  1.32k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5701|  1.32k|    return true;
 5702|  1.32k|  }
 5703|       |
 5704|       |  // Eat the end of statement.
 5705|    416|  Lex();
 5706|       |
 5707|       |  // Lex the irpc definition.
 5708|    416|  MCAsmMacro *M = parseMacroLikeBody(DirectiveLoc);
 5709|    416|  if (!M) {
  ------------------
  |  Branch (5709:7): [True: 100, False: 316]
  ------------------
 5710|    100|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5711|    100|    return true;
 5712|    100|  }
 5713|       |
 5714|       |  // Macro instantiation is lexical, unfortunately. We construct a new buffer
 5715|       |  // to hold the macro body with substitutions.
 5716|    316|  SmallString<256> Buf;
 5717|    316|  raw_svector_ostream OS(Buf);
 5718|       |
 5719|    316|  StringRef Values = A.front().front().getString();
 5720|  16.4k|  for (std::size_t I = 0, End = Values.size(); I != End; ++I) {
  ------------------
  |  Branch (5720:48): [True: 16.1k, False: 316]
  ------------------
 5721|  16.1k|    MCAsmMacroArgument Arg;
 5722|  16.1k|    Arg.emplace_back(AsmToken::Identifier, Values.slice(I, I + 1));
 5723|       |
 5724|       |    // Note that the AtPseudoVariable is enabled for instantiations of .irpc.
 5725|       |    // This is undocumented, but GAS seems to support it.
 5726|  16.1k|    if (expandMacro(OS, M->Body, Parameter, Arg, true, getTok().getLoc())) {
  ------------------
  |  Branch (5726:9): [True: 0, False: 16.1k]
  ------------------
 5727|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5728|      0|      return true;
 5729|      0|    }
 5730|  16.1k|  }
 5731|       |
 5732|    316|  instantiateMacroLikeBody(M, DirectiveLoc, OS);
 5733|       |
 5734|    316|  return false;
 5735|    316|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveEndrEN7llvm_ks5SMLocE:
 5738|  2.82k|{
 5739|  2.82k|  if (ActiveMacros.empty()) {
  ------------------
  |  Branch (5739:7): [True: 109, False: 2.71k]
  ------------------
 5740|       |    //return TokError("unmatched '.endr' directive");
 5741|    109|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5742|    109|    return true;
 5743|    109|  }
 5744|       |
 5745|       |  // The only .repl that should get here are the ones created by
 5746|       |  // instantiateMacroLikeBody.
 5747|  2.82k|  assert(getLexer().is(AsmToken::EndOfStatement));
  ------------------
  |  Branch (5747:3): [True: 2.71k, False: 0]
  ------------------
 5748|       |
 5749|  2.71k|  handleMacroExit();
 5750|  2.71k|  return false;
 5751|  2.71k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser15handleMacroExitEv:
 2507|  25.4k|void AsmParser::handleMacroExit() {
 2508|       |  // Jump to the EndOfStatement we should return to, and consume it.
 2509|  25.4k|  jumpToLoc(ActiveMacros.back()->ExitLoc, ActiveMacros.back()->ExitBuffer);
 2510|  25.4k|  Lex();
 2511|       |
 2512|       |  // Pop the instantiation entry.
 2513|  25.4k|  delete ActiveMacros.back();
 2514|  25.4k|  ActiveMacros.pop_back();
 2515|  25.4k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser9jumpToLocEN7llvm_ks5SMLocEj:
  649|  25.4k|void AsmParser::jumpToLoc(SMLoc Loc, unsigned InBuffer) {
  650|  25.4k|  CurBuffer = InBuffer ? InBuffer : SrcMgr.FindBufferContainingLoc(Loc);
  ------------------
  |  Branch (650:15): [True: 25.4k, False: 0]
  ------------------
  651|  25.4k|  Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(),
  652|  25.4k|                  Loc.getPointer());
  653|  25.4k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser29parseDirectiveBundleAlignModeEv:
 4486|      3|{
 4487|      3|  checkForValidSection();
 4488|       |
 4489|       |  // Expect a single argument: an expression that evaluates to a constant
 4490|       |  // in the inclusive range 0-30.
 4491|       |  //SMLoc ExprLoc = getLexer().getLoc();
 4492|      3|  int64_t AlignSizePow2;
 4493|      3|  if (parseAbsoluteExpression(AlignSizePow2)) {
  ------------------
  |  Branch (4493:7): [True: 1, False: 2]
  ------------------
 4494|      1|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4495|      1|    return true;
 4496|      2|  } else if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4496:14): [True: 1, False: 1]
  ------------------
 4497|       |    //return TokError("unexpected token after expression in"
 4498|       |    //                " '.bundle_align_mode' directive");
 4499|      1|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4500|      1|    return true;
 4501|      1|  } else if (AlignSizePow2 < 0 || AlignSizePow2 > 30) {
  ------------------
  |  Branch (4501:14): [True: 0, False: 1]
  |  Branch (4501:35): [True: 1, False: 0]
  ------------------
 4502|       |    //return Error(ExprLoc,
 4503|       |    //             "invalid bundle alignment size (expected between 0 and 30)");
 4504|      1|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4505|      1|    return true;
 4506|      1|  }
 4507|       |
 4508|      0|  Lex();
 4509|       |
 4510|       |  // Because of AlignSizePow2's verified range we can safely truncate it to
 4511|       |  // unsigned.
 4512|      0|  getStreamer().EmitBundleAlignMode(static_cast<unsigned>(AlignSizePow2));
 4513|      0|  return false;
 4514|      3|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser20parseDirectiveLEB128Eb:
 4618|     10|{
 4619|     10|  checkForValidSection();
 4620|     10|  const MCExpr *Value;
 4621|       |
 4622|     12|  for (;;) {
 4623|     12|    if (parseExpression(Value)) {
  ------------------
  |  Branch (4623:9): [True: 1, False: 11]
  ------------------
 4624|      1|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4625|      1|      return true;
 4626|      1|    }
 4627|       |
 4628|     11|    if (Signed)
  ------------------
  |  Branch (4628:9): [True: 7, False: 4]
  ------------------
 4629|      7|      getStreamer().EmitSLEB128Value(Value);
 4630|      4|    else
 4631|      4|      getStreamer().EmitULEB128Value(Value);
 4632|       |
 4633|     11|    if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (4633:9): [True: 8, False: 3]
  ------------------
 4634|      8|      break;
 4635|       |
 4636|      3|    if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (4636:9): [True: 1, False: 2]
  ------------------
 4637|       |      //return TokError("unexpected token in directive");
 4638|      1|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4639|      1|      return true;
 4640|      1|    }
 4641|      2|    Lex();
 4642|      2|  }
 4643|       |
 4644|      8|  return false;
 4645|     10|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveSpaceEN7llvm_ks9StringRefE:
 4574|  2.42k|{
 4575|  2.42k|  checkForValidSection();
 4576|       |
 4577|  2.42k|  int64_t NumBytes;
 4578|  2.42k|  if (parseAbsoluteExpression(NumBytes)) {
  ------------------
  |  Branch (4578:7): [True: 47, False: 2.37k]
  ------------------
 4579|     47|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4580|     47|    return true;
 4581|     47|  }
 4582|       |
 4583|  2.37k|  int64_t FillExpr = 0;
 4584|  2.37k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4584:7): [True: 1.61k, False: 761]
  ------------------
 4585|  1.61k|    if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (4585:9): [True: 237, False: 1.38k]
  ------------------
 4586|       |      //return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
 4587|    237|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4588|    237|      return true;
 4589|    237|    }
 4590|  1.38k|    Lex();
 4591|       |
 4592|  1.38k|    if (parseAbsoluteExpression(FillExpr))
  ------------------
  |  Branch (4592:9): [True: 10, False: 1.37k]
  ------------------
 4593|     10|      return true;
 4594|       |
 4595|  1.37k|    if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (4595:9): [True: 1, False: 1.37k]
  ------------------
 4596|       |      //return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
 4597|      1|      return true;
 4598|  1.37k|  }
 4599|       |
 4600|  2.13k|  Lex();
 4601|       |
 4602|  2.13k|  if (NumBytes <= 0) {
  ------------------
  |  Branch (4602:7): [True: 1.69k, False: 440]
  ------------------
 4603|       |    //return TokError("invalid number of bytes in '" + Twine(IDVal) +
 4604|       |    //                "' directive");
 4605|  1.69k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4606|  1.69k|    return true;
 4607|  1.69k|  }
 4608|       |
 4609|       |  // FIXME: Sometimes the fill expr is 'nop' if it isn't supplied, instead of 0.
 4610|    440|  getStreamer().EmitFill(NumBytes, FillExpr);
 4611|       |
 4612|    440|  return false;
 4613|  2.13k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveFileEN7llvm_ks5SMLocE:
 3288|  7.36k|{
 3289|       |  // FIXME: I'm not sure what this is.
 3290|  7.36k|  int64_t FileNumber = -1;
 3291|       |  //SMLoc FileNumberLoc = getLexer().getLoc();
 3292|  7.36k|  if (getLexer().is(AsmToken::Integer)) {
  ------------------
  |  Branch (3292:7): [True: 476, False: 6.89k]
  ------------------
 3293|    476|    bool valid;
 3294|    476|    FileNumber = getTok().getIntVal(valid);
 3295|    476|    if (!valid) {
  ------------------
  |  Branch (3295:9): [True: 0, False: 476]
  ------------------
 3296|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3297|      0|        return true;
 3298|      0|    }
 3299|    476|    Lex();
 3300|       |
 3301|    476|    if (FileNumber < 1) {
  ------------------
  |  Branch (3301:9): [True: 78, False: 398]
  ------------------
 3302|       |      //return TokError("file number less than one");
 3303|     78|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3304|     78|      return true;
 3305|     78|    }
 3306|    476|  }
 3307|       |
 3308|  7.29k|  if (getLexer().isNot(AsmToken::String)) {
  ------------------
  |  Branch (3308:7): [True: 2.28k, False: 5.00k]
  ------------------
 3309|       |    //return TokError("unexpected token in '.file' directive");
 3310|  2.28k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3311|  2.28k|    return true;
 3312|  2.28k|  }
 3313|       |
 3314|       |  // Usually the directory and filename together, otherwise just the directory.
 3315|       |  // Allow the strings to have escaped octal character sequence.
 3316|  5.00k|  std::string Path = getTok().getString();
 3317|  5.00k|  if (parseEscapedString(Path))
  ------------------
  |  Branch (3317:7): [True: 98, False: 4.90k]
  ------------------
 3318|     98|    return true;
 3319|  4.90k|  Lex();
 3320|       |
 3321|  4.90k|  StringRef Directory;
 3322|  4.90k|  StringRef Filename;
 3323|  4.90k|  std::string FilenameData;
 3324|  4.90k|  if (getLexer().is(AsmToken::String)) {
  ------------------
  |  Branch (3324:7): [True: 50, False: 4.85k]
  ------------------
 3325|     50|    if (FileNumber == -1)
  ------------------
  |  Branch (3325:9): [True: 2, False: 48]
  ------------------
 3326|       |      //return TokError("explicit path specified, but no file number");
 3327|      2|      return true;
 3328|     48|    if (parseEscapedString(FilenameData))
  ------------------
  |  Branch (3328:9): [True: 4, False: 44]
  ------------------
 3329|      4|      return true;
 3330|     44|    Filename = FilenameData;
 3331|     44|    Directory = Path;
 3332|     44|    Lex();
 3333|  4.85k|  } else {
 3334|  4.85k|    Filename = Path;
 3335|  4.85k|  }
 3336|       |
 3337|  4.90k|  if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (3337:7): [True: 43, False: 4.86k]
  ------------------
 3338|       |    //return TokError("unexpected token in '.file' directive");
 3339|     43|    return true;
 3340|       |
 3341|  4.86k|  if (FileNumber == -1)
  ------------------
  |  Branch (3341:7): [True: 4.80k, False: 54]
  ------------------
 3342|  4.80k|    getStreamer().EmitFileDirective(Filename);
 3343|     54|  else {
 3344|     54|    if (getContext().getGenDwarfForAssembly())
  ------------------
  |  Branch (3344:9): [True: 0, False: 54]
  ------------------
 3345|       |      //Error(DirectiveLoc,
 3346|       |      //      "input can't have .file dwarf directives when -g is "
 3347|       |      //      "used to generate dwarf debug info for assembly code");
 3348|      0|      return true;
 3349|       |
 3350|     54|    if (getStreamer().EmitDwarfFileDirective(FileNumber, Directory, Filename) ==
  ------------------
  |  Branch (3350:9): [True: 54, False: 0]
  ------------------
 3351|     54|        0)
 3352|       |      //Error(FileNumberLoc, "file number already allocated");
 3353|     54|      return true;
 3354|     54|  }
 3355|       |
 3356|  4.80k|  return false;
 3357|  4.86k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveLineEv:
 3362|  6.81k|{
 3363|  6.81k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3363:7): [True: 224, False: 6.58k]
  ------------------
 3364|    224|    if (getLexer().isNot(AsmToken::Integer)) {
  ------------------
  |  Branch (3364:9): [True: 87, False: 137]
  ------------------
 3365|       |      //return TokError("unexpected token in '.line' directive");
 3366|     87|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3367|     87|      return true;
 3368|     87|    }
 3369|       |
 3370|    137|    bool valid;
 3371|    137|    int64_t LineNumber = getTok().getIntVal(valid);
 3372|    137|    if (!valid) {
  ------------------
  |  Branch (3372:9): [True: 0, False: 137]
  ------------------
 3373|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3374|      0|        return true;
 3375|      0|    }
 3376|    137|    (void)LineNumber;
 3377|    137|    Lex();
 3378|       |
 3379|       |    // FIXME: Do something with the .line.
 3380|    137|  }
 3381|       |
 3382|  6.72k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3382:7): [True: 28, False: 6.69k]
  ------------------
 3383|       |    //return TokError("unexpected token in '.line' directive");
 3384|     28|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3385|     28|    return true;
 3386|     28|  }
 3387|       |
 3388|  6.69k|  return false;
 3389|  6.72k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveLocEv:
 3399|    322|{
 3400|    322|  if (getLexer().isNot(AsmToken::Integer)) {
  ------------------
  |  Branch (3400:7): [True: 254, False: 68]
  ------------------
 3401|       |    //return TokError("unexpected token in '.loc' directive");
 3402|    254|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3403|    254|    return true;
 3404|    254|  }
 3405|     68|  bool valid;
 3406|     68|  int64_t FileNumber = getTok().getIntVal(valid);
 3407|     68|  if (!valid) {
  ------------------
  |  Branch (3407:7): [True: 0, False: 68]
  ------------------
 3408|      0|      return true;
 3409|      0|  }
 3410|     68|  if (FileNumber < 1) {
  ------------------
  |  Branch (3410:7): [True: 5, False: 63]
  ------------------
 3411|       |    //return TokError("file number less than one in '.loc' directive");
 3412|      5|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3413|      5|    return true;
 3414|      5|  }
 3415|     63|  if (!getContext().isValidDwarfFileNumber(FileNumber)) {
  ------------------
  |  Branch (3415:7): [True: 63, False: 0]
  ------------------
 3416|       |    //return TokError("unassigned file number in '.loc' directive");
 3417|     63|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3418|     63|    return true;
 3419|     63|  }
 3420|      0|  Lex();
 3421|       |
 3422|      0|  int64_t LineNumber = 0;
 3423|      0|  if (getLexer().is(AsmToken::Integer)) {
  ------------------
  |  Branch (3423:7): [True: 0, False: 0]
  ------------------
 3424|      0|    bool valid;
 3425|      0|    LineNumber = getTok().getIntVal(valid);
 3426|      0|    if (!valid) {
  ------------------
  |  Branch (3426:9): [True: 0, False: 0]
  ------------------
 3427|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3428|      0|        return true;
 3429|      0|    }
 3430|      0|    if (LineNumber < 0) {
  ------------------
  |  Branch (3430:9): [True: 0, False: 0]
  ------------------
 3431|       |      //return TokError("line number less than zero in '.loc' directive");
 3432|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3433|      0|      return true;
 3434|      0|    }
 3435|      0|    Lex();
 3436|      0|  }
 3437|       |
 3438|      0|  int64_t ColumnPos = 0;
 3439|      0|  if (getLexer().is(AsmToken::Integer)) {
  ------------------
  |  Branch (3439:7): [True: 0, False: 0]
  ------------------
 3440|      0|    bool valid;
 3441|      0|    ColumnPos = getTok().getIntVal(valid);
 3442|      0|    if (!valid) {
  ------------------
  |  Branch (3442:9): [True: 0, False: 0]
  ------------------
 3443|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3444|      0|        return true;
 3445|      0|    }
 3446|      0|    if (ColumnPos < 0) {
  ------------------
  |  Branch (3446:9): [True: 0, False: 0]
  ------------------
 3447|       |      //return TokError("column position less than zero in '.loc' directive");
 3448|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3449|      0|      return true;
 3450|      0|    }
 3451|      0|    Lex();
 3452|      0|  }
 3453|       |
 3454|      0|  unsigned Flags = DWARF2_LINE_DEFAULT_IS_STMT ? DWARF2_FLAG_IS_STMT : 0;
  ------------------
  |  |   66|      0|#define DWARF2_LINE_DEFAULT_IS_STMT 1
  |  |  ------------------
  |  |  |  Branch (66:37): [True: 0, Folded]
  |  |  ------------------
  ------------------
                unsigned Flags = DWARF2_LINE_DEFAULT_IS_STMT ? DWARF2_FLAG_IS_STMT : 0;
  ------------------
  |  |   68|      0|#define DWARF2_FLAG_IS_STMT (1 << 0)
  ------------------
 3455|      0|  unsigned Isa = 0;
 3456|      0|  int64_t Discriminator = 0;
 3457|      0|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3457:7): [True: 0, False: 0]
  ------------------
 3458|      0|    for (;;) {
 3459|      0|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (3459:11): [True: 0, False: 0]
  ------------------
 3460|      0|        break;
 3461|       |
 3462|      0|      StringRef Name;
 3463|      0|      SMLoc Loc = getTok().getLoc();
 3464|      0|      if (parseIdentifier(Name)) {
  ------------------
  |  Branch (3464:11): [True: 0, False: 0]
  ------------------
 3465|       |        //return TokError("unexpected token in '.loc' directive");
 3466|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3467|      0|        return true;
 3468|      0|      }
 3469|       |
 3470|      0|      if (Name == "basic_block")
  ------------------
  |  Branch (3470:11): [True: 0, False: 0]
  ------------------
 3471|      0|        Flags |= DWARF2_FLAG_BASIC_BLOCK;
  ------------------
  |  |   69|      0|#define DWARF2_FLAG_BASIC_BLOCK (1 << 1)
  ------------------
 3472|      0|      else if (Name == "prologue_end")
  ------------------
  |  Branch (3472:16): [True: 0, False: 0]
  ------------------
 3473|      0|        Flags |= DWARF2_FLAG_PROLOGUE_END;
  ------------------
  |  |   70|      0|#define DWARF2_FLAG_PROLOGUE_END (1 << 2)
  ------------------
 3474|      0|      else if (Name == "epilogue_begin")
  ------------------
  |  Branch (3474:16): [True: 0, False: 0]
  ------------------
 3475|      0|        Flags |= DWARF2_FLAG_EPILOGUE_BEGIN;
  ------------------
  |  |   71|      0|#define DWARF2_FLAG_EPILOGUE_BEGIN (1 << 3)
  ------------------
 3476|      0|      else if (Name == "is_stmt") {
  ------------------
  |  Branch (3476:16): [True: 0, False: 0]
  ------------------
 3477|      0|        Loc = getTok().getLoc();
 3478|      0|        const MCExpr *Value;
 3479|      0|        if (parseExpression(Value)) {
  ------------------
  |  Branch (3479:13): [True: 0, False: 0]
  ------------------
 3480|      0|          KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3481|      0|          return true;
 3482|      0|        }
 3483|       |        // The expression must be the constant 0 or 1.
 3484|      0|        if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) {
  ------------------
  |  Branch (3484:35): [True: 0, False: 0]
  ------------------
 3485|      0|          int Value = MCE->getValue();
 3486|      0|          if (Value == 0)
  ------------------
  |  Branch (3486:15): [True: 0, False: 0]
  ------------------
 3487|      0|            Flags &= ~DWARF2_FLAG_IS_STMT;
  ------------------
  |  |   68|      0|#define DWARF2_FLAG_IS_STMT (1 << 0)
  ------------------
 3488|      0|          else if (Value == 1)
  ------------------
  |  Branch (3488:20): [True: 0, False: 0]
  ------------------
 3489|      0|            Flags |= DWARF2_FLAG_IS_STMT;
  ------------------
  |  |   68|      0|#define DWARF2_FLAG_IS_STMT (1 << 0)
  ------------------
 3490|      0|          else {
 3491|       |            //return Error(Loc, "is_stmt value not 0 or 1");
 3492|      0|            KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3493|      0|            return true;
 3494|      0|          }
 3495|      0|        } else {
 3496|       |          //return Error(Loc, "is_stmt value not the constant value of 0 or 1");
 3497|      0|          KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3498|      0|          return true;
 3499|      0|        }
 3500|      0|      } else if (Name == "isa") {
  ------------------
  |  Branch (3500:18): [True: 0, False: 0]
  ------------------
 3501|      0|        Loc = getTok().getLoc();
 3502|      0|        const MCExpr *Value;
 3503|      0|        if (parseExpression(Value)) {
  ------------------
  |  Branch (3503:13): [True: 0, False: 0]
  ------------------
 3504|      0|          KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3505|      0|          return true;
 3506|      0|        }
 3507|       |        // The expression must be a constant greater or equal to 0.
 3508|      0|        if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) {
  ------------------
  |  Branch (3508:35): [True: 0, False: 0]
  ------------------
 3509|      0|          int Value = MCE->getValue();
 3510|      0|          if (Value < 0) {
  ------------------
  |  Branch (3510:15): [True: 0, False: 0]
  ------------------
 3511|       |            //return Error(Loc, "isa number less than zero");
 3512|      0|            KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3513|      0|            return true;
 3514|      0|          }
 3515|      0|          Isa = Value;
 3516|      0|        } else {
 3517|       |          //return Error(Loc, "isa number not a constant value");
 3518|      0|          KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3519|      0|          return true;
 3520|      0|        }
 3521|      0|      } else if (Name == "discriminator") {
  ------------------
  |  Branch (3521:18): [True: 0, False: 0]
  ------------------
 3522|      0|        if (parseAbsoluteExpression(Discriminator)) {
  ------------------
  |  Branch (3522:13): [True: 0, False: 0]
  ------------------
 3523|      0|          KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3524|      0|          return true;
 3525|      0|        }
 3526|      0|      } else {
 3527|       |        //return Error(Loc, "unknown sub-directive in '.loc' directive");
 3528|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3529|      0|        return true;
 3530|      0|      }
 3531|       |
 3532|      0|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (3532:11): [True: 0, False: 0]
  ------------------
 3533|      0|        break;
 3534|      0|    }
 3535|      0|  }
 3536|       |
 3537|      0|  getStreamer().EmitDwarfLocDirective(FileNumber, LineNumber, ColumnPos, Flags,
 3538|      0|                                      Isa, Discriminator, StringRef());
 3539|       |
 3540|      0|  return false;
 3541|      0|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser25parseDirectiveCFISectionsEv:
 3814|      1|{
 3815|      1|  StringRef Name;
 3816|      1|  bool EH = false;
 3817|      1|  bool Debug = false;
 3818|       |
 3819|      1|  if (parseIdentifier(Name))
  ------------------
  |  Branch (3819:7): [True: 1, False: 0]
  ------------------
 3820|       |    //return TokError("Expected an identifier");
 3821|      1|    return true;
 3822|       |
 3823|      0|  if (Name == ".eh_frame")
  ------------------
  |  Branch (3823:7): [True: 0, False: 0]
  ------------------
 3824|      0|    EH = true;
 3825|      0|  else if (Name == ".debug_frame")
  ------------------
  |  Branch (3825:12): [True: 0, False: 0]
  ------------------
 3826|      0|    Debug = true;
 3827|       |
 3828|      0|  if (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (3828:7): [True: 0, False: 0]
  ------------------
 3829|      0|    Lex();
 3830|       |
 3831|      0|    if (parseIdentifier(Name))
  ------------------
  |  Branch (3831:9): [True: 0, False: 0]
  ------------------
 3832|       |      //return TokError("Expected an identifier");
 3833|      0|      return true;
 3834|       |
 3835|      0|    if (Name == ".eh_frame")
  ------------------
  |  Branch (3835:9): [True: 0, False: 0]
  ------------------
 3836|      0|      EH = true;
 3837|      0|    else if (Name == ".debug_frame")
  ------------------
  |  Branch (3837:14): [True: 0, False: 0]
  ------------------
 3838|      0|      Debug = true;
 3839|      0|  }
 3840|       |
 3841|      0|  getStreamer().EmitCFISections(EH, Debug);
 3842|      0|  return false;
 3843|      0|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveMacroEN7llvm_ks5SMLocE:
 4166|  2.61k|{
 4167|  2.61k|  StringRef Name;
 4168|  2.61k|  if (parseIdentifier(Name)) {
  ------------------
  |  Branch (4168:7): [True: 84, False: 2.52k]
  ------------------
 4169|       |    //return TokError("expected identifier in '.macro' directive");
 4170|     84|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4171|     84|    return true;
 4172|     84|  }
 4173|       |
 4174|  2.52k|  if (getLexer().is(AsmToken::Comma))
  ------------------
  |  Branch (4174:7): [True: 632, False: 1.89k]
  ------------------
 4175|    632|    Lex();
 4176|       |
 4177|  2.52k|  MCAsmMacroParameters Parameters;
 4178|  8.21k|  while (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4178:10): [True: 5.88k, False: 2.33k]
  ------------------
 4179|       |
 4180|  5.88k|    if (!Parameters.empty() && Parameters.back().Vararg) {
  ------------------
  |  Branch (4180:9): [True: 4.75k, False: 1.13k]
  |  Branch (4180:32): [True: 0, False: 4.75k]
  ------------------
 4181|       |      //return Error(Lexer.getLoc(),
 4182|       |      //             "Vararg parameter '" + Parameters.back().Name +
 4183|       |      //             "' should be last one in the list of parameters.");
 4184|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4185|      0|      return true;
 4186|      0|    }
 4187|       |
 4188|  5.88k|    MCAsmMacroParameter Parameter;
 4189|  5.88k|    if (parseIdentifier(Parameter.Name)) {
  ------------------
  |  Branch (4189:9): [True: 81, False: 5.80k]
  ------------------
 4190|       |      //return TokError("expected identifier in '.macro' directive");
 4191|     81|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4192|     81|      return true;
 4193|     81|    }
 4194|       |
 4195|  5.80k|    if (Lexer.is(AsmToken::Colon)) {
  ------------------
  |  Branch (4195:9): [True: 101, False: 5.69k]
  ------------------
 4196|    101|      Lex();  // consume ':'
 4197|       |
 4198|    101|      SMLoc QualLoc;
 4199|    101|      StringRef Qualifier;
 4200|       |
 4201|    101|      QualLoc = Lexer.getLoc();
 4202|    101|      if (parseIdentifier(Qualifier)) {
  ------------------
  |  Branch (4202:11): [True: 70, False: 31]
  ------------------
 4203|       |        //return Error(QualLoc, "missing parameter qualifier for "
 4204|       |        //             "'" + Parameter.Name + "' in macro '" + Name + "'");
 4205|     70|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4206|     70|        return true;
 4207|     70|      }
 4208|       |
 4209|     31|      if (Qualifier == "req")
  ------------------
  |  Branch (4209:11): [True: 0, False: 31]
  ------------------
 4210|      0|        Parameter.Required = true;
 4211|     31|      else if (Qualifier == "vararg")
  ------------------
  |  Branch (4211:16): [True: 0, False: 31]
  ------------------
 4212|      0|        Parameter.Vararg = true;
 4213|     31|      else {
 4214|       |        //return Error(QualLoc, Qualifier + " is not a valid parameter qualifier "
 4215|       |        //             "for '" + Parameter.Name + "' in macro '" + Name + "'");
 4216|     31|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4217|     31|        return true;
 4218|     31|      }
 4219|     31|    }
 4220|       |
 4221|  5.69k|    if (getLexer().is(AsmToken::Equal)) {
  ------------------
  |  Branch (4221:9): [True: 561, False: 5.13k]
  ------------------
 4222|    561|      Lex();
 4223|       |
 4224|    561|      SMLoc ParamLoc;
 4225|       |
 4226|    561|      ParamLoc = Lexer.getLoc();
 4227|    561|      if (parseMacroArgument(Parameter.Value, /*Vararg=*/false )) {
  ------------------
  |  Branch (4227:11): [True: 10, False: 551]
  ------------------
 4228|     10|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4229|     10|        return true;
 4230|     10|      }
 4231|       |
 4232|    551|      if (Parameter.Required)
  ------------------
  |  Branch (4232:11): [True: 0, False: 551]
  ------------------
 4233|      0|        Warning(ParamLoc, "pointless default value for required parameter "
 4234|      0|                "'" + Parameter.Name + "' in macro '" + Name + "'");
 4235|    551|    }
 4236|       |
 4237|  5.68k|    Parameters.push_back(std::move(Parameter));
 4238|       |
 4239|  5.68k|    if (getLexer().is(AsmToken::Comma))
  ------------------
  |  Branch (4239:9): [True: 1.60k, False: 4.08k]
  ------------------
 4240|  1.60k|      Lex();
 4241|  5.68k|  }
 4242|       |
 4243|       |  // Eat the end of statement.
 4244|  2.33k|  Lex();
 4245|       |
 4246|  2.33k|  AsmToken EndToken, StartToken = getTok();
 4247|  2.33k|  unsigned MacroDepth = 0;
 4248|       |
 4249|       |  // Lex the macro definition.
 4250|  8.53k|  for (;;) {
 4251|       |    // Check whether we have reached the end of the file.
 4252|  8.53k|    if (getLexer().is(AsmToken::Eof)) {
  ------------------
  |  Branch (4252:9): [True: 87, False: 8.44k]
  ------------------
 4253|       |      //return Error(DirectiveLoc, "no matching '.endmacro' in definition");
 4254|     87|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4255|     87|      return true;
 4256|     87|    }
 4257|       |
 4258|       |    // Otherwise, check whether we have reach the .endmacro.
 4259|  8.44k|    if (getLexer().is(AsmToken::Identifier)) {
  ------------------
  |  Branch (4259:9): [True: 6.17k, False: 2.27k]
  ------------------
 4260|  6.17k|      if (getTok().getIdentifier() == ".endm" ||
  ------------------
  |  Branch (4260:11): [True: 2.18k, False: 3.99k]
  |  Branch (4260:11): [True: 2.68k, False: 3.48k]
  ------------------
 4261|  3.99k|          getTok().getIdentifier() == ".endmacro") {
  ------------------
  |  Branch (4261:11): [True: 505, False: 3.48k]
  ------------------
 4262|  2.68k|        if (MacroDepth == 0) { // Outermost macro.
  ------------------
  |  Branch (4262:13): [True: 2.24k, False: 441]
  ------------------
 4263|  2.24k|          EndToken = getTok();
 4264|  2.24k|          Lex();
 4265|  2.24k|          if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4265:15): [True: 373, False: 1.87k]
  ------------------
 4266|       |            //return TokError("unexpected token in '" + EndToken.getIdentifier() +
 4267|       |            //                "' directive");
 4268|    373|            KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4269|    373|            return true;
 4270|    373|          }
 4271|  1.87k|          break;
 4272|  2.24k|        } else {
 4273|       |          // Otherwise we just found the end of an inner macro.
 4274|    441|          --MacroDepth;
 4275|    441|        }
 4276|  3.48k|      } else if (getTok().getIdentifier() == ".macro") {
  ------------------
  |  Branch (4276:18): [True: 467, False: 3.01k]
  ------------------
 4277|       |        // We allow nested macros. Those aren't instantiated until the outermost
 4278|       |        // macro is expanded so just ignore them for now.
 4279|    467|        ++MacroDepth;
 4280|    467|      }
 4281|  6.17k|    }
 4282|       |
 4283|       |    // Otherwise, scan til the end of the statement.
 4284|  6.19k|    eatToEndOfStatement();
 4285|  6.19k|  }
 4286|       |
 4287|  1.87k|  if (lookupMacro(Name)) {
  ------------------
  |  Branch (4287:7): [True: 1.23k, False: 643]
  ------------------
 4288|       |    //return Error(DirectiveLoc, "macro '" + Name + "' is already defined");
 4289|  1.23k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4290|  1.23k|    return true;
 4291|  1.23k|  }
 4292|       |
 4293|    643|  const char *BodyStart = StartToken.getLoc().getPointer();
 4294|    643|  const char *BodyEnd = EndToken.getLoc().getPointer();
 4295|    643|  StringRef Body = StringRef(BodyStart, BodyEnd - BodyStart);
 4296|    643|  checkForBadMacro(DirectiveLoc, Name, Body, Parameters);
 4297|    643|  defineMacro(Name, MCAsmMacro(Name, Body, std::move(Parameters)));
 4298|    643|  return false;
 4299|  1.87k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser16checkForBadMacroEN7llvm_ks5SMLocENS1_9StringRefES3_NS1_8ArrayRefINS_19MCAsmMacroParameterEEE:
 4317|    643|                                 ArrayRef<MCAsmMacroParameter> Parameters) {
 4318|       |  // If this macro is not defined with named parameters the warning we are
 4319|       |  // checking for here doesn't apply.
 4320|    643|  unsigned NParameters = Parameters.size();
 4321|    643|  if (NParameters == 0)
  ------------------
  |  Branch (4321:7): [True: 189, False: 454]
  ------------------
 4322|    189|    return;
 4323|       |
 4324|    454|  bool NamedParametersFound = false;
 4325|    454|  bool PositionalParametersFound = false;
 4326|       |
 4327|       |  // Look at the body of the macro for use of both the named parameters and what
 4328|       |  // are likely to be positional parameters.  This is what expandMacro() is
 4329|       |  // doing when it finds the parameters in the body.
 4330|  7.64k|  while (!Body.empty()) {
  ------------------
  |  Branch (4330:10): [True: 7.48k, False: 167]
  ------------------
 4331|       |    // Scan for the next possible parameter.
 4332|  7.48k|    std::size_t End = Body.size(), Pos = 0;
 4333|  36.1k|    for (; Pos != End; ++Pos) {
  ------------------
  |  Branch (4333:12): [True: 35.8k, False: 287]
  ------------------
 4334|       |      // Check for a substitution or escape.
 4335|       |      // This macro is defined with parameters, look for \foo, \bar, etc.
 4336|  35.8k|      if (Body[Pos] == '\\' && Pos + 1 != End)
  ------------------
  |  Branch (4336:11): [True: 5.84k, False: 29.9k]
  |  Branch (4336:32): [True: 5.84k, False: 0]
  ------------------
 4337|  5.84k|        break;
 4338|       |
 4339|       |      // This macro should have parameters, but look for $0, $1, ..., $n too.
 4340|  29.9k|      if (Body[Pos] != '$' || Pos + 1 == End)
  ------------------
  |  Branch (4340:11): [True: 27.3k, False: 2.61k]
  |  Branch (4340:31): [True: 0, False: 2.61k]
  ------------------
 4341|  27.3k|        continue;
 4342|  2.61k|      char Next = Body[Pos + 1];
 4343|  2.61k|      if (Next == '$' || Next == 'n' ||
  ------------------
  |  Branch (4343:11): [True: 638, False: 1.97k]
  |  Branch (4343:26): [True: 510, False: 1.46k]
  ------------------
 4344|  1.46k|          isdigit(static_cast<unsigned char>(Next)))
  ------------------
  |  Branch (4344:11): [True: 200, False: 1.26k]
  ------------------
 4345|  1.34k|        break;
 4346|  2.61k|    }
 4347|       |
 4348|       |    // Check if we reached the end.
 4349|  7.48k|    if (Pos == End)
  ------------------
  |  Branch (4349:9): [True: 287, False: 7.19k]
  ------------------
 4350|    287|      break;
 4351|       |
 4352|  7.19k|    if (Body[Pos] == '$') {
  ------------------
  |  Branch (4352:9): [True: 1.34k, False: 5.84k]
  ------------------
 4353|  1.34k|      switch (Body[Pos + 1]) {
 4354|       |      // $$ => $
 4355|    638|      case '$':
  ------------------
  |  Branch (4355:7): [True: 638, False: 710]
  ------------------
 4356|    638|        break;
 4357|       |
 4358|       |      // $n => number of arguments
 4359|    510|      case 'n':
  ------------------
  |  Branch (4359:7): [True: 510, False: 838]
  ------------------
 4360|    510|        PositionalParametersFound = true;
 4361|    510|        break;
 4362|       |
 4363|       |      // $[0-9] => argument
 4364|    200|      default: {
  ------------------
  |  Branch (4364:7): [True: 200, False: 1.14k]
  ------------------
 4365|    200|        PositionalParametersFound = true;
 4366|    200|        break;
 4367|      0|      }
 4368|  1.34k|      }
 4369|  1.34k|      Pos += 2;
 4370|  5.84k|    } else {
 4371|  5.84k|      unsigned I = Pos + 1;
 4372|  11.4k|      while (isIdentifierChar(Body[I]) && I + 1 != End)
  ------------------
  |  Branch (4372:14): [True: 5.61k, False: 5.84k]
  |  Branch (4372:43): [True: 5.61k, False: 0]
  ------------------
 4373|  5.61k|        ++I;
 4374|       |
 4375|  5.84k|      const char *Begin = Body.data() + Pos + 1;
 4376|  5.84k|      StringRef Argument(Begin, I - (Pos + 1));
 4377|  5.84k|      unsigned Index = 0;
 4378|  13.1k|      for (; Index < NParameters; ++Index)
  ------------------
  |  Branch (4378:14): [True: 8.12k, False: 4.99k]
  ------------------
 4379|  8.12k|        if (Parameters[Index].Name == Argument)
  ------------------
  |  Branch (4379:13): [True: 849, False: 7.28k]
  ------------------
 4380|    849|          break;
 4381|       |
 4382|  5.84k|      if (Index == NParameters) {
  ------------------
  |  Branch (4382:11): [True: 4.99k, False: 849]
  ------------------
 4383|  4.99k|        if (Body[Pos + 1] == '(' && Body[Pos + 2] == ')')
  ------------------
  |  Branch (4383:13): [True: 389, False: 4.60k]
  |  Branch (4383:37): [True: 80, False: 309]
  ------------------
 4384|     80|          Pos += 3;
 4385|  4.91k|        else {
 4386|  4.91k|          Pos = I;
 4387|  4.91k|        }
 4388|  4.99k|      } else {
 4389|    849|        NamedParametersFound = true;
 4390|    849|        Pos += 1 + Argument.size();
 4391|    849|      }
 4392|  5.84k|    }
 4393|       |    // Update the scan point.
 4394|  7.19k|    Body = Body.substr(Pos);
 4395|  7.19k|  }
 4396|       |
 4397|    454|  if (!NamedParametersFound && PositionalParametersFound)
  ------------------
  |  Branch (4397:7): [True: 380, False: 74]
  |  Branch (4397:32): [True: 47, False: 333]
  ------------------
 4398|     47|    Warning(DirectiveLoc, "macro defined with named parameters which are not "
 4399|     47|                          "used in macro body, possible positional parameter "
 4400|     47|                          "found in body which will have no effect");
 4401|    454|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser11defineMacroEN7llvm_ks9StringRefENS_10MCAsmMacroE:
 2451|    643|void AsmParser::defineMacro(StringRef Name, MCAsmMacro Macro) {
 2452|    643|  MacroMap.insert(std::make_pair(Name, std::move(Macro)));
 2453|    643|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser26isInsideMacroInstantiationEv:
  297|  22.9k|  bool isInsideMacroInstantiation() {return !ActiveMacros.empty();}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser22parseDirectiveEndMacroEN7llvm_ks9StringRefE:
 4434|  23.1k|{
 4435|  23.1k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4435:7): [True: 203, False: 22.9k]
  ------------------
 4436|       |    //return TokError("unexpected token in '" + Directive + "' directive");
 4437|    203|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4438|    203|    return true;
 4439|    203|  }
 4440|       |
 4441|       |  // If we are inside a macro instantiation, terminate the current
 4442|       |  // instantiation.
 4443|  22.9k|  if (isInsideMacroInstantiation()) {
  ------------------
  |  Branch (4443:7): [True: 22.7k, False: 245]
  ------------------
 4444|  22.7k|    handleMacroExit();
 4445|  22.7k|    return false;
 4446|  22.7k|  }
 4447|       |
 4448|       |  // Otherwise, this .endmacro is a stray entry in the file; well formed
 4449|       |  // .endmacro directives are handled during the macro definition parsing.
 4450|       |  //return TokError("unexpected '" + Directive + "' in file, "
 4451|       |  //                                             "no current macro definition");
 4452|    245|  KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4453|    245|  return true;
 4454|  22.9k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser24parseDirectivePurgeMacroEN7llvm_ks5SMLocE:
 4459|     23|{
 4460|     23|  StringRef Name;
 4461|     23|  if (parseIdentifier(Name)) {
  ------------------
  |  Branch (4461:7): [True: 3, False: 20]
  ------------------
 4462|       |    //return TokError("expected identifier in '.purgem' directive");
 4463|      3|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4464|      3|    return true;
 4465|      3|  }
 4466|       |
 4467|     20|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4467:7): [True: 14, False: 6]
  ------------------
 4468|       |    //return TokError("unexpected token in '.purgem' directive");
 4469|     14|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4470|     14|    return true;
 4471|     14|  }
 4472|       |
 4473|      6|  if (!lookupMacro(Name)) {
  ------------------
  |  Branch (4473:7): [True: 6, False: 0]
  ------------------
 4474|       |    //return Error(DirectiveLoc, "macro '" + Name + "' is not defined");
 4475|      6|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4476|      6|    return true;
 4477|      6|  }
 4478|       |
 4479|      0|  undefineMacro(Name);
 4480|      0|  return false;
 4481|      6|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveEndEN7llvm_ks5SMLocE:
 5187|    735|{
 5188|    735|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5188:7): [True: 723, False: 12]
  ------------------
 5189|       |    //return TokError("unexpected token in '.end' directive");
 5190|    723|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5191|    723|    return true;
 5192|    723|  }
 5193|       |
 5194|     12|  Lex();
 5195|       |
 5196|    217|  while (Lexer.isNot(AsmToken::Eof))
  ------------------
  |  Branch (5196:10): [True: 205, False: 12]
  ------------------
 5197|    205|    Lex();
 5198|       |
 5199|     12|  return false;
 5200|    735|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveErrorEN7llvm_ks5SMLocEb:
 5206|    408|{
 5207|    408|  if (!TheCondStack.empty()) {
  ------------------
  |  Branch (5207:7): [True: 93, False: 315]
  ------------------
 5208|     93|    if (TheCondStack.back().Ignore) {
  ------------------
  |  Branch (5208:9): [True: 0, False: 93]
  ------------------
 5209|      0|      eatToEndOfStatement();
 5210|      0|      return false;
 5211|      0|    }
 5212|     93|  }
 5213|       |
 5214|    408|  if (!WithMessage) {
  ------------------
  |  Branch (5214:7): [True: 226, False: 182]
  ------------------
 5215|       |    //return Error(L, ".err encountered");
 5216|    226|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5217|    226|    return true;
 5218|    226|  }
 5219|       |
 5220|    182|  StringRef Message = ".error directive invoked in source file";
 5221|    182|  if (Lexer.isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5221:7): [True: 172, False: 10]
  ------------------
 5222|    172|    if (Lexer.isNot(AsmToken::String)) {
  ------------------
  |  Branch (5222:9): [True: 81, False: 91]
  ------------------
 5223|       |      //TokError(".error argument must be a string");
 5224|     81|      eatToEndOfStatement();
 5225|     81|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5226|     81|      return true;
 5227|     81|    }
 5228|       |
 5229|     91|    bool valid;
 5230|     91|    Message = getTok().getStringContents(valid);
 5231|     91|    if (!valid) {
  ------------------
  |  Branch (5231:9): [True: 0, False: 91]
  ------------------
 5232|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5233|      0|        return true;
 5234|      0|    }
 5235|     91|    Lex();
 5236|     91|  }
 5237|       |
 5238|       |  //Error(L, Message);
 5239|    101|  KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5240|    101|  return true;
 5241|    182|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser21parseDirectiveWarningEN7llvm_ks5SMLocE:
 5246|    371|{
 5247|    371|  if (!TheCondStack.empty()) {
  ------------------
  |  Branch (5247:7): [True: 82, False: 289]
  ------------------
 5248|     82|    if (TheCondStack.back().Ignore) {
  ------------------
  |  Branch (5248:9): [True: 1, False: 81]
  ------------------
 5249|      1|      eatToEndOfStatement();
 5250|      1|      return false;
 5251|      1|    }
 5252|     82|  }
 5253|       |
 5254|    370|  StringRef Message = ".warning directive invoked in source file";
 5255|    370|  if (Lexer.isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5255:7): [True: 132, False: 238]
  ------------------
 5256|    132|    if (Lexer.isNot(AsmToken::String)) {
  ------------------
  |  Branch (5256:9): [True: 93, False: 39]
  ------------------
 5257|       |      //TokError(".warning argument must be a string");
 5258|     93|      eatToEndOfStatement();
 5259|     93|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5260|     93|      return true;
 5261|     93|    }
 5262|       |
 5263|     39|    bool valid;
 5264|     39|    Message = getTok().getStringContents(valid);
 5265|     39|    if (!valid) {
  ------------------
  |  Branch (5265:9): [True: 0, False: 39]
  ------------------
 5266|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5267|      0|        return true;
 5268|      0|    }
 5269|     39|    Lex();
 5270|     39|  }
 5271|       |
 5272|    277|  Warning(L, Message);
 5273|    277|  return false;
 5274|    370|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveRelocEN7llvm_ks5SMLocE:
 2734|  2.12k|{
 2735|  2.12k|  const MCExpr *Offset;
 2736|  2.12k|  const MCExpr *Expr = nullptr;
 2737|       |
 2738|       |  //SMLoc OffsetLoc = Lexer.getTok().getLoc();
 2739|  2.12k|  if (parseExpression(Offset)) {
  ------------------
  |  Branch (2739:7): [True: 70, False: 2.05k]
  ------------------
 2740|     70|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2741|     70|    return true;
 2742|     70|  }
 2743|       |
 2744|       |  // We can only deal with constant expressions at the moment.
 2745|  2.05k|  int64_t OffsetValue;
 2746|  2.05k|  if (!Offset->evaluateAsAbsolute(OffsetValue)) {
  ------------------
  |  Branch (2746:7): [True: 213, False: 1.84k]
  ------------------
 2747|       |    //return Error(OffsetLoc, "expression is not a constant value");
 2748|    213|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2749|    213|    return true;
 2750|    213|  }
 2751|       |
 2752|  1.84k|  if (OffsetValue < 0) {
  ------------------
  |  Branch (2752:7): [True: 129, False: 1.71k]
  ------------------
 2753|       |    //return Error(OffsetLoc, "expression is negative");
 2754|    129|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2755|    129|    return true;
 2756|    129|  }
 2757|       |
 2758|  1.71k|  if (Lexer.isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (2758:7): [True: 489, False: 1.22k]
  ------------------
 2759|       |    // return TokError("expected comma");
 2760|    489|    KsError = KS_ERR_ASM_DIRECTIVE_COMMA;
 2761|    489|    return true;
 2762|    489|  }
 2763|  1.22k|  Lexer.Lex();
 2764|       |
 2765|  1.22k|  if (Lexer.isNot(AsmToken::Identifier)) {
  ------------------
  |  Branch (2765:7): [True: 254, False: 968]
  ------------------
 2766|       |    // return TokError("expected relocation name");
 2767|    254|    KsError = KS_ERR_ASM_DIRECTIVE_RELOC_NAME;
 2768|    254|    return true;
 2769|    254|  }
 2770|       |  //SMLoc NameLoc = Lexer.getTok().getLoc();
 2771|    968|  StringRef Name = Lexer.getTok().getIdentifier();
 2772|    968|  Lexer.Lex();
 2773|       |
 2774|    968|  if (Lexer.is(AsmToken::Comma)) {
  ------------------
  |  Branch (2774:7): [True: 769, False: 199]
  ------------------
 2775|    769|    Lexer.Lex();
 2776|       |    //SMLoc ExprLoc = Lexer.getLoc();
 2777|    769|    if (parseExpression(Expr)) {
  ------------------
  |  Branch (2777:9): [True: 10, False: 759]
  ------------------
 2778|     10|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2779|     10|      return true;
 2780|     10|    }
 2781|       |
 2782|    759|    MCValue Value;
 2783|    759|    if (!Expr->evaluateAsRelocatable(Value, nullptr, nullptr)) {
  ------------------
  |  Branch (2783:9): [True: 428, False: 331]
  ------------------
 2784|       |      //return Error(ExprLoc, "expression must be relocatable");
 2785|    428|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2786|    428|      return true;
 2787|    428|    }
 2788|    759|  }
 2789|       |
 2790|    530|  if (Lexer.isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (2790:7): [True: 52, False: 478]
  ------------------
 2791|       |    // return TokError("unexpected token in .reloc directive");
 2792|     52|    KsError = KS_ERR_ASM_DIRECTIVE_RELOC_TOKEN;
 2793|     52|    return true;
 2794|     52|  }
 2795|       |
 2796|    478|  if (getStreamer().EmitRelocDirective(*Offset, Name, Expr, DirectiveLoc)) {
  ------------------
  |  Branch (2796:7): [True: 478, False: 0]
  ------------------
 2797|       |    //return Error(NameLoc, "unknown relocation name");
 2798|    478|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2799|    478|    return true;
 2800|    478|  }
 2801|       |
 2802|      0|  return false;
 2803|    478|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser16isNasmDefaultRelEv:
  236|  4.30k|  bool isNasmDefaultRel() override { return NasmDefaultRel; }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser4NoteEN7llvm_ks5SMLocERKNS1_5TwineENS1_8ArrayRefINS1_7SMRangeEEE:
  600|     21|void AsmParser::Note(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
  601|     21|  printMessage(L, SourceMgr::DK_Note, Msg, Ranges);
  602|     21|  printMacroInstantiations();
  603|     21|}
AsmParser.cpp:_ZNK12_GLOBAL__N_19AsmParser12printMessageEN7llvm_ks5SMLocENS1_9SourceMgr8DiagKindERKNS1_5TwineENS1_8ArrayRefINS1_7SMRangeEEE:
  316|  59.3k|                    ArrayRef<SMRange> Ranges = None) const {
  317|  59.3k|    SrcMgr.PrintMessage(Loc, Kind, Msg, Ranges);
  318|  59.3k|  }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser24printMacroInstantiationsEv:
  590|  17.6k|void AsmParser::printMacroInstantiations() {
  591|       |  // Print the active macro instantiation stack.
  592|  17.6k|  for (std::vector<MacroInstantiation *>::const_reverse_iterator
  593|  17.6k|           it = ActiveMacros.rbegin(),
  594|  17.6k|           ie = ActiveMacros.rend();
  595|  59.3k|       it != ie; ++it)
  ------------------
  |  Branch (595:8): [True: 41.7k, False: 17.6k]
  ------------------
  596|  41.7k|    printMessage((*it)->InstantiationLoc, SourceMgr::DK_Note,
  597|  41.7k|                 "while in macro instantiation");
  598|  17.6k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser7WarningEN7llvm_ks5SMLocERKNS1_5TwineENS1_8ArrayRefINS1_7SMRangeEEE:
  605|  16.6k|bool AsmParser::Warning(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
  606|  16.6k|  if(getTargetParser().getTargetOptions().MCNoWarn)
  ------------------
  |  Branch (606:6): [True: 0, False: 16.6k]
  ------------------
  607|      0|    return false;
  608|  16.6k|  if (getTargetParser().getTargetOptions().MCFatalWarnings)
  ------------------
  |  Branch (608:7): [True: 0, False: 16.6k]
  ------------------
  609|      0|    return Error(L, Msg, Ranges);
  610|  16.6k|  printMessage(L, SourceMgr::DK_Warning, Msg, Ranges);
  611|  16.6k|  printMacroInstantiations();
  612|  16.6k|  return false;
  613|  16.6k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser5ErrorEN7llvm_ks5SMLocERKNS1_5TwineENS1_8ArrayRefINS1_7SMRangeEEE:
  615|    969|bool AsmParser::Error(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
  616|    969|  HadError = true;
  617|    969|  printMessage(L, SourceMgr::DK_Error, Msg, Ranges);
  618|    969|  printMacroInstantiations();
  619|    969|  return true;
  620|    969|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser3LexEv:
  655|  13.0M|const AsmToken &AsmParser::Lex() {
  656|  13.0M|  const AsmToken *tok = &Lexer.Lex();
  657|       |
  658|  13.0M|  if (tok->is(AsmToken::Eof)) {
  ------------------
  |  Branch (658:7): [True: 14.3k, False: 13.0M]
  ------------------
  659|       |    // If this is the end of an included file, pop the parent file off the
  660|       |    // include stack.
  661|  14.3k|    SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer);
  662|  14.3k|    if (ParentIncludeLoc != SMLoc()) {
  ------------------
  |  Branch (662:9): [True: 0, False: 14.3k]
  ------------------
  663|      0|      jumpToLoc(ParentIncludeLoc);
  664|      0|      tok = &Lexer.Lex();   // qq
  665|      0|    }
  666|  14.3k|  }
  667|       |
  668|       |  //if (tok->is(AsmToken::Error))
  669|       |  //  Error(Lexer.getErrLoc(), Lexer.getErr());
  670|       |
  671|  13.0M|  return *tok;
  672|  13.0M|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser15parseIdentifierERN7llvm_ks9StringRefE:
 2549|  1.25M|{
 2550|       |  // The assembler has relaxed rules for accepting identifiers, in particular we
 2551|       |  // allow things like '.globl $foo' and '.def @feat.00', which would normally be
 2552|       |  // separate tokens. At this level, we have already lexed so we cannot (currently)
 2553|       |  // handle this as a context dependent token, instead we detect adjacent tokens
 2554|       |  // and return the combined identifier.
 2555|  1.25M|  if (Lexer.is(AsmToken::Dollar) || Lexer.is(AsmToken::At)) {
  ------------------
  |  Branch (2555:7): [True: 15.5k, False: 1.24M]
  |  Branch (2555:37): [True: 5.84k, False: 1.23M]
  ------------------
 2556|  21.3k|    SMLoc PrefixLoc = getLexer().getLoc();
 2557|       |
 2558|       |    // Consume the prefix character, and check for a following identifier.
 2559|  21.3k|    Lex();
 2560|  21.3k|    if (Lexer.isNot(AsmToken::Identifier)) {
  ------------------
  |  Branch (2560:9): [True: 13.3k, False: 8.07k]
  ------------------
 2561|  13.3k|      KsError = KS_ERR_ASM_MACRO_INVALID;
 2562|  13.3k|      return true;
 2563|  13.3k|    }
 2564|       |
 2565|       |    // We have a '$' or '@' followed by an identifier, make sure they are adjacent.
 2566|  8.07k|    if (PrefixLoc.getPointer() + 1 != getTok().getLoc().getPointer()) {
  ------------------
  |  Branch (2566:9): [True: 371, False: 7.69k]
  ------------------
 2567|    371|      KsError = KS_ERR_ASM_MACRO_INVALID;
 2568|    371|      return true;
 2569|    371|    }
 2570|       |
 2571|       |    // Construct the joined identifier and consume the token.
 2572|  7.69k|    Res =
 2573|  7.69k|        StringRef(PrefixLoc.getPointer(), getTok().getIdentifier().size() + 1);
 2574|  7.69k|    Lex();
 2575|  7.69k|    return false;
 2576|  8.07k|  }
 2577|       |
 2578|  1.23M|  if (Lexer.isNot(AsmToken::Identifier) && Lexer.isNot(AsmToken::String)) {
  ------------------
  |  Branch (2578:7): [True: 9.42k, False: 1.22M]
  |  Branch (2578:44): [True: 4.70k, False: 4.71k]
  ------------------
 2579|  4.70k|    KsError = KS_ERR_ASM_MACRO_INVALID;
 2580|  4.70k|    return true;
 2581|  4.70k|  }
 2582|       |
 2583|  1.23M|  Res = getTok().getIdentifier();
 2584|       |
 2585|  1.23M|  Lex(); // Consume the identifier token.
 2586|       |
 2587|  1.23M|  return false;
 2588|  1.23M|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser27parseStringToEndOfStatementEv:
  792|  11.8k|StringRef AsmParser::parseStringToEndOfStatement() {
  793|  11.8k|  const char *Start = getTok().getLoc().getPointer();
  794|       |
  795|   104k|  while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof))
  ------------------
  |  Branch (795:10): [True: 93.0k, False: 11.8k]
  |  Branch (795:51): [True: 93.0k, False: 3]
  ------------------
  796|  93.0k|    Lex();
  797|       |
  798|  11.8k|  const char *End = getTok().getLoc().getPointer();
  799|  11.8k|  return StringRef(Start, End - Start);
  800|  11.8k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseEscapedStringERNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
 2614|  5.52k|{
 2615|  5.52k|  if (!getLexer().is(AsmToken::String)) {
  ------------------
  |  Branch (2615:7): [True: 0, False: 5.52k]
  ------------------
 2616|      0|      KsError = KS_ERR_ASM_ESC_STR;
 2617|      0|      return true;
 2618|      0|  }
 2619|       |
 2620|  5.52k|  Data = "";
 2621|  5.52k|  bool valid;
 2622|  5.52k|  StringRef Str = getTok().getStringContents(valid);
 2623|  5.52k|  if (!valid) {
  ------------------
  |  Branch (2623:7): [True: 0, False: 5.52k]
  ------------------
 2624|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2625|      0|      return true;
 2626|      0|  }
 2627|       |
 2628|  70.5k|  for (unsigned i = 0, e = Str.size(); i != e; ++i) {
  ------------------
  |  Branch (2628:40): [True: 65.1k, False: 5.40k]
  ------------------
 2629|  65.1k|    if (Str[i] != '\\') {
  ------------------
  |  Branch (2629:9): [True: 54.6k, False: 10.5k]
  ------------------
 2630|  54.6k|      Data += Str[i];
 2631|  54.6k|      continue;
 2632|  54.6k|    }
 2633|       |
 2634|       |    // Recognize escaped characters. Note that this escape semantics currently
 2635|       |    // loosely follows Darwin 'as'. Notably, it doesn't support hex escapes.
 2636|  10.5k|    ++i;
 2637|  10.5k|    if (i == e) {
  ------------------
  |  Branch (2637:9): [True: 0, False: 10.5k]
  ------------------
 2638|       |      // return TokError("unexpected backslash at end of string");
 2639|      0|      KsError = KS_ERR_ASM_ESC_BACKSLASH;
 2640|      0|      return true;
 2641|      0|    }
 2642|       |
 2643|       |    // Recognize octal sequences.
 2644|  10.5k|    if ((unsigned)(Str[i] - '0') <= 7) {
  ------------------
  |  Branch (2644:9): [True: 2.92k, False: 7.58k]
  ------------------
 2645|       |      // Consume up to three octal characters.
 2646|  2.92k|      unsigned Value = Str[i] - '0';
 2647|       |
 2648|  2.92k|      if (i + 1 != e && ((unsigned)(Str[i + 1] - '0')) <= 7) {
  ------------------
  |  Branch (2648:11): [True: 2.71k, False: 217]
  |  Branch (2648:25): [True: 1.76k, False: 943]
  ------------------
 2649|  1.76k|        ++i;
 2650|  1.76k|        Value = Value * 8 + (Str[i] - '0');
 2651|       |
 2652|  1.76k|        if (i + 1 != e && ((unsigned)(Str[i + 1] - '0')) <= 7) {
  ------------------
  |  Branch (2652:13): [True: 1.56k, False: 201]
  |  Branch (2652:27): [True: 560, False: 1.00k]
  ------------------
 2653|    560|          ++i;
 2654|    560|          Value = Value * 8 + (Str[i] - '0');
 2655|    560|        }
 2656|  1.76k|      }
 2657|       |
 2658|  2.92k|      if (Value > 255) {
  ------------------
  |  Branch (2658:11): [True: 27, False: 2.90k]
  ------------------
 2659|       |        // return TokError("invalid octal escape sequence (out of range)");
 2660|     27|        KsError = KS_ERR_ASM_ESC_BACKSLASH;
 2661|     27|        return true;
 2662|     27|      }
 2663|       |
 2664|  2.90k|      Data += (unsigned char)Value;
 2665|  2.90k|      continue;
 2666|  2.92k|    }
 2667|       |
 2668|       |    // Otherwise recognize individual escapes.
 2669|  7.58k|    switch (Str[i]) {
 2670|     87|    default:
  ------------------
  |  Branch (2670:5): [True: 87, False: 7.49k]
  ------------------
 2671|       |      // Just reject invalid escape sequences for now.
 2672|       |      // return TokError("invalid escape sequence (unrecognized character)");
 2673|     87|      KsError = KS_ERR_ASM_ESC_SEQUENCE;
 2674|     87|      return true;
 2675|       |
 2676|    640|    case 'b': Data += '\b'; break;
  ------------------
  |  Branch (2676:5): [True: 640, False: 6.94k]
  ------------------
 2677|    292|    case 'f': Data += '\f'; break;
  ------------------
  |  Branch (2677:5): [True: 292, False: 7.29k]
  ------------------
 2678|    114|    case 'n': Data += '\n'; break;
  ------------------
  |  Branch (2678:5): [True: 114, False: 7.46k]
  ------------------
 2679|    358|    case 'r': Data += '\r'; break;
  ------------------
  |  Branch (2679:5): [True: 358, False: 7.22k]
  ------------------
 2680|    631|    case 't': Data += '\t'; break;
  ------------------
  |  Branch (2680:5): [True: 631, False: 6.95k]
  ------------------
 2681|    569|    case '"': Data += '"'; break;
  ------------------
  |  Branch (2681:5): [True: 569, False: 7.01k]
  ------------------
 2682|  4.89k|    case '\\': Data += '\\'; break;
  ------------------
  |  Branch (2682:5): [True: 4.89k, False: 2.69k]
  ------------------
 2683|  7.58k|    }
 2684|  7.58k|  }
 2685|       |
 2686|  5.40k|  return false;
 2687|  5.52k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19eatToEndOfStatementEv:
  783|   296k|{
  784|  1.27M|  while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof))
  ------------------
  |  Branch (784:10): [True: 981k, False: 296k]
  |  Branch (784:51): [True: 981k, False: 86]
  ------------------
  785|   981k|    Lex();
  786|       |
  787|       |  // Eat EOL.
  788|   296k|  if (Lexer.is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (788:7): [True: 296k, False: 86]
  ------------------
  789|   296k|    Lex();
  790|   296k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser15parseExpressionERPKN7llvm_ks6MCExprERNS1_5SMLocE:
 1145|   686k|bool AsmParser::parseExpression(const MCExpr *&Res, SMLoc &EndLoc) {
 1146|       |  // Parse the expression.
 1147|   686k|  Res = nullptr;
 1148|   686k|  if (parsePrimaryExpr(Res, EndLoc) || parseBinOpRHS(1, Res, EndLoc))
  ------------------
  |  Branch (1148:7): [True: 322k, False: 364k]
  |  Branch (1148:40): [True: 10.2k, False: 353k]
  ------------------
 1149|   332k|    return true;
 1150|       |
 1151|       |  // As a special case, we support 'a op b @ modifier' by rewriting the
 1152|       |  // expression to include the modifier. This is inefficient, but in general we
 1153|       |  // expect users to use 'a@modifier op b'.
 1154|   353k|  if (Lexer.getKind() == AsmToken::At) {
  ------------------
  |  Branch (1154:7): [True: 3.90k, False: 349k]
  ------------------
 1155|  3.90k|    Lex();
 1156|       |
 1157|  3.90k|    if (Lexer.isNot(AsmToken::Identifier)) {
  ------------------
  |  Branch (1157:9): [True: 381, False: 3.52k]
  ------------------
 1158|       |      // return TokError("unexpected symbol modifier following '@'");
 1159|    381|      KsError = KS_ERR_ASM_SYMBOL_MODIFIER;
 1160|    381|      return true;
 1161|    381|    }
 1162|       |
 1163|  3.52k|    MCSymbolRefExpr::VariantKind Variant =
 1164|  3.52k|        MCSymbolRefExpr::getVariantKindForName(getTok().getIdentifier());
 1165|  3.52k|    if (Variant == MCSymbolRefExpr::VK_Invalid) {
  ------------------
  |  Branch (1165:9): [True: 1.09k, False: 2.42k]
  ------------------
 1166|       |      // return TokError("invalid variant '" + getTok().getIdentifier() + "'");
 1167|  1.09k|      KsError = KS_ERR_ASM_VARIANT_INVALID;
 1168|  1.09k|      return true;
 1169|  1.09k|    }
 1170|       |
 1171|  2.42k|    const MCExpr *ModifiedRes = applyModifierToExpr(Res, Variant);
 1172|  2.42k|    if (!ModifiedRes) {
  ------------------
  |  Branch (1172:9): [True: 747, False: 1.68k]
  ------------------
 1173|       |      // return TokError("invalid modifier '" + getTok().getIdentifier() +
 1174|       |      //                 "' (no symbols present)");
 1175|    747|      KsError = KS_ERR_ASM_VARIANT_INVALID;
 1176|    747|      return true;
 1177|    747|    }
 1178|       |
 1179|  1.68k|    Res = ModifiedRes;
 1180|  1.68k|    Lex();
 1181|  1.68k|  }
 1182|       |
 1183|       |  // Try to constant fold it up front, if possible.
 1184|   351k|  int64_t Value;
 1185|   351k|  if (Res->evaluateAsAbsolute(Value))
  ------------------
  |  Branch (1185:7): [True: 154k, False: 196k]
  ------------------
 1186|   154k|    Res = MCConstantExpr::create(Value, getContext());
 1187|       |
 1188|   351k|  return false;
 1189|   353k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser13parseBinOpRHSEjRPKN7llvm_ks6MCExprERNS1_5SMLocE:
 1400|   378k|                              SMLoc &EndLoc) {
 1401|   609k|  while (1) {
  ------------------
  |  Branch (1401:10): [True: 609k, Folded]
  ------------------
 1402|   609k|    MCBinaryExpr::Opcode Kind = MCBinaryExpr::Add;
 1403|   609k|    unsigned TokPrec = getBinOpPrecedence(Lexer.getKind(), Kind);
 1404|       |
 1405|       |    // If the next token is lower precedence than we are allowed to eat, return
 1406|       |    // successfully with what we ate already.
 1407|   609k|    if (TokPrec < Precedence)
  ------------------
  |  Branch (1407:9): [True: 365k, False: 244k]
  ------------------
 1408|   365k|      return false;
 1409|       |
 1410|   244k|    Lex();
 1411|       |
 1412|       |    // Eat the next primary expression.
 1413|   244k|    const MCExpr *RHS;
 1414|   244k|    if (parsePrimaryExpr(RHS, EndLoc))
  ------------------
  |  Branch (1414:9): [True: 10.2k, False: 234k]
  ------------------
 1415|  10.2k|      return true;
 1416|       |
 1417|       |    // If BinOp binds less tightly with RHS than the operator after RHS, let
 1418|       |    // the pending operator take RHS as its LHS.
 1419|   234k|    MCBinaryExpr::Opcode Dummy;
 1420|   234k|    unsigned NextTokPrec = getBinOpPrecedence(Lexer.getKind(), Dummy);
 1421|   234k|    if (TokPrec < NextTokPrec && parseBinOpRHS(TokPrec + 1, RHS, EndLoc))
  ------------------
  |  Branch (1421:9): [True: 13.9k, False: 220k]
  |  Branch (1421:34): [True: 2.65k, False: 11.3k]
  ------------------
 1422|  2.65k|      return true;
 1423|       |
 1424|       |    // Merge LHS and RHS according to operator.
 1425|   231k|    Res = MCBinaryExpr::create(Kind, Res, RHS, getContext());
 1426|   231k|  }
 1427|   378k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18getBinOpPrecedenceEN7llvm_ks8AsmToken9TokenKindERNS1_12MCBinaryExpr6OpcodeE:
 1391|   843k|                                       MCBinaryExpr::Opcode &Kind) {
 1392|   843k|  bool ShouldUseLogicalShr = MAI.shouldUseLogicalShr();
 1393|   843k|  return IsDarwin ? getDarwinBinOpPrecedence(K, Kind, ShouldUseLogicalShr)
  ------------------
  |  Branch (1393:10): [True: 843k, False: 0]
  ------------------
 1394|   843k|                  : getGNUBinOpPrecedence(K, Kind, ShouldUseLogicalShr);
 1395|   843k|}
AsmParser.cpp:_ZL24getDarwinBinOpPrecedenceN7llvm_ks8AsmToken9TokenKindERNS_12MCBinaryExpr6OpcodeEb:
 1238|   843k|                                         bool ShouldUseLogicalShr) {
 1239|   843k|  switch (K) {
 1240|   450k|  default:
  ------------------
  |  Branch (1240:3): [True: 450k, False: 393k]
  ------------------
 1241|   450k|    return 0; // not a binop.
 1242|       |
 1243|       |  // Lowest Precedence: &&, ||
 1244|  1.04k|  case AsmToken::AmpAmp:
  ------------------
  |  Branch (1244:3): [True: 1.04k, False: 842k]
  ------------------
 1245|  1.04k|    Kind = MCBinaryExpr::LAnd;
 1246|  1.04k|    return 1;
 1247|    717|  case AsmToken::PipePipe:
  ------------------
  |  Branch (1247:3): [True: 717, False: 842k]
  ------------------
 1248|    717|    Kind = MCBinaryExpr::LOr;
 1249|    717|    return 1;
 1250|       |
 1251|       |  // Low Precedence: |, &, ^
 1252|       |  //
 1253|       |  // FIXME: gas seems to support '!' as an infix operator?
 1254|  5.13k|  case AsmToken::Pipe:
  ------------------
  |  Branch (1254:3): [True: 5.13k, False: 838k]
  ------------------
 1255|  5.13k|    Kind = MCBinaryExpr::Or;
 1256|  5.13k|    return 2;
 1257|  2.90k|  case AsmToken::Caret:
  ------------------
  |  Branch (1257:3): [True: 2.90k, False: 840k]
  ------------------
 1258|  2.90k|    Kind = MCBinaryExpr::Xor;
 1259|  2.90k|    return 2;
 1260|  9.25k|  case AsmToken::Amp:
  ------------------
  |  Branch (1260:3): [True: 9.25k, False: 834k]
  ------------------
 1261|  9.25k|    Kind = MCBinaryExpr::And;
 1262|  9.25k|    return 2;
 1263|       |
 1264|       |  // Low Intermediate Precedence: ==, !=, <>, <, <=, >, >=
 1265|    679|  case AsmToken::EqualEqual:
  ------------------
  |  Branch (1265:3): [True: 679, False: 842k]
  ------------------
 1266|    679|    Kind = MCBinaryExpr::EQ;
 1267|    679|    return 3;
 1268|    578|  case AsmToken::ExclaimEqual:
  ------------------
  |  Branch (1268:3): [True: 578, False: 842k]
  ------------------
 1269|  1.32k|  case AsmToken::LessGreater:
  ------------------
  |  Branch (1269:3): [True: 748, False: 842k]
  ------------------
 1270|  1.32k|    Kind = MCBinaryExpr::NE;
 1271|  1.32k|    return 3;
 1272|  22.7k|  case AsmToken::Less:
  ------------------
  |  Branch (1272:3): [True: 22.7k, False: 820k]
  ------------------
 1273|  22.7k|    Kind = MCBinaryExpr::LT;
 1274|  22.7k|    return 3;
 1275|  1.02k|  case AsmToken::LessEqual:
  ------------------
  |  Branch (1275:3): [True: 1.02k, False: 842k]
  ------------------
 1276|  1.02k|    Kind = MCBinaryExpr::LTE;
 1277|  1.02k|    return 3;
 1278|  7.22k|  case AsmToken::Greater:
  ------------------
  |  Branch (1278:3): [True: 7.22k, False: 836k]
  ------------------
 1279|  7.22k|    Kind = MCBinaryExpr::GT;
 1280|  7.22k|    return 3;
 1281|  2.47k|  case AsmToken::GreaterEqual:
  ------------------
  |  Branch (1281:3): [True: 2.47k, False: 841k]
  ------------------
 1282|  2.47k|    Kind = MCBinaryExpr::GTE;
 1283|  2.47k|    return 3;
 1284|       |
 1285|       |  // Intermediate Precedence: <<, >>
 1286|  1.36k|  case AsmToken::LessLess:
  ------------------
  |  Branch (1286:3): [True: 1.36k, False: 842k]
  ------------------
 1287|  1.36k|    Kind = MCBinaryExpr::Shl;
 1288|  1.36k|    return 4;
 1289|    578|  case AsmToken::GreaterGreater:
  ------------------
  |  Branch (1289:3): [True: 578, False: 842k]
  ------------------
 1290|    578|    Kind = ShouldUseLogicalShr ? MCBinaryExpr::LShr : MCBinaryExpr::AShr;
  ------------------
  |  Branch (1290:12): [True: 578, False: 0]
  ------------------
 1291|    578|    return 4;
 1292|       |
 1293|       |  // High Intermediate Precedence: +, -
 1294|  47.0k|  case AsmToken::Plus:
  ------------------
  |  Branch (1294:3): [True: 47.0k, False: 796k]
  ------------------
 1295|  47.0k|    Kind = MCBinaryExpr::Add;
 1296|  47.0k|    return 5;
 1297|   228k|  case AsmToken::Minus:
  ------------------
  |  Branch (1297:3): [True: 228k, False: 615k]
  ------------------
 1298|   228k|    Kind = MCBinaryExpr::Sub;
 1299|   228k|    return 5;
 1300|       |
 1301|       |  // Highest Precedence: *, /, %
 1302|  48.8k|  case AsmToken::Star:
  ------------------
  |  Branch (1302:3): [True: 48.8k, False: 794k]
  ------------------
 1303|  48.8k|    Kind = MCBinaryExpr::Mul;
 1304|  48.8k|    return 6;
 1305|  7.62k|  case AsmToken::Slash:
  ------------------
  |  Branch (1305:3): [True: 7.62k, False: 835k]
  ------------------
 1306|  7.62k|    Kind = MCBinaryExpr::Div;
 1307|  7.62k|    return 6;
 1308|  4.88k|  case AsmToken::Percent:
  ------------------
  |  Branch (1308:3): [True: 4.88k, False: 838k]
  ------------------
 1309|  4.88k|    Kind = MCBinaryExpr::Mod;
 1310|  4.88k|    return 6;
 1311|   843k|  }
 1312|   843k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19applyModifierToExprEPKN7llvm_ks6MCExprENS1_15MCSymbolRefExpr11VariantKindE:
 1083|  17.2k|                               MCSymbolRefExpr::VariantKind Variant) {
 1084|       |  // Ask the target implementation about this expression first.
 1085|  17.2k|  const MCExpr *NewE = getTargetParser().applyModifierToExpr(E, Variant, Ctx);
 1086|  17.2k|  if (NewE)
  ------------------
  |  Branch (1086:7): [True: 0, False: 17.2k]
  ------------------
 1087|      0|    return NewE;
 1088|       |  // Recurse over the given expression, rebuilding it to apply the given variant
 1089|       |  // if there is exactly one symbol.
 1090|  17.2k|  switch (E->getKind()) {
  ------------------
  |  Branch (1090:11): [True: 17.2k, False: 0]
  ------------------
 1091|      0|  case MCExpr::Target:
  ------------------
  |  Branch (1091:3): [True: 0, False: 17.2k]
  ------------------
 1092|  2.62k|  case MCExpr::Constant:
  ------------------
  |  Branch (1092:3): [True: 2.62k, False: 14.6k]
  ------------------
 1093|  2.62k|    return nullptr;
 1094|       |
 1095|  6.58k|  case MCExpr::SymbolRef: {
  ------------------
  |  Branch (1095:3): [True: 6.58k, False: 10.6k]
  ------------------
 1096|  6.58k|    const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(E);
 1097|       |
 1098|  6.58k|    if (SRE->getKind() != MCSymbolRefExpr::VK_None) {
  ------------------
  |  Branch (1098:9): [True: 256, False: 6.32k]
  ------------------
 1099|       |      //TokError("invalid variant on expression '" + getTok().getIdentifier() +
 1100|       |      //         "' (already modified)");
 1101|    256|      return E;
 1102|    256|    }
 1103|       |
 1104|  6.32k|    return MCSymbolRefExpr::create(&SRE->getSymbol(), Variant, getContext());
 1105|  6.58k|  }
 1106|       |
 1107|  1.27k|  case MCExpr::Unary: {
  ------------------
  |  Branch (1107:3): [True: 1.27k, False: 15.9k]
  ------------------
 1108|  1.27k|    const MCUnaryExpr *UE = cast<MCUnaryExpr>(E);
 1109|  1.27k|    const MCExpr *Sub = applyModifierToExpr(UE->getSubExpr(), Variant);
 1110|  1.27k|    if (!Sub)
  ------------------
  |  Branch (1110:9): [True: 315, False: 958]
  ------------------
 1111|    315|      return nullptr;
 1112|    958|    return MCUnaryExpr::create(UE->getOpcode(), Sub, getContext());
 1113|  1.27k|  }
 1114|       |
 1115|  6.78k|  case MCExpr::Binary: {
  ------------------
  |  Branch (1115:3): [True: 6.78k, False: 10.4k]
  ------------------
 1116|  6.78k|    const MCBinaryExpr *BE = cast<MCBinaryExpr>(E);
 1117|  6.78k|    const MCExpr *LHS = applyModifierToExpr(BE->getLHS(), Variant);
 1118|  6.78k|    const MCExpr *RHS = applyModifierToExpr(BE->getRHS(), Variant);
 1119|       |
 1120|  6.78k|    if (!LHS && !RHS)
  ------------------
  |  Branch (1120:9): [True: 158, False: 6.62k]
  |  Branch (1120:17): [True: 64, False: 94]
  ------------------
 1121|     64|      return nullptr;
 1122|       |
 1123|  6.71k|    if (!LHS)
  ------------------
  |  Branch (1123:9): [True: 94, False: 6.62k]
  ------------------
 1124|     94|      LHS = BE->getLHS();
 1125|  6.71k|    if (!RHS)
  ------------------
  |  Branch (1125:9): [True: 1.72k, False: 4.99k]
  ------------------
 1126|  1.72k|      RHS = BE->getRHS();
 1127|       |
 1128|  6.71k|    return MCBinaryExpr::create(BE->getOpcode(), LHS, RHS, getContext());
 1129|  6.78k|  }
 1130|  17.2k|  }
 1131|       |
 1132|      0|  llvm_unreachable("Invalid expression kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 1133|  17.2k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser16parsePrimaryExprERPKN7llvm_ks6MCExprERNS1_5SMLocE:
 1072|   958k|{
 1073|   958k|  return parsePrimaryExprAux(Res, EndLoc, 0);
 1074|   958k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parsePrimaryExprAuxERPKN7llvm_ks6MCExprERNS1_5SMLocEj:
  848|  1.16M|{
  849|  1.16M|  if (depth > 0x100) {
  ------------------
  |  Branch (849:7): [True: 1, False: 1.16M]
  ------------------
  850|      1|    KsError = KS_ERR_ASM_EXPR_TOKEN;
  851|      1|    return true;
  852|      1|  }
  853|  1.16M|  SMLoc FirstTokenLoc = getLexer().getLoc();
  854|  1.16M|  AsmToken::TokenKind FirstTokenKind = Lexer.getKind();
  855|  1.16M|  switch (FirstTokenKind) {
  856|   253k|  default:
  ------------------
  |  Branch (856:3): [True: 253k, False: 909k]
  ------------------
  857|       |    //return TokError("unknown token in expression");
  858|   253k|    KsError = KS_ERR_ASM_EXPR_TOKEN;
  859|   253k|    return true;
  860|       |  // If we have an error assume that we've already handled it.
  861|  4.31k|  case AsmToken::Error:
  ------------------
  |  Branch (861:3): [True: 4.31k, False: 1.15M]
  ------------------
  862|  4.31k|    return true;
  863|  4.01k|  case AsmToken::Exclaim:
  ------------------
  |  Branch (863:3): [True: 4.01k, False: 1.15M]
  ------------------
  864|  4.01k|    Lex(); // Eat the operator.
  865|  4.01k|    if (parsePrimaryExprAux(Res, EndLoc, depth+1))
  ------------------
  |  Branch (865:9): [True: 584, False: 3.42k]
  ------------------
  866|    584|      return true;
  867|  3.42k|    Res = MCUnaryExpr::createLNot(Res, getContext());
  868|  3.42k|    return false;
  869|  7.49k|  case AsmToken::Dollar:
  ------------------
  |  Branch (869:3): [True: 7.49k, False: 1.15M]
  ------------------
  870|  12.6k|  case AsmToken::At:
  ------------------
  |  Branch (870:3): [True: 5.12k, False: 1.15M]
  ------------------
  871|  13.7k|  case AsmToken::String:
  ------------------
  |  Branch (871:3): [True: 1.15k, False: 1.16M]
  ------------------
  872|   291k|  case AsmToken::Identifier: {
  ------------------
  |  Branch (872:3): [True: 278k, False: 884k]
  ------------------
  873|   291k|    StringRef Identifier;
  874|   291k|    if (parseIdentifier(Identifier)) {
  ------------------
  |  Branch (874:9): [True: 5.17k, False: 286k]
  ------------------
  875|  5.17k|      if (FirstTokenKind == AsmToken::Dollar) {
  ------------------
  |  Branch (875:11): [True: 4.51k, False: 658]
  ------------------
  876|  4.51k|        if (Lexer.getMAI().getDollarIsPC()) {
  ------------------
  |  Branch (876:13): [True: 0, False: 4.51k]
  ------------------
  877|       |          // This is a '$' reference, which references the current PC.  Emit a
  878|       |          // temporary label to the streamer and refer to it.
  879|      0|          MCSymbol *Sym = Ctx.createTempSymbol();
  880|      0|          Out.EmitLabel(Sym);
  881|      0|          Res = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None,
  882|      0|                                        getContext());
  883|      0|          EndLoc = FirstTokenLoc;
  884|      0|          return false;
  885|      0|        }
  886|       |        //return Error(FirstTokenLoc, "invalid token in expression");
  887|  4.51k|        KsError = KS_ERR_ASM_INVALIDOPERAND;
  888|  4.51k|        return true;
  889|  4.51k|      }
  890|  5.17k|    }
  891|       |    // Parse symbol variant
  892|   287k|    std::pair<StringRef, StringRef> Split;
  893|   287k|    if (!MAI.useParensForSymbolVariant()) {
  ------------------
  |  Branch (893:9): [True: 287k, False: 0]
  ------------------
  894|   287k|      if (FirstTokenKind == AsmToken::String) {
  ------------------
  |  Branch (894:11): [True: 1.15k, False: 286k]
  ------------------
  895|  1.15k|        if (Lexer.is(AsmToken::At)) {
  ------------------
  |  Branch (895:13): [True: 398, False: 754]
  ------------------
  896|    398|          Lexer.Lex(); // eat @
  897|       |          //SMLoc AtLoc = getLexer().getLoc();
  898|    398|          StringRef VName;
  899|    398|          if (parseIdentifier(VName)) {
  ------------------
  |  Branch (899:15): [True: 81, False: 317]
  ------------------
  900|       |            //return Error(AtLoc, "expected symbol variant after '@'");
  901|     81|            KsError = KS_ERR_ASM_INVALIDOPERAND;
  902|     81|            return true;
  903|     81|          }
  904|       |
  905|    317|          Split = std::make_pair(Identifier, VName);
  906|    317|        }
  907|   286k|      } else {
  908|   286k|        Split = Identifier.split('@');
  909|   286k|      }
  910|   287k|    } else if (Lexer.is(AsmToken::LParen)) {
  ------------------
  |  Branch (910:16): [True: 0, False: 0]
  ------------------
  911|      0|      Lexer.Lex(); // eat (
  912|      0|      StringRef VName;
  913|      0|      parseIdentifier(VName);
  914|      0|      if (Lexer.isNot(AsmToken::RParen)) {
  ------------------
  |  Branch (914:11): [True: 0, False: 0]
  ------------------
  915|       |          //return Error(Lexer.getTok().getLoc(),
  916|       |          //             "unexpected token in variant, expected ')'");
  917|      0|          KsError = KS_ERR_ASM_INVALIDOPERAND;
  918|      0|          return true;
  919|      0|      }
  920|      0|      Lexer.Lex(); // eat )
  921|      0|      Split = std::make_pair(Identifier, VName);
  922|      0|    }
  923|       |
  924|   287k|    EndLoc = SMLoc::getFromPointer(Identifier.end());
  925|       |
  926|       |    // This is a symbol reference.
  927|   287k|    StringRef SymbolName = Identifier;
  928|   287k|    MCSymbolRefExpr::VariantKind Variant = MCSymbolRefExpr::VK_None;
  929|       |
  930|       |    // Lookup the symbol variant if used.
  931|   287k|    if (Split.second.size()) {
  ------------------
  |  Branch (931:9): [True: 22.6k, False: 264k]
  ------------------
  932|  22.6k|      Variant = MCSymbolRefExpr::getVariantKindForName(Split.second);
  933|  22.6k|      if (Variant != MCSymbolRefExpr::VK_Invalid) {
  ------------------
  |  Branch (933:11): [True: 11.8k, False: 10.8k]
  ------------------
  934|  11.8k|        SymbolName = Split.first;
  935|  11.8k|      } else if (MAI.doesAllowAtInName() && !MAI.useParensForSymbolVariant()) {
  ------------------
  |  Branch (935:18): [True: 0, False: 10.8k]
  |  Branch (935:45): [True: 0, False: 0]
  ------------------
  936|      0|        Variant = MCSymbolRefExpr::VK_None;
  937|  10.8k|      } else {
  938|       |        //return Error(SMLoc::getFromPointer(Split.second.begin()),
  939|       |        //             "invalid variant '" + Split.second + "'");
  940|  10.8k|        KsError = KS_ERR_ASM_INVALIDOPERAND;
  941|  10.8k|        return true;
  942|  10.8k|      }
  943|  22.6k|    }
  944|       |
  945|   276k|    if (SymbolName.empty()) {
  ------------------
  |  Branch (945:9): [True: 872, False: 275k]
  ------------------
  946|    872|        return true;
  947|    872|    }
  948|   275k|    MCSymbol *Sym = getContext().getOrCreateSymbol(SymbolName);
  949|       |
  950|       |    // If this is an absolute variable reference, substitute it now to preserve
  951|       |    // semantics in the face of reassignment.
  952|   275k|    if (Sym->isVariable() &&
  ------------------
  |  Branch (952:9): [True: 5.46k, False: 270k]
  |  Branch (952:9): [True: 458, False: 275k]
  ------------------
  953|  5.46k|        isa<MCConstantExpr>(Sym->getVariableValue(/*SetUsed*/ false))) {
  ------------------
  |  Branch (953:9): [True: 458, False: 5.00k]
  ------------------
  954|    458|      if (Variant) {
  ------------------
  |  Branch (954:11): [True: 73, False: 385]
  ------------------
  955|       |        //return Error(EndLoc, "unexpected modifier on variable reference");
  956|     73|        KsError = KS_ERR_ASM_INVALIDOPERAND;
  957|     73|        return true;
  958|     73|      }
  959|       |
  960|    385|      Res = Sym->getVariableValue(/*SetUsed*/ false);
  961|    385|      return false;
  962|    458|    }
  963|       |
  964|       |    // Otherwise create a symbol ref.
  965|   275k|    Res = MCSymbolRefExpr::create(Sym, Variant, getContext());
  966|   275k|    return false;
  967|   275k|  }
  968|    592|  case AsmToken::BigNum:
  ------------------
  |  Branch (968:3): [True: 592, False: 1.16M]
  ------------------
  969|       |    // return TokError("literal value out of range for directive");
  970|    592|    KsError = KS_ERR_ASM_DIRECTIVE_VALUE_RANGE;
  971|    592|    return true;
  972|   263k|  case AsmToken::Integer: {
  ------------------
  |  Branch (972:3): [True: 263k, False: 899k]
  ------------------
  973|       |    //SMLoc Loc = getTok().getLoc();
  974|   263k|    bool valid;
  975|   263k|    int64_t IntVal = getTok().getIntVal(valid);
  976|   263k|    if (!valid) {
  ------------------
  |  Branch (976:9): [True: 0, False: 263k]
  ------------------
  977|      0|        return true;
  978|      0|    }
  979|   263k|    Res = MCConstantExpr::create(IntVal, getContext());
  980|   263k|    EndLoc = Lexer.getTok().getEndLoc();
  981|   263k|    Lex(); // Eat token.
  982|       |    // Look for 'b' or 'f' following an Integer as a directional label
  983|   263k|    if (Lexer.getKind() == AsmToken::Identifier) {
  ------------------
  |  Branch (983:9): [True: 10.7k, False: 252k]
  ------------------
  984|  10.7k|      StringRef IDVal = getTok().getString();
  985|       |      // Lookup the symbol variant if used.
  986|  10.7k|      std::pair<StringRef, StringRef> Split = IDVal.split('@');
  987|  10.7k|      MCSymbolRefExpr::VariantKind Variant = MCSymbolRefExpr::VK_None;
  988|  10.7k|      if (Split.first.size() != IDVal.size()) {
  ------------------
  |  Branch (988:11): [True: 2.78k, False: 7.93k]
  ------------------
  989|  2.78k|        Variant = MCSymbolRefExpr::getVariantKindForName(Split.second);
  990|  2.78k|        if (Variant == MCSymbolRefExpr::VK_Invalid) {
  ------------------
  |  Branch (990:13): [True: 2.77k, False: 16]
  ------------------
  991|       |          // return TokError("invalid variant '" + Split.second + "'");
  992|  2.77k|          KsError = KS_ERR_ASM_VARIANT_INVALID;
  993|  2.77k|          return true;
  994|  2.77k|        }
  995|     16|        IDVal = Split.first;
  996|     16|      }
  997|  7.95k|      if (IDVal == "f" || IDVal == "b") {
  ------------------
  |  Branch (997:11): [True: 784, False: 7.16k]
  |  Branch (997:11): [True: 823, False: 7.13k]
  |  Branch (997:27): [True: 39, False: 7.13k]
  ------------------
  998|    823|        bool valid;
  999|    823|        MCSymbol *Sym =
 1000|    823|            Ctx.getDirectionalLocalSymbol(IntVal, IDVal == "b", valid);
 1001|    823|        if (!valid)
  ------------------
  |  Branch (1001:13): [True: 823, False: 0]
  ------------------
 1002|    823|            return true;
 1003|      0|        Res = MCSymbolRefExpr::create(Sym, Variant, getContext());
 1004|      0|        if (IDVal == "b" && Sym->isUndefined()) {
  ------------------
  |  Branch (1004:13): [True: 0, False: 0]
  |  Branch (1004:13): [True: 0, False: 0]
  |  Branch (1004:29): [True: 0, False: 0]
  ------------------
 1005|       |          //return Error(Loc, "invalid reference to undefined symbol");
 1006|      0|          KsError = KS_ERR_ASM_INVALIDOPERAND;
 1007|      0|          return true;
 1008|      0|        }
 1009|      0|        EndLoc = Lexer.getTok().getEndLoc();
 1010|      0|        Lex(); // Eat identifier.
 1011|      0|      }
 1012|  7.95k|    }
 1013|   259k|    return false;
 1014|   263k|  }
 1015|  36.5k|  case AsmToken::Real: {
  ------------------
  |  Branch (1015:3): [True: 36.5k, False: 1.12M]
  ------------------
 1016|  36.5k|    APFloat RealVal(APFloat::IEEEdouble, getTok().getString());
 1017|  36.5k|    uint64_t IntVal = RealVal.bitcastToAPInt().getZExtValue();
 1018|  36.5k|    Res = MCConstantExpr::create(IntVal, getContext());
 1019|  36.5k|    EndLoc = Lexer.getTok().getEndLoc();
 1020|  36.5k|    Lex(); // Eat token.
 1021|  36.5k|    return false;
 1022|   263k|  }
 1023|  50.0k|  case AsmToken::Dot: {
  ------------------
  |  Branch (1023:3): [True: 50.0k, False: 1.11M]
  ------------------
 1024|       |    // This is a '.' reference, which references the current PC.  Emit a
 1025|       |    // temporary label to the streamer and refer to it.
 1026|  50.0k|    MCSymbol *Sym = Ctx.createTempSymbol();
 1027|  50.0k|    Out.EmitLabel(Sym);
 1028|  50.0k|    Res = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
 1029|  50.0k|    EndLoc = Lexer.getTok().getEndLoc();
 1030|  50.0k|    Lex(); // Eat identifier.
 1031|  50.0k|    return false;
 1032|   263k|  }
 1033|  57.9k|  case AsmToken::LParen:
  ------------------
  |  Branch (1033:3): [True: 57.9k, False: 1.10M]
  ------------------
 1034|  57.9k|    Lex(); // Eat the '('.
 1035|  57.9k|    return parseParenExpr(Res, EndLoc);
 1036|    323|  case AsmToken::LBrac:
  ------------------
  |  Branch (1036:3): [True: 323, False: 1.16M]
  ------------------
 1037|    323|    if (!PlatformParser->HasBracketExpressions()) {
  ------------------
  |  Branch (1037:9): [True: 323, False: 0]
  ------------------
 1038|       |      // return TokError("brackets expression not supported on this target");
 1039|    323|      KsError = KS_ERR_ASM_EXPR_BRACKET;
 1040|    323|      return true;
 1041|    323|    }
 1042|      0|    Lex(); // Eat the '['.
 1043|      0|    return parseBracketExpr(Res, EndLoc);
 1044|   108k|  case AsmToken::Minus:
  ------------------
  |  Branch (1044:3): [True: 108k, False: 1.05M]
  ------------------
 1045|   108k|    Lex(); // Eat the operator.
 1046|   108k|    if (parsePrimaryExprAux(Res, EndLoc, depth+1))
  ------------------
  |  Branch (1046:9): [True: 5.64k, False: 102k]
  ------------------
 1047|  5.64k|      return true;
 1048|   102k|    Res = MCUnaryExpr::createMinus(Res, getContext());
 1049|   102k|    return false;
 1050|  27.2k|  case AsmToken::Plus:
  ------------------
  |  Branch (1050:3): [True: 27.2k, False: 1.13M]
  ------------------
 1051|  27.2k|    Lex(); // Eat the operator.
 1052|  27.2k|    if (parsePrimaryExprAux(Res, EndLoc, depth+1))
  ------------------
  |  Branch (1052:9): [True: 3.09k, False: 24.1k]
  ------------------
 1053|  3.09k|      return true;
 1054|  24.1k|    Res = MCUnaryExpr::createPlus(Res, getContext());
 1055|  24.1k|    return false;
 1056|  65.1k|  case AsmToken::Tilde:
  ------------------
  |  Branch (1056:3): [True: 65.1k, False: 1.09M]
  ------------------
 1057|  65.1k|    Lex(); // Eat the operator.
 1058|  65.1k|    if (parsePrimaryExprAux(Res, EndLoc, depth+1))
  ------------------
  |  Branch (1058:9): [True: 2.15k, False: 62.9k]
  ------------------
 1059|  2.15k|      return true;
 1060|  62.9k|    Res = MCUnaryExpr::createNot(Res, getContext());
 1061|  62.9k|    return false;
 1062|  1.16M|  }
 1063|  1.16M|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser14parseParenExprERPKN7llvm_ks6MCExprERNS1_5SMLocE:
  818|  58.0k|bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) {
  819|  58.0k|  if (parseExpression(Res))
  ------------------
  |  Branch (819:7): [True: 57.3k, False: 654]
  ------------------
  820|  57.3k|    return true;
  821|    654|  if (Lexer.isNot(AsmToken::RParen))
  ------------------
  |  Branch (821:7): [True: 447, False: 207]
  ------------------
  822|       |    //return TokError("expected ')' in parentheses expression");
  823|    447|    return true;
  824|    207|  EndLoc = Lexer.getTok().getEndLoc();
  825|    207|  Lex();
  826|    207|  return false;
  827|    654|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser20parseParenExpressionERPKN7llvm_ks6MCExprERNS1_5SMLocE:
 1191|     76|bool AsmParser::parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) {
 1192|     76|  Res = nullptr;
 1193|     76|  return parseParenExpr(Res, EndLoc) || parseBinOpRHS(1, Res, EndLoc);
  ------------------
  |  Branch (1193:10): [True: 71, False: 5]
  |  Branch (1193:41): [True: 0, False: 5]
  ------------------
 1194|     76|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser23parseAbsoluteExpressionERl:
 1220|  83.0k|bool AsmParser::parseAbsoluteExpression(int64_t &Res) {
 1221|  83.0k|  const MCExpr *Expr;
 1222|       |
 1223|       |  //SMLoc StartLoc = Lexer.getLoc();
 1224|  83.0k|  if (parseExpression(Expr))
  ------------------
  |  Branch (1224:7): [True: 2.16k, False: 80.8k]
  ------------------
 1225|  2.16k|    return true;
 1226|       |
 1227|  80.8k|  if (!Expr->evaluateAsAbsolute(Res)) {
  ------------------
  |  Branch (1227:7): [True: 8.86k, False: 72.0k]
  ------------------
 1228|       |    //return Error(StartLoc, "expected absolute expression");
 1229|  8.86k|    KsError = KS_ERR_ASM_INVALIDOPERAND;
 1230|  8.86k|    return true;
 1231|  8.86k|  }
 1232|       |
 1233|  72.0k|  return false;
 1234|  80.8k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser20checkForValidSectionEv:
  772|   119k|{
  773|       |#if 0
  774|       |  if (!ParsingInlineAsm && !getStreamer().getCurrentSection().first) {
  775|       |    TokError("expected section directive before assembly directive");
  776|       |    Out.InitSections(false);
  777|       |  }
  778|       |#endif
  779|   119k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser26initializeDirectiveKindMapEi:
 5356|  17.3k|{
 5357|  17.3k|    KsSyntax = syntax;
 5358|  17.3k|    if (syntax == KS_OPT_SYNTAX_NASM) {
  ------------------
  |  Branch (5358:9): [True: 281, False: 17.0k]
  ------------------
 5359|       |        // NASM syntax
 5360|    281|        DirectiveKindMap.clear();
 5361|    281|        DirectiveKindMap["db"] = DK_BYTE;
 5362|    281|        DirectiveKindMap["dw"] = DK_SHORT;
 5363|    281|        DirectiveKindMap["dd"] = DK_INT;
 5364|    281|        DirectiveKindMap["dq"] = DK_QUAD;
 5365|    281|        DirectiveKindMap["use16"] = DK_CODE16;
 5366|    281|        DirectiveKindMap["use32"] = DK_NASM_USE32;
 5367|    281|        DirectiveKindMap["global"] = DK_GLOBAL;
 5368|    281|        DirectiveKindMap["bits"] = DK_NASM_BITS;
 5369|    281|        DirectiveKindMap["default"] = DK_NASM_DEFAULT;
 5370|  17.0k|    } else {
 5371|       |        // default LLVM syntax
 5372|  17.0k|        DirectiveKindMap.clear();
 5373|  17.0k|        DirectiveKindMap[".set"] = DK_SET;
 5374|  17.0k|        DirectiveKindMap[".equ"] = DK_EQU;
 5375|  17.0k|        DirectiveKindMap[".equiv"] = DK_EQUIV;
 5376|  17.0k|        DirectiveKindMap[".ascii"] = DK_ASCII;
 5377|  17.0k|        DirectiveKindMap[".asciz"] = DK_ASCIZ;
 5378|  17.0k|        DirectiveKindMap[".string"] = DK_STRING;
 5379|  17.0k|        DirectiveKindMap[".byte"] = DK_BYTE;
 5380|  17.0k|        DirectiveKindMap[".short"] = DK_SHORT;
 5381|  17.0k|        DirectiveKindMap[".value"] = DK_VALUE;
 5382|  17.0k|        DirectiveKindMap[".2byte"] = DK_2BYTE;
 5383|  17.0k|        DirectiveKindMap[".long"] = DK_LONG;
 5384|  17.0k|        DirectiveKindMap[".int"] = DK_INT;
 5385|  17.0k|        DirectiveKindMap[".4byte"] = DK_4BYTE;
 5386|  17.0k|        DirectiveKindMap[".quad"] = DK_QUAD;
 5387|  17.0k|        DirectiveKindMap[".8byte"] = DK_8BYTE;
 5388|  17.0k|        DirectiveKindMap[".octa"] = DK_OCTA;
 5389|  17.0k|        DirectiveKindMap[".single"] = DK_SINGLE;
 5390|  17.0k|        DirectiveKindMap[".float"] = DK_FLOAT;
 5391|  17.0k|        DirectiveKindMap[".double"] = DK_DOUBLE;
 5392|  17.0k|        DirectiveKindMap[".align"] = DK_ALIGN;
 5393|  17.0k|        DirectiveKindMap[".align32"] = DK_ALIGN32;
 5394|  17.0k|        DirectiveKindMap[".balign"] = DK_BALIGN;
 5395|  17.0k|        DirectiveKindMap[".balignw"] = DK_BALIGNW;
 5396|  17.0k|        DirectiveKindMap[".balignl"] = DK_BALIGNL;
 5397|  17.0k|        DirectiveKindMap[".p2align"] = DK_P2ALIGN;
 5398|  17.0k|        DirectiveKindMap[".p2alignw"] = DK_P2ALIGNW;
 5399|  17.0k|        DirectiveKindMap[".p2alignl"] = DK_P2ALIGNL;
 5400|  17.0k|        DirectiveKindMap[".org"] = DK_ORG;
 5401|  17.0k|        DirectiveKindMap[".fill"] = DK_FILL;
 5402|  17.0k|        DirectiveKindMap[".zero"] = DK_ZERO;
 5403|  17.0k|        DirectiveKindMap[".extern"] = DK_EXTERN;
 5404|  17.0k|        DirectiveKindMap[".globl"] = DK_GLOBL;
 5405|  17.0k|        DirectiveKindMap[".global"] = DK_GLOBAL;
 5406|  17.0k|        DirectiveKindMap[".lazy_reference"] = DK_LAZY_REFERENCE;
 5407|  17.0k|        DirectiveKindMap[".no_dead_strip"] = DK_NO_DEAD_STRIP;
 5408|  17.0k|        DirectiveKindMap[".symbol_resolver"] = DK_SYMBOL_RESOLVER;
 5409|  17.0k|        DirectiveKindMap[".private_extern"] = DK_PRIVATE_EXTERN;
 5410|  17.0k|        DirectiveKindMap[".reference"] = DK_REFERENCE;
 5411|  17.0k|        DirectiveKindMap[".weak_definition"] = DK_WEAK_DEFINITION;
 5412|  17.0k|        DirectiveKindMap[".weak_reference"] = DK_WEAK_REFERENCE;
 5413|  17.0k|        DirectiveKindMap[".weak_def_can_be_hidden"] = DK_WEAK_DEF_CAN_BE_HIDDEN;
 5414|  17.0k|        DirectiveKindMap[".comm"] = DK_COMM;
 5415|  17.0k|        DirectiveKindMap[".common"] = DK_COMMON;
 5416|  17.0k|        DirectiveKindMap[".lcomm"] = DK_LCOMM;
 5417|  17.0k|        DirectiveKindMap[".abort"] = DK_ABORT;
 5418|  17.0k|        DirectiveKindMap[".include"] = DK_INCLUDE;
 5419|  17.0k|        DirectiveKindMap[".incbin"] = DK_INCBIN;
 5420|  17.0k|        DirectiveKindMap[".code16"] = DK_CODE16;
 5421|  17.0k|        DirectiveKindMap[".code16gcc"] = DK_CODE16GCC;
 5422|  17.0k|        DirectiveKindMap[".rept"] = DK_REPT;
 5423|  17.0k|        DirectiveKindMap[".rep"] = DK_REPT;
 5424|  17.0k|        DirectiveKindMap[".irp"] = DK_IRP;
 5425|  17.0k|        DirectiveKindMap[".irpc"] = DK_IRPC;
 5426|  17.0k|        DirectiveKindMap[".endr"] = DK_ENDR;
 5427|  17.0k|        DirectiveKindMap[".bundle_align_mode"] = DK_BUNDLE_ALIGN_MODE;
 5428|  17.0k|        DirectiveKindMap[".bundle_lock"] = DK_BUNDLE_LOCK;
 5429|  17.0k|        DirectiveKindMap[".bundle_unlock"] = DK_BUNDLE_UNLOCK;
 5430|  17.0k|        DirectiveKindMap[".if"] = DK_IF;
 5431|  17.0k|        DirectiveKindMap[".ifeq"] = DK_IFEQ;
 5432|  17.0k|        DirectiveKindMap[".ifge"] = DK_IFGE;
 5433|  17.0k|        DirectiveKindMap[".ifgt"] = DK_IFGT;
 5434|  17.0k|        DirectiveKindMap[".ifle"] = DK_IFLE;
 5435|  17.0k|        DirectiveKindMap[".iflt"] = DK_IFLT;
 5436|  17.0k|        DirectiveKindMap[".ifne"] = DK_IFNE;
 5437|  17.0k|        DirectiveKindMap[".ifb"] = DK_IFB;
 5438|  17.0k|        DirectiveKindMap[".ifnb"] = DK_IFNB;
 5439|  17.0k|        DirectiveKindMap[".ifc"] = DK_IFC;
 5440|  17.0k|        DirectiveKindMap[".ifeqs"] = DK_IFEQS;
 5441|  17.0k|        DirectiveKindMap[".ifnc"] = DK_IFNC;
 5442|  17.0k|        DirectiveKindMap[".ifnes"] = DK_IFNES;
 5443|  17.0k|        DirectiveKindMap[".ifdef"] = DK_IFDEF;
 5444|  17.0k|        DirectiveKindMap[".ifndef"] = DK_IFNDEF;
 5445|  17.0k|        DirectiveKindMap[".ifnotdef"] = DK_IFNOTDEF;
 5446|  17.0k|        DirectiveKindMap[".elseif"] = DK_ELSEIF;
 5447|  17.0k|        DirectiveKindMap[".else"] = DK_ELSE;
 5448|  17.0k|        DirectiveKindMap[".end"] = DK_END;
 5449|  17.0k|        DirectiveKindMap[".endif"] = DK_ENDIF;
 5450|  17.0k|        DirectiveKindMap[".skip"] = DK_SKIP;
 5451|  17.0k|        DirectiveKindMap[".space"] = DK_SPACE;
 5452|  17.0k|        DirectiveKindMap[".file"] = DK_FILE;
 5453|  17.0k|        DirectiveKindMap[".line"] = DK_LINE;
 5454|  17.0k|        DirectiveKindMap[".loc"] = DK_LOC;
 5455|  17.0k|        DirectiveKindMap[".stabs"] = DK_STABS;
 5456|  17.0k|        DirectiveKindMap[".cv_file"] = DK_CV_FILE;
 5457|  17.0k|        DirectiveKindMap[".cv_loc"] = DK_CV_LOC;
 5458|  17.0k|        DirectiveKindMap[".cv_linetable"] = DK_CV_LINETABLE;
 5459|  17.0k|        DirectiveKindMap[".cv_inline_linetable"] = DK_CV_INLINE_LINETABLE;
 5460|  17.0k|        DirectiveKindMap[".cv_stringtable"] = DK_CV_STRINGTABLE;
 5461|  17.0k|        DirectiveKindMap[".cv_filechecksums"] = DK_CV_FILECHECKSUMS;
 5462|  17.0k|        DirectiveKindMap[".sleb128"] = DK_SLEB128;
 5463|  17.0k|        DirectiveKindMap[".uleb128"] = DK_ULEB128;
 5464|  17.0k|        DirectiveKindMap[".cfi_sections"] = DK_CFI_SECTIONS;
 5465|  17.0k|        DirectiveKindMap[".cfi_startproc"] = DK_CFI_STARTPROC;
 5466|  17.0k|        DirectiveKindMap[".cfi_endproc"] = DK_CFI_ENDPROC;
 5467|  17.0k|        DirectiveKindMap[".cfi_def_cfa"] = DK_CFI_DEF_CFA;
 5468|  17.0k|        DirectiveKindMap[".cfi_def_cfa_offset"] = DK_CFI_DEF_CFA_OFFSET;
 5469|  17.0k|        DirectiveKindMap[".cfi_adjust_cfa_offset"] = DK_CFI_ADJUST_CFA_OFFSET;
 5470|  17.0k|        DirectiveKindMap[".cfi_def_cfa_register"] = DK_CFI_DEF_CFA_REGISTER;
 5471|  17.0k|        DirectiveKindMap[".cfi_offset"] = DK_CFI_OFFSET;
 5472|  17.0k|        DirectiveKindMap[".cfi_rel_offset"] = DK_CFI_REL_OFFSET;
 5473|  17.0k|        DirectiveKindMap[".cfi_personality"] = DK_CFI_PERSONALITY;
 5474|  17.0k|        DirectiveKindMap[".cfi_lsda"] = DK_CFI_LSDA;
 5475|  17.0k|        DirectiveKindMap[".cfi_remember_state"] = DK_CFI_REMEMBER_STATE;
 5476|  17.0k|        DirectiveKindMap[".cfi_restore_state"] = DK_CFI_RESTORE_STATE;
 5477|  17.0k|        DirectiveKindMap[".cfi_same_value"] = DK_CFI_SAME_VALUE;
 5478|  17.0k|        DirectiveKindMap[".cfi_restore"] = DK_CFI_RESTORE;
 5479|  17.0k|        DirectiveKindMap[".cfi_escape"] = DK_CFI_ESCAPE;
 5480|  17.0k|        DirectiveKindMap[".cfi_signal_frame"] = DK_CFI_SIGNAL_FRAME;
 5481|  17.0k|        DirectiveKindMap[".cfi_undefined"] = DK_CFI_UNDEFINED;
 5482|  17.0k|        DirectiveKindMap[".cfi_register"] = DK_CFI_REGISTER;
 5483|  17.0k|        DirectiveKindMap[".cfi_window_save"] = DK_CFI_WINDOW_SAVE;
 5484|  17.0k|        DirectiveKindMap[".macros_on"] = DK_MACROS_ON;
 5485|  17.0k|        DirectiveKindMap[".macros_off"] = DK_MACROS_OFF;
 5486|  17.0k|        DirectiveKindMap[".macro"] = DK_MACRO;
 5487|  17.0k|        DirectiveKindMap[".exitm"] = DK_EXITM;
 5488|  17.0k|        DirectiveKindMap[".endm"] = DK_ENDM;
 5489|  17.0k|        DirectiveKindMap[".endmacro"] = DK_ENDMACRO;
 5490|  17.0k|        DirectiveKindMap[".purgem"] = DK_PURGEM;
 5491|  17.0k|        DirectiveKindMap[".err"] = DK_ERR;
 5492|  17.0k|        DirectiveKindMap[".error"] = DK_ERROR;
 5493|  17.0k|        DirectiveKindMap[".warning"] = DK_WARNING;
 5494|  17.0k|        DirectiveKindMap[".reloc"] = DK_RELOC;
 5495|  17.0k|    }
 5496|  17.3k|}

_ZN7llvm_ks21createDarwinAsmParserEv:
  964|  17.0k|MCAsmParserExtension *createDarwinAsmParser() {
  965|  17.0k|  return new DarwinAsmParser;
  966|  17.0k|}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParserC2Ev:
   47|  17.0k|  DarwinAsmParser() {}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser10InitializeERN7llvm_ks11MCAsmParserE:
   49|  17.0k|  void Initialize(MCAsmParser &Parser) override {
   50|       |    // Call the base implementation.
   51|  17.0k|    this->MCAsmParserExtension::Initialize(Parser);
   52|       |
   53|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveDesc>(".desc");
   54|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveIndirectSymbol>(
   55|  17.0k|      ".indirect_symbol");
   56|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveLsym>(".lsym");
   57|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveSubsectionsViaSymbols>(
   58|  17.0k|      ".subsections_via_symbols");
   59|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveDumpOrLoad>(".dump");
   60|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveDumpOrLoad>(".load");
   61|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveSection>(".section");
   62|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectivePushSection>(
   63|  17.0k|      ".pushsection");
   64|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectivePopSection>(
   65|  17.0k|      ".popsection");
   66|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectivePrevious>(".previous");
   67|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveSecureLogUnique>(
   68|  17.0k|      ".secure_log_unique");
   69|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveSecureLogReset>(
   70|  17.0k|      ".secure_log_reset");
   71|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveTBSS>(".tbss");
   72|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveZerofill>(".zerofill");
   73|       |
   74|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveDataRegion>(
   75|  17.0k|      ".data_region");
   76|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveDataRegionEnd>(
   77|  17.0k|      ".end_data_region");
   78|       |
   79|       |    // Special section directives.
   80|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveBss>(".bss");
   81|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveConst>(".const");
   82|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveConstData>(
   83|  17.0k|      ".const_data");
   84|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveConstructor>(
   85|  17.0k|      ".constructor");
   86|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveCString>(
   87|  17.0k|      ".cstring");
   88|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveData>(".data");
   89|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveDestructor>(
   90|  17.0k|      ".destructor");
   91|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveDyld>(".dyld");
   92|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveFVMLibInit0>(
   93|  17.0k|      ".fvmlib_init0");
   94|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveFVMLibInit1>(
   95|  17.0k|      ".fvmlib_init1");
   96|  17.0k|    addDirectiveHandler<
   97|  17.0k|      &DarwinAsmParser::parseSectionDirectiveLazySymbolPointers>(
   98|  17.0k|        ".lazy_symbol_pointer");
   99|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveLinkerOption>(
  100|  17.0k|      ".linker_option");
  101|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveLiteral16>(
  102|  17.0k|      ".literal16");
  103|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveLiteral4>(
  104|  17.0k|      ".literal4");
  105|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveLiteral8>(
  106|  17.0k|      ".literal8");
  107|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveModInitFunc>(
  108|  17.0k|      ".mod_init_func");
  109|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveModTermFunc>(
  110|  17.0k|      ".mod_term_func");
  111|  17.0k|    addDirectiveHandler<
  112|  17.0k|      &DarwinAsmParser::parseSectionDirectiveNonLazySymbolPointers>(
  113|  17.0k|        ".non_lazy_symbol_pointer");
  114|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCCatClsMeth>(
  115|  17.0k|      ".objc_cat_cls_meth");
  116|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCCatInstMeth>(
  117|  17.0k|      ".objc_cat_inst_meth");
  118|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCCategory>(
  119|  17.0k|      ".objc_category");
  120|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCClass>(
  121|  17.0k|      ".objc_class");
  122|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCClassNames>(
  123|  17.0k|      ".objc_class_names");
  124|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCClassVars>(
  125|  17.0k|      ".objc_class_vars");
  126|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCClsMeth>(
  127|  17.0k|      ".objc_cls_meth");
  128|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCClsRefs>(
  129|  17.0k|      ".objc_cls_refs");
  130|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCInstMeth>(
  131|  17.0k|      ".objc_inst_meth");
  132|  17.0k|    addDirectiveHandler<
  133|  17.0k|      &DarwinAsmParser::parseSectionDirectiveObjCInstanceVars>(
  134|  17.0k|        ".objc_instance_vars");
  135|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCMessageRefs>(
  136|  17.0k|      ".objc_message_refs");
  137|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCMetaClass>(
  138|  17.0k|      ".objc_meta_class");
  139|  17.0k|    addDirectiveHandler<
  140|  17.0k|      &DarwinAsmParser::parseSectionDirectiveObjCMethVarNames>(
  141|  17.0k|        ".objc_meth_var_names");
  142|  17.0k|    addDirectiveHandler<
  143|  17.0k|      &DarwinAsmParser::parseSectionDirectiveObjCMethVarTypes>(
  144|  17.0k|        ".objc_meth_var_types");
  145|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCModuleInfo>(
  146|  17.0k|      ".objc_module_info");
  147|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCProtocol>(
  148|  17.0k|      ".objc_protocol");
  149|  17.0k|    addDirectiveHandler<
  150|  17.0k|      &DarwinAsmParser::parseSectionDirectiveObjCSelectorStrs>(
  151|  17.0k|        ".objc_selector_strs");
  152|  17.0k|    addDirectiveHandler<
  153|  17.0k|      &DarwinAsmParser::parseSectionDirectiveObjCStringObject>(
  154|  17.0k|        ".objc_string_object");
  155|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCSymbols>(
  156|  17.0k|      ".objc_symbols");
  157|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectivePICSymbolStub>(
  158|  17.0k|      ".picsymbol_stub");
  159|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveStaticConst>(
  160|  17.0k|      ".static_const");
  161|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveStaticData>(
  162|  17.0k|      ".static_data");
  163|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveSymbolStub>(
  164|  17.0k|      ".symbol_stub");
  165|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveTData>(".tdata");
  166|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveText>(".text");
  167|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveThreadInitFunc>(
  168|  17.0k|      ".thread_init_func");
  169|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveTLV>(".tlv");
  170|       |
  171|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveIdent>(".ident");
  172|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseVersionMin>(
  173|  17.0k|      ".watchos_version_min");
  174|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseVersionMin>(".tvos_version_min");
  175|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseVersionMin>(".ios_version_min");
  176|  17.0k|    addDirectiveHandler<&DarwinAsmParser::parseVersionMin>(
  177|  17.0k|      ".macosx_version_min");
  178|       |
  179|  17.0k|    LastVersionMinDirective = SMLoc();
  180|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_18parseDirectiveDescEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser18parseDirectiveDescEN7llvm_ks9StringRefENS1_5SMLocE:
  413|     28|bool DarwinAsmParser::parseDirectiveDesc(StringRef, SMLoc) {
  414|     28|  StringRef Name;
  415|     28|  if (getParser().parseIdentifier(Name))
  ------------------
  |  Branch (415:7): [True: 11, False: 17]
  ------------------
  416|     11|    return TokError("expected identifier in directive");
  417|       |
  418|       |  // Handle the identifier as the key symbol.
  419|     17|  MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  420|       |
  421|     17|  if (getLexer().isNot(AsmToken::Comma))
  ------------------
  |  Branch (421:7): [True: 5, False: 12]
  ------------------
  422|      5|    return TokError("unexpected token in '.desc' directive");
  423|     12|  Lex();
  424|       |
  425|     12|  int64_t DescValue;
  426|     12|  if (getParser().parseAbsoluteExpression(DescValue))
  ------------------
  |  Branch (426:7): [True: 10, False: 2]
  ------------------
  427|     10|    return true;
  428|       |
  429|      2|  if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (429:7): [True: 2, False: 0]
  ------------------
  430|      2|    return TokError("unexpected token in '.desc' directive");
  431|       |
  432|      0|  Lex();
  433|       |
  434|       |  // Set the n_desc field of this Symbol to this DescValue
  435|      0|  getStreamer().EmitSymbolDesc(Sym, DescValue);
  436|       |
  437|      0|  return false;
  438|      2|}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_28parseDirectiveIndirectSymbolEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_18parseDirectiveLsymEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser18parseDirectiveLsymEN7llvm_ks9StringRefENS1_5SMLocE:
  525|     27|bool DarwinAsmParser::parseDirectiveLsym(StringRef, SMLoc) {
  526|     27|  StringRef Name;
  527|     27|  if (getParser().parseIdentifier(Name))
  ------------------
  |  Branch (527:7): [True: 6, False: 21]
  ------------------
  528|      6|    return TokError("expected identifier in directive");
  529|       |
  530|       |  // Handle the identifier as the key symbol.
  531|     21|  MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  532|       |
  533|     21|  if (getLexer().isNot(AsmToken::Comma))
  ------------------
  |  Branch (533:7): [True: 6, False: 15]
  ------------------
  534|      6|    return TokError("unexpected token in '.lsym' directive");
  535|     15|  Lex();
  536|       |
  537|     15|  const MCExpr *Value;
  538|     15|  if (getParser().parseExpression(Value))
  ------------------
  |  Branch (538:7): [True: 11, False: 4]
  ------------------
  539|     11|    return true;
  540|       |
  541|      4|  if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (541:7): [True: 1, False: 3]
  ------------------
  542|      1|    return TokError("unexpected token in '.lsym' directive");
  543|       |
  544|      3|  Lex();
  545|       |
  546|       |  // We don't currently support this directive.
  547|       |  //
  548|       |  // FIXME: Diagnostic location!
  549|      3|  (void) Sym;
  550|      3|  return TokError("directive '.lsym' is unsupported");
  551|      4|}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_35parseDirectiveSubsectionsViaSymbolsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_24parseDirectiveDumpOrLoadEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  34.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  34.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  34.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  34.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  34.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser24parseDirectiveDumpOrLoadEN7llvm_ks9StringRefENS1_5SMLocE:
  476|  1.25k|                                               SMLoc IDLoc) {
  477|  1.25k|  bool IsDump = Directive == ".dump";
  478|  1.25k|  if (getLexer().isNot(AsmToken::String))
  ------------------
  |  Branch (478:7): [True: 14, False: 1.24k]
  ------------------
  479|     14|    return TokError("expected string in '.dump' or '.load' directive");
  480|       |
  481|  1.24k|  Lex();
  482|       |
  483|  1.24k|  if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (483:7): [True: 11, False: 1.23k]
  ------------------
  484|     11|    return TokError("unexpected token in '.dump' or '.load' directive");
  485|       |
  486|  1.23k|  Lex();
  487|       |
  488|       |  // FIXME: If/when .dump and .load are implemented they will be done in the
  489|       |  // the assembly parser and not have any need for an MCStreamer API.
  490|  1.23k|  if (IsDump)
  ------------------
  |  Branch (490:7): [True: 822, False: 411]
  ------------------
  491|    822|    return Warning(IDLoc, "ignoring directive .dump for now");
  492|    411|  else
  493|    411|    return Warning(IDLoc, "ignoring directive .load for now");
  494|  1.23k|}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_21parseDirectiveSectionEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser21parseDirectiveSectionEN7llvm_ks9StringRefENS1_5SMLocE:
  555|  2.96k|bool DarwinAsmParser::parseDirectiveSection(StringRef, SMLoc) {
  556|  2.96k|  SMLoc Loc = getLexer().getLoc();
  557|       |
  558|  2.96k|  StringRef SectionName;
  559|  2.96k|  if (getParser().parseIdentifier(SectionName))
  ------------------
  |  Branch (559:7): [True: 97, False: 2.87k]
  ------------------
  560|     97|    return Error(Loc, "expected identifier after '.section' directive");
  561|       |
  562|       |  // Verify there is a following comma.
  563|  2.87k|  if (!getLexer().is(AsmToken::Comma))
  ------------------
  |  Branch (563:7): [True: 2, False: 2.86k]
  ------------------
  564|      2|    return TokError("unexpected token in '.section' directive");
  565|       |
  566|  2.86k|  std::string SectionSpec = SectionName;
  567|  2.86k|  SectionSpec += ",";
  568|       |
  569|       |  // Add all the tokens until the end of the line, ParseSectionSpecifier will
  570|       |  // handle this.
  571|  2.86k|  StringRef EOL = getLexer().LexUntilEndOfStatement();
  572|  2.86k|  SectionSpec.append(EOL.begin(), EOL.end());
  573|       |
  574|  2.86k|  Lex();
  575|  2.86k|  if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (575:7): [True: 1, False: 2.86k]
  ------------------
  576|      1|    return TokError("unexpected token in '.section' directive");
  577|  2.86k|  Lex();
  578|       |
  579|       |
  580|  2.86k|  StringRef Segment, Section;
  581|  2.86k|  unsigned StubSize;
  582|  2.86k|  unsigned TAA;
  583|  2.86k|  bool TAAParsed;
  584|  2.86k|  std::string ErrorStr =
  585|  2.86k|    MCSectionMachO::ParseSectionSpecifier(SectionSpec, Segment, Section,
  586|  2.86k|                                          TAA, TAAParsed, StubSize);
  587|       |
  588|  2.86k|  if (!ErrorStr.empty())
  ------------------
  |  Branch (588:7): [True: 85, False: 2.78k]
  ------------------
  589|     85|    return Error(Loc, ErrorStr.c_str());
  590|       |
  591|       |  // Issue a warning if the target is not powerpc and Section is a *coal* section.
  592|  2.78k|  Triple TT = getParser().getContext().getObjectFileInfo()->getTargetTriple();
  593|  2.78k|  Triple::ArchType ArchTy = TT.getArch();
  594|       |
  595|  2.78k|  if (ArchTy != Triple::ppc && ArchTy != Triple::ppc64) {
  ------------------
  |  Branch (595:7): [True: 2.78k, False: 0]
  |  Branch (595:32): [True: 2.78k, False: 0]
  ------------------
  596|  2.78k|    StringRef NonCoalSection = StringSwitch<StringRef>(Section)
  597|  2.78k|                                   .Case("__textcoal_nt", "__text")
  598|  2.78k|                                   .Case("__const_coal", "__const")
  599|  2.78k|                                   .Case("__datacoal_nt", "__data")
  600|  2.78k|                                   .Default(Section);
  601|       |
  602|  2.78k|    if (!Section.equals(NonCoalSection)) {
  ------------------
  |  Branch (602:9): [True: 21, False: 2.76k]
  ------------------
  603|     21|      StringRef SectionVal(Loc.getPointer());
  604|     21|      size_t B = SectionVal.find(',') + 1, E = SectionVal.find(',', B);
  605|     21|      SMLoc BLoc = SMLoc::getFromPointer(SectionVal.data() + B);
  606|     21|      SMLoc ELoc = SMLoc::getFromPointer(SectionVal.data() + E);
  607|     21|      getParser().Warning(Loc, "section \"" + Section + "\" is deprecated",
  608|     21|                          SMRange(BLoc, ELoc));
  609|     21|      getParser().Note(Loc, "change section name to \"" + NonCoalSection +
  610|     21|                       "\"", SMRange(BLoc, ELoc));
  611|     21|    }
  612|  2.78k|  }
  613|       |
  614|       |  // FIXME: Arch specific.
  615|  2.78k|  bool isText = Segment == "__TEXT";  // FIXME: Hack.
  616|  2.78k|  getStreamer().SwitchSection(getContext().getMachOSection(
  617|  2.78k|      Segment, Section, TAA, StubSize,
  618|  2.78k|      isText ? SectionKind::getText() : SectionKind::getData()));
  ------------------
  |  Branch (618:7): [True: 0, False: 2.78k]
  ------------------
  619|  2.78k|  return false;
  620|  2.86k|}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_25parseDirectivePushSectionEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_24parseDirectivePopSectionEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_22parseDirectivePreviousEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_29parseDirectiveSecureLogUniqueEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_28parseDirectiveSecureLogResetEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_18parseDirectiveTBSSEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser18parseDirectiveTBSSEN7llvm_ks9StringRefENS1_5SMLocE:
  721|    652|bool DarwinAsmParser::parseDirectiveTBSS(StringRef, SMLoc) {
  722|    652|  SMLoc IDLoc = getLexer().getLoc();
  723|    652|  StringRef Name;
  724|    652|  if (getParser().parseIdentifier(Name))
  ------------------
  |  Branch (724:7): [True: 482, False: 170]
  ------------------
  725|    482|    return TokError("expected identifier in directive");
  726|       |
  727|       |  // Handle the identifier as the key symbol.
  728|    170|  MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  729|       |
  730|    170|  if (getLexer().isNot(AsmToken::Comma))
  ------------------
  |  Branch (730:7): [True: 9, False: 161]
  ------------------
  731|      9|    return TokError("unexpected token in directive");
  732|    161|  Lex();
  733|       |
  734|    161|  int64_t Size;
  735|    161|  SMLoc SizeLoc = getLexer().getLoc();
  736|    161|  if (getParser().parseAbsoluteExpression(Size))
  ------------------
  |  Branch (736:7): [True: 38, False: 123]
  ------------------
  737|     38|    return true;
  738|       |
  739|    123|  int64_t Pow2Alignment = 0;
  740|    123|  SMLoc Pow2AlignmentLoc;
  741|    123|  if (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (741:7): [True: 63, False: 60]
  ------------------
  742|     63|    Lex();
  743|     63|    Pow2AlignmentLoc = getLexer().getLoc();
  744|     63|    if (getParser().parseAbsoluteExpression(Pow2Alignment))
  ------------------
  |  Branch (744:9): [True: 6, False: 57]
  ------------------
  745|      6|      return true;
  746|     63|  }
  747|       |
  748|    117|  if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (748:7): [True: 4, False: 113]
  ------------------
  749|      4|    return TokError("unexpected token in '.tbss' directive");
  750|       |
  751|    113|  Lex();
  752|       |
  753|    113|  if (Size < 0)
  ------------------
  |  Branch (753:7): [True: 57, False: 56]
  ------------------
  754|     57|    return Error(SizeLoc, "invalid '.tbss' directive size, can't be less than"
  755|     57|                 "zero");
  756|       |
  757|       |  // FIXME: Diagnose overflow.
  758|     56|  if (Pow2Alignment < 0)
  ------------------
  |  Branch (758:7): [True: 56, False: 0]
  ------------------
  759|     56|    return Error(Pow2AlignmentLoc, "invalid '.tbss' alignment, can't be less"
  760|     56|                 "than zero");
  761|       |
  762|      0|  if (!Sym->isUndefined())
  ------------------
  |  Branch (762:7): [True: 0, False: 0]
  ------------------
  763|      0|    return Error(IDLoc, "invalid symbol redefinition");
  764|       |
  765|      0|  getStreamer().EmitTBSSSymbol(getContext().getMachOSection(
  766|      0|                                 "__DATA", "__thread_bss",
  767|      0|                                 MachO::S_THREAD_LOCAL_ZEROFILL,
  768|      0|                                 0, SectionKind::getThreadBSS()),
  769|      0|                               Sym, Size, 1 << Pow2Alignment);
  770|       |
  771|      0|  return false;
  772|      0|}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_22parseDirectiveZerofillEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_24parseDirectiveDataRegionEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_27parseDirectiveDataRegionEndEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_24parseSectionDirectiveBssEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser24parseSectionDirectiveBssEN7llvm_ks9StringRefENS1_5SMLocE:
  200|    316|  bool parseSectionDirectiveBss(StringRef, SMLoc) {
  201|    316|    return parseSectionSwitch("__DATA", "__bss");
  202|    316|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser18parseSectionSwitchEPKcS2_jjj:
  386|    960|                                         unsigned StubSize) {
  387|    960|  if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (387:7): [True: 12, False: 948]
  ------------------
  388|     12|    return TokError("unexpected token in section switching directive");
  389|    948|  Lex();
  390|       |
  391|       |  // FIXME: Arch specific.
  392|    948|  bool isText = TAA & MachO::S_ATTR_PURE_INSTRUCTIONS;
  393|    948|  getStreamer().SwitchSection(getContext().getMachOSection(
  394|    948|      Segment, Section, TAA, StubSize,
  395|    948|      isText ? SectionKind::getText() : SectionKind::getData()));
  ------------------
  |  Branch (395:7): [True: 0, False: 948]
  ------------------
  396|       |
  397|       |  // Set the implicit alignment, if any.
  398|       |  //
  399|       |  // FIXME: This isn't really what 'as' does; I think it just uses the implicit
  400|       |  // alignment on the section (e.g., if one manually inserts bytes into the
  401|       |  // section, then just issuing the section switch directive will not realign
  402|       |  // the section. However, this is arguably more reasonable behavior, and there
  403|       |  // is no good reason for someone to intentionally emit incorrectly sized
  404|       |  // values into the implicitly aligned sections.
  405|    948|  if (Align)
  ------------------
  |  Branch (405:7): [True: 0, False: 948]
  ------------------
  406|      0|    getStreamer().EmitValueToAlignment(Align);
  407|       |
  408|    948|  return false;
  409|    960|}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_26parseSectionDirectiveConstEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser26parseSectionDirectiveConstEN7llvm_ks9StringRefENS1_5SMLocE:
  204|     68|  bool parseSectionDirectiveConst(StringRef, SMLoc) {
  205|     68|    return parseSectionSwitch("__TEXT", "__const");
  206|     68|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_30parseSectionDirectiveConstDataEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveConstructorEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_28parseSectionDirectiveCStringEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_25parseSectionDirectiveDataEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser25parseSectionDirectiveDataEN7llvm_ks9StringRefENS1_5SMLocE:
  250|    569|  bool parseSectionDirectiveData(StringRef, SMLoc) {
  251|    569|    return parseSectionSwitch("__DATA", "__data");
  252|    569|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_31parseSectionDirectiveDestructorEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_25parseSectionDirectiveDyldEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser25parseSectionDirectiveDyldEN7llvm_ks9StringRefENS1_5SMLocE:
  264|      3|  bool parseSectionDirectiveDyld(StringRef, SMLoc) {
  265|      3|    return parseSectionSwitch("__DATA", "__dyld");
  266|      3|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveFVMLibInit0EN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveFVMLibInit1EN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_39parseSectionDirectiveLazySymbolPointersEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_26parseDirectiveLinkerOptionEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_30parseSectionDirectiveLiteral16EN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_29parseSectionDirectiveLiteral4EN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_29parseSectionDirectiveLiteral8EN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveModInitFuncEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveModTermFuncEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_42parseSectionDirectiveNonLazySymbolPointersEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_35parseSectionDirectiveObjCCatClsMethEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_36parseSectionDirectiveObjCCatInstMethEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_33parseSectionDirectiveObjCCategoryEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_30parseSectionDirectiveObjCClassEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_35parseSectionDirectiveObjCClassNamesEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_34parseSectionDirectiveObjCClassVarsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveObjCClsMethEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveObjCClsRefsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_33parseSectionDirectiveObjCInstMethEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_37parseSectionDirectiveObjCInstanceVarsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_36parseSectionDirectiveObjCMessageRefsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_34parseSectionDirectiveObjCMetaClassEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_37parseSectionDirectiveObjCMethVarNamesEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_37parseSectionDirectiveObjCMethVarTypesEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_35parseSectionDirectiveObjCModuleInfoEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_33parseSectionDirectiveObjCProtocolEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_37parseSectionDirectiveObjCSelectorStrsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_37parseSectionDirectiveObjCStringObjectEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveObjCSymbolsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_34parseSectionDirectivePICSymbolStubEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveStaticConstEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_31parseSectionDirectiveStaticDataEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_31parseSectionDirectiveSymbolStubEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_26parseSectionDirectiveTDataEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser26parseSectionDirectiveTDataEN7llvm_ks9StringRefENS1_5SMLocE:
  356|      1|  bool parseSectionDirectiveTData(StringRef, SMLoc) {
  357|      1|    return parseSectionSwitch("__DATA", "__thread_data",
  358|      1|                              MachO::S_THREAD_LOCAL_REGULAR);
  359|      1|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_25parseSectionDirectiveTextEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser25parseSectionDirectiveTextEN7llvm_ks9StringRefENS1_5SMLocE:
  360|      1|  bool parseSectionDirectiveText(StringRef, SMLoc) {
  361|      1|    return parseSectionSwitch("__TEXT", "__text",
  362|      1|                              MachO::S_ATTR_PURE_INSTRUCTIONS);
  363|      1|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_35parseSectionDirectiveThreadInitFuncEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_24parseSectionDirectiveTLVEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser24parseSectionDirectiveTLVEN7llvm_ks9StringRefENS1_5SMLocE:
  364|      2|  bool parseSectionDirectiveTLV(StringRef, SMLoc) {
  365|      2|    return parseSectionSwitch("__DATA", "__thread_vars",
  366|      2|                              MachO::S_THREAD_LOCAL_VARIABLES);
  367|      2|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_26parseSectionDirectiveIdentEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  17.0k|  void addDirectiveHandler(StringRef Directive) {
   35|  17.0k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  17.0k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  17.0k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  17.0k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser26parseSectionDirectiveIdentEN7llvm_ks9StringRefENS1_5SMLocE:
  368|    205|  bool parseSectionDirectiveIdent(StringRef, SMLoc) {
  369|       |    // Darwin silently ignores the .ident directive.
  370|    205|    getParser().eatToEndOfStatement();
  371|    205|    return false;
  372|    205|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_15parseVersionMinEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  68.1k|  void addDirectiveHandler(StringRef Directive) {
   35|  68.1k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  68.1k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  68.1k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  68.1k|  }

_ZN7llvm_ks10MCAsmLexerC2Ev:
   15|  17.0k|MCAsmLexer::MCAsmLexer() : TokStart(nullptr), SkipSpace(true) {
   16|  17.0k|  CurTok.emplace_back(AsmToken::Error, StringRef());
   17|  17.0k|}
_ZN7llvm_ks10MCAsmLexerD2Ev:
   19|  17.0k|MCAsmLexer::~MCAsmLexer() {
   20|  17.0k|}
_ZNK7llvm_ks10MCAsmLexer6getLocEv:
   22|  1.28M|SMLoc MCAsmLexer::getLoc() const {
   23|  1.28M|  return SMLoc::getFromPointer(TokStart);
   24|  1.28M|}
_ZNK7llvm_ks8AsmToken6getLocEv:
   26|  8.53M|SMLoc AsmToken::getLoc() const {
   27|  8.53M|  return SMLoc::getFromPointer(Str.data());
   28|  8.53M|}
_ZNK7llvm_ks8AsmToken9getEndLocEv:
   30|   463k|SMLoc AsmToken::getEndLoc() const {
   31|   463k|  return SMLoc::getFromPointer(Str.data() + Str.size());
   32|   463k|}

_ZN7llvm_ks11MCAsmParserC2Ev:
   20|  17.0k|MCAsmParser::MCAsmParser() : TargetParser(nullptr), KsError(0) {
   21|  17.0k|}
_ZN7llvm_ks11MCAsmParserD2Ev:
   23|  17.0k|MCAsmParser::~MCAsmParser() {
   24|  17.0k|}
_ZN7llvm_ks11MCAsmParser15setTargetParserERNS_17MCTargetAsmParserE:
   26|  17.0k|void MCAsmParser::setTargetParser(MCTargetAsmParser &P) {
   27|  17.0k|  assert(!TargetParser && "Target parser is already initialized!");
  ------------------
  |  Branch (27:3): [True: 17.0k, False: 0]
  |  Branch (27:3): [True: 17.0k, Folded]
  |  Branch (27:3): [True: 17.0k, False: 0]
  ------------------
   28|  17.0k|  TargetParser = &P;
   29|  17.0k|  TargetParser->Initialize(*this);
   30|  17.0k|}
_ZNK7llvm_ks11MCAsmParser6getTokEv:
   32|  10.2M|const AsmToken &MCAsmParser::getTok() const {
   33|  10.2M|  return getLexer().getTok();
   34|  10.2M|}
_ZN7llvm_ks11MCAsmParser8TokErrorERKNS_5TwineENS_8ArrayRefINS_7SMRangeEEE:
   36|    674|bool MCAsmParser::TokError(const Twine &Msg, ArrayRef<SMRange> Ranges) {
   37|    674|  Error(getLexer().getLoc(), Msg, Ranges);
   38|    674|  return true;
   39|    674|}
_ZN7llvm_ks11MCAsmParser15parseExpressionERPKNS_6MCExprE:
   41|   404k|bool MCAsmParser::parseExpression(const MCExpr *&Res) {
   42|   404k|  SMLoc L;
   43|   404k|  return parseExpression(Res, L);
   44|   404k|}

_ZN7llvm_ks20MCAsmParserExtensionC2Ev:
   14|  34.0k|  BracketExpressionsSupported(false) {
   15|  34.0k|}
_ZN7llvm_ks20MCAsmParserExtensionD2Ev:
   17|  34.0k|MCAsmParserExtension::~MCAsmParserExtension() {
   18|  34.0k|}
_ZN7llvm_ks20MCAsmParserExtension10InitializeERNS_11MCAsmParserE:
   20|  34.0k|void MCAsmParserExtension::Initialize(MCAsmParser &Parser) {
   21|  34.0k|  this->Parser = &Parser;
   22|  34.0k|}

_ZN7llvm_ks17MCTargetAsmParserC2ERKNS_15MCTargetOptionsERKNS_15MCSubtargetInfoE:
   16|  17.0k|  : AvailableFeatures(0),AvailableFeaturesFB(), ParsingInlineAsm(false), MCOptions(MCOptions),
   17|  17.0k|    STI(&STI)
   18|  17.0k|{
   19|  17.0k|}
_ZN7llvm_ks17MCTargetAsmParserD2Ev:
   21|  17.0k|MCTargetAsmParser::~MCTargetAsmParser() {
   22|  17.0k|}
_ZN7llvm_ks17MCTargetAsmParser7copySTIEv:
   24|    499|MCSubtargetInfo &MCTargetAsmParser::copySTI() {
   25|    499|  MCSubtargetInfo &STICopy = getContext().getSubtargetCopy(getSTI());
   26|    499|  STI = &STICopy;
   27|    499|  return STICopy;
   28|    499|}
_ZNK7llvm_ks17MCTargetAsmParser6getSTIEv:
   30|   189k|const MCSubtargetInfo &MCTargetAsmParser::getSTI() const {
   31|   189k|  return *STI;
   32|   189k|}

_ZNK7llvm_ks14MCRegisterInfo14getDwarfRegNumEjb:
   61|  34.0k|int MCRegisterInfo::getDwarfRegNum(unsigned RegNum, bool isEH) const {
   62|  34.0k|  const DwarfLLVMRegPair *M = isEH ? EHL2DwarfRegs : L2DwarfRegs;
  ------------------
  |  Branch (62:31): [True: 34.0k, False: 0]
  ------------------
   63|  34.0k|  unsigned Size = isEH ? EHL2DwarfRegsSize : L2DwarfRegsSize;
  ------------------
  |  Branch (63:19): [True: 34.0k, False: 0]
  ------------------
   64|       |
   65|  34.0k|  DwarfLLVMRegPair Key = { RegNum, 0 };
   66|  34.0k|  const DwarfLLVMRegPair *I = std::lower_bound(M, M+Size, Key);
   67|  34.0k|  if (I == M+Size || I->FromReg != RegNum)
  ------------------
  |  Branch (67:7): [True: 0, False: 34.0k]
  |  Branch (67:22): [True: 0, False: 34.0k]
  ------------------
   68|      0|    return -1;
   69|  34.0k|  return I->ToReg;
   70|  34.0k|}

_ZN7llvm_ks9MCSectionC2ENS0_14SectionVariantENS_11SectionKindEPNS_8MCSymbolE:
   23|   740k|    : Begin(Begin), BundleGroupBeforeFirstInst(false), HasInstructions(false),
   24|   740k|      IsRegistered(false), DummyFragment(this), Variant(V), Kind(K) {}
_ZNK7llvm_ks9MCSection8hasEndedEv:
   32|  18.4k|bool MCSection::hasEnded() const { return End && End->isInSection(); }
  ------------------
  |  Branch (32:43): [True: 0, False: 18.4k]
  |  Branch (32:50): [True: 0, False: 0]
  ------------------
_ZN7llvm_ks9MCSectionD2Ev:
   34|   740k|MCSection::~MCSection() {
   35|   740k|}
_ZN7llvm_ks9MCSection27getSubsectionInsertionPointEj:
   57|  18.4k|MCSection::getSubsectionInsertionPoint(unsigned Subsection) {
   58|  18.4k|  if (Subsection == 0 && SubsectionFragmentMap.empty())
  ------------------
  |  Branch (58:7): [True: 18.4k, False: 0]
  |  Branch (58:26): [True: 18.4k, False: 0]
  ------------------
   59|  18.4k|    return end();
   60|       |
   61|      0|  SmallVectorImpl<std::pair<unsigned, MCFragment *>>::iterator MI =
   62|      0|      std::lower_bound(SubsectionFragmentMap.begin(),
   63|      0|                       SubsectionFragmentMap.end(),
   64|      0|                       std::make_pair(Subsection, (MCFragment *)nullptr));
   65|      0|  bool ExactMatch = false;
   66|      0|  if (MI != SubsectionFragmentMap.end()) {
  ------------------
  |  Branch (66:7): [True: 0, False: 0]
  ------------------
   67|      0|    ExactMatch = MI->first == Subsection;
   68|      0|    if (ExactMatch)
  ------------------
  |  Branch (68:9): [True: 0, False: 0]
  ------------------
   69|      0|      ++MI;
   70|      0|  }
   71|      0|  iterator IP;
   72|      0|  if (MI == SubsectionFragmentMap.end())
  ------------------
  |  Branch (72:7): [True: 0, False: 0]
  ------------------
   73|      0|    IP = end();
   74|      0|  else
   75|      0|    IP = MI->second->getIterator();
   76|      0|  if (!ExactMatch && Subsection != 0) {
  ------------------
  |  Branch (76:7): [True: 0, False: 0]
  |  Branch (76:22): [True: 0, False: 0]
  ------------------
   77|       |    // The GNU as documentation claims that subsections have an alignment of 4,
   78|       |    // although this appears not to be the case.
   79|      0|    MCFragment *F = new MCDataFragment();
   80|      0|    SubsectionFragmentMap.insert(MI, std::make_pair(Subsection, F));
   81|      0|    getFragmentList().insert(IP, F);
   82|      0|    F->setParent(this);
   83|      0|  }
   84|       |
   85|      0|  return IP;
   86|  18.4k|}
_ZN7llvm_ks9MCSection5beginEv:
  103|  40.7k|MCSection::iterator MCSection::begin() { return Fragments.begin(); }
_ZN7llvm_ks9MCSection3endEv:
  105|  99.1k|MCSection::iterator MCSection::end() { return Fragments.end(); }
_ZN7llvm_ks9MCSection6rbeginEv:
  107|  8.18k|MCSection::reverse_iterator MCSection::rbegin() { return Fragments.rbegin(); }

_ZN7llvm_ks12MCSectionELFD2Ev:
   20|   740k|MCSectionELF::~MCSectionELF() {} // anchor.
_ZNK7llvm_ks12MCSectionELF12UseCodeAlignEv:
  162|  10.3k|bool MCSectionELF::UseCodeAlign() const {
  163|  10.3k|  return getFlags() & ELF::SHF_EXECINSTR;
  164|  10.3k|}
_ZNK7llvm_ks12MCSectionELF16isVirtualSectionEv:
  166|  23.0k|bool MCSectionELF::isVirtualSection() const {
  167|  23.0k|  return getType() == ELF::SHT_NOBITS;
  168|  23.0k|}

_ZN7llvm_ks14MCSectionMachOC2ENS_9StringRefES1_jjNS_11SectionKindEPNS_8MCSymbolE:
   75|    343|    : MCSection(SV_MachO, K, Begin), TypeAndAttributes(TAA),
   76|    343|      Reserved2(reserved2) {
   77|    343|  assert(Segment.size() <= 16 && Section.size() <= 16 &&
  ------------------
  |  Branch (77:3): [True: 343, False: 0]
  |  Branch (77:3): [True: 343, False: 0]
  |  Branch (77:3): [True: 343, Folded]
  |  Branch (77:3): [True: 343, False: 0]
  ------------------
   78|    343|         "Segment or section string too long");
   79|  5.83k|  for (unsigned i = 0; i != 16; ++i) {
  ------------------
  |  Branch (79:24): [True: 5.48k, False: 343]
  ------------------
   80|  5.48k|    if (i < Segment.size())
  ------------------
  |  Branch (80:9): [True: 1.03k, False: 4.45k]
  ------------------
   81|  1.03k|      SegmentName[i] = Segment[i];
   82|  4.45k|    else
   83|  4.45k|      SegmentName[i] = 0;
   84|       |
   85|  5.48k|    if (i < Section.size())
  ------------------
  |  Branch (85:9): [True: 2.50k, False: 2.98k]
  ------------------
   86|  2.50k|      SectionName[i] = Section[i];
   87|  2.98k|    else
   88|  2.98k|      SectionName[i] = 0;
   89|  5.48k|  }
   90|    343|}
_ZNK7llvm_ks14MCSectionMachO12UseCodeAlignEv:
  156|     54|bool MCSectionMachO::UseCodeAlign() const {
  157|     54|  return hasAttribute(MachO::S_ATTR_PURE_INSTRUCTIONS);
  158|     54|}
_ZNK7llvm_ks14MCSectionMachO16isVirtualSectionEv:
  160|    793|bool MCSectionMachO::isVirtualSection() const {
  161|    793|  return (getType() == MachO::S_ZEROFILL ||
  ------------------
  |  Branch (161:11): [True: 0, False: 793]
  ------------------
  162|    793|          getType() == MachO::S_GB_ZEROFILL ||
  ------------------
  |  Branch (162:11): [True: 0, False: 793]
  ------------------
  163|    793|          getType() == MachO::S_THREAD_LOCAL_ZEROFILL);
  ------------------
  |  Branch (163:11): [True: 0, False: 793]
  ------------------
  164|    793|}
_ZN7llvm_ks14MCSectionMachO21ParseSectionSpecifierENS_9StringRefERS1_S2_RjRbS3_:
  176|  2.86k|                                                  unsigned  &StubSize) { // Out.
  177|  2.86k|  TAAParsed = false;
  178|       |
  179|  2.86k|  SmallVector<StringRef, 5> SplitSpec;
  180|  2.86k|  Spec.split(SplitSpec, ',');
  181|       |  // Remove leading and trailing whitespace.
  182|  2.86k|  auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef {
  183|  2.86k|    return SplitSpec.size() > Idx ? SplitSpec[Idx].trim() : StringRef();
  184|  2.86k|  };
  185|  2.86k|  Segment = GetEmptyOrTrim(0);
  186|  2.86k|  Section = GetEmptyOrTrim(1);
  187|  2.86k|  StringRef SectionType = GetEmptyOrTrim(2);
  188|  2.86k|  StringRef Attrs = GetEmptyOrTrim(3);
  189|  2.86k|  StringRef StubSizeStr = GetEmptyOrTrim(4);
  190|       |
  191|       |  // Verify that the segment is present and not too long.
  192|  2.86k|  if (Segment.empty() || Segment.size() > 16)
  ------------------
  |  Branch (192:7): [True: 1, False: 2.86k]
  |  Branch (192:26): [True: 4, False: 2.86k]
  ------------------
  193|      5|    return "mach-o section specifier requires a segment whose length is "
  194|      5|           "between 1 and 16 characters";
  195|       |
  196|       |  // Verify that the section is present and not too long.
  197|  2.86k|  if (Section.empty())
  ------------------
  |  Branch (197:7): [True: 17, False: 2.84k]
  ------------------
  198|     17|    return "mach-o section specifier requires a segment and section "
  199|     17|           "separated by a comma";
  200|       |
  201|  2.84k|  if (Section.size() > 16)
  ------------------
  |  Branch (201:7): [True: 24, False: 2.82k]
  ------------------
  202|     24|    return "mach-o section specifier requires a section whose length is "
  203|     24|           "between 1 and 16 characters";
  204|       |
  205|       |  // If there is no comma after the section, we're done.
  206|  2.82k|  TAA = 0;
  207|  2.82k|  StubSize = 0;
  208|  2.82k|  if (SectionType.empty())
  ------------------
  |  Branch (208:7): [True: 2.78k, False: 40]
  ------------------
  209|  2.78k|    return "";
  210|       |
  211|       |  // Figure out which section type it is.
  212|     40|  auto TypeDescriptor = std::find_if(
  213|     40|      std::begin(SectionTypeDescriptors), std::end(SectionTypeDescriptors),
  214|     40|      [&](decltype(*SectionTypeDescriptors) &Descriptor) {
  215|     40|        return Descriptor.AssemblerName &&
  216|     40|               SectionType == Descriptor.AssemblerName;
  217|     40|      });
  218|       |
  219|       |  // If we didn't find the section type, reject it.
  220|     40|  if (TypeDescriptor == std::end(SectionTypeDescriptors))
  ------------------
  |  Branch (220:7): [True: 23, False: 17]
  ------------------
  221|     23|    return "mach-o section specifier uses an unknown section type";
  222|       |
  223|       |  // Remember the TypeID.
  224|     17|  TAA = TypeDescriptor - std::begin(SectionTypeDescriptors);
  225|     17|  TAAParsed = true;
  226|       |
  227|       |  // If we have no comma after the section type, there are no attributes.
  228|     17|  if (Attrs.empty()) {
  ------------------
  |  Branch (228:7): [True: 1, False: 16]
  ------------------
  229|       |    // S_SYMBOL_STUBS always require a symbol stub size specifier.
  230|      1|    if (TAA == MachO::S_SYMBOL_STUBS)
  ------------------
  |  Branch (230:9): [True: 0, False: 1]
  ------------------
  231|      0|      return "mach-o section specifier of type 'symbol_stubs' requires a size "
  232|      0|             "specifier";
  233|      1|    return "";
  234|      1|  }
  235|       |
  236|       |  // The attribute list is a '+' separated list of attributes.
  237|     16|  SmallVector<StringRef, 1> SectionAttrs;
  238|     16|  Attrs.split(SectionAttrs, '+', /*MaxSplit=*/-1, /*KeepEmpty=*/false);
  239|       |
  240|     16|  for (StringRef &SectionAttr : SectionAttrs) {
  ------------------
  |  Branch (240:31): [True: 15, False: 1]
  ------------------
  241|     15|    auto AttrDescriptorI = std::find_if(
  242|     15|        std::begin(SectionAttrDescriptors), std::end(SectionAttrDescriptors),
  243|     15|        [&](decltype(*SectionAttrDescriptors) &Descriptor) {
  244|     15|          return Descriptor.AssemblerName &&
  245|     15|                 SectionAttr.trim() == Descriptor.AssemblerName;
  246|     15|        });
  247|     15|    if (AttrDescriptorI == std::end(SectionAttrDescriptors))
  ------------------
  |  Branch (247:9): [True: 15, False: 0]
  ------------------
  248|     15|      return "mach-o section specifier has invalid attribute";
  249|       |
  250|      0|    TAA |= AttrDescriptorI->AttrFlag;
  251|      0|  }
  252|       |
  253|       |  // Okay, we've parsed the section attributes, see if we have a stub size spec.
  254|      1|  if (StubSizeStr.empty()) {
  ------------------
  |  Branch (254:7): [True: 0, False: 1]
  ------------------
  255|       |    // S_SYMBOL_STUBS always require a symbol stub size specifier.
  256|      0|    if (TAA == MachO::S_SYMBOL_STUBS)
  ------------------
  |  Branch (256:9): [True: 0, False: 0]
  ------------------
  257|      0|      return "mach-o section specifier of type 'symbol_stubs' requires a size "
  258|      0|      "specifier";
  259|      0|    return "";
  260|      0|  }
  261|       |
  262|       |  // If we have a stub size spec, we must have a sectiontype of S_SYMBOL_STUBS.
  263|      1|  if ((TAA & MachO::SECTION_TYPE) != MachO::S_SYMBOL_STUBS)
  ------------------
  |  Branch (263:7): [True: 1, False: 0]
  ------------------
  264|      1|    return "mach-o section specifier cannot have a stub size specified because "
  265|      1|           "it does not have type 'symbol_stubs'";
  266|       |
  267|       |  // Convert the stub size from a string to an integer.
  268|      0|  if (StubSizeStr.getAsInteger(0, StubSize))
  ------------------
  |  Branch (268:7): [True: 0, False: 0]
  ------------------
  269|      0|    return "mach-o section specifier has a malformed stub size";
  270|       |
  271|      0|  return "";
  272|      0|}
MCSectionMachO.cpp:_ZZN7llvm_ks14MCSectionMachO21ParseSectionSpecifierENS_9StringRefERS1_S2_RjRbS3_ENK3$_0clEm:
  182|  14.3k|  auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef {
  183|  14.3k|    return SplitSpec.size() > Idx ? SplitSpec[Idx].trim() : StringRef();
  ------------------
  |  Branch (183:12): [True: 10.3k, False: 3.99k]
  ------------------
  184|  14.3k|  };
MCSectionMachO.cpp:_ZZN7llvm_ks14MCSectionMachO21ParseSectionSpecifierENS_9StringRefERS1_S2_RjRbS3_ENK3$_1clERK3$_0:
  214|    605|      [&](decltype(*SectionTypeDescriptors) &Descriptor) {
  215|    605|        return Descriptor.AssemblerName &&
  ------------------
  |  Branch (215:16): [True: 495, False: 110]
  ------------------
  216|    495|               SectionType == Descriptor.AssemblerName;
  ------------------
  |  Branch (216:16): [True: 17, False: 478]
  ------------------
  217|    605|      });
MCSectionMachO.cpp:_ZZN7llvm_ks14MCSectionMachO21ParseSectionSpecifierENS_9StringRefERS1_S2_RjRbS3_ENK3$_2clERK3$_1:
  243|    165|        [&](decltype(*SectionAttrDescriptors) &Descriptor) {
  244|    165|          return Descriptor.AssemblerName &&
  ------------------
  |  Branch (244:18): [True: 120, False: 45]
  ------------------
  245|    120|                 SectionAttr.trim() == Descriptor.AssemblerName;
  ------------------
  |  Branch (245:18): [True: 0, False: 120]
  ------------------
  246|    165|        });

_ZN7llvm_ks10MCStreamerC2ERNS_9MCContextE:
   46|  17.0k|    : Context(Ctx), CurrentWinFrameInfo(nullptr) {
   47|  17.0k|  SectionStack.push_back(std::pair<MCSectionSubPair, MCSectionSubPair>());
   48|  17.0k|}
_ZN7llvm_ks10MCStreamerD2Ev:
   50|  17.0k|MCStreamer::~MCStreamer() {
   51|  17.0k|  for (unsigned i = 0; i < getNumWinFrameInfos(); ++i)
  ------------------
  |  Branch (51:24): [True: 0, False: 17.0k]
  ------------------
   52|      0|    delete WinFrameInfos[i];
   53|  17.0k|}
_ZN7llvm_ks10MCStreamer12EmitIntValueEmjRb:
   82|  78.6M|{
   83|  78.6M|  Error = false;
   84|       |  //assert(1 <= Size && Size <= 8 && "Invalid size");
   85|  78.6M|  if (1 > Size || Size > 8) {
  ------------------
  |  Branch (85:7): [True: 652, False: 78.6M]
  |  Branch (85:19): [True: 0, False: 78.6M]
  ------------------
   86|    652|      Error = true;
   87|    652|      return;
   88|    652|  }
   89|       |  //assert((isUIntN(8 * Size, Value) || isIntN(8 * Size, Value)) &&
   90|       |  //       "Invalid size");
   91|  78.6M|  if (!isUIntN(8 * Size, Value) && !isIntN(8 * Size, Value)) {
  ------------------
  |  Branch (91:7): [True: 937, False: 78.6M]
  |  Branch (91:36): [True: 387, False: 550]
  ------------------
   92|    387|      Error = true;
   93|    387|      return;
   94|    387|  }
   95|  78.6M|  char buf[8];
   96|  78.6M|  const bool isLittleEndian = Context.getAsmInfo()->isLittleEndian();
   97|   241M|  for (unsigned i = 0; i != Size; ++i) {
  ------------------
  |  Branch (97:24): [True: 162M, False: 78.6M]
  ------------------
   98|   162M|    unsigned index = isLittleEndian ? i : (Size - i - 1);
  ------------------
  |  Branch (98:22): [True: 162M, False: 0]
  ------------------
   99|   162M|    buf[i] = uint8_t(Value >> (index * 8));
  100|   162M|  }
  101|  78.6M|  EmitBytes(StringRef(buf, Size));
  102|  78.6M|}
_ZN7llvm_ks10MCStreamer19EmitULEB128IntValueEmj:
  106|      4|void MCStreamer::EmitULEB128IntValue(uint64_t Value, unsigned Padding) {
  107|      4|  SmallString<128> Tmp;
  108|      4|  raw_svector_ostream OSE(Tmp);
  109|      4|  encodeULEB128(Value, OSE, Padding);
  110|      4|  EmitBytes(OSE.str());
  111|      4|}
_ZN7llvm_ks10MCStreamer19EmitSLEB128IntValueEl:
  115|      7|void MCStreamer::EmitSLEB128IntValue(int64_t Value) {
  116|      7|  SmallString<128> Tmp;
  117|      7|  raw_svector_ostream OSE(Tmp);
  118|      7|  encodeSLEB128(Value, OSE);
  119|      7|  EmitBytes(OSE.str());
  120|      7|}
_ZN7llvm_ks10MCStreamer9EmitValueEPKNS_6MCExprEjNS_5SMLocE:
  122|  47.7k|void MCStreamer::EmitValue(const MCExpr *Value, unsigned Size, SMLoc Loc) {
  123|  47.7k|  EmitValueImpl(Value, Size, Loc);
  124|  47.7k|}
_ZN7llvm_ks10MCStreamer9EmitZerosEm:
  154|     62|void MCStreamer::EmitZeros(uint64_t NumBytes) {
  155|     62|  EmitFill(NumBytes, 0);
  156|     62|}
_ZN7llvm_ks10MCStreamer22EmitDwarfFileDirectiveEjNS_9StringRefES1_j:
  160|     54|                                            StringRef Filename, unsigned CUID) {
  161|     54|  return getContext().getDwarfFile(Directory, Filename, FileNo, CUID);
  162|     54|}
_ZN7llvm_ks10MCStreamer9EmitLabelEPNS_8MCSymbolE:
  232|  67.7k|void MCStreamer::EmitLabel(MCSymbol *Symbol) {
  233|  67.7k|  assert(!Symbol->isVariable() && "Cannot emit a variable symbol!");
  ------------------
  |  Branch (233:3): [True: 67.7k, False: 0]
  |  Branch (233:3): [True: 67.7k, Folded]
  |  Branch (233:3): [True: 67.7k, False: 0]
  ------------------
  234|  67.7k|  assert(getCurrentSection().first && "Cannot emit before setting section!");
  ------------------
  |  Branch (234:3): [True: 67.7k, False: 0]
  |  Branch (234:3): [True: 67.7k, Folded]
  |  Branch (234:3): [True: 67.7k, False: 0]
  ------------------
  235|  67.7k|  assert(!Symbol->getFragment() && "Unexpected fragment on symbol data!");
  ------------------
  |  Branch (235:3): [True: 67.7k, False: 0]
  |  Branch (235:3): [True: 67.7k, Folded]
  |  Branch (235:3): [True: 67.7k, False: 0]
  ------------------
  236|  67.7k|  Symbol->setFragment(&getCurrentSectionOnly()->getDummyFragment());
  237|       |
  238|  67.7k|  MCTargetStreamer *TS = getTargetStreamer();
  239|  67.7k|  if (TS)
  ------------------
  |  Branch (239:7): [True: 0, False: 67.7k]
  ------------------
  240|      0|    TS->emitLabel(Symbol);
  241|  67.7k|}
_ZN7llvm_ks10MCStreamer6FinishEv:
  625|  7.89k|unsigned int MCStreamer::Finish() {
  626|  7.89k|  if (!DwarfFrameInfos.empty() && !DwarfFrameInfos.back().End)
  ------------------
  |  Branch (626:7): [True: 0, False: 7.89k]
  |  Branch (626:35): [True: 0, False: 0]
  ------------------
  627|      0|    report_fatal_error("Unfinished frame!");
  628|       |
  629|  7.89k|  MCTargetStreamer *TS = getTargetStreamer();
  630|  7.89k|  if (TS)
  ------------------
  |  Branch (630:7): [True: 0, False: 7.89k]
  ------------------
  631|      0|    TS->finish();
  632|       |
  633|  7.89k|  return FinishImpl();
  634|  7.89k|}
_ZN7llvm_ks10MCStreamer14EmitAssignmentEPNS_8MCSymbolEPKNS_6MCExprE:
  636|   113k|bool MCStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
  637|   113k|  visitUsedExpr(*Value);
  638|   113k|  bool valid;
  639|   113k|  Symbol->setVariableValue(Value, valid);
  640|   113k|  if (!valid)
  ------------------
  |  Branch (640:7): [True: 186, False: 113k]
  ------------------
  641|    186|      return false;
  642|       |
  643|   113k|  MCTargetStreamer *TS = getTargetStreamer();
  644|   113k|  if (TS)
  ------------------
  |  Branch (644:7): [True: 0, False: 113k]
  ------------------
  645|      0|    TS->emitAssignment(Symbol, Value);
  646|       |
  647|   113k|  return true;
  648|   113k|}
_ZN7llvm_ks10MCStreamer13visitUsedExprERKNS_6MCExprE:
  653|   486k|void MCStreamer::visitUsedExpr(const MCExpr &Expr) {
  654|   486k|  switch (Expr.getKind()) {
  ------------------
  |  Branch (654:11): [True: 486k, False: 0]
  ------------------
  655|      0|  case MCExpr::Target:
  ------------------
  |  Branch (655:3): [True: 0, False: 486k]
  ------------------
  656|      0|    cast<MCTargetExpr>(Expr).visitUsedExpr(*this);
  657|      0|    break;
  658|       |
  659|  75.0k|  case MCExpr::Constant:
  ------------------
  |  Branch (659:3): [True: 75.0k, False: 411k]
  ------------------
  660|  75.0k|    break;
  661|       |
  662|   134k|  case MCExpr::Binary: {
  ------------------
  |  Branch (662:3): [True: 134k, False: 352k]
  ------------------
  663|   134k|    const MCBinaryExpr &BE = cast<MCBinaryExpr>(Expr);
  664|   134k|    visitUsedExpr(*BE.getLHS());
  665|   134k|    visitUsedExpr(*BE.getRHS());
  666|   134k|    break;
  667|      0|  }
  668|       |
  669|   226k|  case MCExpr::SymbolRef:
  ------------------
  |  Branch (669:3): [True: 226k, False: 260k]
  ------------------
  670|   226k|    visitUsedSymbol(cast<MCSymbolRefExpr>(Expr).getSymbol());
  671|   226k|    break;
  672|       |
  673|  50.9k|  case MCExpr::Unary:
  ------------------
  |  Branch (673:3): [True: 50.9k, False: 435k]
  ------------------
  674|  50.9k|    visitUsedExpr(*cast<MCUnaryExpr>(Expr).getSubExpr());
  675|  50.9k|    break;
  676|   486k|  }
  677|   486k|}
_ZN7llvm_ks10MCStreamer15EmitInstructionERNS_6MCInstERKNS_15MCSubtargetInfoERj:
  681|  23.8k|                                 unsigned int &KsError) {
  682|       |  // Scan for values.
  683|  66.6k|  for (unsigned i = Inst.getNumOperands(); i--;)
  ------------------
  |  Branch (683:44): [True: 42.7k, False: 23.8k]
  ------------------
  684|  42.7k|    if (Inst.getOperand(i).isExpr())
  ------------------
  |  Branch (684:9): [True: 5.29k, False: 37.4k]
  ------------------
  685|  5.29k|      visitUsedExpr(*Inst.getOperand(i).getExpr());
  686|  23.8k|}
_ZN7llvm_ks10MCStreamer13EmitValueImplEPKNS_6MCExprEjNS_5SMLocE:
  723|  47.7k|void MCStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size, SMLoc Loc) {
  724|  47.7k|  visitUsedExpr(*Value);
  725|  47.7k|}
_ZN7llvm_ks10MCStreamer13SwitchSectionEPNS_9MCSectionEPKNS_6MCExprE:
  739|  20.8k|void MCStreamer::SwitchSection(MCSection *Section, const MCExpr *Subsection) {
  740|  20.8k|  assert(Section && "Cannot switch to a null section!");
  ------------------
  |  Branch (740:3): [True: 20.8k, False: 0]
  |  Branch (740:3): [True: 20.8k, Folded]
  |  Branch (740:3): [True: 20.8k, False: 0]
  ------------------
  741|  20.8k|  MCSectionSubPair curSection = SectionStack.back().first;
  742|  20.8k|  SectionStack.back().second = curSection;
  743|  20.8k|  if (MCSectionSubPair(Section, Subsection) != curSection) {
  ------------------
  |  Branch (743:7): [True: 18.4k, False: 2.48k]
  ------------------
  744|  18.4k|    ChangeSection(Section, Subsection);
  745|  18.4k|    SectionStack.back().first = MCSectionSubPair(Section, Subsection);
  746|  18.4k|    assert(!Section->hasEnded() && "Section already ended");
  ------------------
  |  Branch (746:5): [True: 18.4k, False: 0]
  |  Branch (746:5): [True: 18.4k, Folded]
  |  Branch (746:5): [True: 18.4k, False: 0]
  ------------------
  747|  18.4k|    MCSymbol *Sym = Section->getBeginSymbol();
  748|  18.4k|    if (Sym && !Sym->isInSection())
  ------------------
  |  Branch (748:9): [True: 18.4k, False: 0]
  |  Branch (748:16): [True: 17.4k, False: 991]
  ------------------
  749|  17.4k|      EmitLabel(Sym);
  750|  18.4k|  }
  751|  20.8k|}

_ZN7llvm_ks15MCSubtargetInfo19InitMCProcessorInfoENS_9StringRefES1_:
   26|  17.0k|void MCSubtargetInfo::InitMCProcessorInfo(StringRef CPU, StringRef FS) {
   27|  17.0k|  FeatureBits = getFeatures(CPU, FS, ProcDesc, ProcFeatures);
   28|  17.0k|  if (!CPU.empty() && ProcSchedModels)
  ------------------
  |  Branch (28:7): [True: 17.0k, False: 0]
  |  Branch (28:23): [True: 0, False: 17.0k]
  ------------------
   29|      0|      CPUSchedModel = &getSchedModelForCPU(CPU);
   30|  17.0k|}
_ZN7llvm_ks15MCSubtargetInfoC2ERKNS_6TripleENS_9StringRefES4_NS_8ArrayRefINS_18SubtargetFeatureKVEEES7_PKNS_15SubtargetInfoKVE:
   40|  17.0k|    : TargetTriple(TT), CPU(C), ProcFeatures(PF), ProcDesc(PD),
   41|  17.0k|    ProcSchedModels(ProcSched) {
   42|  17.0k|  InitMCProcessorInfo(CPU, FS);
   43|  17.0k|}
_ZN7llvm_ks15MCSubtargetInfo13ToggleFeatureERKNS_13FeatureBitsetE:
   52|    499|FeatureBitset MCSubtargetInfo::ToggleFeature(const FeatureBitset &FB) {
   53|    499|  FeatureBits ^= FB;
   54|    499|  return FeatureBits;
   55|    499|}
MCSubtargetInfo.cpp:_ZL11getFeaturesN7llvm_ks9StringRefES0_NS_8ArrayRefINS_18SubtargetFeatureKVEEES3_:
   21|  17.0k|                                 ArrayRef<SubtargetFeatureKV> ProcFeatures) {
   22|  17.0k|  SubtargetFeatures Features(FS);
   23|  17.0k|  return Features.getFeatureBits(CPU, ProcDesc, ProcFeatures);
   24|  17.0k|}

_ZN7llvm_ks8MCSymbolnwEmPKNS_14StringMapEntryIbEERNS_9MCContextE:
   26|   257k|                             MCContext &Ctx) {
   27|       |  // We may need more space for a Name to account for alignment.  So allocate
   28|       |  // space for the storage type and not the name pointer.
   29|   257k|  size_t Size = s + (Name ? sizeof(NameEntryStorageTy) : 0);
  ------------------
  |  Branch (29:22): [True: 257k, False: 0]
  ------------------
   30|       |
   31|       |  // For safety, ensure that the alignment of a pointer is enough for an
   32|       |  // MCSymbol.  This also ensures we don't need padding between the name and
   33|       |  // symbol.
   34|   257k|  static_assert((unsigned)AlignOf<MCSymbol>::Alignment <=
   35|   257k|                AlignOf<NameEntryStorageTy>::Alignment,
   36|   257k|                "Bad alignment of MCSymbol");
   37|   257k|  void *Storage = Ctx.allocate(Size, alignOf<NameEntryStorageTy>());
   38|   257k|  NameEntryStorageTy *Start = static_cast<NameEntryStorageTy*>(Storage);
   39|   257k|  NameEntryStorageTy *End = Start + (Name ? 1 : 0);
  ------------------
  |  Branch (39:38): [True: 257k, False: 0]
  ------------------
   40|   257k|  return End;
   41|   257k|}
_ZN7llvm_ks8MCSymbol16setVariableValueEPKNS_6MCExprERb:
   43|   113k|void MCSymbol::setVariableValue(const MCExpr *Value, bool &valid) {
   44|   113k|  valid = true;
   45|       |  //assert(!IsUsed && "Cannot set a variable that has already been used.");
   46|       |  //assert(Value && "Invalid variable value!");
   47|       |  //assert((SymbolContents == SymContentsUnset ||
   48|       |  //        SymbolContents == SymContentsVariable) &&
   49|       |  //       "Cannot give common/offset symbol a variable value");
   50|   113k|  if (IsUsed || !Value || (SymbolContents != SymContentsUnset &&
  ------------------
  |  Branch (50:7): [True: 107, False: 113k]
  |  Branch (50:17): [True: 0, False: 113k]
  |  Branch (50:28): [True: 111k, False: 1.88k]
  ------------------
   51|   111k|              SymbolContents != SymContentsVariable)) {
  ------------------
  |  Branch (51:15): [True: 79, False: 111k]
  ------------------
   52|    186|      valid = false;
   53|    186|      return;
   54|    186|  }
   55|   113k|  this->Value = Value;
   56|   113k|  SymbolContents = SymContentsVariable;
   57|   113k|  setUndefined();
   58|   113k|}

_ZNK7llvm_ks11MCSymbolELF10setBindingEj:
   43|    892|void MCSymbolELF::setBinding(unsigned Binding) const {
   44|    892|  setIsBindingSet();
   45|    892|  unsigned Val;
   46|    892|  switch (Binding) {
   47|      0|  default:
  ------------------
  |  Branch (47:3): [True: 0, False: 892]
  ------------------
   48|      0|    llvm_unreachable("Unsupported Binding");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
   49|    365|  case ELF::STB_LOCAL:
  ------------------
  |  Branch (49:3): [True: 365, False: 527]
  ------------------
   50|    365|    Val = 0;
   51|    365|    break;
   52|    527|  case ELF::STB_GLOBAL:
  ------------------
  |  Branch (52:3): [True: 527, False: 365]
  ------------------
   53|    527|    Val = 1;
   54|    527|    break;
   55|      0|  case ELF::STB_WEAK:
  ------------------
  |  Branch (55:3): [True: 0, False: 892]
  ------------------
   56|      0|    Val = 2;
   57|      0|    break;
   58|      0|  case ELF::STB_GNU_UNIQUE:
  ------------------
  |  Branch (58:3): [True: 0, False: 892]
  ------------------
   59|      0|    Val = 3;
   60|      0|    break;
   61|    892|  }
   62|    892|  uint32_t OtherFlags = getFlags() & ~(0x3 << ELF_STB_Shift);
   63|    892|  setFlags(OtherFlags | (Val << ELF_STB_Shift));
   64|    892|}
_ZNK7llvm_ks11MCSymbolELF10getBindingEv:
   66|  5.33k|unsigned MCSymbolELF::getBinding() const {
   67|  5.33k|  if (isBindingSet()) {
  ------------------
  |  Branch (67:7): [True: 927, False: 4.40k]
  ------------------
   68|    927|    uint32_t Val = (getFlags() & (0x3 << ELF_STB_Shift)) >> ELF_STB_Shift;
   69|    927|    switch (Val) {
   70|      0|    default:
  ------------------
  |  Branch (70:5): [True: 0, False: 927]
  ------------------
   71|      0|      llvm_unreachable("Invalid value");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
   72|     62|    case 0:
  ------------------
  |  Branch (72:5): [True: 62, False: 865]
  ------------------
   73|     62|      return ELF::STB_LOCAL;
   74|    865|    case 1:
  ------------------
  |  Branch (74:5): [True: 865, False: 62]
  ------------------
   75|    865|      return ELF::STB_GLOBAL;
   76|      0|    case 2:
  ------------------
  |  Branch (76:5): [True: 0, False: 927]
  ------------------
   77|      0|      return ELF::STB_WEAK;
   78|      0|    case 3:
  ------------------
  |  Branch (78:5): [True: 0, False: 927]
  ------------------
   79|      0|      return ELF::STB_GNU_UNIQUE;
   80|    927|    }
   81|    927|  }
   82|       |
   83|  4.40k|  if (isDefined())
  ------------------
  |  Branch (83:7): [True: 4.04k, False: 358]
  ------------------
   84|  4.04k|    return ELF::STB_LOCAL;
   85|    358|  if (isUsedInReloc())
  ------------------
  |  Branch (85:7): [True: 0, False: 358]
  ------------------
   86|      0|    return ELF::STB_GLOBAL;
   87|    358|  if (isWeakrefUsedInReloc())
  ------------------
  |  Branch (87:7): [True: 0, False: 358]
  ------------------
   88|      0|    return ELF::STB_WEAK;
   89|    358|  if (isSignature())
  ------------------
  |  Branch (89:7): [True: 0, False: 358]
  ------------------
   90|      0|    return ELF::STB_LOCAL;
   91|    358|  return ELF::STB_GLOBAL;
   92|    358|}
_ZNK7llvm_ks11MCSymbolELF7setTypeEj:
   94|  23.0k|void MCSymbolELF::setType(unsigned Type) const {
   95|  23.0k|  unsigned Val;
   96|  23.0k|  switch (Type) {
   97|      0|  default:
  ------------------
  |  Branch (97:3): [True: 0, False: 23.0k]
  ------------------
   98|      0|    llvm_unreachable("Unsupported Binding");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
   99|      0|  case ELF::STT_NOTYPE:
  ------------------
  |  Branch (99:3): [True: 0, False: 23.0k]
  ------------------
  100|      0|    Val = 0;
  101|      0|    break;
  102|    927|  case ELF::STT_OBJECT:
  ------------------
  |  Branch (102:3): [True: 927, False: 22.1k]
  ------------------
  103|    927|    Val = 1;
  104|    927|    break;
  105|      0|  case ELF::STT_FUNC:
  ------------------
  |  Branch (105:3): [True: 0, False: 23.0k]
  ------------------
  106|      0|    Val = 2;
  107|      0|    break;
  108|  17.4k|  case ELF::STT_SECTION:
  ------------------
  |  Branch (108:3): [True: 17.4k, False: 5.65k]
  ------------------
  109|  17.4k|    Val = 3;
  110|  17.4k|    break;
  111|      0|  case ELF::STT_COMMON:
  ------------------
  |  Branch (111:3): [True: 0, False: 23.0k]
  ------------------
  112|      0|    Val = 4;
  113|      0|    break;
  114|  4.73k|  case ELF::STT_TLS:
  ------------------
  |  Branch (114:3): [True: 4.73k, False: 18.3k]
  ------------------
  115|  4.73k|    Val = 5;
  116|  4.73k|    break;
  117|      0|  case ELF::STT_GNU_IFUNC:
  ------------------
  |  Branch (117:3): [True: 0, False: 23.0k]
  ------------------
  118|      0|    Val = 6;
  119|      0|    break;
  120|  23.0k|  }
  121|  23.0k|  uint32_t OtherFlags = getFlags() & ~(0x7 << ELF_STT_Shift);
  122|  23.0k|  setFlags(OtherFlags | (Val << ELF_STT_Shift));
  123|  23.0k|}
_ZNK7llvm_ks11MCSymbolELF7getTypeEv:
  125|    119|unsigned MCSymbolELF::getType() const {
  126|    119|  uint32_t Val = (getFlags() & (0x7 << ELF_STT_Shift)) >> ELF_STT_Shift;
  127|    119|  switch (Val) {
  128|      0|  default:
  ------------------
  |  Branch (128:3): [True: 0, False: 119]
  ------------------
  129|      0|    llvm_unreachable("Invalid value");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  130|    116|  case 0:
  ------------------
  |  Branch (130:3): [True: 116, False: 3]
  ------------------
  131|    116|    return ELF::STT_NOTYPE;
  132|      0|  case 1:
  ------------------
  |  Branch (132:3): [True: 0, False: 119]
  ------------------
  133|      0|    return ELF::STT_OBJECT;
  134|      0|  case 2:
  ------------------
  |  Branch (134:3): [True: 0, False: 119]
  ------------------
  135|      0|    return ELF::STT_FUNC;
  136|      0|  case 3:
  ------------------
  |  Branch (136:3): [True: 0, False: 119]
  ------------------
  137|      0|    return ELF::STT_SECTION;
  138|      0|  case 4:
  ------------------
  |  Branch (138:3): [True: 0, False: 119]
  ------------------
  139|      0|    return ELF::STT_COMMON;
  140|      3|  case 5:
  ------------------
  |  Branch (140:3): [True: 3, False: 116]
  ------------------
  141|      3|    return ELF::STT_TLS;
  142|      0|  case 6:
  ------------------
  |  Branch (142:3): [True: 0, False: 119]
  ------------------
  143|      0|    return ELF::STT_GNU_IFUNC;
  144|    119|  }
  145|    119|}
_ZNK7llvm_ks11MCSymbolELF20isWeakrefUsedInRelocEv:
  180|    358|bool MCSymbolELF::isWeakrefUsedInReloc() const {
  181|    358|  return getFlags() & (0x1 << ELF_WeakrefUsedInReloc_Shift);
  182|    358|}
_ZNK7llvm_ks11MCSymbolELF11isSignatureEv:
  189|    358|bool MCSymbolELF::isSignature() const {
  190|    358|  return getFlags() & (0x1 << ELF_IsSignature_Shift);
  191|    358|}
_ZNK7llvm_ks11MCSymbolELF15setIsBindingSetEv:
  193|    892|void MCSymbolELF::setIsBindingSet() const {
  194|    892|  uint32_t OtherFlags = getFlags() & ~(0x1 << ELF_BindingSet_Shift);
  195|    892|  setFlags(OtherFlags | (1 << ELF_BindingSet_Shift));
  196|    892|}
_ZNK7llvm_ks11MCSymbolELF12isBindingSetEv:
  198|  6.25k|bool MCSymbolELF::isBindingSet() const {
  199|  6.25k|  return getFlags() & (0x1 << ELF_BindingSet_Shift);
  200|  6.25k|}

_ZN7llvm_ks15MCTargetOptionsC2Ev:
   16|  34.0k|    : MCRelaxAll(false),
   17|  34.0k|      MCFatalWarnings(false), MCNoWarn(false),
   18|  34.0k|      DwarfVersion(0), ABIName() {}

_ZNK7llvm_ks7MCValue16getAccessVariantEv:
   45|  4.19k|MCSymbolRefExpr::VariantKind MCValue::getAccessVariant() const {
   46|  4.19k|  const MCSymbolRefExpr *B = getSymB();
   47|  4.19k|  if (B) {
  ------------------
  |  Branch (47:7): [True: 520, False: 3.67k]
  ------------------
   48|    520|    if (B->getKind() != MCSymbolRefExpr::VK_None)
  ------------------
  |  Branch (48:9): [True: 0, False: 520]
  ------------------
   49|      0|      llvm_unreachable("unsupported");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
   50|    520|  }
   51|       |
   52|  4.19k|  const MCSymbolRefExpr *A = getSymA();
   53|  4.19k|  if (!A)
  ------------------
  |  Branch (53:7): [True: 520, False: 3.67k]
  ------------------
   54|    520|    return MCSymbolRefExpr::VK_None;
   55|       |
   56|  3.67k|  MCSymbolRefExpr::VariantKind Kind = A->getKind();
   57|  3.67k|  if (Kind == MCSymbolRefExpr::VK_WEAKREF)
  ------------------
  |  Branch (57:7): [True: 0, False: 3.67k]
  ------------------
   58|      0|    return MCSymbolRefExpr::VK_None;
   59|  3.67k|  return Kind;
   60|  3.67k|}

_ZN7llvm_ks18StringTableBuilderC2ENS0_4KindE:
   19|  17.0k|StringTableBuilder::StringTableBuilder(Kind K) : K(K) {
   20|       |  // Account for leading bytes in table so that offsets returned from add are
   21|       |  // correct.
   22|  17.0k|  switch (K) {
  ------------------
  |  Branch (22:11): [True: 17.0k, False: 0]
  ------------------
   23|      0|  case RAW:
  ------------------
  |  Branch (23:3): [True: 0, False: 17.0k]
  ------------------
   24|      0|    Size = 0;
   25|      0|    break;
   26|      0|  case MachO:
  ------------------
  |  Branch (26:3): [True: 0, False: 17.0k]
  ------------------
   27|  17.0k|  case ELF:
  ------------------
  |  Branch (27:3): [True: 17.0k, False: 0]
  ------------------
   28|  17.0k|    Size = 1;
   29|  17.0k|    break;
   30|      0|  case WinCOFF:
  ------------------
  |  Branch (30:3): [True: 0, False: 17.0k]
  ------------------
   31|      0|    Size = 4;
   32|      0|    break;
   33|  17.0k|  }
   34|  17.0k|}
_ZN7llvm_ks18StringTableBuilder3addENS_9StringRefE:
  177|  14.3k|size_t StringTableBuilder::add(StringRef S) {
  178|  14.3k|  assert(!isFinalized());
  ------------------
  |  Branch (178:3): [True: 14.3k, False: 0]
  ------------------
  179|  14.3k|  auto P = StringIndexMap.insert(std::make_pair(S, Size));
  180|  14.3k|  if (P.second)
  ------------------
  |  Branch (180:7): [True: 14.2k, False: 112]
  ------------------
  181|  14.2k|    Size += S.size() + (K != RAW);
  182|  14.3k|  return P.first->second;
  183|  14.3k|}

_ZN7llvm_ks17SubtargetFeaturesC2ENS_9StringRefE:
  120|  17.0k|SubtargetFeatures::SubtargetFeatures(StringRef Initial) {
  121|       |  // Break up string into separate features
  122|  17.0k|  Split(Features, Initial);
  123|  17.0k|}
_ZN7llvm_ks17SubtargetFeatures16ApplyFeatureFlagERNS_13FeatureBitsetENS_9StringRefENS_8ArrayRefINS_18SubtargetFeatureKVEEE:
  191|  51.1k|                                    ArrayRef<SubtargetFeatureKV> FeatureTable) {
  192|       |
  193|  51.1k|  assert(hasFlag(Feature));
  ------------------
  |  Branch (193:3): [True: 51.1k, False: 0]
  ------------------
  194|       |
  195|       |  // Find feature in table.
  196|  51.1k|  const SubtargetFeatureKV *FeatureEntry =
  197|  51.1k|      Find(StripFlag(Feature), FeatureTable);
  198|       |  // If there is a match
  199|  51.1k|  if (FeatureEntry) {
  ------------------
  |  Branch (199:7): [True: 51.1k, False: 0]
  ------------------
  200|       |    // Enable/disable feature in bits
  201|  51.1k|    if (isEnabled(Feature)) {
  ------------------
  |  Branch (201:9): [True: 17.0k, False: 34.0k]
  ------------------
  202|  17.0k|      Bits |= FeatureEntry->Value;
  203|       |
  204|       |      // For each feature that this implies, set it.
  205|  17.0k|      SetImpliedBits(Bits, FeatureEntry, FeatureTable);
  206|  34.0k|    } else {
  207|  34.0k|      Bits &= ~FeatureEntry->Value;
  208|       |
  209|       |      // For each feature that implies this, clear it.
  210|  34.0k|      ClearImpliedBits(Bits, FeatureEntry, FeatureTable);
  211|  34.0k|    }
  212|  51.1k|  } else {
  213|      0|    errs() << "'" << Feature
  214|      0|           << "' is not a recognized feature for this target"
  215|      0|           << " (ignoring feature)\n";
  216|      0|  }
  217|  51.1k|}
_ZN7llvm_ks17SubtargetFeatures14getFeatureBitsENS_9StringRefENS_8ArrayRefINS_18SubtargetFeatureKVEEES4_:
  225|  17.0k|                                  ArrayRef<SubtargetFeatureKV> FeatureTable) {
  226|       |
  227|  17.0k|  if (CPUTable.empty() || FeatureTable.empty())
  ------------------
  |  Branch (227:7): [True: 0, False: 17.0k]
  |  Branch (227:27): [True: 0, False: 17.0k]
  ------------------
  228|      0|    return FeatureBitset();
  229|       |
  230|  17.0k|#ifndef NDEBUG
  231|  17.0k|  assert(std::is_sorted(std::begin(CPUTable), std::end(CPUTable)) &&
  ------------------
  |  Branch (231:3): [True: 17.0k, False: 0]
  |  Branch (231:3): [True: 17.0k, Folded]
  |  Branch (231:3): [True: 17.0k, False: 0]
  ------------------
  232|  17.0k|         "CPU table is not sorted");
  233|  17.0k|  assert(std::is_sorted(std::begin(FeatureTable), std::end(FeatureTable)) &&
  ------------------
  |  Branch (233:3): [True: 17.0k, False: 0]
  |  Branch (233:3): [True: 17.0k, Folded]
  |  Branch (233:3): [True: 17.0k, False: 0]
  ------------------
  234|  17.0k|         "CPU features table is not sorted");
  235|  17.0k|#endif
  236|       |  // Resulting bits
  237|  17.0k|  FeatureBitset Bits;
  238|       |
  239|       |  // Check if help is needed
  240|  17.0k|  if (CPU == "help")
  ------------------
  |  Branch (240:7): [True: 0, False: 17.0k]
  ------------------
  241|      0|    Help(CPUTable, FeatureTable);
  242|       |
  243|       |  // Find CPU entry if CPU name is specified.
  244|  17.0k|  else if (!CPU.empty()) {
  ------------------
  |  Branch (244:12): [True: 17.0k, False: 0]
  ------------------
  245|  17.0k|    const SubtargetFeatureKV *CPUEntry = Find(CPU, CPUTable);
  246|       |
  247|       |    // If there is a match
  248|  17.0k|    if (CPUEntry) {
  ------------------
  |  Branch (248:9): [True: 17.0k, False: 0]
  ------------------
  249|       |      // Set base feature bits
  250|  17.0k|      Bits = CPUEntry->Value;
  251|       |
  252|       |      // Set the feature implied by this CPU feature, if any.
  253|  1.46M|      for (auto &FE : FeatureTable) {
  ------------------
  |  Branch (253:21): [True: 1.46M, False: 17.0k]
  ------------------
  254|  1.46M|        if ((CPUEntry->Value & FE.Value).any())
  ------------------
  |  Branch (254:13): [True: 221k, False: 1.24M]
  ------------------
  255|   221k|          SetImpliedBits(Bits, &FE, FeatureTable);
  256|  1.46M|      }
  257|  17.0k|    } else {
  258|      0|      errs() << "'" << CPU
  259|      0|             << "' is not a recognized processor for this target"
  260|      0|             << " (ignoring processor)\n";
  261|      0|    }
  262|  17.0k|  }
  263|       |
  264|       |  // Iterate through each feature
  265|  51.1k|  for (auto &Feature : Features) {
  ------------------
  |  Branch (265:22): [True: 51.1k, False: 17.0k]
  ------------------
  266|       |    // Check for help
  267|  51.1k|    if (Feature == "+help")
  ------------------
  |  Branch (267:9): [True: 0, False: 51.1k]
  ------------------
  268|      0|      Help(CPUTable, FeatureTable);
  269|       |
  270|  51.1k|    ApplyFeatureFlag(Bits, Feature, FeatureTable);
  271|  51.1k|  }
  272|       |
  273|  17.0k|  return Bits;
  274|  17.0k|}
SubtargetFeature.cpp:_ZL7hasFlagN7llvm_ks9StringRefE:
   31|   102k|static inline bool hasFlag(StringRef Feature) {
   32|   102k|  assert(!Feature.empty() && "Empty string");
  ------------------
  |  Branch (32:3): [True: 102k, False: 0]
  |  Branch (32:3): [True: 102k, Folded]
  |  Branch (32:3): [True: 102k, False: 0]
  ------------------
   33|       |  // Get first character
   34|   102k|  char Ch = Feature[0];
   35|       |  // Check if first character is '+' or '-' flag
   36|   102k|  return Ch == '+' || Ch =='-';
  ------------------
  |  Branch (36:10): [True: 34.0k, False: 68.1k]
  |  Branch (36:23): [True: 68.1k, False: 0]
  ------------------
   37|   102k|}
SubtargetFeature.cpp:_ZL5SplitRNSt3__16vectorINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEEEN7llvm_ks9StringRefE:
   57|  17.0k|static void Split(std::vector<std::string> &V, StringRef S) {
   58|  17.0k|  SmallVector<StringRef, 3> Tmp;
   59|  17.0k|  S.split(Tmp, ',', -1, false /* KeepEmpty */);
   60|  17.0k|  V.assign(Tmp.begin(), Tmp.end());
   61|  17.0k|}
SubtargetFeature.cpp:_ZL4FindN7llvm_ks9StringRefENS_8ArrayRefINS_18SubtargetFeatureKVEEE:
   74|  68.1k|                                      ArrayRef<SubtargetFeatureKV> A) {
   75|       |  // Binary search the array
   76|  68.1k|  auto F = std::lower_bound(A.begin(), A.end(), S);
   77|       |  // If not found then return NULL
   78|  68.1k|  if (F == A.end() || StringRef(F->Key) != S) return nullptr;
  ------------------
  |  Branch (78:7): [True: 0, False: 68.1k]
  |  Branch (78:7): [True: 0, False: 68.1k]
  |  Branch (78:23): [True: 0, False: 68.1k]
  ------------------
   79|       |  // Return the found array item
   80|  68.1k|  return F;
   81|  68.1k|}
SubtargetFeature.cpp:_ZL9StripFlagN7llvm_ks9StringRefE:
   41|  51.1k|static inline std::string StripFlag(StringRef Feature) {
   42|  51.1k|  return hasFlag(Feature) ? Feature.substr(1) : Feature;
  ------------------
  |  Branch (42:10): [True: 51.1k, False: 0]
  ------------------
   43|  51.1k|}
SubtargetFeature.cpp:_ZL16ClearImpliedBitsRN7llvm_ks13FeatureBitsetEPKNS_18SubtargetFeatureKVENS_8ArrayRefIS2_EE:
  152|  34.0k|                      ArrayRef<SubtargetFeatureKV> FeatureTable) {
  153|  2.93M|  for (auto &FE : FeatureTable) {
  ------------------
  |  Branch (153:17): [True: 2.93M, False: 34.0k]
  ------------------
  154|  2.93M|    if (FeatureEntry->Value == FE.Value) continue;
  ------------------
  |  Branch (154:9): [True: 34.0k, False: 2.89M]
  ------------------
  155|       |
  156|  2.89M|    if ((FE.Implies & FeatureEntry->Value).any()) {
  ------------------
  |  Branch (156:9): [True: 0, False: 2.89M]
  ------------------
  157|      0|      Bits &= ~FE.Value;
  158|      0|      ClearImpliedBits(Bits, &FE, FeatureTable);
  159|      0|    }
  160|  2.89M|  }
  161|  34.0k|}
SubtargetFeature.cpp:_ZL14SetImpliedBitsRN7llvm_ks13FeatureBitsetEPKNS_18SubtargetFeatureKVENS_8ArrayRefIS2_EE:
  135|  1.67M|                    ArrayRef<SubtargetFeatureKV> FeatureTable) {
  136|   143M|  for (auto &FE : FeatureTable) {
  ------------------
  |  Branch (136:17): [True: 143M, False: 1.67M]
  ------------------
  137|   143M|    if (FeatureEntry->Value == FE.Value) continue;
  ------------------
  |  Branch (137:9): [True: 1.67M, False: 141M]
  ------------------
  138|       |
  139|   141M|    if ((FeatureEntry->Implies & FE.Value).any()) {
  ------------------
  |  Branch (139:9): [True: 1.43M, False: 140M]
  ------------------
  140|  1.43M|      Bits |= FE.Value;
  141|  1.43M|      SetImpliedBits(Bits, &FE, FeatureTable);
  142|  1.43M|    }
  143|   141M|  }
  144|  1.67M|}
SubtargetFeature.cpp:_ZL9isEnabledN7llvm_ks9StringRefE:
   47|  51.1k|static inline bool isEnabled(StringRef Feature) {
   48|  51.1k|  assert(!Feature.empty() && "Empty string");
  ------------------
  |  Branch (48:3): [True: 51.1k, False: 0]
  |  Branch (48:3): [True: 51.1k, Folded]
  |  Branch (48:3): [True: 51.1k, False: 0]
  ------------------
   49|       |  // Get first character
   50|  51.1k|  char Ch = Feature[0];
   51|       |  // Check if first character is '+' for enabled
   52|  51.1k|  return Ch == '+';
   53|  51.1k|}

_Z16interpretDecimalPKcS0_P11decimalInfo:
  277|  36.9k|{
  278|  36.9k|  StringRef::iterator dot = end;
  279|  36.9k|  StringRef::iterator p = skipLeadingZeroesAndAnyDot (begin, end, &dot);
  280|  36.9k|  APFloat::opStatus fp;
  281|       |
  282|  36.9k|  D->firstSigDigit = p;
  283|  36.9k|  D->exponent = 0;
  284|  36.9k|  D->normalizedExponent = 0;
  285|       |
  286|   207k|  for (; p != end; ++p) {
  ------------------
  |  Branch (286:10): [True: 177k, False: 30.6k]
  ------------------
  287|   177k|    if (*p == '.') {
  ------------------
  |  Branch (287:9): [True: 0, False: 177k]
  ------------------
  288|       |      //assert(dot == end && "String contains multiple dots");
  289|      0|      if (dot != end)
  ------------------
  |  Branch (289:11): [True: 0, False: 0]
  ------------------
  290|      0|          return APFloat::opInvalidOp;
  291|      0|      dot = p++;
  292|      0|      if (p == end)
  ------------------
  |  Branch (292:11): [True: 0, False: 0]
  ------------------
  293|      0|        break;
  294|      0|    }
  295|   177k|    if (decDigitValue(*p) >= 10U)
  ------------------
  |  Branch (295:9): [True: 6.28k, False: 170k]
  ------------------
  296|  6.28k|      break;
  297|   177k|  }
  298|       |
  299|  36.9k|  if (p != end) {
  ------------------
  |  Branch (299:7): [True: 6.28k, False: 30.6k]
  ------------------
  300|       |    //assert((*p == 'e' || *p == 'E') && "Invalid character in significand");
  301|  6.28k|    if (*p != 'e' && *p != 'E')
  ------------------
  |  Branch (301:9): [True: 4.71k, False: 1.57k]
  |  Branch (301:22): [True: 4, False: 4.70k]
  ------------------
  302|      4|        return APFloat::opInvalidOp;
  303|       |    //assert(p != begin && "Significand has no digits");
  304|  6.28k|    if (p == begin)
  ------------------
  |  Branch (304:9): [True: 0, False: 6.28k]
  ------------------
  305|      0|        return APFloat::opInvalidOp;
  306|       |    //assert((dot == end || p - begin != 1) && "Significand has no digits");
  307|  6.28k|    if (dot != end && p - begin == 1)
  ------------------
  |  Branch (307:9): [True: 6.27k, False: 10]
  |  Branch (307:23): [True: 0, False: 6.27k]
  ------------------
  308|      0|        return APFloat::opInvalidOp;
  309|       |
  310|       |    /* p points to the first non-digit in the string */
  311|  6.28k|    D->exponent = readExponent(p + 1, end, fp); // qq
  312|  6.28k|    if (fp)
  ------------------
  |  Branch (312:9): [True: 474, False: 5.80k]
  ------------------
  313|    474|        return fp;
  314|       |
  315|       |    /* Implied decimal point?  */
  316|  5.80k|    if (dot == end)
  ------------------
  |  Branch (316:9): [True: 5, False: 5.80k]
  ------------------
  317|      5|      dot = p;
  318|  5.80k|  }
  319|       |
  320|       |  /* If number is all zeroes accept any exponent.  */
  321|  36.4k|  if (p != D->firstSigDigit) {
  ------------------
  |  Branch (321:7): [True: 34.8k, False: 1.65k]
  ------------------
  322|       |    /* Drop insignificant trailing zeroes.  */
  323|  34.8k|    if (p != begin) {
  ------------------
  |  Branch (323:9): [True: 34.8k, False: 0]
  ------------------
  324|  34.8k|      do
  325|  34.8k|        do
  326|  43.0k|          p--;
  327|  43.0k|        while (p != begin && *p == '0');
  ------------------
  |  Branch (327:16): [True: 41.1k, False: 1.82k]
  |  Branch (327:30): [True: 8.18k, False: 33.0k]
  ------------------
  328|  34.8k|      while (p != begin && *p == '.');
  ------------------
  |  Branch (328:14): [True: 33.0k, False: 1.82k]
  |  Branch (328:28): [True: 0, False: 33.0k]
  ------------------
  329|  34.8k|    }
  330|       |
  331|       |    /* Adjust the exponents for any decimal point.  */
  332|  34.8k|    D->exponent += static_cast<APFloat::ExponentType>((dot - p) - (dot > p));
  333|  34.8k|    D->normalizedExponent = (D->exponent +
  334|  34.8k|              static_cast<APFloat::ExponentType>((p - D->firstSigDigit)
  335|  34.8k|                                      - (dot > D->firstSigDigit && dot < p)));
  ------------------
  |  Branch (335:42): [True: 2.89k, False: 31.9k]
  |  Branch (335:68): [True: 0, False: 2.89k]
  ------------------
  336|  34.8k|  }
  337|       |
  338|  36.4k|  D->lastSigDigit = p;
  339|       |
  340|  36.4k|  return APFloat::opOK;
  341|  36.9k|}
_ZN7llvm_ks7APFloat10initializeEPKNS_12fltSemanticsE:
  614|   113k|{
  615|   113k|  unsigned int count;
  616|       |
  617|   113k|  semantics = ourSemantics;
  618|   113k|  count = partCount();
  619|   113k|  if (count > 1)
  ------------------
  |  Branch (619:7): [True: 2.92k, False: 110k]
  ------------------
  620|  2.92k|    significand.parts = new integerPart[count];
  621|   113k|}
_ZN7llvm_ks7APFloat15freeSignificandEv:
  625|   114k|{
  626|   114k|  if (needsCleanup())
  ------------------
  |  Branch (626:7): [True: 2.92k, False: 111k]
  ------------------
  627|  2.92k|    delete [] significand.parts;
  628|   114k|}
_ZN7llvm_ks7APFloat7makeNaNEbbPKNS_5APIntE:
  656|    410|{
  657|    410|  category = fcNaN;
  658|    410|  sign = Negative;
  659|       |
  660|    410|  integerPart *significand = significandParts();
  661|    410|  unsigned numParts = partCount();
  662|       |
  663|       |  // Set the significand bits to the fill.
  664|    410|  if (!fill || fill->getNumWords() < numParts)
  ------------------
  |  Branch (664:7): [True: 0, False: 410]
  |  Branch (664:16): [True: 0, False: 410]
  ------------------
  665|      0|    APInt::tcSet(significand, 0, numParts);
  666|    410|  if (fill) {
  ------------------
  |  Branch (666:7): [True: 410, False: 0]
  ------------------
  667|    410|    APInt::tcAssign(significand, fill->getRawData(),
  668|    410|                    std::min(fill->getNumWords(), numParts));
  669|       |
  670|       |    // Zero out the excess bits of the significand.
  671|    410|    unsigned bitsToPreserve = semantics->precision - 1;
  672|    410|    unsigned part = bitsToPreserve / 64;
  673|    410|    bitsToPreserve %= 64;
  674|    410|    significand[part] &= ((1ULL << bitsToPreserve) - 1);
  675|    410|    for (part++; part != numParts; ++part)
  ------------------
  |  Branch (675:18): [True: 0, False: 410]
  ------------------
  676|      0|      significand[part] = 0;
  677|    410|  }
  678|       |
  679|    410|  unsigned QNaNBit = semantics->precision - 2;
  680|       |
  681|    410|  if (SNaN) {
  ------------------
  |  Branch (681:7): [True: 0, False: 410]
  ------------------
  682|       |    // We always have to clear the QNaN bit to make it an SNaN.
  683|      0|    APInt::tcClearBit(significand, QNaNBit);
  684|       |
  685|       |    // If there are no bits set in the payload, we have to set
  686|       |    // *something* to make it a NaN instead of an infinity;
  687|       |    // conventionally, this is the next bit down from the QNaN bit.
  688|      0|    if (APInt::tcIsZero(significand, numParts))
  ------------------
  |  Branch (688:9): [True: 0, False: 0]
  ------------------
  689|      0|      APInt::tcSetBit(significand, QNaNBit - 1);
  690|    410|  } else {
  691|       |    // We always have to set the QNaN bit to make it a QNaN.
  692|    410|    APInt::tcSetBit(significand, QNaNBit);
  693|    410|  }
  694|       |
  695|       |  // For x87 extended precision, we want to make a NaN, not a
  696|       |  // pseudo-NaN.  Maybe we should expose the ability to make
  697|       |  // pseudo-NaNs?
  698|    410|  if (semantics == &APFloat::x87DoubleExtended)
  ------------------
  |  Branch (698:7): [True: 0, False: 410]
  ------------------
  699|      0|    APInt::tcSetBit(significand, QNaNBit + 1);
  700|    410|}
_ZN7llvm_ks7APFloat7makeNaNERKNS_12fltSemanticsEbbPKNS_5APIntE:
  703|    410|                         const APInt *fill) {
  704|    410|  APFloat value(Sem, uninitialized);
  705|    410|  value.makeNaN(SNaN, Negative, fill);
  706|    410|  return value;
  707|    410|}
_ZN7llvm_ks7APFloataSEOS0_:
  724|  1.04k|APFloat::operator=(APFloat &&rhs) {
  725|  1.04k|  freeSignificand();
  726|       |
  727|  1.04k|  semantics = rhs.semantics;
  728|  1.04k|  significand = rhs.significand;
  729|  1.04k|  exponent = rhs.exponent;
  730|  1.04k|  category = rhs.category;
  731|  1.04k|  sign = rhs.sign;
  732|       |
  733|  1.04k|  rhs.semantics = &Bogus;
  734|  1.04k|  return *this;
  735|  1.04k|}
_ZN7llvm_ks7APFloatC2ERKNS_12fltSemanticsE:
  842|  40.8k|APFloat::APFloat(const fltSemantics &ourSemantics) {
  843|  40.8k|  initialize(&ourSemantics);
  844|  40.8k|  category = fcZero;
  845|  40.8k|  sign = false;
  846|  40.8k|}
_ZN7llvm_ks7APFloatC2ERKNS_12fltSemanticsENS0_16uninitializedTagE:
  848|  36.0k|APFloat::APFloat(const fltSemantics &ourSemantics, uninitializedTag tag) {
  849|       |  // Allocates storage if necessary but does not initialize it.
  850|  36.0k|  initialize(&ourSemantics);
  851|  36.0k|}
_ZN7llvm_ks7APFloatC2ERKNS_12fltSemanticsENS_9StringRefE:
  853|  36.5k|APFloat::APFloat(const fltSemantics &ourSemantics, StringRef text) {
  854|  36.5k|  initialize(&ourSemantics);
  855|  36.5k|  convertFromString(text, rmNearestTiesToEven);
  856|  36.5k|}
_ZN7llvm_ks7APFloatD2Ev:
  868|   113k|{
  869|   113k|  freeSignificand();
  870|   113k|}
_ZNK7llvm_ks7APFloat9partCountEv:
  879|  1.40M|{
  880|  1.40M|  return partCountForBits(semantics->precision + 1);
  881|  1.40M|}
_ZNK7llvm_ks7APFloat16significandPartsEv:
  906|   207k|{
  907|   207k|  return const_cast<APFloat *>(this)->significandParts();
  908|   207k|}
_ZN7llvm_ks7APFloat16significandPartsEv:
  912|   688k|{
  913|   688k|  if (partCount() > 1)
  ------------------
  |  Branch (913:7): [True: 19.9k, False: 668k]
  ------------------
  914|  19.9k|    return significand.parts;
  915|   668k|  else
  916|   668k|    return &significand.part;
  917|   688k|}
_ZN7llvm_ks7APFloat15zeroSignificandEv:
  921|  4.27k|{
  922|  4.27k|  APInt::tcSet(significandParts(), 0, partCount());
  923|  4.27k|}
_ZN7llvm_ks7APFloat20incrementSignificandEv:
  928|  28.0k|{
  929|  28.0k|  integerPart carry;
  930|       |
  931|  28.0k|  carry = APInt::tcIncrement(significandParts(), partCount());
  932|       |
  933|       |  /* Our callers should never cause us to overflow.  */
  934|  28.0k|  assert(carry == 0);
  ------------------
  |  Branch (934:3): [True: 28.0k, False: 0]
  ------------------
  935|  28.0k|  (void)carry;
  936|  28.0k|}
_ZN7llvm_ks7APFloat19multiplySignificandERKS0_PS1_:
  973|  6.15k|{
  974|  6.15k|  unsigned int omsb;        // One, not zero, based MSB.
  975|  6.15k|  unsigned int partsCount, newPartsCount, precision;
  976|  6.15k|  integerPart *lhsSignificand;
  977|  6.15k|  integerPart scratch[4];
  978|  6.15k|  integerPart *fullSignificand;
  979|  6.15k|  lostFraction lost_fraction;
  980|  6.15k|  bool ignored;
  981|       |
  982|  6.15k|  assert(semantics == rhs.semantics);
  ------------------
  |  Branch (982:3): [True: 6.15k, False: 0]
  ------------------
  983|       |
  984|  6.15k|  precision = semantics->precision;
  985|       |
  986|       |  // Allocate space for twice as many bits as the original significand, plus one
  987|       |  // extra bit for the addition to overflow into.
  988|  6.15k|  newPartsCount = partCountForBits(precision * 2 + 1);
  989|       |
  990|  6.15k|  if (newPartsCount > 4)
  ------------------
  |  Branch (990:7): [True: 0, False: 6.15k]
  ------------------
  991|      0|    fullSignificand = new integerPart[newPartsCount];
  992|  6.15k|  else
  993|  6.15k|    fullSignificand = scratch;
  994|       |
  995|  6.15k|  lhsSignificand = significandParts();
  996|  6.15k|  partsCount = partCount();
  997|       |
  998|  6.15k|  APInt::tcFullMultiply(fullSignificand, lhsSignificand,
  999|  6.15k|                        rhs.significandParts(), partsCount, partsCount);
 1000|       |
 1001|  6.15k|  lost_fraction = lfExactlyZero;
 1002|  6.15k|  omsb = APInt::tcMSB(fullSignificand, newPartsCount) + 1;
 1003|  6.15k|  exponent += rhs.exponent;
 1004|       |
 1005|       |  // Assume the operands involved in the multiplication are single-precision
 1006|       |  // FP, and the two multiplicants are:
 1007|       |  //   *this = a23 . a22 ... a0 * 2^e1
 1008|       |  //     rhs = b23 . b22 ... b0 * 2^e2
 1009|       |  // the result of multiplication is:
 1010|       |  //   *this = c48 c47 c46 . c45 ... c0 * 2^(e1+e2)
 1011|       |  // Note that there are three significant bits at the left-hand side of the 
 1012|       |  // radix point: two for the multiplication, and an overflow bit for the
 1013|       |  // addition (that will always be zero at this point). Move the radix point
 1014|       |  // toward left by two bits, and adjust exponent accordingly.
 1015|  6.15k|  exponent += 2;
 1016|       |
 1017|  6.15k|  if (addend && addend->isNonZero()) {
  ------------------
  |  Branch (1017:7): [True: 0, False: 6.15k]
  |  Branch (1017:17): [True: 0, False: 0]
  ------------------
 1018|       |    // The intermediate result of the multiplication has "2 * precision" 
 1019|       |    // signicant bit; adjust the addend to be consistent with mul result.
 1020|       |    //
 1021|      0|    Significand savedSignificand = significand;
 1022|      0|    const fltSemantics *savedSemantics = semantics;
 1023|      0|    fltSemantics extendedSemantics;
 1024|      0|    opStatus status;
 1025|      0|    unsigned int extendedPrecision;
 1026|       |
 1027|       |    // Normalize our MSB to one below the top bit to allow for overflow.
 1028|      0|    extendedPrecision = 2 * precision + 1;
 1029|      0|    if (omsb != extendedPrecision - 1) {
  ------------------
  |  Branch (1029:9): [True: 0, False: 0]
  ------------------
 1030|      0|      assert(extendedPrecision > omsb);
  ------------------
  |  Branch (1030:7): [True: 0, False: 0]
  ------------------
 1031|      0|      APInt::tcShiftLeft(fullSignificand, newPartsCount,
 1032|      0|                         (extendedPrecision - 1) - omsb);
 1033|      0|      exponent -= (extendedPrecision - 1) - omsb;
 1034|      0|    }
 1035|       |
 1036|       |    /* Create new semantics.  */
 1037|      0|    extendedSemantics = *semantics;
 1038|      0|    extendedSemantics.precision = extendedPrecision;
 1039|       |
 1040|      0|    if (newPartsCount == 1)
  ------------------
  |  Branch (1040:9): [True: 0, False: 0]
  ------------------
 1041|      0|      significand.part = fullSignificand[0];
 1042|      0|    else
 1043|      0|      significand.parts = fullSignificand;
 1044|      0|    semantics = &extendedSemantics;
 1045|       |
 1046|      0|    APFloat extendedAddend(*addend);
 1047|      0|    status = extendedAddend.convert(extendedSemantics, rmTowardZero, &ignored);
 1048|      0|    assert(status == opOK);
  ------------------
  |  Branch (1048:5): [True: 0, False: 0]
  ------------------
 1049|      0|    (void)status;
 1050|       |
 1051|       |    // Shift the significand of the addend right by one bit. This guarantees
 1052|       |    // that the high bit of the significand is zero (same as fullSignificand),
 1053|       |    // so the addition will overflow (if it does overflow at all) into the top bit.
 1054|      0|    lost_fraction = extendedAddend.shiftSignificandRight(1);
 1055|      0|    assert(lost_fraction == lfExactlyZero &&
  ------------------
  |  Branch (1055:5): [True: 0, False: 0]
  |  Branch (1055:5): [True: 0, Folded]
  |  Branch (1055:5): [True: 0, False: 0]
  ------------------
 1056|      0|           "Lost precision while shifting addend for fused-multiply-add.");
 1057|       |
 1058|      0|    lost_fraction = addOrSubtractSignificand(extendedAddend, false);
 1059|       |
 1060|       |    /* Restore our state.  */
 1061|      0|    if (newPartsCount == 1)
  ------------------
  |  Branch (1061:9): [True: 0, False: 0]
  ------------------
 1062|      0|      fullSignificand[0] = significand.part;
 1063|      0|    significand = savedSignificand;
 1064|      0|    semantics = savedSemantics;
 1065|       |
 1066|      0|    omsb = APInt::tcMSB(fullSignificand, newPartsCount) + 1;
 1067|      0|  }
 1068|       |
 1069|       |  // Convert the result having "2 * precision" significant-bits back to the one
 1070|       |  // having "precision" significant-bits. First, move the radix point from 
 1071|       |  // poision "2*precision - 1" to "precision - 1". The exponent need to be
 1072|       |  // adjusted by "2*precision - 1" - "precision - 1" = "precision".
 1073|  6.15k|  exponent -= precision + 1;
 1074|       |
 1075|       |  // In case MSB resides at the left-hand side of radix point, shift the
 1076|       |  // mantissa right by some amount to make sure the MSB reside right before
 1077|       |  // the radix point (i.e. "MSB . rest-significant-bits").
 1078|       |  //
 1079|       |  // Note that the result is not normalized when "omsb < precision". So, the
 1080|       |  // caller needs to call APFloat::normalize() if normalized value is expected.
 1081|  6.15k|  if (omsb > precision) {
  ------------------
  |  Branch (1081:7): [True: 6.15k, False: 0]
  ------------------
 1082|  6.15k|    unsigned int bits, significantParts;
 1083|  6.15k|    lostFraction lf;
 1084|       |
 1085|  6.15k|    bits = omsb - precision;
 1086|  6.15k|    significantParts = partCountForBits(omsb);
 1087|  6.15k|    lf = shiftRight(fullSignificand, significantParts, bits);
 1088|  6.15k|    lost_fraction = combineLostFractions(lf, lost_fraction);
 1089|  6.15k|    exponent += bits;
 1090|  6.15k|  }
 1091|       |
 1092|  6.15k|  APInt::tcAssign(lhsSignificand, fullSignificand, partsCount);
 1093|       |
 1094|  6.15k|  if (newPartsCount > 4)
  ------------------
  |  Branch (1094:7): [True: 0, False: 6.15k]
  ------------------
 1095|      0|    delete [] fullSignificand;
 1096|       |
 1097|  6.15k|  return lost_fraction;
 1098|  6.15k|}
_ZN7llvm_ks7APFloat17divideSignificandERKS0_:
 1103|  28.8k|{
 1104|  28.8k|  unsigned int bit, i, partsCount;
 1105|  28.8k|  const integerPart *rhsSignificand;
 1106|  28.8k|  integerPart *lhsSignificand, *dividend, *divisor;
 1107|  28.8k|  integerPart scratch[4];
 1108|  28.8k|  lostFraction lost_fraction;
 1109|       |
 1110|  28.8k|  assert(semantics == rhs.semantics);
  ------------------
  |  Branch (1110:3): [True: 28.8k, False: 0]
  ------------------
 1111|       |
 1112|  28.8k|  lhsSignificand = significandParts();
 1113|  28.8k|  rhsSignificand = rhs.significandParts();
 1114|  28.8k|  partsCount = partCount();
 1115|       |
 1116|  28.8k|  if (partsCount > 2)
  ------------------
  |  Branch (1116:7): [True: 494, False: 28.3k]
  ------------------
 1117|    494|    dividend = new integerPart[partsCount * 2];
 1118|  28.3k|  else
 1119|  28.3k|    dividend = scratch;
 1120|       |
 1121|  28.8k|  divisor = dividend + partsCount;
 1122|       |
 1123|       |  /* Copy the dividend and divisor as they will be modified in-place.  */
 1124|  66.2k|  for (i = 0; i < partsCount; i++) {
  ------------------
  |  Branch (1124:15): [True: 37.3k, False: 28.8k]
  ------------------
 1125|  37.3k|    dividend[i] = lhsSignificand[i];
 1126|  37.3k|    divisor[i] = rhsSignificand[i];
 1127|  37.3k|    lhsSignificand[i] = 0;
 1128|  37.3k|  }
 1129|       |
 1130|  28.8k|  exponent -= rhs.exponent;
 1131|       |
 1132|  28.8k|  unsigned int precision = semantics->precision;
 1133|       |
 1134|       |  /* Normalize the divisor.  */
 1135|  28.8k|  bit = precision - APInt::tcMSB(divisor, partsCount) - 1;
 1136|  28.8k|  if (bit) {
  ------------------
  |  Branch (1136:7): [True: 0, False: 28.8k]
  ------------------
 1137|      0|    exponent += bit;
 1138|      0|    APInt::tcShiftLeft(divisor, partsCount, bit);
 1139|      0|  }
 1140|       |
 1141|       |  /* Normalize the dividend.  */
 1142|  28.8k|  bit = precision - APInt::tcMSB(dividend, partsCount) - 1;
 1143|  28.8k|  if (bit) {
  ------------------
  |  Branch (1143:7): [True: 0, False: 28.8k]
  ------------------
 1144|      0|    exponent -= bit;
 1145|      0|    APInt::tcShiftLeft(dividend, partsCount, bit);
 1146|      0|  }
 1147|       |
 1148|       |  /* Ensure the dividend >= divisor initially for the loop below.
 1149|       |     Incidentally, this means that the division loop below is
 1150|       |     guaranteed to set the integer bit to one.  */
 1151|  28.8k|  if (APInt::tcCompare(dividend, divisor, partsCount) < 0) {
  ------------------
  |  Branch (1151:7): [True: 24.0k, False: 4.88k]
  ------------------
 1152|  24.0k|    exponent--;
 1153|  24.0k|    APInt::tcShiftLeft(dividend, partsCount, 1);
 1154|  24.0k|    assert(APInt::tcCompare(dividend, divisor, partsCount) >= 0);
  ------------------
  |  Branch (1154:5): [True: 24.0k, False: 0]
  ------------------
 1155|  24.0k|  }
 1156|       |
 1157|       |  /* Long division.  */
 1158|  2.39M|  for (bit = precision; bit; bit -= 1) {
  ------------------
  |  Branch (1158:25): [True: 2.36M, False: 28.8k]
  ------------------
 1159|  2.36M|    if (APInt::tcCompare(dividend, divisor, partsCount) >= 0) {
  ------------------
  |  Branch (1159:9): [True: 1.23M, False: 1.12M]
  ------------------
 1160|  1.23M|      APInt::tcSubtract(dividend, divisor, 0, partsCount);
 1161|  1.23M|      APInt::tcSetBit(lhsSignificand, bit - 1);
 1162|  1.23M|    }
 1163|       |
 1164|  2.36M|    APInt::tcShiftLeft(dividend, partsCount, 1);
 1165|  2.36M|  }
 1166|       |
 1167|       |  /* Figure out the lost fraction.  */
 1168|  28.8k|  int cmp = APInt::tcCompare(dividend, divisor, partsCount);
 1169|       |
 1170|  28.8k|  if (cmp > 0)
  ------------------
  |  Branch (1170:7): [True: 8.60k, False: 20.2k]
  ------------------
 1171|  8.60k|    lost_fraction = lfMoreThanHalf;
 1172|  20.2k|  else if (cmp == 0)
  ------------------
  |  Branch (1172:12): [True: 0, False: 20.2k]
  ------------------
 1173|      0|    lost_fraction = lfExactlyHalf;
 1174|  20.2k|  else if (APInt::tcIsZero(dividend, partsCount))
  ------------------
  |  Branch (1174:12): [True: 735, False: 19.5k]
  ------------------
 1175|    735|    lost_fraction = lfExactlyZero;
 1176|  19.5k|  else
 1177|  19.5k|    lost_fraction = lfLessThanHalf;
 1178|       |
 1179|  28.8k|  if (partsCount > 2)
  ------------------
  |  Branch (1179:7): [True: 494, False: 28.3k]
  ------------------
 1180|    494|    delete [] dividend;
 1181|       |
 1182|  28.8k|  return lost_fraction;
 1183|  28.8k|}
_ZNK7llvm_ks7APFloat14significandMSBEv:
 1187|   136k|{
 1188|   136k|  return APInt::tcMSB(significandParts(), partCount());
 1189|   136k|}
_ZN7llvm_ks7APFloat21shiftSignificandRightEj:
 1200|  3.04k|{
 1201|       |  /* Our exponent should not overflow.  */
 1202|  3.04k|  assert((ExponentType) (exponent + bits) >= exponent);
  ------------------
  |  Branch (1202:3): [True: 3.04k, False: 0]
  ------------------
 1203|       |
 1204|  3.04k|  exponent += bits;
 1205|       |
 1206|  3.04k|  return shiftRight(significandParts(), partCount(), bits);
 1207|  3.04k|}
_ZN7llvm_ks7APFloat20shiftSignificandLeftEj:
 1212|  64.9k|{
 1213|  64.9k|  assert(bits < semantics->precision);
  ------------------
  |  Branch (1213:3): [True: 64.9k, False: 0]
  ------------------
 1214|       |
 1215|  64.9k|  if (bits) {
  ------------------
  |  Branch (1215:7): [True: 64.9k, False: 0]
  ------------------
 1216|  64.9k|    unsigned int partsCount = partCount();
 1217|       |
 1218|  64.9k|    APInt::tcShiftLeft(significandParts(), partsCount, bits);
 1219|  64.9k|    exponent -= bits;
 1220|       |
 1221|       |    assert(!APInt::tcIsZero(significandParts(), partsCount));
  ------------------
  |  Branch (1221:5): [True: 64.9k, False: 0]
  ------------------
 1222|  64.9k|  }
 1223|  64.9k|}
_ZN7llvm_ks7APFloat14handleOverflowENS0_12roundingModeE:
 1254|  1.28k|{
 1255|       |  /* Infinity?  */
 1256|  1.28k|  if (rounding_mode == rmNearestTiesToEven ||
  ------------------
  |  Branch (1256:7): [True: 1.28k, False: 0]
  ------------------
 1257|      0|      rounding_mode == rmNearestTiesToAway ||
  ------------------
  |  Branch (1257:7): [True: 0, False: 0]
  ------------------
 1258|      0|      (rounding_mode == rmTowardPositive && !sign) ||
  ------------------
  |  Branch (1258:8): [True: 0, False: 0]
  |  Branch (1258:45): [True: 0, False: 0]
  ------------------
 1259|  1.28k|      (rounding_mode == rmTowardNegative && sign)) {
  ------------------
  |  Branch (1259:8): [True: 0, False: 0]
  |  Branch (1259:45): [True: 0, False: 0]
  ------------------
 1260|  1.28k|    category = fcInfinity;
 1261|  1.28k|    return (opStatus) (opOverflow | opInexact);
 1262|  1.28k|  }
 1263|       |
 1264|       |  /* Otherwise we become the largest finite number.  */
 1265|      0|  category = fcNormal;
 1266|      0|  exponent = semantics->maxExponent;
 1267|      0|  APInt::tcSetLeastSignificantBits(significandParts(), partCount(),
 1268|      0|                                   semantics->precision);
 1269|       |
 1270|      0|  return opInexact;
 1271|  1.28k|}
_ZNK7llvm_ks7APFloat17roundAwayFromZeroENS0_12roundingModeENS_12lostFractionEj:
 1282|  36.5k|{
 1283|       |  /* NaNs and infinities should not have lost fractions.  */
 1284|  36.5k|  assert(isFiniteNonZero() || category == fcZero);
  ------------------
  |  Branch (1284:3): [True: 36.5k, False: 0]
  |  Branch (1284:3): [True: 0, False: 0]
  |  Branch (1284:3): [True: 36.5k, False: 0]
  ------------------
 1285|       |
 1286|       |  /* Current callers never pass this so we don't handle it.  */
 1287|  36.5k|  assert(lost_fraction != lfExactlyZero);
  ------------------
  |  Branch (1287:3): [True: 36.5k, False: 0]
  ------------------
 1288|       |
 1289|  36.5k|  switch (rounding_mode) {
  ------------------
  |  Branch (1289:11): [True: 36.5k, False: 0]
  ------------------
 1290|      0|  case rmNearestTiesToAway:
  ------------------
  |  Branch (1290:3): [True: 0, False: 36.5k]
  ------------------
 1291|      0|    return lost_fraction == lfExactlyHalf || lost_fraction == lfMoreThanHalf;
  ------------------
  |  Branch (1291:12): [True: 0, False: 0]
  |  Branch (1291:46): [True: 0, False: 0]
  ------------------
 1292|       |
 1293|  36.5k|  case rmNearestTiesToEven:
  ------------------
  |  Branch (1293:3): [True: 36.5k, False: 0]
  ------------------
 1294|  36.5k|    if (lost_fraction == lfMoreThanHalf)
  ------------------
  |  Branch (1294:9): [True: 27.8k, False: 8.65k]
  ------------------
 1295|  27.8k|      return true;
 1296|       |
 1297|       |    /* Our zeroes don't have a significand to test.  */
 1298|  8.65k|    if (lost_fraction == lfExactlyHalf && category != fcZero)
  ------------------
  |  Branch (1298:9): [True: 220, False: 8.43k]
  |  Branch (1298:43): [True: 220, False: 0]
  ------------------
 1299|    220|      return APInt::tcExtractBit(significandParts(), bit);
 1300|       |
 1301|  8.43k|    return false;
 1302|       |
 1303|      0|  case rmTowardZero:
  ------------------
  |  Branch (1303:3): [True: 0, False: 36.5k]
  ------------------
 1304|      0|    return false;
 1305|       |
 1306|      0|  case rmTowardPositive:
  ------------------
  |  Branch (1306:3): [True: 0, False: 36.5k]
  ------------------
 1307|      0|    return !sign;
 1308|       |
 1309|      0|  case rmTowardNegative:
  ------------------
  |  Branch (1309:3): [True: 0, False: 36.5k]
  ------------------
 1310|      0|    return sign;
 1311|  36.5k|  }
 1312|      0|  llvm_unreachable("Invalid rounding mode found");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 1313|  36.5k|}
_ZN7llvm_ks7APFloat9normalizeENS0_12roundingModeENS_12lostFractionE:
 1318|   107k|{
 1319|   107k|  unsigned int omsb;                /* One, not zero, based MSB.  */
 1320|   107k|  int exponentChange;
 1321|       |
 1322|   107k|  if (!isFiniteNonZero())
  ------------------
  |  Branch (1322:7): [True: 0, False: 107k]
  ------------------
 1323|      0|    return opOK;
 1324|       |
 1325|       |  /* Before rounding normalize the exponent of fcNormal numbers.  */
 1326|   107k|  omsb = significandMSB() + 1;
 1327|       |
 1328|   107k|  if (omsb) {
  ------------------
  |  Branch (1328:7): [True: 106k, False: 1.21k]
  ------------------
 1329|       |    /* OMSB is numbered from 1.  We want to place it in the integer
 1330|       |       bit numbered PRECISION if possible, with a compensating change in
 1331|       |       the exponent.  */
 1332|   106k|    exponentChange = omsb - semantics->precision;
 1333|       |
 1334|       |    /* If the resulting exponent is too high, overflow according to
 1335|       |       the rounding mode.  */
 1336|   106k|    if (exponent + exponentChange > semantics->maxExponent)
  ------------------
  |  Branch (1336:9): [True: 574, False: 106k]
  ------------------
 1337|    574|      return handleOverflow(rounding_mode);
 1338|       |
 1339|       |    /* Subnormal numbers have exponent minExponent, and their MSB
 1340|       |       is forced based on that.  */
 1341|   106k|    if (exponent + exponentChange < semantics->minExponent)
  ------------------
  |  Branch (1341:9): [True: 1.47k, False: 104k]
  ------------------
 1342|  1.47k|      exponentChange = semantics->minExponent - exponent;
 1343|       |
 1344|       |    /* Shifting left is easy as we don't lose precision.  */
 1345|   106k|    if (exponentChange < 0) {
  ------------------
  |  Branch (1345:9): [True: 64.9k, False: 41.1k]
  ------------------
 1346|  64.9k|      assert(lost_fraction == lfExactlyZero);
  ------------------
  |  Branch (1346:7): [True: 64.9k, False: 0]
  ------------------
 1347|       |
 1348|  64.9k|      shiftSignificandLeft(-exponentChange);
 1349|       |
 1350|  64.9k|      return opOK;
 1351|  64.9k|    }
 1352|       |
 1353|  41.1k|    if (exponentChange > 0) {
  ------------------
  |  Branch (1353:9): [True: 2.88k, False: 38.2k]
  ------------------
 1354|  2.88k|      lostFraction lf;
 1355|       |
 1356|       |      /* Shift right and capture any new lost fraction.  */
 1357|  2.88k|      lf = shiftSignificandRight(exponentChange);
 1358|       |
 1359|  2.88k|      lost_fraction = combineLostFractions(lf, lost_fraction);
 1360|       |
 1361|       |      /* Keep OMSB up-to-date.  */
 1362|  2.88k|      if (omsb > (unsigned) exponentChange)
  ------------------
  |  Branch (1362:11): [True: 1.50k, False: 1.38k]
  ------------------
 1363|  1.50k|        omsb -= exponentChange;
 1364|  1.38k|      else
 1365|  1.38k|        omsb = 0;
 1366|  2.88k|    }
 1367|  41.1k|  }
 1368|       |
 1369|       |  /* Now round the number according to rounding_mode given the lost
 1370|       |     fraction.  */
 1371|       |
 1372|       |  /* As specified in IEEE 754, since we do not trap we do not report
 1373|       |     underflow for exact results.  */
 1374|  42.3k|  if (lost_fraction == lfExactlyZero) {
  ------------------
  |  Branch (1374:7): [True: 5.84k, False: 36.5k]
  ------------------
 1375|       |    /* Canonicalize zeroes.  */
 1376|  5.84k|    if (omsb == 0)
  ------------------
  |  Branch (1376:9): [True: 265, False: 5.58k]
  ------------------
 1377|    265|      category = fcZero;
 1378|       |
 1379|  5.84k|    return opOK;
 1380|  5.84k|  }
 1381|       |
 1382|       |  /* Increment the significand if we're rounding away from zero.  */
 1383|  36.5k|  if (roundAwayFromZero(rounding_mode, lost_fraction, 0)) {
  ------------------
  |  Branch (1383:7): [True: 28.0k, False: 8.46k]
  ------------------
 1384|  28.0k|    if (omsb == 0)
  ------------------
  |  Branch (1384:9): [True: 269, False: 27.8k]
  ------------------
 1385|    269|      exponent = semantics->minExponent;
 1386|       |
 1387|  28.0k|    incrementSignificand();
 1388|  28.0k|    omsb = significandMSB() + 1;
 1389|       |
 1390|       |    /* Did the significand increment overflow?  */
 1391|  28.0k|    if (omsb == (unsigned) semantics->precision + 1) {
  ------------------
  |  Branch (1391:9): [True: 164, False: 27.9k]
  ------------------
 1392|       |      /* Renormalize by incrementing the exponent and shifting our
 1393|       |         significand right one.  However if we already have the
 1394|       |         maximum exponent we overflow to infinity.  */
 1395|    164|      if (exponent == semantics->maxExponent) {
  ------------------
  |  Branch (1395:11): [True: 1, False: 163]
  ------------------
 1396|      1|        category = fcInfinity;
 1397|       |
 1398|      1|        return (opStatus) (opOverflow | opInexact);
 1399|      1|      }
 1400|       |
 1401|    163|      shiftSignificandRight(1);
 1402|       |
 1403|    163|      return opInexact;
 1404|    164|    }
 1405|  28.0k|  }
 1406|       |
 1407|       |  /* The normal case - we were and are not denormal, and any
 1408|       |     significand increment above didn't overflow.  */
 1409|  36.3k|  if (omsb == semantics->precision)
  ------------------
  |  Branch (1409:7): [True: 33.9k, False: 2.42k]
  ------------------
 1410|  33.9k|    return opInexact;
 1411|       |
 1412|       |  /* We have a non-zero denormal.  */
 1413|  36.3k|  assert(omsb < semantics->precision);
  ------------------
  |  Branch (1413:3): [True: 2.42k, False: 0]
  ------------------
 1414|       |
 1415|       |  /* Canonicalize zeroes.  */
 1416|  2.42k|  if (omsb == 0)
  ------------------
  |  Branch (1416:7): [True: 2.06k, False: 363]
  ------------------
 1417|  2.06k|    category = fcZero;
 1418|       |
 1419|       |  /* The fcZero case is a denormal that underflowed to zero.  */
 1420|  2.42k|  return (opStatus) (opUnderflow | opInexact);
 1421|  2.42k|}
_ZN7llvm_ks7APFloat10changeSignEv:
 1677|  1.08k|{
 1678|       |  /* Look mummy, this one's easy.  */
 1679|  1.08k|  sign = !sign;
 1680|  1.08k|}
_ZN7llvm_ks7APFloat24convertFromUnsignedPartsEPKmjNS0_12roundingModeE:
 2297|  70.0k|{
 2298|  70.0k|  unsigned int omsb, precision, dstCount;
 2299|  70.0k|  integerPart *dst;
 2300|  70.0k|  lostFraction lost_fraction;
 2301|       |
 2302|  70.0k|  category = fcNormal;
 2303|  70.0k|  omsb = APInt::tcMSB(src, srcCount) + 1;
 2304|  70.0k|  dst = significandParts();
 2305|  70.0k|  dstCount = partCount();
 2306|  70.0k|  precision = semantics->precision;
 2307|       |
 2308|       |  /* We want the most significant PRECISION bits of SRC.  There may not
 2309|       |     be that many; extract what we can.  */
 2310|  70.0k|  if (precision <= omsb) {
  ------------------
  |  Branch (2310:7): [True: 5.10k, False: 64.9k]
  ------------------
 2311|  5.10k|    exponent = omsb - 1;
 2312|  5.10k|    lost_fraction = lostFractionThroughTruncation(src, srcCount,
 2313|  5.10k|                                                  omsb - precision);
 2314|  5.10k|    APInt::tcExtract(dst, dstCount, src, precision, omsb - precision);
 2315|  64.9k|  } else {
 2316|  64.9k|    exponent = precision - 1;
 2317|  64.9k|    lost_fraction = lfExactlyZero;
 2318|  64.9k|    APInt::tcExtract(dst, dstCount, src, omsb, 0);
 2319|  64.9k|  }
 2320|       |
 2321|  70.0k|  return normalize(rounding_mode, lost_fraction);
 2322|  70.0k|}
_ZN7llvm_ks7APFloat28convertFromHexadecimalStringENS_9StringRefENS0_12roundingModeE:
 2391|  3.72k|{
 2392|  3.72k|  lostFraction lost_fraction = lfExactlyZero;
 2393|       |
 2394|  3.72k|  category = fcNormal;
 2395|  3.72k|  zeroSignificand();
 2396|  3.72k|  exponent = 0;
 2397|       |
 2398|  3.72k|  integerPart *significand = significandParts();
 2399|  3.72k|  unsigned partsCount = partCount();
 2400|  3.72k|  unsigned bitPos = partsCount * integerPartWidth;
 2401|  3.72k|  bool computedTrailingFraction = false;
 2402|       |
 2403|       |  // Skip leading zeroes and any (hexa)decimal point.
 2404|  3.72k|  StringRef::iterator begin = s.begin();
 2405|  3.72k|  StringRef::iterator end = s.end();
 2406|  3.72k|  StringRef::iterator dot;
 2407|  3.72k|  StringRef::iterator p = skipLeadingZeroesAndAnyDot(begin, end, &dot);
 2408|  3.72k|  StringRef::iterator firstSignificantDigit = p;
 2409|       |
 2410|  34.6k|  while (p != end) {
  ------------------
  |  Branch (2410:10): [True: 34.6k, False: 0]
  ------------------
 2411|  34.6k|    integerPart hex_value;
 2412|       |
 2413|  34.6k|    if (*p == '.') {
  ------------------
  |  Branch (2413:9): [True: 353, False: 34.3k]
  ------------------
 2414|    353|      assert(dot == end && "String contains multiple dots");
  ------------------
  |  Branch (2414:7): [True: 353, False: 0]
  |  Branch (2414:7): [True: 353, Folded]
  |  Branch (2414:7): [True: 353, False: 0]
  ------------------
 2415|    353|      dot = p++;
 2416|    353|      continue;
 2417|    353|    }
 2418|       |
 2419|  34.3k|    hex_value = hexDigitValue(*p);
 2420|  34.3k|    if (hex_value == -1U)
  ------------------
  |  Branch (2420:9): [True: 3.72k, False: 30.5k]
  ------------------
 2421|  3.72k|      break;
 2422|       |
 2423|  30.5k|    p++;
 2424|       |
 2425|       |    // Store the number while we have space.
 2426|  30.5k|    if (bitPos) {
  ------------------
  |  Branch (2426:9): [True: 20.8k, False: 9.69k]
  ------------------
 2427|  20.8k|      bitPos -= 4;
 2428|  20.8k|      hex_value <<= bitPos % integerPartWidth;
 2429|  20.8k|      significand[bitPos / integerPartWidth] |= hex_value;
 2430|  20.8k|    } else if (!computedTrailingFraction) {
  ------------------
  |  Branch (2430:16): [True: 819, False: 8.87k]
  ------------------
 2431|    819|      lost_fraction = trailingHexadecimalFraction(p, end, hex_value);
 2432|    819|      computedTrailingFraction = true;
 2433|    819|    }
 2434|  30.5k|  }
 2435|       |
 2436|       |  /* Hex floats require an exponent but not a hexadecimal point.  */
 2437|  3.72k|  assert(p != end && "Hex strings require an exponent");
  ------------------
  |  Branch (2437:3): [True: 3.72k, False: 0]
  |  Branch (2437:3): [True: 3.72k, Folded]
  |  Branch (2437:3): [True: 3.72k, False: 0]
  ------------------
 2438|  3.72k|  assert((*p == 'p' || *p == 'P') && "Invalid character in significand");
  ------------------
  |  Branch (2438:3): [True: 2.86k, False: 863]
  |  Branch (2438:3): [True: 863, False: 0]
  |  Branch (2438:3): [True: 3.72k, Folded]
  |  Branch (2438:3): [True: 3.72k, False: 0]
  ------------------
 2439|  3.72k|  assert(p != begin && "Significand has no digits");
  ------------------
  |  Branch (2439:3): [True: 3.72k, False: 0]
  |  Branch (2439:3): [True: 3.72k, Folded]
  |  Branch (2439:3): [True: 3.72k, False: 0]
  ------------------
 2440|  3.72k|  assert((dot == end || p - begin != 1) && "Significand has no digits");
  ------------------
  |  Branch (2440:3): [True: 3.03k, False: 689]
  |  Branch (2440:3): [True: 689, False: 0]
  |  Branch (2440:3): [True: 3.72k, Folded]
  |  Branch (2440:3): [True: 3.72k, False: 0]
  ------------------
 2441|       |
 2442|       |  /* Ignore the exponent if we are zero.  */
 2443|  3.72k|  if (p != firstSignificantDigit) {
  ------------------
  |  Branch (2443:7): [True: 3.45k, False: 265]
  ------------------
 2444|  3.45k|    int expAdjustment;
 2445|       |
 2446|       |    /* Implicit hexadecimal point?  */
 2447|  3.45k|    if (dot == end)
  ------------------
  |  Branch (2447:9): [True: 2.81k, False: 647]
  ------------------
 2448|  2.81k|      dot = p;
 2449|       |
 2450|       |    /* Calculate the exponent adjustment implicit in the number of
 2451|       |       significant digits.  */
 2452|  3.45k|    expAdjustment = static_cast<int>(dot - firstSignificantDigit);
 2453|  3.45k|    if (expAdjustment < 0)
  ------------------
  |  Branch (2453:9): [True: 294, False: 3.16k]
  ------------------
 2454|    294|      expAdjustment++;
 2455|  3.45k|    expAdjustment = expAdjustment * 4 - 1;
 2456|       |
 2457|       |    /* Adjust for writing the significand starting at the most
 2458|       |       significant nibble.  */
 2459|  3.45k|    expAdjustment += semantics->precision;
 2460|  3.45k|    expAdjustment -= partsCount * integerPartWidth;
 2461|       |
 2462|       |    /* Adjust for the given exponent.  */
 2463|  3.45k|    exponent = totalExponent(p + 1, end, expAdjustment);
 2464|  3.45k|  }
 2465|       |
 2466|  3.72k|  return normalize(rounding_mode, lost_fraction);
 2467|  3.72k|}
_ZN7llvm_ks7APFloat28roundSignificandWithExponentEPKmjiNS0_12roundingModeE:
 2473|  33.5k|{
 2474|  33.5k|  unsigned int parts, pow5PartCount;
 2475|  33.5k|  fltSemantics calcSemantics = { 32767, -32767, 0, 0 };
 2476|  33.5k|  integerPart pow5Parts[maxPowerOfFiveParts];
 2477|  33.5k|  bool isNearest;
 2478|       |
 2479|  33.5k|  isNearest = (rounding_mode == rmNearestTiesToEven ||
  ------------------
  |  Branch (2479:16): [True: 33.5k, False: 0]
  ------------------
 2480|      0|               rounding_mode == rmNearestTiesToAway);
  ------------------
  |  Branch (2480:16): [True: 0, False: 0]
  ------------------
 2481|       |
 2482|  33.5k|  parts = partCountForBits(semantics->precision + 11);
 2483|       |
 2484|       |  /* Calculate pow(5, abs(exp)).  */
 2485|  33.5k|  pow5PartCount = powerOf5(pow5Parts, exp >= 0 ? exp: -exp);
  ------------------
  |  Branch (2485:39): [True: 6.10k, False: 27.4k]
  ------------------
 2486|       |
 2487|  35.0k|  for (;; parts *= 2) {
 2488|  35.0k|    opStatus sigStatus, powStatus;
 2489|  35.0k|    unsigned int excessPrecision, truncatedBits;
 2490|       |
 2491|  35.0k|    calcSemantics.precision = parts * integerPartWidth - 1;
 2492|  35.0k|    excessPrecision = calcSemantics.precision - semantics->precision;
 2493|  35.0k|    truncatedBits = excessPrecision;
 2494|       |
 2495|  35.0k|    APFloat decSig = APFloat::getZero(calcSemantics, sign);
 2496|  35.0k|    APFloat pow5(calcSemantics);
 2497|       |
 2498|  35.0k|    sigStatus = decSig.convertFromUnsignedParts(decSigParts, sigPartCount,
 2499|  35.0k|                                                rmNearestTiesToEven);
 2500|  35.0k|    powStatus = pow5.convertFromUnsignedParts(pow5Parts, pow5PartCount,
 2501|  35.0k|                                              rmNearestTiesToEven);
 2502|       |    /* Add exp, as 10^n = 5^n * 2^n.  */
 2503|  35.0k|    decSig.exponent += exp;
 2504|       |
 2505|  35.0k|    lostFraction calcLostFraction;
 2506|  35.0k|    integerPart HUerr, HUdistance;
 2507|  35.0k|    unsigned int powHUerr;
 2508|       |
 2509|  35.0k|    if (exp >= 0) {
  ------------------
  |  Branch (2509:9): [True: 6.15k, False: 28.8k]
  ------------------
 2510|       |      /* multiplySignificand leaves the precision-th bit set to 1.  */
 2511|  6.15k|      calcLostFraction = decSig.multiplySignificand(pow5, nullptr);
 2512|  6.15k|      powHUerr = powStatus != opOK;
 2513|  28.8k|    } else {
 2514|  28.8k|      calcLostFraction = decSig.divideSignificand(pow5);
 2515|       |      /* Denormal numbers have less precision.  */
 2516|  28.8k|      if (decSig.exponent < semantics->minExponent) {
  ------------------
  |  Branch (2516:11): [True: 491, False: 28.3k]
  ------------------
 2517|    491|        excessPrecision += (semantics->minExponent - decSig.exponent);
 2518|    491|        truncatedBits = excessPrecision;
 2519|    491|        if (excessPrecision > calcSemantics.precision)
  ------------------
  |  Branch (2519:13): [True: 128, False: 363]
  ------------------
 2520|    128|          excessPrecision = calcSemantics.precision;
 2521|    491|      }
 2522|       |      /* Extra half-ulp lost in reciprocal of exponent.  */
 2523|  28.8k|      powHUerr = (powStatus == opOK && calcLostFraction == lfExactlyZero) ? 0:2;
  ------------------
  |  Branch (2523:19): [True: 27.2k, False: 1.67k]
  |  Branch (2523:40): [True: 713, False: 26.5k]
  ------------------
 2524|  28.8k|    }
 2525|       |
 2526|       |    /* Both multiplySignificand and divideSignificand return the
 2527|       |       result with the integer bit set.  */
 2528|  35.0k|    assert(APInt::tcExtractBit
  ------------------
  |  Branch (2528:5): [True: 35.0k, False: 0]
  ------------------
 2529|  35.0k|           (decSig.significandParts(), calcSemantics.precision - 1) == 1);
 2530|       |
 2531|  35.0k|    HUerr = HUerrBound(calcLostFraction != lfExactlyZero, sigStatus != opOK,
 2532|  35.0k|                       powHUerr);
 2533|  35.0k|    HUdistance = 2 * ulpsFromBoundary(decSig.significandParts(),
 2534|  35.0k|                                      excessPrecision, isNearest);
 2535|       |
 2536|       |    /* Are we guaranteed to round correctly if we truncate?  */
 2537|  35.0k|    if (HUdistance >= HUerr) {
  ------------------
  |  Branch (2537:9): [True: 33.5k, False: 1.46k]
  ------------------
 2538|  33.5k|      APInt::tcExtract(significandParts(), partCount(), decSig.significandParts(),
 2539|  33.5k|                       calcSemantics.precision - excessPrecision,
 2540|  33.5k|                       excessPrecision);
 2541|       |      /* Take the exponent of decSig.  If we tcExtract-ed less bits
 2542|       |         above we must adjust our exponent to compensate for the
 2543|       |         implicit right shift.  */
 2544|  33.5k|      exponent = (decSig.exponent + semantics->precision
 2545|  33.5k|                  - (calcSemantics.precision - excessPrecision));
 2546|  33.5k|      calcLostFraction = lostFractionThroughTruncation(decSig.significandParts(),
 2547|  33.5k|                                                       decSig.partCount(),
 2548|  33.5k|                                                       truncatedBits);
 2549|  33.5k|      return normalize(rounding_mode, calcLostFraction);
 2550|  33.5k|    }
 2551|  35.0k|  }
 2552|  33.5k|}
_ZN7llvm_ks7APFloat24convertFromDecimalStringENS_9StringRefENS0_12roundingModeE:
 2556|  36.9k|{
 2557|  36.9k|  decimalInfo D;
 2558|  36.9k|  opStatus fs;
 2559|       |
 2560|       |  /* Scan the text.  */
 2561|  36.9k|  StringRef::iterator p = str.begin();
 2562|  36.9k|  fs = interpretDecimal(p, str.end(), &D);
 2563|  36.9k|  if (fs != opOK)
  ------------------
  |  Branch (2563:7): [True: 478, False: 36.4k]
  ------------------
 2564|    478|      return fs;
 2565|       |
 2566|       |  /* Handle the quick cases.  First the case of no significant digits,
 2567|       |     i.e. zero, and then exponents that are obviously too large or too
 2568|       |     small.  Writing L for log 10 / log 2, a number d.ddddd*10^exp
 2569|       |     definitely overflows if
 2570|       |
 2571|       |           (exp - 1) * L >= maxExponent
 2572|       |
 2573|       |     and definitely underflows to zero where
 2574|       |
 2575|       |           (exp + 1) * L <= minExponent - precision
 2576|       |
 2577|       |     With integer arithmetic the tightest bounds for L are
 2578|       |
 2579|       |           93/28 < L < 196/59            [ numerator <= 256 ]
 2580|       |           42039/12655 < L < 28738/8651  [ numerator <= 65536 ]
 2581|       |  */
 2582|       |
 2583|       |  // Test if we have a zero number allowing for strings with no null terminators
 2584|       |  // and zero decimals with non-zero exponents.
 2585|       |  // 
 2586|       |  // We computed firstSigDigit by ignoring all zeros and dots. Thus if
 2587|       |  // D->firstSigDigit equals str.end(), every digit must be a zero and there can
 2588|       |  // be at most one dot. On the other hand, if we have a zero with a non-zero
 2589|       |  // exponent, then we know that D.firstSigDigit will be non-numeric.
 2590|  36.4k|  if (D.firstSigDigit == str.end() || decDigitValue(*D.firstSigDigit) >= 10U) {
  ------------------
  |  Branch (2590:7): [True: 1.47k, False: 35.0k]
  |  Branch (2590:39): [True: 172, False: 34.8k]
  ------------------
 2591|  1.65k|    category = fcZero;
 2592|  1.65k|    fs = opOK;
 2593|       |
 2594|       |  /* Check whether the normalized exponent is high enough to overflow
 2595|       |     max during the log-rebasing in the max-exponent check below. */
 2596|  34.8k|  } else if (D.normalizedExponent - 1 > INT_MAX / 42039) {
  ------------------
  |  Branch (2596:14): [True: 347, False: 34.4k]
  ------------------
 2597|    347|    fs = handleOverflow(rounding_mode);
 2598|       |
 2599|       |  /* If it wasn't, then it also wasn't high enough to overflow max
 2600|       |     during the log-rebasing in the min-exponent check.  Check that it
 2601|       |     won't overflow min in either check, then perform the min-exponent
 2602|       |     check. */
 2603|  34.4k|  } else if (D.normalizedExponent - 1 < INT_MIN / 42039 ||
  ------------------
  |  Branch (2603:14): [True: 118, False: 34.3k]
  ------------------
 2604|  34.3k|             (D.normalizedExponent + 1) * 28738 <=
  ------------------
  |  Branch (2604:14): [True: 437, False: 33.9k]
  ------------------
 2605|  34.3k|               8651 * (semantics->minExponent - (int) semantics->precision)) {
 2606|       |    /* Underflow to zero and round.  */
 2607|    555|    category = fcNormal;
 2608|    555|    zeroSignificand();
 2609|    555|    fs = normalize(rounding_mode, lfLessThanHalf);
 2610|       |
 2611|       |  /* We can finally safely perform the max-exponent check. */
 2612|  33.9k|  } else if ((D.normalizedExponent - 1) * 42039
  ------------------
  |  Branch (2612:14): [True: 359, False: 33.5k]
  ------------------
 2613|  33.9k|             >= 12655 * semantics->maxExponent) {
 2614|       |    /* Overflow and round.  */
 2615|    359|    fs = handleOverflow(rounding_mode);
 2616|  33.5k|  } else {
 2617|  33.5k|    integerPart *decSignificand;
 2618|  33.5k|    unsigned int partCount;
 2619|       |
 2620|       |    /* A tight upper bound on number of bits required to hold an
 2621|       |       N-digit decimal integer is N * 196 / 59.  Allocate enough space
 2622|       |       to hold the full significand, and an extra part required by
 2623|       |       tcMultiplyPart.  */
 2624|  33.5k|    partCount = static_cast<unsigned int>(D.lastSigDigit - D.firstSigDigit) + 1;
 2625|  33.5k|    partCount = partCountForBits(1 + 196 * partCount / 59);
 2626|  33.5k|    decSignificand = new integerPart[partCount + 1];
 2627|  33.5k|    partCount = 0;
 2628|       |
 2629|       |    /* Convert to binary efficiently - we do almost all multiplication
 2630|       |       in an integerPart.  When this would overflow do we do a single
 2631|       |       bignum multiplication, and then revert again to multiplication
 2632|       |       in an integerPart.  */
 2633|  39.0k|    do {
 2634|  39.0k|      integerPart decValue, val, multiplier;
 2635|       |
 2636|  39.0k|      val = 0;
 2637|  39.0k|      multiplier = 1;
 2638|       |
 2639|   181k|      do {
 2640|   181k|        if (*p == '.') {
  ------------------
  |  Branch (2640:13): [True: 30.6k, False: 150k]
  ------------------
 2641|  30.6k|          p++;
 2642|  30.6k|          if (p == str.end()) {
  ------------------
  |  Branch (2642:15): [True: 0, False: 30.6k]
  ------------------
 2643|      0|            break;
 2644|      0|          }
 2645|  30.6k|        }
 2646|   181k|        decValue = decDigitValue(*p++);
 2647|   181k|        assert(decValue < 10U && "Invalid character in significand");
  ------------------
  |  Branch (2647:9): [True: 181k, False: 0]
  |  Branch (2647:9): [True: 181k, Folded]
  |  Branch (2647:9): [True: 181k, False: 0]
  ------------------
 2648|   181k|        multiplier *= 10;
 2649|   181k|        val = val * 10 + decValue;
 2650|       |        /* The maximum number that can be multiplied by ten with any
 2651|       |           digit added without overflowing an integerPart.  */
 2652|   181k|      } while (p <= D.lastSigDigit && multiplier <= (~ (integerPart) 0 - 9) / 10);
  ------------------
  |  Branch (2652:16): [True: 147k, False: 33.5k]
  |  Branch (2652:39): [True: 142k, False: 5.42k]
  ------------------
 2653|       |
 2654|       |      /* Multiply out the current part.  */
 2655|  39.0k|      APInt::tcMultiplyPart(decSignificand, decSignificand, multiplier, val,
 2656|  39.0k|                            partCount, partCount + 1, false);
 2657|       |
 2658|       |      /* If we used another part (likely but not guaranteed), increase
 2659|       |         the count.  */
 2660|  39.0k|      if (decSignificand[partCount])
  ------------------
  |  Branch (2660:11): [True: 38.4k, False: 584]
  ------------------
 2661|  38.4k|        partCount++;
 2662|  39.0k|    } while (p <= D.lastSigDigit);
  ------------------
  |  Branch (2662:14): [True: 5.42k, False: 33.5k]
  ------------------
 2663|       |
 2664|  33.5k|    category = fcNormal;
 2665|  33.5k|    fs = roundSignificandWithExponent(decSignificand, partCount,
 2666|  33.5k|                                      D.exponent, rounding_mode);
 2667|       |
 2668|  33.5k|    delete [] decSignificand;
 2669|  33.5k|  }
 2670|       |
 2671|  36.4k|  return fs;
 2672|  36.4k|}
_ZN7llvm_ks7APFloat25convertFromStringSpecialsENS_9StringRefE:
 2675|  40.6k|APFloat::convertFromStringSpecials(StringRef str) {
 2676|  40.6k|  if (str.equals("inf") || str.equals("INFINITY")) {
  ------------------
  |  Branch (2676:7): [True: 0, False: 40.6k]
  |  Branch (2676:7): [True: 0, False: 40.6k]
  |  Branch (2676:28): [True: 0, False: 40.6k]
  ------------------
 2677|      0|    makeInf(false);
 2678|      0|    return true;
 2679|      0|  }
 2680|       |
 2681|  40.6k|  if (str.equals("-inf") || str.equals("-INFINITY")) {
  ------------------
  |  Branch (2681:7): [True: 0, False: 40.6k]
  |  Branch (2681:7): [True: 0, False: 40.6k]
  |  Branch (2681:29): [True: 0, False: 40.6k]
  ------------------
 2682|      0|    makeInf(true);
 2683|      0|    return true;
 2684|      0|  }
 2685|       |
 2686|  40.6k|  if (str.equals("nan") || str.equals("NaN")) {
  ------------------
  |  Branch (2686:7): [True: 0, False: 40.6k]
  |  Branch (2686:7): [True: 0, False: 40.6k]
  |  Branch (2686:28): [True: 0, False: 40.6k]
  ------------------
 2687|      0|    makeNaN(false, false);
 2688|      0|    return true;
 2689|      0|  }
 2690|       |
 2691|  40.6k|  if (str.equals("-nan") || str.equals("-NaN")) {
  ------------------
  |  Branch (2691:7): [True: 0, False: 40.6k]
  |  Branch (2691:7): [True: 0, False: 40.6k]
  |  Branch (2691:29): [True: 0, False: 40.6k]
  ------------------
 2692|      0|    makeNaN(false, true);
 2693|      0|    return true;
 2694|      0|  }
 2695|       |
 2696|  40.6k|  return false;
 2697|  40.6k|}
_ZN7llvm_ks7APFloat17convertFromStringENS_9StringRefENS0_12roundingModeE:
 2701|  40.6k|{
 2702|  40.6k|  assert(!str.empty() && "Invalid string length");
  ------------------
  |  Branch (2702:3): [True: 40.6k, False: 0]
  |  Branch (2702:3): [True: 40.6k, Folded]
  |  Branch (2702:3): [True: 40.6k, False: 0]
  ------------------
 2703|       |
 2704|       |  // Handle special cases.
 2705|  40.6k|  if (convertFromStringSpecials(str))
  ------------------
  |  Branch (2705:7): [True: 0, False: 40.6k]
  ------------------
 2706|      0|    return opOK;
 2707|       |
 2708|       |  /* Handle a leading minus sign.  */
 2709|  40.6k|  StringRef::iterator p = str.begin();
 2710|  40.6k|  size_t slen = str.size();
 2711|  40.6k|  sign = *p == '-' ? 1 : 0;
  ------------------
  |  Branch (2711:10): [True: 0, False: 40.6k]
  ------------------
 2712|  40.6k|  if (*p == '-' || *p == '+') {
  ------------------
  |  Branch (2712:7): [True: 0, False: 40.6k]
  |  Branch (2712:20): [True: 0, False: 40.6k]
  ------------------
 2713|      0|    p++;
 2714|      0|    slen--;
 2715|      0|    assert(slen && "String has no digits");
  ------------------
  |  Branch (2715:5): [True: 0, False: 0]
  |  Branch (2715:5): [True: 0, Folded]
  |  Branch (2715:5): [True: 0, False: 0]
  ------------------
 2716|      0|  }
 2717|       |
 2718|  40.6k|  if (slen >= 2 && p[0] == '0' && (p[1] == 'x' || p[1] == 'X')) {
  ------------------
  |  Branch (2718:7): [True: 38.4k, False: 2.20k]
  |  Branch (2718:20): [True: 4.45k, False: 34.0k]
  |  Branch (2718:36): [True: 3.19k, False: 1.25k]
  |  Branch (2718:51): [True: 524, False: 727]
  ------------------
 2719|  3.72k|    assert(slen - 2 && "Invalid string");
  ------------------
  |  Branch (2719:5): [True: 3.72k, False: 0]
  |  Branch (2719:5): [True: 3.72k, Folded]
  |  Branch (2719:5): [True: 3.72k, False: 0]
  ------------------
 2720|  3.72k|    return convertFromHexadecimalString(StringRef(p + 2, slen - 2),
 2721|  3.72k|                                        rounding_mode);
 2722|  3.72k|  }
 2723|       |
 2724|  36.9k|  return convertFromDecimalString(StringRef(p, slen), rounding_mode);
 2725|  40.6k|}
_ZNK7llvm_ks7APFloat27convertDoubleAPFloatToAPIntEv:
 3048|  36.5k|{
 3049|  36.5k|  assert(semantics == (const llvm_ks::fltSemantics*)&IEEEdouble);
  ------------------
  |  Branch (3049:3): [True: 36.5k, False: 0]
  ------------------
 3050|  36.5k|  assert(partCount()==1);
  ------------------
  |  Branch (3050:3): [True: 36.5k, False: 0]
  ------------------
 3051|       |
 3052|  36.5k|  uint64_t myexponent, mysignificand;
 3053|       |
 3054|  36.5k|  if (isFiniteNonZero()) {
  ------------------
  |  Branch (3054:7): [True: 32.1k, False: 4.45k]
  ------------------
 3055|  32.1k|    myexponent = exponent+1023; //bias
 3056|  32.1k|    mysignificand = *significandParts();
 3057|  32.1k|    if (myexponent==1 && !(mysignificand & 0x10000000000000LL))
  ------------------
  |  Branch (3057:9): [True: 415, False: 31.7k]
  |  Branch (3057:26): [True: 339, False: 76]
  ------------------
 3058|    339|      myexponent = 0;   // denormal
 3059|  32.1k|  } else if (category==fcZero) {
  ------------------
  |  Branch (3059:14): [True: 3.08k, False: 1.36k]
  ------------------
 3060|  3.08k|    myexponent = 0;
 3061|  3.08k|    mysignificand = 0;
 3062|  3.08k|  } else if (category==fcInfinity) {
  ------------------
  |  Branch (3062:14): [True: 1.30k, False: 54]
  ------------------
 3063|  1.30k|    myexponent = 0x7ff;
 3064|  1.30k|    mysignificand = 0;
 3065|  1.30k|  } else {
 3066|     54|    assert(category == fcNaN && "Unknown category!");
  ------------------
  |  Branch (3066:5): [True: 54, False: 0]
  |  Branch (3066:5): [True: 54, Folded]
  |  Branch (3066:5): [True: 54, False: 0]
  ------------------
 3067|     54|    myexponent = 0x7ff;
 3068|     54|    mysignificand = *significandParts();
 3069|     54|  }
 3070|       |
 3071|  36.5k|  return APInt(64, ((((uint64_t)(sign & 1) << 63) |
 3072|  36.5k|                     ((myexponent & 0x7ff) <<  52) |
 3073|  36.5k|                     (mysignificand & 0xfffffffffffffLL))));
 3074|  36.5k|}
_ZNK7llvm_ks7APFloat26convertFloatAPFloatToAPIntEv:
 3078|  5.15k|{
 3079|  5.15k|  assert(semantics == (const llvm_ks::fltSemantics*)&IEEEsingle);
  ------------------
  |  Branch (3079:3): [True: 5.15k, False: 0]
  ------------------
 3080|  5.15k|  assert(partCount()==1);
  ------------------
  |  Branch (3080:3): [True: 5.15k, False: 0]
  ------------------
 3081|       |
 3082|  5.15k|  uint32_t myexponent, mysignificand;
 3083|       |
 3084|  5.15k|  if (isFiniteNonZero()) {
  ------------------
  |  Branch (3084:7): [True: 3.19k, False: 1.96k]
  ------------------
 3085|  3.19k|    myexponent = exponent+127; //bias
 3086|  3.19k|    mysignificand = (uint32_t)*significandParts();
 3087|  3.19k|    if (myexponent == 1 && !(mysignificand & 0x800000))
  ------------------
  |  Branch (3087:9): [True: 43, False: 3.15k]
  |  Branch (3087:28): [True: 24, False: 19]
  ------------------
 3088|     24|      myexponent = 0;   // denormal
 3089|  3.19k|  } else if (category==fcZero) {
  ------------------
  |  Branch (3089:14): [True: 912, False: 1.04k]
  ------------------
 3090|    912|    myexponent = 0;
 3091|    912|    mysignificand = 0;
 3092|  1.04k|  } else if (category==fcInfinity) {
  ------------------
  |  Branch (3092:14): [True: 639, False: 410]
  ------------------
 3093|    639|    myexponent = 0xff;
 3094|    639|    mysignificand = 0;
 3095|    639|  } else {
 3096|    410|    assert(category == fcNaN && "Unknown category!");
  ------------------
  |  Branch (3096:5): [True: 410, False: 0]
  |  Branch (3096:5): [True: 410, Folded]
  |  Branch (3096:5): [True: 410, False: 0]
  ------------------
 3097|    410|    myexponent = 0xff;
 3098|    410|    mysignificand = (uint32_t)*significandParts();
 3099|    410|  }
 3100|       |
 3101|  5.15k|  return APInt(32, (((sign&1) << 31) | ((myexponent&0xff) << 23) |
 3102|  5.15k|                    (mysignificand & 0x7fffff)));
 3103|  5.15k|}
_ZNK7llvm_ks7APFloat14bitcastToAPIntEv:
 3140|  41.7k|{
 3141|  41.7k|  if (semantics == (const llvm_ks::fltSemantics*)&IEEEhalf)
  ------------------
  |  Branch (3141:7): [True: 0, False: 41.7k]
  ------------------
 3142|      0|    return convertHalfAPFloatToAPInt();
 3143|       |
 3144|  41.7k|  if (semantics == (const llvm_ks::fltSemantics*)&IEEEsingle)
  ------------------
  |  Branch (3144:7): [True: 5.15k, False: 36.5k]
  ------------------
 3145|  5.15k|    return convertFloatAPFloatToAPInt();
 3146|       |
 3147|  36.5k|  if (semantics == (const llvm_ks::fltSemantics*)&IEEEdouble)
  ------------------
  |  Branch (3147:7): [True: 36.5k, False: 0]
  ------------------
 3148|  36.5k|    return convertDoubleAPFloatToAPInt();
 3149|       |
 3150|      0|  if (semantics == (const llvm_ks::fltSemantics*)&IEEEquad)
  ------------------
  |  Branch (3150:7): [True: 0, False: 0]
  ------------------
 3151|      0|    return convertQuadrupleAPFloatToAPInt();
 3152|       |
 3153|      0|  if (semantics == (const llvm_ks::fltSemantics*)&PPCDoubleDouble)
  ------------------
  |  Branch (3153:7): [True: 0, False: 0]
  ------------------
 3154|      0|    return convertPPCDoubleDoubleAPFloatToAPInt();
 3155|       |
 3156|      0|  assert(semantics == (const llvm_ks::fltSemantics*)&x87DoubleExtended &&
  ------------------
  |  Branch (3156:3): [True: 0, False: 0]
  |  Branch (3156:3): [True: 0, Folded]
  |  Branch (3156:3): [True: 0, False: 0]
  ------------------
 3157|      0|         "unknown format!");
 3158|      0|  return convertF80LongDoubleAPFloatToAPInt();
 3159|      0|}
_ZN7llvm_ks7APFloat7makeInfEb:
 3968|    639|APFloat::makeInf(bool Negative) {
 3969|    639|  category = fcInfinity;
 3970|    639|  sign = Negative;
 3971|    639|  exponent = semantics->maxExponent + 1;
 3972|    639|  APInt::tcSet(significandParts(), 0, partCount());
 3973|    639|}
_ZN7llvm_ks7APFloat8makeZeroEb:
 3976|  35.0k|APFloat::makeZero(bool Negative) {
 3977|  35.0k|  category = fcZero;
 3978|  35.0k|  sign = Negative;
 3979|  35.0k|  exponent = semantics->minExponent-1;
 3980|  35.0k|  APInt::tcSet(significandParts(), 0, partCount());  
 3981|  35.0k|}
APFloat.cpp:_ZL26skipLeadingZeroesAndAnyDotPKcS0_PS0_:
  236|  40.6k|{
  237|  40.6k|  StringRef::iterator p = begin;
  238|  40.6k|  *dot = end;
  239|  45.9k|  while (p != end && *p == '0')
  ------------------
  |  Branch (239:10): [True: 45.1k, False: 731]
  |  Branch (239:22): [True: 5.23k, False: 39.9k]
  ------------------
  240|  5.23k|    p++;
  241|       |
  242|  40.6k|  if (p != end && *p == '.') {
  ------------------
  |  Branch (242:7): [True: 39.9k, False: 731]
  |  Branch (242:19): [True: 33.6k, False: 6.29k]
  ------------------
  243|  33.6k|    *dot = p++;
  244|       |
  245|  33.6k|    assert(end - begin != 1 && "Significand has no digits");
  ------------------
  |  Branch (245:5): [True: 33.6k, False: 0]
  |  Branch (245:5): [True: 33.6k, Folded]
  |  Branch (245:5): [True: 33.6k, False: 0]
  ------------------
  246|       |
  247|  61.2k|    while (p != end && *p == '0')
  ------------------
  |  Branch (247:12): [True: 60.5k, False: 747]
  |  Branch (247:24): [True: 27.5k, False: 32.9k]
  ------------------
  248|  27.5k|      p++;
  249|  33.6k|  }
  250|       |
  251|  40.6k|  return p;
  252|  40.6k|}
APFloat.cpp:_ZL13decDigitValuej:
  109|   426k|{
  110|   426k|  return c - '0';
  111|   426k|}
APFloat.cpp:_ZL12readExponentPKcS0_RN7llvm_ks7APFloat8opStatusE:
  120|  6.28k|{
  121|  6.28k|  bool isNegative;
  122|  6.28k|  unsigned int absExponent;
  123|  6.28k|  const unsigned int overlargeExponent = 24000;  /* FIXME.  */
  124|  6.28k|  StringRef::iterator p = begin;
  125|       |
  126|  6.28k|  fp = APFloat::opOK;
  127|       |
  128|       |  //assert(p != end && "Exponent has no digits"); // qq
  129|  6.28k|  if (p == end) {
  ------------------
  |  Branch (129:7): [True: 195, False: 6.08k]
  ------------------
  130|    195|      fp = APFloat::opInvalidOp;
  131|    195|      return 0;
  132|    195|  }
  133|       |
  134|  6.08k|  isNegative = (*p == '-');
  135|  6.08k|  if (*p == '-' || *p == '+') {
  ------------------
  |  Branch (135:7): [True: 1.51k, False: 4.57k]
  |  Branch (135:20): [True: 397, False: 4.17k]
  ------------------
  136|  1.90k|    p++;
  137|       |    //assert(p != end && "Exponent has no digits");
  138|  1.90k|    if (p == end) {
  ------------------
  |  Branch (138:9): [True: 274, False: 1.63k]
  ------------------
  139|    274|      fp = APFloat::opInvalidOp;
  140|    274|      return 0;
  141|    274|    }
  142|  1.90k|  }
  143|       |
  144|  5.81k|  absExponent = decDigitValue(*p++);
  145|       |  //assert(absExponent < 10U && "Invalid character in exponent");
  146|  5.81k|  if (absExponent >= 10U) {
  ------------------
  |  Branch (146:7): [True: 3, False: 5.80k]
  ------------------
  147|      3|      fp = APFloat::opInvalidOp;
  148|      3|      return 0;
  149|      3|  }
  150|       |
  151|  16.1k|  for (; p != end; ++p) {
  ------------------
  |  Branch (151:10): [True: 10.6k, False: 5.46k]
  ------------------
  152|  10.6k|    unsigned int value;
  153|       |
  154|  10.6k|    value = decDigitValue(*p);
  155|       |    //assert(value < 10U && "Invalid character in exponent");
  156|  10.6k|    if (value >= 10U) {
  ------------------
  |  Branch (156:9): [True: 2, False: 10.6k]
  ------------------
  157|      2|        fp = APFloat::opInvalidOp;
  158|      2|        return 0;
  159|      2|    }
  160|       |
  161|  10.6k|    value += absExponent * 10;
  162|  10.6k|    if (absExponent >= overlargeExponent) {
  ------------------
  |  Branch (162:9): [True: 338, False: 10.3k]
  ------------------
  163|    338|      absExponent = overlargeExponent;
  164|    338|      p = end;  /* outwit assert below */
  165|    338|      break;
  166|    338|    }
  167|  10.3k|    absExponent = value;
  168|  10.3k|  }
  169|       |
  170|       |  //assert(p == end && "Invalid exponent in exponent");
  171|  5.80k|  if (p != end) {
  ------------------
  |  Branch (171:7): [True: 0, False: 5.80k]
  ------------------
  172|      0|      fp = APFloat::opInvalidOp;
  173|      0|      return 0;
  174|      0|  }
  175|       |
  176|  5.80k|  if (isNegative)
  ------------------
  |  Branch (176:7): [True: 1.38k, False: 4.41k]
  ------------------
  177|  1.38k|    return -(int) absExponent;
  178|  4.41k|  else
  179|  4.41k|    return (int) absExponent;
  180|  5.80k|}
APFloat.cpp:_ZL16partCountForBitsj:
  102|  1.48M|{
  103|  1.48M|  return ((bits) + integerPartWidth - 1) / integerPartWidth;
  104|  1.48M|}
APFloat.cpp:_ZL10shiftRightPmjj:
  401|  9.19k|{
  402|  9.19k|  lostFraction lost_fraction;
  403|       |
  404|  9.19k|  lost_fraction = lostFractionThroughTruncation(dst, parts, bits);
  405|       |
  406|  9.19k|  APInt::tcShiftRight(dst, parts, bits);
  407|       |
  408|  9.19k|  return lost_fraction;
  409|  9.19k|}
APFloat.cpp:_ZL20combineLostFractionsN7llvm_ks12lostFractionES0_:
  415|  9.03k|{
  416|  9.03k|  if (lessSignificant != lfExactlyZero) {
  ------------------
  |  Branch (416:7): [True: 603, False: 8.43k]
  ------------------
  417|    603|    if (moreSignificant == lfExactlyZero)
  ------------------
  |  Branch (417:9): [True: 148, False: 455]
  ------------------
  418|    148|      moreSignificant = lfLessThanHalf;
  419|    455|    else if (moreSignificant == lfExactlyHalf)
  ------------------
  |  Branch (419:14): [True: 11, False: 444]
  ------------------
  420|     11|      moreSignificant = lfMoreThanHalf;
  421|    603|  }
  422|       |
  423|  9.03k|  return moreSignificant;
  424|  9.03k|}
APFloat.cpp:_ZL29lostFractionThroughTruncationPKmjj:
  381|  47.8k|{
  382|  47.8k|  unsigned int lsb;
  383|       |
  384|  47.8k|  lsb = APInt::tcLSB(parts, partCount);
  385|       |
  386|       |  /* Note this is guaranteed true if bits == 0, or LSB == -1U.  */
  387|  47.8k|  if (bits <= lsb)
  ------------------
  |  Branch (387:7): [True: 11.0k, False: 36.8k]
  ------------------
  388|  11.0k|    return lfExactlyZero;
  389|  36.8k|  if (bits == lsb + 1)
  ------------------
  |  Branch (389:7): [True: 351, False: 36.5k]
  ------------------
  390|    351|    return lfExactlyHalf;
  391|  36.5k|  if (bits <= partCount * integerPartWidth &&
  ------------------
  |  Branch (391:7): [True: 35.1k, False: 1.42k]
  ------------------
  392|  35.1k|      APInt::tcExtractBit(parts, bits - 1))
  ------------------
  |  Branch (392:7): [True: 28.2k, False: 6.89k]
  ------------------
  393|  28.2k|    return lfMoreThanHalf;
  394|       |
  395|  8.31k|  return lfLessThanHalf;
  396|  36.5k|}
APFloat.cpp:_ZL27trailingHexadecimalFractionPKcS0_j:
  349|    819|{
  350|    819|  unsigned int hexDigit;
  351|       |
  352|       |  /* If the first trailing digit isn't 0 or 8 we can work out the
  353|       |     fraction immediately.  */
  354|    819|  if (digitValue > 8)
  ------------------
  |  Branch (354:7): [True: 153, False: 666]
  ------------------
  355|    153|    return lfMoreThanHalf;
  356|    666|  else if (digitValue < 8 && digitValue > 0)
  ------------------
  |  Branch (356:12): [True: 537, False: 129]
  |  Branch (356:30): [True: 252, False: 285]
  ------------------
  357|    252|    return lfLessThanHalf;
  358|       |
  359|       |  // Otherwise we need to find the first non-zero digit.
  360|  1.98k|  while (p != end && (*p == '0' || *p == '.'))
  ------------------
  |  Branch (360:10): [True: 1.98k, False: 0]
  |  Branch (360:23): [True: 1.55k, False: 434]
  |  Branch (360:36): [True: 20, False: 414]
  ------------------
  361|  1.57k|    p++;
  362|       |
  363|    414|  assert(p != end && "Invalid trailing hexadecimal fraction!");
  ------------------
  |  Branch (363:3): [True: 414, False: 0]
  |  Branch (363:3): [True: 414, Folded]
  |  Branch (363:3): [True: 414, False: 0]
  ------------------
  364|       |
  365|    414|  hexDigit = hexDigitValue(*p);
  366|       |
  367|       |  /* If we ran off the end it is exactly zero or one-half, otherwise
  368|       |     a little more.  */
  369|    414|  if (hexDigit == -1U)
  ------------------
  |  Branch (369:7): [True: 146, False: 268]
  ------------------
  370|    146|    return digitValue == 0 ? lfExactlyZero: lfExactlyHalf;
  ------------------
  |  Branch (370:12): [True: 124, False: 22]
  ------------------
  371|    268|  else
  372|    268|    return digitValue == 0 ? lfLessThanHalf: lfMoreThanHalf;
  ------------------
  |  Branch (372:12): [True: 161, False: 107]
  ------------------
  373|    414|}
APFloat.cpp:_ZL13totalExponentPKcS0_i:
  187|  3.45k|{
  188|  3.45k|  int unsignedExponent;
  189|  3.45k|  bool negative, overflow;
  190|  3.45k|  int exponent = 0;
  191|       |
  192|  3.45k|  assert(p != end && "Exponent has no digits");
  ------------------
  |  Branch (192:3): [True: 3.45k, False: 0]
  |  Branch (192:3): [True: 3.45k, Folded]
  |  Branch (192:3): [True: 3.45k, False: 0]
  ------------------
  193|       |
  194|  3.45k|  negative = *p == '-';
  195|  3.45k|  if (*p == '-' || *p == '+') {
  ------------------
  |  Branch (195:7): [True: 1.68k, False: 1.77k]
  |  Branch (195:20): [True: 447, False: 1.32k]
  ------------------
  196|  2.12k|    p++;
  197|  2.12k|    assert(p != end && "Exponent has no digits");
  ------------------
  |  Branch (197:5): [True: 2.12k, False: 0]
  |  Branch (197:5): [True: 2.12k, Folded]
  |  Branch (197:5): [True: 2.12k, False: 0]
  ------------------
  198|  2.12k|  }
  199|       |
  200|  3.45k|  unsignedExponent = 0;
  201|  3.45k|  overflow = false;
  202|  19.1k|  for (; p != end; ++p) {
  ------------------
  |  Branch (202:10): [True: 16.5k, False: 2.59k]
  ------------------
  203|  16.5k|    unsigned int value;
  204|       |
  205|  16.5k|    value = decDigitValue(*p);
  206|  16.5k|    assert(value < 10U && "Invalid character in exponent");
  ------------------
  |  Branch (206:5): [True: 16.5k, False: 0]
  |  Branch (206:5): [True: 16.5k, Folded]
  |  Branch (206:5): [True: 16.5k, False: 0]
  ------------------
  207|       |
  208|  16.5k|    unsignedExponent = unsignedExponent * 10 + value;
  209|  16.5k|    if (unsignedExponent > 32767) {
  ------------------
  |  Branch (209:9): [True: 862, False: 15.7k]
  ------------------
  210|    862|      overflow = true;
  211|    862|      break;
  212|    862|    }
  213|  16.5k|  }
  214|       |
  215|  3.45k|  if (exponentAdjustment > 32767 || exponentAdjustment < -32768)
  ------------------
  |  Branch (215:7): [True: 0, False: 3.45k]
  |  Branch (215:37): [True: 0, False: 3.45k]
  ------------------
  216|      0|    overflow = true;
  217|       |
  218|  3.45k|  if (!overflow) {
  ------------------
  |  Branch (218:7): [True: 2.59k, False: 862]
  ------------------
  219|  2.59k|    exponent = unsignedExponent;
  220|  2.59k|    if (negative)
  ------------------
  |  Branch (220:9): [True: 1.12k, False: 1.47k]
  ------------------
  221|  1.12k|      exponent = -exponent;
  222|  2.59k|    exponent += exponentAdjustment;
  223|  2.59k|    if (exponent > 32767 || exponent < -32768)
  ------------------
  |  Branch (223:9): [True: 6, False: 2.59k]
  |  Branch (223:29): [True: 543, False: 2.04k]
  ------------------
  224|    549|      overflow = true;
  225|  2.59k|  }
  226|       |
  227|  3.45k|  if (overflow)
  ------------------
  |  Branch (227:7): [True: 1.41k, False: 2.04k]
  ------------------
  228|  1.41k|    exponent = negative ? -32768: 32767;
  ------------------
  |  Branch (228:16): [True: 1.10k, False: 311]
  ------------------
  229|       |
  230|  3.45k|  return exponent;
  231|  3.45k|}
APFloat.cpp:_ZL8powerOf5Pmj:
  494|  33.5k|{
  495|  33.5k|  static const integerPart firstEightPowers[] = { 1, 5, 25, 125, 625, 3125,
  496|  33.5k|                                                  15625, 78125 };
  497|  33.5k|  integerPart pow5s[maxPowerOfFiveParts * 2 + 5];
  498|  33.5k|  pow5s[0] = 78125 * 5;
  499|       |
  500|  33.5k|  unsigned int partsCount[16] = { 1 };
  501|  33.5k|  integerPart scratch[maxPowerOfFiveParts], *p1, *p2, *pow5;
  502|  33.5k|  unsigned int result;
  503|  33.5k|  assert(power <= maxExponent);
  ------------------
  |  Branch (503:3): [True: 33.5k, False: 0]
  ------------------
  504|       |
  505|  33.5k|  p1 = dst;
  506|  33.5k|  p2 = scratch;
  507|       |
  508|  33.5k|  *p1 = firstEightPowers[power & 7];
  509|  33.5k|  power >>= 3;
  510|       |
  511|  33.5k|  result = 1;
  512|  33.5k|  pow5 = pow5s;
  513|       |
  514|  51.5k|  for (unsigned int n = 0; power; power >>= 1, n++) {
  ------------------
  |  Branch (514:28): [True: 17.9k, False: 33.5k]
  ------------------
  515|  17.9k|    unsigned int pc;
  516|       |
  517|  17.9k|    pc = partsCount[n];
  518|       |
  519|       |    /* Calculate pow(5,pow(2,n+3)) if we haven't yet.  */
  520|  17.9k|    if (pc == 0) {
  ------------------
  |  Branch (520:9): [True: 13.6k, False: 4.37k]
  ------------------
  521|  13.6k|      pc = partsCount[n - 1];
  522|  13.6k|      APInt::tcFullMultiply(pow5, pow5 - pc, pow5 - pc, pc, pc);
  523|  13.6k|      pc *= 2;
  524|  13.6k|      if (pow5[pc - 1] == 0)
  ------------------
  |  Branch (524:11): [True: 8.89k, False: 4.73k]
  ------------------
  525|  8.89k|        pc--;
  526|  13.6k|      partsCount[n] = pc;
  527|  13.6k|    }
  528|       |
  529|  17.9k|    if (power & 1) {
  ------------------
  |  Branch (529:9): [True: 8.78k, False: 9.21k]
  ------------------
  530|  8.78k|      integerPart *tmp;
  531|       |
  532|  8.78k|      APInt::tcFullMultiply(p2, p1, pow5, result, pc);
  533|  8.78k|      result += pc;
  534|  8.78k|      if (p2[result - 1] == 0)
  ------------------
  |  Branch (534:11): [True: 7.05k, False: 1.73k]
  ------------------
  535|  7.05k|        result--;
  536|       |
  537|       |      /* Now result is in p1 with partsCount parts and p2 is scratch
  538|       |         space.  */
  539|  8.78k|      tmp = p1, p1 = p2, p2 = tmp;
  540|  8.78k|    }
  541|       |
  542|  17.9k|    pow5 += pc;
  543|  17.9k|  }
  544|       |
  545|  33.5k|  if (p1 != dst)
  ------------------
  |  Branch (545:7): [True: 2.52k, False: 31.0k]
  ------------------
  546|  2.52k|    APInt::tcAssign(dst, p1, result);
  547|       |
  548|  33.5k|  return result;
  549|  33.5k|}
APFloat.cpp:_ZL10HUerrBoundbjj:
  435|  35.0k|{
  436|  35.0k|  assert(HUerr1 < 2 || HUerr2 < 2 || (HUerr1 + HUerr2 < 8));
  ------------------
  |  Branch (436:3): [True: 35.0k, False: 0]
  |  Branch (436:3): [True: 0, False: 0]
  |  Branch (436:3): [True: 0, False: 0]
  |  Branch (436:3): [True: 35.0k, False: 0]
  ------------------
  437|       |
  438|  35.0k|  if (HUerr1 + HUerr2 == 0)
  ------------------
  |  Branch (438:7): [True: 4.67k, False: 30.3k]
  ------------------
  439|  4.67k|    return inexactMultiply * 2;  /* <= inexactMultiply half-ulps.  */
  440|  30.3k|  else
  441|  30.3k|    return inexactMultiply + 2 * (HUerr1 + HUerr2);
  442|  35.0k|}
APFloat.cpp:_ZL16ulpsFromBoundaryPKmjb:
  449|  35.0k|{
  450|  35.0k|  unsigned int count, partBits;
  451|  35.0k|  integerPart part, boundary;
  452|       |
  453|  35.0k|  assert(bits != 0);
  ------------------
  |  Branch (453:3): [True: 35.0k, False: 0]
  ------------------
  454|       |
  455|  35.0k|  bits--;
  456|  35.0k|  count = bits / integerPartWidth;
  457|  35.0k|  partBits = bits % integerPartWidth + 1;
  458|       |
  459|  35.0k|  part = parts[count] & (~(integerPart) 0 >> (integerPartWidth - partBits));
  460|       |
  461|  35.0k|  if (isNearest)
  ------------------
  |  Branch (461:7): [True: 35.0k, False: 0]
  ------------------
  462|  35.0k|    boundary = (integerPart) 1 << (partBits - 1);
  463|      0|  else
  464|      0|    boundary = 0;
  465|       |
  466|  35.0k|  if (count == 0) {
  ------------------
  |  Branch (466:7): [True: 33.5k, False: 1.46k]
  ------------------
  467|  33.5k|    if (part - boundary <= boundary - part)
  ------------------
  |  Branch (467:9): [True: 24.8k, False: 8.69k]
  ------------------
  468|  24.8k|      return part - boundary;
  469|  8.69k|    else
  470|  8.69k|      return boundary - part;
  471|  33.5k|  }
  472|       |
  473|  1.46k|  if (part == boundary) {
  ------------------
  |  Branch (473:7): [True: 486, False: 977]
  ------------------
  474|  2.98k|    while (--count)
  ------------------
  |  Branch (474:12): [True: 2.54k, False: 444]
  ------------------
  475|  2.54k|      if (parts[count])
  ------------------
  |  Branch (475:11): [True: 42, False: 2.50k]
  ------------------
  476|     42|        return ~(integerPart) 0; /* A lot.  */
  477|       |
  478|    444|    return parts[0];
  479|    977|  } else if (part == boundary - 1) {
  ------------------
  |  Branch (479:14): [True: 883, False: 94]
  ------------------
  480|  3.97k|    while (--count)
  ------------------
  |  Branch (480:12): [True: 3.20k, False: 775]
  ------------------
  481|  3.20k|      if (~parts[count])
  ------------------
  |  Branch (481:11): [True: 108, False: 3.09k]
  ------------------
  482|    108|        return ~(integerPart) 0; /* A lot.  */
  483|       |
  484|    775|    return -parts[0];
  485|    883|  }
  486|       |
  487|     94|  return ~(integerPart) 0; /* A lot.  */
  488|  1.46k|}

_ZN7llvm_ks5APInt12initSlowCaseEjmb:
   77|   849k|void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) {
   78|   849k|  pVal = getClearedMemory(getNumWords());
   79|   849k|  pVal[0] = val;
   80|   849k|  if (isSigned && int64_t(val) < 0)
  ------------------
  |  Branch (80:7): [True: 846k, False: 3.64k]
  |  Branch (80:19): [True: 0, False: 846k]
  ------------------
   81|      0|    for (unsigned i = 1; i < getNumWords(); ++i)
  ------------------
  |  Branch (81:26): [True: 0, False: 0]
  ------------------
   82|      0|      pVal[i] = -1ULL;
   83|   849k|}
_ZN7llvm_ks5APInt12initSlowCaseERKS0_:
   85|  1.47M|void APInt::initSlowCase(const APInt& that) {
   86|  1.47M|  pVal = getMemory(getNumWords());
   87|  1.47M|  memcpy(pVal, that.pVal, getNumWords() * APINT_WORD_SIZE);
   88|  1.47M|}
_ZN7llvm_ks5APInt14AssignSlowCaseERKS0_:
  123|  2.94k|APInt& APInt::AssignSlowCase(const APInt& RHS) {
  124|       |  // Don't do anything for X = X
  125|  2.94k|  if (this == &RHS)
  ------------------
  |  Branch (125:7): [True: 0, False: 2.94k]
  ------------------
  126|      0|    return *this;
  127|       |
  128|  2.94k|  if (BitWidth == RHS.getBitWidth()) {
  ------------------
  |  Branch (128:7): [True: 596, False: 2.34k]
  ------------------
  129|       |    // assume same bit-width single-word case is already handled
  130|    596|    assert(!isSingleWord());
  ------------------
  |  Branch (130:5): [True: 596, False: 0]
  ------------------
  131|    596|    memcpy(pVal, RHS.pVal, getNumWords() * APINT_WORD_SIZE);
  132|    596|    return *this;
  133|    596|  }
  134|       |
  135|  2.34k|  if (isSingleWord()) {
  ------------------
  |  Branch (135:7): [True: 1.47k, False: 874]
  ------------------
  136|       |    // assume case where both are single words is already handled
  137|  1.47k|    assert(!RHS.isSingleWord());
  ------------------
  |  Branch (137:5): [True: 1.47k, False: 0]
  ------------------
  138|  1.47k|    VAL = 0;
  139|  1.47k|    pVal = getMemory(RHS.getNumWords());
  140|  1.47k|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  141|  1.47k|  } else if (getNumWords() == RHS.getNumWords())
  ------------------
  |  Branch (141:14): [True: 12, False: 862]
  ------------------
  142|     12|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  143|    862|  else if (RHS.isSingleWord()) {
  ------------------
  |  Branch (143:12): [True: 817, False: 45]
  ------------------
  144|    817|    delete [] pVal;
  145|    817|    VAL = RHS.VAL;
  146|    817|  } else {
  147|     45|    delete [] pVal;
  148|     45|    pVal = getMemory(RHS.getNumWords());
  149|     45|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  150|     45|  }
  151|  2.34k|  BitWidth = RHS.BitWidth;
  152|  2.34k|  return clearUnusedBits();
  153|  2.34k|}
_ZN7llvm_ks5APIntaSEm:
  155|   734k|APInt& APInt::operator=(uint64_t RHS) {
  156|   734k|  if (isSingleWord())
  ------------------
  |  Branch (156:7): [True: 686, False: 733k]
  ------------------
  157|    686|    VAL = RHS;
  158|   733k|  else {
  159|   733k|    pVal[0] = RHS;
  160|   733k|    memset(pVal+1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
  161|   733k|  }
  162|   734k|  return clearUnusedBits();
  163|   734k|}
_ZN7llvm_ks5APIntpLERKS0_:
  254|  9.60k|APInt& APInt::operator+=(const APInt& RHS) {
  255|  9.60k|  assert(BitWidth == RHS.BitWidth && "Bit widths must be the same");
  ------------------
  |  Branch (255:3): [True: 9.60k, False: 0]
  |  Branch (255:3): [True: 9.60k, Folded]
  |  Branch (255:3): [True: 9.60k, False: 0]
  ------------------
  256|  9.60k|  if (isSingleWord())
  ------------------
  |  Branch (256:7): [True: 604, False: 8.99k]
  ------------------
  257|    604|    VAL += RHS.VAL;
  258|  8.99k|  else {
  259|  8.99k|    add(pVal, pVal, RHS.pVal, getNumWords());
  260|  8.99k|  }
  261|  9.60k|  return clearUnusedBits();
  262|  9.60k|}
_ZN7llvm_ks5APIntmLERKS0_:
  358|  9.60k|APInt& APInt::operator*=(const APInt& RHS) {
  359|  9.60k|  assert(BitWidth == RHS.BitWidth && "Bit widths must be the same");
  ------------------
  |  Branch (359:3): [True: 9.60k, False: 0]
  |  Branch (359:3): [True: 9.60k, Folded]
  |  Branch (359:3): [True: 9.60k, False: 0]
  ------------------
  360|  9.60k|  if (isSingleWord()) {
  ------------------
  |  Branch (360:7): [True: 604, False: 8.99k]
  ------------------
  361|    604|    VAL *= RHS.VAL;
  362|    604|    clearUnusedBits();
  363|    604|    return *this;
  364|    604|  }
  365|       |
  366|       |  // Get some bit facts about LHS and check for zero
  367|  8.99k|  unsigned lhsBits = getActiveBits();
  368|  8.99k|  unsigned lhsWords = !lhsBits ? 0 : whichWord(lhsBits - 1) + 1;
  ------------------
  |  Branch (368:23): [True: 140, False: 8.85k]
  ------------------
  369|  8.99k|  if (!lhsWords)
  ------------------
  |  Branch (369:7): [True: 140, False: 8.85k]
  ------------------
  370|       |    // 0 * X ===> 0
  371|    140|    return *this;
  372|       |
  373|       |  // Get some bit facts about RHS and check for zero
  374|  8.85k|  unsigned rhsBits = RHS.getActiveBits();
  375|  8.85k|  unsigned rhsWords = !rhsBits ? 0 : whichWord(rhsBits - 1) + 1;
  ------------------
  |  Branch (375:23): [True: 0, False: 8.85k]
  ------------------
  376|  8.85k|  if (!rhsWords) {
  ------------------
  |  Branch (376:7): [True: 0, False: 8.85k]
  ------------------
  377|       |    // X * 0 ===> 0
  378|      0|    clearAllBits();
  379|      0|    return *this;
  380|      0|  }
  381|       |
  382|       |  // Allocate space for the result
  383|  8.85k|  unsigned destWords = rhsWords + lhsWords;
  384|  8.85k|  uint64_t *dest = getMemory(destWords);
  385|       |
  386|       |  // Perform the long multiply
  387|  8.85k|  mul(dest, pVal, lhsWords, RHS.pVal, rhsWords);
  388|       |
  389|       |  // Copy result back into *this
  390|  8.85k|  clearAllBits();
  391|  8.85k|  unsigned wordsToCopy = destWords >= getNumWords() ? getNumWords() : destWords;
  ------------------
  |  Branch (391:26): [True: 2.02k, False: 6.83k]
  ------------------
  392|  8.85k|  memcpy(pVal, dest, wordsToCopy * APINT_WORD_SIZE);
  393|  8.85k|  clearUnusedBits();
  394|       |
  395|       |  // delete dest array and return
  396|  8.85k|  delete[] dest;
  397|  8.85k|  return *this;
  398|  8.85k|}
_ZNK7llvm_ks5APInt9getHiBitsEj:
  686|    290|APInt APInt::getHiBits(unsigned numBits) const {
  687|    290|  return APIntOps::lshr(*this, BitWidth - numBits);
  688|    290|}
_ZNK7llvm_ks5APInt9getLoBitsEj:
  691|    290|APInt APInt::getLoBits(unsigned numBits) const {
  692|    290|  return APIntOps::lshr(APIntOps::shl(*this, BitWidth - numBits),
  693|    290|                        BitWidth - numBits);
  694|    290|}
_ZNK7llvm_ks5APInt25countLeadingZerosSlowCaseEv:
  696|   925k|unsigned APInt::countLeadingZerosSlowCase() const {
  697|       |  // Treat the most significand word differently because it might have
  698|       |  // meaningless bits set beyond the precision.
  699|   925k|  unsigned BitsInMSW = BitWidth % APINT_BITS_PER_WORD;
  700|   925k|  integerPart MSWMask;
  701|   925k|  if (BitsInMSW) MSWMask = (integerPart(1) << BitsInMSW) - 1;
  ------------------
  |  Branch (701:7): [True: 17.4k, False: 908k]
  ------------------
  702|   908k|  else {
  703|   908k|    MSWMask = ~integerPart(0);
  704|   908k|    BitsInMSW = APINT_BITS_PER_WORD;
  705|   908k|  }
  706|       |
  707|   925k|  unsigned i = getNumWords();
  708|   925k|  integerPart MSW = pVal[i-1] & MSWMask;
  709|   925k|  if (MSW)
  ------------------
  |  Branch (709:7): [True: 4.42k, False: 921k]
  ------------------
  710|  4.42k|    return llvm_ks::countLeadingZeros(MSW) - (APINT_BITS_PER_WORD - BitsInMSW);
  711|       |
  712|   921k|  unsigned Count = BitsInMSW;
  713|  1.26M|  for (--i; i > 0u; --i) {
  ------------------
  |  Branch (713:13): [True: 1.26M, False: 402]
  ------------------
  714|  1.26M|    if (pVal[i-1] == 0)
  ------------------
  |  Branch (714:9): [True: 346k, False: 920k]
  ------------------
  715|   346k|      Count += APINT_BITS_PER_WORD;
  716|   920k|    else {
  717|   920k|      Count += llvm_ks::countLeadingZeros(pVal[i-1]);
  718|   920k|      break;
  719|   920k|    }
  720|  1.26M|  }
  721|   921k|  return Count;
  722|   925k|}
_ZNK7llvm_ks5APInt4zextEj:
  998|  1.45k|APInt APInt::zext(unsigned width) const {
  999|  1.45k|  assert(width > BitWidth && "Invalid APInt ZeroExtend request");
  ------------------
  |  Branch (999:3): [True: 1.45k, False: 0]
  |  Branch (999:3): [True: 1.45k, Folded]
  |  Branch (999:3): [True: 1.45k, False: 0]
  ------------------
 1000|       |
 1001|  1.45k|  if (width <= APINT_BITS_PER_WORD)
  ------------------
  |  Branch (1001:7): [True: 82, False: 1.37k]
  ------------------
 1002|     82|    return APInt(width, VAL);
 1003|       |
 1004|  1.37k|  APInt Result(getMemory(getNumWords(width)), width);
 1005|       |
 1006|       |  // Copy words.
 1007|  1.37k|  unsigned i;
 1008|  3.98k|  for (i = 0; i != getNumWords(); i++)
  ------------------
  |  Branch (1008:15): [True: 2.60k, False: 1.37k]
  ------------------
 1009|  2.60k|    Result.pVal[i] = getRawData()[i];
 1010|       |
 1011|       |  // Zero remaining words.
 1012|  1.37k|  memset(&Result.pVal[i], 0, (Result.getNumWords() - i) * APINT_WORD_SIZE);
 1013|       |
 1014|  1.37k|  return Result;
 1015|  1.45k|}
_ZNK7llvm_ks5APInt4lshrEj:
 1144|    580|APInt APInt::lshr(unsigned shiftAmt) const {
 1145|    580|  if (isSingleWord()) {
  ------------------
  |  Branch (1145:7): [True: 0, False: 580]
  ------------------
 1146|      0|    if (shiftAmt >= BitWidth)
  ------------------
  |  Branch (1146:9): [True: 0, False: 0]
  ------------------
 1147|      0|      return APInt(BitWidth, 0);
 1148|      0|    else
 1149|      0|      return APInt(BitWidth, this->VAL >> shiftAmt);
 1150|      0|  }
 1151|       |
 1152|       |  // If all the bits were shifted out, the result is 0. This avoids issues
 1153|       |  // with shifting by the size of the integer type, which produces undefined
 1154|       |  // results. We define these "undefined results" to always be 0.
 1155|    580|  if (shiftAmt >= BitWidth)
  ------------------
  |  Branch (1155:7): [True: 0, False: 580]
  ------------------
 1156|      0|    return APInt(BitWidth, 0);
 1157|       |
 1158|       |  // If none of the bits are shifted out, the result is *this. This avoids
 1159|       |  // issues with shifting by the size of the integer type, which produces
 1160|       |  // undefined results in the code below. This is also an optimization.
 1161|    580|  if (shiftAmt == 0)
  ------------------
  |  Branch (1161:7): [True: 0, False: 580]
  ------------------
 1162|      0|    return *this;
 1163|       |
 1164|       |  // Create some space for the result.
 1165|    580|  uint64_t * val = new uint64_t[getNumWords()];
 1166|       |
 1167|       |  // If we are shifting less than a word, compute the shift with a simple carry
 1168|    580|  if (shiftAmt < APINT_BITS_PER_WORD) {
  ------------------
  |  Branch (1168:7): [True: 0, False: 580]
  ------------------
 1169|      0|    lshrNear(val, pVal, getNumWords(), shiftAmt);
 1170|      0|    APInt Result(val, BitWidth);
 1171|      0|    Result.clearUnusedBits();
 1172|      0|    return Result;
 1173|      0|  }
 1174|       |
 1175|       |  // Compute some values needed by the remaining shift algorithms
 1176|    580|  unsigned wordShift = shiftAmt % APINT_BITS_PER_WORD;
 1177|    580|  unsigned offset = shiftAmt / APINT_BITS_PER_WORD;
 1178|       |
 1179|       |  // If we are shifting whole words, just move whole words
 1180|    580|  if (wordShift == 0) {
  ------------------
  |  Branch (1180:7): [True: 574, False: 6]
  ------------------
 1181|  1.15k|    for (unsigned i = 0; i < getNumWords() - offset; ++i)
  ------------------
  |  Branch (1181:26): [True: 580, False: 574]
  ------------------
 1182|    580|      val[i] = pVal[i+offset];
 1183|  1.14k|    for (unsigned i = getNumWords()-offset; i < getNumWords(); i++)
  ------------------
  |  Branch (1183:45): [True: 574, False: 574]
  ------------------
 1184|    574|      val[i] = 0;
 1185|    574|    APInt Result(val, BitWidth);
 1186|    574|    Result.clearUnusedBits();
 1187|    574|    return Result;
 1188|    574|  }
 1189|       |
 1190|       |  // Shift the low order words
 1191|      6|  unsigned breakWord = getNumWords() - offset -1;
 1192|     12|  for (unsigned i = 0; i < breakWord; ++i)
  ------------------
  |  Branch (1192:24): [True: 6, False: 6]
  ------------------
 1193|      6|    val[i] = (pVal[i+offset] >> wordShift) |
 1194|      6|             (pVal[i+offset+1] << (APINT_BITS_PER_WORD - wordShift));
 1195|       |  // Shift the break word.
 1196|      6|  val[breakWord] = pVal[breakWord+offset] >> wordShift;
 1197|       |
 1198|       |  // Remaining words are 0
 1199|     12|  for (unsigned i = breakWord+1; i < getNumWords(); ++i)
  ------------------
  |  Branch (1199:34): [True: 6, False: 6]
  ------------------
 1200|      6|    val[i] = 0;
 1201|      6|  APInt Result(val, BitWidth);
 1202|      6|  Result.clearUnusedBits();
 1203|      6|  return Result;
 1204|    580|}
_ZNK7llvm_ks5APInt11shlSlowCaseEj:
 1213|  1.37M|APInt APInt::shlSlowCase(unsigned shiftAmt) const {
 1214|       |  // If all the bits were shifted out, the result is 0. This avoids issues
 1215|       |  // with shifting by the size of the integer type, which produces undefined
 1216|       |  // results. We define these "undefined results" to always be 0.
 1217|  1.37M|  if (shiftAmt == BitWidth)
  ------------------
  |  Branch (1217:7): [True: 0, False: 1.37M]
  ------------------
 1218|      0|    return APInt(BitWidth, 0);
 1219|       |
 1220|       |  // If none of the bits are shifted out, the result is *this. This avoids a
 1221|       |  // lshr by the words size in the loop below which can produce incorrect
 1222|       |  // results. It also avoids the expensive computation below for a common case.
 1223|  1.37M|  if (shiftAmt == 0)
  ------------------
  |  Branch (1223:7): [True: 0, False: 1.37M]
  ------------------
 1224|      0|    return *this;
 1225|       |
 1226|       |  // Create some space for the result.
 1227|  1.37M|  uint64_t * val = new uint64_t[getNumWords()];
 1228|       |
 1229|       |  // If we are shifting less than a word, do it the easy way
 1230|  1.37M|  if (shiftAmt < APINT_BITS_PER_WORD) {
  ------------------
  |  Branch (1230:7): [True: 1.37M, False: 290]
  ------------------
 1231|  1.37M|    uint64_t carry = 0;
 1232|  10.4M|    for (unsigned i = 0; i < getNumWords(); i++) {
  ------------------
  |  Branch (1232:26): [True: 9.11M, False: 1.37M]
  ------------------
 1233|  9.11M|      val[i] = pVal[i] << shiftAmt | carry;
 1234|  9.11M|      carry = pVal[i] >> (APINT_BITS_PER_WORD - shiftAmt);
 1235|  9.11M|    }
 1236|  1.37M|    APInt Result(val, BitWidth);
 1237|  1.37M|    Result.clearUnusedBits();
 1238|  1.37M|    return Result;
 1239|  1.37M|  }
 1240|       |
 1241|       |  // Compute some values needed by the remaining shift algorithms
 1242|    290|  unsigned wordShift = shiftAmt % APINT_BITS_PER_WORD;
 1243|    290|  unsigned offset = shiftAmt / APINT_BITS_PER_WORD;
 1244|       |
 1245|       |  // If we are shifting whole words, just move whole words
 1246|    290|  if (wordShift == 0) {
  ------------------
  |  Branch (1246:7): [True: 284, False: 6]
  ------------------
 1247|    568|    for (unsigned i = 0; i < offset; i++)
  ------------------
  |  Branch (1247:26): [True: 284, False: 284]
  ------------------
 1248|    284|      val[i] = 0;
 1249|    568|    for (unsigned i = offset; i < getNumWords(); i++)
  ------------------
  |  Branch (1249:31): [True: 284, False: 284]
  ------------------
 1250|    284|      val[i] = pVal[i-offset];
 1251|    284|    APInt Result(val, BitWidth);
 1252|    284|    Result.clearUnusedBits();
 1253|    284|    return Result;
 1254|    284|  }
 1255|       |
 1256|       |  // Copy whole words from this to Result.
 1257|      6|  unsigned i = getNumWords() - 1;
 1258|     12|  for (; i > offset; --i)
  ------------------
  |  Branch (1258:10): [True: 6, False: 6]
  ------------------
 1259|      6|    val[i] = pVal[i-offset] << wordShift |
 1260|      6|             pVal[i-offset-1] >> (APINT_BITS_PER_WORD - wordShift);
 1261|      6|  val[offset] = pVal[0] << wordShift;
 1262|     12|  for (i = 0; i < offset; ++i)
  ------------------
  |  Branch (1262:15): [True: 6, False: 6]
  ------------------
 1263|      6|    val[i] = 0;
 1264|      6|  APInt Result(val, BitWidth);
 1265|      6|  Result.clearUnusedBits();
 1266|      6|  return Result;
 1267|    290|}
_ZN7llvm_ks5APInt5tcSetEPmmj:
 2307|  68.5k|{
 2308|  68.5k|  unsigned int i;
 2309|       |
 2310|  68.5k|  assert(parts > 0);
  ------------------
  |  Branch (2310:3): [True: 68.5k, False: 0]
  ------------------
 2311|       |
 2312|  68.5k|  dst[0] = part;
 2313|   115k|  for (i = 1; i < parts; i++)
  ------------------
  |  Branch (2313:15): [True: 46.8k, False: 68.5k]
  ------------------
 2314|  46.8k|    dst[i] = 0;
 2315|  68.5k|}
_ZN7llvm_ks5APInt8tcAssignEPmPKmj:
 2320|   112k|{
 2321|   112k|  unsigned int i;
 2322|       |
 2323|   248k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2323:15): [True: 135k, False: 112k]
  ------------------
 2324|   135k|    dst[i] = src[i];
 2325|   112k|}
_ZN7llvm_ks5APInt8tcIsZeroEPKmj:
 2330|  85.2k|{
 2331|  85.2k|  unsigned int i;
 2332|       |
 2333|  94.1k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2333:15): [True: 93.3k, False: 735]
  ------------------
 2334|  93.3k|    if (src[i])
  ------------------
  |  Branch (2334:9): [True: 84.5k, False: 8.87k]
  ------------------
 2335|  84.5k|      return false;
 2336|       |
 2337|    735|  return true;
 2338|  85.2k|}
_ZN7llvm_ks5APInt12tcExtractBitEPKmj:
 2343|  70.3k|{
 2344|  70.3k|  return (parts[bit / integerPartWidth] &
 2345|  70.3k|          ((integerPart) 1 << bit % integerPartWidth)) != 0;
 2346|  70.3k|}
_ZN7llvm_ks5APInt8tcSetBitEPmj:
 2351|  1.23M|{
 2352|  1.23M|  parts[bit / integerPartWidth] |= (integerPart) 1 << (bit % integerPartWidth);
 2353|  1.23M|}
_ZN7llvm_ks5APInt5tcLSBEPKmj:
 2367|  47.8k|{
 2368|  47.8k|  unsigned int i, lsb;
 2369|       |
 2370|  52.2k|  for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2370:15): [True: 52.2k, False: 0]
  ------------------
 2371|  52.2k|      if (parts[i] != 0) {
  ------------------
  |  Branch (2371:11): [True: 47.8k, False: 4.41k]
  ------------------
 2372|  47.8k|          lsb = partLSB(parts[i]);
 2373|       |
 2374|  47.8k|          return lsb + i * integerPartWidth;
 2375|  47.8k|      }
 2376|  52.2k|  }
 2377|       |
 2378|      0|  return -1U;
 2379|  47.8k|}
_ZN7llvm_ks5APInt5tcMSBEPKmj:
 2385|   270k|{
 2386|   270k|  unsigned int msb;
 2387|       |
 2388|   274k|  do {
 2389|   274k|    --n;
 2390|       |
 2391|   274k|    if (parts[n] != 0) {
  ------------------
  |  Branch (2391:9): [True: 268k, False: 5.89k]
  ------------------
 2392|   268k|      msb = partMSB(parts[n]);
 2393|       |
 2394|   268k|      return msb + n * integerPartWidth;
 2395|   268k|    }
 2396|   274k|  } while (n);
  ------------------
  |  Branch (2396:12): [True: 4.67k, False: 1.21k]
  ------------------
 2397|       |
 2398|  1.21k|  return -1U;
 2399|   270k|}
_ZN7llvm_ks5APInt9tcExtractEPmjPKmjj:
 2408|   103k|{
 2409|   103k|  unsigned int firstSrcPart, dstParts, shift, n;
 2410|       |
 2411|   103k|  dstParts = (srcBits + integerPartWidth - 1) / integerPartWidth;
 2412|   103k|  assert(dstParts <= dstCount);
  ------------------
  |  Branch (2412:3): [True: 103k, False: 0]
  ------------------
 2413|       |
 2414|   103k|  firstSrcPart = srcLSB / integerPartWidth;
 2415|   103k|  tcAssign (dst, src + firstSrcPart, dstParts);
 2416|       |
 2417|   103k|  shift = srcLSB % integerPartWidth;
 2418|   103k|  tcShiftRight (dst, dstParts, shift);
 2419|       |
 2420|       |  /* We now have (dstParts * integerPartWidth - shift) bits from SRC
 2421|       |     in DST.  If this is less that srcBits, append the rest, else
 2422|       |     clear the high bits.  */
 2423|   103k|  n = dstParts * integerPartWidth - shift;
 2424|   103k|  if (n < srcBits) {
  ------------------
  |  Branch (2424:7): [True: 4.51k, False: 99.1k]
  ------------------
 2425|  4.51k|    integerPart mask = lowBitMask (srcBits - n);
 2426|  4.51k|    dst[dstParts - 1] |= ((src[firstSrcPart + dstParts] & mask)
 2427|  4.51k|                          << n % integerPartWidth);
 2428|  99.1k|  } else if (n > srcBits) {
  ------------------
  |  Branch (2428:14): [True: 98.8k, False: 273]
  ------------------
 2429|  98.8k|    if (srcBits % integerPartWidth)
  ------------------
  |  Branch (2429:9): [True: 98.4k, False: 397]
  ------------------
 2430|  98.4k|      dst[dstParts - 1] &= lowBitMask (srcBits % integerPartWidth);
 2431|  98.8k|  }
 2432|       |
 2433|       |  /* Clear high parts.  */
 2434|   108k|  while (dstParts < dstCount)
  ------------------
  |  Branch (2434:10): [True: 5.07k, False: 103k]
  ------------------
 2435|  5.07k|    dst[dstParts++] = 0;
 2436|   103k|}
_ZN7llvm_ks5APInt10tcSubtractEPmPKmmj:
 2467|  1.23M|{
 2468|  1.23M|  unsigned int i;
 2469|       |
 2470|  1.23M|  assert(c <= 1);
  ------------------
  |  Branch (2470:3): [True: 1.23M, False: 0]
  ------------------
 2471|       |
 2472|  20.7M|  for (i = 0; i < parts; i++) {
  ------------------
  |  Branch (2472:15): [True: 19.5M, False: 1.23M]
  ------------------
 2473|  19.5M|    integerPart l;
 2474|       |
 2475|  19.5M|    l = dst[i];
 2476|  19.5M|    if (c) {
  ------------------
  |  Branch (2476:9): [True: 4.76M, False: 14.7M]
  ------------------
 2477|  4.76M|      dst[i] -= rhs[i] + 1;
 2478|  4.76M|      c = (dst[i] >= l);
 2479|  14.7M|    } else {
 2480|  14.7M|      dst[i] -= rhs[i];
 2481|  14.7M|      c = (dst[i] > l);
 2482|  14.7M|    }
 2483|  19.5M|  }
 2484|       |
 2485|  1.23M|  return c;
 2486|  1.23M|}
_ZN7llvm_ks5APInt14tcMultiplyPartEPmPKmmmjjb:
 2512|  87.6k|{
 2513|  87.6k|  unsigned int i, n;
 2514|       |
 2515|       |  /* Otherwise our writes of DST kill our later reads of SRC.  */
 2516|  87.6k|  assert(dst <= src || dst >= src + srcParts);
  ------------------
  |  Branch (2516:3): [True: 51.2k, False: 36.4k]
  |  Branch (2516:3): [True: 36.4k, False: 0]
  |  Branch (2516:3): [True: 87.6k, False: 0]
  ------------------
 2517|  87.6k|  assert(dstParts <= srcParts + 1);
  ------------------
  |  Branch (2517:3): [True: 87.6k, False: 0]
  ------------------
 2518|       |
 2519|       |  /* N loops; minimum of dstParts and srcParts.  */
 2520|  87.6k|  n = dstParts < srcParts ? dstParts: srcParts;
  ------------------
  |  Branch (2520:7): [True: 0, False: 87.6k]
  ------------------
 2521|       |
 2522|   406k|  for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2522:15): [True: 319k, False: 87.6k]
  ------------------
 2523|   319k|    integerPart low, mid, high, srcPart;
 2524|       |
 2525|       |      /* [ LOW, HIGH ] = MULTIPLIER * SRC[i] + DST[i] + CARRY.
 2526|       |
 2527|       |         This cannot overflow, because
 2528|       |
 2529|       |         (n - 1) * (n - 1) + 2 (n - 1) = (n - 1) * (n + 1)
 2530|       |
 2531|       |         which is less than n^2.  */
 2532|       |
 2533|   319k|    srcPart = src[i];
 2534|       |
 2535|   319k|    if (multiplier == 0 || srcPart == 0)        {
  ------------------
  |  Branch (2535:9): [True: 88, False: 319k]
  |  Branch (2535:28): [True: 9.86k, False: 309k]
  ------------------
 2536|  9.94k|      low = carry;
 2537|  9.94k|      high = 0;
 2538|   309k|    } else {
 2539|   309k|      low = lowHalf(srcPart) * lowHalf(multiplier);
 2540|   309k|      high = highHalf(srcPart) * highHalf(multiplier);
 2541|       |
 2542|   309k|      mid = lowHalf(srcPart) * highHalf(multiplier);
 2543|   309k|      high += highHalf(mid);
 2544|   309k|      mid <<= integerPartWidth / 2;
 2545|   309k|      if (low + mid < low)
  ------------------
  |  Branch (2545:11): [True: 60.3k, False: 248k]
  ------------------
 2546|  60.3k|        high++;
 2547|   309k|      low += mid;
 2548|       |
 2549|   309k|      mid = highHalf(srcPart) * lowHalf(multiplier);
 2550|   309k|      high += highHalf(mid);
 2551|   309k|      mid <<= integerPartWidth / 2;
 2552|   309k|      if (low + mid < low)
  ------------------
  |  Branch (2552:11): [True: 135k, False: 173k]
  ------------------
 2553|   135k|        high++;
 2554|   309k|      low += mid;
 2555|       |
 2556|       |      /* Now add carry.  */
 2557|   309k|      if (low + carry < low)
  ------------------
  |  Branch (2557:11): [True: 52.7k, False: 256k]
  ------------------
 2558|  52.7k|        high++;
 2559|   309k|      low += carry;
 2560|   309k|    }
 2561|       |
 2562|   319k|    if (add) {
  ------------------
  |  Branch (2562:9): [True: 186k, False: 132k]
  ------------------
 2563|       |      /* And now DST[i], and store the new low part there.  */
 2564|   186k|      if (low + dst[i] < low)
  ------------------
  |  Branch (2564:11): [True: 53.2k, False: 133k]
  ------------------
 2565|  53.2k|        high++;
 2566|   186k|      dst[i] += low;
 2567|   186k|    } else
 2568|   132k|      dst[i] = low;
 2569|       |
 2570|   319k|    carry = high;
 2571|   319k|  }
 2572|       |
 2573|  87.6k|  if (i < dstParts) {
  ------------------
  |  Branch (2573:7): [True: 87.6k, False: 0]
  ------------------
 2574|       |    /* Full multiplication, there is no overflow.  */
 2575|  87.6k|    assert(i + 1 == dstParts);
  ------------------
  |  Branch (2575:5): [True: 87.6k, False: 0]
  ------------------
 2576|  87.6k|    dst[i] = carry;
 2577|  87.6k|    return 0;
 2578|  87.6k|  } else {
 2579|       |    /* We overflowed if there is carry.  */
 2580|      0|    if (carry)
  ------------------
  |  Branch (2580:9): [True: 0, False: 0]
  ------------------
 2581|      0|      return 1;
 2582|       |
 2583|       |    /* We would overflow if any significant unwritten parts would be
 2584|       |       non-zero.  This is true if any remaining src parts are non-zero
 2585|       |       and the multiplier is non-zero.  */
 2586|      0|    if (multiplier)
  ------------------
  |  Branch (2586:9): [True: 0, False: 0]
  ------------------
 2587|      0|      for (; i < srcParts; i++)
  ------------------
  |  Branch (2587:14): [True: 0, False: 0]
  ------------------
 2588|      0|        if (src[i])
  ------------------
  |  Branch (2588:13): [True: 0, False: 0]
  ------------------
 2589|      0|          return 1;
 2590|       |
 2591|       |    /* We fitted in the narrow destination.  */
 2592|      0|    return 0;
 2593|      0|  }
 2594|  87.6k|}
_ZN7llvm_ks5APInt14tcFullMultiplyEPmPKmS3_jj:
 2627|  28.5k|{
 2628|       |  /* Put the narrower number on the LHS for less loops below.  */
 2629|  28.5k|  if (lhsParts > rhsParts) {
  ------------------
  |  Branch (2629:7): [True: 0, False: 28.5k]
  ------------------
 2630|      0|    return tcFullMultiply (dst, rhs, lhs, rhsParts, lhsParts);
 2631|  28.5k|  } else {
 2632|  28.5k|    unsigned int n;
 2633|       |
 2634|  28.5k|    assert(dst != lhs && dst != rhs);
  ------------------
  |  Branch (2634:5): [True: 28.5k, False: 0]
  |  Branch (2634:5): [True: 28.5k, False: 0]
  |  Branch (2634:5): [True: 28.5k, False: 0]
  ------------------
 2635|       |
 2636|  28.5k|    tcSet(dst, 0, rhsParts);
 2637|       |
 2638|  77.1k|    for (n = 0; n < lhsParts; n++)
  ------------------
  |  Branch (2638:17): [True: 48.6k, False: 28.5k]
  ------------------
 2639|  48.6k|      tcMultiplyPart(&dst[n], rhs, lhs[n], 0, rhsParts, rhsParts + 1, true);
 2640|       |
 2641|  28.5k|    n = lhsParts + rhsParts;
 2642|       |
 2643|  28.5k|    return n - (dst[n - 1] == 0);
 2644|  28.5k|  }
 2645|  28.5k|}
_ZN7llvm_ks5APInt11tcShiftLeftEPmjj:
 2706|  2.45M|{
 2707|  2.45M|  if (count) {
  ------------------
  |  Branch (2707:7): [True: 2.45M, False: 0]
  ------------------
 2708|  2.45M|    unsigned int jump, shift;
 2709|       |
 2710|       |    /* Jump is the inter-part jump; shift is is intra-part shift.  */
 2711|  2.45M|    jump = count / integerPartWidth;
 2712|  2.45M|    shift = count % integerPartWidth;
 2713|       |
 2714|  38.9M|    while (parts > jump) {
  ------------------
  |  Branch (2714:12): [True: 36.5M, False: 2.45M]
  ------------------
 2715|  36.5M|      integerPart part;
 2716|       |
 2717|  36.5M|      parts--;
 2718|       |
 2719|       |      /* dst[i] comes from the two parts src[i - jump] and, if we have
 2720|       |         an intra-part shift, src[i - jump - 1].  */
 2721|  36.5M|      part = dst[parts - jump];
 2722|  36.5M|      if (shift) {
  ------------------
  |  Branch (2722:11): [True: 36.5M, False: 558]
  ------------------
 2723|  36.5M|        part <<= shift;
 2724|  36.5M|        if (parts >= jump + 1)
  ------------------
  |  Branch (2724:13): [True: 34.0M, False: 2.45M]
  ------------------
 2725|  34.0M|          part |= dst[parts - jump - 1] >> (integerPartWidth - shift);
 2726|  36.5M|      }
 2727|       |
 2728|  36.5M|      dst[parts] = part;
 2729|  36.5M|    }
 2730|       |
 2731|  2.45M|    while (parts > 0)
  ------------------
  |  Branch (2731:12): [True: 4.65k, False: 2.45M]
  ------------------
 2732|  4.65k|      dst[--parts] = 0;
 2733|  2.45M|  }
 2734|  2.45M|}
_ZN7llvm_ks5APInt12tcShiftRightEPmjj:
 2740|   112k|{
 2741|   112k|  if (count) {
  ------------------
  |  Branch (2741:7): [True: 47.5k, False: 65.3k]
  ------------------
 2742|  47.5k|    unsigned int i, jump, shift;
 2743|       |
 2744|       |    /* Jump is the inter-part jump; shift is is intra-part shift.  */
 2745|  47.5k|    jump = count / integerPartWidth;
 2746|  47.5k|    shift = count % integerPartWidth;
 2747|       |
 2748|       |    /* Perform the shift.  This leaves the most significant COUNT bits
 2749|       |       of the result at zero.  */
 2750|   107k|    for (i = 0; i < parts; i++) {
  ------------------
  |  Branch (2750:17): [True: 59.7k, False: 47.5k]
  ------------------
 2751|  59.7k|      integerPart part;
 2752|       |
 2753|  59.7k|      if (i + jump >= parts) {
  ------------------
  |  Branch (2753:11): [True: 1.43k, False: 58.3k]
  ------------------
 2754|  1.43k|        part = 0;
 2755|  58.3k|      } else {
 2756|  58.3k|        part = dst[i + jump];
 2757|  58.3k|        if (shift) {
  ------------------
  |  Branch (2757:13): [True: 58.3k, False: 0]
  ------------------
 2758|  58.3k|          part >>= shift;
 2759|  58.3k|          if (i + jump + 1 < parts)
  ------------------
  |  Branch (2759:15): [True: 12.5k, False: 45.7k]
  ------------------
 2760|  12.5k|            part |= dst[i + jump + 1] << (integerPartWidth - shift);
 2761|  58.3k|        }
 2762|  58.3k|      }
 2763|       |
 2764|  59.7k|      dst[i] = part;
 2765|  59.7k|    }
 2766|  47.5k|  }
 2767|   112k|}
_ZN7llvm_ks5APInt9tcCompareEPKmS2_j:
 2813|  2.44M|{
 2814|  2.45M|  while (parts) {
  ------------------
  |  Branch (2814:10): [True: 2.45M, False: 1.36k]
  ------------------
 2815|  2.45M|      parts--;
 2816|  2.45M|      if (lhs[parts] == rhs[parts])
  ------------------
  |  Branch (2816:11): [True: 7.03k, False: 2.44M]
  ------------------
 2817|  7.03k|        continue;
 2818|       |
 2819|  2.44M|      if (lhs[parts] > rhs[parts])
  ------------------
  |  Branch (2819:11): [True: 1.27M, False: 1.17M]
  ------------------
 2820|  1.27M|        return 1;
 2821|  1.17M|      else
 2822|  1.17M|        return -1;
 2823|  2.44M|    }
 2824|       |
 2825|  1.36k|  return 0;
 2826|  2.44M|}
_ZN7llvm_ks5APInt11tcIncrementEPmj:
 2831|  28.0k|{
 2832|  28.0k|  unsigned int i;
 2833|       |
 2834|  28.2k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2834:15): [True: 28.2k, False: 0]
  ------------------
 2835|  28.2k|    if (++dst[i] != 0)
  ------------------
  |  Branch (2835:9): [True: 28.0k, False: 164]
  ------------------
 2836|  28.0k|      break;
 2837|       |
 2838|  28.0k|  return i == parts;
 2839|  28.0k|}
APInt.cpp:_ZL16getClearedMemoryj:
   34|   849k|inline static uint64_t* getClearedMemory(unsigned numWords) {
   35|   849k|  uint64_t * result = new uint64_t[numWords];
   36|   849k|  assert(result && "APInt memory allocation fails!");
  ------------------
  |  Branch (36:3): [True: 849k, False: 0]
  |  Branch (36:3): [True: 849k, Folded]
  |  Branch (36:3): [True: 849k, False: 0]
  ------------------
   37|   849k|  memset(result, 0, numWords * sizeof(uint64_t));
   38|   849k|  return result;
   39|   849k|}
APInt.cpp:_ZL9getMemoryj:
   43|  1.48M|inline static uint64_t* getMemory(unsigned numWords) {
   44|  1.48M|  uint64_t * result = new uint64_t[numWords];
   45|  1.48M|  assert(result && "APInt memory allocation fails!");
  ------------------
  |  Branch (45:3): [True: 1.48M, False: 0]
  |  Branch (45:3): [True: 1.48M, Folded]
  |  Branch (45:3): [True: 1.48M, False: 0]
  ------------------
   46|  1.48M|  return result;
   47|  1.48M|}
APInt.cpp:_ZL3addPmPKmS1_j:
  241|  8.99k|                unsigned len) {
  242|  8.99k|  bool carry = false;
  243|   246k|  for (unsigned i = 0; i< len; ++i) {
  ------------------
  |  Branch (243:24): [True: 237k, False: 8.99k]
  ------------------
  244|   237k|    uint64_t limit = std::min(x[i],y[i]); // must come first in case dest == x
  245|   237k|    dest[i] = x[i] + y[i] + carry;
  246|   237k|    carry = dest[i] < limit || (carry && dest[i] == limit);
  ------------------
  |  Branch (246:13): [True: 1, False: 237k]
  |  Branch (246:33): [True: 1, False: 237k]
  |  Branch (246:42): [True: 0, False: 1]
  ------------------
  247|   237k|  }
  248|  8.99k|  return carry;
  249|  8.99k|}
APInt.cpp:_ZL3mulPmS_jS_j:
  329|  8.85k|                unsigned ylen) {
  330|  8.85k|  dest[xlen] = mul_1(dest, x, xlen, y[0]);
  331|  8.85k|  for (unsigned i = 1; i < ylen; ++i) {
  ------------------
  |  Branch (331:24): [True: 0, False: 8.85k]
  ------------------
  332|      0|    uint64_t ly = y[i] & 0xffffffffULL, hy = y[i] >> 32;
  333|      0|    uint64_t carry = 0, lx = 0, hx = 0;
  334|      0|    for (unsigned j = 0; j < xlen; ++j) {
  ------------------
  |  Branch (334:26): [True: 0, False: 0]
  ------------------
  335|      0|      lx = x[j] & 0xffffffffULL;
  336|      0|      hx = x[j] >> 32;
  337|       |      // hasCarry - A flag to indicate if has carry.
  338|       |      // hasCarry == 0, no carry
  339|       |      // hasCarry == 1, has carry
  340|       |      // hasCarry == 2, no carry and the calculation result == 0.
  341|      0|      uint8_t hasCarry = 0;
  342|      0|      uint64_t resul = carry + lx * ly;
  343|      0|      hasCarry = (resul < carry) ? 1 : 0;
  ------------------
  |  Branch (343:18): [True: 0, False: 0]
  ------------------
  344|      0|      carry = (hasCarry ? (1ULL << 32) : 0) + hx * ly + (resul >> 32);
  ------------------
  |  Branch (344:16): [True: 0, False: 0]
  ------------------
  345|      0|      hasCarry = (!carry && hasCarry) ? 1 : (!carry ? 2 : 0);
  ------------------
  |  Branch (345:19): [True: 0, False: 0]
  |  Branch (345:29): [True: 0, False: 0]
  |  Branch (345:46): [True: 0, False: 0]
  ------------------
  346|       |
  347|      0|      carry += (lx * hy) & 0xffffffffULL;
  348|      0|      resul = (carry << 32) | (resul & 0xffffffffULL);
  349|      0|      dest[i+j] += resul;
  350|      0|      carry = (((!carry && hasCarry != 2) || hasCarry == 1) ? (1ULL << 32) : 0)+
  ------------------
  |  Branch (350:18): [True: 0, False: 0]
  |  Branch (350:28): [True: 0, False: 0]
  |  Branch (350:46): [True: 0, False: 0]
  ------------------
  351|      0|              (carry >> 32) + (dest[i+j] < resul ? 1 : 0) +
  ------------------
  |  Branch (351:32): [True: 0, False: 0]
  ------------------
  352|      0|              ((lx * hy) >> 32) + hx * hy;
  353|      0|    }
  354|      0|    dest[i+xlen] = carry;
  355|      0|  }
  356|  8.85k|}
APInt.cpp:_ZL5mul_1PmS_jm:
  294|  8.85k|static uint64_t mul_1(uint64_t dest[], uint64_t x[], unsigned len, uint64_t y) {
  295|       |  // Split y into high 32-bit part (hy)  and low 32-bit part (ly)
  296|  8.85k|  uint64_t ly = y & 0xffffffffULL, hy = y >> 32;
  297|  8.85k|  uint64_t carry = 0;
  298|       |
  299|       |  // For each digit of x.
  300|   109k|  for (unsigned i = 0; i < len; ++i) {
  ------------------
  |  Branch (300:24): [True: 100k, False: 8.85k]
  ------------------
  301|       |    // Split x into high and low words
  302|   100k|    uint64_t lx = x[i] & 0xffffffffULL;
  303|   100k|    uint64_t hx = x[i] >> 32;
  304|       |    // hasCarry - A flag to indicate if there is a carry to the next digit.
  305|       |    // hasCarry == 0, no carry
  306|       |    // hasCarry == 1, has carry
  307|       |    // hasCarry == 2, no carry and the calculation result == 0.
  308|   100k|    uint8_t hasCarry = 0;
  309|   100k|    dest[i] = carry + lx * ly;
  310|       |    // Determine if the add above introduces carry.
  311|   100k|    hasCarry = (dest[i] < carry) ? 1 : 0;
  ------------------
  |  Branch (311:16): [True: 0, False: 100k]
  ------------------
  312|   100k|    carry = hx * ly + (dest[i] >> 32) + (hasCarry ? (1ULL << 32) : 0);
  ------------------
  |  Branch (312:42): [True: 0, False: 100k]
  ------------------
  313|       |    // The upper limit of carry can be (2^32 - 1)(2^32 - 1) +
  314|       |    // (2^32 - 1) + 2^32 = 2^64.
  315|   100k|    hasCarry = (!carry && hasCarry) ? 1 : (!carry ? 2 : 0);
  ------------------
  |  Branch (315:17): [True: 26.1k, False: 74.5k]
  |  Branch (315:27): [True: 0, False: 26.1k]
  |  Branch (315:44): [True: 26.1k, False: 74.5k]
  ------------------
  316|       |
  317|   100k|    carry += (lx * hy) & 0xffffffffULL;
  318|   100k|    dest[i] = (carry << 32) | (dest[i] & 0xffffffffULL);
  319|   100k|    carry = (((!carry && hasCarry != 2) || hasCarry == 1) ? (1ULL << 32) : 0) +
  ------------------
  |  Branch (319:16): [True: 26.1k, False: 74.5k]
  |  Branch (319:26): [True: 0, False: 26.1k]
  |  Branch (319:44): [True: 0, False: 100k]
  ------------------
  320|   100k|            (carry >> 32) + ((lx * hy) >> 32) + hx * hy;
  321|   100k|  }
  322|  8.85k|  return carry;
  323|  8.85k|}
APInt.cpp:_ZN12_GLOBAL__N_17partLSBEm:
 2298|  47.8k|  {
 2299|  47.8k|    return findFirstSet(value, ZB_Max);
 2300|  47.8k|  }
APInt.cpp:_ZN12_GLOBAL__N_17partMSBEm:
 2290|   268k|  {
 2291|   268k|    return findLastSet(value, ZB_Max);
 2292|   268k|  }
APInt.cpp:_ZN12_GLOBAL__N_110lowBitMaskEj:
 2266|  1.34M|  {
 2267|  1.34M|    assert(bits != 0 && bits <= integerPartWidth);
  ------------------
  |  Branch (2267:5): [True: 1.34M, False: 0]
  |  Branch (2267:5): [True: 1.34M, False: 0]
  |  Branch (2267:5): [True: 1.34M, False: 0]
  ------------------
 2268|       |
 2269|  1.34M|    return ~(integerPart) 0 >> (integerPartWidth - bits);
 2270|  1.34M|  }
APInt.cpp:_ZN12_GLOBAL__N_17lowHalfEm:
 2275|  1.23M|  {
 2276|  1.23M|    return part & lowBitMask(integerPartWidth / 2);
 2277|  1.23M|  }
APInt.cpp:_ZN12_GLOBAL__N_18highHalfEm:
 2282|  1.85M|  {
 2283|  1.85M|    return part >> (integerPartWidth / 2);
 2284|  1.85M|  }

_ZN7llvm_ks12MemoryBufferD2Ev:
   39|  42.5k|MemoryBuffer::~MemoryBuffer() { }
_ZN7llvm_ks12MemoryBuffer4initEPKcS2_b:
   44|  42.5k|                        bool RequiresNullTerminator) {
   45|  42.5k|  assert((!RequiresNullTerminator || BufEnd[0] == 0) &&
  ------------------
  |  Branch (45:3): [True: 0, False: 42.5k]
  |  Branch (45:3): [True: 42.5k, False: 0]
  |  Branch (45:3): [True: 42.5k, Folded]
  |  Branch (45:3): [True: 42.5k, False: 0]
  ------------------
   46|  42.5k|         "Buffer is not null terminated!");
   47|  42.5k|  BufferStart = BufStart;
   48|  42.5k|  BufferEnd = BufEnd;
   49|  42.5k|}
_ZN7llvm_ks12MemoryBuffer12getMemBufferENS_9StringRefES1_b:
  104|  17.0k|                           bool RequiresNullTerminator) {
  105|  17.0k|  auto *Ret = new (NamedBufferAlloc(BufferName))
  106|  17.0k|      MemoryBufferMem(InputData, RequiresNullTerminator);
  107|  17.0k|  return std::unique_ptr<MemoryBuffer>(Ret);
  108|  17.0k|}
_ZN7llvm_ks12MemoryBuffer16getMemBufferCopyENS_9StringRefERKNS_5TwineE:
  117|  25.4k|MemoryBuffer::getMemBufferCopy(StringRef InputData, const Twine &BufferName) {
  118|  25.4k|  std::unique_ptr<MemoryBuffer> Buf =
  119|  25.4k|      getNewUninitMemBuffer(InputData.size(), BufferName);
  120|  25.4k|  if (!Buf)
  ------------------
  |  Branch (120:7): [True: 0, False: 25.4k]
  ------------------
  121|      0|    return nullptr;
  122|  25.4k|  memcpy(const_cast<char*>(Buf->getBufferStart()), InputData.data(),
  123|  25.4k|         InputData.size());
  124|  25.4k|  return Buf;
  125|  25.4k|}
_ZN7llvm_ks12MemoryBuffer21getNewUninitMemBufferEmRKNS_5TwineE:
  128|  25.4k|MemoryBuffer::getNewUninitMemBuffer(size_t Size, const Twine &BufferName) {
  129|       |  // Allocate space for the MemoryBuffer, the data and the name. It is important
  130|       |  // that MemoryBuffer and data are aligned so PointerIntPair works with them.
  131|       |  // TODO: Is 16-byte alignment enough?  We copy small object files with large
  132|       |  // alignment expectations into this buffer.
  133|  25.4k|  SmallString<256> NameBuf;
  134|  25.4k|  StringRef NameRef = BufferName.toStringRef(NameBuf);
  135|  25.4k|  size_t AlignedStringLen =
  136|  25.4k|      alignTo(sizeof(MemoryBufferMem) + NameRef.size() + 1, 16);
  137|  25.4k|  size_t RealLen = AlignedStringLen + Size + 1;
  138|  25.4k|  char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow));
  139|  25.4k|  if (!Mem)
  ------------------
  |  Branch (139:7): [True: 0, False: 25.4k]
  ------------------
  140|      0|    return nullptr;
  141|       |
  142|       |  // The name is stored after the class itself.
  143|  25.4k|  CopyStringRef(Mem + sizeof(MemoryBufferMem), NameRef);
  144|       |
  145|       |  // The buffer begins after the name and must be aligned.
  146|  25.4k|  char *Buf = Mem + AlignedStringLen;
  147|  25.4k|  Buf[Size] = 0; // Null terminate buffer.
  148|       |
  149|  25.4k|  auto *Ret = new (Mem) MemoryBufferMem(StringRef(Buf, Size), true);
  150|  25.4k|  return std::unique_ptr<MemoryBuffer>(Ret);
  151|  25.4k|}
_ZN7llvm_ks12MemoryBuffer7getFileERKNS_5TwineElbb:
  247|      7|                      bool RequiresNullTerminator, bool IsVolatileSize) {
  248|      7|  return getFileAux(Filename, FileSize, FileSize, 0,
  249|      7|                    RequiresNullTerminator, IsVolatileSize);
  250|      7|}
MemoryBuffer.cpp:_ZN12_GLOBAL__N_116NamedBufferAllocC2ERKN7llvm_ks5TwineE:
   66|  17.0k|  NamedBufferAlloc(const Twine &Name) : Name(Name) {}
MemoryBuffer.cpp:_ZnwmRKN12_GLOBAL__N_116NamedBufferAllocE:
   70|  17.0k|void *operator new(size_t N, const NamedBufferAlloc &Alloc) {
   71|  17.0k|  SmallString<256> NameBuf;
   72|  17.0k|  StringRef NameRef = Alloc.Name.toStringRef(NameBuf);
   73|       |
   74|  17.0k|  char *Mem = static_cast<char *>(operator new(N + NameRef.size() + 1));
   75|  17.0k|  CopyStringRef(Mem + N, NameRef);
   76|  17.0k|  return Mem;
   77|  17.0k|}
MemoryBuffer.cpp:_ZN12_GLOBAL__N_115MemoryBufferMemC2EN7llvm_ks9StringRefEb:
   83|  42.5k|  MemoryBufferMem(StringRef InputData, bool RequiresNullTerminator) {
   84|  42.5k|    init(InputData.begin(), InputData.end(), RequiresNullTerminator);
   85|  42.5k|  }
MemoryBuffer.cpp:_ZNK12_GLOBAL__N_115MemoryBufferMem19getBufferIdentifierEv:
   87|  64.8k|  const char *getBufferIdentifier() const override {
   88|       |     // The name is stored after the class itself.
   89|  64.8k|    return reinterpret_cast<const char*>(this + 1);
   90|  64.8k|  }
MemoryBuffer.cpp:_ZL13CopyStringRefPcN7llvm_ks9StringRefE:
   57|  42.5k|static void CopyStringRef(char *Memory, StringRef Data) {
   58|  42.5k|  if (!Data.empty())
  ------------------
  |  Branch (58:7): [True: 25.4k, False: 17.0k]
  ------------------
   59|  25.4k|    memcpy(Memory, Data.data(), Data.size());
   60|  42.5k|  Memory[Data.size()] = 0; // Null terminate string.
   61|  42.5k|}
MemoryBuffer.cpp:_ZL10getFileAuxRKN7llvm_ks5TwineElmmbb:
  259|      7|           uint64_t Offset, bool RequiresNullTerminator, bool IsVolatileSize) {
  260|      7|  int FD;
  261|      7|  std::error_code EC = sys::fs::openFileForRead(Filename, FD);
  262|      7|  if (EC)
  ------------------
  |  Branch (262:7): [True: 6, False: 1]
  ------------------
  263|      6|    return EC;
  264|       |
  265|      1|  ErrorOr<std::unique_ptr<MemoryBuffer>> Ret =
  266|      1|      getOpenFileImpl(FD, Filename, FileSize, MapSize, Offset,
  267|      1|                      RequiresNullTerminator, IsVolatileSize);
  268|      1|  close(FD);
  269|      1|  return Ret;
  270|      7|}
MemoryBuffer.cpp:_ZL15getOpenFileImpliRKN7llvm_ks5TwineEmmlbb:
  331|      1|                bool IsVolatileSize) {
  332|      1|  static int PageSize = 4096;
  333|       |
  334|       |  // Default is to map the full file.
  335|      1|  if (MapSize == uint64_t(-1)) {
  ------------------
  |  Branch (335:7): [True: 1, False: 0]
  ------------------
  336|       |    // If we don't know the file size, use fstat to find out.  fstat on an open
  337|       |    // file descriptor is cheaper than stat on a random path.
  338|      1|    if (FileSize == uint64_t(-1)) {
  ------------------
  |  Branch (338:9): [True: 1, False: 0]
  ------------------
  339|      1|      sys::fs::file_status Status;
  340|      1|      std::error_code EC = sys::fs::status(FD, Status);
  341|      1|      if (EC)
  ------------------
  |  Branch (341:11): [True: 0, False: 1]
  ------------------
  342|      0|        return EC;
  343|       |
  344|       |      // If this not a file or a block device (e.g. it's a named pipe
  345|       |      // or character device), we can't trust the size. Create the memory
  346|       |      // buffer by copying off the stream.
  347|      1|      sys::fs::file_type Type = Status.type();
  348|      1|      if (Type != sys::fs::file_type::regular_file &&
  ------------------
  |  Branch (348:11): [True: 1, False: 0]
  ------------------
  349|      1|          Type != sys::fs::file_type::block_file)
  ------------------
  |  Branch (349:11): [True: 1, False: 0]
  ------------------
  350|      1|        return getMemoryBufferForStream(FD, Filename);
  351|       |
  352|      0|      FileSize = Status.getSize();
  353|      0|    }
  354|      0|    MapSize = FileSize;
  355|      0|  }
  356|       |
  357|      0|  if (shouldUseMmap(FD, FileSize, MapSize, Offset, RequiresNullTerminator,
  ------------------
  |  Branch (357:7): [True: 0, False: 0]
  ------------------
  358|      0|                    PageSize, IsVolatileSize)) {
  359|      0|    std::error_code EC;
  360|      0|    std::unique_ptr<MemoryBuffer> Result(
  361|      0|        new (NamedBufferAlloc(Filename))
  362|      0|        MemoryBufferMMapFile(RequiresNullTerminator, FD, MapSize, Offset, EC));
  363|      0|    if (!EC)
  ------------------
  |  Branch (363:9): [True: 0, False: 0]
  ------------------
  364|      0|      return std::move(Result);
  365|      0|  }
  366|       |
  367|      0|  std::unique_ptr<MemoryBuffer> Buf =
  368|      0|      MemoryBuffer::getNewUninitMemBuffer(MapSize, Filename);
  369|      0|  if (!Buf) {
  ------------------
  |  Branch (369:7): [True: 0, False: 0]
  ------------------
  370|       |    // Failed to create a buffer. The only way it can fail is if
  371|       |    // new(std::nothrow) returns 0.
  372|      0|    return make_error_code(errc::not_enough_memory);
  373|      0|  }
  374|       |
  375|      0|  char *BufPtr = const_cast<char *>(Buf->getBufferStart());
  376|       |
  377|      0|  size_t BytesLeft = MapSize;
  378|       |#ifndef HAVE_PREAD
  379|       |  if (lseek(FD, Offset, SEEK_SET) == -1)
  380|       |    return std::error_code(errno, std::generic_category());
  381|       |#endif
  382|       |
  383|      0|  while (BytesLeft) {
  ------------------
  |  Branch (383:10): [True: 0, False: 0]
  ------------------
  384|      0|#ifdef HAVE_PREAD
  385|      0|    ssize_t NumRead = ::pread(FD, BufPtr, BytesLeft, MapSize-BytesLeft+Offset);
  386|       |#else
  387|       |    ssize_t NumRead = ::read(FD, BufPtr, BytesLeft);
  388|       |#endif
  389|      0|    if (NumRead == -1) {
  ------------------
  |  Branch (389:9): [True: 0, False: 0]
  ------------------
  390|      0|      if (errno == EINTR)
  ------------------
  |  Branch (390:11): [True: 0, False: 0]
  ------------------
  391|      0|        continue;
  392|       |      // Error while reading.
  393|      0|      return std::error_code(errno, std::generic_category());
  394|      0|    }
  395|      0|    if (NumRead == 0) {
  ------------------
  |  Branch (395:9): [True: 0, False: 0]
  ------------------
  396|      0|      memset(BufPtr, 0, BytesLeft); // zero-initialize rest of the buffer.
  397|      0|      break;
  398|      0|    }
  399|      0|    BytesLeft -= NumRead;
  400|      0|    BufPtr += NumRead;
  401|      0|  }
  402|       |
  403|      0|  return std::move(Buf);
  404|      0|}
MemoryBuffer.cpp:_ZL24getMemoryBufferForStreamiRKN7llvm_ks5TwineE:
  226|      1|getMemoryBufferForStream(int FD, const Twine &BufferName) {
  227|      1|  const ssize_t ChunkSize = 4096*4;
  228|      1|  SmallString<ChunkSize> Buffer;
  229|      1|  ssize_t ReadBytes;
  230|       |  // Read into Buffer until we hit EOF.
  231|      1|  do {
  232|      1|    Buffer.reserve(Buffer.size() + ChunkSize);
  233|      1|    ReadBytes = read(FD, Buffer.end(), ChunkSize);
  234|      1|    if (ReadBytes == -1) {
  ------------------
  |  Branch (234:9): [True: 1, False: 0]
  ------------------
  235|      1|      if (errno == EINTR) continue;
  ------------------
  |  Branch (235:11): [True: 0, False: 1]
  ------------------
  236|      1|      return std::error_code(errno, std::generic_category());
  237|      1|    }
  238|      0|    Buffer.set_size(Buffer.size() + ReadBytes);
  239|      0|  } while (ReadBytes != 0);
  ------------------
  |  Branch (239:12): [True: 0, False: 0]
  ------------------
  240|       |
  241|      0|  return MemoryBuffer::getMemBufferCopy(Buffer, BufferName);
  242|      1|}

_ZN7llvm_ks3sys4path5beginENS_9StringRefE:
  232|  17.0k|const_iterator begin(StringRef path) {
  233|  17.0k|  const_iterator i;
  234|  17.0k|  i.Path      = path;
  235|  17.0k|  i.Component = find_first_component(path);
  236|  17.0k|  i.Position  = 0;
  237|  17.0k|  return i;
  238|  17.0k|}
_ZN7llvm_ks3sys4path3endENS_9StringRefE:
  240|  17.0k|const_iterator end(StringRef path) {
  241|  17.0k|  const_iterator i;
  242|  17.0k|  i.Path      = path;
  243|  17.0k|  i.Position  = path.size();
  244|  17.0k|  return i;
  245|  17.0k|}
_ZNK7llvm_ks3sys4path14const_iteratoreqERKS2_:
  300|  17.0k|bool const_iterator::operator==(const const_iterator &RHS) const {
  301|  17.0k|  return Path.begin() == RHS.Path.begin() && Position == RHS.Position;
  ------------------
  |  Branch (301:10): [True: 17.0k, False: 0]
  |  Branch (301:46): [True: 0, False: 17.0k]
  ------------------
  302|  17.0k|}
_ZN7llvm_ks3sys4path14root_directoryENS_9StringRefE:
  409|  17.0k|StringRef root_directory(StringRef path) {
  410|  17.0k|  const_iterator b = begin(path),
  411|  17.0k|                 pos = b,
  412|  17.0k|                 e = end(path);
  413|  17.0k|  if (b != e) {
  ------------------
  |  Branch (413:7): [True: 17.0k, False: 0]
  ------------------
  414|  17.0k|    bool has_net = b->size() > 2 && is_separator((*b)[0]) && (*b)[1] == (*b)[0];
  ------------------
  |  Branch (414:20): [True: 0, False: 17.0k]
  |  Branch (414:37): [True: 0, False: 0]
  |  Branch (414:62): [True: 0, False: 0]
  ------------------
  415|  17.0k|    bool has_drive =
  416|       |#ifdef LLVM_ON_WIN32
  417|       |      b->endswith(":");
  418|       |#else
  419|  17.0k|      false;
  420|  17.0k|#endif
  421|       |
  422|  17.0k|    if ((has_net || has_drive) &&
  ------------------
  |  Branch (422:10): [True: 0, False: 17.0k]
  |  Branch (422:21): [True: 0, False: 17.0k]
  ------------------
  423|       |        // {C:,//net}, skip to the next component.
  424|      0|        (++pos != e) && is_separator((*pos)[0])) {
  ------------------
  |  Branch (424:9): [True: 0, False: 0]
  |  Branch (424:25): [True: 0, False: 0]
  ------------------
  425|      0|      return *pos;
  426|      0|    }
  427|       |
  428|       |    // POSIX style root directory.
  429|  17.0k|    if (!has_net && is_separator((*b)[0])) {
  ------------------
  |  Branch (429:9): [True: 17.0k, False: 0]
  |  Branch (429:21): [True: 17.0k, False: 0]
  ------------------
  430|  17.0k|      return *b;
  431|  17.0k|    }
  432|  17.0k|  }
  433|       |
  434|       |  // No path or no root.
  435|      0|  return StringRef();
  436|  17.0k|}
_ZN7llvm_ks3sys4path12is_separatorEc:
  576|  51.1k|bool is_separator(char value) {
  577|  51.1k|  switch(value) {
  578|       |#ifdef LLVM_ON_WIN32
  579|       |    case '\\': // fall through
  580|       |#endif
  581|  51.1k|    case '/': return true;
  ------------------
  |  Branch (581:5): [True: 51.1k, False: 0]
  ------------------
  582|      0|    default: return false;
  ------------------
  |  Branch (582:5): [True: 0, False: 51.1k]
  ------------------
  583|  51.1k|  }
  584|  51.1k|}
_ZN7llvm_ks3sys4path18has_root_directoryERKNS_5TwineE:
  599|  17.0k|bool has_root_directory(const Twine &path) {
  600|  17.0k|  SmallString<128> path_storage;
  601|  17.0k|  StringRef p = path.toStringRef(path_storage);
  602|       |
  603|  17.0k|  return !root_directory(p).empty();
  604|  17.0k|}
_ZN7llvm_ks3sys4path11is_absoluteERKNS_5TwineE:
  648|  17.0k|bool is_absolute(const Twine &path) {
  649|  17.0k|  SmallString<128> path_storage;
  650|  17.0k|  StringRef p = path.toStringRef(path_storage);
  651|       |
  652|  17.0k|  bool rootDir = has_root_directory(p),
  653|       |#ifdef LLVM_ON_WIN32
  654|       |       rootName = has_root_name(p);
  655|       |#else
  656|  17.0k|       rootName = true;
  657|  17.0k|#endif
  658|       |
  659|  17.0k|  return rootDir && rootName;
  ------------------
  |  Branch (659:10): [True: 17.0k, False: 0]
  |  Branch (659:21): [True: 17.0k, False: 0]
  ------------------
  660|  17.0k|}
Path.cpp:_ZN12_GLOBAL__N_120find_first_componentEN7llvm_ks9StringRefE:
   45|  17.0k|  StringRef find_first_component(StringRef path) {
   46|       |    // Look for this first component in the following order.
   47|       |    // * empty (in this case we return an empty string)
   48|       |    // * either C: or {//,\\}net.
   49|       |    // * {/,\}
   50|       |    // * {file,directory}name
   51|       |
   52|  17.0k|    if (path.empty())
  ------------------
  |  Branch (52:9): [True: 0, False: 17.0k]
  ------------------
   53|      0|      return path;
   54|       |
   55|       |#ifdef LLVM_ON_WIN32
   56|       |    // C:
   57|       |    if (path.size() >= 2 && std::isalpha(static_cast<unsigned char>(path[0])) &&
   58|       |        path[1] == ':')
   59|       |      return path.substr(0, 2);
   60|       |#endif
   61|       |
   62|       |    // //net
   63|  17.0k|    if ((path.size() > 2) &&
  ------------------
  |  Branch (63:9): [True: 17.0k, False: 0]
  ------------------
   64|  17.0k|        is_separator(path[0]) &&
  ------------------
  |  Branch (64:9): [True: 17.0k, False: 0]
  ------------------
   65|  17.0k|        path[0] == path[1] &&
  ------------------
  |  Branch (65:9): [True: 0, False: 17.0k]
  ------------------
   66|      0|        !is_separator(path[2])) {
  ------------------
  |  Branch (66:9): [True: 0, False: 0]
  ------------------
   67|       |      // Find the next directory separator.
   68|      0|      size_t end = path.find_first_of(separators, 2);
   69|      0|      return path.substr(0, end);
   70|      0|    }
   71|       |
   72|       |    // {/,\}
   73|  17.0k|    if (is_separator(path[0]))
  ------------------
  |  Branch (73:9): [True: 17.0k, False: 0]
  ------------------
   74|  17.0k|      return path.substr(0, 1);
   75|       |
   76|       |    // * {file,directory}name
   77|      0|    size_t end = path.find_first_of(separators);
   78|      0|    return path.substr(0, end);
   79|  17.0k|  }

_ZN7llvm_ks15SmallVectorBase8grow_podEPvmm:
   20|  17.1k|                               size_t TSize) {
   21|  17.1k|  size_t CurSizeBytes = size_in_bytes();
   22|  17.1k|  size_t NewCapacityInBytes = 2 * capacity_in_bytes() + TSize; // Always grow.
   23|  17.1k|  if (NewCapacityInBytes < MinSizeInBytes)
  ------------------
  |  Branch (23:7): [True: 444, False: 16.6k]
  ------------------
   24|    444|    NewCapacityInBytes = MinSizeInBytes;
   25|       |
   26|  17.1k|  void *NewElts;
   27|  17.1k|  if (BeginX == FirstEl) {
  ------------------
  |  Branch (27:7): [True: 8.28k, False: 8.84k]
  ------------------
   28|  8.28k|    NewElts = malloc(NewCapacityInBytes);
   29|       |
   30|       |    // Copy the elements over.  No need to run dtors on PODs.
   31|  8.28k|    memcpy(NewElts, this->BeginX, CurSizeBytes);
   32|  8.84k|  } else {
   33|       |    // If this wasn't grown from the inline copy, grow the allocated space.
   34|  8.84k|    NewElts = realloc(this->BeginX, NewCapacityInBytes);
   35|  8.84k|  }
   36|  17.1k|  assert(NewElts && "Out of memory");
  ------------------
  |  Branch (36:3): [True: 17.1k, False: 0]
  |  Branch (36:3): [True: 17.1k, Folded]
  |  Branch (36:3): [True: 17.1k, False: 0]
  ------------------
   37|       |
   38|  17.1k|  this->EndX = (char*)NewElts+CurSizeBytes;
   39|  17.1k|  this->BeginX = NewElts;
   40|  17.1k|  this->CapacityX = (char*)this->BeginX + NewCapacityInBytes;
   41|  17.1k|}

_ZN7llvm_ks9SourceMgrD2Ev:
   38|  17.0k|SourceMgr::~SourceMgr() {
   39|       |  // Delete the line # cache if allocated.
   40|  17.0k|  if (LineNoCacheTy *Cache = getCache(LineNoCache))
  ------------------
  |  Branch (40:22): [True: 1.17k, False: 15.8k]
  ------------------
   41|  1.17k|    delete Cache;
   42|  17.0k|}
_ZN7llvm_ks9SourceMgr14AddIncludeFileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_5SMLocERS7_:
   46|      7|                                   std::string &IncludedFile) {
   47|      7|  IncludedFile = Filename;
   48|      7|  ErrorOr<std::unique_ptr<MemoryBuffer>> NewBufOrErr =
   49|      7|    MemoryBuffer::getFile(IncludedFile);
   50|       |
   51|       |  // If the file didn't exist directly, see if it's in an include path.
   52|      7|  for (unsigned i = 0, e = IncludeDirectories.size(); i != e && !NewBufOrErr;
  ------------------
  |  Branch (52:55): [True: 0, False: 7]
  |  Branch (52:65): [True: 0, False: 0]
  ------------------
   53|      7|       ++i) {
   54|      0|    IncludedFile =
   55|      0|        IncludeDirectories[i] + sys::path::get_separator().data() + Filename;
   56|      0|    NewBufOrErr = MemoryBuffer::getFile(IncludedFile);
   57|      0|  }
   58|       |
   59|      7|  if (!NewBufOrErr)
  ------------------
  |  Branch (59:7): [True: 7, False: 0]
  ------------------
   60|      7|    return 0;
   61|       |
   62|      0|  return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc);
   63|      7|}
_ZNK7llvm_ks9SourceMgr23FindBufferContainingLocENS_5SMLocE:
   65|   259k|unsigned SourceMgr::FindBufferContainingLoc(SMLoc Loc) const {
   66|  22.2M|  for (unsigned i = 0, e = Buffers.size(); i != e; ++i)
  ------------------
  |  Branch (66:44): [True: 22.1M, False: 62.7k]
  ------------------
   67|  22.1M|    if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() &&
  ------------------
  |  Branch (67:9): [True: 13.6M, False: 8.59M]
  ------------------
   68|       |        // Use <= here so that a pointer to the null at the end of the buffer
   69|       |        // is included as part of the buffer.
   70|  13.6M|        Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd())
  ------------------
  |  Branch (70:9): [True: 196k, False: 13.4M]
  ------------------
   71|   196k|      return i + 1;
   72|  62.7k|  return 0;
   73|   259k|}
_ZNK7llvm_ks9SourceMgr16getLineAndColumnENS_5SMLocEj:
   76|  66.8k|SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const {
   77|  66.8k|  if (!BufferID)
  ------------------
  |  Branch (77:7): [True: 0, False: 66.8k]
  ------------------
   78|      0|    BufferID = FindBufferContainingLoc(Loc);
   79|  66.8k|  assert(BufferID && "Invalid Location!");
  ------------------
  |  Branch (79:3): [True: 66.8k, False: 0]
  |  Branch (79:3): [True: 66.8k, Folded]
  |  Branch (79:3): [True: 66.8k, False: 0]
  ------------------
   80|       |
   81|  66.8k|  const MemoryBuffer *Buff = getMemoryBuffer(BufferID);
   82|       |
   83|       |  // Count the number of \n's between the start of the file and the specified
   84|       |  // location.
   85|  66.8k|  unsigned LineNo = 1;
   86|       |
   87|  66.8k|  const char *BufStart = Buff->getBufferStart();
   88|  66.8k|  const char *Ptr = BufStart;
   89|       |
   90|       |  // If we have a line number cache, and if the query is to a later point in the
   91|       |  // same file, start searching from the last query location.  This optimizes
   92|       |  // for the case when multiple diagnostics come out of one file in order.
   93|  66.8k|  if (LineNoCacheTy *Cache = getCache(LineNoCache))
  ------------------
  |  Branch (93:22): [True: 65.6k, False: 1.17k]
  ------------------
   94|  65.6k|    if (Cache->LastQueryBufferID == BufferID &&
  ------------------
  |  Branch (94:9): [True: 11.9k, False: 53.7k]
  ------------------
   95|  11.9k|        Cache->LastQuery <= Loc.getPointer()) {
  ------------------
  |  Branch (95:9): [True: 10.9k, False: 976]
  ------------------
   96|  10.9k|      Ptr = Cache->LastQuery;
   97|  10.9k|      LineNo = Cache->LineNoOfQuery;
   98|  10.9k|    }
   99|       |
  100|       |  // Scan for the location being queried, keeping track of the number of lines
  101|       |  // we see.
  102|   344M|  for (; SMLoc::getFromPointer(Ptr) != Loc; ++Ptr)
  ------------------
  |  Branch (102:10): [True: 344M, False: 66.8k]
  ------------------
  103|   344M|    if (*Ptr == '\n') ++LineNo;
  ------------------
  |  Branch (103:9): [True: 16.6M, False: 328M]
  ------------------
  104|       |
  105|       |  // Allocate the line number cache if it doesn't exist.
  106|  66.8k|  if (!LineNoCache)
  ------------------
  |  Branch (106:7): [True: 1.17k, False: 65.6k]
  ------------------
  107|  1.17k|    LineNoCache = new LineNoCacheTy();
  108|       |
  109|       |  // Update the line # cache.
  110|  66.8k|  LineNoCacheTy &Cache = *getCache(LineNoCache);
  111|  66.8k|  Cache.LastQueryBufferID = BufferID;
  112|  66.8k|  Cache.LastQuery = Ptr;
  113|  66.8k|  Cache.LineNoOfQuery = LineNo;
  114|       |  
  115|  66.8k|  size_t NewlineOffs = StringRef(BufStart, Ptr-BufStart).find_last_of("\n\r");
  116|  66.8k|  if (NewlineOffs == StringRef::npos) NewlineOffs = ~(size_t)0;
  ------------------
  |  Branch (116:7): [True: 43.3k, False: 23.5k]
  ------------------
  117|  66.8k|  return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs);
  118|  66.8k|}
_ZNK7llvm_ks9SourceMgr17PrintIncludeStackENS_5SMLocERNS_11raw_ostreamE:
  120|  46.7k|void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const {
  121|  46.7k|  if (IncludeLoc == SMLoc()) return;  // Top of stack.
  ------------------
  |  Branch (121:7): [True: 46.7k, False: 0]
  ------------------
  122|       |
  123|      0|  unsigned CurBuf = FindBufferContainingLoc(IncludeLoc);
  124|      0|  assert(CurBuf && "Invalid or unspecified location!");
  ------------------
  |  Branch (124:3): [True: 0, False: 0]
  |  Branch (124:3): [True: 0, Folded]
  |  Branch (124:3): [True: 0, False: 0]
  ------------------
  125|       |
  126|      0|  PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS);
  127|       |
  128|      0|  OS << "Included from "
  129|      0|     << getBufferInfo(CurBuf).Buffer->getBufferIdentifier()
  130|      0|     << ":" << FindLineNumber(IncludeLoc, CurBuf) << ":\n";
  131|      0|}
_ZNK7llvm_ks9SourceMgr10GetMessageENS_5SMLocENS0_8DiagKindERKNS_5TwineENS_8ArrayRefINS_7SMRangeEEENS6_INS_7SMFixItEEE:
  137|  64.8k|                                   ArrayRef<SMFixIt> FixIts) const {
  138|       |
  139|       |  // First thing to do: find the current buffer containing the specified
  140|       |  // location to pull out the source line.
  141|  64.8k|  SmallVector<std::pair<unsigned, unsigned>, 4> ColRanges;
  142|  64.8k|  std::pair<unsigned, unsigned> LineAndCol;
  143|  64.8k|  const char *BufferID = "<unknown>";
  144|  64.8k|  std::string LineStr;
  145|       |  
  146|  64.8k|  if (Loc.isValid()) {
  ------------------
  |  Branch (146:7): [True: 64.8k, False: 0]
  ------------------
  147|  64.8k|    unsigned CurBuf = FindBufferContainingLoc(Loc);
  148|  64.8k|    assert(CurBuf && "Invalid or unspecified location!");
  ------------------
  |  Branch (148:5): [True: 64.8k, False: 0]
  |  Branch (148:5): [True: 64.8k, Folded]
  |  Branch (148:5): [True: 64.8k, False: 0]
  ------------------
  149|       |
  150|  64.8k|    const MemoryBuffer *CurMB = getMemoryBuffer(CurBuf);
  151|  64.8k|    BufferID = CurMB->getBufferIdentifier();
  152|       |    
  153|       |    // Scan backward to find the start of the line.
  154|  64.8k|    const char *LineStart = Loc.getPointer();
  155|  64.8k|    const char *BufStart = CurMB->getBufferStart();
  156|  1.55M|    while (LineStart != BufStart && LineStart[-1] != '\n' &&
  ------------------
  |  Branch (156:12): [True: 1.51M, False: 42.4k]
  |  Branch (156:37): [True: 1.50M, False: 10.0k]
  ------------------
  157|  1.50M|           LineStart[-1] != '\r')
  ------------------
  |  Branch (157:12): [True: 1.49M, False: 12.4k]
  ------------------
  158|  1.49M|      --LineStart;
  159|       |
  160|       |    // Get the end of the line.
  161|  64.8k|    const char *LineEnd = Loc.getPointer();
  162|  64.8k|    const char *BufEnd = CurMB->getBufferEnd();
  163|  1.48M|    while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r')
  ------------------
  |  Branch (163:12): [True: 1.48M, False: 2.26k]
  |  Branch (163:33): [True: 1.42M, False: 55.4k]
  |  Branch (163:55): [True: 1.42M, False: 7.16k]
  ------------------
  164|  1.42M|      ++LineEnd;
  165|  64.8k|    LineStr = std::string(LineStart, LineEnd);
  166|       |
  167|       |    // Convert any ranges to column ranges that only intersect the line of the
  168|       |    // location.
  169|  64.9k|    for (unsigned i = 0, e = Ranges.size(); i != e; ++i) {
  ------------------
  |  Branch (169:45): [True: 42, False: 64.8k]
  ------------------
  170|     42|      SMRange R = Ranges[i];
  171|     42|      if (!R.isValid()) continue;
  ------------------
  |  Branch (171:11): [True: 0, False: 42]
  ------------------
  172|       |      
  173|       |      // If the line doesn't contain any part of the range, then ignore it.
  174|     42|      if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart)
  ------------------
  |  Branch (174:11): [True: 0, False: 42]
  |  Branch (174:45): [True: 0, False: 42]
  ------------------
  175|      0|        continue;
  176|       |     
  177|       |      // Ignore pieces of the range that go onto other lines.
  178|     42|      if (R.Start.getPointer() < LineStart)
  ------------------
  |  Branch (178:11): [True: 0, False: 42]
  ------------------
  179|      0|        R.Start = SMLoc::getFromPointer(LineStart);
  180|     42|      if (R.End.getPointer() > LineEnd)
  ------------------
  |  Branch (180:11): [True: 26, False: 16]
  ------------------
  181|     26|        R.End = SMLoc::getFromPointer(LineEnd);
  182|       |      
  183|       |      // Translate from SMLoc ranges to column ranges.
  184|       |      // FIXME: Handle multibyte characters.
  185|     42|      ColRanges.push_back(std::make_pair(R.Start.getPointer()-LineStart,
  186|     42|                                         R.End.getPointer()-LineStart));
  187|     42|    }
  188|       |
  189|  64.8k|    LineAndCol = getLineAndColumn(Loc, CurBuf);
  190|  64.8k|  }
  191|       |    
  192|  64.8k|  return SMDiagnostic(*this, Loc, BufferID, LineAndCol.first,
  193|  64.8k|                      LineAndCol.second-1, Kind, Msg.str(),
  194|  64.8k|                      LineStr, ColRanges, FixIts);
  195|  64.8k|}
_ZNK7llvm_ks9SourceMgr12PrintMessageERNS_11raw_ostreamERKNS_12SMDiagnosticEb:
  198|  64.8k|                             bool ShowColors) const {
  199|       |  // Report the message with the diagnostic handler if present.
  200|  64.8k|  if (DiagHandler) {
  ------------------
  |  Branch (200:7): [True: 64.8k, False: 0]
  ------------------
  201|  64.8k|    DiagHandler(Diagnostic, DiagContext);
  202|  64.8k|    return;
  203|  64.8k|  }
  204|       |
  205|      0|  if (Diagnostic.getLoc().isValid()) {
  ------------------
  |  Branch (205:7): [True: 0, False: 0]
  ------------------
  206|      0|    unsigned CurBuf = FindBufferContainingLoc(Diagnostic.getLoc());
  207|      0|    assert(CurBuf && "Invalid or unspecified location!");
  ------------------
  |  Branch (207:5): [True: 0, False: 0]
  |  Branch (207:5): [True: 0, Folded]
  |  Branch (207:5): [True: 0, False: 0]
  ------------------
  208|      0|    PrintIncludeStack(getBufferInfo(CurBuf).IncludeLoc, OS);
  209|      0|  }
  210|       |
  211|      0|  Diagnostic.print(nullptr, OS, ShowColors);
  212|      0|}
_ZNK7llvm_ks9SourceMgr12PrintMessageERNS_11raw_ostreamENS_5SMLocENS0_8DiagKindERKNS_5TwineENS_8ArrayRefINS_7SMRangeEEENS8_INS_7SMFixItEEEb:
  217|  64.8k|                             ArrayRef<SMFixIt> FixIts, bool ShowColors) const {
  218|  64.8k|  PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors);
  219|  64.8k|}
_ZNK7llvm_ks9SourceMgr12PrintMessageENS_5SMLocENS0_8DiagKindERKNS_5TwineENS_8ArrayRefINS_7SMRangeEEENS6_INS_7SMFixItEEEb:
  223|  64.8k|                             ArrayRef<SMFixIt> FixIts, bool ShowColors) const {
  224|  64.8k|  PrintMessage(llvm_ks::errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors);
  225|  64.8k|}
_ZN7llvm_ks12SMDiagnosticC2ERKNS_9SourceMgrENS_5SMLocENS_9StringRefEiiNS1_8DiagKindES5_S5_NS_8ArrayRefINSt3__14pairIjjEEEENS7_INS_7SMFixItEEE:
  236|  65.8k|  : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind),
  237|  65.8k|    Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()),
  238|  65.8k|    FixIts(Hints.begin(), Hints.end()) {
  239|  65.8k|  std::sort(FixIts.begin(), FixIts.end());
  240|  65.8k|}
_ZNK7llvm_ks12SMDiagnostic5printEPKcRNS_11raw_ostreamEbb:
  329|  64.8k|                         bool ShowKindLabel) const {
  330|       |  // Display colors only if OS supports colors.
  331|  64.8k|  ShowColors &= S.has_colors();
  332|       |
  333|  64.8k|  if (ShowColors)
  ------------------
  |  Branch (333:7): [True: 64.8k, False: 0]
  ------------------
  334|  64.8k|    S.changeColor(raw_ostream::SAVEDCOLOR, true);
  335|       |
  336|  64.8k|  if (ProgName && ProgName[0])
  ------------------
  |  Branch (336:7): [True: 0, False: 64.8k]
  |  Branch (336:19): [True: 0, False: 0]
  ------------------
  337|      0|    S << ProgName << ": ";
  338|       |
  339|  64.8k|  if (!Filename.empty()) {
  ------------------
  |  Branch (339:7): [True: 47.5k, False: 17.3k]
  ------------------
  340|  47.5k|    if (Filename == "-")
  ------------------
  |  Branch (340:9): [True: 80, False: 47.4k]
  ------------------
  341|     80|      S << "<stdin>";
  342|  47.4k|    else
  343|  47.4k|      S << Filename;
  344|       |
  345|  47.5k|    if (LineNo != -1) {
  ------------------
  |  Branch (345:9): [True: 47.4k, False: 52]
  ------------------
  346|  47.4k|      S << ':' << LineNo;
  347|  47.4k|      if (ColumnNo != -1)
  ------------------
  |  Branch (347:11): [True: 47.4k, False: 0]
  ------------------
  348|  47.4k|        S << ':' << (ColumnNo+1);
  349|  47.4k|    }
  350|  47.5k|    S << ": ";
  351|  47.5k|  }
  352|       |
  353|  64.8k|  if (ShowKindLabel) {
  ------------------
  |  Branch (353:7): [True: 64.8k, False: 0]
  ------------------
  354|  64.8k|    switch (Kind) {
  ------------------
  |  Branch (354:13): [True: 64.8k, False: 0]
  ------------------
  355|  6.48k|    case SourceMgr::DK_Error:
  ------------------
  |  Branch (355:5): [True: 6.48k, False: 58.3k]
  ------------------
  356|  6.48k|      if (ShowColors)
  ------------------
  |  Branch (356:11): [True: 6.48k, False: 0]
  ------------------
  357|  6.48k|        S.changeColor(raw_ostream::RED, true);
  358|  6.48k|      S << "error: ";
  359|  6.48k|      break;
  360|  16.6k|    case SourceMgr::DK_Warning:
  ------------------
  |  Branch (360:5): [True: 16.6k, False: 48.2k]
  ------------------
  361|  16.6k|      if (ShowColors)
  ------------------
  |  Branch (361:11): [True: 16.6k, False: 0]
  ------------------
  362|  16.6k|        S.changeColor(raw_ostream::MAGENTA, true);
  363|  16.6k|      S << "warning: ";
  364|  16.6k|      break;
  365|  41.7k|    case SourceMgr::DK_Note:
  ------------------
  |  Branch (365:5): [True: 41.7k, False: 23.1k]
  ------------------
  366|  41.7k|      if (ShowColors)
  ------------------
  |  Branch (366:11): [True: 41.7k, False: 0]
  ------------------
  367|  41.7k|        S.changeColor(raw_ostream::BLACK, true);
  368|  41.7k|      S << "note: ";
  369|  41.7k|      break;
  370|  64.8k|    }
  371|       |
  372|  64.8k|    if (ShowColors) {
  ------------------
  |  Branch (372:9): [True: 64.8k, False: 0]
  ------------------
  373|  64.8k|      S.resetColor();
  374|  64.8k|      S.changeColor(raw_ostream::SAVEDCOLOR, true);
  375|  64.8k|    }
  376|  64.8k|  }
  377|       |
  378|  64.8k|  S << Message << '\n';
  379|       |
  380|  64.8k|  if (ShowColors)
  ------------------
  |  Branch (380:7): [True: 64.8k, False: 0]
  ------------------
  381|  64.8k|    S.resetColor();
  382|       |
  383|  64.8k|  if (LineNo == -1 || ColumnNo == -1)
  ------------------
  |  Branch (383:7): [True: 53, False: 64.8k]
  |  Branch (383:23): [True: 0, False: 64.8k]
  ------------------
  384|     53|    return;
  385|       |
  386|       |  // FIXME: If there are multibyte or multi-column characters in the source, all
  387|       |  // our ranges will be wrong. To do this properly, we'll need a byte-to-column
  388|       |  // map like Clang's TextDiagnostic. For now, we'll just handle tabs by
  389|       |  // expanding them later, and bail out rather than show incorrect ranges and
  390|       |  // misaligned fixits for any other odd characters.
  391|  64.8k|  if (std::find_if(LineContents.begin(), LineContents.end(), isNonASCII) !=
  ------------------
  |  Branch (391:7): [True: 3.45k, False: 61.3k]
  ------------------
  392|  64.8k|      LineContents.end()) {
  393|  3.45k|    printSourceLine(S, LineContents);
  394|  3.45k|    return;
  395|  3.45k|  }
  396|  61.3k|  size_t NumColumns = LineContents.size();
  397|       |
  398|       |  // Build the line with the caret and ranges.
  399|  61.3k|  std::string CaretLine(NumColumns+1, ' ');
  400|       |  
  401|       |  // Expand any ranges.
  402|  61.4k|  for (unsigned r = 0, e = Ranges.size(); r != e; ++r) {
  ------------------
  |  Branch (402:43): [True: 40, False: 61.3k]
  ------------------
  403|     40|    std::pair<unsigned, unsigned> R = Ranges[r];
  404|     40|    std::fill(&CaretLine[R.first],
  405|     40|              &CaretLine[std::min((size_t)R.second, CaretLine.size())],
  406|     40|              '~');
  407|     40|  }
  408|       |
  409|       |  // Add any fix-its.
  410|       |  // FIXME: Find the beginning of the line properly for multibyte characters.
  411|  61.3k|  std::string FixItInsertionLine;
  412|  61.3k|  buildFixItLine(CaretLine, FixItInsertionLine, FixIts,
  413|  61.3k|                 makeArrayRef(Loc.getPointer() - ColumnNo,
  414|  61.3k|                              LineContents.size()));
  415|       |
  416|       |  // Finally, plop on the caret.
  417|  61.3k|  if (unsigned(ColumnNo) <= NumColumns)
  ------------------
  |  Branch (417:7): [True: 61.3k, False: 0]
  ------------------
  418|  61.3k|    CaretLine[ColumnNo] = '^';
  419|      0|  else 
  420|      0|    CaretLine[NumColumns] = '^';
  421|       |  
  422|       |  // ... and remove trailing whitespace so the output doesn't wrap for it.  We
  423|       |  // know that the line isn't completely empty because it has the caret in it at
  424|       |  // least.
  425|  61.3k|  CaretLine.erase(CaretLine.find_last_not_of(' ')+1);
  426|       |  
  427|  61.3k|  printSourceLine(S, LineContents);
  428|       |
  429|  61.3k|  if (ShowColors)
  ------------------
  |  Branch (429:7): [True: 61.3k, False: 0]
  ------------------
  430|  61.3k|    S.changeColor(raw_ostream::GREEN, true);
  431|       |
  432|       |  // Print out the caret line, matching tabs in the source line.
  433|  1.51M|  for (unsigned i = 0, e = CaretLine.size(), OutCol = 0; i != e; ++i) {
  ------------------
  |  Branch (433:58): [True: 1.45M, False: 61.3k]
  ------------------
  434|  1.45M|    if (i >= LineContents.size() || LineContents[i] != '\t') {
  ------------------
  |  Branch (434:9): [True: 240, False: 1.45M]
  |  Branch (434:37): [True: 1.43M, False: 14.0k]
  ------------------
  435|  1.43M|      S << CaretLine[i];
  436|  1.43M|      ++OutCol;
  437|  1.43M|      continue;
  438|  1.43M|    }
  439|       |    
  440|       |    // Okay, we have a tab.  Insert the appropriate number of characters.
  441|  82.3k|    do {
  442|  82.3k|      S << CaretLine[i];
  443|  82.3k|      ++OutCol;
  444|  82.3k|    } while ((OutCol % TabStop) != 0);
  ------------------
  |  Branch (444:14): [True: 68.3k, False: 14.0k]
  ------------------
  445|  14.0k|  }
  446|  61.3k|  S << '\n';
  447|       |
  448|  61.3k|  if (ShowColors)
  ------------------
  |  Branch (448:7): [True: 61.3k, False: 0]
  ------------------
  449|  61.3k|    S.resetColor();
  450|       |
  451|       |  // Print out the replacement line, matching tabs in the source line.
  452|  61.3k|  if (FixItInsertionLine.empty())
  ------------------
  |  Branch (452:7): [True: 61.3k, False: 0]
  ------------------
  453|  61.3k|    return;
  454|       |  
  455|      0|  for (size_t i = 0, e = FixItInsertionLine.size(), OutCol = 0; i < e; ++i) {
  ------------------
  |  Branch (455:65): [True: 0, False: 0]
  ------------------
  456|      0|    if (i >= LineContents.size() || LineContents[i] != '\t') {
  ------------------
  |  Branch (456:9): [True: 0, False: 0]
  |  Branch (456:37): [True: 0, False: 0]
  ------------------
  457|      0|      S << FixItInsertionLine[i];
  458|      0|      ++OutCol;
  459|      0|      continue;
  460|      0|    }
  461|       |
  462|       |    // Okay, we have a tab.  Insert the appropriate number of characters.
  463|      0|    do {
  464|      0|      S << FixItInsertionLine[i];
  465|       |      // FIXME: This is trying not to break up replacements, but then to re-sync
  466|       |      // with the tabs between replacements. This will fail, though, if two
  467|       |      // fix-it replacements are exactly adjacent, or if a fix-it contains a
  468|       |      // space. Really we should be precomputing column widths, which we'll
  469|       |      // need anyway for multibyte chars.
  470|      0|      if (FixItInsertionLine[i] != ' ')
  ------------------
  |  Branch (470:11): [True: 0, False: 0]
  ------------------
  471|      0|        ++i;
  472|      0|      ++OutCol;
  473|      0|    } while (((OutCol % TabStop) != 0) && i != e);
  ------------------
  |  Branch (473:14): [True: 0, False: 0]
  |  Branch (473:43): [True: 0, False: 0]
  ------------------
  474|      0|  }
  475|      0|  S << '\n';
  476|      0|}
SourceMgr.cpp:_ZL8getCachePv:
   33|   150k|static LineNoCacheTy *getCache(void *Ptr) {
   34|   150k|  return (LineNoCacheTy*)Ptr;
   35|   150k|}
SourceMgr.cpp:_ZL10isNonASCIIc:
  324|  2.78M|static bool isNonASCII(char c) {
  325|  2.78M|  return c & 0x80;
  326|  2.78M|}
SourceMgr.cpp:_ZL15printSourceLineRN7llvm_ks11raw_ostreamENS_9StringRefE:
  306|  64.8k|static void printSourceLine(raw_ostream &S, StringRef LineContents) {
  307|       |  // Print out the source line one character at a time, so we can expand tabs.
  308|  2.97M|  for (unsigned i = 0, e = LineContents.size(), OutCol = 0; i != e; ++i) {
  ------------------
  |  Branch (308:61): [True: 2.90M, False: 64.8k]
  ------------------
  309|  2.90M|    if (LineContents[i] != '\t') {
  ------------------
  |  Branch (309:9): [True: 2.88M, False: 20.4k]
  ------------------
  310|  2.88M|      S << LineContents[i];
  311|  2.88M|      ++OutCol;
  312|  2.88M|      continue;
  313|  2.88M|    }
  314|       |
  315|       |    // If we have a tab, emit at least one space, then round up to 8 columns.
  316|   112k|    do {
  317|   112k|      S << ' ';
  318|   112k|      ++OutCol;
  319|   112k|    } while ((OutCol % TabStop) != 0);
  ------------------
  |  Branch (319:14): [True: 91.8k, False: 20.4k]
  ------------------
  320|  20.4k|  }
  321|  64.8k|  S << '\n';
  322|  64.8k|}
SourceMgr.cpp:_ZL14buildFixItLineRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES6_N7llvm_ks8ArrayRefINS7_7SMFixItEEENS8_IcEE:
  243|  61.3k|                           ArrayRef<SMFixIt> FixIts, ArrayRef<char> SourceLine){
  244|  61.3k|  if (FixIts.empty())
  ------------------
  |  Branch (244:7): [True: 61.3k, False: 0]
  ------------------
  245|  61.3k|    return;
  246|       |
  247|      0|  const char *LineStart = SourceLine.begin();
  248|      0|  const char *LineEnd = SourceLine.end();
  249|       |
  250|      0|  size_t PrevHintEndCol = 0;
  251|       |
  252|      0|  for (ArrayRef<SMFixIt>::iterator I = FixIts.begin(), E = FixIts.end();
  253|      0|       I != E; ++I) {
  ------------------
  |  Branch (253:8): [True: 0, False: 0]
  ------------------
  254|       |    // If the fixit contains a newline or tab, ignore it.
  255|      0|    if (I->getText().find_first_of("\n\r\t") != StringRef::npos)
  ------------------
  |  Branch (255:9): [True: 0, False: 0]
  ------------------
  256|      0|      continue;
  257|       |
  258|      0|    SMRange R = I->getRange();
  259|       |
  260|       |    // If the line doesn't contain any part of the range, then ignore it.
  261|      0|    if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart)
  ------------------
  |  Branch (261:9): [True: 0, False: 0]
  |  Branch (261:43): [True: 0, False: 0]
  ------------------
  262|      0|      continue;
  263|       |
  264|       |    // Translate from SMLoc to column.
  265|       |    // Ignore pieces of the range that go onto other lines.
  266|       |    // FIXME: Handle multibyte characters in the source line.
  267|      0|    unsigned FirstCol;
  268|      0|    if (R.Start.getPointer() < LineStart)
  ------------------
  |  Branch (268:9): [True: 0, False: 0]
  ------------------
  269|      0|      FirstCol = 0;
  270|      0|    else
  271|      0|      FirstCol = R.Start.getPointer() - LineStart;
  272|       |
  273|       |    // If we inserted a long previous hint, push this one forwards, and add
  274|       |    // an extra space to show that this is not part of the previous
  275|       |    // completion. This is sort of the best we can do when two hints appear
  276|       |    // to overlap.
  277|       |    //
  278|       |    // Note that if this hint is located immediately after the previous
  279|       |    // hint, no space will be added, since the location is more important.
  280|      0|    unsigned HintCol = FirstCol;
  281|      0|    if (HintCol < PrevHintEndCol)
  ------------------
  |  Branch (281:9): [True: 0, False: 0]
  ------------------
  282|      0|      HintCol = PrevHintEndCol + 1;
  283|       |
  284|       |    // This relies on one byte per column in our fixit hints.
  285|      0|    unsigned LastColumnModified = HintCol + I->getText().size();
  286|      0|    if (LastColumnModified > FixItLine.size())
  ------------------
  |  Branch (286:9): [True: 0, False: 0]
  ------------------
  287|      0|      FixItLine.resize(LastColumnModified, ' ');
  288|       |
  289|      0|    std::copy(I->getText().begin(), I->getText().end(),
  290|      0|              FixItLine.begin() + HintCol);
  291|       |
  292|      0|    PrevHintEndCol = LastColumnModified;
  293|       |
  294|       |    // For replacements, mark the removal range with '~'.
  295|       |    // FIXME: Handle multibyte characters in the source line.
  296|      0|    unsigned LastCol;
  297|      0|    if (R.End.getPointer() >= LineEnd)
  ------------------
  |  Branch (297:9): [True: 0, False: 0]
  ------------------
  298|      0|      LastCol = LineEnd - LineStart;
  299|      0|    else
  300|      0|      LastCol = R.End.getPointer() - LineStart;
  301|       |
  302|      0|    std::fill(&CaretLine[FirstCol], &CaretLine[LastCol], '~');
  303|      0|  }
  304|      0|}

_ZN7llvm_ks13StringMapImpl4initEj:
   36|  86.1k|void StringMapImpl::init(unsigned InitSize) {
   37|  86.1k|  assert((InitSize & (InitSize-1)) == 0 &&
  ------------------
  |  Branch (37:3): [True: 86.1k, False: 0]
  |  Branch (37:3): [True: 86.1k, Folded]
  |  Branch (37:3): [True: 86.1k, False: 0]
  ------------------
   38|  86.1k|         "Init Size must be a power of 2 or zero!");
   39|  86.1k|  NumBuckets = InitSize ? InitSize : 16;
  ------------------
  |  Branch (39:16): [True: 86.1k, False: 0]
  ------------------
   40|  86.1k|  NumItems = 0;
   41|  86.1k|  NumTombstones = 0;
   42|       |  
   43|  86.1k|  TheTable = (StringMapEntryBase **)calloc(NumBuckets+1,
   44|  86.1k|                                           sizeof(StringMapEntryBase **) +
   45|  86.1k|                                           sizeof(unsigned));
   46|       |
   47|       |  // Allocate one extra bucket, set it to look filled so the iterators stop at
   48|       |  // end.
   49|  86.1k|  TheTable[NumBuckets] = (StringMapEntryBase*)2;
   50|  86.1k|}
_ZN7llvm_ks13StringMapImpl15LookupBucketForENS_9StringRefE:
   58|  4.00M|unsigned StringMapImpl::LookupBucketFor(StringRef Name) {
   59|  4.00M|  unsigned HTSize = NumBuckets;
   60|  4.00M|  if (HTSize == 0) {  // Hash table unallocated so far?
  ------------------
  |  Branch (60:7): [True: 86.1k, False: 3.91M]
  ------------------
   61|  86.1k|    init(16);
   62|  86.1k|    HTSize = NumBuckets;
   63|  86.1k|  }
   64|  4.00M|  unsigned FullHashValue = HashString(Name);
   65|  4.00M|  unsigned BucketNo = FullHashValue & (HTSize-1);
   66|  4.00M|  unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1);
   67|       |
   68|  4.00M|  unsigned ProbeAmt = 1;
   69|  4.00M|  int FirstTombstone = -1;
   70|  9.25M|  while (1) {
  ------------------
  |  Branch (70:10): [True: 9.25M, Folded]
  ------------------
   71|  9.25M|    StringMapEntryBase *BucketItem = TheTable[BucketNo];
   72|       |    // If we found an empty bucket, this key isn't in the table yet, return it.
   73|  9.25M|    if (LLVM_LIKELY(!BucketItem)) {
  ------------------
  |  |  170|  9.25M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 3.69M, False: 5.56M]
  |  |  ------------------
  ------------------
   74|       |      // If we found a tombstone, we want to reuse the tombstone instead of an
   75|       |      // empty bucket.  This reduces probing.
   76|  3.69M|      if (FirstTombstone != -1) {
  ------------------
  |  Branch (76:11): [True: 0, False: 3.69M]
  ------------------
   77|      0|        HashTable[FirstTombstone] = FullHashValue;
   78|      0|        return FirstTombstone;
   79|      0|      }
   80|       |      
   81|  3.69M|      HashTable[BucketNo] = FullHashValue;
   82|  3.69M|      return BucketNo;
   83|  3.69M|    }
   84|       |    
   85|  5.56M|    if (BucketItem == getTombstoneVal()) {
  ------------------
  |  Branch (85:9): [True: 0, False: 5.56M]
  ------------------
   86|       |      // Skip over tombstones.  However, remember the first one we see.
   87|      0|      if (FirstTombstone == -1) FirstTombstone = BucketNo;
  ------------------
  |  Branch (87:11): [True: 0, False: 0]
  ------------------
   88|  5.56M|    } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) {
  ------------------
  |  |  170|  5.56M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 313k, False: 5.25M]
  |  |  ------------------
  ------------------
   89|       |      // If the full hash value matches, check deeply for a match.  The common
   90|       |      // case here is that we are only looking at the buckets (for item info
   91|       |      // being non-null and for the full hash value) not at the items.  This
   92|       |      // is important for cache locality.
   93|       |      
   94|       |      // Do the comparison like this because Name isn't necessarily
   95|       |      // null-terminated!
   96|   313k|      char *ItemStr = (char*)BucketItem+ItemSize;
   97|   313k|      if (Name == StringRef(ItemStr, BucketItem->getKeyLength())) {
  ------------------
  |  Branch (97:11): [True: 313k, False: 327]
  ------------------
   98|       |        // We found a match!
   99|   313k|        return BucketNo;
  100|   313k|      }
  101|   313k|    }
  102|       |    
  103|       |    // Okay, we didn't find the item.  Probe to the next bucket.
  104|  5.25M|    BucketNo = (BucketNo+ProbeAmt) & (HTSize-1);
  105|       |    
  106|       |    // Use quadratic probing, it has fewer clumping artifacts than linear
  107|       |    // probing and has good cache behavior in the common case.
  108|  5.25M|    ++ProbeAmt;
  109|  5.25M|  }
  110|  4.00M|}
_ZNK7llvm_ks13StringMapImpl7FindKeyENS_9StringRefE:
  116|  1.69M|int StringMapImpl::FindKey(StringRef Key) const {
  117|  1.69M|  unsigned HTSize = NumBuckets;
  118|  1.69M|  if (HTSize == 0) return -1;  // Really empty table?
  ------------------
  |  Branch (118:7): [True: 268k, False: 1.42M]
  ------------------
  119|  1.42M|  unsigned FullHashValue = HashString(Key);
  120|  1.42M|  unsigned BucketNo = FullHashValue & (HTSize-1);
  121|  1.42M|  unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1);
  122|       |
  123|  1.42M|  unsigned ProbeAmt = 1;
  124|  2.76M|  while (1) {
  ------------------
  |  Branch (124:10): [True: 2.76M, Folded]
  ------------------
  125|  2.76M|    StringMapEntryBase *BucketItem = TheTable[BucketNo];
  126|       |    // If we found an empty bucket, this key isn't in the table yet, return.
  127|  2.76M|    if (LLVM_LIKELY(!BucketItem))
  ------------------
  |  |  170|  2.76M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 864k, False: 1.90M]
  |  |  ------------------
  ------------------
  128|   864k|      return -1;
  129|       |    
  130|  1.90M|    if (BucketItem == getTombstoneVal()) {
  ------------------
  |  Branch (130:9): [True: 0, False: 1.90M]
  ------------------
  131|       |      // Ignore tombstones.
  132|  1.90M|    } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) {
  ------------------
  |  |  170|  1.90M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 561k, False: 1.34M]
  |  |  ------------------
  ------------------
  133|       |      // If the full hash value matches, check deeply for a match.  The common
  134|       |      // case here is that we are only looking at the buckets (for item info
  135|       |      // being non-null and for the full hash value) not at the items.  This
  136|       |      // is important for cache locality.
  137|       |      
  138|       |      // Do the comparison like this because NameStart isn't necessarily
  139|       |      // null-terminated!
  140|   561k|      char *ItemStr = (char*)BucketItem+ItemSize;
  141|   561k|      if (Key == StringRef(ItemStr, BucketItem->getKeyLength())) {
  ------------------
  |  Branch (141:11): [True: 560k, False: 208]
  ------------------
  142|       |        // We found a match!
  143|   560k|        return BucketNo;
  144|   560k|      }
  145|   561k|    }
  146|       |    
  147|       |    // Okay, we didn't find the item.  Probe to the next bucket.
  148|  1.34M|    BucketNo = (BucketNo+ProbeAmt) & (HTSize-1);
  149|       |    
  150|       |    // Use quadratic probing, it has fewer clumping artifacts than linear
  151|       |    // probing and has good cache behavior in the common case.
  152|  1.34M|    ++ProbeAmt;
  153|  1.34M|  }
  154|  1.42M|}
_ZN7llvm_ks13StringMapImpl11RehashTableEj:
  184|  3.69M|unsigned StringMapImpl::RehashTable(unsigned BucketNo) {
  185|  3.69M|  unsigned NewSize;
  186|  3.69M|  unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1);
  187|       |
  188|       |  // If the hash table is now more than 3/4 full, or if fewer than 1/8 of
  189|       |  // the buckets are empty (meaning that many are filled with tombstones),
  190|       |  // grow/rehash the table.
  191|  3.69M|  if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) {
  ------------------
  |  |  171|  3.69M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 126k, False: 3.56M]
  |  |  ------------------
  ------------------
  192|   126k|    NewSize = NumBuckets*2;
  193|  3.56M|  } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <=
  ------------------
  |  |  171|  3.56M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 3.56M]
  |  |  ------------------
  ------------------
  194|  3.56M|                           NumBuckets / 8)) {
  195|      0|    NewSize = NumBuckets;
  196|  3.56M|  } else {
  197|  3.56M|    return BucketNo;
  198|  3.56M|  }
  199|       |
  200|   126k|  unsigned NewBucketNo = BucketNo;
  201|       |  // Allocate one extra bucket which will always be non-empty.  This allows the
  202|       |  // iterators to stop at end.
  203|   126k|  StringMapEntryBase **NewTableArray =
  204|   126k|    (StringMapEntryBase **)calloc(NewSize+1, sizeof(StringMapEntryBase *) +
  205|   126k|                                             sizeof(unsigned));
  206|   126k|  unsigned *NewHashArray = (unsigned *)(NewTableArray + NewSize + 1);
  207|   126k|  NewTableArray[NewSize] = (StringMapEntryBase*)2;
  208|       |
  209|       |  // Rehash all the items into their new buckets.  Luckily :) we already have
  210|       |  // the hash values available, so we don't have to rehash any strings.
  211|  6.34M|  for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (211:40): [True: 6.21M, False: 126k]
  ------------------
  212|  6.21M|    StringMapEntryBase *Bucket = TheTable[I];
  213|  6.21M|    if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (213:9): [True: 4.78M, False: 1.42M]
  |  Branch (213:19): [True: 4.78M, False: 0]
  ------------------
  214|       |      // Fast case, bucket available.
  215|  4.78M|      unsigned FullHash = HashTable[I];
  216|  4.78M|      unsigned NewBucket = FullHash & (NewSize-1);
  217|  4.78M|      if (!NewTableArray[NewBucket]) {
  ------------------
  |  Branch (217:11): [True: 3.74M, False: 1.04M]
  ------------------
  218|  3.74M|        NewTableArray[FullHash & (NewSize-1)] = Bucket;
  219|  3.74M|        NewHashArray[FullHash & (NewSize-1)] = FullHash;
  220|  3.74M|        if (I == BucketNo)
  ------------------
  |  Branch (220:13): [True: 107k, False: 3.64M]
  ------------------
  221|   107k|          NewBucketNo = NewBucket;
  222|  3.74M|        continue;
  223|  3.74M|      }
  224|       |      
  225|       |      // Otherwise probe for a spot.
  226|  1.04M|      unsigned ProbeSize = 1;
  227|  1.45M|      do {
  228|  1.45M|        NewBucket = (NewBucket + ProbeSize++) & (NewSize-1);
  229|  1.45M|      } while (NewTableArray[NewBucket]);
  ------------------
  |  Branch (229:16): [True: 417k, False: 1.04M]
  ------------------
  230|       |      
  231|       |      // Finally found a slot.  Fill it in.
  232|  1.04M|      NewTableArray[NewBucket] = Bucket;
  233|  1.04M|      NewHashArray[NewBucket] = FullHash;
  234|  1.04M|      if (I == BucketNo)
  ------------------
  |  Branch (234:11): [True: 18.5k, False: 1.02M]
  ------------------
  235|  18.5k|        NewBucketNo = NewBucket;
  236|  1.04M|    }
  237|  6.21M|  }
  238|       |  
  239|   126k|  free(TheTable);
  240|       |  
  241|   126k|  TheTable = NewTableArray;
  242|   126k|  NumBuckets = NewSize;
  243|   126k|  NumTombstones = 0;
  244|   126k|  return NewBucketNo;
  245|  3.69M|}

_ZNK7llvm_ks9StringRef13compare_lowerES0_:
   52|  4.51k|int StringRef::compare_lower(StringRef RHS) const {
   53|  4.51k|  if (int Res = ascii_strncasecmp(Data, RHS.Data, std::min(Length, RHS.Length)))
  ------------------
  |  Branch (53:11): [True: 2.82k, False: 1.69k]
  ------------------
   54|  2.82k|    return Res;
   55|  1.69k|  if (Length == RHS.Length)
  ------------------
  |  Branch (55:7): [True: 1.04k, False: 649]
  ------------------
   56|  1.04k|    return 0;
   57|    649|  return Length < RHS.Length ? -1 : 1;
  ------------------
  |  Branch (57:10): [True: 636, False: 13]
  ------------------
   58|  1.69k|}
_ZNK7llvm_ks9StringRef5lowerEv:
  117|  1.10M|std::string StringRef::lower() const {
  118|  1.10M|  std::string Result(size(), char());
  119|  8.55M|  for (size_type i = 0, e = size(); i != e; ++i) {
  ------------------
  |  Branch (119:37): [True: 7.45M, False: 1.10M]
  ------------------
  120|  7.45M|    Result[i] = ascii_tolower(Data[i]);
  121|  7.45M|  }
  122|  1.10M|  return Result;
  123|  1.10M|}
_ZNK7llvm_ks9StringRef17find_first_not_ofES0_m:
  231|  25.5k|                                                  size_t From) const {
  232|  25.5k|  std::bitset<1 << CHAR_BIT> CharBits;
  233|   178k|  for (size_type i = 0; i != Chars.size(); ++i)
  ------------------
  |  Branch (233:25): [True: 153k, False: 25.5k]
  ------------------
  234|   153k|    CharBits.set((unsigned char)Chars[i]);
  235|       |
  236|  26.7k|  for (size_type i = std::min(From, Length), e = Length; i != e; ++i)
  ------------------
  |  Branch (236:58): [True: 22.4k, False: 4.26k]
  ------------------
  237|  22.4k|    if (!CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (237:9): [True: 21.2k, False: 1.15k]
  ------------------
  238|  21.2k|      return i;
  239|  4.26k|  return npos;
  240|  25.5k|}
_ZNK7llvm_ks9StringRef12find_last_ofES0_m:
  247|  66.8k|                                             size_t From) const {
  248|  66.8k|  std::bitset<1 << CHAR_BIT> CharBits;
  249|   200k|  for (size_type i = 0; i != Chars.size(); ++i)
  ------------------
  |  Branch (249:25): [True: 133k, False: 66.8k]
  ------------------
  250|   133k|    CharBits.set((unsigned char)Chars[i]);
  251|       |
  252|  1.56M|  for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
  ------------------
  |  Branch (252:58): [True: 1.52M, False: 43.3k]
  ------------------
  253|  1.52M|    if (CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (253:9): [True: 23.5k, False: 1.50M]
  ------------------
  254|  23.5k|      return i;
  255|  43.3k|  return npos;
  256|  66.8k|}
_ZNK7llvm_ks9StringRef16find_last_not_ofES0_m:
  272|  25.5k|                                                 size_t From) const {
  273|  25.5k|  std::bitset<1 << CHAR_BIT> CharBits;
  274|   178k|  for (size_type i = 0, e = Chars.size(); i != e; ++i)
  ------------------
  |  Branch (274:43): [True: 153k, False: 25.5k]
  ------------------
  275|   153k|    CharBits.set((unsigned char)Chars[i]);
  276|       |
  277|  25.8k|  for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
  ------------------
  |  Branch (277:58): [True: 21.6k, False: 4.26k]
  ------------------
  278|  21.6k|    if (!CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (278:9): [True: 21.2k, False: 329]
  ------------------
  279|  21.2k|      return i;
  280|  4.26k|  return npos;
  281|  25.5k|}
_ZNK7llvm_ks9StringRef5splitERNS_15SmallVectorImplIS0_EEcib:
  311|   190k|                      int MaxSplit, bool KeepEmpty) const {
  312|   190k|  StringRef S = *this;
  313|       |
  314|       |  // Count down from MaxSplit. When MaxSplit is -1, this will just split
  315|       |  // "forever". This doesn't support splitting more than 2^31 times
  316|       |  // intentionally; if we ever want that we can make MaxSplit a 64-bit integer
  317|       |  // but that seems unlikely to be useful.
  318|   776k|  while (MaxSplit-- != 0) {
  ------------------
  |  Branch (318:10): [True: 623k, False: 153k]
  ------------------
  319|   623k|    size_t Idx = S.find(Separator);
  320|   623k|    if (Idx == npos)
  ------------------
  |  Branch (320:9): [True: 36.9k, False: 586k]
  ------------------
  321|  36.9k|      break;
  322|       |
  323|       |    // Push this split.
  324|   586k|    if (KeepEmpty || Idx > 0)
  ------------------
  |  Branch (324:9): [True: 551k, False: 34.3k]
  |  Branch (324:22): [True: 34.2k, False: 149]
  ------------------
  325|   585k|      A.push_back(S.slice(0, Idx));
  326|       |
  327|       |    // Jump forward.
  328|   586k|    S = S.slice(Idx + 1, npos);
  329|   586k|  }
  330|       |
  331|       |  // Push the tail.
  332|   190k|  if (KeepEmpty || !S.empty())
  ------------------
  |  Branch (332:7): [True: 173k, False: 17.0k]
  |  Branch (332:20): [True: 17.0k, False: 2]
  ------------------
  333|   190k|    A.push_back(S);
  334|   190k|}
_ZNK7llvm_ks9StringRef12getAsIntegerEjRNS_5APIntE:
  445|   849k|bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const {
  446|   849k|  StringRef Str = *this;
  447|       |
  448|       |  // Autosense radix if not specified.
  449|   849k|  if (Radix == 0)
  ------------------
  |  Branch (449:7): [True: 3.36k, False: 846k]
  ------------------
  450|  3.36k|    Radix = GetAutoSenseRadix(Str);
  451|       |
  452|   849k|  assert(Radix > 1 && Radix <= 36);
  ------------------
  |  Branch (452:3): [True: 849k, False: 0]
  |  Branch (452:3): [True: 849k, False: 0]
  |  Branch (452:3): [True: 849k, False: 0]
  ------------------
  453|       |
  454|       |  // Empty strings (after the radix autosense) are invalid.
  455|   849k|  if (Str.empty()) return true;
  ------------------
  |  Branch (455:7): [True: 0, False: 849k]
  ------------------
  456|       |
  457|       |  // Skip leading zeroes.  This can be a significant improvement if
  458|       |  // it means we don't need > 64 bits.
  459|  1.23M|  while (!Str.empty() && Str.front() == '0')
  ------------------
  |  Branch (459:10): [True: 1.11M, False: 125k]
  |  Branch (459:26): [True: 388k, False: 724k]
  ------------------
  460|   388k|    Str = Str.substr(1);
  461|       |
  462|       |  // If it was nothing but zeroes....
  463|   849k|  if (Str.empty()) {
  ------------------
  |  Branch (463:7): [True: 125k, False: 724k]
  ------------------
  464|   125k|    Result = APInt(64, 0);
  465|   125k|    return false;
  466|   125k|  }
  467|       |
  468|       |  // (Over-)estimate the required number of bits.
  469|   724k|  unsigned Log2Radix = 0;
  470|  3.43M|  while ((1U << Log2Radix) < Radix) Log2Radix++;
  ------------------
  |  Branch (470:10): [True: 2.70M, False: 724k]
  ------------------
  471|   724k|  bool IsPowerOf2Radix = ((1U << Log2Radix) == Radix);
  472|       |
  473|   724k|  unsigned BitWidth = Log2Radix * Str.size();
  474|   724k|  if (BitWidth < Result.getBitWidth())
  ------------------
  |  Branch (474:7): [True: 722k, False: 1.72k]
  ------------------
  475|   722k|    BitWidth = Result.getBitWidth(); // don't shrink the result
  476|  1.72k|  else if (BitWidth > Result.getBitWidth())
  ------------------
  |  Branch (476:12): [True: 1.45k, False: 268]
  ------------------
  477|  1.45k|    Result = Result.zext(BitWidth);
  478|       |
  479|   724k|  APInt RadixAP, CharAP; // unused unless !IsPowerOf2Radix
  480|   724k|  if (!IsPowerOf2Radix) {
  ------------------
  |  Branch (480:7): [True: 222, False: 724k]
  ------------------
  481|       |    // These must have the same bit-width as Result.
  482|    222|    RadixAP = APInt(BitWidth, Radix);
  483|    222|    CharAP = APInt(BitWidth, 0);
  484|    222|  }
  485|       |
  486|       |  // Parse all the bytes of the string given this radix.
  487|   724k|  Result = 0;
  488|  2.11M|  while (!Str.empty()) {
  ------------------
  |  Branch (488:10): [True: 1.39M, False: 721k]
  ------------------
  489|  1.39M|    unsigned CharVal;
  490|  1.39M|    if (Str[0] >= '0' && Str[0] <= '9')
  ------------------
  |  Branch (490:9): [True: 1.39M, False: 0]
  |  Branch (490:26): [True: 1.36M, False: 30.2k]
  ------------------
  491|  1.36M|      CharVal = Str[0]-'0';
  492|  30.2k|    else if (Str[0] >= 'a' && Str[0] <= 'z')
  ------------------
  |  Branch (492:14): [True: 27.2k, False: 2.99k]
  |  Branch (492:31): [True: 27.2k, False: 0]
  ------------------
  493|  27.2k|      CharVal = Str[0]-'a'+10;
  494|  2.99k|    else if (Str[0] >= 'A' && Str[0] <= 'Z')
  ------------------
  |  Branch (494:14): [True: 2.99k, False: 0]
  |  Branch (494:31): [True: 2.99k, False: 0]
  ------------------
  495|  2.99k|      CharVal = Str[0]-'A'+10;
  496|      0|    else
  497|      0|      return true;
  498|       |
  499|       |    // If the parsed value is larger than the integer radix, the string is
  500|       |    // invalid.
  501|  1.39M|    if (CharVal >= Radix)
  ------------------
  |  Branch (501:9): [True: 2.66k, False: 1.38M]
  ------------------
  502|  2.66k|      return true;
  503|       |
  504|       |    // Add in this character.
  505|  1.38M|    if (IsPowerOf2Radix) {
  ------------------
  |  Branch (505:9): [True: 1.37M, False: 9.60k]
  ------------------
  506|  1.37M|      Result <<= Log2Radix;
  507|  1.37M|      Result |= CharVal;
  508|  1.37M|    } else {
  509|  9.60k|      Result *= RadixAP;
  510|  9.60k|      CharAP = CharVal;
  511|  9.60k|      Result += CharAP;
  512|  9.60k|    }
  513|       |
  514|  1.38M|    Str = Str.substr(1);
  515|  1.38M|  }
  516|       |
  517|   721k|  return false;
  518|   724k|}
_ZN7llvm_ks10hash_valueENS_9StringRefE:
  522|  14.3k|hash_code llvm_ks::hash_value(StringRef S) {
  523|  14.3k|  return hash_combine_range(S.begin(), S.end());
  524|  14.3k|}
StringRef.cpp:_ZL17ascii_strncasecmpPKcS0_m:
   41|  4.51k|static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) {
   42|  9.74k|  for (size_t I = 0; I < Length; ++I) {
  ------------------
  |  Branch (42:22): [True: 8.04k, False: 1.69k]
  ------------------
   43|  8.04k|    unsigned char LHC = ascii_tolower(LHS[I]);
   44|  8.04k|    unsigned char RHC = ascii_tolower(RHS[I]);
   45|  8.04k|    if (LHC != RHC)
  ------------------
  |  Branch (45:9): [True: 2.82k, False: 5.22k]
  ------------------
   46|  2.82k|      return LHC < RHC ? -1 : 1;
  ------------------
  |  Branch (46:14): [True: 1.96k, False: 851]
  ------------------
   47|  8.04k|  }
   48|  1.69k|  return 0;
   49|  4.51k|}
StringRef.cpp:_ZL13ascii_tolowerc:
   23|  7.47M|static char ascii_tolower(char x) {
   24|  7.47M|  if (x >= 'A' && x <= 'Z')
  ------------------
  |  Branch (24:7): [True: 6.35M, False: 1.11M]
  |  Branch (24:19): [True: 3.17M, False: 3.18M]
  ------------------
   25|  3.17M|    return x - 'A' + 'a';
   26|  4.29M|  return x;
   27|  7.47M|}
StringRef.cpp:_ZL17GetAutoSenseRadixRN7llvm_ks9StringRefE:
  353|  3.36k|static unsigned GetAutoSenseRadix(StringRef &Str) {
  354|  3.36k|  if (Str.startswith("0x") || Str.startswith("0X")) {
  ------------------
  |  Branch (354:7): [True: 2.79k, False: 574]
  |  Branch (354:7): [True: 3.36k, False: 0]
  |  Branch (354:31): [True: 574, False: 0]
  ------------------
  355|  3.36k|    Str = Str.substr(2);
  356|  3.36k|    return 16;
  357|  3.36k|  }
  358|       |  
  359|      0|  if (Str.startswith("0b")) {
  ------------------
  |  Branch (359:7): [True: 0, False: 0]
  ------------------
  360|      0|    Str = Str.substr(2);
  361|      0|    return 2;
  362|      0|  }
  363|       |
  364|      0|  if (Str.startswith("0o")) {
  ------------------
  |  Branch (364:7): [True: 0, False: 0]
  ------------------
  365|      0|    Str = Str.substr(2);
  366|      0|    return 8;
  367|      0|  }
  368|       |
  369|      0|  if (Str.startswith("0"))
  ------------------
  |  Branch (369:7): [True: 0, False: 0]
  ------------------
  370|      0|    return 8;
  371|       |  
  372|      0|  return 10;
  373|      0|}

_ZN7llvm_ks3ARM20getCanonicalArchNameENS_9StringRefE:
  423|   306k|StringRef llvm_ks::ARM::getCanonicalArchName(StringRef Arch) {
  424|   306k|  size_t offset = StringRef::npos;
  425|   306k|  StringRef A = Arch;
  426|   306k|  StringRef Error = "";
  427|       |
  428|       |  // Begins with "arm" / "thumb", move past it.
  429|   306k|  if (A.startswith("arm64"))
  ------------------
  |  Branch (429:7): [True: 0, False: 306k]
  ------------------
  430|      0|    offset = 5;
  431|   306k|  else if (A.startswith("arm"))
  ------------------
  |  Branch (431:12): [True: 0, False: 306k]
  ------------------
  432|      0|    offset = 3;
  433|   306k|  else if (A.startswith("thumb"))
  ------------------
  |  Branch (433:12): [True: 0, False: 306k]
  ------------------
  434|      0|    offset = 5;
  435|   306k|  else if (A.startswith("aarch64")) {
  ------------------
  |  Branch (435:12): [True: 0, False: 306k]
  ------------------
  436|      0|    offset = 7;
  437|       |    // AArch64 uses "_be", not "eb" suffix.
  438|      0|    if (A.find("eb") != StringRef::npos)
  ------------------
  |  Branch (438:9): [True: 0, False: 0]
  ------------------
  439|      0|      return Error;
  440|      0|    if (A.substr(offset, 3) == "_be")
  ------------------
  |  Branch (440:9): [True: 0, False: 0]
  ------------------
  441|      0|      offset += 3;
  442|      0|  }
  443|       |
  444|       |  // Ex. "armebv7", move past the "eb".
  445|   306k|  if (offset != StringRef::npos && A.substr(offset, 2) == "eb")
  ------------------
  |  Branch (445:7): [True: 0, False: 306k]
  |  Branch (445:7): [True: 0, False: 306k]
  |  Branch (445:36): [True: 0, False: 0]
  ------------------
  446|      0|    offset += 2;
  447|       |  // Or, if it ends with eb ("armv7eb"), chop it off.
  448|   306k|  else if (A.endswith("eb"))
  ------------------
  |  Branch (448:12): [True: 0, False: 306k]
  ------------------
  449|      0|    A = A.substr(0, A.size() - 2);
  450|       |  // Trim the head
  451|   306k|  if (offset != StringRef::npos)
  ------------------
  |  Branch (451:7): [True: 0, False: 306k]
  ------------------
  452|      0|    A = A.substr(offset);
  453|       |
  454|       |  // Empty string means offset reached the end, which means it's valid.
  455|   306k|  if (A.empty())
  ------------------
  |  Branch (455:7): [True: 0, False: 306k]
  ------------------
  456|      0|    return Arch;
  457|       |
  458|       |  // Only match non-marketing names
  459|   306k|  if (offset != StringRef::npos) {
  ------------------
  |  Branch (459:7): [True: 0, False: 306k]
  ------------------
  460|       |    // Must start with 'vN'.
  461|      0|    if (A[0] != 'v' || !std::isdigit(A[1]))
  ------------------
  |  Branch (461:9): [True: 0, False: 0]
  |  Branch (461:24): [True: 0, False: 0]
  ------------------
  462|      0|      return Error;
  463|       |    // Can't have an extra 'eb'.
  464|      0|    if (A.find("eb") != StringRef::npos)
  ------------------
  |  Branch (464:9): [True: 0, False: 0]
  ------------------
  465|      0|      return Error;
  466|      0|  }
  467|       |
  468|       |  // Arch will either be a 'v' name (v7a) or a marketing name (xscale).
  469|   306k|  return A;
  470|   306k|}
_ZN7llvm_ks3ARM9parseArchENS_9StringRefE:
  491|   153k|unsigned llvm_ks::ARM::parseArch(StringRef Arch) {
  492|   153k|  Arch = getCanonicalArchName(Arch);
  493|   153k|  StringRef Syn = getArchSynonym(Arch);
  494|  4.44M|  for (const auto A : ARCHNames) {
  ------------------
  |  Branch (494:21): [True: 4.44M, False: 153k]
  ------------------
  495|  4.44M|    if (A.getName().endswith(Syn))
  ------------------
  |  Branch (495:9): [True: 0, False: 4.44M]
  ------------------
  496|      0|      return A.ID;
  497|  4.44M|  }
  498|   153k|  return ARM::AK_INVALID;
  499|   153k|}
TargetParser.cpp:_ZNK12_GLOBAL__N_13$_17getNameEv:
   66|  4.44M|  StringRef getName() const { return StringRef(NameCStr, NameLength); }
TargetParser.cpp:_ZL14getArchSynonymN7llvm_ks9StringRefE:
  399|   153k|static StringRef getArchSynonym(StringRef Arch) {
  400|   153k|  return StringSwitch<StringRef>(Arch)
  401|   153k|      .Case("v5", "v5t")
  402|   153k|      .Case("v5e", "v5te")
  403|   153k|      .Case("v6j", "v6")
  404|   153k|      .Case("v6hl", "v6k")
  405|   153k|      .Cases("v6m", "v6sm", "v6s-m", "v6-m")
  406|   153k|      .Cases("v6z", "v6zk", "v6kz")
  407|   153k|      .Cases("v7", "v7a", "v7hl", "v7l", "v7-a")
  408|   153k|      .Case("v7r", "v7-r")
  409|   153k|      .Case("v7m", "v7-m")
  410|   153k|      .Case("v7em", "v7e-m")
  411|   153k|      .Cases("v8", "v8a", "aarch64", "arm64", "v8-a")
  412|   153k|      .Case("v8.1a", "v8.1-a")
  413|   153k|      .Case("v8.2a", "v8.2-a")
  414|   153k|      .Case("v8m.base", "v8-m.base")
  415|   153k|      .Case("v8m.main", "v8-m.main")
  416|   153k|      .Default(Arch);
  417|   153k|}

_ZN7llvm_ks14TargetRegistry7targetsEv:
   21|   119k|iterator_range<TargetRegistry::iterator> TargetRegistry::targets() {
   22|   119k|  return make_range(iterator(FirstTarget), iterator());
   23|   119k|}
_ZN7llvm_ks14TargetRegistry12lookupTargetERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS_6TripleERS7_:
   27|  17.0k|                                           std::string &Error) {
   28|       |  // Allocate target machine.  First, check whether the user has explicitly
   29|       |  // specified an architecture to compile for. If so we have to look it up by
   30|       |  // name, because it might be a backend that has no mapping to a target triple.
   31|  17.0k|  const Target *TheTarget = nullptr;
   32|  17.0k|  if (!ArchName.empty()) {
  ------------------
  |  Branch (32:7): [True: 0, False: 17.0k]
  ------------------
   33|      0|    auto I =
   34|      0|        std::find_if(targets().begin(), targets().end(),
   35|      0|                     [&](const Target &T) { return ArchName == T.getName(); });
   36|       |
   37|      0|    if (I == targets().end()) {
  ------------------
  |  Branch (37:9): [True: 0, False: 0]
  ------------------
   38|      0|      Error = "error: invalid target '" + ArchName + "'.\n";
   39|      0|      return nullptr;
   40|      0|    }
   41|       |
   42|      0|    TheTarget = &*I;
   43|       |
   44|       |    // Adjust the triple to match (if known), otherwise stick with the
   45|       |    // given triple.
   46|      0|    Triple::ArchType Type = Triple::getArchTypeForLLVMName(ArchName);
   47|      0|    if (Type != Triple::UnknownArch)
  ------------------
  |  Branch (47:9): [True: 0, False: 0]
  ------------------
   48|      0|      TheTriple.setArch(Type);
   49|  17.0k|  } else {
   50|       |    // Get the target specific parser.
   51|  17.0k|    std::string TempError;
   52|  17.0k|    TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError);
   53|  17.0k|    if (!TheTarget) {
  ------------------
  |  Branch (53:9): [True: 0, False: 17.0k]
  ------------------
   54|      0|      Error = ": error: unable to get target for '"
   55|      0|            + TheTriple.getTriple()
   56|      0|            + "', see --version and --triple.\n";
   57|      0|      return nullptr;
   58|      0|    }
   59|  17.0k|  }
   60|       |
   61|  17.0k|  return TheTarget;
   62|  17.0k|}
_ZN7llvm_ks14TargetRegistry12lookupTargetERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERS7_:
   65|  17.0k|                                           std::string &Error) {
   66|       |  // Provide special warning when no targets are initialized.
   67|  17.0k|  if (targets().begin() == targets().end()) {
  ------------------
  |  Branch (67:7): [True: 0, False: 17.0k]
  ------------------
   68|      0|    Error = "Unable to find target for this triple (no targets are registered)";
   69|      0|    return nullptr;
   70|      0|  }
   71|  17.0k|  Triple::ArchType Arch = Triple(TT).getArch();
   72|  17.0k|  auto ArchMatch = [&](const Target &T) { return T.ArchMatchFn(Arch); };
   73|  17.0k|  auto I = std::find_if(targets().begin(), targets().end(), ArchMatch);
   74|       |
   75|  17.0k|  if (I == targets().end()) {
  ------------------
  |  Branch (75:7): [True: 0, False: 17.0k]
  ------------------
   76|      0|    Error = "No available targets are compatible with this triple.";
   77|      0|    return nullptr;
   78|      0|  }
   79|       |
   80|  17.0k|  auto J = std::find_if(std::next(I), targets().end(), ArchMatch);
   81|  17.0k|  if (J != targets().end()) {
  ------------------
  |  Branch (81:7): [True: 0, False: 17.0k]
  ------------------
   82|      0|    Error = std::string("Cannot choose between targets \"") + I->Name +
   83|      0|            "\" and \"" + J->Name + "\"";
   84|      0|    return nullptr;
   85|      0|  }
   86|       |
   87|  17.0k|  return &*I;
   88|  17.0k|}
_ZN7llvm_ks14TargetRegistry14RegisterTargetERNS_6TargetEPKcS4_PFbNS_6Triple8ArchTypeEE:
   93|     23|                                    Target::ArchMatchFnTy ArchMatchFn) {
   94|     23|  assert(Name && ShortDesc && ArchMatchFn &&
  ------------------
  |  Branch (94:3): [True: 23, False: 0]
  |  Branch (94:3): [True: 23, False: 0]
  |  Branch (94:3): [True: 23, False: 0]
  |  Branch (94:3): [True: 23, Folded]
  |  Branch (94:3): [True: 23, False: 0]
  ------------------
   95|     23|         "Missing required target information!");
   96|       |
   97|       |  // Check if this target has already been initialized, we allow this as a
   98|       |  // convenience to some clients.
   99|     23|  if (T.Name)
  ------------------
  |  Branch (99:7): [True: 0, False: 23]
  ------------------
  100|      0|    return;
  101|       |         
  102|       |  // Add to the list of targets.
  103|     23|  T.Next = FirstTarget;
  104|     23|  FirstTarget = &T;
  105|       |
  106|     23|  T.Name = Name;
  107|     23|  T.ShortDesc = ShortDesc;
  108|     23|  T.ArchMatchFn = ArchMatchFn;
  109|     23|}
TargetRegistry.cpp:_ZZN7llvm_ks14TargetRegistry12lookupTargetERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERS7_ENK3$_0clERKNS_6TargetE:
   72|   392k|  auto ArchMatch = [&](const Target &T) { return T.ArchMatchFn(Arch); };

_ZN7llvm_ks6TripleC2ERKNS_5TwineE:
  618|   153k|    : Data(Str.str()), Arch(UnknownArch), SubArch(NoSubArch),
  619|   153k|      Vendor(UnknownVendor), OS(UnknownOS), Environment(UnknownEnvironment),
  620|   153k|      ObjectFormat(UnknownObjectFormat) {
  621|       |  // Do minimal parsing by hand here.
  622|   153k|  SmallVector<StringRef, 4> Components;
  623|   153k|  StringRef(Data).split(Components, '-', /*MaxSplit*/ 3);
  624|   153k|  if (Components.size() > 0) {
  ------------------
  |  Branch (624:7): [True: 153k, False: 0]
  ------------------
  625|   153k|    Arch = parseArch(Components[0]);
  626|   153k|    SubArch = parseSubArch(Components[0]);
  627|   153k|    if (Components.size() > 1) {
  ------------------
  |  Branch (627:9): [True: 153k, False: 0]
  ------------------
  628|   153k|      Vendor = parseVendor(Components[1]);
  629|   153k|      if (Components.size() > 2) {
  ------------------
  |  Branch (629:11): [True: 153k, False: 0]
  ------------------
  630|   153k|        OS = parseOS(Components[2]);
  631|   153k|        if (Components.size() > 3) {
  ------------------
  |  Branch (631:13): [True: 153k, False: 0]
  ------------------
  632|   153k|          Environment = parseEnvironment(Components[3]);
  633|   153k|          ObjectFormat = parseFormat(Components[3]);
  634|   153k|        }
  635|   153k|      }
  636|   153k|    }
  637|   153k|  }
  638|   153k|  if (ObjectFormat == UnknownObjectFormat)
  ------------------
  |  Branch (638:7): [True: 153k, False: 0]
  ------------------
  639|   153k|    ObjectFormat = getDefaultFormat(*this);
  640|   153k|}
_ZN7llvm_ks6Triple9normalizeENS_9StringRefE:
  677|  17.0k|std::string Triple::normalize(StringRef Str) {
  678|  17.0k|  bool IsMinGW32 = false;
  679|  17.0k|  bool IsCygwin = false;
  680|       |
  681|       |  // Parse into components.
  682|  17.0k|  SmallVector<StringRef, 4> Components;
  683|  17.0k|  Str.split(Components, '-');
  684|       |
  685|       |  // If the first component corresponds to a known architecture, preferentially
  686|       |  // use it for the architecture.  If the second component corresponds to a
  687|       |  // known vendor, preferentially use it for the vendor, etc.  This avoids silly
  688|       |  // component movement when a component parses as (eg) both a valid arch and a
  689|       |  // valid os.
  690|  17.0k|  ArchType Arch = UnknownArch;
  691|  17.0k|  if (Components.size() > 0)
  ------------------
  |  Branch (691:7): [True: 17.0k, False: 0]
  ------------------
  692|  17.0k|    Arch = parseArch(Components[0]);
  693|  17.0k|  VendorType Vendor = UnknownVendor;
  694|  17.0k|  if (Components.size() > 1)
  ------------------
  |  Branch (694:7): [True: 17.0k, False: 0]
  ------------------
  695|  17.0k|    Vendor = parseVendor(Components[1]);
  696|  17.0k|  OSType OS = UnknownOS;
  697|  17.0k|  if (Components.size() > 2) {
  ------------------
  |  Branch (697:7): [True: 17.0k, False: 0]
  ------------------
  698|  17.0k|    OS = parseOS(Components[2]);
  699|  17.0k|    IsCygwin = Components[2].startswith("cygwin");
  700|  17.0k|    IsMinGW32 = Components[2].startswith("mingw");
  701|  17.0k|  }
  702|  17.0k|  EnvironmentType Environment = UnknownEnvironment;
  703|  17.0k|  if (Components.size() > 3)
  ------------------
  |  Branch (703:7): [True: 17.0k, False: 0]
  ------------------
  704|  17.0k|    Environment = parseEnvironment(Components[3]);
  705|  17.0k|  ObjectFormatType ObjectFormat = UnknownObjectFormat;
  706|  17.0k|  if (Components.size() > 4)
  ------------------
  |  Branch (706:7): [True: 0, False: 17.0k]
  ------------------
  707|      0|    ObjectFormat = parseFormat(Components[4]);
  708|       |
  709|       |  // Note which components are already in their final position.  These will not
  710|       |  // be moved.
  711|  17.0k|  bool Found[4];
  712|  17.0k|  Found[0] = Arch != UnknownArch;
  713|  17.0k|  Found[1] = Vendor != UnknownVendor;
  714|  17.0k|  Found[2] = OS != UnknownOS;
  715|  17.0k|  Found[3] = Environment != UnknownEnvironment;
  716|       |
  717|       |  // If they are not there already, permute the components into their canonical
  718|       |  // positions by seeing if they parse as a valid architecture, and if so moving
  719|       |  // the component to the architecture position etc.
  720|  85.2k|  for (unsigned Pos = 0; Pos != array_lengthof(Found); ++Pos) {
  ------------------
  |  Branch (720:26): [True: 68.1k, False: 17.0k]
  ------------------
  721|  68.1k|    if (Found[Pos])
  ------------------
  |  Branch (721:9): [True: 34.0k, False: 34.0k]
  ------------------
  722|  34.0k|      continue; // Already in the canonical position.
  723|       |
  724|   170k|    for (unsigned Idx = 0; Idx != Components.size(); ++Idx) {
  ------------------
  |  Branch (724:28): [True: 136k, False: 34.0k]
  ------------------
  725|       |      // Do not reparse any components that already matched.
  726|   136k|      if (Idx < array_lengthof(Found) && Found[Idx])
  ------------------
  |  Branch (726:11): [True: 136k, False: 0]
  |  Branch (726:42): [True: 68.1k, False: 68.1k]
  ------------------
  727|  68.1k|        continue;
  728|       |
  729|       |      // Does this component parse as valid for the target position?
  730|  68.1k|      bool Valid = false;
  731|  68.1k|      StringRef Comp = Components[Idx];
  732|  68.1k|      switch (Pos) {
  733|      0|      default: llvm_unreachable("unexpected component type!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (733:7): [True: 0, False: 68.1k]
  ------------------
  734|      0|      case 0:
  ------------------
  |  Branch (734:7): [True: 0, False: 68.1k]
  ------------------
  735|      0|        Arch = parseArch(Comp);
  736|      0|        Valid = Arch != UnknownArch;
  737|      0|        break;
  738|  34.0k|      case 1:
  ------------------
  |  Branch (738:7): [True: 34.0k, False: 34.0k]
  ------------------
  739|  34.0k|        Vendor = parseVendor(Comp);
  740|  34.0k|        Valid = Vendor != UnknownVendor;
  741|  34.0k|        break;
  742|  34.0k|      case 2:
  ------------------
  |  Branch (742:7): [True: 34.0k, False: 34.0k]
  ------------------
  743|  34.0k|        OS = parseOS(Comp);
  744|  34.0k|        IsCygwin = Comp.startswith("cygwin");
  745|  34.0k|        IsMinGW32 = Comp.startswith("mingw");
  746|  34.0k|        Valid = OS != UnknownOS || IsCygwin || IsMinGW32;
  ------------------
  |  Branch (746:17): [True: 0, False: 34.0k]
  |  Branch (746:36): [True: 0, False: 34.0k]
  |  Branch (746:48): [True: 0, False: 34.0k]
  ------------------
  747|  34.0k|        break;
  748|      0|      case 3:
  ------------------
  |  Branch (748:7): [True: 0, False: 68.1k]
  ------------------
  749|      0|        Environment = parseEnvironment(Comp);
  750|      0|        Valid = Environment != UnknownEnvironment;
  751|      0|        if (!Valid) {
  ------------------
  |  Branch (751:13): [True: 0, False: 0]
  ------------------
  752|      0|          ObjectFormat = parseFormat(Comp);
  753|      0|          Valid = ObjectFormat != UnknownObjectFormat;
  754|      0|        }
  755|      0|        break;
  756|  68.1k|      }
  757|  68.1k|      if (!Valid)
  ------------------
  |  Branch (757:11): [True: 68.1k, False: 0]
  ------------------
  758|  68.1k|        continue; // Nope, try the next component.
  759|       |
  760|       |      // Move the component to the target position, pushing any non-fixed
  761|       |      // components that are in the way to the right.  This tends to give
  762|       |      // good results in the common cases of a forgotten vendor component
  763|       |      // or a wrongly positioned environment.
  764|      0|      if (Pos < Idx) {
  ------------------
  |  Branch (764:11): [True: 0, False: 0]
  ------------------
  765|       |        // Insert left, pushing the existing components to the right.  For
  766|       |        // example, a-b-i386 -> i386-a-b when moving i386 to the front.
  767|      0|        StringRef CurrentComponent(""); // The empty component.
  768|       |        // Replace the component we are moving with an empty component.
  769|      0|        std::swap(CurrentComponent, Components[Idx]);
  770|       |        // Insert the component being moved at Pos, displacing any existing
  771|       |        // components to the right.
  772|      0|        for (unsigned i = Pos; !CurrentComponent.empty(); ++i) {
  ------------------
  |  Branch (772:32): [True: 0, False: 0]
  ------------------
  773|       |          // Skip over any fixed components.
  774|      0|          while (i < array_lengthof(Found) && Found[i])
  ------------------
  |  Branch (774:18): [True: 0, False: 0]
  |  Branch (774:47): [True: 0, False: 0]
  ------------------
  775|      0|            ++i;
  776|       |          // Place the component at the new position, getting the component
  777|       |          // that was at this position - it will be moved right.
  778|      0|          std::swap(CurrentComponent, Components[i]);
  779|      0|        }
  780|      0|      } else if (Pos > Idx) {
  ------------------
  |  Branch (780:18): [True: 0, False: 0]
  ------------------
  781|       |        // Push right by inserting empty components until the component at Idx
  782|       |        // reaches the target position Pos.  For example, pc-a -> -pc-a when
  783|       |        // moving pc to the second position.
  784|      0|        do {
  785|       |          // Insert one empty component at Idx.
  786|      0|          StringRef CurrentComponent(""); // The empty component.
  787|      0|          for (unsigned i = Idx; i < Components.size();) {
  ------------------
  |  Branch (787:34): [True: 0, False: 0]
  ------------------
  788|       |            // Place the component at the new position, getting the component
  789|       |            // that was at this position - it will be moved right.
  790|      0|            std::swap(CurrentComponent, Components[i]);
  791|       |            // If it was placed on top of an empty component then we are done.
  792|      0|            if (CurrentComponent.empty())
  ------------------
  |  Branch (792:17): [True: 0, False: 0]
  ------------------
  793|      0|              break;
  794|       |            // Advance to the next component, skipping any fixed components.
  795|      0|            while (++i < array_lengthof(Found) && Found[i])
  ------------------
  |  Branch (795:20): [True: 0, False: 0]
  |  Branch (795:51): [True: 0, False: 0]
  ------------------
  796|      0|              ;
  797|      0|          }
  798|       |          // The last component was pushed off the end - append it.
  799|      0|          if (!CurrentComponent.empty())
  ------------------
  |  Branch (799:15): [True: 0, False: 0]
  ------------------
  800|      0|            Components.push_back(CurrentComponent);
  801|       |
  802|       |          // Advance Idx to the component's new position.
  803|      0|          while (++Idx < array_lengthof(Found) && Found[Idx])
  ------------------
  |  Branch (803:18): [True: 0, False: 0]
  |  Branch (803:51): [True: 0, False: 0]
  ------------------
  804|      0|            ;
  805|      0|        } while (Idx < Pos); // Add more until the final position is reached.
  ------------------
  |  Branch (805:18): [True: 0, False: 0]
  ------------------
  806|      0|      }
  807|      0|      assert(Pos < Components.size() && Components[Pos] == Comp &&
  ------------------
  |  Branch (807:7): [True: 0, False: 0]
  |  Branch (807:7): [True: 0, False: 0]
  |  Branch (807:7): [True: 0, Folded]
  |  Branch (807:7): [True: 0, False: 0]
  ------------------
  808|      0|             "Component moved wrong!");
  809|      0|      Found[Pos] = true;
  810|      0|      break;
  811|      0|    }
  812|  34.0k|  }
  813|       |
  814|       |  // Special case logic goes here.  At this point Arch, Vendor and OS have the
  815|       |  // correct values for the computed components.
  816|  17.0k|  std::string NormalizedEnvironment;
  817|  17.0k|  if (Environment == Triple::Android && Components[3].startswith("androideabi")) {
  ------------------
  |  Branch (817:7): [True: 0, False: 17.0k]
  |  Branch (817:7): [True: 0, False: 17.0k]
  |  Branch (817:41): [True: 0, False: 0]
  ------------------
  818|      0|    StringRef AndroidVersion = Components[3].drop_front(strlen("androideabi"));
  819|      0|    if (AndroidVersion.empty()) {
  ------------------
  |  Branch (819:9): [True: 0, False: 0]
  ------------------
  820|      0|      Components[3] = "android";
  821|      0|    } else {
  822|      0|      NormalizedEnvironment = Twine("android", AndroidVersion).str();
  823|      0|      Components[3] = NormalizedEnvironment;
  824|      0|    }
  825|      0|  }
  826|       |
  827|  17.0k|  if (OS == Triple::Win32) {
  ------------------
  |  Branch (827:7): [True: 0, False: 17.0k]
  ------------------
  828|      0|    Components.resize(4);
  829|      0|    Components[2] = "windows";
  830|      0|    if (Environment == UnknownEnvironment) {
  ------------------
  |  Branch (830:9): [True: 0, False: 0]
  ------------------
  831|      0|      if (ObjectFormat == UnknownObjectFormat || ObjectFormat == Triple::COFF)
  ------------------
  |  Branch (831:11): [True: 0, False: 0]
  |  Branch (831:50): [True: 0, False: 0]
  ------------------
  832|      0|        Components[3] = "msvc";
  833|      0|      else
  834|      0|        Components[3] = getObjectFormatTypeName(ObjectFormat);
  835|      0|    }
  836|  17.0k|  } else if (IsMinGW32) {
  ------------------
  |  Branch (836:14): [True: 0, False: 17.0k]
  ------------------
  837|      0|    Components.resize(4);
  838|      0|    Components[2] = "windows";
  839|      0|    Components[3] = "gnu";
  840|  17.0k|  } else if (IsCygwin) {
  ------------------
  |  Branch (840:14): [True: 0, False: 17.0k]
  ------------------
  841|      0|    Components.resize(4);
  842|      0|    Components[2] = "windows";
  843|      0|    Components[3] = "cygnus";
  844|      0|  }
  845|  17.0k|  if (IsMinGW32 || IsCygwin ||
  ------------------
  |  Branch (845:7): [True: 0, False: 17.0k]
  |  Branch (845:20): [True: 0, False: 17.0k]
  ------------------
  846|  17.0k|      (OS == Triple::Win32 && Environment != UnknownEnvironment)) {
  ------------------
  |  Branch (846:8): [True: 0, False: 17.0k]
  |  Branch (846:31): [True: 0, False: 0]
  ------------------
  847|      0|    if (ObjectFormat != UnknownObjectFormat && ObjectFormat != Triple::COFF) {
  ------------------
  |  Branch (847:9): [True: 0, False: 0]
  |  Branch (847:48): [True: 0, False: 0]
  ------------------
  848|      0|      Components.resize(5);
  849|      0|      Components[4] = getObjectFormatTypeName(ObjectFormat);
  850|      0|    }
  851|      0|  }
  852|       |
  853|       |  // Stick the corrected components back together to form the normalized string.
  854|  17.0k|  std::string Normalized;
  855|  85.2k|  for (unsigned i = 0, e = Components.size(); i != e; ++i) {
  ------------------
  |  Branch (855:47): [True: 68.1k, False: 17.0k]
  ------------------
  856|  68.1k|    if (i) Normalized += '-';
  ------------------
  |  Branch (856:9): [True: 51.1k, False: 17.0k]
  ------------------
  857|  68.1k|    Normalized += Components[i];
  858|  68.1k|  }
  859|  17.0k|  return Normalized;
  860|  17.0k|}
Triple.cpp:_ZL9parseArchN7llvm_ks9StringRefE:
  341|   170k|static Triple::ArchType parseArch(StringRef ArchName) {
  342|   170k|  auto AT = StringSwitch<Triple::ArchType>(ArchName)
  343|   170k|    .Cases("i386", "i486", "i586", "i686", Triple::x86)
  344|       |    // FIXME: Do we need to support these?
  345|   170k|    .Cases("i786", "i886", "i986", Triple::x86)
  346|   170k|    .Cases("amd64", "x86_64", "x86_64h", Triple::x86_64)
  347|   170k|    .Cases("powerpc", "ppc32", Triple::ppc)
  348|   170k|    .Cases("powerpc64", "ppu", "ppc64", Triple::ppc64)
  349|   170k|    .Cases("powerpc64le", "ppc64le", Triple::ppc64le)
  350|   170k|    .Case("xscale", Triple::arm)
  351|   170k|    .Case("xscaleeb", Triple::armeb)
  352|   170k|    .Case("aarch64", Triple::aarch64)
  353|   170k|    .Case("aarch64_be", Triple::aarch64_be)
  354|   170k|    .Case("arm64", Triple::aarch64)
  355|   170k|    .Case("arm", Triple::arm)
  356|   170k|    .Case("armeb", Triple::armeb)
  357|   170k|    .Case("thumb", Triple::thumb)
  358|   170k|    .Case("thumbeb", Triple::thumbeb)
  359|   170k|    .Case("avr", Triple::avr)
  360|   170k|    .Case("msp430", Triple::msp430)
  361|   170k|    .Cases("mips", "mipseb", "mipsallegrex", Triple::mips)
  362|   170k|    .Cases("mipsel", "mipsallegrexel", Triple::mipsel)
  363|   170k|    .Cases("mips64", "mips64eb", Triple::mips64)
  364|   170k|    .Case("mips64el", Triple::mips64el)
  365|   170k|    .Case("r600", Triple::r600)
  366|   170k|    .Case("amdgcn", Triple::amdgcn)
  367|   170k|    .Case("riscv32", Triple::riscv32)
  368|   170k|    .Case("riscv64", Triple::riscv64)
  369|   170k|    .Case("hexagon", Triple::hexagon)
  370|   170k|    .Cases("s390x", "systemz", Triple::systemz)
  371|   170k|    .Case("sparc", Triple::sparc)
  372|   170k|    .Case("sparcel", Triple::sparcel)
  373|   170k|    .Cases("sparcv9", "sparc64", Triple::sparcv9)
  374|   170k|    .Case("tce", Triple::tce)
  375|   170k|    .Case("xcore", Triple::xcore)
  376|   170k|    .Case("nvptx", Triple::nvptx)
  377|   170k|    .Case("nvptx64", Triple::nvptx64)
  378|   170k|    .Case("le32", Triple::le32)
  379|   170k|    .Case("le64", Triple::le64)
  380|   170k|    .Case("amdil", Triple::amdil)
  381|   170k|    .Case("amdil64", Triple::amdil64)
  382|   170k|    .Case("hsail", Triple::hsail)
  383|   170k|    .Case("hsail64", Triple::hsail64)
  384|   170k|    .Case("spir", Triple::spir)
  385|   170k|    .Case("spir64", Triple::spir64)
  386|   170k|    .StartsWith("kalimba", Triple::kalimba)
  387|   170k|    .Case("shave", Triple::shave)
  388|   170k|    .Case("wasm32", Triple::wasm32)
  389|   170k|    .Case("wasm64", Triple::wasm64)
  390|   170k|    .Default(Triple::UnknownArch);
  391|       |
  392|       |  // Some architectures require special parsing logic just to compute the
  393|       |  // ArchType result.
  394|   170k|  if (AT == Triple::UnknownArch) {
  ------------------
  |  Branch (394:7): [True: 0, False: 170k]
  ------------------
  395|      0|    if (ArchName.startswith("arm") || ArchName.startswith("thumb") ||
  ------------------
  |  Branch (395:9): [True: 0, False: 0]
  |  Branch (395:9): [True: 0, False: 0]
  |  Branch (395:39): [True: 0, False: 0]
  ------------------
  396|      0|        ArchName.startswith("aarch64"))
  ------------------
  |  Branch (396:9): [True: 0, False: 0]
  ------------------
  397|      0|      return parseARMArch(ArchName);
  398|      0|    if (ArchName.startswith("bpf"))
  ------------------
  |  Branch (398:9): [True: 0, False: 0]
  ------------------
  399|      0|      return parseBPFArch(ArchName);
  400|      0|  }
  401|       |
  402|   170k|  return AT;
  403|   170k|}
Triple.cpp:_ZL12parseSubArchN7llvm_ks9StringRefE:
  481|   153k|static Triple::SubArchType parseSubArch(StringRef SubArchName) {
  482|   153k|  StringRef ARMSubArch = ARM::getCanonicalArchName(SubArchName);
  483|       |
  484|       |  // For now, this is the small part. Early return.
  485|   153k|  if (ARMSubArch.empty())
  ------------------
  |  Branch (485:7): [True: 0, False: 153k]
  ------------------
  486|      0|    return StringSwitch<Triple::SubArchType>(SubArchName)
  487|      0|      .EndsWith("kalimba3", Triple::KalimbaSubArch_v3)
  488|      0|      .EndsWith("kalimba4", Triple::KalimbaSubArch_v4)
  489|      0|      .EndsWith("kalimba5", Triple::KalimbaSubArch_v5)
  490|      0|      .Default(Triple::NoSubArch);
  491|       |
  492|       |  // ARM sub arch.
  493|   153k|  switch(ARM::parseArch(ARMSubArch)) {
  494|      0|  case ARM::AK_ARMV4:
  ------------------
  |  Branch (494:3): [True: 0, False: 153k]
  ------------------
  495|      0|    return Triple::NoSubArch;
  496|      0|  case ARM::AK_ARMV4T:
  ------------------
  |  Branch (496:3): [True: 0, False: 153k]
  ------------------
  497|      0|    return Triple::ARMSubArch_v4t;
  498|      0|  case ARM::AK_ARMV5T:
  ------------------
  |  Branch (498:3): [True: 0, False: 153k]
  ------------------
  499|      0|    return Triple::ARMSubArch_v5;
  500|      0|  case ARM::AK_ARMV5TE:
  ------------------
  |  Branch (500:3): [True: 0, False: 153k]
  ------------------
  501|      0|  case ARM::AK_IWMMXT:
  ------------------
  |  Branch (501:3): [True: 0, False: 153k]
  ------------------
  502|      0|  case ARM::AK_IWMMXT2:
  ------------------
  |  Branch (502:3): [True: 0, False: 153k]
  ------------------
  503|      0|  case ARM::AK_XSCALE:
  ------------------
  |  Branch (503:3): [True: 0, False: 153k]
  ------------------
  504|      0|  case ARM::AK_ARMV5TEJ:
  ------------------
  |  Branch (504:3): [True: 0, False: 153k]
  ------------------
  505|      0|    return Triple::ARMSubArch_v5te;
  506|      0|  case ARM::AK_ARMV6:
  ------------------
  |  Branch (506:3): [True: 0, False: 153k]
  ------------------
  507|      0|    return Triple::ARMSubArch_v6;
  508|      0|  case ARM::AK_ARMV6K:
  ------------------
  |  Branch (508:3): [True: 0, False: 153k]
  ------------------
  509|      0|  case ARM::AK_ARMV6KZ:
  ------------------
  |  Branch (509:3): [True: 0, False: 153k]
  ------------------
  510|      0|    return Triple::ARMSubArch_v6k;
  511|      0|  case ARM::AK_ARMV6T2:
  ------------------
  |  Branch (511:3): [True: 0, False: 153k]
  ------------------
  512|      0|    return Triple::ARMSubArch_v6t2;
  513|      0|  case ARM::AK_ARMV6M:
  ------------------
  |  Branch (513:3): [True: 0, False: 153k]
  ------------------
  514|      0|    return Triple::ARMSubArch_v6m;
  515|      0|  case ARM::AK_ARMV7A:
  ------------------
  |  Branch (515:3): [True: 0, False: 153k]
  ------------------
  516|      0|  case ARM::AK_ARMV7R:
  ------------------
  |  Branch (516:3): [True: 0, False: 153k]
  ------------------
  517|      0|    return Triple::ARMSubArch_v7;
  518|      0|  case ARM::AK_ARMV7K:
  ------------------
  |  Branch (518:3): [True: 0, False: 153k]
  ------------------
  519|      0|    return Triple::ARMSubArch_v7k;
  520|      0|  case ARM::AK_ARMV7M:
  ------------------
  |  Branch (520:3): [True: 0, False: 153k]
  ------------------
  521|      0|    return Triple::ARMSubArch_v7m;
  522|      0|  case ARM::AK_ARMV7S:
  ------------------
  |  Branch (522:3): [True: 0, False: 153k]
  ------------------
  523|      0|    return Triple::ARMSubArch_v7s;
  524|      0|  case ARM::AK_ARMV7EM:
  ------------------
  |  Branch (524:3): [True: 0, False: 153k]
  ------------------
  525|      0|    return Triple::ARMSubArch_v7em;
  526|      0|  case ARM::AK_ARMV8A:
  ------------------
  |  Branch (526:3): [True: 0, False: 153k]
  ------------------
  527|      0|    return Triple::ARMSubArch_v8;
  528|      0|  case ARM::AK_ARMV8_1A:
  ------------------
  |  Branch (528:3): [True: 0, False: 153k]
  ------------------
  529|      0|    return Triple::ARMSubArch_v8_1a;
  530|      0|  case ARM::AK_ARMV8_2A:
  ------------------
  |  Branch (530:3): [True: 0, False: 153k]
  ------------------
  531|      0|    return Triple::ARMSubArch_v8_2a;
  532|      0|  case ARM::AK_ARMV8MBaseline:
  ------------------
  |  Branch (532:3): [True: 0, False: 153k]
  ------------------
  533|      0|    return Triple::ARMSubArch_v8m_baseline;
  534|      0|  case ARM::AK_ARMV8MMainline:
  ------------------
  |  Branch (534:3): [True: 0, False: 153k]
  ------------------
  535|      0|    return Triple::ARMSubArch_v8m_mainline;
  536|   153k|  default:
  ------------------
  |  Branch (536:3): [True: 153k, False: 0]
  ------------------
  537|   153k|    return Triple::NoSubArch;
  538|   153k|  }
  539|   153k|}
Triple.cpp:_ZL11parseVendorN7llvm_ks9StringRefE:
  405|   204k|static Triple::VendorType parseVendor(StringRef VendorName) {
  406|   204k|  return StringSwitch<Triple::VendorType>(VendorName)
  407|   204k|    .Case("apple", Triple::Apple)
  408|   204k|    .Case("pc", Triple::PC)
  409|   204k|    .Case("scei", Triple::SCEI)
  410|   204k|    .Case("bgp", Triple::BGP)
  411|   204k|    .Case("bgq", Triple::BGQ)
  412|   204k|    .Case("fsl", Triple::Freescale)
  413|   204k|    .Case("ibm", Triple::IBM)
  414|   204k|    .Case("img", Triple::ImaginationTechnologies)
  415|   204k|    .Case("mti", Triple::MipsTechnologies)
  416|   204k|    .Case("nvidia", Triple::NVIDIA)
  417|   204k|    .Case("csr", Triple::CSR)
  418|   204k|    .Case("myriad", Triple::Myriad)
  419|   204k|    .Default(Triple::UnknownVendor);
  420|   204k|}
Triple.cpp:_ZL7parseOSN7llvm_ks9StringRefE:
  422|   204k|static Triple::OSType parseOS(StringRef OSName) {
  423|   204k|  return StringSwitch<Triple::OSType>(OSName)
  424|   204k|    .StartsWith("cloudabi", Triple::CloudABI)
  425|   204k|    .StartsWith("darwin", Triple::Darwin)
  426|   204k|    .StartsWith("dragonfly", Triple::DragonFly)
  427|   204k|    .StartsWith("freebsd", Triple::FreeBSD)
  428|   204k|    .StartsWith("ios", Triple::IOS)
  429|   204k|    .StartsWith("kfreebsd", Triple::KFreeBSD)
  430|   204k|    .StartsWith("linux", Triple::Linux)
  431|   204k|    .StartsWith("lv2", Triple::Lv2)
  432|   204k|    .StartsWith("macosx", Triple::MacOSX)
  433|   204k|    .StartsWith("netbsd", Triple::NetBSD)
  434|   204k|    .StartsWith("openbsd", Triple::OpenBSD)
  435|   204k|    .StartsWith("solaris", Triple::Solaris)
  436|   204k|    .StartsWith("win32", Triple::Win32)
  437|   204k|    .StartsWith("windows", Triple::Win32)
  438|   204k|    .StartsWith("haiku", Triple::Haiku)
  439|   204k|    .StartsWith("minix", Triple::Minix)
  440|   204k|    .StartsWith("rtems", Triple::RTEMS)
  441|   204k|    .StartsWith("nacl", Triple::NaCl)
  442|   204k|    .StartsWith("cnk", Triple::CNK)
  443|   204k|    .StartsWith("bitrig", Triple::Bitrig)
  444|   204k|    .StartsWith("aix", Triple::AIX)
  445|   204k|    .StartsWith("cuda", Triple::CUDA)
  446|   204k|    .StartsWith("nvcl", Triple::NVCL)
  447|   204k|    .StartsWith("amdhsa", Triple::AMDHSA)
  448|   204k|    .StartsWith("ps4", Triple::PS4)
  449|   204k|    .StartsWith("elfiamcu", Triple::ELFIAMCU)
  450|   204k|    .StartsWith("tvos", Triple::TvOS)
  451|   204k|    .StartsWith("watchos", Triple::WatchOS)
  452|   204k|    .Default(Triple::UnknownOS);
  453|   204k|}
Triple.cpp:_ZL16parseEnvironmentN7llvm_ks9StringRefE:
  455|   170k|static Triple::EnvironmentType parseEnvironment(StringRef EnvironmentName) {
  456|   170k|  return StringSwitch<Triple::EnvironmentType>(EnvironmentName)
  457|   170k|    .StartsWith("eabihf", Triple::EABIHF)
  458|   170k|    .StartsWith("eabi", Triple::EABI)
  459|   170k|    .StartsWith("gnueabihf", Triple::GNUEABIHF)
  460|   170k|    .StartsWith("gnueabi", Triple::GNUEABI)
  461|   170k|    .StartsWith("gnux32", Triple::GNUX32)
  462|   170k|    .StartsWith("code16", Triple::CODE16)
  463|   170k|    .StartsWith("gnu", Triple::GNU)
  464|   170k|    .StartsWith("android", Triple::Android)
  465|   170k|    .StartsWith("msvc", Triple::MSVC)
  466|   170k|    .StartsWith("itanium", Triple::Itanium)
  467|   170k|    .StartsWith("cygnus", Triple::Cygnus)
  468|   170k|    .StartsWith("amdopencl", Triple::AMDOpenCL)
  469|   170k|    .StartsWith("coreclr", Triple::CoreCLR)
  470|   170k|    .Default(Triple::UnknownEnvironment);
  471|   170k|}
Triple.cpp:_ZL11parseFormatN7llvm_ks9StringRefE:
  473|   153k|static Triple::ObjectFormatType parseFormat(StringRef EnvironmentName) {
  474|   153k|  return StringSwitch<Triple::ObjectFormatType>(EnvironmentName)
  475|   153k|    .EndsWith("coff", Triple::COFF)
  476|   153k|    .EndsWith("elf", Triple::ELF)
  477|   153k|    .EndsWith("macho", Triple::MachO)
  478|   153k|    .Default(Triple::UnknownObjectFormat);
  479|   153k|}
Triple.cpp:_ZL16getDefaultFormatRKN7llvm_ks6TripleE:
  551|   153k|static Triple::ObjectFormatType getDefaultFormat(const Triple &T) {
  552|   153k|  switch (T.getArch()) {
  ------------------
  |  Branch (552:11): [True: 153k, False: 0]
  ------------------
  553|      0|  case Triple::UnknownArch:
  ------------------
  |  Branch (553:3): [True: 0, False: 153k]
  ------------------
  554|      0|  case Triple::aarch64:
  ------------------
  |  Branch (554:3): [True: 0, False: 153k]
  ------------------
  555|      0|  case Triple::arm:
  ------------------
  |  Branch (555:3): [True: 0, False: 153k]
  ------------------
  556|      0|  case Triple::thumb:
  ------------------
  |  Branch (556:3): [True: 0, False: 153k]
  ------------------
  557|   153k|  case Triple::x86:
  ------------------
  |  Branch (557:3): [True: 153k, False: 0]
  ------------------
  558|   153k|  case Triple::x86_64:
  ------------------
  |  Branch (558:3): [True: 0, False: 153k]
  ------------------
  559|   153k|    if (T.isOSDarwin())
  ------------------
  |  Branch (559:9): [True: 0, False: 153k]
  ------------------
  560|      0|      return Triple::MachO;
  561|   153k|    else if (T.isOSWindows())
  ------------------
  |  Branch (561:14): [True: 0, False: 153k]
  ------------------
  562|      0|      return Triple::COFF;
  563|   153k|    return Triple::ELF;
  564|       |
  565|      0|  case Triple::aarch64_be:
  ------------------
  |  Branch (565:3): [True: 0, False: 153k]
  ------------------
  566|      0|  case Triple::amdgcn:
  ------------------
  |  Branch (566:3): [True: 0, False: 153k]
  ------------------
  567|      0|  case Triple::amdil:
  ------------------
  |  Branch (567:3): [True: 0, False: 153k]
  ------------------
  568|      0|  case Triple::amdil64:
  ------------------
  |  Branch (568:3): [True: 0, False: 153k]
  ------------------
  569|      0|  case Triple::armeb:
  ------------------
  |  Branch (569:3): [True: 0, False: 153k]
  ------------------
  570|      0|  case Triple::avr:
  ------------------
  |  Branch (570:3): [True: 0, False: 153k]
  ------------------
  571|      0|  case Triple::bpfeb:
  ------------------
  |  Branch (571:3): [True: 0, False: 153k]
  ------------------
  572|      0|  case Triple::bpfel:
  ------------------
  |  Branch (572:3): [True: 0, False: 153k]
  ------------------
  573|      0|  case Triple::hexagon:
  ------------------
  |  Branch (573:3): [True: 0, False: 153k]
  ------------------
  574|      0|  case Triple::hsail:
  ------------------
  |  Branch (574:3): [True: 0, False: 153k]
  ------------------
  575|      0|  case Triple::hsail64:
  ------------------
  |  Branch (575:3): [True: 0, False: 153k]
  ------------------
  576|      0|  case Triple::kalimba:
  ------------------
  |  Branch (576:3): [True: 0, False: 153k]
  ------------------
  577|      0|  case Triple::le32:
  ------------------
  |  Branch (577:3): [True: 0, False: 153k]
  ------------------
  578|      0|  case Triple::le64:
  ------------------
  |  Branch (578:3): [True: 0, False: 153k]
  ------------------
  579|      0|  case Triple::mips:
  ------------------
  |  Branch (579:3): [True: 0, False: 153k]
  ------------------
  580|      0|  case Triple::mips64:
  ------------------
  |  Branch (580:3): [True: 0, False: 153k]
  ------------------
  581|      0|  case Triple::mips64el:
  ------------------
  |  Branch (581:3): [True: 0, False: 153k]
  ------------------
  582|      0|  case Triple::mipsel:
  ------------------
  |  Branch (582:3): [True: 0, False: 153k]
  ------------------
  583|      0|  case Triple::msp430:
  ------------------
  |  Branch (583:3): [True: 0, False: 153k]
  ------------------
  584|      0|  case Triple::nvptx:
  ------------------
  |  Branch (584:3): [True: 0, False: 153k]
  ------------------
  585|      0|  case Triple::nvptx64:
  ------------------
  |  Branch (585:3): [True: 0, False: 153k]
  ------------------
  586|      0|  case Triple::ppc64le:
  ------------------
  |  Branch (586:3): [True: 0, False: 153k]
  ------------------
  587|      0|  case Triple::r600:
  ------------------
  |  Branch (587:3): [True: 0, False: 153k]
  ------------------
  588|      0|  case Triple::riscv32:
  ------------------
  |  Branch (588:3): [True: 0, False: 153k]
  ------------------
  589|      0|  case Triple::riscv64:
  ------------------
  |  Branch (589:3): [True: 0, False: 153k]
  ------------------
  590|      0|  case Triple::shave:
  ------------------
  |  Branch (590:3): [True: 0, False: 153k]
  ------------------
  591|      0|  case Triple::sparc:
  ------------------
  |  Branch (591:3): [True: 0, False: 153k]
  ------------------
  592|      0|  case Triple::sparcel:
  ------------------
  |  Branch (592:3): [True: 0, False: 153k]
  ------------------
  593|      0|  case Triple::sparcv9:
  ------------------
  |  Branch (593:3): [True: 0, False: 153k]
  ------------------
  594|      0|  case Triple::spir:
  ------------------
  |  Branch (594:3): [True: 0, False: 153k]
  ------------------
  595|      0|  case Triple::spir64:
  ------------------
  |  Branch (595:3): [True: 0, False: 153k]
  ------------------
  596|      0|  case Triple::systemz:
  ------------------
  |  Branch (596:3): [True: 0, False: 153k]
  ------------------
  597|      0|  case Triple::tce:
  ------------------
  |  Branch (597:3): [True: 0, False: 153k]
  ------------------
  598|      0|  case Triple::thumbeb:
  ------------------
  |  Branch (598:3): [True: 0, False: 153k]
  ------------------
  599|      0|  case Triple::wasm32:
  ------------------
  |  Branch (599:3): [True: 0, False: 153k]
  ------------------
  600|      0|  case Triple::wasm64:
  ------------------
  |  Branch (600:3): [True: 0, False: 153k]
  ------------------
  601|      0|  case Triple::xcore:
  ------------------
  |  Branch (601:3): [True: 0, False: 153k]
  ------------------
  602|      0|    return Triple::ELF;
  603|       |
  604|      0|  case Triple::ppc:
  ------------------
  |  Branch (604:3): [True: 0, False: 153k]
  ------------------
  605|      0|  case Triple::ppc64:
  ------------------
  |  Branch (605:3): [True: 0, False: 153k]
  ------------------
  606|      0|    if (T.isOSDarwin())
  ------------------
  |  Branch (606:9): [True: 0, False: 0]
  ------------------
  607|      0|      return Triple::MachO;
  608|      0|    return Triple::ELF;
  609|   153k|  }
  610|      0|  llvm_unreachable("unknown architecture");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  611|   153k|}

_ZNK7llvm_ks5Twine3strEv:
   16|   218k|std::string Twine::str() const {
   17|       |  // If we're storing only a std::string, just return it.
   18|   218k|  if (LHSKind == StdStringKind && RHSKind == EmptyKind)
  ------------------
  |  Branch (18:7): [True: 85.2k, False: 133k]
  |  Branch (18:35): [True: 85.2k, False: 0]
  ------------------
   19|  85.2k|    return *LHS.stdString;
   20|       |
   21|       |  // Otherwise, flatten and copy the contents first.
   22|   133k|  SmallString<256> Vec;
   23|   133k|  return toStringRef(Vec).str();
   24|   218k|}
_ZNK7llvm_ks5Twine8toVectorERNS_15SmallVectorImplIcEE:
   26|  5.49k|void Twine::toVector(SmallVectorImpl<char> &Out) const {
   27|  5.49k|  raw_svector_ostream OS(Out);
   28|  5.49k|  print(OS);
   29|  5.49k|}
_ZNK7llvm_ks5Twine25toNullTerminatedStringRefERNS_15SmallVectorImplIcEE:
   31|  34.0k|StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const {
   32|  34.0k|  if (isUnary()) {
  ------------------
  |  Branch (32:7): [True: 34.0k, False: 0]
  ------------------
   33|  34.0k|    switch (getLHSKind()) {
   34|  34.0k|    case CStringKind:
  ------------------
  |  Branch (34:5): [True: 34.0k, False: 7]
  ------------------
   35|       |      // Already null terminated, yay!
   36|  34.0k|      return StringRef(LHS.cString);
   37|      7|    case StdStringKind: {
  ------------------
  |  Branch (37:5): [True: 7, False: 34.0k]
  ------------------
   38|      7|      const std::string *str = LHS.stdString;
   39|      7|      return StringRef(str->c_str(), str->size());
   40|      0|    }
   41|      0|    default:
  ------------------
  |  Branch (41:5): [True: 0, False: 34.0k]
  ------------------
   42|      0|      break;
   43|  34.0k|    }
   44|  34.0k|  }
   45|      0|  toVector(Out);
   46|      0|  Out.push_back(0);
   47|      0|  Out.pop_back();
   48|      0|  return StringRef(Out.data(), Out.size());
   49|  34.0k|}
_ZNK7llvm_ks5Twine13printOneChildERNS_11raw_ostreamENS0_5ChildENS0_8NodeKindE:
   52|   462k|                          NodeKind Kind) const {
   53|   462k|  switch (Kind) {
  ------------------
  |  Branch (53:11): [True: 462k, False: 0]
  ------------------
   54|      0|  case Twine::NullKind: break;
  ------------------
  |  Branch (54:3): [True: 0, False: 462k]
  ------------------
   55|   220k|  case Twine::EmptyKind: break;
  ------------------
  |  Branch (55:3): [True: 220k, False: 242k]
  ------------------
   56|  5.49k|  case Twine::TwineKind:
  ------------------
  |  Branch (56:3): [True: 5.49k, False: 457k]
  ------------------
   57|  5.49k|    Ptr.twine->print(OS);
   58|  5.49k|    break;
   59|   231k|  case Twine::CStringKind:
  ------------------
  |  Branch (59:3): [True: 231k, False: 231k]
  ------------------
   60|   231k|    OS << Ptr.cString;
   61|   231k|    break;
   62|      0|  case Twine::StdStringKind:
  ------------------
  |  Branch (62:3): [True: 0, False: 462k]
  ------------------
   63|      0|    OS << *Ptr.stdString;
   64|      0|    break;
   65|  5.49k|  case Twine::StringRefKind:
  ------------------
  |  Branch (65:3): [True: 5.49k, False: 457k]
  ------------------
   66|  5.49k|    OS << *Ptr.stringRef;
   67|  5.49k|    break;
   68|      0|  case Twine::SmallStringKind:
  ------------------
  |  Branch (68:3): [True: 0, False: 462k]
  ------------------
   69|      0|    OS << *Ptr.smallString;
   70|      0|    break;
   71|      0|  case Twine::CharKind:
  ------------------
  |  Branch (71:3): [True: 0, False: 462k]
  ------------------
   72|      0|    OS << Ptr.character;
   73|      0|    break;
   74|      0|  case Twine::DecUIKind:
  ------------------
  |  Branch (74:3): [True: 0, False: 462k]
  ------------------
   75|      0|    OS << Ptr.decUI;
   76|      0|    break;
   77|      0|  case Twine::DecIKind:
  ------------------
  |  Branch (77:3): [True: 0, False: 462k]
  ------------------
   78|      0|    OS << Ptr.decI;
   79|      0|    break;
   80|      0|  case Twine::DecULKind:
  ------------------
  |  Branch (80:3): [True: 0, False: 462k]
  ------------------
   81|      0|    OS << *Ptr.decUL;
   82|      0|    break;
   83|      0|  case Twine::DecLKind:
  ------------------
  |  Branch (83:3): [True: 0, False: 462k]
  ------------------
   84|      0|    OS << *Ptr.decL;
   85|      0|    break;
   86|      0|  case Twine::DecULLKind:
  ------------------
  |  Branch (86:3): [True: 0, False: 462k]
  ------------------
   87|      0|    OS << *Ptr.decULL;
   88|      0|    break;
   89|      0|  case Twine::DecLLKind:
  ------------------
  |  Branch (89:3): [True: 0, False: 462k]
  ------------------
   90|      0|    OS << *Ptr.decLL;
   91|      0|    break;
   92|      0|  case Twine::UHexKind:
  ------------------
  |  Branch (92:3): [True: 0, False: 462k]
  ------------------
   93|      0|    OS.write_hex(*Ptr.uHex);
   94|      0|    break;
   95|   462k|  }
   96|   462k|}
_ZNK7llvm_ks5Twine5printERNS_11raw_ostreamE:
  151|   231k|void Twine::print(raw_ostream &OS) const {
  152|   231k|  printOneChild(OS, LHS, getLHSKind());
  153|   231k|  printOneChild(OS, RHS, getRHSKind());
  154|   231k|}

_ZNK7llvm_ks3sys2fs11file_status11getUniqueIDEv:
  177|  34.0k|UniqueID file_status::getUniqueID() const {
  178|  34.0k|  return UniqueID(fs_st_dev, fs_st_ino);
  179|  34.0k|}
_ZN7llvm_ks3sys2fs12current_pathERNS_15SmallVectorImplIcEE:
  181|  17.0k|std::error_code current_path(SmallVectorImpl<char> &result) {
  182|  17.0k|  result.clear();
  183|       |
  184|  17.0k|  const char *pwd = ::getenv("PWD");
  185|  17.0k|  llvm_ks::sys::fs::file_status PWDStatus, DotStatus;
  186|  17.0k|  if (pwd && llvm_ks::sys::path::is_absolute(pwd) &&
  ------------------
  |  Branch (186:7): [True: 17.0k, False: 0]
  |  Branch (186:7): [True: 17.0k, False: 0]
  |  Branch (186:14): [True: 17.0k, False: 0]
  ------------------
  187|  17.0k|      !llvm_ks::sys::fs::status(pwd, PWDStatus) &&
  ------------------
  |  Branch (187:7): [True: 17.0k, False: 0]
  ------------------
  188|  17.0k|      !llvm_ks::sys::fs::status(".", DotStatus) &&
  ------------------
  |  Branch (188:7): [True: 17.0k, False: 0]
  ------------------
  189|  17.0k|      PWDStatus.getUniqueID() == DotStatus.getUniqueID()) {
  ------------------
  |  Branch (189:7): [True: 17.0k, False: 0]
  ------------------
  190|  17.0k|    result.append(pwd, pwd + strlen(pwd));
  191|  17.0k|    return std::error_code();
  192|  17.0k|  }
  193|       |
  194|      0|#ifdef MAXPATHLEN
  195|      0|  result.reserve(MAXPATHLEN);
  196|       |#else
  197|       |// For GNU Hurd
  198|       |  result.reserve(1024);
  199|       |#endif
  200|       |
  201|      0|  while (true) {
  ------------------
  |  Branch (201:10): [True: 0, Folded]
  ------------------
  202|      0|    if (::getcwd(result.data(), result.capacity()) == nullptr) {
  ------------------
  |  Branch (202:9): [True: 0, False: 0]
  ------------------
  203|       |      // See if there was a real error.
  204|      0|      if (errno != ENOMEM)
  ------------------
  |  Branch (204:11): [True: 0, False: 0]
  ------------------
  205|      0|        return std::error_code(errno, std::generic_category());
  206|       |      // Otherwise there just wasn't enough space.
  207|      0|      result.reserve(result.capacity() * 2);
  208|      0|    } else
  209|      0|      break;
  210|      0|  }
  211|       |
  212|      0|  result.set_size(strlen(result.data()));
  213|      0|  return std::error_code();
  214|      0|}
_ZN7llvm_ks3sys2fs6statusERKNS_5TwineERNS1_11file_statusE:
  376|  34.0k|std::error_code status(const Twine &Path, file_status &Result) {
  377|  34.0k|  SmallString<128> PathStorage;
  378|  34.0k|  StringRef P = Path.toNullTerminatedStringRef(PathStorage);
  379|       |
  380|  34.0k|  struct stat Status;
  381|  34.0k|  int StatRet = ::stat(P.begin(), &Status);
  382|  34.0k|  return fillStatus(StatRet, Status, Result);
  383|  34.0k|}
_ZN7llvm_ks3sys2fs6statusEiRNS1_11file_statusE:
  385|      1|std::error_code status(int FD, file_status &Result) {
  386|      1|  struct stat Status;
  387|      1|  int StatRet = ::fstat(FD, &Status);
  388|      1|  return fillStatus(StatRet, Status, Result);
  389|      1|}
_ZN7llvm_ks3sys2fs15openFileForReadERKNS_5TwineERi:
  480|      7|std::error_code openFileForRead(const Twine &Name, int &ResultFD) {
  481|      7|  SmallString<128> Storage;
  482|      7|  StringRef P = Name.toNullTerminatedStringRef(Storage);
  483|      7|  while ((ResultFD = open(P.begin(), O_RDONLY)) < 0) {
  ------------------
  |  Branch (483:10): [True: 6, False: 1]
  ------------------
  484|      6|    if (errno != EINTR)
  ------------------
  |  Branch (484:9): [True: 6, False: 0]
  ------------------
  485|      6|      return std::error_code(errno, std::generic_category());
  486|      6|  }
  487|      1|  return std::error_code();
  488|      7|}
Path.cpp:_ZN7llvm_ks3sys2fsL10fillStatusEiRK4statRNS1_11file_statusE:
  343|  34.0k|                             file_status &Result) {
  344|  34.0k|  if (StatRet != 0) {
  ------------------
  |  Branch (344:7): [True: 0, False: 34.0k]
  ------------------
  345|      0|    std::error_code ec(errno, std::generic_category());
  346|      0|    if (ec == errc::no_such_file_or_directory)
  ------------------
  |  Branch (346:9): [True: 0, False: 0]
  ------------------
  347|      0|      Result = file_status(file_type::file_not_found);
  348|      0|    else
  349|      0|      Result = file_status(file_type::status_error);
  350|      0|    return ec;
  351|      0|  }
  352|       |
  353|  34.0k|  file_type Type = file_type::type_unknown;
  354|       |
  355|  34.0k|  if (S_ISDIR(Status.st_mode))
  ------------------
  |  Branch (355:7): [True: 34.0k, False: 0]
  ------------------
  356|  34.0k|    Type = file_type::directory_file;
  357|      0|  else if (S_ISREG(Status.st_mode))
  ------------------
  |  Branch (357:12): [True: 0, False: 0]
  ------------------
  358|      0|    Type = file_type::regular_file;
  359|      0|  else if (S_ISBLK(Status.st_mode))
  ------------------
  |  Branch (359:12): [True: 0, False: 0]
  ------------------
  360|      0|    Type = file_type::block_file;
  361|      0|  else if (S_ISCHR(Status.st_mode))
  ------------------
  |  Branch (361:12): [True: 0, False: 0]
  ------------------
  362|      0|    Type = file_type::character_file;
  363|      0|  else if (S_ISFIFO(Status.st_mode))
  ------------------
  |  Branch (363:12): [True: 0, False: 0]
  ------------------
  364|      0|    Type = file_type::fifo_file;
  365|      0|  else if (S_ISSOCK(Status.st_mode))
  ------------------
  |  Branch (365:12): [True: 0, False: 0]
  ------------------
  366|      0|    Type = file_type::socket_file;
  367|       |
  368|  34.0k|  perms Perms = static_cast<perms>(Status.st_mode);
  369|  34.0k|  Result =
  370|  34.0k|      file_status(Type, Perms, Status.st_dev, Status.st_ino, Status.st_mtime,
  371|  34.0k|                  Status.st_uid, Status.st_gid, Status.st_size);
  372|       |
  373|  34.0k|  return std::error_code();
  374|  34.0k|}

_ZN7llvm_ks11raw_ostreamD2Ev:
   64|   346k|raw_ostream::~raw_ostream() {
   65|       |  // raw_ostream's subclasses should take care to flush the buffer
   66|       |  // in their destructors.
   67|   346k|  assert(OutBufCur == OutBufStart &&
  ------------------
  |  Branch (67:3): [True: 346k, False: 0]
  |  Branch (67:3): [True: 346k, Folded]
  |  Branch (67:3): [True: 346k, False: 0]
  ------------------
   68|   346k|         "raw_ostream destructor called with non-empty buffer!");
   69|       |
   70|   346k|  if (BufferMode == InternalBuffer)
  ------------------
  |  Branch (70:7): [True: 0, False: 346k]
  ------------------
   71|      0|    delete [] OutBufStart;
   72|   346k|}
_ZN7llvm_ks11raw_ostream16SetBufferAndModeEPcmNS0_10BufferKindE:
   92|   346k|                                   BufferKind Mode) {
   93|   346k|  assert(((Mode == Unbuffered && !BufferStart && Size == 0) ||
  ------------------
  |  Branch (93:3): [True: 346k, False: 0]
  |  Branch (93:3): [True: 346k, False: 0]
  |  Branch (93:3): [True: 346k, False: 0]
  |  Branch (93:3): [True: 0, False: 0]
  |  Branch (93:3): [True: 0, False: 0]
  |  Branch (93:3): [True: 0, False: 0]
  |  Branch (93:3): [True: 346k, Folded]
  |  Branch (93:3): [True: 346k, False: 0]
  ------------------
   94|   346k|          (Mode != Unbuffered && BufferStart && Size != 0)) &&
   95|   346k|         "stream must be unbuffered or have at least one byte");
   96|       |  // Make sure the current buffer is free of content (we can't flush here; the
   97|       |  // child buffer management logic will be in write_impl).
   98|   346k|  assert(GetNumBytesInBuffer() == 0 && "Current buffer is non-empty!");
  ------------------
  |  Branch (98:3): [True: 346k, False: 0]
  |  Branch (98:3): [True: 346k, Folded]
  |  Branch (98:3): [True: 346k, False: 0]
  ------------------
   99|       |
  100|   346k|  if (BufferMode == InternalBuffer)
  ------------------
  |  Branch (100:7): [True: 346k, False: 0]
  ------------------
  101|   346k|    delete [] OutBufStart;
  102|   346k|  OutBufStart = BufferStart;
  103|   346k|  OutBufEnd = OutBufStart+Size;
  104|   346k|  OutBufCur = OutBufStart;
  105|   346k|  BufferMode = Mode;
  106|       |
  107|       |  assert(OutBufStart <= OutBufEnd && "Invalid size!");
  ------------------
  |  Branch (107:3): [True: 346k, False: 0]
  |  Branch (107:3): [True: 346k, Folded]
  |  Branch (107:3): [True: 346k, False: 0]
  ------------------
  108|   346k|}
_ZN7llvm_ks11raw_ostreamlsEm:
  110|   146k|raw_ostream &raw_ostream::operator<<(unsigned long N) {
  111|       |  // Zero is a special case.
  112|   146k|  if (N == 0)
  ------------------
  |  Branch (112:7): [True: 2.18k, False: 144k]
  ------------------
  113|  2.18k|    return *this << '0';
  114|       |
  115|   144k|  char NumberBuffer[20];
  116|   144k|  char *EndPtr = NumberBuffer+sizeof(NumberBuffer);
  117|   144k|  char *CurPtr = EndPtr;
  118|       |
  119|   445k|  while (N) {
  ------------------
  |  Branch (119:10): [True: 301k, False: 144k]
  ------------------
  120|   301k|    *--CurPtr = '0' + char(N % 10);
  121|   301k|    N /= 10;
  122|   301k|  }
  123|   144k|  return write(CurPtr, EndPtr-CurPtr);
  124|   146k|}
_ZN7llvm_ks11raw_ostreamlsEl:
  126|  94.9k|raw_ostream &raw_ostream::operator<<(long N) {
  127|  94.9k|  if (N <  0) {
  ------------------
  |  Branch (127:7): [True: 106, False: 94.8k]
  ------------------
  128|    106|    *this << '-';
  129|       |    // Avoid undefined behavior on LONG_MIN with a cast.
  130|    106|    N = -(unsigned long)N;
  131|    106|  }
  132|       |
  133|  94.9k|  return this->operator<<(static_cast<unsigned long>(N));
  134|  94.9k|}
_ZN7llvm_ks11raw_ostream5writeEh:
  278|  79.2M|raw_ostream &raw_ostream::write(unsigned char C) {
  279|       |  // Group exceptional cases into a single branch.
  280|  79.2M|  if (LLVM_UNLIKELY(OutBufCur >= OutBufEnd)) {
  ------------------
  |  |  171|  79.2M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 79.2M, False: 0]
  |  |  ------------------
  ------------------
  281|  79.2M|    if (LLVM_UNLIKELY(!OutBufStart)) {
  ------------------
  |  |  171|  79.2M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 79.2M, False: 0]
  |  |  ------------------
  ------------------
  282|  79.2M|      if (BufferMode == Unbuffered) {
  ------------------
  |  Branch (282:11): [True: 79.2M, False: 0]
  ------------------
  283|  79.2M|        write_impl(reinterpret_cast<char*>(&C), 1);
  284|  79.2M|        return *this;
  285|  79.2M|      }
  286|       |      // Set up a buffer and start over.
  287|      0|      SetBuffered();
  288|      0|      return write(C);
  289|  79.2M|    }
  290|       |
  291|      0|    flush_nonempty();
  292|      0|  }
  293|       |
  294|      0|  *OutBufCur++ = C;
  295|      0|  return *this;
  296|  79.2M|}
_ZN7llvm_ks11raw_ostream5writeEPKcm:
  298|  9.44M|raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) {
  299|       |  // Group exceptional cases into a single branch.
  300|  9.44M|  if (LLVM_UNLIKELY(size_t(OutBufEnd - OutBufCur) < Size)) {
  ------------------
  |  |  171|  9.44M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 9.44M, False: 18]
  |  |  ------------------
  ------------------
  301|  9.44M|    if (LLVM_UNLIKELY(!OutBufStart)) {
  ------------------
  |  |  171|  9.44M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 9.44M, False: 0]
  |  |  ------------------
  ------------------
  302|  9.44M|      if (BufferMode == Unbuffered) {
  ------------------
  |  Branch (302:11): [True: 9.44M, False: 0]
  ------------------
  303|  9.44M|        write_impl(Ptr, Size);
  304|  9.44M|        return *this;
  305|  9.44M|      }
  306|       |      // Set up a buffer and start over.
  307|      0|      SetBuffered();
  308|      0|      return write(Ptr, Size);
  309|  9.44M|    }
  310|       |
  311|      0|    size_t NumBytes = OutBufEnd - OutBufCur;
  312|       |
  313|       |    // If the buffer is empty at this point we have a string that is larger
  314|       |    // than the buffer. Directly write the chunk that is a multiple of the
  315|       |    // preferred buffer size and put the remainder in the buffer.
  316|      0|    if (LLVM_UNLIKELY(OutBufCur == OutBufStart)) {
  ------------------
  |  |  171|      0|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 0]
  |  |  ------------------
  ------------------
  317|      0|      assert(NumBytes != 0 && "undefined behavior");
  ------------------
  |  Branch (317:7): [True: 0, False: 0]
  |  Branch (317:7): [True: 0, Folded]
  |  Branch (317:7): [True: 0, False: 0]
  ------------------
  318|      0|      size_t BytesToWrite = Size - (Size % NumBytes);
  319|      0|      write_impl(Ptr, BytesToWrite);
  320|      0|      size_t BytesRemaining = Size - BytesToWrite;
  321|      0|      if (BytesRemaining > size_t(OutBufEnd - OutBufCur)) {
  ------------------
  |  Branch (321:11): [True: 0, False: 0]
  ------------------
  322|       |        // Too much left over to copy into our buffer.
  323|      0|        return write(Ptr + BytesToWrite, BytesRemaining);
  324|      0|      }
  325|      0|      copy_to_buffer(Ptr + BytesToWrite, BytesRemaining);
  326|      0|      return *this;
  327|      0|    }
  328|       |
  329|       |    // We don't have enough space in the buffer to fit the string in. Insert as
  330|       |    // much as possible, flush and start over with the remainder.
  331|      0|    copy_to_buffer(Ptr, NumBytes);
  332|      0|    flush_nonempty();
  333|      0|    return write(Ptr + NumBytes, Size - NumBytes);
  334|      0|  }
  335|       |
  336|     18|  copy_to_buffer(Ptr, Size);
  337|       |
  338|     18|  return *this;
  339|  9.44M|}
_ZN7llvm_ks11raw_ostream14copy_to_bufferEPKcm:
  341|     18|void raw_ostream::copy_to_buffer(const char *Ptr, size_t Size) {
  342|     18|  assert(Size <= size_t(OutBufEnd - OutBufCur) && "Buffer overrun!");
  ------------------
  |  Branch (342:3): [True: 18, False: 0]
  |  Branch (342:3): [True: 18, Folded]
  |  Branch (342:3): [True: 18, False: 0]
  ------------------
  343|       |
  344|       |  // Handle short strings specially, memcpy isn't very good at very short
  345|       |  // strings.
  346|     18|  switch (Size) {
  347|      0|  case 4: OutBufCur[3] = Ptr[3]; // FALL THROUGH
  ------------------
  |  Branch (347:3): [True: 0, False: 18]
  ------------------
  348|      0|  case 3: OutBufCur[2] = Ptr[2]; // FALL THROUGH
  ------------------
  |  Branch (348:3): [True: 0, False: 18]
  ------------------
  349|      0|  case 2: OutBufCur[1] = Ptr[1]; // FALL THROUGH
  ------------------
  |  Branch (349:3): [True: 0, False: 18]
  ------------------
  350|      0|  case 1: OutBufCur[0] = Ptr[0]; // FALL THROUGH
  ------------------
  |  Branch (350:3): [True: 0, False: 18]
  ------------------
  351|     18|  case 0: break;
  ------------------
  |  Branch (351:3): [True: 18, False: 0]
  ------------------
  352|      0|  default:
  ------------------
  |  Branch (352:3): [True: 0, False: 18]
  ------------------
  353|      0|    memcpy(OutBufCur, Ptr, Size);
  354|      0|    break;
  355|     18|  }
  356|       |
  357|     18|  OutBufCur += Size;
  358|     18|}
_ZN7llvm_ks14raw_fd_ostreamC2Eibb:
  517|      1|    : raw_pwrite_stream(unbuffered), FD(fd), ShouldClose(shouldClose),
  518|      1|      Error(false) {
  519|      1|  if (FD < 0 ) {
  ------------------
  |  Branch (519:7): [True: 0, False: 1]
  ------------------
  520|      0|    ShouldClose = false;
  521|      0|    return;
  522|      0|  }
  523|       |
  524|       |  // Get the starting position.
  525|      1|  off_t loc = ::lseek(FD, 0, SEEK_CUR);
  526|       |#ifdef LLVM_ON_WIN32
  527|       |  // MSVCRT's _lseek(SEEK_CUR) doesn't return -1 for pipes.
  528|       |  sys::fs::file_status Status;
  529|       |  std::error_code EC = status(FD, Status);
  530|       |  SupportsSeeking = !EC && Status.type() == sys::fs::file_type::regular_file;
  531|       |#else
  532|      1|  SupportsSeeking = loc != (off_t)-1;
  533|      1|#endif
  534|      1|  if (!SupportsSeeking)
  ------------------
  |  Branch (534:7): [True: 0, False: 1]
  ------------------
  535|      0|    pos = 0;
  536|      1|  else
  537|      1|    pos = static_cast<uint64_t>(loc);
  538|      1|}
_ZN7llvm_ks14raw_fd_ostreamD2Ev:
  540|      1|raw_fd_ostream::~raw_fd_ostream() {
  541|      1|  if (FD >= 0) {
  ------------------
  |  Branch (541:7): [True: 1, False: 0]
  ------------------
  542|      1|    flush();
  543|      1|  }
  544|       |
  545|       |#ifdef __MINGW32__
  546|       |  // On mingw, global dtors should not call exit().
  547|       |  // report_fatal_error() invokes exit(). We know report_fatal_error()
  548|       |  // might not write messages to stderr when any errors were detected
  549|       |  // on FD == 2.
  550|       |  if (FD == 2) return;
  551|       |#endif
  552|       |
  553|       |  // If there are any pending errors, report them now. Clients wishing
  554|       |  // to avoid report_fatal_error calls should check for errors with
  555|       |  // has_error() and clear the error flag with clear_error() before
  556|       |  // destructing raw_ostream objects which may have errors.
  557|      1|  if (has_error())
  ------------------
  |  Branch (557:7): [True: 0, False: 1]
  ------------------
  558|      0|    report_fatal_error("IO failure on output stream.", /*GenCrashDiag=*/false);
  559|      1|}
_ZN7llvm_ks14raw_fd_ostream10write_implEPKcm:
  562|  5.12M|void raw_fd_ostream::write_impl(const char *Ptr, size_t Size) {
  563|  5.12M|  assert(FD >= 0 && "File already closed.");
  ------------------
  |  Branch (563:3): [True: 5.12M, False: 0]
  |  Branch (563:3): [True: 5.12M, Folded]
  |  Branch (563:3): [True: 5.12M, False: 0]
  ------------------
  564|  5.12M|  pos += Size;
  565|       |
  566|  5.12M|#ifndef LLVM_ON_WIN32
  567|  5.12M|  bool ShouldWriteInChunks = false;
  568|       |#else
  569|       |  // Writing a large size of output to Windows console returns ENOMEM. It seems
  570|       |  // that, prior to Windows 8, WriteFile() is redirecting to WriteConsole(), and
  571|       |  // the latter has a size limit (66000 bytes or less, depending on heap usage).
  572|       |  bool ShouldWriteInChunks = !!::_isatty(FD) && !RunningWindows8OrGreater();
  573|       |#endif
  574|       |
  575|  5.12M|  do {
  576|  5.12M|    size_t ChunkSize = Size;
  577|  5.12M|    if (ChunkSize > 32767 && ShouldWriteInChunks)
  ------------------
  |  Branch (577:9): [True: 0, False: 5.12M]
  |  Branch (577:30): [True: 0, False: 0]
  ------------------
  578|      0|        ChunkSize = 32767;
  579|       |
  580|  5.12M|    ssize_t ret = ::write(FD, Ptr, ChunkSize);
  581|       |
  582|  5.12M|    if (ret < 0) {
  ------------------
  |  Branch (582:9): [True: 0, False: 5.12M]
  ------------------
  583|       |      // If it's a recoverable error, swallow it and retry the write.
  584|       |      //
  585|       |      // Ideally we wouldn't ever see EAGAIN or EWOULDBLOCK here, since
  586|       |      // raw_ostream isn't designed to do non-blocking I/O. However, some
  587|       |      // programs, such as old versions of bjam, have mistakenly used
  588|       |      // O_NONBLOCK. For compatibility, emulate blocking semantics by
  589|       |      // spinning until the write succeeds. If you don't want spinning,
  590|       |      // don't use O_NONBLOCK file descriptors with raw_ostream.
  591|      0|      if (errno == EINTR || errno == EAGAIN
  ------------------
  |  Branch (591:11): [True: 0, False: 0]
  |  Branch (591:29): [True: 0, False: 0]
  ------------------
  592|      0|#ifdef EWOULDBLOCK
  593|      0|          || errno == EWOULDBLOCK
  ------------------
  |  Branch (593:14): [True: 0, False: 0]
  ------------------
  594|      0|#endif
  595|      0|          )
  596|      0|        continue;
  597|       |
  598|       |      // Otherwise it's a non-recoverable error. Note it and quit.
  599|      0|      error_detected();
  600|      0|      break;
  601|      0|    }
  602|       |
  603|       |    // The write may have written some or all of the data. Update the
  604|       |    // size and buffer pointer to reflect the remainder that needs
  605|       |    // to be written. If there are no bytes left, we're done.
  606|  5.12M|    Ptr += ret;
  607|  5.12M|    Size -= ret;
  608|  5.12M|  } while (Size > 0);
  ------------------
  |  Branch (608:12): [True: 0, False: 5.12M]
  ------------------
  609|  5.12M|}
_ZN7llvm_ks14raw_fd_ostream11changeColorENS_11raw_ostream6ColorsEbb:
  655|   255k|                                         bool bg) {
  656|   255k|  return *this;
  657|   255k|}
_ZN7llvm_ks14raw_fd_ostream10resetColorEv:
  659|   191k|raw_ostream &raw_fd_ostream::resetColor() {
  660|   191k|  return *this;
  661|   191k|}
_ZNK7llvm_ks14raw_fd_ostream10has_colorsEv:
  671|  64.8k|bool raw_fd_ostream::has_colors() const {
  672|  64.8k|  return true;
  673|  64.8k|}
_ZN7llvm_ks4errsEv:
  693|   129k|raw_ostream &llvm_ks::errs() {
  694|       |  // Set standard error to be unbuffered by default.
  695|       |  static raw_fd_ostream S(STDERR_FILENO, false, true);
  696|   129k|  return S;
  697|   129k|}
_ZNK7llvm_ks19raw_svector_ostream11current_posEv:
  722|  80.3k|uint64_t raw_svector_ostream::current_pos() const { return OS.size(); }
_ZN7llvm_ks19raw_svector_ostream10write_implEPKcm:
  724|  83.5M|void raw_svector_ostream::write_impl(const char *Ptr, size_t Size) {
  725|  83.5M|  OS.append(Ptr, Ptr + Size);
  726|  83.5M|}

LLVMInitializeAArch64AsmParser:
 4658|      1|extern "C" void LLVMInitializeAArch64AsmParser() {
 4659|      1|  RegisterMCAsmParser<AArch64AsmParser> X(TheAArch64leTarget);
 4660|      1|  RegisterMCAsmParser<AArch64AsmParser> Y(TheAArch64beTarget);
 4661|      1|  RegisterMCAsmParser<AArch64AsmParser> Z(TheARM64Target);
 4662|      1|}

LLVMInitializeAArch64TargetMC:
   75|      1|extern "C" void LLVMInitializeAArch64TargetMC() {
   76|      1|  for (Target *T :
  ------------------
  |  Branch (76:18): [True: 3, False: 1]
  ------------------
   77|      3|       {&TheAArch64leTarget, &TheAArch64beTarget, &TheARM64Target}) {
   78|       |    // Register the MC asm info.
   79|      3|    RegisterMCAsmInfoFn X(*T, createAArch64MCAsmInfo);
   80|       |
   81|       |    // Register the MC instruction info.
   82|      3|    TargetRegistry::RegisterMCInstrInfo(*T, createAArch64MCInstrInfo);
   83|       |
   84|       |    // Register the MC register info.
   85|      3|    TargetRegistry::RegisterMCRegInfo(*T, createAArch64MCRegisterInfo);
   86|       |
   87|       |    // Register the MC subtarget info.
   88|      3|    TargetRegistry::RegisterMCSubtargetInfo(*T, createAArch64MCSubtargetInfo);
   89|       |
   90|       |    // Register the MC Code Emitter
   91|      3|    TargetRegistry::RegisterMCCodeEmitter(*T, createAArch64MCCodeEmitter);
   92|      3|  }
   93|       |
   94|       |  // Register the asm backend.
   95|      1|  for (Target *T : {&TheAArch64leTarget, &TheARM64Target})
  ------------------
  |  Branch (95:18): [True: 2, False: 1]
  ------------------
   96|      2|    TargetRegistry::RegisterMCAsmBackend(*T, createAArch64leAsmBackend);
   97|      1|  TargetRegistry::RegisterMCAsmBackend(TheAArch64beTarget,
   98|      1|                                       createAArch64beAsmBackend);
   99|      1|}

LLVMInitializeAArch64TargetInfo:
   20|      1|extern "C" void LLVMInitializeAArch64TargetInfo() {
   21|       |  // Now register the "arm64" name for use with "-march". We don't want it to
   22|       |  // take possession of the Triple::aarch64 tag though.
   23|      1|  TargetRegistry::RegisterTarget(TheARM64Target, "arm64",
   24|      1|                                 "ARM64 (little endian)",
   25|      1|                                 [](Triple::ArchType) { return false; });
   26|       |
   27|      1|  RegisterTarget<Triple::aarch64> Z(
   28|      1|      TheAArch64leTarget, "aarch64", "AArch64 (little endian)");
   29|      1|  RegisterTarget<Triple::aarch64_be> W(
   30|      1|      TheAArch64beTarget, "aarch64_be", "AArch64 (big endian)");
   31|       |
   32|      1|}
AArch64TargetInfo.cpp:_ZZ31LLVMInitializeAArch64TargetInfoENK3$_0clEN7llvm_ks6Triple8ArchTypeE:
   25|  17.0k|                                 [](Triple::ArchType) { return false; });

LLVMInitializeARMAsmParser:
10210|      1|extern "C" void LLVMInitializeARMAsmParser() {
10211|      1|  RegisterMCAsmParser<ARMAsmParser> X(TheARMLETarget);
10212|      1|  RegisterMCAsmParser<ARMAsmParser> Y(TheARMBETarget);
10213|      1|  RegisterMCAsmParser<ARMAsmParser> A(TheThumbLETarget);
10214|      1|  RegisterMCAsmParser<ARMAsmParser> B(TheThumbBETarget);
10215|      1|}

LLVMInitializeARMTargetMC:
  199|      1|extern "C" void LLVMInitializeARMTargetMC() {
  200|      1|  for (Target *T : {&TheARMLETarget, &TheARMBETarget, &TheThumbLETarget,
  ------------------
  |  Branch (200:18): [True: 4, False: 1]
  ------------------
  201|      4|                    &TheThumbBETarget}) {
  202|       |    // Register the MC asm info.
  203|      4|    RegisterMCAsmInfoFn X(*T, createARMMCAsmInfo);
  204|       |
  205|       |    // Register the MC instruction info.
  206|      4|    TargetRegistry::RegisterMCInstrInfo(*T, createARMMCInstrInfo);
  207|       |
  208|       |    // Register the MC register info.
  209|      4|    TargetRegistry::RegisterMCRegInfo(*T, createARMMCRegisterInfo);
  210|       |
  211|       |    // Register the MC subtarget info.
  212|      4|    TargetRegistry::RegisterMCSubtargetInfo(*T,
  213|      4|                                            ARM_MC::createARMMCSubtargetInfo);
  214|      4|  }
  215|       |
  216|       |  // Register the MC Code Emitter
  217|      1|  for (Target *T : {&TheARMLETarget, &TheThumbLETarget})
  ------------------
  |  Branch (217:18): [True: 2, False: 1]
  ------------------
  218|      2|    TargetRegistry::RegisterMCCodeEmitter(*T, createARMLEMCCodeEmitter);
  219|      1|  for (Target *T : {&TheARMBETarget, &TheThumbBETarget})
  ------------------
  |  Branch (219:18): [True: 2, False: 1]
  ------------------
  220|      2|    TargetRegistry::RegisterMCCodeEmitter(*T, createARMBEMCCodeEmitter);
  221|       |
  222|       |  // Register the asm backend.
  223|      1|  TargetRegistry::RegisterMCAsmBackend(TheARMLETarget, createARMLEAsmBackend);
  224|      1|  TargetRegistry::RegisterMCAsmBackend(TheARMBETarget, createARMBEAsmBackend);
  225|      1|  TargetRegistry::RegisterMCAsmBackend(TheThumbLETarget,
  226|      1|                                       createThumbLEAsmBackend);
  227|      1|  TargetRegistry::RegisterMCAsmBackend(TheThumbBETarget,
  228|      1|                                       createThumbBEAsmBackend);
  229|      1|}

LLVMInitializeARMTargetInfo:
   17|      1|extern "C" void LLVMInitializeARMTargetInfo() {
   18|      1|  RegisterTarget<Triple::arm>
   19|      1|    X(TheARMLETarget, "arm", "ARM");
   20|      1|  RegisterTarget<Triple::armeb>
   21|      1|    Y(TheARMBETarget, "armeb", "ARM (big endian)");
   22|       |
   23|      1|  RegisterTarget<Triple::thumb>
   24|      1|    A(TheThumbLETarget, "thumb", "Thumb");
   25|      1|  RegisterTarget<Triple::thumbeb>
   26|      1|    B(TheThumbBETarget, "thumbeb", "Thumb (big endian)");
   27|      1|}

LLVMInitializeHexagonAsmParser:
 1104|      1|extern "C" void LLVMInitializeHexagonAsmParser() {
 1105|      1|  RegisterMCAsmParser<HexagonAsmParser> X(TheHexagonTarget);
 1106|      1|}

LLVMInitializeHexagonTargetMC:
  118|      1|extern "C" void LLVMInitializeHexagonTargetMC() {
  119|       |  // Register the MC asm info.
  120|      1|  RegisterMCAsmInfoFn X(TheHexagonTarget, createHexagonMCAsmInfo);
  121|       |
  122|       |  // Register the MC instruction info.
  123|      1|  TargetRegistry::RegisterMCInstrInfo(TheHexagonTarget,
  124|      1|                                      createHexagonMCInstrInfo);
  125|       |
  126|       |  // Register the MC register info.
  127|      1|  TargetRegistry::RegisterMCRegInfo(TheHexagonTarget,
  128|      1|                                    createHexagonMCRegisterInfo);
  129|       |
  130|       |  // Register the MC subtarget info.
  131|      1|  TargetRegistry::RegisterMCSubtargetInfo(TheHexagonTarget,
  132|      1|                                          createHexagonMCSubtargetInfo);
  133|       |
  134|       |  // Register the MC Code Emitter
  135|      1|  TargetRegistry::RegisterMCCodeEmitter(TheHexagonTarget,
  136|      1|                                        createHexagonMCCodeEmitter);
  137|       |
  138|       |  // Register the asm backend
  139|      1|  TargetRegistry::RegisterMCAsmBackend(TheHexagonTarget,
  140|      1|                                       createHexagonAsmBackend);
  141|      1|}

LLVMInitializeHexagonTargetInfo:
   16|      1|extern "C" void LLVMInitializeHexagonTargetInfo() {
   17|      1|  RegisterTarget<Triple::hexagon>  X(TheHexagonTarget, "hexagon", "Hexagon");
   18|      1|}

LLVMInitializeMipsAsmParser:
 6345|      1|extern "C" void LLVMInitializeMipsAsmParser() {
 6346|      1|  RegisterMCAsmParser<MipsAsmParser> X(TheMipsTarget);
 6347|      1|  RegisterMCAsmParser<MipsAsmParser> Y(TheMipselTarget);
 6348|      1|  RegisterMCAsmParser<MipsAsmParser> A(TheMips64Target);
 6349|      1|  RegisterMCAsmParser<MipsAsmParser> B(TheMips64elTarget);
 6350|      1|}

LLVMInitializeMipsTargetMC:
   83|      1|extern "C" void LLVMInitializeMipsTargetMC() {
   84|      1|  for (Target *T : {&TheMipsTarget, &TheMipselTarget, &TheMips64Target,
  ------------------
  |  Branch (84:18): [True: 4, False: 1]
  ------------------
   85|      4|                    &TheMips64elTarget}) {
   86|       |    // Register the MC asm info.
   87|      4|    RegisterMCAsmInfoFn X(*T, createMipsMCAsmInfo);
   88|       |
   89|       |    // Register the MC instruction info.
   90|      4|    TargetRegistry::RegisterMCInstrInfo(*T, createMipsMCInstrInfo);
   91|       |
   92|       |    // Register the MC register info.
   93|      4|    TargetRegistry::RegisterMCRegInfo(*T, createMipsMCRegisterInfo);
   94|       |
   95|       |    // Register the MC subtarget info.
   96|      4|    TargetRegistry::RegisterMCSubtargetInfo(*T, createMipsMCSubtargetInfo);
   97|      4|  }
   98|       |
   99|       |  // Register the MC Code Emitter
  100|      1|  for (Target *T : {&TheMipsTarget, &TheMips64Target})
  ------------------
  |  Branch (100:18): [True: 2, False: 1]
  ------------------
  101|      2|    TargetRegistry::RegisterMCCodeEmitter(*T, createMipsMCCodeEmitterEB);
  102|       |
  103|      1|  for (Target *T : {&TheMipselTarget, &TheMips64elTarget})
  ------------------
  |  Branch (103:18): [True: 2, False: 1]
  ------------------
  104|      2|    TargetRegistry::RegisterMCCodeEmitter(*T, createMipsMCCodeEmitterEL);
  105|       |
  106|       |  // Register the asm backend.
  107|      1|  TargetRegistry::RegisterMCAsmBackend(TheMipsTarget,
  108|      1|                                       createMipsAsmBackendEB32);
  109|      1|  TargetRegistry::RegisterMCAsmBackend(TheMipselTarget,
  110|      1|                                       createMipsAsmBackendEL32);
  111|      1|  TargetRegistry::RegisterMCAsmBackend(TheMips64Target,
  112|      1|                                       createMipsAsmBackendEB64);
  113|      1|  TargetRegistry::RegisterMCAsmBackend(TheMips64elTarget,
  114|      1|                                       createMipsAsmBackendEL64);
  115|       |
  116|      1|}

LLVMInitializeMipsTargetInfo:
   17|      1|extern "C" void LLVMInitializeMipsTargetInfo() {
   18|      1|  RegisterTarget<Triple::mips> X(TheMipsTarget, "mips", "Mips");
   19|       |
   20|      1|  RegisterTarget<Triple::mipsel> Y(TheMipselTarget, "mipsel", "Mipsel");
   21|       |
   22|      1|  RegisterTarget<Triple::mips64> A(TheMips64Target, "mips64", "Mips64 [experimental]");
   23|       |
   24|      1|  RegisterTarget<Triple::mips64el> B(TheMips64elTarget,
   25|      1|                            "mips64el", "Mips64el [experimental]");
   26|      1|}

LLVMInitializePowerPCAsmParser:
 1922|      1|extern "C" void LLVMInitializePowerPCAsmParser() {
 1923|      1|  RegisterMCAsmParser<PPCAsmParser> A(ThePPC32Target);
 1924|      1|  RegisterMCAsmParser<PPCAsmParser> B(ThePPC64Target);
 1925|      1|  RegisterMCAsmParser<PPCAsmParser> C(ThePPC64LETarget);
 1926|      1|}

LLVMInitializePowerPCTargetMC:
  198|      1|extern "C" void LLVMInitializePowerPCTargetMC() {
  199|      3|  for (Target *T : {&ThePPC32Target, &ThePPC64Target, &ThePPC64LETarget}) {
  ------------------
  |  Branch (199:18): [True: 3, False: 1]
  ------------------
  200|       |    // Register the MC asm info.
  201|      3|    RegisterMCAsmInfoFn C(*T, createPPCMCAsmInfo);
  202|       |
  203|       |    // Register the MC instruction info.
  204|      3|    TargetRegistry::RegisterMCInstrInfo(*T, createPPCMCInstrInfo);
  205|       |
  206|       |    // Register the MC register info.
  207|      3|    TargetRegistry::RegisterMCRegInfo(*T, createPPCMCRegisterInfo);
  208|       |
  209|       |    // Register the MC subtarget info.
  210|      3|    TargetRegistry::RegisterMCSubtargetInfo(*T, createPPCMCSubtargetInfo);
  211|       |
  212|       |    // Register the MC Code Emitter
  213|      3|    TargetRegistry::RegisterMCCodeEmitter(*T, createPPCMCCodeEmitter);
  214|       |
  215|       |    // Register the asm backend.
  216|      3|    TargetRegistry::RegisterMCAsmBackend(*T, createPPCAsmBackend);
  217|      3|  }
  218|      1|}

LLVMInitializePowerPCTargetInfo:
   16|      1|extern "C" void LLVMInitializePowerPCTargetInfo() {
   17|      1|  RegisterTarget<Triple::ppc>
   18|      1|    X(ThePPC32Target, "ppc32", "PowerPC 32");
   19|       |
   20|      1|  RegisterTarget<Triple::ppc64>
   21|      1|    Y(ThePPC64Target, "ppc64", "PowerPC 64");
   22|       |
   23|      1|  RegisterTarget<Triple::ppc64le>
   24|      1|    Z(ThePPC64LETarget, "ppc64le", "PowerPC 64 LE");
   25|      1|}

LLVMInitializeRISCVAsmParser:
 1809|      1|extern "C" void LLVMInitializeRISCVAsmParser() {
 1810|      1|  RegisterMCAsmParser<RISCVAsmParser> X(TheRISCV32Target);
 1811|      1|  RegisterMCAsmParser<RISCVAsmParser> Y(TheRISCV64Target);
 1812|      1|}

LLVMInitializeRISCVTargetMC:
   83|      1|extern "C" void LLVMInitializeRISCVTargetMC() {
   84|      2|  for (Target *T : {&TheRISCV32Target, &TheRISCV64Target}) {
  ------------------
  |  Branch (84:18): [True: 2, False: 1]
  ------------------
   85|      2|    TargetRegistry::RegisterMCAsmInfo(*T, createRISCVMCAsmInfo);
   86|      2|    TargetRegistry::RegisterMCInstrInfo(*T, createRISCVMCInstrInfo);
   87|      2|    TargetRegistry::RegisterMCRegInfo(*T, createRISCVMCRegisterInfo);
   88|       |    // TargetRegistry::RegisterMCAsmBackend(*T, createRISCVAsmBackend);
   89|      2|    TargetRegistry::RegisterMCAsmBackend2(*T, createRISCVAsmBackend);
   90|      2|    TargetRegistry::RegisterMCCodeEmitter(*T, createRISCVMCCodeEmitter);
   91|      2|    TargetRegistry::RegisterMCSubtargetInfo(*T, createRISCVMCSubtargetInfo);
   92|      2|    TargetRegistry::RegisterObjectTargetStreamer(
   93|      2|        *T, createRISCVObjectTargetStreamer);
   94|       |
   95|       |    // Register the asm target streamer.
   96|      2|    TargetRegistry::RegisterAsmTargetStreamer(*T, createRISCVAsmTargetStreamer);
   97|      2|  }
   98|      1|}

LLVMInitializeRISCVTargetInfo:
   26|      1|extern "C" void LLVMInitializeRISCVTargetInfo() {
   27|       |
   28|       |
   29|      1|  RegisterTarget<Triple::riscv32> X(TheRISCV32Target, "riscv32",
   30|      1|                                    "32-bit RISC-V");
   31|      1|  RegisterTarget<Triple::riscv64> Y(TheRISCV64Target, "riscv64",
   32|      1|                                    "64-bit RISC-V");
   33|      1|}

LLVMInitializeSparcAsmParser:
 1188|      1|extern "C" void LLVMInitializeSparcAsmParser() {
 1189|      1|  RegisterMCAsmParser<SparcAsmParser> A(TheSparcTarget);
 1190|      1|  RegisterMCAsmParser<SparcAsmParser> B(TheSparcV9Target);
 1191|      1|  RegisterMCAsmParser<SparcAsmParser> C(TheSparcelTarget);
 1192|      1|}

LLVMInitializeSparcTargetMC:
   83|      1|extern "C" void LLVMInitializeSparcTargetMC() {
   84|       |  // Register the MC asm info.
   85|      1|  RegisterMCAsmInfoFn X(TheSparcTarget, createSparcMCAsmInfo);
   86|      1|  RegisterMCAsmInfoFn Y(TheSparcV9Target, createSparcV9MCAsmInfo);
   87|      1|  RegisterMCAsmInfoFn Z(TheSparcelTarget, createSparcMCAsmInfo);
   88|       |
   89|      3|  for (Target *T : {&TheSparcTarget, &TheSparcV9Target, &TheSparcelTarget}) {
  ------------------
  |  Branch (89:18): [True: 3, False: 1]
  ------------------
   90|       |    // Register the MC instruction info.
   91|      3|    TargetRegistry::RegisterMCInstrInfo(*T, createSparcMCInstrInfo);
   92|       |
   93|       |    // Register the MC register info.
   94|      3|    TargetRegistry::RegisterMCRegInfo(*T, createSparcMCRegisterInfo);
   95|       |
   96|       |    // Register the MC subtarget info.
   97|      3|    TargetRegistry::RegisterMCSubtargetInfo(*T, createSparcMCSubtargetInfo);
   98|       |
   99|       |    // Register the MC Code Emitter.
  100|      3|    TargetRegistry::RegisterMCCodeEmitter(*T, createSparcMCCodeEmitter);
  101|       |
  102|       |    // Register the asm backend.
  103|      3|    TargetRegistry::RegisterMCAsmBackend(*T, createSparcAsmBackend);
  104|      3|  }
  105|      1|}

LLVMInitializeSparcTargetInfo:
   18|      1|extern "C" void LLVMInitializeSparcTargetInfo() {
   19|      1|  RegisterTarget<Triple::sparc> X(TheSparcTarget, "sparc",
   20|      1|                                                   "Sparc");
   21|      1|  RegisterTarget<Triple::sparcv9> Y(TheSparcV9Target,
   22|      1|                                                     "sparcv9", "Sparc V9");
   23|      1|  RegisterTarget<Triple::sparcel> Z(TheSparcelTarget,
   24|      1|                                                     "sparcel", "Sparc LE");
   25|      1|}

LLVMInitializeSystemZAsmParser:
  972|      1|extern "C" void LLVMInitializeSystemZAsmParser() {
  973|      1|  RegisterMCAsmParser<SystemZAsmParser> X(TheSystemZTarget);
  974|      1|}

LLVMInitializeSystemZTargetMC:
  161|      1|extern "C" void LLVMInitializeSystemZTargetMC() {
  162|       |  // Register the MCAsmInfo.
  163|      1|  TargetRegistry::RegisterMCAsmInfo(TheSystemZTarget,
  164|      1|                                    createSystemZMCAsmInfo);
  165|       |
  166|       |  // Register the MCCodeEmitter.
  167|      1|  TargetRegistry::RegisterMCCodeEmitter(TheSystemZTarget,
  168|      1|                                        createSystemZMCCodeEmitter);
  169|       |
  170|       |  // Register the MCInstrInfo.
  171|      1|  TargetRegistry::RegisterMCInstrInfo(TheSystemZTarget,
  172|      1|                                      createSystemZMCInstrInfo);
  173|       |
  174|       |  // Register the MCRegisterInfo.
  175|      1|  TargetRegistry::RegisterMCRegInfo(TheSystemZTarget,
  176|      1|                                    createSystemZMCRegisterInfo);
  177|       |
  178|       |  // Register the MCSubtargetInfo.
  179|      1|  TargetRegistry::RegisterMCSubtargetInfo(TheSystemZTarget,
  180|      1|                                          createSystemZMCSubtargetInfo);
  181|       |
  182|       |  // Register the MCAsmBackend.
  183|      1|  TargetRegistry::RegisterMCAsmBackend(TheSystemZTarget,
  184|      1|                                       createSystemZMCAsmBackend);
  185|      1|}

LLVMInitializeSystemZTargetInfo:
   17|      1|extern "C" void LLVMInitializeSystemZTargetInfo() {
   18|      1|  RegisterTarget<Triple::systemz>
   19|      1|    X(TheSystemZTarget, "systemz", "SystemZ");
   20|      1|}

_ZN7llvm_ks21X86AsmInstrumentationC2ERPKNS_15MCSubtargetInfoE:
   98|  17.0k|    : STI(STI), InitialFrameReg(0) {}
_ZN7llvm_ks21X86AsmInstrumentationD2Ev:
  100|  17.0k|X86AsmInstrumentation::~X86AsmInstrumentation() {}
_ZN7llvm_ks21X86AsmInstrumentation28InstrumentAndEmitInstructionERNS_6MCInstERNS_15SmallVectorImplINSt3__110unique_ptrINS_18MCParsedAsmOperandENS4_14default_deleteIS6_EEEEEERNS_9MCContextERKNS_11MCInstrInfoERNS_10MCStreamerERj:
  104|  23.8k|    const MCInstrInfo &MII, MCStreamer &Out, unsigned int &KsError) {
  105|  23.8k|  EmitInstruction(Out, Inst, KsError);
  106|  23.8k|}
_ZN7llvm_ks21X86AsmInstrumentation15EmitInstructionERNS_10MCStreamerERNS_6MCInstERj:
  110|  23.8k|                                            unsigned int &KsError) {
  111|  23.8k|  Out.EmitInstruction(Inst, *STI, KsError);
  112|  23.8k|}
_ZN7llvm_ks27CreateX86AsmInstrumentationERKNS_15MCTargetOptionsERKNS_9MCContextERPKNS_15MCSubtargetInfoE:
  135|  17.0k|                            const MCContext &Ctx, const MCSubtargetInfo *&STI) {
  136|  17.0k|  return new X86AsmInstrumentation(STI);
  137|  17.0k|}

LLVMInitializeX86AsmParser:
 3433|      1|extern "C" void LLVMInitializeX86AsmParser() {
 3434|      1|  RegisterMCAsmParser<X86AsmParser> X(TheX86_32Target);
 3435|      1|  RegisterMCAsmParser<X86AsmParser> Y(TheX86_64Target);
 3436|      1|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParserC2ERKN7llvm_ks15MCSubtargetInfoERNS1_11MCAsmParserERKNS1_11MCInstrInfoERKNS1_15MCTargetOptionsE:
  899|  17.0k|    : MCTargetAsmParser(Options, sti), MII(mii), InstInfo(nullptr) {
  900|       |
  901|       |    // Initialize the set of available features.
  902|  17.0k|    setAvailableFeatures(ComputeAvailableFeatures(getSTI().getFeatureBits()));
  903|  17.0k|    Instrumentation.reset(
  904|  17.0k|        CreateX86AsmInstrumentation(Options, Parser.getContext(), STI));
  905|  17.0k|  }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser13ParseRegisterERjRN7llvm_ks5SMLocES4_S1_:
  970|  76.6k|{
  971|  76.6k|  MCAsmParser &Parser = getParser();
  972|  76.6k|  RegNo = 0;
  973|  76.6k|  const AsmToken &PercentTok = Parser.getTok();
  974|  76.6k|  StartLoc = PercentTok.getLoc();
  975|       |
  976|       |  // If we encounter a %, ignore it. This code handles registers with and
  977|       |  // without the prefix, unprefixed registers can occur in cfi directives.
  978|  76.6k|  if (!isParsingIntelSyntax() && PercentTok.is(AsmToken::Percent))
  ------------------
  |  Branch (978:7): [True: 65, False: 76.6k]
  |  Branch (978:34): [True: 64, False: 1]
  ------------------
  979|     64|    Parser.Lex(); // Eat percent token.
  980|       |
  981|  76.6k|  const AsmToken &Tok = Parser.getTok();
  982|  76.6k|  EndLoc = Tok.getEndLoc();
  983|       |
  984|  76.6k|  if (Tok.isNot(AsmToken::Identifier)) {
  ------------------
  |  Branch (984:7): [True: 42.3k, False: 34.3k]
  ------------------
  985|  42.3k|    if (isParsingIntelSyntax()) return true;
  ------------------
  |  Branch (985:9): [True: 42.3k, False: 8]
  ------------------
  986|       |    //return Error(StartLoc, "invalid register name",
  987|       |    //             SMRange(StartLoc, EndLoc));
  988|      8|    return true;
  989|  42.3k|  }
  990|       |
  991|  34.3k|  RegNo = MatchRegisterName(Tok.getString());
  992|       |
  993|       |  // If the match failed, try the register name as lowercase.
  994|  34.3k|  if (RegNo == 0)
  ------------------
  |  Branch (994:7): [True: 32.8k, False: 1.53k]
  ------------------
  995|  32.8k|    RegNo = MatchRegisterName(Tok.getString().lower());
  996|       |
  997|       |  // The "flags" register cannot be referenced directly.
  998|       |  // Treat it as an identifier instead.
  999|  34.3k|  if (isParsingInlineAsm() && isParsingIntelSyntax() && RegNo == X86::EFLAGS)
  ------------------
  |  Branch (999:7): [True: 0, False: 34.3k]
  |  Branch (999:31): [True: 0, False: 0]
  |  Branch (999:57): [True: 0, False: 0]
  ------------------
 1000|      0|    RegNo = 0;
 1001|       |
 1002|  34.3k|  if (!is64BitMode()) {
  ------------------
  |  Branch (1002:7): [True: 33.0k, False: 1.30k]
  ------------------
 1003|       |    // FIXME: This should be done using Requires<Not64BitMode> and
 1004|       |    // Requires<In64BitMode> so "eiz" usage in 64-bit instructions can be also
 1005|       |    // checked.
 1006|       |    // FIXME: Check AH, CH, DH, BH cannot be used in an instruction requiring a
 1007|       |    // REX prefix.
 1008|  33.0k|    if (RegNo == X86::RIZ ||
  ------------------
  |  Branch (1008:9): [True: 11, False: 33.0k]
  ------------------
 1009|  33.0k|        X86MCRegisterClasses[X86::GR64RegClassID].contains(RegNo) ||
  ------------------
  |  Branch (1009:9): [True: 274, False: 32.7k]
  ------------------
 1010|  32.7k|        X86II::isX86_64NonExtLowByteReg(RegNo) ||
  ------------------
  |  Branch (1010:9): [True: 91, False: 32.6k]
  ------------------
 1011|  32.6k|        X86II::isX86_64ExtendedReg(RegNo))
  ------------------
  |  Branch (1011:9): [True: 1.35k, False: 31.3k]
  ------------------
 1012|       |      //return Error(StartLoc, "register %"
 1013|       |      //             + Tok.getString() + " is only available in 64-bit mode",
 1014|       |      //             SMRange(StartLoc, EndLoc));
 1015|  1.72k|      return true;
 1016|  33.0k|  }
 1017|       |
 1018|       |  // Parse "%st" as "%st(0)" and "%st(1)", which is multiple tokens.
 1019|  32.6k|  if (RegNo == 0 && (Tok.getString() == "st" || Tok.getString() == "ST")) {
  ------------------
  |  Branch (1019:7): [True: 29.0k, False: 3.58k]
  |  Branch (1019:7): [True: 177, False: 32.4k]
  |  Branch (1019:22): [True: 58, False: 28.9k]
  |  Branch (1019:49): [True: 119, False: 28.8k]
  ------------------
 1020|    177|    RegNo = X86::ST0;
 1021|    177|    Parser.Lex(); // Eat 'st'
 1022|       |
 1023|       |    // Check to see if we have '(4)' after %st.
 1024|    177|    if (getLexer().isNot(AsmToken::LParen))
  ------------------
  |  Branch (1024:9): [True: 70, False: 107]
  ------------------
 1025|     70|      return false;
 1026|       |    // Lex the paren.
 1027|    107|    getParser().Lex();
 1028|       |
 1029|    107|    const AsmToken &IntTok = Parser.getTok();
 1030|    107|    if (IntTok.isNot(AsmToken::Integer))
  ------------------
  |  Branch (1030:9): [True: 28, False: 79]
  ------------------
 1031|       |      //return Error(IntTok.getLoc(), "expected stack index");
 1032|     28|      return true;
 1033|     79|    bool valid;
 1034|     79|    unsigned r = IntTok.getIntVal(valid);
 1035|     79|    if (!valid)
  ------------------
  |  Branch (1035:9): [True: 0, False: 79]
  ------------------
 1036|      0|        return true;
 1037|     79|    switch (r) {
 1038|     10|    case 0: RegNo = X86::ST0; break;
  ------------------
  |  Branch (1038:5): [True: 10, False: 69]
  ------------------
 1039|     15|    case 1: RegNo = X86::ST1; break;
  ------------------
  |  Branch (1039:5): [True: 15, False: 64]
  ------------------
 1040|      5|    case 2: RegNo = X86::ST2; break;
  ------------------
  |  Branch (1040:5): [True: 5, False: 74]
  ------------------
 1041|      5|    case 3: RegNo = X86::ST3; break;
  ------------------
  |  Branch (1041:5): [True: 5, False: 74]
  ------------------
 1042|      3|    case 4: RegNo = X86::ST4; break;
  ------------------
  |  Branch (1042:5): [True: 3, False: 76]
  ------------------
 1043|      0|    case 5: RegNo = X86::ST5; break;
  ------------------
  |  Branch (1043:5): [True: 0, False: 79]
  ------------------
 1044|      3|    case 6: RegNo = X86::ST6; break;
  ------------------
  |  Branch (1044:5): [True: 3, False: 76]
  ------------------
 1045|      3|    case 7: RegNo = X86::ST7; break;
  ------------------
  |  Branch (1045:5): [True: 3, False: 76]
  ------------------
 1046|     35|    default: return true; //return Error(IntTok.getLoc(), "invalid stack index");
  ------------------
  |  Branch (1046:5): [True: 35, False: 44]
  ------------------
 1047|     79|    }
 1048|       |
 1049|     44|    if (getParser().Lex().isNot(AsmToken::RParen))
  ------------------
  |  Branch (1049:9): [True: 43, False: 1]
  ------------------
 1050|       |      //return Error(Parser.getTok().getLoc(), "expected ')'");
 1051|     43|      return true;
 1052|       |
 1053|      1|    EndLoc = Parser.getTok().getEndLoc();
 1054|      1|    Parser.Lex(); // Eat ')'
 1055|      1|    return false;
 1056|     44|  }
 1057|       |
 1058|  32.4k|  EndLoc = Parser.getTok().getEndLoc();
 1059|       |
 1060|       |  // If this is "db[0-7]", match it as an alias
 1061|       |  // for dr[0-7].
 1062|  32.4k|  if (RegNo == 0 && Tok.getString().size() == 3 &&
  ------------------
  |  Branch (1062:7): [True: 28.8k, False: 3.58k]
  |  Branch (1062:7): [True: 89, False: 32.3k]
  |  Branch (1062:21): [True: 4.37k, False: 24.4k]
  ------------------
 1063|  4.37k|      Tok.getString().startswith("db")) {
  ------------------
  |  Branch (1063:7): [True: 89, False: 4.28k]
  ------------------
 1064|     89|    switch (Tok.getString()[2]) {
  ------------------
  |  Branch (1064:13): [True: 85, False: 4]
  ------------------
 1065|      6|    case '0': RegNo = X86::DR0; break;
  ------------------
  |  Branch (1065:5): [True: 6, False: 83]
  ------------------
 1066|     11|    case '1': RegNo = X86::DR1; break;
  ------------------
  |  Branch (1066:5): [True: 11, False: 78]
  ------------------
 1067|      1|    case '2': RegNo = X86::DR2; break;
  ------------------
  |  Branch (1067:5): [True: 1, False: 88]
  ------------------
 1068|      6|    case '3': RegNo = X86::DR3; break;
  ------------------
  |  Branch (1068:5): [True: 6, False: 83]
  ------------------
 1069|      3|    case '4': RegNo = X86::DR4; break;
  ------------------
  |  Branch (1069:5): [True: 3, False: 86]
  ------------------
 1070|     10|    case '5': RegNo = X86::DR5; break;
  ------------------
  |  Branch (1070:5): [True: 10, False: 79]
  ------------------
 1071|     15|    case '6': RegNo = X86::DR6; break;
  ------------------
  |  Branch (1071:5): [True: 15, False: 74]
  ------------------
 1072|     33|    case '7': RegNo = X86::DR7; break;
  ------------------
  |  Branch (1072:5): [True: 33, False: 56]
  ------------------
 1073|     89|    }
 1074|       |
 1075|     89|    if (RegNo != 0) {
  ------------------
  |  Branch (1075:9): [True: 85, False: 4]
  ------------------
 1076|     85|      EndLoc = Parser.getTok().getEndLoc();
 1077|     85|      Parser.Lex(); // Eat it.
 1078|     85|      return false;
 1079|     85|    }
 1080|     89|  }
 1081|       |
 1082|  32.3k|  if (RegNo == 0) {
  ------------------
  |  Branch (1082:7): [True: 28.7k, False: 3.58k]
  ------------------
 1083|  28.7k|    if (isParsingIntelSyntax()) return true;
  ------------------
  |  Branch (1083:9): [True: 28.7k, False: 3]
  ------------------
 1084|       |    //return Error(StartLoc, "invalid register name",
 1085|       |    //             SMRange(StartLoc, EndLoc));
 1086|      3|    return true;
 1087|  28.7k|  }
 1088|       |
 1089|  3.58k|  Parser.Lex(); // Eat identifier token.
 1090|  3.58k|  return false;
 1091|  32.3k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser20isParsingIntelSyntaxEv:
  884|   381k|  bool isParsingIntelSyntax() {
  885|   381k|    return getParser().getAssemblerDialect();
  886|   381k|  }
X86AsmParser.cpp:_ZNK12_GLOBAL__N_112X86AsmParser11is64BitModeEv:
  854|  45.3k|  bool is64BitMode() const {
  855|       |    // FIXME: Can tablegen auto-generate this?
  856|  45.3k|    return getSTI().getFeatureBits()[X86::Mode64Bit];
  857|  45.3k|  }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser16ParseInstructionERN7llvm_ks20ParseInstructionInfoENS1_9StringRefENS1_5SMLocERNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS7_14default_deleteIS9_EEEEEERj:
 2453|  74.7k|{
 2454|  74.7k|  MCAsmParser &Parser = getParser();
 2455|  74.7k|  InstInfo = &Info;
 2456|       |
 2457|       |  // Nasm accepts JMP/CALL, but not LJMP/LCALL
 2458|  74.7k|  if (KsSyntax == KS_OPT_SYNTAX_NASM) {
  ------------------
  |  Branch (2458:7): [True: 562, False: 74.2k]
  ------------------
 2459|    562|      if (Name == "jmp" || Name == "call") {
  ------------------
  |  Branch (2459:11): [True: 124, False: 438]
  |  Branch (2459:11): [True: 196, False: 366]
  |  Branch (2459:28): [True: 72, False: 366]
  ------------------
 2460|    196|          AsmToken Tokens[3];
 2461|    196|          MutableArrayRef<AsmToken> Buf(Tokens);
 2462|    196|          size_t count = getLexer().peekTokens(Buf);
 2463|    196|          if (count == 3 && Tokens[0].getString() == ":") {
  ------------------
  |  Branch (2463:15): [True: 170, False: 26]
  |  Branch (2463:15): [True: 18, False: 178]
  |  Branch (2463:29): [True: 18, False: 152]
  ------------------
 2464|     18|              if (Name == "jmp")
  ------------------
  |  Branch (2464:19): [True: 2, False: 16]
  ------------------
 2465|      2|                  Name = "ljmp";
 2466|     16|              else if (Name == "call")
  ------------------
  |  Branch (2466:24): [True: 16, False: 0]
  ------------------
 2467|     16|                  Name = "lcall";
 2468|     18|          }
 2469|    196|      }
 2470|    562|  }
 2471|       |
 2472|  74.7k|  StringRef PatchedName = Name;
 2473|       |
 2474|       |  // FIXME: Hack to recognize setneb as setne.
 2475|  74.7k|  if (PatchedName.startswith("set") && PatchedName.endswith("b") &&
  ------------------
  |  Branch (2475:7): [True: 564, False: 74.2k]
  |  Branch (2475:7): [True: 97, False: 74.6k]
  |  Branch (2475:40): [True: 162, False: 402]
  ------------------
 2476|    162|      PatchedName != "setb" && PatchedName != "setnb")
  ------------------
  |  Branch (2476:7): [True: 108, False: 54]
  |  Branch (2476:32): [True: 97, False: 11]
  ------------------
 2477|     97|    PatchedName = PatchedName.substr(0, Name.size()-1);
 2478|       |
 2479|       |  // FIXME: Hack to recognize cmp<comparison code>{ss,sd,ps,pd}.
 2480|  74.7k|  if ((PatchedName.startswith("cmp") || PatchedName.startswith("vcmp")) &&
  ------------------
  |  Branch (2480:7): [True: 801, False: 73.9k]
  |  Branch (2480:8): [True: 1.48k, False: 73.2k]
  |  Branch (2480:41): [True: 55, False: 73.2k]
  ------------------
 2481|  1.53k|      (PatchedName.endswith("ss") || PatchedName.endswith("sd") ||
  ------------------
  |  Branch (2481:8): [True: 79, False: 1.46k]
  |  Branch (2481:38): [True: 504, False: 956]
  ------------------
 2482|    956|       PatchedName.endswith("ps") || PatchedName.endswith("pd"))) {
  ------------------
  |  Branch (2482:8): [True: 210, False: 746]
  |  Branch (2482:38): [True: 8, False: 738]
  ------------------
 2483|    801|    bool IsVCMP = PatchedName[0] == 'v';
 2484|    801|    unsigned CCIdx = IsVCMP ? 4 : 3;
  ------------------
  |  Branch (2484:22): [True: 30, False: 771]
  ------------------
 2485|    801|    unsigned ComparisonCode = StringSwitch<unsigned>(
 2486|    801|      PatchedName.slice(CCIdx, PatchedName.size() - 2))
 2487|    801|      .Case("eq",       0x00)
 2488|    801|      .Case("eq_oq",    0x00)
 2489|    801|      .Case("lt",       0x01)
 2490|    801|      .Case("lt_os",    0x01)
 2491|    801|      .Case("le",       0x02)
 2492|    801|      .Case("le_os",    0x02)
 2493|    801|      .Case("unord",    0x03)
 2494|    801|      .Case("unord_q",  0x03)
 2495|    801|      .Case("neq",      0x04)
 2496|    801|      .Case("neq_uq",   0x04)
 2497|    801|      .Case("nlt",      0x05)
 2498|    801|      .Case("nlt_us",   0x05)
 2499|    801|      .Case("nle",      0x06)
 2500|    801|      .Case("nle_us",   0x06)
 2501|    801|      .Case("ord",      0x07)
 2502|    801|      .Case("ord_q",    0x07)
 2503|       |      /* AVX only from here */
 2504|    801|      .Case("eq_uq",    0x08)
 2505|    801|      .Case("nge",      0x09)
 2506|    801|      .Case("nge_us",   0x09)
 2507|    801|      .Case("ngt",      0x0A)
 2508|    801|      .Case("ngt_us",   0x0A)
 2509|    801|      .Case("false",    0x0B)
 2510|    801|      .Case("false_oq", 0x0B)
 2511|    801|      .Case("neq_oq",   0x0C)
 2512|    801|      .Case("ge",       0x0D)
 2513|    801|      .Case("ge_os",    0x0D)
 2514|    801|      .Case("gt",       0x0E)
 2515|    801|      .Case("gt_os",    0x0E)
 2516|    801|      .Case("true",     0x0F)
 2517|    801|      .Case("true_uq",  0x0F)
 2518|    801|      .Case("eq_os",    0x10)
 2519|    801|      .Case("lt_oq",    0x11)
 2520|    801|      .Case("le_oq",    0x12)
 2521|    801|      .Case("unord_s",  0x13)
 2522|    801|      .Case("neq_us",   0x14)
 2523|    801|      .Case("nlt_uq",   0x15)
 2524|    801|      .Case("nle_uq",   0x16)
 2525|    801|      .Case("ord_s",    0x17)
 2526|    801|      .Case("eq_us",    0x18)
 2527|    801|      .Case("nge_uq",   0x19)
 2528|    801|      .Case("ngt_uq",   0x1A)
 2529|    801|      .Case("false_os", 0x1B)
 2530|    801|      .Case("neq_os",   0x1C)
 2531|    801|      .Case("ge_oq",    0x1D)
 2532|    801|      .Case("gt_oq",    0x1E)
 2533|    801|      .Case("true_us",  0x1F)
 2534|    801|      .Default(~0U);
 2535|    801|    if (ComparisonCode != ~0U && (IsVCMP || ComparisonCode < 8)) {
  ------------------
  |  Branch (2535:9): [True: 112, False: 689]
  |  Branch (2535:35): [True: 21, False: 91]
  |  Branch (2535:45): [True: 27, False: 64]
  ------------------
 2536|       |
 2537|     48|      Operands.push_back(X86Operand::CreateToken(PatchedName.slice(0, CCIdx),
 2538|     48|                                                 NameLoc));
 2539|       |
 2540|     48|      const MCExpr *ImmOp = MCConstantExpr::create(ComparisonCode,
 2541|     48|                                                   getParser().getContext());
 2542|     48|      Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc));
 2543|       |
 2544|     48|      PatchedName = PatchedName.substr(PatchedName.size() - 2);
 2545|     48|    }
 2546|    801|  }
 2547|       |
 2548|       |  // FIXME: Hack to recognize vpcmp<comparison code>{ub,uw,ud,uq,b,w,d,q}.
 2549|  74.7k|  if (PatchedName.startswith("vpcmp") &&
  ------------------
  |  Branch (2549:7): [True: 469, False: 74.3k]
  |  Branch (2549:7): [True: 338, False: 74.4k]
  ------------------
 2550|    469|      (PatchedName.endswith("b") || PatchedName.endswith("w") ||
  ------------------
  |  Branch (2550:8): [True: 5, False: 464]
  |  Branch (2550:37): [True: 38, False: 426]
  ------------------
 2551|    426|       PatchedName.endswith("d") || PatchedName.endswith("q"))) {
  ------------------
  |  Branch (2551:8): [True: 194, False: 232]
  |  Branch (2551:37): [True: 101, False: 131]
  ------------------
 2552|    338|    unsigned CCIdx = PatchedName.drop_back().back() == 'u' ? 2 : 1;
  ------------------
  |  Branch (2552:22): [True: 1, False: 337]
  ------------------
 2553|    338|    unsigned ComparisonCode = StringSwitch<unsigned>(
 2554|    338|      PatchedName.slice(5, PatchedName.size() - CCIdx))
 2555|    338|      .Case("eq",    0x0) // Only allowed on unsigned. Checked below.
 2556|    338|      .Case("lt",    0x1)
 2557|    338|      .Case("le",    0x2)
 2558|       |      //.Case("false", 0x3) // Not a documented alias.
 2559|    338|      .Case("neq",   0x4)
 2560|    338|      .Case("nlt",   0x5)
 2561|    338|      .Case("nle",   0x6)
 2562|       |      //.Case("true",  0x7) // Not a documented alias.
 2563|    338|      .Default(~0U);
 2564|    338|    if (ComparisonCode != ~0U && (ComparisonCode != 0 || CCIdx == 2)) {
  ------------------
  |  Branch (2564:9): [True: 30, False: 308]
  |  Branch (2564:35): [True: 30, False: 0]
  |  Branch (2564:58): [True: 0, False: 0]
  ------------------
 2565|     30|      Operands.push_back(X86Operand::CreateToken("vpcmp", NameLoc));
 2566|       |
 2567|     30|      const MCExpr *ImmOp = MCConstantExpr::create(ComparisonCode,
 2568|     30|                                                   getParser().getContext());
 2569|     30|      Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc));
 2570|       |
 2571|     30|      PatchedName = PatchedName.substr(PatchedName.size() - CCIdx);
 2572|     30|    }
 2573|    338|  }
 2574|       |
 2575|       |  // FIXME: Hack to recognize vpcom<comparison code>{ub,uw,ud,uq,b,w,d,q}.
 2576|  74.7k|  if (PatchedName.startswith("vpcom") &&
  ------------------
  |  Branch (2576:7): [True: 60, False: 74.7k]
  |  Branch (2576:7): [True: 36, False: 74.7k]
  ------------------
 2577|     60|      (PatchedName.endswith("b") || PatchedName.endswith("w") ||
  ------------------
  |  Branch (2577:8): [True: 12, False: 48]
  |  Branch (2577:37): [True: 8, False: 40]
  ------------------
 2578|     40|       PatchedName.endswith("d") || PatchedName.endswith("q"))) {
  ------------------
  |  Branch (2578:8): [True: 8, False: 32]
  |  Branch (2578:37): [True: 8, False: 24]
  ------------------
 2579|     36|    unsigned CCIdx = PatchedName.drop_back().back() == 'u' ? 2 : 1;
  ------------------
  |  Branch (2579:22): [True: 10, False: 26]
  ------------------
 2580|     36|    unsigned ComparisonCode = StringSwitch<unsigned>(
 2581|     36|      PatchedName.slice(5, PatchedName.size() - CCIdx))
 2582|     36|      .Case("lt",    0x0)
 2583|     36|      .Case("le",    0x1)
 2584|     36|      .Case("gt",    0x2)
 2585|     36|      .Case("ge",    0x3)
 2586|     36|      .Case("eq",    0x4)
 2587|     36|      .Case("neq",   0x5)
 2588|     36|      .Case("false", 0x6)
 2589|     36|      .Case("true",  0x7)
 2590|     36|      .Default(~0U);
 2591|     36|    if (ComparisonCode != ~0U) {
  ------------------
  |  Branch (2591:9): [True: 12, False: 24]
  ------------------
 2592|     12|      Operands.push_back(X86Operand::CreateToken("vpcom", NameLoc));
 2593|       |
 2594|     12|      const MCExpr *ImmOp = MCConstantExpr::create(ComparisonCode,
 2595|     12|                                                   getParser().getContext());
 2596|     12|      Operands.push_back(X86Operand::CreateImm(ImmOp, NameLoc, NameLoc));
 2597|       |
 2598|     12|      PatchedName = PatchedName.substr(PatchedName.size() - CCIdx);
 2599|     12|    }
 2600|     36|  }
 2601|       |
 2602|  74.7k|  Operands.push_back(X86Operand::CreateToken(PatchedName, NameLoc));
 2603|       |
 2604|       |  // Determine whether this is an instruction prefix.
 2605|  74.7k|  bool isPrefix =
 2606|  74.7k|    Name == "lock" || Name == "rep" ||
  ------------------
  |  Branch (2606:5): [True: 123, False: 74.6k]
  |  Branch (2606:23): [True: 1.39k, False: 73.2k]
  ------------------
 2607|  73.2k|    Name == "repe" || Name == "repz" ||
  ------------------
  |  Branch (2607:5): [True: 4, False: 73.2k]
  |  Branch (2607:23): [True: 1, False: 73.2k]
  ------------------
 2608|  73.2k|    Name == "repne" || Name == "repnz" ||
  ------------------
  |  Branch (2608:5): [True: 4, False: 73.2k]
  |  Branch (2608:24): [True: 17, False: 73.2k]
  ------------------
 2609|  73.2k|    Name == "rex64" || Name == "data16";
  ------------------
  |  Branch (2609:5): [True: 1, False: 73.2k]
  |  Branch (2609:24): [True: 1, False: 73.2k]
  ------------------
 2610|       |
 2611|  74.7k|  push32 = false;
 2612|       |
 2613|       |  // This does the actual operand parsing.  Don't parse any more if we have a
 2614|       |  // prefix juxtaposed with an operation like "lock incl 4(%rax)", because we
 2615|       |  // just want to parse the "lock" as the first instruction and the "incl" as
 2616|       |  // the next one.
 2617|  74.7k|  if (getLexer().isNot(AsmToken::EndOfStatement) && !isPrefix) {
  ------------------
  |  Branch (2617:7): [True: 65.6k, False: 9.13k]
  |  Branch (2617:53): [True: 64.1k, False: 1.46k]
  ------------------
 2618|       |    // Parse '*' modifier.
 2619|  64.1k|    if (getLexer().is(AsmToken::Star))
  ------------------
  |  Branch (2619:9): [True: 696, False: 63.4k]
  ------------------
 2620|    696|      Operands.push_back(X86Operand::CreateToken("*", consumeToken()));
 2621|       |
 2622|       |    // Read the operands.
 2623|  79.7k|    while(1) {
  ------------------
  |  Branch (2623:11): [True: 79.7k, Folded]
  ------------------
 2624|  79.7k|      if (std::unique_ptr<X86Operand> Op = ParseOperand(Name.str(), ErrorCode)) {
  ------------------
  |  Branch (2624:39): [True: 33.8k, False: 45.9k]
  ------------------
 2625|  33.8k|        Operands.push_back(std::move(Op));
 2626|  33.8k|        if (!HandleAVX512Operand(Operands, *Operands.back()))
  ------------------
  |  Branch (2626:13): [True: 197, False: 33.6k]
  ------------------
 2627|    197|          return true;
 2628|  45.9k|      } else {
 2629|  45.9k|         Parser.eatToEndOfStatement();
 2630|  45.9k|         return true;
 2631|  45.9k|      }
 2632|       |
 2633|  33.6k|      if (getLexer().is(AsmToken::Colon)) {
  ------------------
  |  Branch (2633:11): [True: 148, False: 33.4k]
  ------------------
 2634|       |          // for LJMP/LCALL, check for ':'. otherwise, check for comma and eat it
 2635|    148|          if (Name.startswith("ljmp") || Name.startswith("lcall"))
  ------------------
  |  Branch (2635:15): [True: 10, False: 138]
  |  Branch (2635:15): [True: 119, False: 29]
  |  Branch (2635:42): [True: 109, False: 29]
  ------------------
 2636|    119|              Operands.push_back(X86Operand::CreateToken(":", consumeToken()));
 2637|     29|          else
 2638|     29|              break;
 2639|  33.4k|      } else if (getLexer().is(AsmToken::Comma))
  ------------------
  |  Branch (2639:18): [True: 15.4k, False: 18.0k]
  ------------------
 2640|  15.4k|          Parser.Lex();
 2641|  18.0k|      else
 2642|  18.0k|          break;
 2643|  33.6k|    }
 2644|       |
 2645|  18.0k|    if (getLexer().isNot(AsmToken::EndOfStatement) && getLexer().isNot(AsmToken::Eof)) {
  ------------------
  |  Branch (2645:9): [True: 1.12k, False: 16.9k]
  |  Branch (2645:55): [True: 1.07k, False: 47]
  ------------------
 2646|       |      //return ErrorAndEatStatement(getLexer().getLoc(),
 2647|       |      //                            "unexpected token in argument list");
 2648|  1.07k|      ErrorCode = KS_ERR_ASM_INVALIDOPERAND;
 2649|  1.07k|      return true;
 2650|  1.07k|    }
 2651|  18.0k|   }
 2652|       |
 2653|       |  // Consume the EndOfStatement or the prefix separator Slash
 2654|  27.5k|  if (getLexer().is(AsmToken::EndOfStatement) ||
  ------------------
  |  Branch (2654:7): [True: 26.0k, False: 1.51k]
  ------------------
 2655|  1.51k|      (isPrefix && getLexer().is(AsmToken::Slash)))
  ------------------
  |  Branch (2655:8): [True: 1.46k, False: 47]
  |  Branch (2655:20): [True: 131, False: 1.33k]
  ------------------
 2656|  26.1k|    Parser.Lex();
 2657|       |
 2658|       |  // This is for gas compatibility and cannot be done in td.
 2659|       |  // Adding "p" for some floating point with no argument.
 2660|       |  // For example: fsub --> fsubp
 2661|  27.5k|  bool IsFp =
 2662|  27.5k|    Name == "fsub" || Name == "fdiv" || Name == "fsubr" || Name == "fdivr";
  ------------------
  |  Branch (2662:5): [True: 18, False: 27.5k]
  |  Branch (2662:23): [True: 22, False: 27.5k]
  |  Branch (2662:41): [True: 4, False: 27.5k]
  |  Branch (2662:60): [True: 28, False: 27.5k]
  ------------------
 2663|  27.5k|  if (IsFp && Operands.size() == 1) {
  ------------------
  |  Branch (2663:7): [True: 72, False: 27.5k]
  |  Branch (2663:15): [True: 69, False: 3]
  ------------------
 2664|     69|    const char *Repl = StringSwitch<const char *>(Name)
 2665|     69|      .Case("fsub", "fsubp")
 2666|     69|      .Case("fdiv", "fdivp")
 2667|     69|      .Case("fsubr", "fsubrp")
 2668|     69|      .Case("fdivr", "fdivrp");
 2669|     69|    static_cast<X86Operand &>(*Operands[0]).setTokenValue(Repl);
 2670|     69|  }
 2671|       |
 2672|       |  // This is a terrible hack to handle "out[bwl]? %al, (%dx)" ->
 2673|       |  // "outb %al, %dx".  Out doesn't take a memory form, but this is a widely
 2674|       |  // documented form in various unofficial manuals, so a lot of code uses it.
 2675|  27.5k|  if ((Name == "outb" || Name == "outw" || Name == "outl" || Name == "out") &&
  ------------------
  |  Branch (2675:7): [True: 26, False: 27.5k]
  |  Branch (2675:8): [True: 16, False: 27.5k]
  |  Branch (2675:26): [True: 11, False: 27.5k]
  |  Branch (2675:44): [True: 4, False: 27.5k]
  |  Branch (2675:62): [True: 92, False: 27.4k]
  ------------------
 2676|    123|      Operands.size() == 3) {
  ------------------
  |  Branch (2676:7): [True: 26, False: 97]
  ------------------
 2677|     26|    X86Operand &Op = (X86Operand &)*Operands.back();
 2678|     26|    if (Op.isMem() && Op.Mem.SegReg == 0 &&
  ------------------
  |  Branch (2678:9): [True: 24, False: 2]
  |  Branch (2678:9): [True: 0, False: 26]
  |  Branch (2678:23): [True: 24, False: 0]
  ------------------
 2679|     24|        isa<MCConstantExpr>(Op.Mem.Disp) &&
  ------------------
  |  Branch (2679:9): [True: 23, False: 1]
  ------------------
 2680|     23|        cast<MCConstantExpr>(Op.Mem.Disp)->getValue() == 0 &&
  ------------------
  |  Branch (2680:9): [True: 1, False: 22]
  ------------------
 2681|      1|        Op.Mem.BaseReg == MatchRegisterName("dx") && Op.Mem.IndexReg == 0) {
  ------------------
  |  Branch (2681:9): [True: 0, False: 1]
  |  Branch (2681:54): [True: 0, False: 0]
  ------------------
 2682|      0|      SMLoc Loc = Op.getEndLoc();
 2683|      0|      Operands.back() = X86Operand::CreateReg(Op.Mem.BaseReg, Loc, Loc);
 2684|      0|    }
 2685|     26|  }
 2686|       |  // Same hack for "in[bwl]? (%dx), %al" -> "inb %dx, %al".
 2687|  27.5k|  if ((Name == "inb" || Name == "inw" || Name == "inl" || Name == "in") &&
  ------------------
  |  Branch (2687:7): [True: 25, False: 27.5k]
  |  Branch (2687:8): [True: 10, False: 27.5k]
  |  Branch (2687:25): [True: 8, False: 27.5k]
  |  Branch (2687:42): [True: 13, False: 27.5k]
  |  Branch (2687:59): [True: 49, False: 27.5k]
  ------------------
 2688|     80|      Operands.size() == 3) {
  ------------------
  |  Branch (2688:7): [True: 25, False: 55]
  ------------------
 2689|     25|    X86Operand &Op = (X86Operand &)*Operands[1];
 2690|     25|    if (Op.isMem() && Op.Mem.SegReg == 0 &&
  ------------------
  |  Branch (2690:9): [True: 10, False: 15]
  |  Branch (2690:9): [True: 0, False: 25]
  |  Branch (2690:23): [True: 9, False: 1]
  ------------------
 2691|      9|        isa<MCConstantExpr>(Op.Mem.Disp) &&
  ------------------
  |  Branch (2691:9): [True: 7, False: 2]
  ------------------
 2692|      7|        cast<MCConstantExpr>(Op.Mem.Disp)->getValue() == 0 &&
  ------------------
  |  Branch (2692:9): [True: 1, False: 6]
  ------------------
 2693|      1|        Op.Mem.BaseReg == MatchRegisterName("dx") && Op.Mem.IndexReg == 0) {
  ------------------
  |  Branch (2693:9): [True: 0, False: 1]
  |  Branch (2693:54): [True: 0, False: 0]
  ------------------
 2694|      0|      SMLoc Loc = Op.getEndLoc();
 2695|      0|      Operands[1] = X86Operand::CreateReg(Op.Mem.BaseReg, Loc, Loc);
 2696|      0|    }
 2697|     25|  }
 2698|       |
 2699|  27.5k|  SmallVector<std::unique_ptr<MCParsedAsmOperand>, 2> TmpOperands;
 2700|  27.5k|  bool HadVerifyError = false;
 2701|       |
 2702|       |  // Append default arguments to "ins[bwld]"
 2703|  27.5k|  if (Name.startswith("ins") && 
  ------------------
  |  Branch (2703:7): [True: 71, False: 27.5k]
  |  Branch (2703:7): [True: 18, False: 27.5k]
  ------------------
 2704|     71|      (Operands.size() == 1 || Operands.size() == 3) &&
  ------------------
  |  Branch (2704:8): [True: 30, False: 41]
  |  Branch (2704:32): [True: 10, False: 31]
  ------------------
 2705|     40|      (Name == "insb" || Name == "insw" || Name == "insl" || Name == "insd" ||
  ------------------
  |  Branch (2705:8): [True: 1, False: 39]
  |  Branch (2705:26): [True: 1, False: 38]
  |  Branch (2705:44): [True: 3, False: 35]
  |  Branch (2705:62): [True: 5, False: 30]
  ------------------
 2706|     30|       Name == "ins")) {
  ------------------
  |  Branch (2706:8): [True: 8, False: 22]
  ------------------
 2707|       |    
 2708|     18|    AddDefaultSrcDestOperands(TmpOperands,
 2709|     18|                              X86Operand::CreateReg(X86::DX, NameLoc, NameLoc),
 2710|     18|                              DefaultMemDIOperand(NameLoc));
 2711|     18|    HadVerifyError = VerifyAndAdjustOperands(Operands, TmpOperands);
 2712|     18|  }
 2713|       |
 2714|       |  // Append default arguments to "outs[bwld]"
 2715|  27.5k|  if (Name.startswith("outs") && 
  ------------------
  |  Branch (2715:7): [True: 463, False: 27.1k]
  |  Branch (2715:7): [True: 447, False: 27.1k]
  ------------------
 2716|    463|      (Operands.size() == 1 || Operands.size() == 3) &&
  ------------------
  |  Branch (2716:8): [True: 459, False: 4]
  |  Branch (2716:32): [True: 2, False: 2]
  ------------------
 2717|    461|      (Name == "outsb" || Name == "outsw" || Name == "outsl" ||
  ------------------
  |  Branch (2717:8): [True: 126, False: 335]
  |  Branch (2717:27): [True: 41, False: 294]
  |  Branch (2717:46): [True: 3, False: 291]
  ------------------
 2718|    447|       Name == "outsd" || Name == "outs")) {
  ------------------
  |  Branch (2718:8): [True: 260, False: 31]
  |  Branch (2718:27): [True: 17, False: 14]
  ------------------
 2719|    447|    AddDefaultSrcDestOperands(TmpOperands, DefaultMemSIOperand(NameLoc),
 2720|    447|                              X86Operand::CreateReg(X86::DX, NameLoc, NameLoc));
 2721|    447|    HadVerifyError = VerifyAndAdjustOperands(Operands, TmpOperands);
 2722|    447|  }
 2723|       |
 2724|       |  // Transform "lods[bwlq]" into "lods[bwlq] ($SIREG)" for appropriate
 2725|       |  // values of $SIREG according to the mode. It would be nice if this
 2726|       |  // could be achieved with InstAlias in the tables.
 2727|  27.5k|  if (Name.startswith("lods") &&
  ------------------
  |  Branch (2727:7): [True: 130, False: 27.4k]
  |  Branch (2727:7): [True: 119, False: 27.4k]
  ------------------
 2728|    130|      (Operands.size() == 1 || Operands.size() == 2) &&
  ------------------
  |  Branch (2728:8): [True: 122, False: 8]
  |  Branch (2728:32): [True: 4, False: 4]
  ------------------
 2729|    126|      (Name == "lods" || Name == "lodsb" || Name == "lodsw" ||
  ------------------
  |  Branch (2729:8): [True: 17, False: 109]
  |  Branch (2729:26): [True: 89, False: 20]
  |  Branch (2729:45): [True: 10, False: 10]
  ------------------
 2730|    119|       Name == "lodsl" || Name == "lodsd" || Name == "lodsq")) {
  ------------------
  |  Branch (2730:8): [True: 1, False: 9]
  |  Branch (2730:27): [True: 1, False: 8]
  |  Branch (2730:46): [True: 1, False: 7]
  ------------------
 2731|    119|    TmpOperands.push_back(DefaultMemSIOperand(NameLoc));
 2732|    119|    HadVerifyError = VerifyAndAdjustOperands(Operands, TmpOperands);
 2733|    119|  }
 2734|       |
 2735|       |  // Transform "stos[bwlq]" into "stos[bwlq] ($DIREG)" for appropriate
 2736|       |  // values of $DIREG according to the mode. It would be nice if this
 2737|       |  // could be achieved with InstAlias in the tables.
 2738|  27.5k|  if (Name.startswith("stos") &&
  ------------------
  |  Branch (2738:7): [True: 294, False: 27.2k]
  |  Branch (2738:7): [True: 279, False: 27.3k]
  ------------------
 2739|    294|      (Operands.size() == 1 || Operands.size() == 2) &&
  ------------------
  |  Branch (2739:8): [True: 287, False: 7]
  |  Branch (2739:32): [True: 5, False: 2]
  ------------------
 2740|    292|      (Name == "stos" || Name == "stosb" || Name == "stosw" ||
  ------------------
  |  Branch (2740:8): [True: 6, False: 286]
  |  Branch (2740:26): [True: 9, False: 277]
  |  Branch (2740:45): [True: 225, False: 52]
  ------------------
 2741|    279|       Name == "stosl" || Name == "stosd" || Name == "stosq")) {
  ------------------
  |  Branch (2741:8): [True: 1, False: 51]
  |  Branch (2741:27): [True: 36, False: 15]
  |  Branch (2741:46): [True: 2, False: 13]
  ------------------
 2742|    279|    TmpOperands.push_back(DefaultMemDIOperand(NameLoc));
 2743|    279|    HadVerifyError = VerifyAndAdjustOperands(Operands, TmpOperands);
 2744|    279|  }
 2745|       |
 2746|       |  // Transform "scas[bwlq]" into "scas[bwlq] ($DIREG)" for appropriate
 2747|       |  // values of $DIREG according to the mode. It would be nice if this
 2748|       |  // could be achieved with InstAlias in the tables.
 2749|  27.5k|  if (Name.startswith("scas") &&
  ------------------
  |  Branch (2749:7): [True: 138, False: 27.4k]
  |  Branch (2749:7): [True: 121, False: 27.4k]
  ------------------
 2750|    138|      (Operands.size() == 1 || Operands.size() == 2) &&
  ------------------
  |  Branch (2750:8): [True: 121, False: 17]
  |  Branch (2750:32): [True: 4, False: 13]
  ------------------
 2751|    125|      (Name == "scas" || Name == "scasb" || Name == "scasw" ||
  ------------------
  |  Branch (2751:8): [True: 15, False: 110]
  |  Branch (2751:26): [True: 1, False: 109]
  |  Branch (2751:45): [True: 101, False: 8]
  ------------------
 2752|    121|       Name == "scasl" || Name == "scasd" || Name == "scasq")) {
  ------------------
  |  Branch (2752:8): [True: 1, False: 7]
  |  Branch (2752:27): [True: 2, False: 5]
  |  Branch (2752:46): [True: 1, False: 4]
  ------------------
 2753|    121|    TmpOperands.push_back(DefaultMemDIOperand(NameLoc));
 2754|    121|    HadVerifyError = VerifyAndAdjustOperands(Operands, TmpOperands);
 2755|    121|  }
 2756|       |
 2757|       |  // Add default SI and DI operands to "cmps[bwlq]".
 2758|  27.5k|  if (Name.startswith("cmps") &&
  ------------------
  |  Branch (2758:7): [True: 377, False: 27.2k]
  |  Branch (2758:7): [True: 330, False: 27.2k]
  ------------------
 2759|    377|      (Operands.size() == 1 || Operands.size() == 3) &&
  ------------------
  |  Branch (2759:8): [True: 370, False: 7]
  |  Branch (2759:32): [True: 2, False: 5]
  ------------------
 2760|    372|      (Name == "cmps" || Name == "cmpsb" || Name == "cmpsw" ||
  ------------------
  |  Branch (2760:8): [True: 17, False: 355]
  |  Branch (2760:26): [True: 51, False: 304]
  |  Branch (2760:45): [True: 124, False: 180]
  ------------------
 2761|    330|       Name == "cmpsl" || Name == "cmpsd" || Name == "cmpsq")) {
  ------------------
  |  Branch (2761:8): [True: 1, False: 179]
  |  Branch (2761:27): [True: 101, False: 78]
  |  Branch (2761:46): [True: 36, False: 42]
  ------------------
 2762|    330|    AddDefaultSrcDestOperands(TmpOperands, DefaultMemDIOperand(NameLoc),
 2763|    330|                              DefaultMemSIOperand(NameLoc));
 2764|    330|    HadVerifyError = VerifyAndAdjustOperands(Operands, TmpOperands);
 2765|    330|  }
 2766|       |
 2767|       |  // Add default SI and DI operands to "movs[bwlq]".
 2768|  27.5k|  if (((Name.startswith("movs") &&
  ------------------
  |  Branch (2768:7): [True: 3.26k, False: 24.3k]
  |  Branch (2768:9): [True: 3.26k, False: 24.3k]
  ------------------
 2769|  3.26k|        (Name == "movs" || Name == "movsb" || Name == "movsw" ||
  ------------------
  |  Branch (2769:10): [True: 29, False: 3.23k]
  |  Branch (2769:28): [True: 47, False: 3.19k]
  |  Branch (2769:47): [True: 66, False: 3.12k]
  ------------------
 2770|  3.12k|         Name == "movsl" || Name == "movsd" || Name == "movsq")) ||
  ------------------
  |  Branch (2770:10): [True: 1, False: 3.12k]
  |  Branch (2770:29): [True: 2, False: 3.12k]
  |  Branch (2770:48): [True: 3.11k, False: 8]
  ------------------
 2771|  24.3k|       (Name.startswith("smov") &&
  ------------------
  |  Branch (2771:9): [True: 25, False: 24.2k]
  ------------------
 2772|     25|        (Name == "smov" || Name == "smovb" || Name == "smovw" ||
  ------------------
  |  Branch (2772:10): [True: 5, False: 20]
  |  Branch (2772:28): [True: 1, False: 19]
  |  Branch (2772:47): [True: 1, False: 18]
  ------------------
 2773|     18|         Name == "smovl" || Name == "smovd" || Name == "smovq"))) &&
  ------------------
  |  Branch (2773:10): [True: 4, False: 14]
  |  Branch (2773:29): [True: 1, False: 13]
  |  Branch (2773:48): [True: 1, False: 12]
  ------------------
 2774|  3.27k|      (Operands.size() == 1 || Operands.size() == 3)) {
  ------------------
  |  Branch (2774:8): [True: 3.25k, False: 14]
  |  Branch (2774:32): [True: 3, False: 11]
  ------------------
 2775|  3.26k|    if (Name == "movsd" && Operands.size() == 1)
  ------------------
  |  Branch (2775:9): [True: 1, False: 3.25k]
  |  Branch (2775:9): [True: 1, False: 3.25k]
  |  Branch (2775:28): [True: 1, False: 0]
  ------------------
 2776|      1|      Operands.back() = X86Operand::CreateToken("movsl", NameLoc);
 2777|  3.26k|    AddDefaultSrcDestOperands(TmpOperands, DefaultMemSIOperand(NameLoc),
 2778|  3.26k|                              DefaultMemDIOperand(NameLoc));
 2779|  3.26k|    HadVerifyError = VerifyAndAdjustOperands(Operands, TmpOperands);
 2780|  3.26k|  }
 2781|       |
 2782|       |  // Check if we encountered an error for one the string insturctions
 2783|  27.5k|  if (HadVerifyError) {
  ------------------
  |  Branch (2783:7): [True: 0, False: 27.5k]
  ------------------
 2784|      0|    ErrorCode = KS_ERR_ASM_X86_INVALIDOPERAND;
 2785|      0|    return HadVerifyError;
 2786|      0|  }
 2787|       |
 2788|       |  // FIXME: Hack to handle recognize s{hr,ar,hl} $1, <op>.  Canonicalize to
 2789|       |  // "shift <op>".
 2790|  27.5k|  if ((Name.startswith("shr") || Name.startswith("sar") ||
  ------------------
  |  Branch (2790:7): [True: 125, False: 27.4k]
  |  Branch (2790:8): [True: 5, False: 27.5k]
  |  Branch (2790:34): [True: 40, False: 27.5k]
  ------------------
 2791|  27.5k|       Name.startswith("shl") || Name.startswith("sal") ||
  ------------------
  |  Branch (2791:8): [True: 22, False: 27.5k]
  |  Branch (2791:34): [True: 77, False: 27.4k]
  ------------------
 2792|  27.4k|       Name.startswith("rcl") || Name.startswith("rcr") ||
  ------------------
  |  Branch (2792:8): [True: 7, False: 27.4k]
  |  Branch (2792:34): [True: 22, False: 27.4k]
  ------------------
 2793|  27.4k|       Name.startswith("rol") || Name.startswith("ror")) &&
  ------------------
  |  Branch (2793:8): [True: 59, False: 27.3k]
  |  Branch (2793:34): [True: 6, False: 27.3k]
  ------------------
 2794|    238|      Operands.size() == 3) {
  ------------------
  |  Branch (2794:7): [True: 125, False: 113]
  ------------------
 2795|    125|    if (isParsingIntelSyntax()) {
  ------------------
  |  Branch (2795:9): [True: 75, False: 50]
  ------------------
 2796|       |      // Intel syntax
 2797|     75|      X86Operand &Op1 = static_cast<X86Operand &>(*Operands[2]);
 2798|     75|      if (Op1.isImm() && isa<MCConstantExpr>(Op1.getImm()) &&
  ------------------
  |  Branch (2798:11): [True: 55, False: 20]
  |  Branch (2798:11): [True: 1, False: 74]
  |  Branch (2798:26): [True: 53, False: 2]
  ------------------
 2799|     53|          cast<MCConstantExpr>(Op1.getImm())->getValue() == 1)
  ------------------
  |  Branch (2799:11): [True: 1, False: 52]
  ------------------
 2800|      1|        Operands.pop_back();
 2801|     75|    } else {
 2802|     50|      X86Operand &Op1 = static_cast<X86Operand &>(*Operands[1]);
 2803|     50|      if (Op1.isImm() && isa<MCConstantExpr>(Op1.getImm()) &&
  ------------------
  |  Branch (2803:11): [True: 1, False: 49]
  |  Branch (2803:11): [True: 0, False: 50]
  |  Branch (2803:26): [True: 1, False: 0]
  ------------------
 2804|      1|          cast<MCConstantExpr>(Op1.getImm())->getValue() == 1)
  ------------------
  |  Branch (2804:11): [True: 0, False: 1]
  ------------------
 2805|      0|        Operands.erase(Operands.begin() + 1);
 2806|     50|    }
 2807|    125|  }
 2808|       |
 2809|       |  // Transforms "xlat mem8" into "xlatb"
 2810|  27.5k|  if ((Name == "xlat" || Name == "xlatb") && Operands.size() == 2) {
  ------------------
  |  Branch (2810:7): [True: 48, False: 27.5k]
  |  Branch (2810:8): [True: 49, False: 27.5k]
  |  Branch (2810:26): [True: 21, False: 27.5k]
  |  Branch (2810:46): [True: 48, False: 22]
  ------------------
 2811|     48|    X86Operand &Op1 = static_cast<X86Operand &>(*Operands[1]);
 2812|     48|    if (Op1.isMem8()) {
  ------------------
  |  Branch (2812:9): [True: 47, False: 1]
  ------------------
 2813|     47|      Warning(Op1.getStartLoc(), "memory operand is only for determining the "
 2814|     47|                                 "size, (R|E)BX will be used for the location");
 2815|     47|      Operands.pop_back();
 2816|     47|      static_cast<X86Operand &>(*Operands[0]).setTokenValue("xlatb");
 2817|     47|    }
 2818|     48|  }
 2819|       |
 2820|  27.5k|  return false;
 2821|  27.5k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser12consumeTokenEv:
   72|  64.2k|  SMLoc consumeToken() {
   73|  64.2k|    MCAsmParser &Parser = getParser();
   74|  64.2k|    SMLoc Result = Parser.getTok().getLoc();
   75|  64.2k|    Parser.Lex();
   76|  64.2k|    return Result;
   77|  64.2k|  }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser12ParseOperandENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERj:
 1244|  81.7k|{
 1245|  81.7k|  if (isParsingIntelSyntax())
  ------------------
  |  Branch (1245:7): [True: 67.6k, False: 14.1k]
  ------------------
 1246|  67.6k|    return ParseIntelOperand(Mnem, KsError);
 1247|  14.1k|  return ParseATTOperand(KsError);
 1248|  81.7k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser17ParseIntelOperandENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERj:
 1950|  67.6k|{
 1951|  67.6k|  MCAsmParser &Parser = getParser();
 1952|  67.6k|  const AsmToken &Tok = Parser.getTok();
 1953|  67.6k|  SMLoc Start, End;
 1954|       |
 1955|       |  //printf(">> ParseIntelOperand::Tok = %s\n", Tok.getString().str().c_str());
 1956|       |
 1957|       |  // Offset, length, type and size operators.
 1958|  67.6k|  if (isParsingInlineAsm()) {
  ------------------
  |  Branch (1958:7): [True: 0, False: 67.6k]
  ------------------
 1959|      0|    std::string AsmTokStr = Tok.getString().lower();
 1960|      0|    if (AsmTokStr == "offset")
  ------------------
  |  Branch (1960:9): [True: 0, False: 0]
  ------------------
 1961|      0|      return ParseIntelOffsetOfOperator(KsError);
 1962|      0|    if (AsmTokStr == "length")
  ------------------
  |  Branch (1962:9): [True: 0, False: 0]
  ------------------
 1963|      0|      return ParseIntelOperator(IOK_LENGTH, KsError);
 1964|      0|    if (AsmTokStr == "size")
  ------------------
  |  Branch (1964:9): [True: 0, False: 0]
  ------------------
 1965|      0|      return ParseIntelOperator(IOK_SIZE, KsError);
 1966|      0|    if (AsmTokStr == "type")
  ------------------
  |  Branch (1966:9): [True: 0, False: 0]
  ------------------
 1967|      0|      return ParseIntelOperator(IOK_TYPE, KsError);
 1968|      0|  }
 1969|       |
 1970|  67.6k|  bool PtrInOperand = false;
 1971|  67.6k|  unsigned Size = getIntelMemOperandSize(Tok.getString());
 1972|  67.6k|  if (Size) {
  ------------------
  |  Branch (1972:7): [True: 185, False: 67.4k]
  ------------------
 1973|    185|    Parser.Lex(); // Eat operand size (e.g., byte, word).
 1974|    185|    if (KsSyntax == KS_OPT_SYNTAX_NASM) {
  ------------------
  |  Branch (1974:9): [True: 119, False: 66]
  ------------------
 1975|       |        // Nasm do not accept 'PTR' in memory operands
 1976|    119|        if (Tok.getString().lower() == "ptr")
  ------------------
  |  Branch (1976:13): [True: 0, False: 119]
  ------------------
 1977|      0|            return ErrorOperand(Tok.getLoc(), "Do not expected 'PTR' or 'ptr' token!");
 1978|    119|    } else {
 1979|       |        // LLVM requires 'PTR' in memory operand
 1980|       |        // except in the case of "push"
 1981|     66|        if (Tok.getString().lower() == "ptr") {
  ------------------
  |  Branch (1981:13): [True: 0, False: 66]
  ------------------
 1982|      0|            Parser.Lex(); // Eat ptr.
 1983|     66|        } else if (Mnem != "push")
  ------------------
  |  Branch (1983:20): [True: 38, False: 28]
  ------------------
 1984|     38|            return ErrorOperand(Tok.getLoc(), "Expected 'PTR' or 'ptr' token!");
 1985|     66|    }
 1986|    147|    PtrInOperand = true;
 1987|    147|  }
 1988|       |
 1989|  67.6k|  Start = Tok.getLoc();
 1990|       |
 1991|       |  // Immediate.
 1992|  67.6k|  if (getLexer().is(AsmToken::Integer) || getLexer().is(AsmToken::Minus) ||
  ------------------
  |  Branch (1992:7): [True: 3.36k, False: 64.2k]
  |  Branch (1992:43): [True: 10.3k, False: 53.8k]
  ------------------
 1993|  53.8k|      getLexer().is(AsmToken::Tilde) || getLexer().is(AsmToken::LParen)) {
  ------------------
  |  Branch (1993:7): [True: 447, False: 53.4k]
  |  Branch (1993:41): [True: 1.72k, False: 51.7k]
  ------------------
 1994|  15.9k|    AsmToken StartTok = Tok;
 1995|  15.9k|    IntelExprStateMachine SM(/*Imm=*/0, /*StopOnLBrac=*/true,
 1996|  15.9k|                             /*AddImmPrefix=*/false);
 1997|  15.9k|    if (ParseIntelExpression(SM, End)) {
  ------------------
  |  Branch (1997:9): [True: 1.01k, False: 14.9k]
  ------------------
 1998|  1.01k|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 1999|  1.01k|      return nullptr;
 2000|  1.01k|    }
 2001|       |
 2002|  14.9k|    int64_t Imm = SM.getImm(KsError);
 2003|  14.9k|    if (KsError) {
  ------------------
  |  Branch (2003:9): [True: 192, False: 14.7k]
  ------------------
 2004|    192|      return nullptr;
 2005|    192|    }
 2006|       |
 2007|  14.7k|    if (isParsingInlineAsm()) {
  ------------------
  |  Branch (2007:9): [True: 0, False: 14.7k]
  ------------------
 2008|      0|      unsigned Len = Tok.getLoc().getPointer() - Start.getPointer();
 2009|      0|      if (StartTok.getString().size() == Len)
  ------------------
  |  Branch (2009:11): [True: 0, False: 0]
  ------------------
 2010|       |        // Just add a prefix if this wasn't a complex immediate expression.
 2011|      0|        InstInfo->AsmRewrites->emplace_back(AOK_ImmPrefix, Start);
 2012|      0|      else
 2013|       |        // Otherwise, rewrite the complex expression as a single immediate.
 2014|      0|        InstInfo->AsmRewrites->emplace_back(AOK_Imm, Start, Len, Imm);
 2015|      0|    }
 2016|       |
 2017|  14.7k|    if (getLexer().isNot(AsmToken::LBrac)) {
  ------------------
  |  Branch (2017:9): [True: 12.1k, False: 2.60k]
  ------------------
 2018|       |      // If a directional label (ie. 1f or 2b) was parsed above from
 2019|       |      // ParseIntelExpression() then SM.getSym() was set to a pointer to
 2020|       |      // to the MCExpr with the directional local symbol and this is a
 2021|       |      // memory operand not an immediate operand.
 2022|  12.1k|      if (SM.getSym())
  ------------------
  |  Branch (2022:11): [True: 3.72k, False: 8.38k]
  ------------------
 2023|  3.72k|        return X86Operand::CreateMem(getPointerWidth(), SM.getSym(), Start, End,
 2024|  3.72k|                                     Size);
 2025|       |
 2026|  8.38k|      if (Mnem == "call" || Mnem == "loop" || Mnem == "loope" ||
  ------------------
  |  Branch (2026:11): [True: 46, False: 8.34k]
  |  Branch (2026:29): [True: 252, False: 8.08k]
  |  Branch (2026:47): [True: 11, False: 8.07k]
  ------------------
 2027|  8.07k|              Mnem == "loopne" || Mnem.c_str()[0] == 'j') {
  ------------------
  |  Branch (2027:15): [True: 5, False: 8.07k]
  |  Branch (2027:35): [True: 5.03k, False: 3.03k]
  ------------------
 2028|       |          // CALL/JMP/Jxx <immediate> (Keystone)
 2029|  5.35k|          const MCExpr *Disp = MCConstantExpr::create(Imm, Parser.getContext());
 2030|  5.35k|          return X86Operand::CreateMem(0, 0, Disp, 0, 0, 1,
 2031|  5.35k|                  Start, End, 0);
 2032|  5.35k|      }
 2033|       |
 2034|       |      // dirty hacky way to deal with PUSH 0xd/PUSH word 0xd
 2035|  3.03k|      if (Mnem == "push") {
  ------------------
  |  Branch (2035:11): [True: 231, False: 2.80k]
  ------------------
 2036|    231|          if (Size == 0)
  ------------------
  |  Branch (2036:15): [True: 230, False: 1]
  ------------------
 2037|    230|              push32 = true;
 2038|    231|      }
 2039|       |
 2040|  3.03k|      const MCExpr *ImmExpr = MCConstantExpr::create(Imm, getContext());
 2041|  3.03k|      return X86Operand::CreateImm(ImmExpr, Start, End);
 2042|  8.38k|    }
 2043|       |
 2044|       |    // Only positive immediates are valid.
 2045|  2.60k|    if (Imm < 0)
  ------------------
  |  Branch (2045:9): [True: 50, False: 2.55k]
  ------------------
 2046|     50|      return ErrorOperand(Start, "expected a positive immediate displacement "
 2047|     50|                          "before bracketed expr.");
 2048|       |
 2049|       |    // Parse ImmDisp [ BaseReg + Scale*IndexReg + Disp ].
 2050|  2.55k|    return ParseIntelMemOperand(Mnem, Imm, Start, Size, KsError);
 2051|  2.60k|  }
 2052|       |
 2053|       |  // rounding mode token
 2054|  51.7k|  if (getSTI().getFeatureBits()[X86::FeatureAVX512] &&
  ------------------
  |  Branch (2054:7): [True: 51.7k, False: 0]
  |  Branch (2054:7): [True: 211, False: 51.5k]
  ------------------
 2055|  51.7k|      getLexer().is(AsmToken::LCurly)) {
  ------------------
  |  Branch (2055:7): [True: 211, False: 51.5k]
  ------------------
 2056|    211|    return ParseRoundingModeOp(Start, End, KsError);
 2057|    211|  }
 2058|       |
 2059|       |  // Register.
 2060|  51.5k|  unsigned RegNo = 0;
 2061|  51.5k|  unsigned int ErrorCode;
 2062|  51.5k|  if (!ParseRegister(RegNo, Start, End, ErrorCode)) {
  ------------------
  |  Branch (2062:7): [True: 2.01k, False: 49.4k]
  ------------------
 2063|       |    // If this is a segment register followed by a ':', then this is the start
 2064|       |    // of a segment override, otherwise this is a normal register reference.
 2065|       |    // In case it is a normal register and there is ptr in the operand this
 2066|       |    // is an error
 2067|  2.01k|    if (RegNo == X86::RIP)
  ------------------
  |  Branch (2067:9): [True: 0, False: 2.01k]
  ------------------
 2068|      0|      return ErrorOperand(Start, "rip can only be used as a base register");
 2069|  2.01k|    if (getLexer().isNot(AsmToken::Colon)) {
  ------------------
  |  Branch (2069:9): [True: 1.82k, False: 188]
  ------------------
 2070|  1.82k|      if (PtrInOperand) {
  ------------------
  |  Branch (2070:11): [True: 1, False: 1.82k]
  ------------------
 2071|      1|        return ErrorOperand(Start, "expected memory operand after "
 2072|      1|                                   "'ptr', found register operand instead");
 2073|      1|      }
 2074|  1.82k|      return X86Operand::CreateReg(RegNo, Start, End);
 2075|  1.82k|    }
 2076|       |    
 2077|    188|    return ParseIntelSegmentOverride(/*SegReg=*/RegNo, Start, Size, KsError);
 2078|  2.01k|  }
 2079|       |
 2080|       |  // Memory operand.
 2081|  49.4k|  return ParseIntelMemOperand(Mnem, /*Disp=*/0, Start, Size, KsError);
 2082|  51.5k|}
X86AsmParser.cpp:_ZNK12_GLOBAL__N_112X86AsmParser11is32BitModeEv:
  858|  16.0k|  bool is32BitMode() const {
  859|       |    // FIXME: Can tablegen auto-generate this?
  860|  16.0k|    return getSTI().getFeatureBits()[X86::Mode32Bit];
  861|  16.0k|  }
X86AsmParser.cpp:_ZL22getIntelMemOperandSizeN7llvm_ks9StringRefE:
 1251|  67.6k|static unsigned getIntelMemOperandSize(StringRef OpStr) {
 1252|  67.6k|  unsigned Size = StringSwitch<unsigned>(OpStr)
 1253|  67.6k|    .Cases("BYTE", "byte", 8)
 1254|  67.6k|    .Cases("WORD", "word", 16)
 1255|  67.6k|    .Cases("DWORD", "dword", 32)
 1256|  67.6k|    .Cases("FWORD", "fword", 48)
 1257|  67.6k|    .Cases("QWORD", "qword", 64)
 1258|  67.6k|    .Cases("MMWORD","mmword", 64)
 1259|  67.6k|    .Cases("XWORD", "xword", 80)
 1260|  67.6k|    .Cases("TBYTE", "tbyte", 80)
 1261|  67.6k|    .Cases("XMMWORD", "xmmword", 128)
 1262|  67.6k|    .Cases("YMMWORD", "ymmword", 256)
 1263|  67.6k|    .Cases("ZMMWORD", "zmmword", 512)
 1264|  67.6k|    .Cases("OPAQUE", "opaque", -1U) // needs to be non-zero, but doesn't matter
 1265|  67.6k|    .Default(0);
 1266|  67.6k|  return Size;
 1267|  67.6k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser12ErrorOperandEN7llvm_ks5SMLocENS1_9StringRefE:
  771|  3.30k|  std::nullptr_t ErrorOperand(SMLoc Loc, StringRef Msg) {
  772|       |    //Error(Loc, Msg);
  773|  3.30k|    return nullptr;
  774|  3.30k|  }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachineC2Elbbb:
  332|  20.2k|      State(IES_PLUS), PrevState(IES_ERROR), BaseReg(0), IndexReg(0), TmpReg(0),
  333|  20.2k|      Scale(1), Imm(imm), Sym(nullptr), StopOnLBrac(stoponlbrac),
  334|  20.2k|      AddImmPrefix(addimmprefix), Rel(isrel), Abs(false) { Info.clear(); }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser20ParseIntelExpressionERNS0_21IntelExprStateMachineERN7llvm_ks5SMLocE:
 1375|  20.2k|{
 1376|  20.2k|  unsigned int ErrorCode;
 1377|  20.2k|  MCAsmParser &Parser = getParser();
 1378|  20.2k|  const AsmToken &Tok = Parser.getTok();
 1379|       |
 1380|       |  // nasm tokens rel / abs are only valid at the beginning of the expression.
 1381|  20.2k|  if (KsSyntax == KS_OPT_SYNTAX_NASM) {
  ------------------
  |  Branch (1381:7): [True: 493, False: 19.7k]
  ------------------
 1382|    505|    while (getLexer().getKind() == AsmToken::Identifier) {
  ------------------
  |  Branch (1382:12): [True: 134, False: 371]
  ------------------
 1383|    134|      std::string Identifier = Tok.getString().lower();
 1384|    134|      if (Identifier == "rel") {
  ------------------
  |  Branch (1384:11): [True: 12, False: 122]
  ------------------
 1385|     12|        SM.onRel();
 1386|     12|        consumeToken();
 1387|     12|        continue;
 1388|    122|      } else if (Identifier == "abs") {
  ------------------
  |  Branch (1388:18): [True: 0, False: 122]
  ------------------
 1389|      0|        SM.onAbs();
 1390|      0|        consumeToken();
 1391|      0|        continue;
 1392|      0|      }
 1393|    122|      break;
 1394|    134|    }
 1395|    493|  }
 1396|       |
 1397|  20.2k|  AsmToken::TokenKind PrevTK = AsmToken::Error;
 1398|  20.2k|  bool Done = false;
 1399|   121k|  while (!Done) {
  ------------------
  |  Branch (1399:10): [True: 105k, False: 16.0k]
  ------------------
 1400|   105k|    bool UpdateLocLex = true;
 1401|       |
 1402|       |    // The period in the dot operator (e.g., [ebx].foo.bar) is parsed as an
 1403|       |    // identifier.  Don't try an parse it as a register.
 1404|   105k|    if (Tok.getString().startswith("."))
  ------------------
  |  Branch (1404:9): [True: 299, False: 105k]
  ------------------
 1405|    299|      break;
 1406|       |
 1407|       |    // If we're parsing an immediate expression, we don't expect a '['.
 1408|   105k|    if (SM.getStopOnLBrac() && getLexer().getKind() == AsmToken::LBrac)
  ------------------
  |  Branch (1408:9): [True: 84.6k, False: 20.3k]
  |  Branch (1408:32): [True: 2.60k, False: 82.0k]
  ------------------
 1409|  2.60k|      break;
 1410|       |
 1411|   102k|    AsmToken::TokenKind TK = getLexer().getKind();
 1412|   102k|    switch (TK) {
 1413|  5.38k|    default: {
  ------------------
  |  Branch (1413:5): [True: 5.38k, False: 97.0k]
  ------------------
 1414|  5.38k|      if (SM.isValidEndState()) {
  ------------------
  |  Branch (1414:11): [True: 5.24k, False: 132]
  ------------------
 1415|  5.24k|        Done = true;
 1416|  5.24k|        break;
 1417|  5.24k|      }
 1418|       |      //return Error(Tok.getLoc(), "unknown token in expression");
 1419|    132|      return true;
 1420|  5.38k|    }
 1421|  10.8k|    case AsmToken::EndOfStatement: {
  ------------------
  |  Branch (1421:5): [True: 10.8k, False: 91.5k]
  ------------------
 1422|  10.8k|      Done = true;
 1423|  10.8k|      break;
 1424|  5.38k|    }
 1425|     25|    case AsmToken::String:
  ------------------
  |  Branch (1425:5): [True: 25, False: 102k]
  ------------------
 1426|  25.1k|    case AsmToken::Identifier: {
  ------------------
  |  Branch (1426:5): [True: 25.1k, False: 77.2k]
  ------------------
 1427|       |      // This could be a register or a symbolic displacement.
 1428|  25.1k|      unsigned TmpReg;
 1429|  25.1k|      const MCExpr *Val;
 1430|  25.1k|      SMLoc IdentLoc = Tok.getLoc();
 1431|  25.1k|      StringRef Identifier = Tok.getString();
 1432|  25.1k|      if (TK != AsmToken::String && !ParseRegister(TmpReg, IdentLoc, End, ErrorCode)) {
  ------------------
  |  Branch (1432:11): [True: 25.1k, False: 25]
  |  Branch (1432:37): [True: 1.68k, False: 23.4k]
  ------------------
 1433|  1.68k|        SM.onRegister(TmpReg);
 1434|  1.68k|        if (SM.hadError())
  ------------------
  |  Branch (1434:13): [True: 22, False: 1.65k]
  ------------------
 1435|     22|            return true;
 1436|  1.65k|        UpdateLocLex = false;
 1437|  1.65k|        break;
 1438|  23.4k|      } else {
 1439|  23.4k|        if (!isParsingInlineAsm()) {
  ------------------
  |  Branch (1439:13): [True: 23.4k, False: 0]
  ------------------
 1440|  23.4k|          if (getParser().parsePrimaryExpr(Val, End))
  ------------------
  |  Branch (1440:15): [True: 779, False: 22.6k]
  ------------------
 1441|       |            //return Error(Tok.getLoc(), "Unexpected identifier!");
 1442|    779|            return true;
 1443|  23.4k|        } else {
 1444|       |          // This is a dot operator, not an adjacent identifier.
 1445|      0|          if (Identifier.find('.') != StringRef::npos &&
  ------------------
  |  Branch (1445:15): [True: 0, False: 0]
  ------------------
 1446|      0|              PrevTK == AsmToken::RBrac) {
  ------------------
  |  Branch (1446:15): [True: 0, False: 0]
  ------------------
 1447|      0|            return false;
 1448|      0|          } else {
 1449|      0|            InlineAsmIdentifierInfo &Info = SM.getIdentifierInfo();
 1450|      0|            if (ParseIntelIdentifier(Val, Identifier, Info,
  ------------------
  |  Branch (1450:17): [True: 0, False: 0]
  ------------------
 1451|      0|                                     /*Unevaluated=*/false, End))
 1452|      0|              return true;
 1453|      0|          }
 1454|      0|        }
 1455|  22.6k|        SM.onIdentifierExpr(Val, Identifier);
 1456|  22.6k|        UpdateLocLex = false;
 1457|  22.6k|        break;
 1458|  23.4k|      }
 1459|       |      //return Error(Tok.getLoc(), "Unexpected identifier!");
 1460|      0|      return true;
 1461|  25.1k|    }
 1462|  13.6k|    case AsmToken::Integer: {
  ------------------
  |  Branch (1462:5): [True: 13.6k, False: 88.7k]
  ------------------
 1463|  13.6k|      StringRef ErrMsg;
 1464|  13.6k|      if (isParsingInlineAsm() && SM.getAddImmPrefix())
  ------------------
  |  Branch (1464:11): [True: 0, False: 13.6k]
  |  Branch (1464:35): [True: 0, False: 0]
  ------------------
 1465|      0|        InstInfo->AsmRewrites->emplace_back(AOK_ImmPrefix, Tok.getLoc());
 1466|       |      // Look for 'b' or 'f' following an Integer as a directional label
 1467|       |      //SMLoc Loc = getTok().getLoc();
 1468|  13.6k|      bool valid;
 1469|  13.6k|      int64_t IntVal = getTok().getIntVal(valid);
 1470|  13.6k|      if (!valid)
  ------------------
  |  Branch (1470:11): [True: 0, False: 13.6k]
  ------------------
 1471|      0|          return true;
 1472|  13.6k|      End = consumeToken();
 1473|  13.6k|      UpdateLocLex = false;
 1474|  13.6k|      if (getLexer().getKind() == AsmToken::Identifier) {
  ------------------
  |  Branch (1474:11): [True: 352, False: 13.3k]
  ------------------
 1475|    352|        StringRef IDVal = getTok().getString();
 1476|    352|        if (IDVal == "f" || IDVal == "b") {
  ------------------
  |  Branch (1476:13): [True: 2, False: 350]
  |  Branch (1476:13): [True: 14, False: 338]
  |  Branch (1476:29): [True: 12, False: 338]
  ------------------
 1477|     14|          bool valid;
 1478|     14|          MCSymbol *Sym =
 1479|     14|              getContext().getDirectionalLocalSymbol(IntVal, IDVal == "b", valid);
 1480|     14|          if (!valid)
  ------------------
  |  Branch (1480:15): [True: 14, False: 0]
  ------------------
 1481|     14|              return true;
 1482|      0|          MCSymbolRefExpr::VariantKind Variant = MCSymbolRefExpr::VK_None;
 1483|      0|          const MCExpr *Val =
 1484|      0|              MCSymbolRefExpr::create(Sym, Variant, getContext());
 1485|      0|          if (IDVal == "b" && Sym->isUndefined())
  ------------------
  |  Branch (1485:15): [True: 0, False: 0]
  |  Branch (1485:15): [True: 0, False: 0]
  |  Branch (1485:31): [True: 0, False: 0]
  ------------------
 1486|       |            //return Error(Loc, "invalid reference to undefined symbol");
 1487|      0|            return true;
 1488|      0|          StringRef Identifier = Sym->getName();
 1489|      0|          SM.onIdentifierExpr(Val, Identifier);
 1490|      0|          End = consumeToken();
 1491|    338|        } else {
 1492|    338|          if (SM.onInteger(IntVal, ErrMsg))
  ------------------
  |  Branch (1492:15): [True: 4, False: 334]
  ------------------
 1493|       |            //return Error(Loc, ErrMsg);
 1494|      4|            return true;
 1495|    338|        }
 1496|  13.3k|      } else {
 1497|  13.3k|        if (SM.onInteger(IntVal, ErrMsg))
  ------------------
  |  Branch (1497:13): [True: 11, False: 13.3k]
  ------------------
 1498|       |          //return Error(Loc, ErrMsg);
 1499|     11|          return true;
 1500|  13.3k|      }
 1501|  13.6k|      break;
 1502|  13.6k|    }
 1503|  13.6k|    case AsmToken::Plus:    SM.onPlus(); break;
  ------------------
  |  Branch (1503:5): [True: 3.03k, False: 99.3k]
  ------------------
 1504|  29.7k|    case AsmToken::Minus:   SM.onMinus(); break;
  ------------------
  |  Branch (1504:5): [True: 29.7k, False: 72.6k]
  ------------------
 1505|  2.41k|    case AsmToken::Tilde:   SM.onNot(); break;
  ------------------
  |  Branch (1505:5): [True: 2.41k, False: 100k]
  ------------------
 1506|  1.43k|    case AsmToken::Star:    SM.onStar(); break;
  ------------------
  |  Branch (1506:5): [True: 1.43k, False: 100k]
  ------------------
 1507|    425|    case AsmToken::Slash:   SM.onDivide(); break;
  ------------------
  |  Branch (1507:5): [True: 425, False: 101k]
  ------------------
 1508|    598|    case AsmToken::Pipe:    SM.onOr(); break;
  ------------------
  |  Branch (1508:5): [True: 598, False: 101k]
  ------------------
 1509|    452|    case AsmToken::Caret:   SM.onXor(); break;
  ------------------
  |  Branch (1509:5): [True: 452, False: 101k]
  ------------------
 1510|    447|    case AsmToken::Amp:     SM.onAnd(); break;
  ------------------
  |  Branch (1510:5): [True: 447, False: 101k]
  ------------------
 1511|    169|    case AsmToken::LessLess:
  ------------------
  |  Branch (1511:5): [True: 169, False: 102k]
  ------------------
 1512|    169|                            SM.onLShift(); break;
 1513|    676|    case AsmToken::GreaterGreater:
  ------------------
  |  Branch (1513:5): [True: 676, False: 101k]
  ------------------
 1514|    676|                            SM.onRShift(); break;
 1515|    115|    case AsmToken::LBrac:   SM.onLBrac(); break;
  ------------------
  |  Branch (1515:5): [True: 115, False: 102k]
  ------------------
 1516|  1.36k|    case AsmToken::RBrac:   SM.onRBrac(); break;
  ------------------
  |  Branch (1516:5): [True: 1.36k, False: 101k]
  ------------------
 1517|  5.64k|    case AsmToken::LParen:  SM.onLParen(); break;
  ------------------
  |  Branch (1517:5): [True: 5.64k, False: 96.7k]
  ------------------
 1518|    878|    case AsmToken::RParen:  SM.onRParen(); break;
  ------------------
  |  Branch (1518:5): [True: 878, False: 101k]
  ------------------
 1519|   102k|    }
 1520|   101k|    if (SM.hadError())
  ------------------
  |  Branch (1520:9): [True: 323, False: 101k]
  ------------------
 1521|       |      //return Error(Tok.getLoc(), "unknown token in expression");
 1522|    323|      return true;
 1523|       |
 1524|   101k|    if (!Done && UpdateLocLex)
  ------------------
  |  Branch (1524:9): [True: 85.0k, False: 16.0k]
  |  Branch (1524:18): [True: 47.2k, False: 37.8k]
  ------------------
 1525|  47.2k|      End = consumeToken();
 1526|       |
 1527|   101k|    PrevTK = TK;
 1528|   101k|  }
 1529|  18.9k|  return false;
 1530|  20.2k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine5onRelEv:
  512|     12|    void onRel() {
  513|     12|      Rel = true;
  514|     12|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine14getStopOnLBracEv:
  345|   105k|    bool getStopOnLBrac() { return StopOnLBrac; }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine15isValidEndStateEv:
  342|  5.38k|    bool isValidEndState() {
  343|  5.38k|      return State == IES_RBRAC || State == IES_INTEGER;
  ------------------
  |  Branch (343:14): [True: 1.15k, False: 4.22k]
  |  Branch (343:36): [True: 4.09k, False: 132]
  ------------------
  344|  5.38k|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine10onRegisterEj:
  518|  1.68k|    void onRegister(unsigned Reg) {
  519|  1.68k|      IntelExprState CurrState = State;
  520|  1.68k|      switch (State) {
  521|     19|      default:
  ------------------
  |  Branch (521:7): [True: 19, False: 1.66k]
  ------------------
  522|     19|        State = IES_ERROR;
  523|     19|        break;
  524|  1.49k|      case IES_PLUS:
  ------------------
  |  Branch (524:7): [True: 1.49k, False: 189]
  ------------------
  525|  1.60k|      case IES_LPAREN:
  ------------------
  |  Branch (525:7): [True: 117, False: 1.56k]
  ------------------
  526|  1.60k|        State = IES_REGISTER;
  527|  1.60k|        TmpReg = Reg;
  528|  1.60k|        IC.pushOperand(IC_REGISTER);
  529|  1.60k|        break;
  530|     53|      case IES_MULTIPLY:
  ------------------
  |  Branch (530:7): [True: 53, False: 1.62k]
  ------------------
  531|       |        // Index Register - Scale * Register
  532|     53|        if (PrevState == IES_INTEGER) {
  ------------------
  |  Branch (532:13): [True: 52, False: 1]
  ------------------
  533|       |          //assert (!IndexReg && "IndexReg already set!");
  534|     52|          if (IndexReg) {
  ------------------
  |  Branch (534:15): [True: 1, False: 51]
  ------------------
  535|      1|              State = IES_ERROR;
  536|      1|              break;
  537|      1|          }
  538|     51|          State = IES_REGISTER;
  539|     51|          IndexReg = Reg;
  540|       |          // Get the scale and replace the 'Scale * Register' with '0'.
  541|     51|          bool valid;
  542|     51|          Scale = IC.popOperand(valid);
  543|     51|          if (!valid) {
  ------------------
  |  Branch (543:15): [True: 1, False: 50]
  ------------------
  544|      1|              State = IES_ERROR;
  545|      1|              break;
  546|      1|          }
  547|     50|          IC.pushOperand(IC_IMM);
  548|     50|          IC.popOperator();
  549|     50|        } else {
  550|      1|          State = IES_ERROR;
  551|      1|        }
  552|     51|        break;
  553|  1.68k|      }
  554|  1.68k|      PrevState = CurrState;
  555|  1.68k|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser15InfixCalculator11pushOperandENS0_18InfixCalculatorTokEl:
  113|  37.7k|    void pushOperand(InfixCalculatorTok Op, int64_t Val = 0) {
  114|  37.7k|      assert ((Op == IC_IMM || Op == IC_REGISTER) &&
  ------------------
  |  Branch (114:7): [True: 36.1k, False: 1.60k]
  |  Branch (114:7): [True: 1.60k, False: 0]
  |  Branch (114:7): [True: 37.7k, Folded]
  |  Branch (114:7): [True: 37.7k, False: 0]
  ------------------
  115|  37.7k|              "Unexpected operand!");
  116|  37.7k|      PostfixStack.push_back(std::make_pair(Op, Val));
  117|  37.7k|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser15InfixCalculator10popOperandERb:
  101|     51|    int64_t popOperand(bool &valid) {
  102|     51|      valid = true;
  103|       |      //assert (!PostfixStack.empty() && "Poped an empty stack!");
  104|     51|      if (PostfixStack.empty())
  ------------------
  |  Branch (104:11): [True: 0, False: 51]
  ------------------
  105|      0|          valid = false;
  106|     51|      ICToken Op = PostfixStack.pop_back_val();
  107|       |      //assert ((Op.first == IC_IMM || Op.first == IC_REGISTER)
  108|       |      //        && "Expected an immediate or register!");
  109|     51|      if ((Op.first != IC_IMM && Op.first != IC_REGISTER))
  ------------------
  |  Branch (109:12): [True: 1, False: 50]
  |  Branch (109:34): [True: 1, False: 0]
  ------------------
  110|      1|          valid = false;
  111|     51|      return Op.second;
  112|     51|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser15InfixCalculator11popOperatorEv:
  119|    101|    void popOperator() { InfixOperatorStack.pop_back(); }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine8hadErrorEv:
  347|   103k|    bool hadError() { return State == IES_ERROR; }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine16onIdentifierExprEPKN7llvm_ks6MCExprENS2_9StringRefE:
  556|  22.6k|    void onIdentifierExpr(const MCExpr *SymRef, StringRef SymRefName) {
  557|  22.6k|      PrevState = State;
  558|  22.6k|      switch (State) {
  559|    167|      default:
  ------------------
  |  Branch (559:7): [True: 167, False: 22.5k]
  ------------------
  560|    167|        State = IES_ERROR;
  561|    167|        break;
  562|  1.95k|      case IES_PLUS:
  ------------------
  |  Branch (562:7): [True: 1.95k, False: 20.7k]
  ------------------
  563|  21.8k|      case IES_MINUS:
  ------------------
  |  Branch (563:7): [True: 19.8k, False: 2.84k]
  ------------------
  564|  22.5k|      case IES_NOT:
  ------------------
  |  Branch (564:7): [True: 724, False: 21.9k]
  ------------------
  565|  22.5k|        State = IES_INTEGER;
  566|  22.5k|        Sym = SymRef;
  567|  22.5k|        SymName = SymRefName;
  568|  22.5k|        IC.pushOperand(IC_IMM);
  569|  22.5k|        break;
  570|  22.6k|      }
  571|  22.6k|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine9onIntegerElRN7llvm_ks9StringRefE:
  572|  13.6k|    bool onInteger(int64_t TmpInt, StringRef &ErrMsg) {
  573|  13.6k|      IntelExprState CurrState = State;
  574|  13.6k|      switch (State) {
  575|     28|      default:
  ------------------
  |  Branch (575:7): [True: 28, False: 13.6k]
  ------------------
  576|     28|        State = IES_ERROR;
  577|     28|        break;
  578|  5.81k|      case IES_PLUS:
  ------------------
  |  Branch (578:7): [True: 5.81k, False: 7.87k]
  ------------------
  579|  10.0k|      case IES_MINUS:
  ------------------
  |  Branch (579:7): [True: 4.22k, False: 9.46k]
  ------------------
  580|  10.2k|      case IES_NOT:
  ------------------
  |  Branch (580:7): [True: 225, False: 13.4k]
  ------------------
  581|  10.3k|      case IES_OR:
  ------------------
  |  Branch (581:7): [True: 86, False: 13.5k]
  ------------------
  582|  10.6k|      case IES_XOR:
  ------------------
  |  Branch (582:7): [True: 318, False: 13.3k]
  ------------------
  583|  10.9k|      case IES_AND:
  ------------------
  |  Branch (583:7): [True: 240, False: 13.4k]
  ------------------
  584|  11.0k|      case IES_LSHIFT:
  ------------------
  |  Branch (584:7): [True: 109, False: 13.5k]
  ------------------
  585|  11.0k|      case IES_RSHIFT:
  ------------------
  |  Branch (585:7): [True: 32, False: 13.6k]
  ------------------
  586|  11.2k|      case IES_DIVIDE:
  ------------------
  |  Branch (586:7): [True: 198, False: 13.4k]
  ------------------
  587|  11.8k|      case IES_MULTIPLY:
  ------------------
  |  Branch (587:7): [True: 570, False: 13.1k]
  ------------------
  588|  13.6k|      case IES_LPAREN:
  ------------------
  |  Branch (588:7): [True: 1.84k, False: 11.8k]
  ------------------
  589|  13.6k|        State = IES_INTEGER;
  590|  13.6k|        if (PrevState == IES_REGISTER && CurrState == IES_MULTIPLY) {
  ------------------
  |  Branch (590:13): [True: 677, False: 12.9k]
  |  Branch (590:42): [True: 68, False: 609]
  ------------------
  591|       |          // Index Register - Register * Scale
  592|       |          //assert (!IndexReg && "IndexReg already set!");
  593|     68|          if (IndexReg) {
  ------------------
  |  Branch (593:15): [True: 2, False: 66]
  ------------------
  594|      2|              State = IES_ERROR;
  595|      2|              break;
  596|      2|          }
  597|     66|          IndexReg = TmpReg;
  598|     66|          Scale = TmpInt;
  599|     66|          if(Scale != 1 && Scale != 2 && Scale != 4 && Scale != 8) {
  ------------------
  |  Branch (599:14): [True: 52, False: 14]
  |  Branch (599:28): [True: 22, False: 30]
  |  Branch (599:42): [True: 20, False: 2]
  |  Branch (599:56): [True: 15, False: 5]
  ------------------
  600|     15|            ErrMsg = "scale factor in address must be 1, 2, 4 or 8";
  601|     15|            return true;
  602|     15|          }
  603|       |          // Get the scale and replace the 'Register * Scale' with '0'.
  604|     51|          IC.popOperator();
  605|  13.5k|        } else if ((PrevState == IES_PLUS || PrevState == IES_MINUS ||
  ------------------
  |  Branch (605:21): [True: 1.51k, False: 12.0k]
  |  Branch (605:46): [True: 43, False: 12.0k]
  ------------------
  606|  12.0k|                    PrevState == IES_OR || PrevState == IES_AND ||
  ------------------
  |  Branch (606:21): [True: 251, False: 11.7k]
  |  Branch (606:44): [True: 117, False: 11.6k]
  ------------------
  607|  11.6k|                    PrevState == IES_LSHIFT || PrevState == IES_RSHIFT ||
  ------------------
  |  Branch (607:21): [True: 26, False: 11.6k]
  |  Branch (607:48): [True: 201, False: 11.4k]
  ------------------
  608|  11.4k|                    PrevState == IES_MULTIPLY || PrevState == IES_DIVIDE ||
  ------------------
  |  Branch (608:21): [True: 426, False: 11.0k]
  |  Branch (608:50): [True: 142, False: 10.8k]
  ------------------
  609|  10.8k|                    PrevState == IES_LPAREN || PrevState == IES_LBRAC ||
  ------------------
  |  Branch (609:21): [True: 743, False: 10.1k]
  |  Branch (609:48): [True: 0, False: 10.1k]
  ------------------
  610|  10.1k|                    PrevState == IES_NOT || PrevState == IES_XOR) &&
  ------------------
  |  Branch (610:21): [True: 30, False: 10.0k]
  |  Branch (610:45): [True: 29, False: 10.0k]
  ------------------
  611|  3.52k|                   CurrState == IES_MINUS) {
  ------------------
  |  Branch (611:20): [True: 1.44k, False: 2.07k]
  ------------------
  612|       |          // Unary minus.  No need to pop the minus operand because it was never
  613|       |          // pushed.
  614|  1.44k|          IC.pushOperand(IC_IMM, -TmpInt); // Push -Imm.
  615|  12.1k|        } else if ((PrevState == IES_PLUS || PrevState == IES_MINUS ||
  ------------------
  |  Branch (615:21): [True: 410, False: 11.7k]
  |  Branch (615:46): [True: 43, False: 11.6k]
  ------------------
  616|  11.6k|                    PrevState == IES_OR || PrevState == IES_AND ||
  ------------------
  |  Branch (616:21): [True: 251, False: 11.4k]
  |  Branch (616:44): [True: 117, False: 11.3k]
  ------------------
  617|  11.3k|                    PrevState == IES_LSHIFT || PrevState == IES_RSHIFT ||
  ------------------
  |  Branch (617:21): [True: 26, False: 11.2k]
  |  Branch (617:48): [True: 201, False: 11.0k]
  ------------------
  618|  11.0k|                    PrevState == IES_MULTIPLY || PrevState == IES_DIVIDE ||
  ------------------
  |  Branch (618:21): [True: 221, False: 10.8k]
  |  Branch (618:50): [True: 20, False: 10.8k]
  ------------------
  619|  10.8k|                    PrevState == IES_LPAREN || PrevState == IES_LBRAC ||
  ------------------
  |  Branch (619:21): [True: 729, False: 10.1k]
  |  Branch (619:48): [True: 0, False: 10.1k]
  ------------------
  620|  10.1k|                    PrevState == IES_NOT || PrevState == IES_XOR) &&
  ------------------
  |  Branch (620:21): [True: 25, False: 10.0k]
  |  Branch (620:45): [True: 29, False: 10.0k]
  ------------------
  621|  2.07k|                   CurrState == IES_NOT) {
  ------------------
  |  Branch (621:20): [True: 225, False: 1.84k]
  ------------------
  622|       |          // Unary not.  No need to pop the not operand because it was never
  623|       |          // pushed.
  624|    225|          IC.pushOperand(IC_IMM, ~TmpInt); // Push ~Imm.
  625|  11.9k|        } else {
  626|  11.9k|          IC.pushOperand(IC_IMM, TmpInt);
  627|  11.9k|        }
  628|  13.6k|        break;
  629|  13.6k|      }
  630|  13.6k|      PrevState = CurrState;
  631|  13.6k|      return false;
  632|  13.6k|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine6onPlusEv:
  428|  3.03k|    void onPlus() {
  429|  3.03k|      IntelExprState CurrState = State;
  430|  3.03k|      switch (State) {
  431|     11|      default:
  ------------------
  |  Branch (431:7): [True: 11, False: 3.02k]
  ------------------
  432|     11|        State = IES_ERROR;
  433|     11|        break;
  434|  2.05k|      case IES_INTEGER:
  ------------------
  |  Branch (434:7): [True: 2.05k, False: 980]
  ------------------
  435|  2.07k|      case IES_RPAREN:
  ------------------
  |  Branch (435:7): [True: 15, False: 3.02k]
  ------------------
  436|  3.02k|      case IES_REGISTER:
  ------------------
  |  Branch (436:7): [True: 954, False: 2.08k]
  ------------------
  437|  3.02k|        State = IES_PLUS;
  438|  3.02k|        IC.pushOperator(IC_PLUS);
  439|  3.02k|        if (CurrState == IES_REGISTER && PrevState != IES_MULTIPLY) {
  ------------------
  |  Branch (439:13): [True: 954, False: 2.07k]
  |  Branch (439:42): [True: 944, False: 10]
  ------------------
  440|       |          // If we already have a BaseReg, then assume this is the IndexReg with
  441|       |          // a scale of 1.
  442|    944|          if (!BaseReg) {
  ------------------
  |  Branch (442:15): [True: 630, False: 314]
  ------------------
  443|    630|            BaseReg = TmpReg;
  444|    630|          } else {
  445|       |            //assert (!IndexReg && "BaseReg/IndexReg already set!");
  446|    314|            if (IndexReg) {
  ------------------
  |  Branch (446:17): [True: 5, False: 309]
  ------------------
  447|      5|                State = IES_ERROR;
  448|      5|                break;
  449|      5|            }
  450|    309|            IndexReg = TmpReg;
  451|    309|            Scale = 1;
  452|    309|          }
  453|    944|        }
  454|  3.02k|        break;
  455|  3.03k|      }
  456|  3.03k|      PrevState = CurrState;
  457|  3.03k|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser15InfixCalculator12pushOperatorENS0_18InfixCalculatorTokE:
  120|  32.0k|    void pushOperator(InfixCalculatorTok Op) {
  121|       |      // Push the new operator if the stack is empty.
  122|  32.0k|      if (InfixOperatorStack.empty()) {
  ------------------
  |  Branch (122:11): [True: 7.01k, False: 25.0k]
  ------------------
  123|  7.01k|        InfixOperatorStack.push_back(Op);
  124|  7.01k|        return;
  125|  7.01k|      }
  126|       |
  127|       |      // Push the new operator if it has a higher precedence than the operator
  128|       |      // on the top of the stack or the operator on the top of the stack is a
  129|       |      // left parentheses.
  130|  25.0k|      unsigned Idx = InfixOperatorStack.size() - 1;
  131|  25.0k|      InfixCalculatorTok StackOp = InfixOperatorStack[Idx];
  132|  25.0k|      if (OpPrecedence[Op] > OpPrecedence[StackOp] || StackOp == IC_LPAREN) {
  ------------------
  |  Branch (132:11): [True: 3.20k, False: 21.8k]
  |  Branch (132:55): [True: 3.94k, False: 17.8k]
  ------------------
  133|  7.15k|        InfixOperatorStack.push_back(Op);
  134|  7.15k|        return;
  135|  7.15k|      }
  136|       |
  137|       |      // The operator on the top of the stack has higher precedence than the
  138|       |      // new operator.
  139|  17.8k|      unsigned ParenCount = 0;
  140|  37.1k|      while (1) {
  ------------------
  |  Branch (140:14): [True: 37.1k, Folded]
  ------------------
  141|       |        // Nothing to process.
  142|  37.1k|        if (InfixOperatorStack.empty())
  ------------------
  |  Branch (142:13): [True: 15.8k, False: 21.3k]
  ------------------
  143|  15.8k|          break;
  144|       |
  145|  21.3k|        Idx = InfixOperatorStack.size() - 1;
  146|  21.3k|        StackOp = InfixOperatorStack[Idx];
  147|  21.3k|        if (!(OpPrecedence[StackOp] >= OpPrecedence[Op] || ParenCount))
  ------------------
  |  Branch (147:15): [True: 20.4k, False: 863]
  |  Branch (147:60): [True: 255, False: 608]
  ------------------
  148|    608|          break;
  149|       |
  150|       |        // If we have an even parentheses count and we see a left parentheses,
  151|       |        // then stop processing.
  152|  20.7k|        if (!ParenCount && StackOp == IC_LPAREN)
  ------------------
  |  Branch (152:13): [True: 19.7k, False: 1.00k]
  |  Branch (152:28): [True: 1.41k, False: 18.2k]
  ------------------
  153|  1.41k|          break;
  154|       |
  155|  19.2k|        if (StackOp == IC_RPAREN) {
  ------------------
  |  Branch (155:13): [True: 836, False: 18.4k]
  ------------------
  156|    836|          ++ParenCount;
  157|    836|          InfixOperatorStack.pop_back();
  158|  18.4k|        } else if (StackOp == IC_LPAREN) {
  ------------------
  |  Branch (158:20): [True: 325, False: 18.1k]
  ------------------
  159|    325|          --ParenCount;
  160|    325|          InfixOperatorStack.pop_back();
  161|  18.1k|        } else {
  162|  18.1k|          InfixOperatorStack.pop_back();
  163|  18.1k|          PostfixStack.push_back(std::make_pair(StackOp, 0));
  164|  18.1k|        }
  165|  19.2k|      }
  166|       |      // Push the new operator.
  167|  17.8k|      InfixOperatorStack.push_back(Op);
  168|  17.8k|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine7onMinusEv:
  458|  29.7k|    void onMinus() {
  459|  29.7k|      IntelExprState CurrState = State;
  460|  29.7k|      switch (State) {
  461|     31|      default:
  ------------------
  |  Branch (461:7): [True: 31, False: 29.6k]
  ------------------
  462|     31|        State = IES_ERROR;
  463|     31|        break;
  464|  10.6k|      case IES_PLUS:
  ------------------
  |  Branch (464:7): [True: 10.6k, False: 19.1k]
  ------------------
  465|  10.6k|      case IES_NOT:
  ------------------
  |  Branch (465:7): [True: 15, False: 29.7k]
  ------------------
  466|  10.9k|      case IES_MULTIPLY:
  ------------------
  |  Branch (466:7): [True: 300, False: 29.4k]
  ------------------
  467|  11.0k|      case IES_DIVIDE:
  ------------------
  |  Branch (467:7): [True: 151, False: 29.5k]
  ------------------
  468|  11.4k|      case IES_LPAREN:
  ------------------
  |  Branch (468:7): [True: 395, False: 29.3k]
  ------------------
  469|  11.8k|      case IES_RPAREN:
  ------------------
  |  Branch (469:7): [True: 377, False: 29.3k]
  ------------------
  470|  11.8k|      case IES_LBRAC:
  ------------------
  |  Branch (470:7): [True: 0, False: 29.7k]
  ------------------
  471|  11.9k|      case IES_RBRAC:
  ------------------
  |  Branch (471:7): [True: 83, False: 29.6k]
  ------------------
  472|  29.2k|      case IES_INTEGER:
  ------------------
  |  Branch (472:7): [True: 17.3k, False: 12.3k]
  ------------------
  473|  29.6k|      case IES_REGISTER:
  ------------------
  |  Branch (473:7): [True: 415, False: 29.3k]
  ------------------
  474|  29.6k|        State = IES_MINUS;
  475|       |        // Only push the minus operator if it is not a unary operator.
  476|  29.6k|        if (!(CurrState == IES_PLUS || CurrState == IES_MINUS ||
  ------------------
  |  Branch (476:15): [True: 10.6k, False: 19.0k]
  |  Branch (476:40): [True: 0, False: 19.0k]
  ------------------
  477|  19.0k|              CurrState == IES_MULTIPLY || CurrState == IES_DIVIDE ||
  ------------------
  |  Branch (477:15): [True: 300, False: 18.7k]
  |  Branch (477:44): [True: 151, False: 18.6k]
  ------------------
  478|  18.6k|              CurrState == IES_LPAREN || CurrState == IES_LBRAC))
  ------------------
  |  Branch (478:15): [True: 395, False: 18.2k]
  |  Branch (478:42): [True: 0, False: 18.2k]
  ------------------
  479|  18.2k|          IC.pushOperator(IC_MINUS);
  480|  29.6k|        if (CurrState == IES_REGISTER && PrevState != IES_MULTIPLY) {
  ------------------
  |  Branch (480:13): [True: 415, False: 29.2k]
  |  Branch (480:42): [True: 410, False: 5]
  ------------------
  481|       |          // If we already have a BaseReg, then assume this is the IndexReg with
  482|       |          // a scale of 1.
  483|    410|          if (!BaseReg) {
  ------------------
  |  Branch (483:15): [True: 392, False: 18]
  ------------------
  484|    392|            BaseReg = TmpReg;
  485|    392|          } else {
  486|       |            //assert (!IndexReg && "BaseReg/IndexReg already set!");
  487|     18|            if (IndexReg) {
  ------------------
  |  Branch (487:17): [True: 5, False: 13]
  ------------------
  488|      5|                State = IES_ERROR;
  489|      5|                break;
  490|      5|            }
  491|     13|            IndexReg = TmpReg;
  492|     13|            Scale = 1;
  493|     13|          }
  494|    410|        }
  495|  29.6k|        break;
  496|  29.7k|      }
  497|  29.7k|      PrevState = CurrState;
  498|  29.7k|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine5onNotEv:
  499|  2.41k|    void onNot() {
  500|  2.41k|      IntelExprState CurrState = State;
  501|  2.41k|      switch (State) {
  502|      5|      default:
  ------------------
  |  Branch (502:7): [True: 5, False: 2.40k]
  ------------------
  503|      5|        State = IES_ERROR;
  504|      5|        break;
  505|  1.10k|      case IES_PLUS:
  ------------------
  |  Branch (505:7): [True: 1.10k, False: 1.31k]
  ------------------
  506|  2.40k|      case IES_NOT:
  ------------------
  |  Branch (506:7): [True: 1.30k, False: 1.10k]
  ------------------
  507|  2.40k|        State = IES_NOT;
  508|  2.40k|        break;
  509|  2.41k|      }
  510|  2.41k|      PrevState = CurrState;
  511|  2.41k|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine6onStarEv:
  634|  1.43k|    void onStar() {
  635|  1.43k|      PrevState = State;
  636|  1.43k|      switch (State) {
  637|      6|      default:
  ------------------
  |  Branch (637:7): [True: 6, False: 1.42k]
  ------------------
  638|      6|        State = IES_ERROR;
  639|      6|        break;
  640|  1.20k|      case IES_INTEGER:
  ------------------
  |  Branch (640:7): [True: 1.20k, False: 231]
  ------------------
  641|  1.28k|      case IES_REGISTER:
  ------------------
  |  Branch (641:7): [True: 80, False: 1.35k]
  ------------------
  642|  1.42k|      case IES_RPAREN:
  ------------------
  |  Branch (642:7): [True: 145, False: 1.28k]
  ------------------
  643|  1.42k|        State = IES_MULTIPLY;
  644|  1.42k|        IC.pushOperator(IC_MULTIPLY);
  645|  1.42k|        break;
  646|  1.43k|      }
  647|  1.43k|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine8onDivideEv:
  648|    425|    void onDivide() {
  649|    425|      PrevState = State;
  650|    425|      switch (State) {
  651|      4|      default:
  ------------------
  |  Branch (651:7): [True: 4, False: 421]
  ------------------
  652|      4|        State = IES_ERROR;
  653|      4|        break;
  654|    401|      case IES_INTEGER:
  ------------------
  |  Branch (654:7): [True: 401, False: 24]
  ------------------
  655|    421|      case IES_RPAREN:
  ------------------
  |  Branch (655:7): [True: 20, False: 405]
  ------------------
  656|    421|        State = IES_DIVIDE;
  657|    421|        IC.pushOperator(IC_DIVIDE);
  658|    421|        break;
  659|    425|      }
  660|    425|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine4onOrEv:
  353|    598|    void onOr() {
  354|    598|      IntelExprState CurrState = State;
  355|    598|      switch (State) {
  356|      4|      default:
  ------------------
  |  Branch (356:7): [True: 4, False: 594]
  ------------------
  357|      4|        State = IES_ERROR;
  358|      4|        break;
  359|    589|      case IES_INTEGER:
  ------------------
  |  Branch (359:7): [True: 589, False: 9]
  ------------------
  360|    590|      case IES_RPAREN:
  ------------------
  |  Branch (360:7): [True: 1, False: 597]
  ------------------
  361|    594|      case IES_REGISTER:
  ------------------
  |  Branch (361:7): [True: 4, False: 594]
  ------------------
  362|    594|        State = IES_OR;
  363|    594|        IC.pushOperator(IC_OR);
  364|    594|        break;
  365|    598|      }
  366|    598|      PrevState = CurrState;
  367|    598|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine5onXorEv:
  368|    452|    void onXor() {
  369|    452|      IntelExprState CurrState = State;
  370|    452|      switch (State) {
  371|      6|      default:
  ------------------
  |  Branch (371:7): [True: 6, False: 446]
  ------------------
  372|      6|        State = IES_ERROR;
  373|      6|        break;
  374|    366|      case IES_INTEGER:
  ------------------
  |  Branch (374:7): [True: 366, False: 86]
  ------------------
  375|    366|      case IES_RPAREN:
  ------------------
  |  Branch (375:7): [True: 0, False: 452]
  ------------------
  376|    446|      case IES_REGISTER:
  ------------------
  |  Branch (376:7): [True: 80, False: 372]
  ------------------
  377|    446|        State = IES_XOR;
  378|    446|        IC.pushOperator(IC_XOR);
  379|    446|        break;
  380|    452|      }
  381|    452|      PrevState = CurrState;
  382|    452|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine5onAndEv:
  383|    447|    void onAnd() {
  384|    447|      IntelExprState CurrState = State;
  385|    447|      switch (State) {
  386|      4|      default:
  ------------------
  |  Branch (386:7): [True: 4, False: 443]
  ------------------
  387|      4|        State = IES_ERROR;
  388|      4|        break;
  389|    427|      case IES_INTEGER:
  ------------------
  |  Branch (389:7): [True: 427, False: 20]
  ------------------
  390|    430|      case IES_RPAREN:
  ------------------
  |  Branch (390:7): [True: 3, False: 444]
  ------------------
  391|    443|      case IES_REGISTER:
  ------------------
  |  Branch (391:7): [True: 13, False: 434]
  ------------------
  392|    443|        State = IES_AND;
  393|    443|        IC.pushOperator(IC_AND);
  394|    443|        break;
  395|    447|      }
  396|    447|      PrevState = CurrState;
  397|    447|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine8onLShiftEv:
  398|    169|    void onLShift() {
  399|    169|      IntelExprState CurrState = State;
  400|    169|      switch (State) {
  401|      3|      default:
  ------------------
  |  Branch (401:7): [True: 3, False: 166]
  ------------------
  402|      3|        State = IES_ERROR;
  403|      3|        break;
  404|    165|      case IES_INTEGER:
  ------------------
  |  Branch (404:7): [True: 165, False: 4]
  ------------------
  405|    165|      case IES_RPAREN:
  ------------------
  |  Branch (405:7): [True: 0, False: 169]
  ------------------
  406|    166|      case IES_REGISTER:
  ------------------
  |  Branch (406:7): [True: 1, False: 168]
  ------------------
  407|    166|        State = IES_LSHIFT;
  408|    166|        IC.pushOperator(IC_LSHIFT);
  409|    166|        break;
  410|    169|      }
  411|    169|      PrevState = CurrState;
  412|    169|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine8onRShiftEv:
  413|    676|    void onRShift() {
  414|    676|      IntelExprState CurrState = State;
  415|    676|      switch (State) {
  416|      1|      default:
  ------------------
  |  Branch (416:7): [True: 1, False: 675]
  ------------------
  417|      1|        State = IES_ERROR;
  418|      1|        break;
  419|    671|      case IES_INTEGER:
  ------------------
  |  Branch (419:7): [True: 671, False: 5]
  ------------------
  420|    671|      case IES_RPAREN:
  ------------------
  |  Branch (420:7): [True: 0, False: 676]
  ------------------
  421|    675|      case IES_REGISTER:
  ------------------
  |  Branch (421:7): [True: 4, False: 672]
  ------------------
  422|    675|        State = IES_RSHIFT;
  423|    675|        IC.pushOperator(IC_RSHIFT);
  424|    675|        break;
  425|    676|      }
  426|    676|      PrevState = CurrState;
  427|    676|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine7onLBracEv:
  661|    115|    void onLBrac() {
  662|    115|      PrevState = State;
  663|    115|      switch (State) {
  664|     18|      default:
  ------------------
  |  Branch (664:7): [True: 18, False: 97]
  ------------------
  665|     18|        State = IES_ERROR;
  666|     18|        break;
  667|     97|      case IES_RBRAC:
  ------------------
  |  Branch (667:7): [True: 97, False: 18]
  ------------------
  668|     97|        State = IES_PLUS;
  669|     97|        IC.pushOperator(IC_PLUS);
  670|     97|        break;
  671|    115|      }
  672|    115|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine7onRBracEv:
  673|  1.36k|    void onRBrac() {
  674|  1.36k|      IntelExprState CurrState = State;
  675|  1.36k|      switch (State) {
  676|      4|      default:
  ------------------
  |  Branch (676:7): [True: 4, False: 1.35k]
  ------------------
  677|      4|        State = IES_ERROR;
  678|      4|        break;
  679|  1.33k|      case IES_INTEGER:
  ------------------
  |  Branch (679:7): [True: 1.33k, False: 31]
  ------------------
  680|  1.35k|      case IES_REGISTER:
  ------------------
  |  Branch (680:7): [True: 27, False: 1.33k]
  ------------------
  681|  1.35k|      case IES_RPAREN:
  ------------------
  |  Branch (681:7): [True: 0, False: 1.36k]
  ------------------
  682|  1.35k|        State = IES_RBRAC;
  683|  1.35k|        if (CurrState == IES_REGISTER && PrevState != IES_MULTIPLY) {
  ------------------
  |  Branch (683:13): [True: 27, False: 1.33k]
  |  Branch (683:42): [True: 26, False: 1]
  ------------------
  684|       |          // If we already have a BaseReg, then assume this is the IndexReg with
  685|       |          // a scale of 1.
  686|     26|          if (!BaseReg) {
  ------------------
  |  Branch (686:15): [True: 21, False: 5]
  ------------------
  687|     21|            BaseReg = TmpReg;
  688|     21|          } else {
  689|       |            //assert (!IndexReg && "BaseReg/IndexReg already set!");
  690|      5|            if (IndexReg) {
  ------------------
  |  Branch (690:17): [True: 1, False: 4]
  ------------------
  691|      1|                State = IES_ERROR;
  692|      1|                break;
  693|      1|            }
  694|      4|            IndexReg = TmpReg;
  695|      4|            Scale = 1;
  696|      4|          }
  697|     26|        }
  698|  1.35k|        break;
  699|  1.36k|      }
  700|  1.36k|      PrevState = CurrState;
  701|  1.36k|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine8onLParenEv:
  702|  5.64k|    void onLParen() {
  703|  5.64k|      IntelExprState CurrState = State;
  704|  5.64k|      switch (State) {
  705|     12|      default:
  ------------------
  |  Branch (705:7): [True: 12, False: 5.63k]
  ------------------
  706|     12|        State = IES_ERROR;
  707|     12|        break;
  708|  1.76k|      case IES_PLUS:
  ------------------
  |  Branch (708:7): [True: 1.76k, False: 3.88k]
  ------------------
  709|  1.88k|      case IES_MINUS:
  ------------------
  |  Branch (709:7): [True: 119, False: 5.53k]
  ------------------
  710|  1.88k|      case IES_NOT:
  ------------------
  |  Branch (710:7): [True: 1, False: 5.64k]
  ------------------
  711|  2.38k|      case IES_OR:
  ------------------
  |  Branch (711:7): [True: 494, False: 5.15k]
  ------------------
  712|  2.50k|      case IES_XOR:
  ------------------
  |  Branch (712:7): [True: 118, False: 5.53k]
  ------------------
  713|  2.68k|      case IES_AND:
  ------------------
  |  Branch (713:7): [True: 188, False: 5.46k]
  ------------------
  714|  2.74k|      case IES_LSHIFT:
  ------------------
  |  Branch (714:7): [True: 57, False: 5.59k]
  ------------------
  715|  3.38k|      case IES_RSHIFT:
  ------------------
  |  Branch (715:7): [True: 637, False: 5.01k]
  ------------------
  716|  3.83k|      case IES_MULTIPLY:
  ------------------
  |  Branch (716:7): [True: 457, False: 5.19k]
  ------------------
  717|  3.87k|      case IES_DIVIDE:
  ------------------
  |  Branch (717:7): [True: 38, False: 5.61k]
  ------------------
  718|  5.63k|      case IES_LPAREN:
  ------------------
  |  Branch (718:7): [True: 1.76k, False: 3.88k]
  ------------------
  719|       |        // FIXME: We don't handle this type of unary minus or not, yet.
  720|  5.63k|        if ((PrevState == IES_PLUS || PrevState == IES_MINUS ||
  ------------------
  |  Branch (720:14): [True: 100, False: 5.53k]
  |  Branch (720:39): [True: 16, False: 5.52k]
  ------------------
  721|  5.52k|            PrevState == IES_OR || PrevState == IES_AND ||
  ------------------
  |  Branch (721:13): [True: 27, False: 5.49k]
  |  Branch (721:36): [True: 65, False: 5.42k]
  ------------------
  722|  5.42k|            PrevState == IES_LSHIFT || PrevState == IES_RSHIFT ||
  ------------------
  |  Branch (722:13): [True: 23, False: 5.40k]
  |  Branch (722:40): [True: 428, False: 4.97k]
  ------------------
  723|  4.97k|            PrevState == IES_MULTIPLY || PrevState == IES_DIVIDE ||
  ------------------
  |  Branch (723:13): [True: 130, False: 4.84k]
  |  Branch (723:42): [True: 11, False: 4.83k]
  ------------------
  724|  4.83k|            PrevState == IES_LPAREN || PrevState == IES_LBRAC ||
  ------------------
  |  Branch (724:13): [True: 939, False: 3.89k]
  |  Branch (724:40): [True: 0, False: 3.89k]
  ------------------
  725|  3.89k|            PrevState == IES_NOT || PrevState == IES_XOR) &&
  ------------------
  |  Branch (725:13): [True: 1, False: 3.89k]
  |  Branch (725:37): [True: 22, False: 3.87k]
  ------------------
  726|  1.76k|            (CurrState == IES_MINUS || CurrState == IES_NOT)) {
  ------------------
  |  Branch (726:14): [True: 1, False: 1.76k]
  |  Branch (726:40): [True: 1, False: 1.76k]
  ------------------
  727|      2|          State = IES_ERROR;
  728|      2|          break;
  729|      2|        }
  730|  5.63k|        State = IES_LPAREN;
  731|  5.63k|        IC.pushOperator(IC_LPAREN);
  732|  5.63k|        break;
  733|  5.64k|      }
  734|  5.64k|      PrevState = CurrState;
  735|  5.64k|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine8onRParenEv:
  736|    878|    void onRParen() {
  737|    878|      PrevState = State;
  738|    878|      switch (State) {
  739|      4|      default:
  ------------------
  |  Branch (739:7): [True: 4, False: 874]
  ------------------
  740|      4|        State = IES_ERROR;
  741|      4|        break;
  742|    595|      case IES_INTEGER:
  ------------------
  |  Branch (742:7): [True: 595, False: 283]
  ------------------
  743|    599|      case IES_REGISTER:
  ------------------
  |  Branch (743:7): [True: 4, False: 874]
  ------------------
  744|    874|      case IES_RPAREN:
  ------------------
  |  Branch (744:7): [True: 275, False: 603]
  ------------------
  745|    874|        State = IES_RPAREN;
  746|    874|        IC.pushOperator(IC_RPAREN);
  747|    874|        break;
  748|    878|      }
  749|    878|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine6getImmERj:
  341|  22.5k|    int64_t getImm(unsigned int &KsError) { return Imm + IC.execute(KsError); }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser15InfixCalculator7executeERj:
  170|  22.5k|    int64_t execute(unsigned int &KsError) {
  171|       |      // Push any remaining operators onto the postfix stack.
  172|  33.7k|      while (!InfixOperatorStack.empty()) {
  ------------------
  |  Branch (172:14): [True: 11.1k, False: 22.5k]
  ------------------
  173|  11.1k|        InfixCalculatorTok StackOp = InfixOperatorStack.pop_back_val();
  174|  11.1k|        if (StackOp != IC_LPAREN && StackOp != IC_RPAREN)
  ------------------
  |  Branch (174:13): [True: 6.46k, False: 4.71k]
  |  Branch (174:37): [True: 6.45k, False: 15]
  ------------------
  175|  6.45k|          PostfixStack.push_back(std::make_pair(StackOp, 0));
  176|  11.1k|      }
  177|       |
  178|  22.5k|      if (PostfixStack.empty())
  ------------------
  |  Branch (178:11): [True: 6.95k, False: 15.6k]
  ------------------
  179|  6.95k|        return 0;
  180|       |
  181|  15.6k|      SmallVector<ICToken, 16> OperandStack;
  182|  78.6k|      for (unsigned i = 0, e = PostfixStack.size(); i != e; ++i) {
  ------------------
  |  Branch (182:53): [True: 64.0k, False: 14.5k]
  ------------------
  183|  64.0k|        ICToken Op = PostfixStack[i];
  184|  64.0k|        if (Op.first == IC_IMM || Op.first == IC_REGISTER) {
  ------------------
  |  Branch (184:13): [True: 36.6k, False: 27.4k]
  |  Branch (184:35): [True: 2.76k, False: 24.6k]
  ------------------
  185|  39.3k|          OperandStack.push_back(Op);
  186|  39.3k|        } else {
  187|       |          //assert (OperandStack.size() > 1 && "Too few operands.");
  188|  24.6k|          if (OperandStack.size() <= 1) {
  ------------------
  |  Branch (188:15): [True: 966, False: 23.7k]
  ------------------
  189|    966|                KsError = KS_ERR_ASM_INVALIDOPERAND;
  190|       |                // return a dummy value
  191|    966|                return 0;
  192|    966|          }
  193|  23.7k|          int64_t Val;
  194|  23.7k|          ICToken Op2 = OperandStack.pop_back_val();
  195|  23.7k|          ICToken Op1 = OperandStack.pop_back_val();
  196|  23.7k|          switch (Op.first) {
  197|      0|          default:
  ------------------
  |  Branch (197:11): [True: 0, False: 23.7k]
  ------------------
  198|      0|            report_fatal_error("Unexpected operator!");
  199|      0|            break;
  200|  3.66k|          case IC_PLUS:
  ------------------
  |  Branch (200:11): [True: 3.66k, False: 20.0k]
  ------------------
  201|  3.66k|            Val = Op1.second + Op2.second;
  202|  3.66k|            OperandStack.push_back(std::make_pair(IC_IMM, Val));
  203|  3.66k|            break;
  204|  16.5k|          case IC_MINUS:
  ------------------
  |  Branch (204:11): [True: 16.5k, False: 7.18k]
  ------------------
  205|  16.5k|            Val = Op1.second - Op2.second;
  206|  16.5k|            OperandStack.push_back(std::make_pair(IC_IMM, Val));
  207|  16.5k|            break;
  208|  1.30k|          case IC_MULTIPLY:
  ------------------
  |  Branch (208:11): [True: 1.30k, False: 22.4k]
  ------------------
  209|       |            //assert (Op1.first == IC_IMM && Op2.first == IC_IMM &&
  210|       |            //        "Multiply operation with an immediate and a register!");
  211|  1.30k|            if (!(Op1.first == IC_IMM && Op2.first == IC_IMM)) {
  ------------------
  |  Branch (211:19): [True: 1.29k, False: 9]
  |  Branch (211:42): [True: 1.29k, False: 3]
  ------------------
  212|     12|                KsError = KS_ERR_ASM_INVALIDOPERAND;
  213|       |                // return a dummy value
  214|     12|                return 0;
  215|     12|            }
  216|  1.29k|            Val = Op1.second * Op2.second;
  217|  1.29k|            OperandStack.push_back(std::make_pair(IC_IMM, Val));
  218|  1.29k|            break;
  219|    338|          case IC_DIVIDE:
  ------------------
  |  Branch (219:11): [True: 338, False: 23.3k]
  ------------------
  220|       |            //assert (Op1.first == IC_IMM && Op2.first == IC_IMM &&
  221|       |            //        "Divide operation with an immediate and a register!");
  222|       |            //assert (Op2.second != 0 && "Division by zero!");
  223|    338|            if (!(Op1.first == IC_IMM && Op2.first == IC_IMM) || Op2.second == 0) {
  ------------------
  |  Branch (223:19): [True: 330, False: 8]
  |  Branch (223:42): [True: 327, False: 3]
  |  Branch (223:66): [True: 22, False: 305]
  ------------------
  224|     33|                KsError = KS_ERR_ASM_INVALIDOPERAND;
  225|       |                // return a dummy value
  226|     33|                return 0;
  227|     33|            }
  228|    305|            Val = Op1.second / Op2.second;
  229|    305|            OperandStack.push_back(std::make_pair(IC_IMM, Val));
  230|    305|            break;
  231|    529|          case IC_OR:
  ------------------
  |  Branch (231:11): [True: 529, False: 23.1k]
  ------------------
  232|       |            //assert (Op1.first == IC_IMM && Op2.first == IC_IMM &&
  233|       |            //        "Or operation with an immediate and a register!");
  234|    529|            if (!(Op1.first == IC_IMM && Op2.first == IC_IMM)) {
  ------------------
  |  Branch (234:19): [True: 526, False: 3]
  |  Branch (234:42): [True: 523, False: 3]
  ------------------
  235|      6|                KsError = KS_ERR_ASM_INVALIDOPERAND;
  236|       |                // return a dummy value
  237|      6|                return 0;
  238|      6|            }
  239|    523|            Val = Op1.second | Op2.second;
  240|    523|            OperandStack.push_back(std::make_pair(IC_IMM, Val));
  241|    523|            break;
  242|    145|          case IC_XOR:
  ------------------
  |  Branch (242:11): [True: 145, False: 23.5k]
  ------------------
  243|       |            //assert(Op1.first == IC_IMM && Op2.first == IC_IMM &&
  244|       |            //  "Xor operation with an immediate and a register!");
  245|    145|            if (!(Op1.first == IC_IMM && Op2.first == IC_IMM)) {
  ------------------
  |  Branch (245:19): [True: 141, False: 4]
  |  Branch (245:42): [True: 138, False: 3]
  ------------------
  246|      7|                KsError = KS_ERR_ASM_INVALIDOPERAND;
  247|       |                // return a dummy value
  248|      7|                return 0;
  249|      7|            }
  250|    138|            Val = Op1.second ^ Op2.second;
  251|    138|            OperandStack.push_back(std::make_pair(IC_IMM, Val));
  252|    138|            break;
  253|    284|          case IC_AND:
  ------------------
  |  Branch (253:11): [True: 284, False: 23.4k]
  ------------------
  254|       |            //assert (Op1.first == IC_IMM && Op2.first == IC_IMM &&
  255|       |            //        "And operation with an immediate and a register!");
  256|    284|            if (!(Op1.first == IC_IMM && Op2.first == IC_IMM)) {
  ------------------
  |  Branch (256:19): [True: 275, False: 9]
  |  Branch (256:42): [True: 272, False: 3]
  ------------------
  257|     12|                KsError = KS_ERR_ASM_INVALIDOPERAND;
  258|       |                // return a dummy value
  259|     12|                return 0;
  260|     12|            }
  261|    272|            Val = Op1.second & Op2.second;
  262|    272|            OperandStack.push_back(std::make_pair(IC_IMM, Val));
  263|    272|            break;
  264|    257|          case IC_LSHIFT:
  ------------------
  |  Branch (264:11): [True: 257, False: 23.4k]
  ------------------
  265|       |            //assert (Op1.first == IC_IMM && Op2.first == IC_IMM &&
  266|       |            //        "Left shift operation with an immediate and a register!");
  267|    257|            if (!(Op1.first == IC_IMM && Op2.first == IC_IMM)) {
  ------------------
  |  Branch (267:19): [True: 256, False: 1]
  |  Branch (267:42): [True: 253, False: 3]
  ------------------
  268|      4|                KsError = KS_ERR_ASM_INVALIDOPERAND;
  269|       |                // return a dummy value
  270|      4|                return 0;
  271|      4|            }
  272|    253|            Val = Op1.second << Op2.second;
  273|    253|            OperandStack.push_back(std::make_pair(IC_IMM, Val));
  274|    253|            break;
  275|    655|          case IC_RSHIFT:
  ------------------
  |  Branch (275:11): [True: 655, False: 23.0k]
  ------------------
  276|       |            //assert (Op1.first == IC_IMM && Op2.first == IC_IMM &&
  277|       |            //        "Right shift operation with an immediate and a register!");
  278|    655|            if (!(Op1.first == IC_IMM && Op2.first == IC_IMM)) {
  ------------------
  |  Branch (278:19): [True: 652, False: 3]
  |  Branch (278:42): [True: 649, False: 3]
  ------------------
  279|      6|                KsError = KS_ERR_ASM_INVALIDOPERAND;
  280|       |                // return a dummy value
  281|      6|                return 0;
  282|      6|            }
  283|    649|            Val = Op1.second >> Op2.second;
  284|    649|            OperandStack.push_back(std::make_pair(IC_IMM, Val));
  285|    649|            break;
  286|  23.7k|          }
  287|  23.7k|        }
  288|  64.0k|      }
  289|       |      //assert (OperandStack.size() == 1 && "Expected a single result.");
  290|  14.5k|      if (OperandStack.size() != 1) {
  ------------------
  |  Branch (290:11): [True: 0, False: 14.5k]
  ------------------
  291|      0|          KsError = KS_ERR_ASM_INVALIDOPERAND;
  292|       |          // return a dummy value
  293|      0|          return 0;
  294|      0|      }
  295|  14.5k|      return OperandStack.pop_back_val().second;
  296|  14.5k|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine6getSymEv:
  339|  19.9k|    const MCExpr *getSym() { return Sym; }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser15getPointerWidthEv:
  877|  24.5k|  unsigned getPointerWidth() {
  878|  24.5k|    if (is16BitMode()) return 16;
  ------------------
  |  Branch (878:9): [True: 16.5k, False: 7.96k]
  ------------------
  879|  7.96k|    if (is32BitMode()) return 32;
  ------------------
  |  Branch (879:9): [True: 5.70k, False: 2.25k]
  ------------------
  880|  2.25k|    if (is64BitMode()) return 64;
  ------------------
  |  Branch (880:9): [True: 2.25k, False: 0]
  ------------------
  881|      0|    llvm_unreachable("invalid mode");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  882|  2.25k|  }
X86AsmParser.cpp:_ZNK12_GLOBAL__N_112X86AsmParser11is16BitModeEv:
  862|  24.5k|  bool is16BitMode() const {
  863|       |    // FIXME: Can tablegen auto-generate this?
  864|  24.5k|    return getSTI().getFeatureBits()[X86::Mode16Bit];
  865|  24.5k|  }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser20ParseIntelMemOperandENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEElN7llvm_ks5SMLocEjRj:
 1790|  52.0k|{
 1791|  52.0k|  MCAsmParser &Parser = getParser();
 1792|  52.0k|  const AsmToken &Tok = Parser.getTok();
 1793|  52.0k|  SMLoc End;
 1794|       |
 1795|       |  // Parse ImmDisp [ BaseReg + Scale*IndexReg + Disp ].
 1796|  52.0k|  if (getLexer().is(AsmToken::LBrac))
  ------------------
  |  Branch (1796:7): [True: 4.27k, False: 47.7k]
  ------------------
 1797|  4.27k|    return ParseIntelBracExpression(/*SegReg=*/0, Start, ImmDisp, Size, KsError);
 1798|  52.0k|  assert(ImmDisp == 0);
  ------------------
  |  Branch (1798:3): [True: 47.7k, False: 0]
  ------------------
 1799|       |
 1800|  47.7k|  const MCExpr *Val;
 1801|  47.7k|  if (Mnem == "loop" || Mnem == "loope" || Mnem == "loopne" ||
  ------------------
  |  Branch (1801:7): [True: 17, False: 47.7k]
  |  Branch (1801:25): [True: 307, False: 47.4k]
  |  Branch (1801:44): [True: 6, False: 47.4k]
  ------------------
 1802|  47.4k|      Mnem == "call" || Mnem.c_str()[0] == 'j') {
  ------------------
  |  Branch (1802:7): [True: 2.47k, False: 44.9k]
  |  Branch (1802:25): [True: 1.21k, False: 43.7k]
  ------------------
 1803|       |      // CALL/JMP/Jxx <immediate> (Keystone)
 1804|  4.01k|      if (getParser().parsePrimaryExpr(Val, End))
  ------------------
  |  Branch (1804:11): [True: 2.94k, False: 1.07k]
  ------------------
 1805|  2.94k|          return ErrorOperand(Tok.getLoc(), "unknown token in expression");
 1806|       |
 1807|  1.07k|      return X86Operand::CreateMem(0, Val, Start, End, Size);
 1808|  43.7k|  } else {
 1809|  43.7k|    if (getParser().parseExpression(Val, End)) {
  ------------------
  |  Branch (1809:9): [True: 36.8k, False: 6.91k]
  ------------------
 1810|  36.8k|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 1811|  36.8k|      return nullptr;
 1812|  36.8k|    }
 1813|  6.91k|    return X86Operand::CreateImm(Val, Start, End);
 1814|  43.7k|  }
 1815|  47.7k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser24ParseIntelBracExpressionEjN7llvm_ks5SMLocEljRj:
 1535|  4.33k|{
 1536|  4.33k|  MCAsmParser &Parser = getParser();
 1537|  4.33k|  const AsmToken &Tok = Parser.getTok();
 1538|  4.33k|  SMLoc BracLoc = Tok.getLoc(), End = Tok.getEndLoc();
 1539|  4.33k|  if (getLexer().isNot(AsmToken::LBrac))
  ------------------
  |  Branch (1539:7): [True: 0, False: 4.33k]
  ------------------
 1540|      0|    return ErrorOperand(BracLoc, "Expected '[' token!");
 1541|  4.33k|  Parser.Lex(); // Eat '['
 1542|       |
 1543|  4.33k|  SMLoc StartInBrac = Tok.getLoc();
 1544|  4.33k|  bool IsRel;
 1545|  4.33k|  switch(SegReg) {
 1546|     31|    default:
  ------------------
  |  Branch (1546:5): [True: 31, False: 4.30k]
  ------------------
 1547|     31|      IsRel = false;
 1548|     31|      break;
 1549|  4.27k|    case 0:
  ------------------
  |  Branch (1549:5): [True: 4.27k, False: 57]
  ------------------
 1550|  4.28k|    case X86::CS:
  ------------------
  |  Branch (1550:5): [True: 6, False: 4.32k]
  ------------------
 1551|  4.30k|    case X86::DS:
  ------------------
  |  Branch (1551:5): [True: 20, False: 4.31k]
  ------------------
 1552|  4.30k|      IsRel = getParser().isNasmDefaultRel();
 1553|  4.33k|  }
 1554|       |  // Parse [ Symbol + ImmDisp ] and [ BaseReg + Scale*IndexReg + ImmDisp ].  We
 1555|       |  // may have already parsed an immediate displacement before the bracketed
 1556|       |  // expression.
 1557|  4.33k|  IntelExprStateMachine SM(ImmDisp, /*StopOnLBrac=*/false, /*AddImmPrefix=*/true,
 1558|  4.33k|                           /*IsRel*/IsRel);
 1559|  4.33k|  if (ParseIntelExpression(SM, End)) {
  ------------------
  |  Branch (1559:7): [True: 274, False: 4.05k]
  ------------------
 1560|    274|    KsError = KS_ERR_ASM_INVALIDOPERAND;
 1561|    274|    return nullptr;
 1562|    274|  }
 1563|       |
 1564|  4.05k|  const MCExpr *Disp = nullptr;
 1565|  4.05k|  if (const MCExpr *Sym = SM.getSym()) {
  ------------------
  |  Branch (1565:21): [True: 1.13k, False: 2.92k]
  ------------------
 1566|       |    // A symbolic displacement.
 1567|  1.13k|    Disp = Sym;
 1568|  1.13k|    if (isParsingInlineAsm())
  ------------------
  |  Branch (1568:9): [True: 0, False: 1.13k]
  ------------------
 1569|      0|      RewriteIntelBracExpression(*InstInfo->AsmRewrites, SM.getSymName(),
 1570|      0|                                 ImmDisp, SM.getImm(KsError), BracLoc, StartInBrac,
 1571|      0|                                 End);
 1572|  1.13k|  }
 1573|       |
 1574|  4.05k|  if (SM.getImm(KsError) || !Disp) {
  ------------------
  |  Branch (1574:7): [True: 2.62k, False: 1.42k]
  |  Branch (1574:29): [True: 986, False: 442]
  ------------------
 1575|  3.61k|    const MCExpr *Imm = MCConstantExpr::create(SM.getImm(KsError), getContext());
 1576|  3.61k|    if (Disp)
  ------------------
  |  Branch (1576:9): [True: 688, False: 2.92k]
  ------------------
 1577|    688|      Disp = MCBinaryExpr::createAdd(Disp, Imm, getContext());
 1578|  2.92k|    else
 1579|  2.92k|      Disp = Imm;  // An immediate displacement only.
 1580|  3.61k|  }
 1581|       |
 1582|       |  // Parse struct field access.  Intel requires a dot, but MSVC doesn't.  MSVC
 1583|       |  // will in fact do global lookup the field name inside all global typedefs,
 1584|       |  // but we don't emulate that.
 1585|  4.05k|  if (Tok.getString().find('.') != StringRef::npos) {
  ------------------
  |  Branch (1585:7): [True: 260, False: 3.79k]
  ------------------
 1586|    260|    const MCExpr *NewDisp;
 1587|    260|    if (ParseIntelDotOperator(Disp, NewDisp)) {
  ------------------
  |  Branch (1587:9): [True: 106, False: 154]
  ------------------
 1588|    106|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 1589|    106|      return nullptr;
 1590|    106|    }
 1591|       |
 1592|    154|    End = Tok.getEndLoc();
 1593|    154|    Parser.Lex();  // Eat the field.
 1594|    154|    Disp = NewDisp;
 1595|    154|  }
 1596|       |
 1597|  3.95k|  int BaseReg = SM.getBaseReg();
 1598|  3.95k|  int IndexReg = SM.getIndexReg();
 1599|       |  //printf("--- BaseReg = %u, IndexReg = %u, SegReg = %u\n", BaseReg, IndexReg, SegReg);
 1600|  3.95k|  int Scale = SM.getScale();
 1601|  3.95k|  if (IndexReg !=0 && !Scale) {
  ------------------
  |  Branch (1601:7): [True: 384, False: 3.56k]
  |  Branch (1601:23): [True: 1, False: 383]
  ------------------
 1602|       |      // Scale must go with Index register
 1603|      1|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 1604|      1|      return nullptr;
 1605|      1|  }
 1606|       |
 1607|  3.95k|  if (Scale != 1 && Scale != 2 && Scale != 4 && Scale != 8) {
  ------------------
  |  Branch (1607:7): [True: 67, False: 3.88k]
  |  Branch (1607:21): [True: 37, False: 30]
  |  Branch (1607:35): [True: 35, False: 2]
  |  Branch (1607:49): [True: 30, False: 5]
  ------------------
 1608|       |      // invalid Scale
 1609|     30|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 1610|     30|      return nullptr;
 1611|     30|  }
 1612|       |
 1613|  3.92k|  if (!isParsingInlineAsm()) {
  ------------------
  |  Branch (1613:7): [True: 3.92k, False: 0]
  ------------------
 1614|       |    // handle [-42]
 1615|  3.92k|    if (!BaseReg && !IndexReg) {
  ------------------
  |  Branch (1615:9): [True: 2.90k, False: 1.01k]
  |  Branch (1615:21): [True: 2.85k, False: 51]
  ------------------
 1616|  2.85k|      if (!SegReg)
  ------------------
  |  Branch (1616:11): [True: 2.80k, False: 51]
  ------------------
 1617|  2.80k|        return X86Operand::CreateMem(getPointerWidth(), Disp, Start, End, Size);
 1618|     51|      return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1,
 1619|     51|                                   Start, End, Size);
 1620|  2.85k|    }
 1621|  1.06k|    StringRef ErrMsg;
 1622|  1.06k|    if (CheckBaseRegAndIndexReg(BaseReg, IndexReg, ErrMsg)) {
  ------------------
  |  Branch (1622:9): [True: 7, False: 1.05k]
  ------------------
 1623|       |      //Error(StartInBrac, ErrMsg);
 1624|      7|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 1625|      7|      return nullptr;
 1626|      7|    }
 1627|  1.05k|    return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg,
 1628|  1.05k|                                 IndexReg, Scale, Start, End, Size);
 1629|  1.06k|  }
 1630|       |
 1631|      0|  InlineAsmIdentifierInfo &Info = SM.getIdentifierInfo();
 1632|      0|  return CreateMemForInlineAsm(SegReg, Disp, BaseReg, IndexReg, Scale, Start,
 1633|      0|                               End, Size, SM.getSymName(), Info);
 1634|  3.92k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21ParseIntelDotOperatorEPKN7llvm_ks6MCExprERS4_:
 1820|    260|{
 1821|    260|  MCAsmParser &Parser = getParser();
 1822|    260|  const AsmToken &Tok = Parser.getTok();
 1823|    260|  int64_t OrigDispVal, DotDispVal;
 1824|       |
 1825|       |  // FIXME: Handle non-constant expressions.
 1826|    260|  if (const MCConstantExpr *OrigDisp = dyn_cast<MCConstantExpr>(Disp))
  ------------------
  |  Branch (1826:29): [True: 258, False: 2]
  ------------------
 1827|    258|    OrigDispVal = OrigDisp->getValue();
 1828|      2|  else
 1829|       |    //return Error(Tok.getLoc(), "Non-constant offsets are not supported!");
 1830|      2|    return true;
 1831|       |
 1832|       |  // Drop the optional '.'.
 1833|    258|  StringRef DotDispStr = Tok.getString();
 1834|    258|  if (DotDispStr.startswith("."))
  ------------------
  |  Branch (1834:7): [True: 258, False: 0]
  ------------------
 1835|    258|    DotDispStr = DotDispStr.drop_front(1);
 1836|       |
 1837|       |  // .Imm gets lexed as a real.
 1838|    258|  if (Tok.is(AsmToken::Real)) {
  ------------------
  |  Branch (1838:7): [True: 247, False: 11]
  ------------------
 1839|    247|    APInt DotDisp;
 1840|    247|    DotDispStr.getAsInteger(10, DotDisp);
 1841|       |    // sanity check
 1842|    247|    if (DotDisp.getActiveBits() > 64) {
  ------------------
  |  Branch (1842:9): [True: 93, False: 154]
  ------------------
 1843|     93|        return true;
 1844|     93|    }
 1845|    154|    DotDispVal = DotDisp.getZExtValue();
 1846|    154|  } else if (isParsingInlineAsm() && Tok.is(AsmToken::Identifier)) {
  ------------------
  |  Branch (1846:14): [True: 0, False: 11]
  |  Branch (1846:38): [True: 0, False: 0]
  ------------------
 1847|      0|    unsigned DotDisp;
 1848|      0|    std::pair<StringRef, StringRef> BaseMember = DotDispStr.split('.');
 1849|      0|    if (SemaCallback->LookupInlineAsmField(BaseMember.first, BaseMember.second,
  ------------------
  |  Branch (1849:9): [True: 0, False: 0]
  ------------------
 1850|      0|                                           DotDisp))
 1851|       |      //return Error(Tok.getLoc(), "Unable to lookup field reference!");
 1852|      0|      return true;
 1853|      0|    DotDispVal = DotDisp;
 1854|      0|  } else
 1855|       |    //return Error(Tok.getLoc(), "Unexpected token type!");
 1856|     11|    return true;
 1857|       |
 1858|    154|  if (isParsingInlineAsm() && Tok.is(AsmToken::Identifier)) {
  ------------------
  |  Branch (1858:7): [True: 0, False: 154]
  |  Branch (1858:31): [True: 0, False: 0]
  ------------------
 1859|      0|    SMLoc Loc = SMLoc::getFromPointer(DotDispStr.data());
 1860|      0|    unsigned Len = DotDispStr.size();
 1861|      0|    unsigned Val = OrigDispVal + DotDispVal;
 1862|      0|    InstInfo->AsmRewrites->emplace_back(AOK_DotOperator, Loc, Len, Val);
 1863|      0|  }
 1864|       |
 1865|    154|  NewDisp = MCConstantExpr::create(OrigDispVal + DotDispVal, getContext());
 1866|    154|  return false;
 1867|    258|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine10getBaseRegEv:
  336|  3.95k|    unsigned getBaseReg() { return (Rel && !Abs && BaseReg == 0 && IndexReg == 0) ? (unsigned)X86::RIP : BaseReg; }
  ------------------
  |  Branch (336:37): [True: 11, False: 3.94k]
  |  Branch (336:44): [True: 11, False: 0]
  |  Branch (336:52): [True: 11, False: 0]
  |  Branch (336:68): [True: 11, False: 0]
  ------------------
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine11getIndexRegEv:
  337|  3.95k|    unsigned getIndexReg() { return IndexReg; }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser21IntelExprStateMachine8getScaleEv:
  338|  3.95k|    unsigned getScale() { return Scale; }
X86AsmParser.cpp:_ZL23CheckBaseRegAndIndexRegjjRN7llvm_ks9StringRefE:
  926|  1.10k|                                    StringRef &ErrMsg) {
  927|       |  // If we have both a base register and an index register make sure they are
  928|       |  // both 64-bit or 32-bit registers.
  929|       |  // To support VSIB, IndexReg can be 128-bit or 256-bit registers.
  930|       |
  931|  1.10k|  if ((BaseReg == X86::RIP && IndexReg != 0) || (IndexReg == X86::RIP)) {
  ------------------
  |  Branch (931:8): [True: 11, False: 1.09k]
  |  Branch (931:31): [True: 0, False: 11]
  |  Branch (931:49): [True: 0, False: 1.10k]
  ------------------
  932|      0|    ErrMsg = "invalid base+index expression";
  933|      0|    return true;
  934|      0|  }
  935|  1.10k|  if (BaseReg != 0 && IndexReg != 0) {
  ------------------
  |  Branch (935:7): [True: 1.01k, False: 92]
  |  Branch (935:23): [True: 302, False: 711]
  ------------------
  936|    302|    if (X86MCRegisterClasses[X86::GR64RegClassID].contains(BaseReg) &&
  ------------------
  |  Branch (936:9): [True: 0, False: 302]
  ------------------
  937|      0|        (X86MCRegisterClasses[X86::GR16RegClassID].contains(IndexReg) ||
  ------------------
  |  Branch (937:10): [True: 0, False: 0]
  ------------------
  938|      0|         X86MCRegisterClasses[X86::GR32RegClassID].contains(IndexReg)) &&
  ------------------
  |  Branch (938:10): [True: 0, False: 0]
  ------------------
  939|      0|        IndexReg != X86::RIZ) {
  ------------------
  |  Branch (939:9): [True: 0, False: 0]
  ------------------
  940|      0|      ErrMsg = "base register is 64-bit, but index register is not";
  941|      0|      return true;
  942|      0|    }
  943|    302|    if (X86MCRegisterClasses[X86::GR32RegClassID].contains(BaseReg) &&
  ------------------
  |  Branch (943:9): [True: 2, False: 300]
  ------------------
  944|      2|        (X86MCRegisterClasses[X86::GR16RegClassID].contains(IndexReg) ||
  ------------------
  |  Branch (944:10): [True: 1, False: 1]
  ------------------
  945|      1|         X86MCRegisterClasses[X86::GR64RegClassID].contains(IndexReg)) &&
  ------------------
  |  Branch (945:10): [True: 0, False: 1]
  ------------------
  946|      1|        IndexReg != X86::EIZ){
  ------------------
  |  Branch (946:9): [True: 1, False: 0]
  ------------------
  947|      1|      ErrMsg = "base register is 32-bit, but index register is not";
  948|      1|      return true;
  949|      1|    }
  950|    301|    if (X86MCRegisterClasses[X86::GR16RegClassID].contains(BaseReg)) {
  ------------------
  |  Branch (950:9): [True: 7, False: 294]
  ------------------
  951|      7|      if (X86MCRegisterClasses[X86::GR32RegClassID].contains(IndexReg) ||
  ------------------
  |  Branch (951:11): [True: 1, False: 6]
  ------------------
  952|      6|          X86MCRegisterClasses[X86::GR64RegClassID].contains(IndexReg)) {
  ------------------
  |  Branch (952:11): [True: 0, False: 6]
  ------------------
  953|      1|        ErrMsg = "base register is 16-bit, but index register is not";
  954|      1|        return true;
  955|      1|      }
  956|      6|      if (((BaseReg == X86::BX || BaseReg == X86::BP) &&
  ------------------
  |  Branch (956:13): [True: 1, False: 5]
  |  Branch (956:35): [True: 1, False: 4]
  ------------------
  957|      2|           IndexReg != X86::SI && IndexReg != X86::DI) ||
  ------------------
  |  Branch (957:12): [True: 2, False: 0]
  |  Branch (957:35): [True: 2, False: 0]
  ------------------
  958|      4|          ((BaseReg == X86::SI || BaseReg == X86::DI) &&
  ------------------
  |  Branch (958:13): [True: 1, False: 3]
  |  Branch (958:35): [True: 2, False: 1]
  ------------------
  959|      5|           IndexReg != X86::BX && IndexReg != X86::BP)) {
  ------------------
  |  Branch (959:12): [True: 3, False: 0]
  |  Branch (959:35): [True: 3, False: 0]
  ------------------
  960|      5|        ErrMsg = "invalid 16-bit base/index register combination";
  961|      5|        return true;
  962|      5|      }
  963|      6|    }
  964|    301|  }
  965|  1.09k|  return false;
  966|  1.10k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser19ParseRoundingModeOpEN7llvm_ks5SMLocES2_Rj:
 1747|    248|{
 1748|    248|  MCAsmParser &Parser = getParser();
 1749|    248|  const AsmToken &Tok = Parser.getTok();
 1750|       |  // Eat "{" and mark the current place.
 1751|    248|  const SMLoc consumedToken = consumeToken();
 1752|    248|  if (Tok.getIdentifier().startswith("r")) {
  ------------------
  |  Branch (1752:7): [True: 56, False: 192]
  ------------------
 1753|     56|    int rndMode = StringSwitch<int>(Tok.getIdentifier())
 1754|     56|      .Case("rn", X86::STATIC_ROUNDING::TO_NEAREST_INT)
 1755|     56|      .Case("rd", X86::STATIC_ROUNDING::TO_NEG_INF)
 1756|     56|      .Case("ru", X86::STATIC_ROUNDING::TO_POS_INF)
 1757|     56|      .Case("rz", X86::STATIC_ROUNDING::TO_ZERO)
 1758|     56|      .Default(-1);
 1759|     56|    if (-1 == rndMode)
  ------------------
  |  Branch (1759:9): [True: 11, False: 45]
  ------------------
 1760|     11|      return ErrorOperand(Tok.getLoc(), "Invalid rounding mode.");
 1761|     45|     Parser.Lex();  // Eat "r*" of r*-sae
 1762|     45|    if (!getLexer().is(AsmToken::Minus))
  ------------------
  |  Branch (1762:9): [True: 16, False: 29]
  ------------------
 1763|     16|      return ErrorOperand(Tok.getLoc(), "Expected - at this point");
 1764|     29|    Parser.Lex();  // Eat "-"
 1765|     29|    Parser.Lex();  // Eat the sae
 1766|     29|    if (!getLexer().is(AsmToken::RCurly))
  ------------------
  |  Branch (1766:9): [True: 24, False: 5]
  ------------------
 1767|     24|      return ErrorOperand(Tok.getLoc(), "Expected } at this point");
 1768|      5|    Parser.Lex();  // Eat "}"
 1769|      5|    const MCExpr *RndModeOp =
 1770|      5|      MCConstantExpr::create(rndMode, Parser.getContext());
 1771|      5|    return X86Operand::CreateImm(RndModeOp, Start, End);
 1772|     29|  }
 1773|    192|  if(Tok.getIdentifier().equals("sae")){
  ------------------
  |  Branch (1773:6): [True: 2, False: 190]
  ------------------
 1774|      2|    Parser.Lex();  // Eat the sae
 1775|      2|    if (!getLexer().is(AsmToken::RCurly))
  ------------------
  |  Branch (1775:9): [True: 1, False: 1]
  ------------------
 1776|      1|      return ErrorOperand(Tok.getLoc(), "Expected } at this point");
 1777|      1|    Parser.Lex();  // Eat "}"
 1778|      1|    return X86Operand::CreateToken("{sae}", consumedToken);
 1779|      2|  }
 1780|       |
 1781|    190|  KsError = KS_ERR_ASM_INVALIDOPERAND;
 1782|    190|  return ErrorOperand(Tok.getLoc(), "unknown token in expression");
 1783|    192|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser25ParseIntelSegmentOverrideEjN7llvm_ks5SMLocEjRj:
 1689|    188|{
 1690|    188|  MCAsmParser &Parser = getParser();
 1691|    188|  assert(SegReg != 0 && "Tried to parse a segment override without a segment!");
  ------------------
  |  Branch (1691:3): [True: 188, False: 0]
  |  Branch (1691:3): [True: 188, Folded]
  |  Branch (1691:3): [True: 188, False: 0]
  ------------------
 1692|    188|  const AsmToken &Tok = Parser.getTok(); // Eat colon.
 1693|    188|  if (Tok.isNot(AsmToken::Colon))
  ------------------
  |  Branch (1693:7): [True: 0, False: 188]
  ------------------
 1694|      0|    return ErrorOperand(Tok.getLoc(), "Expected ':' token!");
 1695|    188|  Parser.Lex(); // Eat ':'
 1696|       |
 1697|    188|  int64_t ImmDisp = 0;
 1698|    188|  if (getLexer().is(AsmToken::Integer)) {
  ------------------
  |  Branch (1698:7): [True: 68, False: 120]
  ------------------
 1699|     68|    bool valid;
 1700|     68|    ImmDisp = Tok.getIntVal(valid);
 1701|     68|    if (!valid) {
  ------------------
  |  Branch (1701:9): [True: 0, False: 68]
  ------------------
 1702|      0|        KsError = KS_ERR_ASM_INVALIDOPERAND;
 1703|      0|        return nullptr;
 1704|      0|    }
 1705|     68|    AsmToken ImmDispToken = Parser.Lex(); // Eat the integer.
 1706|       |
 1707|     68|    if (isParsingInlineAsm())
  ------------------
  |  Branch (1707:9): [True: 0, False: 68]
  ------------------
 1708|      0|      InstInfo->AsmRewrites->emplace_back(AOK_ImmPrefix, ImmDispToken.getLoc());
 1709|       |
 1710|     68|    if (getLexer().isNot(AsmToken::LBrac)) {
  ------------------
  |  Branch (1710:9): [True: 51, False: 17]
  ------------------
 1711|       |      // An immediate following a 'segment register', 'colon' token sequence can
 1712|       |      // be followed by a bracketed expression.  If it isn't we know we have our
 1713|       |      // final segment override.
 1714|     51|      const MCExpr *Disp = MCConstantExpr::create(ImmDisp, getContext());
 1715|     51|      return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp,
 1716|     51|                                   /*BaseReg=*/0, /*IndexReg=*/0, /*Scale=*/1,
 1717|     51|                                   Start, ImmDispToken.getEndLoc(), Size);
 1718|     51|    }
 1719|     68|  }
 1720|       |
 1721|    137|  if (getLexer().is(AsmToken::LBrac))
  ------------------
  |  Branch (1721:7): [True: 57, False: 80]
  ------------------
 1722|     57|    return ParseIntelBracExpression(SegReg, Start, ImmDisp, Size, KsError);
 1723|       |
 1724|     80|  const MCExpr *Val;
 1725|     80|  SMLoc End;
 1726|     80|  if (!isParsingInlineAsm()) {
  ------------------
  |  Branch (1726:7): [True: 80, False: 0]
  ------------------
 1727|     80|    if (getParser().parsePrimaryExpr(Val, End))
  ------------------
  |  Branch (1727:9): [True: 33, False: 47]
  ------------------
 1728|     33|      return ErrorOperand(Tok.getLoc(), "unknown token in expression");
 1729|       |
 1730|     47|    return X86Operand::CreateMem(getPointerWidth(), Val, Start, End, Size);
 1731|     80|  }
 1732|       |
 1733|      0|  InlineAsmIdentifierInfo Info;
 1734|      0|  StringRef Identifier = Tok.getString();
 1735|      0|  if (ParseIntelIdentifier(Val, Identifier, Info,
  ------------------
  |  Branch (1735:7): [True: 0, False: 0]
  ------------------
 1736|      0|                           /*Unevaluated=*/false, End)) {
 1737|      0|    KsError = KS_ERR_ASM_INVALIDOPERAND;
 1738|      0|    return nullptr;
 1739|      0|  }
 1740|      0|  return CreateMemForInlineAsm(/*SegReg=*/0, Val, /*BaseReg=*/0,/*IndexReg=*/0,
 1741|      0|                               /*Scale=*/1, Start, End, Size, Identifier, Info);
 1742|      0|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser15ParseATTOperandERj:
 2085|  14.1k|{
 2086|  14.1k|  MCAsmParser &Parser = getParser();
 2087|  14.1k|  switch (getLexer().getKind()) {
 2088|  11.6k|  default:
  ------------------
  |  Branch (2088:3): [True: 11.6k, False: 2.40k]
  ------------------
 2089|       |    // Parse a memory operand with no segment register.
 2090|  11.6k|    return ParseMemOperand(0, Parser.getTok().getLoc(), KsError);
 2091|     34|  case AsmToken::Percent: {
  ------------------
  |  Branch (2091:3): [True: 34, False: 14.0k]
  ------------------
 2092|       |    // Read the register.
 2093|     34|    unsigned RegNo;
 2094|     34|    SMLoc Start, End;
 2095|     34|    unsigned int ErrorCode;
 2096|     34|    if (ParseRegister(RegNo, Start, End, ErrorCode)) return nullptr;
  ------------------
  |  Branch (2096:9): [True: 8, False: 26]
  ------------------
 2097|     26|    if (RegNo == X86::EIZ || RegNo == X86::RIZ) {
  ------------------
  |  Branch (2097:9): [True: 0, False: 26]
  |  Branch (2097:30): [True: 0, False: 26]
  ------------------
 2098|       |      //Error(Start, "%eiz and %riz can only be used as index registers",
 2099|       |      //      SMRange(Start, End));
 2100|      0|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 2101|      0|      return nullptr;
 2102|      0|    }
 2103|     26|    if (RegNo == X86::RIP) {
  ------------------
  |  Branch (2103:9): [True: 0, False: 26]
  ------------------
 2104|       |      // Error(Start, "%rip can only be used as a base register",
 2105|       |      //       SMRange(Start, End));
 2106|      0|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 2107|      0|      return nullptr;
 2108|      0|    }
 2109|       |
 2110|       |    // If this is a segment register followed by a ':', then this is the start
 2111|       |    // of a memory reference, otherwise this is a normal register reference.
 2112|     26|    if (getLexer().isNot(AsmToken::Colon))
  ------------------
  |  Branch (2112:9): [True: 23, False: 3]
  ------------------
 2113|     23|      return X86Operand::CreateReg(RegNo, Start, End);
 2114|       |
 2115|      3|    if (!X86MCRegisterClasses[X86::SEGMENT_REGRegClassID].contains(RegNo)) {
  ------------------
  |  Branch (2115:9): [True: 2, False: 1]
  ------------------
 2116|      2|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 2117|      2|      return ErrorOperand(Start, "invalid segment register");
 2118|      2|    }
 2119|       |
 2120|      1|    getParser().Lex(); // Eat the colon.
 2121|      1|    return ParseMemOperand(RegNo, Start, KsError);
 2122|      3|  }
 2123|  2.33k|  case AsmToken::Dollar: {
  ------------------
  |  Branch (2123:3): [True: 2.33k, False: 11.7k]
  ------------------
 2124|       |    // $42 -> immediate.
 2125|  2.33k|    SMLoc Start = Parser.getTok().getLoc(), End;
 2126|  2.33k|    Parser.Lex();
 2127|  2.33k|    const MCExpr *Val;
 2128|  2.33k|    if (getParser().parseExpression(Val, End)) {
  ------------------
  |  Branch (2128:9): [True: 203, False: 2.13k]
  ------------------
 2129|    203|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 2130|    203|      return nullptr;
 2131|    203|    }
 2132|  2.13k|    return X86Operand::CreateImm(Val, Start, End);
 2133|  2.33k|  }
 2134|     37|  case AsmToken::LCurly:{
  ------------------
  |  Branch (2134:3): [True: 37, False: 14.0k]
  ------------------
 2135|     37|    SMLoc Start = Parser.getTok().getLoc(), End;
 2136|     37|    if (getSTI().getFeatureBits()[X86::FeatureAVX512])
  ------------------
  |  Branch (2136:9): [True: 37, False: 0]
  ------------------
 2137|     37|      return ParseRoundingModeOp(Start, End, KsError);
 2138|      0|    KsError = KS_ERR_ASM_INVALIDOPERAND;
 2139|      0|    return ErrorOperand(Start, "unknown token in expression");
 2140|     37|  }
 2141|  14.1k|  }
 2142|  14.1k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser15ParseMemOperandEjN7llvm_ks5SMLocERj:
 2229|  11.6k|{
 2230|       |
 2231|  11.6k|  unsigned int ErrorCode;
 2232|  11.6k|  MCAsmParser &Parser = getParser();
 2233|       |  // We have to disambiguate a parenthesized expression "(4+5)" from the start
 2234|       |  // of a memory operand with a missing displacement "(%ebx)" or "(,%eax)".  The
 2235|       |  // only way to do this without lookahead is to eat the '(' and see what is
 2236|       |  // after it.
 2237|  11.6k|  const MCExpr *Disp = MCConstantExpr::create(0, getParser().getContext());
 2238|  11.6k|  if (getLexer().isNot(AsmToken::LParen)) {
  ------------------
  |  Branch (2238:7): [True: 11.5k, False: 107]
  ------------------
 2239|  11.5k|    SMLoc ExprEnd;
 2240|  11.5k|    if (getParser().parseExpression(Disp, ExprEnd)) {
  ------------------
  |  Branch (2240:9): [True: 5.65k, False: 5.93k]
  ------------------
 2241|  5.65k|        KsError = KS_ERR_ASM_INVALIDOPERAND;
 2242|  5.65k|        return nullptr;
 2243|  5.65k|    }
 2244|       |
 2245|       |    // After parsing the base expression we could either have a parenthesized
 2246|       |    // memory address or not.  If not, return now.  If so, eat the (.
 2247|  5.93k|    if (getLexer().isNot(AsmToken::LParen)) {
  ------------------
  |  Branch (2247:9): [True: 5.88k, False: 51]
  ------------------
 2248|       |      // Unless we have a segment register, treat this as an immediate.
 2249|  5.88k|      if (SegReg == 0)
  ------------------
  |  Branch (2249:11): [True: 5.88k, False: 1]
  ------------------
 2250|  5.88k|        return X86Operand::CreateMem(getPointerWidth(), Disp, MemStart, ExprEnd);
 2251|      1|      return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1,
 2252|      1|                                   MemStart, ExprEnd);
 2253|  5.88k|    }
 2254|       |
 2255|       |    // Eat the '('.
 2256|     51|    Parser.Lex();
 2257|    107|  } else {
 2258|       |    // Okay, we have a '('.  We don't know if this is an expression or not, but
 2259|       |    // so we have to eat the ( to see beyond it.
 2260|    107|    SMLoc LParenLoc = Parser.getTok().getLoc();
 2261|    107|    Parser.Lex(); // Eat the '('.
 2262|       |
 2263|    107|    if (getLexer().is(AsmToken::Percent) || getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (2263:9): [True: 3, False: 104]
  |  Branch (2263:45): [True: 28, False: 76]
  ------------------
 2264|       |      // Nothing to do here, fall into the code below with the '(' part of the
 2265|       |      // memory operand consumed.
 2266|     76|    } else {
 2267|     76|      SMLoc ExprEnd;
 2268|       |
 2269|       |      // It must be an parenthesized expression, parse it now.
 2270|     76|      if (getParser().parseParenExpression(Disp, ExprEnd)) {
  ------------------
  |  Branch (2270:11): [True: 71, False: 5]
  ------------------
 2271|     71|        KsError = KS_ERR_ASM_INVALIDOPERAND;
 2272|     71|        return nullptr;
 2273|     71|      }
 2274|       |
 2275|       |      // After parsing the base expression we could either have a parenthesized
 2276|       |      // memory address or not.  If not, return now.  If so, eat the (.
 2277|      5|      if (getLexer().isNot(AsmToken::LParen)) {
  ------------------
  |  Branch (2277:11): [True: 4, False: 1]
  ------------------
 2278|       |        // Unless we have a segment register, treat this as an immediate.
 2279|      4|        if (SegReg == 0)
  ------------------
  |  Branch (2279:13): [True: 4, False: 0]
  ------------------
 2280|      4|          return X86Operand::CreateMem(getPointerWidth(), Disp, LParenLoc,
 2281|      4|                                       ExprEnd);
 2282|      0|        return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, 0, 0, 1,
 2283|      0|                                     MemStart, ExprEnd);
 2284|      4|      }
 2285|       |
 2286|       |      // Eat the '('.
 2287|      1|      Parser.Lex();
 2288|      1|    }
 2289|    107|  }
 2290|       |
 2291|       |  // If we reached here, then we just ate the ( of the memory operand.  Process
 2292|       |  // the rest of the memory operand.
 2293|     83|  unsigned BaseReg = 0, IndexReg = 0, Scale = 1;
 2294|     83|  SMLoc IndexLoc, BaseLoc;
 2295|       |
 2296|     83|  if (getLexer().is(AsmToken::Percent)) {
  ------------------
  |  Branch (2296:7): [True: 4, False: 79]
  ------------------
 2297|      4|    SMLoc StartLoc, EndLoc;
 2298|      4|    BaseLoc = Parser.getTok().getLoc();
 2299|      4|    if (ParseRegister(BaseReg, StartLoc, EndLoc, ErrorCode)) {
  ------------------
  |  Branch (2299:9): [True: 1, False: 3]
  ------------------
 2300|      1|        KsError = KS_ERR_ASM_INVALIDOPERAND;
 2301|      1|        return nullptr;
 2302|      1|    }
 2303|      3|    if (BaseReg == X86::EIZ || BaseReg == X86::RIZ) {
  ------------------
  |  Branch (2303:9): [True: 0, False: 3]
  |  Branch (2303:32): [True: 0, False: 3]
  ------------------
 2304|       |      //Error(StartLoc, "eiz and riz can only be used as index registers",
 2305|       |      //      SMRange(StartLoc, EndLoc));
 2306|      0|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 2307|      0|      return nullptr;
 2308|      0|    }
 2309|      3|  }
 2310|       |
 2311|     82|  if (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (2311:7): [True: 45, False: 37]
  ------------------
 2312|     45|    Parser.Lex(); // Eat the comma.
 2313|     45|    IndexLoc = Parser.getTok().getLoc();
 2314|       |
 2315|       |    // Following the comma we should have either an index register, or a scale
 2316|       |    // value. We don't support the later form, but we want to parse it
 2317|       |    // correctly.
 2318|       |    //
 2319|       |    // Not that even though it would be completely consistent to support syntax
 2320|       |    // like "1(%eax,,1)", the assembler doesn't. Use "eiz" or "riz" for this.
 2321|     45|    if (getLexer().is(AsmToken::Percent)) {
  ------------------
  |  Branch (2321:9): [True: 14, False: 31]
  ------------------
 2322|     14|      SMLoc L;
 2323|     14|      if (ParseRegister(IndexReg, L, L, ErrorCode)) {
  ------------------
  |  Branch (2323:11): [True: 1, False: 13]
  ------------------
 2324|      1|          KsError = KS_ERR_ASM_INVALIDOPERAND;
 2325|      1|          return nullptr;
 2326|      1|      }
 2327|       |
 2328|     13|      if (ParseRegister(IndexReg, L, L, ErrorCode)) {
  ------------------
  |  Branch (2328:11): [True: 1, False: 12]
  ------------------
 2329|      1|        KsError = KS_ERR_ASM_X86_INVALIDOPERAND;
 2330|      1|        return nullptr;
 2331|      1|      }
 2332|     12|      if (BaseReg == X86::RIP) {
  ------------------
  |  Branch (2332:11): [True: 0, False: 12]
  ------------------
 2333|       |        // Error(IndexLoc, "%rip as base register can not have an index register");
 2334|      0|        KsError = KS_ERR_ASM_INVALIDOPERAND;
 2335|      0|        return nullptr;
 2336|      0|      }
 2337|     12|      if (IndexReg == X86::RIP) {
  ------------------
  |  Branch (2337:11): [True: 0, False: 12]
  ------------------
 2338|       |        // Error(IndexLoc, "%rip is not allowed as an index register");
 2339|      0|        KsError = KS_ERR_ASM_INVALIDOPERAND;
 2340|      0|        return nullptr;
 2341|      0|      }
 2342|       |
 2343|     12|      if (getLexer().isNot(AsmToken::RParen)) {
  ------------------
  |  Branch (2343:11): [True: 11, False: 1]
  ------------------
 2344|       |        // Parse the scale amount:
 2345|       |        //  ::= ',' [scale-expression]
 2346|     11|        if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (2346:13): [True: 1, False: 10]
  ------------------
 2347|       |          //Error(Parser.getTok().getLoc(),
 2348|       |          //      "expected comma in scale expression");
 2349|      1|          KsError = KS_ERR_ASM_INVALIDOPERAND;
 2350|      1|          return nullptr;
 2351|      1|        }
 2352|     10|        Parser.Lex(); // Eat the comma.
 2353|       |
 2354|     10|        if (getLexer().isNot(AsmToken::RParen)) {
  ------------------
  |  Branch (2354:13): [True: 9, False: 1]
  ------------------
 2355|       |          //SMLoc Loc = Parser.getTok().getLoc();
 2356|       |
 2357|      9|          int64_t ScaleVal;
 2358|      9|          if (getParser().parseAbsoluteExpression(ScaleVal)){
  ------------------
  |  Branch (2358:15): [True: 2, False: 7]
  ------------------
 2359|       |            //Error(Loc, "expected scale expression");
 2360|      2|            KsError = KS_ERR_ASM_INVALIDOPERAND;
 2361|      2|            return nullptr;
 2362|      2|          }
 2363|       |
 2364|       |          // Validate the scale amount.
 2365|      7|          if (X86MCRegisterClasses[X86::GR16RegClassID].contains(BaseReg) &&
  ------------------
  |  Branch (2365:15): [True: 0, False: 7]
  ------------------
 2366|      0|              ScaleVal != 1) {
  ------------------
  |  Branch (2366:15): [True: 0, False: 0]
  ------------------
 2367|       |            //Error(Loc, "scale factor in 16-bit address must be 1");
 2368|      0|            KsError = KS_ERR_ASM_INVALIDOPERAND;
 2369|      0|            return nullptr;
 2370|      0|          }
 2371|      7|          if (ScaleVal != 1 && ScaleVal != 2 && ScaleVal != 4 &&
  ------------------
  |  Branch (2371:15): [True: 6, False: 1]
  |  Branch (2371:32): [True: 5, False: 1]
  |  Branch (2371:49): [True: 3, False: 2]
  ------------------
 2372|      3|              ScaleVal != 8) {
  ------------------
  |  Branch (2372:15): [True: 1, False: 2]
  ------------------
 2373|       |            //Error(Loc, "scale factor in address must be 1, 2, 4 or 8");
 2374|      1|            KsError = KS_ERR_ASM_INVALIDOPERAND;
 2375|      1|            return nullptr;
 2376|      1|          }
 2377|      6|          Scale = (unsigned)ScaleVal;
 2378|      6|        }
 2379|     10|      }
 2380|     31|    } else if (getLexer().isNot(AsmToken::RParen)) {
  ------------------
  |  Branch (2380:16): [True: 18, False: 13]
  ------------------
 2381|       |      // A scale amount without an index is ignored.
 2382|       |      // index.
 2383|       |      //SMLoc Loc = Parser.getTok().getLoc();
 2384|       |
 2385|     18|      int64_t Value;
 2386|     18|      if (getParser().parseAbsoluteExpression(Value)) {
  ------------------
  |  Branch (2386:11): [True: 13, False: 5]
  ------------------
 2387|     13|        KsError = KS_ERR_ASM_INVALIDOPERAND;
 2388|     13|        return nullptr;
 2389|     13|      }
 2390|       |
 2391|       |      //if (Value != 1)
 2392|       |      //  Warning(Loc, "scale factor without index register is ignored");
 2393|      5|      Scale = 1;
 2394|      5|    }
 2395|     45|  }
 2396|       |
 2397|       |  // Ok, we've eaten the memory operand, verify we have a ')' and eat it too.
 2398|     63|  if (getLexer().isNot(AsmToken::RParen)) {
  ------------------
  |  Branch (2398:7): [True: 16, False: 47]
  ------------------
 2399|       |    //Error(Parser.getTok().getLoc(), "unexpected token in memory operand");
 2400|     16|    KsError = KS_ERR_ASM_INVALIDOPERAND;
 2401|     16|    return nullptr;
 2402|     16|  }
 2403|     47|  SMLoc MemEnd = Parser.getTok().getEndLoc();
 2404|     47|  Parser.Lex(); // Eat the ')'.
 2405|       |
 2406|       |  // Check for use of invalid 16-bit registers. Only BX/BP/SI/DI are allowed,
 2407|       |  // and then only in non-64-bit modes. Except for DX, which is a special case
 2408|       |  // because an unofficial form of in/out instructions uses it.
 2409|     47|  if (X86MCRegisterClasses[X86::GR16RegClassID].contains(BaseReg) &&
  ------------------
  |  Branch (2409:7): [True: 2, False: 45]
  ------------------
 2410|      2|      (is64BitMode() || (BaseReg != X86::BX && BaseReg != X86::BP &&
  ------------------
  |  Branch (2410:8): [True: 0, False: 2]
  |  Branch (2410:26): [True: 2, False: 0]
  |  Branch (2410:48): [True: 2, False: 0]
  ------------------
 2411|      2|                         BaseReg != X86::SI && BaseReg != X86::DI)) &&
  ------------------
  |  Branch (2411:26): [True: 1, False: 1]
  |  Branch (2411:48): [True: 1, False: 0]
  ------------------
 2412|      1|      BaseReg != X86::DX) {
  ------------------
  |  Branch (2412:7): [True: 1, False: 0]
  ------------------
 2413|       |    //Error(BaseLoc, "invalid 16-bit base register");
 2414|      1|    KsError = KS_ERR_ASM_INVALIDOPERAND;
 2415|      1|    return nullptr;
 2416|      1|  }
 2417|     46|  if (BaseReg == 0 &&
  ------------------
  |  Branch (2417:7): [True: 44, False: 2]
  ------------------
 2418|     44|      X86MCRegisterClasses[X86::GR16RegClassID].contains(IndexReg)) {
  ------------------
  |  Branch (2418:7): [True: 3, False: 41]
  ------------------
 2419|       |    //Error(IndexLoc, "16-bit memory operand may not include only index register");
 2420|      3|    KsError = KS_ERR_ASM_INVALIDOPERAND;
 2421|      3|    return nullptr;
 2422|      3|  }
 2423|       |
 2424|     43|  StringRef ErrMsg;
 2425|     43|  if (CheckBaseRegAndIndexReg(BaseReg, IndexReg, ErrMsg)) {
  ------------------
  |  Branch (2425:7): [True: 0, False: 43]
  ------------------
 2426|       |    //Error(BaseLoc, ErrMsg);
 2427|      0|    KsError = KS_ERR_ASM_INVALIDOPERAND;
 2428|      0|    return nullptr;
 2429|      0|  }
 2430|       |
 2431|     43|  if (IndexReg !=0 && !Scale) {
  ------------------
  |  Branch (2431:7): [True: 3, False: 40]
  |  Branch (2431:23): [True: 0, False: 3]
  ------------------
 2432|       |      // Scale must go with Index register
 2433|      0|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 2434|      0|      return nullptr;
 2435|      0|  }
 2436|       |
 2437|     43|  if (Scale != 1 && Scale != 2 && Scale != 4 && Scale != 8) {
  ------------------
  |  Branch (2437:7): [True: 3, False: 40]
  |  Branch (2437:21): [True: 2, False: 1]
  |  Branch (2437:35): [True: 1, False: 1]
  |  Branch (2437:49): [True: 0, False: 1]
  ------------------
 2438|       |      // invalid Scale
 2439|      0|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 2440|      0|      return nullptr;
 2441|      0|  }
 2442|       |
 2443|     43|  if (SegReg || BaseReg || IndexReg)
  ------------------
  |  Branch (2443:7): [True: 0, False: 43]
  |  Branch (2443:17): [True: 2, False: 41]
  |  Branch (2443:28): [True: 3, False: 38]
  ------------------
 2444|      5|    return X86Operand::CreateMem(getPointerWidth(), SegReg, Disp, BaseReg,
 2445|      5|                                 IndexReg, Scale, MemStart, MemEnd);
 2446|     38|  return X86Operand::CreateMem(getPointerWidth(), Disp, MemStart, MemEnd);
 2447|     43|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser19HandleAVX512OperandERN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEERKS5_:
 2146|  33.8k|{
 2147|  33.8k|  MCAsmParser &Parser = getParser();
 2148|  33.8k|  if(getSTI().getFeatureBits()[X86::FeatureAVX512]) {
  ------------------
  |  Branch (2148:6): [True: 33.8k, False: 0]
  ------------------
 2149|  33.8k|    if (getLexer().is(AsmToken::LCurly)) {
  ------------------
  |  Branch (2149:9): [True: 2.08k, False: 31.7k]
  ------------------
 2150|       |      // Eat "{" and mark the current place.
 2151|  2.08k|      const SMLoc consumedToken = consumeToken();
 2152|       |      // Distinguish {1to<NUM>} from {%k<NUM>}.
 2153|  2.08k|      if(getLexer().is(AsmToken::Integer)) {
  ------------------
  |  Branch (2153:10): [True: 39, False: 2.04k]
  ------------------
 2154|       |        // Parse memory broadcasting ({1to<NUM>}).
 2155|     39|        bool valid;
 2156|     39|        if (getLexer().getTok().getIntVal(valid) != 1)
  ------------------
  |  Branch (2156:13): [True: 25, False: 14]
  ------------------
 2157|       |          //return !ErrorAndEatStatement(getLexer().getLoc(),
 2158|       |          //                             "Expected 1to<NUM> at this point");
 2159|     25|          return false;
 2160|     14|        Parser.Lex();  // Eat "1" of 1to8
 2161|     14|        if (!getLexer().is(AsmToken::Identifier) ||
  ------------------
  |  Branch (2161:13): [True: 1, False: 13]
  |  Branch (2161:13): [True: 7, False: 7]
  ------------------
 2162|     13|            !getLexer().getTok().getIdentifier().startswith("to"))
  ------------------
  |  Branch (2162:13): [True: 6, False: 7]
  ------------------
 2163|       |          //return !ErrorAndEatStatement(getLexer().getLoc(),
 2164|       |          //                             "Expected 1to<NUM> at this point");
 2165|      7|          return false;
 2166|       |        // Recognize only reasonable suffixes.
 2167|      7|        const char *BroadcastPrimitive =
 2168|      7|          StringSwitch<const char*>(getLexer().getTok().getIdentifier())
 2169|      7|            .Case("to2",  "{1to2}")
 2170|      7|            .Case("to4",  "{1to4}")
 2171|      7|            .Case("to8",  "{1to8}")
 2172|      7|            .Case("to16", "{1to16}")
 2173|      7|            .Default(nullptr);
 2174|      7|        if (!BroadcastPrimitive)
  ------------------
  |  Branch (2174:13): [True: 3, False: 4]
  ------------------
 2175|       |          //return !ErrorAndEatStatement(getLexer().getLoc(),
 2176|       |          //                             "Invalid memory broadcast primitive.");
 2177|      3|          return false;
 2178|      4|        Parser.Lex();  // Eat "toN" of 1toN
 2179|      4|        if (!getLexer().is(AsmToken::RCurly))
  ------------------
  |  Branch (2179:13): [True: 3, False: 1]
  ------------------
 2180|       |          //return !ErrorAndEatStatement(getLexer().getLoc(),
 2181|       |          //                             "Expected } at this point");
 2182|      3|          return false;
 2183|      1|        Parser.Lex();  // Eat "}"
 2184|      1|        Operands.push_back(X86Operand::CreateToken(BroadcastPrimitive,
 2185|      1|                                                   consumedToken));
 2186|       |        // No AVX512 specific primitives can pass
 2187|       |        // after memory broadcasting, so return.
 2188|      1|        return true;
 2189|  2.04k|      } else {
 2190|       |        // Parse mask register {%k1}
 2191|  2.04k|        unsigned int KsError;
 2192|  2.04k|        Operands.push_back(X86Operand::CreateToken("{", consumedToken));
 2193|  2.04k|        if (std::unique_ptr<X86Operand> Op = ParseOperand("", KsError)) {
  ------------------
  |  Branch (2193:41): [True: 222, False: 1.82k]
  ------------------
 2194|    222|          Operands.push_back(std::move(Op));
 2195|    222|          if (!getLexer().is(AsmToken::RCurly))
  ------------------
  |  Branch (2195:15): [True: 95, False: 127]
  ------------------
 2196|       |            //return !ErrorAndEatStatement(getLexer().getLoc(),
 2197|       |            //                             "Expected } at this point");
 2198|     95|            return false;
 2199|    127|          Operands.push_back(X86Operand::CreateToken("}", consumeToken()));
 2200|       |
 2201|       |          // Parse "zeroing non-masked" semantic {z}
 2202|    127|          if (getLexer().is(AsmToken::LCurly)) {
  ------------------
  |  Branch (2202:15): [True: 65, False: 62]
  ------------------
 2203|     65|            Operands.push_back(X86Operand::CreateToken("{z}", consumeToken()));
 2204|     65|            if (!getLexer().is(AsmToken::Identifier) ||
  ------------------
  |  Branch (2204:17): [True: 26, False: 39]
  |  Branch (2204:17): [True: 61, False: 4]
  ------------------
 2205|     39|                getLexer().getTok().getIdentifier() != "z")
  ------------------
  |  Branch (2205:17): [True: 35, False: 4]
  ------------------
 2206|       |              //return !ErrorAndEatStatement(getLexer().getLoc(),
 2207|       |              //                             "Expected z at this point");
 2208|     61|              return false;
 2209|      4|            Parser.Lex();  // Eat the z
 2210|      4|            if (!getLexer().is(AsmToken::RCurly))
  ------------------
  |  Branch (2210:17): [True: 3, False: 1]
  ------------------
 2211|       |              //return !ErrorAndEatStatement(getLexer().getLoc(),
 2212|       |              //                             "Expected } at this point");
 2213|      3|              return false;
 2214|      1|            Parser.Lex();  // Eat the }
 2215|      1|          }
 2216|  1.82k|        } else {
 2217|  1.82k|            return true;
 2218|  1.82k|        }
 2219|  2.04k|      }
 2220|  2.08k|    }
 2221|  33.8k|  }
 2222|  31.7k|  return true;
 2223|  33.8k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser25AddDefaultSrcDestOperandsERN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEEOS8_SB_:
 1148|  4.05k|    std::unique_ptr<llvm_ks::MCParsedAsmOperand> &&Dst) {
 1149|  4.05k|  if (isParsingIntelSyntax()) {
  ------------------
  |  Branch (1149:7): [True: 3.34k, False: 715]
  ------------------
 1150|  3.34k|    Operands.push_back(std::move(Dst));
 1151|  3.34k|    Operands.push_back(std::move(Src));
 1152|  3.34k|  }
 1153|    715|  else {
 1154|    715|    Operands.push_back(std::move(Src));
 1155|    715|    Operands.push_back(std::move(Dst));
 1156|    715|  }
 1157|  4.05k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser19DefaultMemDIOperandEN7llvm_ks5SMLocE:
 1106|  4.00k|std::unique_ptr<X86Operand> X86AsmParser::DefaultMemDIOperand(SMLoc Loc) {
 1107|  4.00k|  unsigned basereg =
 1108|  4.00k|    is64BitMode() ? X86::RDI : (is32BitMode() ? X86::EDI : X86::DI);
  ------------------
  |  Branch (1108:5): [True: 490, False: 3.51k]
  |  Branch (1108:33): [True: 1.68k, False: 1.83k]
  ------------------
 1109|  4.00k|  const MCExpr *Disp = MCConstantExpr::create(0, getContext());
 1110|  4.00k|  return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp,
 1111|  4.00k|                               /*BaseReg=*/basereg, /*IndexReg=*/0, /*Scale=*/1,
 1112|  4.00k|                               Loc, Loc, 0);
 1113|  4.00k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser23VerifyAndAdjustOperandsERN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEESA_:
 1160|  4.57k|                                           OperandVector &FinalOperands) {
 1161|       |
 1162|  4.57k|  if (OrigOperands.size() > 1) {
  ------------------
  |  Branch (1162:7): [True: 21, False: 4.55k]
  ------------------
 1163|       |    // Check if sizes match, OrigOpernads also contains the instruction name
 1164|     21|    assert(OrigOperands.size() == FinalOperands.size() + 1 &&
  ------------------
  |  Branch (1164:5): [True: 21, False: 0]
  |  Branch (1164:5): [True: 21, Folded]
  |  Branch (1164:5): [True: 21, False: 0]
  ------------------
 1165|     21|           "Opernand size mismatch");
 1166|       |
 1167|     21|    SmallVector<std::pair<SMLoc, std::string>, 2> Warnings;
 1168|       |    // Verify types match
 1169|     21|    int RegClassID = -1;
 1170|     23|    for (unsigned int i = 0; i < FinalOperands.size(); ++i) {
  ------------------
  |  Branch (1170:30): [True: 23, False: 0]
  ------------------
 1171|     23|      X86Operand &OrigOp = static_cast<X86Operand &>(*OrigOperands[i + 1]);
 1172|     23|      X86Operand &FinalOp = static_cast<X86Operand &>(*FinalOperands[i]);
 1173|       |
 1174|     23|      if (FinalOp.isReg() &&
  ------------------
  |  Branch (1174:11): [True: 2, False: 21]
  ------------------
 1175|      2|          (!OrigOp.isReg() || FinalOp.getReg() != OrigOp.getReg()))
  ------------------
  |  Branch (1175:12): [True: 2, False: 0]
  |  Branch (1175:31): [True: 0, False: 0]
  ------------------
 1176|       |        // Return false and let a normal complaint about bogus operands happen
 1177|      2|        return false;
 1178|       |
 1179|     21|      if (FinalOp.isMem()) {
  ------------------
  |  Branch (1179:11): [True: 21, False: 0]
  ------------------
 1180|       |
 1181|     21|        if (!OrigOp.isMem())
  ------------------
  |  Branch (1181:13): [True: 9, False: 12]
  ------------------
 1182|       |          // Return false and let a normal complaint about bogus operands happen
 1183|      9|          return false;
 1184|       |
 1185|     12|        unsigned OrigReg = OrigOp.Mem.BaseReg;
 1186|     12|        unsigned FinalReg = FinalOp.Mem.BaseReg;
 1187|       |
 1188|       |        // If we've already encounterd a register class, make sure all register
 1189|       |        // bases are of the same register class
 1190|     12|        if (RegClassID != -1 &&
  ------------------
  |  Branch (1190:13): [True: 0, False: 12]
  ------------------
 1191|      0|            !X86MCRegisterClasses[RegClassID].contains(OrigReg)) {
  ------------------
  |  Branch (1191:13): [True: 0, False: 0]
  ------------------
 1192|       |          //return Error(OrigOp.getStartLoc(),
 1193|       |          //             "mismatching source and destination index registers");
 1194|      0|          return true;
 1195|      0|        }
 1196|       |
 1197|     12|        if (X86MCRegisterClasses[X86::GR64RegClassID].contains(OrigReg))
  ------------------
  |  Branch (1197:13): [True: 0, False: 12]
  ------------------
 1198|      0|          RegClassID = X86::GR64RegClassID;
 1199|     12|        else if (X86MCRegisterClasses[X86::GR32RegClassID].contains(OrigReg))
  ------------------
  |  Branch (1199:18): [True: 0, False: 12]
  ------------------
 1200|      0|          RegClassID = X86::GR32RegClassID;
 1201|     12|        else if (X86MCRegisterClasses[X86::GR16RegClassID].contains(OrigReg))
  ------------------
  |  Branch (1201:18): [True: 2, False: 10]
  ------------------
 1202|      2|          RegClassID = X86::GR16RegClassID;
 1203|     10|        else
 1204|       |          // Unexpexted register class type
 1205|       |          // Return false and let a normal complaint about bogus operands happen
 1206|     10|          return false;
 1207|       |
 1208|      2|        bool IsSI = IsSIReg(FinalReg);
 1209|      2|        FinalReg = GetSIDIForRegClass(RegClassID, FinalReg, IsSI);
 1210|       |
 1211|      2|        if (FinalReg != OrigReg) {
  ------------------
  |  Branch (1211:13): [True: 1, False: 1]
  ------------------
 1212|      1|          std::string RegName = IsSI ? "ES:(R|E)SI" : "ES:(R|E)DI";
  ------------------
  |  Branch (1212:33): [True: 0, False: 1]
  ------------------
 1213|      1|          Warnings.push_back(std::make_pair(
 1214|      1|              OrigOp.getStartLoc(),
 1215|      1|              "memory operand is only for determining the size, " + RegName +
 1216|      1|                  " will be used for the location"));
 1217|      1|        }
 1218|       |
 1219|      2|        FinalOp.Mem.Size = OrigOp.Mem.Size;
 1220|      2|        FinalOp.Mem.SegReg = OrigOp.Mem.SegReg;
 1221|      2|        FinalOp.Mem.BaseReg = FinalReg;
 1222|      2|      }
 1223|     21|    }
 1224|       |
 1225|       |    // Produce warnings only if all the operands passed the adjustment - prevent
 1226|       |    // legal cases like "movsd (%rax), %xmm0" mistakenly produce warnings
 1227|      0|    for (auto WarningMsg = Warnings.begin(); WarningMsg < Warnings.end();
  ------------------
  |  Branch (1227:46): [True: 0, False: 0]
  ------------------
 1228|      0|         ++WarningMsg) {
 1229|      0|      Warning((*WarningMsg).first, (*WarningMsg).second);
 1230|      0|    }
 1231|       |
 1232|       |    // Remove old operands
 1233|      0|    for (unsigned int i = 0; i < FinalOperands.size(); ++i)
  ------------------
  |  Branch (1233:30): [True: 0, False: 0]
  ------------------
 1234|      0|      OrigOperands.pop_back();
 1235|      0|  }
 1236|       |  // OrigOperands.append(FinalOperands.begin(), FinalOperands.end());
 1237|  13.1k|  for (unsigned int i = 0; i < FinalOperands.size(); ++i)
  ------------------
  |  Branch (1237:28): [True: 8.59k, False: 4.55k]
  ------------------
 1238|  8.59k|    OrigOperands.push_back(std::move(FinalOperands[i]));
 1239|       |
 1240|  4.55k|  return false;
 1241|  4.57k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser7IsSIRegEj:
 1115|      2|bool X86AsmParser::IsSIReg(unsigned Reg) {
 1116|      2|  switch (Reg) {
 1117|      0|  default:
  ------------------
  |  Branch (1117:3): [True: 0, False: 2]
  ------------------
 1118|      0|    llvm_unreachable("Only (R|E)SI and (R|E)DI are expected!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 1119|      0|    return false;
 1120|      0|  case X86::RSI:
  ------------------
  |  Branch (1120:3): [True: 0, False: 2]
  ------------------
 1121|      0|  case X86::ESI:
  ------------------
  |  Branch (1121:3): [True: 0, False: 2]
  ------------------
 1122|      0|  case X86::SI:
  ------------------
  |  Branch (1122:3): [True: 0, False: 2]
  ------------------
 1123|      0|    return true;
 1124|      0|  case X86::RDI:
  ------------------
  |  Branch (1124:3): [True: 0, False: 2]
  ------------------
 1125|      0|  case X86::EDI:
  ------------------
  |  Branch (1125:3): [True: 0, False: 2]
  ------------------
 1126|      2|  case X86::DI:
  ------------------
  |  Branch (1126:3): [True: 2, False: 0]
  ------------------
 1127|      2|    return false;
 1128|      2|  }
 1129|      2|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser18GetSIDIForRegClassEjjb:
 1132|      2|                                          bool IsSIReg) {
 1133|      2|  switch (RegClassID) {
 1134|      0|  default:
  ------------------
  |  Branch (1134:3): [True: 0, False: 2]
  ------------------
 1135|      0|    llvm_unreachable("Unexpected register class");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 1136|      0|    return Reg;
 1137|      0|  case X86::GR64RegClassID:
  ------------------
  |  Branch (1137:3): [True: 0, False: 2]
  ------------------
 1138|      0|    return IsSIReg ? X86::RSI : X86::RDI;
  ------------------
  |  Branch (1138:12): [True: 0, False: 0]
  ------------------
 1139|      0|  case X86::GR32RegClassID:
  ------------------
  |  Branch (1139:3): [True: 0, False: 2]
  ------------------
 1140|      0|    return IsSIReg ? X86::ESI : X86::EDI;
  ------------------
  |  Branch (1140:12): [True: 0, False: 0]
  ------------------
 1141|      2|  case X86::GR16RegClassID:
  ------------------
  |  Branch (1141:3): [True: 2, False: 0]
  ------------------
 1142|      2|    return IsSIReg ? X86::SI : X86::DI;
  ------------------
  |  Branch (1142:12): [True: 0, False: 2]
  ------------------
 1143|      2|  }
 1144|      2|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser19DefaultMemSIOperandEN7llvm_ks5SMLocE:
 1097|  4.15k|std::unique_ptr<X86Operand> X86AsmParser::DefaultMemSIOperand(SMLoc Loc) {
 1098|  4.15k|  unsigned basereg =
 1099|  4.15k|    is64BitMode() ? X86::RSI : (is32BitMode() ? X86::ESI : X86::SI);
  ------------------
  |  Branch (1099:5): [True: 459, False: 3.69k]
  |  Branch (1099:33): [True: 1.52k, False: 2.17k]
  ------------------
 1100|  4.15k|  const MCExpr *Disp = MCConstantExpr::create(0, getContext());
 1101|  4.15k|  return X86Operand::CreateMem(getPointerWidth(), /*SegReg=*/0, Disp,
 1102|  4.15k|                               /*BaseReg=*/basereg, /*IndexReg=*/0, /*Scale=*/1,
 1103|  4.15k|                               Loc, Loc, 0);
 1104|  4.15k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser14ParseDirectiveEN7llvm_ks8AsmTokenE:
 3305|   260k|bool X86AsmParser::ParseDirective(AsmToken DirectiveID) {
 3306|   260k|  MCAsmParser &Parser = getParser();
 3307|   260k|  StringRef IDVal = DirectiveID.getIdentifier();
 3308|   260k|  if (IDVal == ".word")
  ------------------
  |  Branch (3308:7): [True: 16.9k, False: 243k]
  ------------------
 3309|  16.9k|    return ParseDirectiveWord(2, DirectiveID.getLoc());
 3310|   243k|  else if (IDVal.startswith(".code"))
  ------------------
  |  Branch (3310:12): [True: 3.58k, False: 239k]
  ------------------
 3311|  3.58k|    return ParseDirectiveCode(IDVal, DirectiveID.getLoc());
 3312|   239k|  else if (IDVal.startswith(".att_syntax")) {
  ------------------
  |  Branch (3312:12): [True: 49, False: 239k]
  ------------------
 3313|     49|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3313:9): [True: 39, False: 10]
  ------------------
 3314|     39|      if (Parser.getTok().getString() == "prefix")
  ------------------
  |  Branch (3314:11): [True: 0, False: 39]
  ------------------
 3315|      0|        Parser.Lex();
 3316|     39|      else if (Parser.getTok().getString() == "noprefix")
  ------------------
  |  Branch (3316:16): [True: 0, False: 39]
  ------------------
 3317|       |        //return Error(DirectiveID.getLoc(), "'.att_syntax noprefix' is not "
 3318|       |        //                                   "supported: registers must have a "
 3319|       |        //                                   "'%' prefix in .att_syntax");
 3320|      0|        return true;
 3321|     39|    }
 3322|     49|    getParser().setAssemblerDialect(0);
 3323|     49|    return false;
 3324|   239k|  } else if (IDVal.startswith(".intel_syntax")) {
  ------------------
  |  Branch (3324:14): [True: 43, False: 239k]
  ------------------
 3325|     43|    getParser().setAssemblerDialect(1);
 3326|     43|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3326:9): [True: 22, False: 21]
  ------------------
 3327|     22|      if (Parser.getTok().getString() == "noprefix")
  ------------------
  |  Branch (3327:11): [True: 0, False: 22]
  ------------------
 3328|      0|        Parser.Lex();
 3329|     22|      else if (Parser.getTok().getString() == "prefix")
  ------------------
  |  Branch (3329:16): [True: 0, False: 22]
  ------------------
 3330|       |        //return Error(DirectiveID.getLoc(), "'.intel_syntax prefix' is not "
 3331|       |        //                                   "supported: registers must not have "
 3332|       |        //                                   "a '%' prefix in .intel_syntax");
 3333|      0|        return true;
 3334|     22|    }
 3335|     43|    return false;
 3336|   239k|  } else if (IDVal == ".even")
  ------------------
  |  Branch (3336:14): [True: 515, False: 239k]
  ------------------
 3337|    515|    return parseDirectiveEven(DirectiveID.getLoc());
 3338|   239k|  return true;
 3339|   260k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser18ParseDirectiveWordEjN7llvm_ks5SMLocE:
 3361|  16.9k|bool X86AsmParser::ParseDirectiveWord(unsigned Size, SMLoc L) {
 3362|  16.9k|  MCAsmParser &Parser = getParser();
 3363|  16.9k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3363:7): [True: 16.2k, False: 614]
  ------------------
 3364|  47.7k|    for (;;) {
 3365|  47.7k|      const MCExpr *Value;
 3366|  47.7k|      SMLoc ExprLoc = getLexer().getLoc();
 3367|  47.7k|      if (getParser().parseExpression(Value))
  ------------------
  |  Branch (3367:11): [True: 1.07k, False: 46.6k]
  ------------------
 3368|  1.07k|        return false;
 3369|       |
 3370|  46.6k|      if (const auto *MCE = dyn_cast<MCConstantExpr>(Value)) {
  ------------------
  |  Branch (3370:23): [True: 5.52k, False: 41.1k]
  ------------------
 3371|  5.52k|        bool Error;
 3372|       |        //assert(Size <= 8 && "Invalid size");
 3373|  5.52k|        if (Size > 8)
  ------------------
  |  Branch (3373:13): [True: 0, False: 5.52k]
  ------------------
 3374|      0|            return true;
 3375|  5.52k|        uint64_t IntValue = MCE->getValue();
 3376|  5.52k|        if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue))
  ------------------
  |  Branch (3376:13): [True: 382, False: 5.14k]
  |  Branch (3376:45): [True: 179, False: 203]
  ------------------
 3377|       |          //return Error(ExprLoc, "literal value out of range for directive");
 3378|    179|          return true;
 3379|  5.34k|        getStreamer().EmitIntValue(IntValue, Size, Error);
 3380|  5.34k|        if (Error)
  ------------------
  |  Branch (3380:13): [True: 0, False: 5.34k]
  ------------------
 3381|      0|            return true;
 3382|  41.1k|      } else {
 3383|  41.1k|        getStreamer().EmitValue(Value, Size, ExprLoc);
 3384|  41.1k|      }
 3385|       |
 3386|  46.4k|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (3386:11): [True: 14.0k, False: 32.4k]
  ------------------
 3387|  14.0k|        break;
 3388|       |
 3389|       |      // FIXME: Improve diagnostic.
 3390|  32.4k|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (3390:11): [True: 984, False: 31.4k]
  ------------------
 3391|       |        //Error(L, "unexpected token in directive");
 3392|    984|        return false;
 3393|    984|      }
 3394|  31.4k|      Parser.Lex();
 3395|  31.4k|    }
 3396|  16.2k|  }
 3397|       |
 3398|  14.6k|  Parser.Lex();
 3399|  14.6k|  return false;
 3400|  16.9k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser18ParseDirectiveCodeEN7llvm_ks9StringRefENS1_5SMLocE:
 3404|  3.58k|bool X86AsmParser::ParseDirectiveCode(StringRef IDVal, SMLoc L) {
 3405|  3.58k|  MCAsmParser &Parser = getParser();
 3406|  3.58k|  if (IDVal == ".code16") {
  ------------------
  |  Branch (3406:7): [True: 57, False: 3.52k]
  ------------------
 3407|     57|    Parser.Lex();
 3408|     57|    if (!is16BitMode()) {
  ------------------
  |  Branch (3408:9): [True: 13, False: 44]
  ------------------
 3409|     13|      SwitchMode(X86::Mode16Bit);
 3410|     13|      getParser().getStreamer().EmitAssemblerFlag(MCAF_Code16);
 3411|     13|    }
 3412|  3.52k|  } else if (IDVal == ".code32") {
  ------------------
  |  Branch (3412:14): [True: 906, False: 2.62k]
  ------------------
 3413|    906|    Parser.Lex();
 3414|    906|    if (!is32BitMode()) {
  ------------------
  |  Branch (3414:9): [True: 185, False: 721]
  ------------------
 3415|    185|      SwitchMode(X86::Mode32Bit);
 3416|    185|      getParser().getStreamer().EmitAssemblerFlag(MCAF_Code32);
 3417|    185|    }
 3418|  2.62k|  } else if (IDVal == ".code64") {
  ------------------
  |  Branch (3418:14): [True: 630, False: 1.99k]
  ------------------
 3419|    630|    Parser.Lex();
 3420|    630|    if (!is64BitMode()) {
  ------------------
  |  Branch (3420:9): [True: 301, False: 329]
  ------------------
 3421|    301|      SwitchMode(X86::Mode64Bit);
 3422|    301|      getParser().getStreamer().EmitAssemblerFlag(MCAF_Code64);
 3423|    301|    }
 3424|  1.99k|  } else {
 3425|       |    //Error(L, "unknown directive " + IDVal);
 3426|  1.99k|    return false;
 3427|  1.99k|  }
 3428|       |
 3429|  1.59k|  return false;
 3430|  3.58k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser10SwitchModeEj:
  866|    499|  void SwitchMode(unsigned mode) {
  867|    499|    MCSubtargetInfo &STI = copySTI();
  868|    499|    FeatureBitset AllModes({X86::Mode64Bit, X86::Mode32Bit, X86::Mode16Bit});
  869|    499|    FeatureBitset OldMode = STI.getFeatureBits() & AllModes;
  870|    499|    unsigned FB = ComputeAvailableFeatures(
  871|    499|      STI.ToggleFeature(OldMode.flip(mode)));
  872|    499|    setAvailableFeatures(FB);
  873|       |
  874|       |    assert(FeatureBitset({mode}) == (STI.getFeatureBits() & AllModes));
  ------------------
  |  Branch (874:5): [True: 499, False: 0]
  ------------------
  875|    499|  }
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser18parseDirectiveEvenEN7llvm_ks5SMLocE:
 3343|    515|bool X86AsmParser::parseDirectiveEven(SMLoc L) {
 3344|    515|  const MCSection *Section = getStreamer().getCurrentSection().first;
 3345|    515|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3345:7): [True: 105, False: 410]
  ------------------
 3346|    105|    TokError("unexpected token in directive");
 3347|    105|    return false;  
 3348|    105|  }
 3349|    410|  if (!Section) {
  ------------------
  |  Branch (3349:7): [True: 0, False: 410]
  ------------------
 3350|      0|    getStreamer().InitSections(false);
 3351|      0|    Section = getStreamer().getCurrentSection().first;
 3352|      0|  }
 3353|    410|  if (Section->UseCodeAlign())
  ------------------
  |  Branch (3353:7): [True: 375, False: 35]
  ------------------
 3354|    375|    getStreamer().EmitCodeAlignment(2, 0);
 3355|     35|  else
 3356|     35|    getStreamer().EmitValueToAlignment(2, 0, 1, 0);
 3357|    410|  return false;
 3358|    515|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser23MatchAndEmitInstructionEN7llvm_ks5SMLocERjRNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS5_14default_deleteIS7_EEEEEERNS1_10MCStreamerERmbS3_SF_:
 2892|  27.5k|                                           bool MatchingInlineAsm, unsigned int &ErrorCode, uint64_t &Address) {
 2893|  27.5k|  if (isParsingIntelSyntax())
  ------------------
  |  Branch (2893:7): [True: 21.0k, False: 6.48k]
  ------------------
 2894|  21.0k|    return MatchAndEmitIntelInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo,
 2895|  21.0k|                                        MatchingInlineAsm, ErrorCode, Address);
 2896|  6.48k|  return MatchAndEmitATTInstruction(IDLoc, Opcode, Operands, Out, ErrorInfo,
 2897|  6.48k|                                    MatchingInlineAsm, ErrorCode, Address);
 2898|  27.5k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser28MatchAndEmitIntelInstructionEN7llvm_ks5SMLocERjRNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS5_14default_deleteIS7_EEEEEERNS1_10MCStreamerERmbS3_SF_:
 3148|  21.0k|{
 3149|  21.0k|  assert(!Operands.empty() && "Unexpect empty operand list!");
  ------------------
  |  Branch (3149:3): [True: 21.0k, False: 0]
  |  Branch (3149:3): [True: 21.0k, Folded]
  |  Branch (3149:3): [True: 21.0k, False: 0]
  ------------------
 3150|  21.0k|  X86Operand &Op = static_cast<X86Operand &>(*Operands[0]);
 3151|  21.0k|  assert(Op.isToken() && "Leading operand should always be a mnemonic!");
  ------------------
  |  Branch (3151:3): [True: 21.0k, False: 0]
  |  Branch (3151:3): [True: 21.0k, Folded]
  |  Branch (3151:3): [True: 21.0k, False: 0]
  ------------------
 3152|  21.0k|  StringRef Mnemonic = Op.getToken();
 3153|       |  //ArrayRef<SMRange> EmptyRanges = None;
 3154|       |
 3155|       |  // First, handle aliases that expand to multiple instructions.
 3156|  21.0k|  MatchFPUWaitAlias(IDLoc, Op, Operands, Out, MatchingInlineAsm);
 3157|       |
 3158|  21.0k|  MCInst Inst(Address);
 3159|       |
 3160|       |  // Find one unsized memory operand, if present.
 3161|  21.0k|  X86Operand *UnsizedMemOp = nullptr;
 3162|  46.5k|  for (const auto &Op : Operands) {
  ------------------
  |  Branch (3162:23): [True: 46.5k, False: 21.0k]
  ------------------
 3163|  46.5k|    X86Operand *X86Op = static_cast<X86Operand *>(Op.get());
 3164|  46.5k|    if (X86Op->isMemUnsized())
  ------------------
  |  Branch (3164:9): [True: 18.1k, False: 28.4k]
  ------------------
 3165|  18.1k|      UnsizedMemOp = X86Op;
 3166|  46.5k|  }
 3167|       |
 3168|       |  // Allow some instructions to have implicitly pointer-sized operands.  This is
 3169|       |  // compatible with gas.
 3170|  21.0k|  if (UnsizedMemOp) {
  ------------------
  |  Branch (3170:7): [True: 14.3k, False: 6.76k]
  ------------------
 3171|  14.3k|    static const char *const PtrSizedInstrs[] = {"call", "jmp", "push"};
 3172|  38.4k|    for (const char *Instr : PtrSizedInstrs) {
  ------------------
  |  Branch (3172:28): [True: 38.4k, False: 11.6k]
  ------------------
 3173|  38.4k|      if (Mnemonic == Instr) {
  ------------------
  |  Branch (3173:11): [True: 2.68k, False: 35.8k]
  ------------------
 3174|  2.68k|        UnsizedMemOp->Mem.Size = getPointerWidth();
 3175|  2.68k|        break;
 3176|  2.68k|      }
 3177|  38.4k|    }
 3178|  14.3k|  }
 3179|       |
 3180|       |  // If an unsized memory operand is present, try to match with each memory
 3181|       |  // operand size.  In Intel assembly, the size is not part of the instruction
 3182|       |  // mnemonic.
 3183|  21.0k|  SmallVector<unsigned, 8> Match;
 3184|  21.0k|  uint64_t ErrorInfoMissingFeature = 0;
 3185|  21.0k|  if (UnsizedMemOp && UnsizedMemOp->isMemUnsized()) {
  ------------------
  |  Branch (3185:7): [True: 14.3k, False: 6.76k]
  |  Branch (3185:23): [True: 11.6k, False: 2.68k]
  ------------------
 3186|  11.6k|    static const unsigned MopSizes[] = {8, 16, 32, 64, 80, 128, 256, 512};
 3187|  93.2k|    for (unsigned Size : MopSizes) {
  ------------------
  |  Branch (3187:24): [True: 93.2k, False: 11.6k]
  ------------------
 3188|  93.2k|      UnsizedMemOp->Mem.Size = Size;
 3189|  93.2k|      uint64_t ErrorInfoIgnore;
 3190|  93.2k|      unsigned LastOpcode = Inst.getOpcode();
 3191|  93.2k|      unsigned M =
 3192|  93.2k|          MatchInstructionImpl(Operands, Inst, ErrorInfoIgnore,
 3193|  93.2k|                               MatchingInlineAsm, isParsingIntelSyntax());
 3194|  93.2k|      if (Match.empty() || LastOpcode != Inst.getOpcode())
  ------------------
  |  Branch (3194:11): [True: 11.6k, False: 81.5k]
  |  Branch (3194:28): [True: 4.67k, False: 76.9k]
  ------------------
 3195|  16.3k|        Match.push_back(M);
 3196|       |
 3197|       |      // If this returned as a missing feature failure, remember that.
 3198|  93.2k|      if (Match.back() == Match_MissingFeature)
  ------------------
  |  Branch (3198:11): [True: 0, False: 93.2k]
  ------------------
 3199|      0|        ErrorInfoMissingFeature = ErrorInfoIgnore;
 3200|  93.2k|    }
 3201|       |
 3202|       |    // Restore the size of the unsized memory operand if we modified it.
 3203|  11.6k|    if (UnsizedMemOp)
  ------------------
  |  Branch (3203:9): [True: 11.6k, False: 0]
  ------------------
 3204|  11.6k|      UnsizedMemOp->Mem.Size = 0;
 3205|  11.6k|  }
 3206|       |
 3207|       |  // If we haven't matched anything yet, this is not a basic integer or FPU
 3208|       |  // operation.  There shouldn't be any ambiguity in our mnemonic table, so try
 3209|       |  // matching with the unsized operand.
 3210|  21.0k|  if (Match.empty()) {
  ------------------
  |  Branch (3210:7): [True: 9.44k, False: 11.6k]
  ------------------
 3211|  9.44k|    Match.push_back(MatchInstructionImpl(Operands, Inst, ErrorInfo,
 3212|  9.44k|                                         MatchingInlineAsm,
 3213|  9.44k|                                         isParsingIntelSyntax()));
 3214|       |    // If this returned as a missing feature failure, remember that.
 3215|  9.44k|    if (Match.back() == Match_MissingFeature)
  ------------------
  |  Branch (3215:9): [True: 1, False: 9.44k]
  ------------------
 3216|      1|      ErrorInfoMissingFeature = ErrorInfo;
 3217|  9.44k|  }
 3218|       |
 3219|  21.0k|  if (push32 && Inst.getOpcode() == X86::PUSH16i8)
  ------------------
  |  Branch (3219:7): [True: 164, False: 20.9k]
  |  Branch (3219:17): [True: 29, False: 135]
  ------------------
 3220|     29|      Inst.setOpcode(X86::PUSH32i8);
 3221|       |
 3222|       |  // Restore the size of the unsized memory operand if we modified it.
 3223|  21.0k|  if (UnsizedMemOp)
  ------------------
  |  Branch (3223:7): [True: 14.3k, False: 6.76k]
  ------------------
 3224|  14.3k|    UnsizedMemOp->Mem.Size = 0;
 3225|       |
 3226|       |  // If it's a bad mnemonic, all results will be the same.
 3227|  21.0k|  if (Match.back() == Match_MnemonicFail) {
  ------------------
  |  Branch (3227:7): [True: 2.81k, False: 18.2k]
  ------------------
 3228|       |    //ArrayRef<SMRange> Ranges =
 3229|       |    //    MatchingInlineAsm ? EmptyRanges : Op.getLocRange();
 3230|  2.81k|    ErrorCode = KS_ERR_ASM_X86_MNEMONICFAIL;
 3231|       |    //return Error(IDLoc, "invalid instruction mnemonic '" + Mnemonic + "'",
 3232|       |    //             Ranges, MatchingInlineAsm);
 3233|  2.81k|    return true;
 3234|  2.81k|  }
 3235|       |
 3236|       |  // If exactly one matched, then we treat that as a successful match (and the
 3237|       |  // instruction will already have been filled in correctly, since the failing
 3238|       |  // matches won't have modified it).
 3239|  18.2k|  unsigned NumSuccessfulMatches =
 3240|  18.2k|      std::count(std::begin(Match), std::end(Match), Match_Success);
 3241|  18.2k|  if (NumSuccessfulMatches == 1) {
  ------------------
  |  Branch (3241:7): [True: 17.3k, False: 895]
  ------------------
 3242|       |    // Some instructions need post-processing to, for example, tweak which
 3243|       |    // encoding is selected. Loop on it while changes happen so the individual
 3244|       |    // transformations can chain off each other.
 3245|  17.3k|    if (!MatchingInlineAsm)
  ------------------
  |  Branch (3245:9): [True: 17.3k, False: 0]
  ------------------
 3246|  17.3k|      while (processInstruction(Inst, Operands))
  ------------------
  |  Branch (3246:14): [True: 0, False: 17.3k]
  ------------------
 3247|      0|        ;
 3248|  17.3k|    Inst.setLoc(IDLoc);
 3249|  17.3k|    if (!MatchingInlineAsm) {
  ------------------
  |  Branch (3249:9): [True: 17.3k, False: 0]
  ------------------
 3250|  17.3k|      EmitInstruction(Inst, Operands, Out, ErrorCode);
 3251|  17.3k|      if (ErrorCode)
  ------------------
  |  Branch (3251:11): [True: 18, False: 17.3k]
  ------------------
 3252|     18|          return true;
 3253|  17.3k|    }
 3254|  17.3k|    Opcode = Inst.getOpcode();
 3255|  17.3k|    Address = Inst.getAddress(); // Keystone update address
 3256|  17.3k|    return false;
 3257|  17.3k|  } else if (NumSuccessfulMatches > 1) {
  ------------------
  |  Branch (3257:14): [True: 57, False: 838]
  ------------------
 3258|     57|    assert(UnsizedMemOp &&
  ------------------
  |  Branch (3258:5): [True: 57, False: 0]
  |  Branch (3258:5): [True: 57, Folded]
  |  Branch (3258:5): [True: 57, False: 0]
  ------------------
 3259|     57|           "multiple matches only possible with unsized memory operands");
 3260|       |    //ArrayRef<SMRange> Ranges =
 3261|       |    //    MatchingInlineAsm ? EmptyRanges : UnsizedMemOp->getLocRange();
 3262|       |
 3263|       |    //return Error(UnsizedMemOp->getStartLoc(),
 3264|       |    //             "ambiguous operand size for instruction '" + Mnemonic + "\'",
 3265|       |    //             Ranges, MatchingInlineAsm);
 3266|       |
 3267|       |    //printf("*** >>> InvalidOperand 55\n");
 3268|     57|    ErrorCode = KS_ERR_ASM_X86_INVALIDOPERAND;
 3269|     57|    return true;
 3270|     57|  }
 3271|       |
 3272|       |  // If one instruction matched with a missing feature, report this as a
 3273|       |  // missing feature.
 3274|    838|  if (std::count(std::begin(Match), std::end(Match),
  ------------------
  |  Branch (3274:7): [True: 1, False: 837]
  ------------------
 3275|    838|                 Match_MissingFeature) == 1) {
 3276|      1|    ErrorInfo = ErrorInfoMissingFeature;
 3277|      1|    ErrorCode = KS_ERR_ASM_X86_MISSINGFEATURE;
 3278|       |    //return ErrorMissingFeature(IDLoc, ErrorInfoMissingFeature,
 3279|       |    //                           MatchingInlineAsm);
 3280|      1|    return true;
 3281|      1|  }
 3282|       |
 3283|       |  // If one instruction matched with an invalid operand, report this as an
 3284|       |  // operand failure.
 3285|    837|  if (std::count(std::begin(Match), std::end(Match),
  ------------------
  |  Branch (3285:7): [True: 837, False: 0]
  ------------------
 3286|    837|                 Match_InvalidOperand) == 1) {
 3287|       |    //printf("*** >>> InvalidOperand 66\n");
 3288|    837|    ErrorCode = KS_ERR_ASM_X86_INVALIDOPERAND;
 3289|       |    //return Error(IDLoc, "invalid operand for instruction", EmptyRanges,
 3290|       |    //             MatchingInlineAsm);
 3291|    837|    return true;
 3292|    837|  }
 3293|       |
 3294|       |  // If all of these were an outright failure, report it in a useless way.
 3295|      0|  ErrorCode = KS_ERR_ASM_X86_MNEMONICFAIL;
 3296|       |  //return Error(IDLoc, "unknown instruction mnemonic", EmptyRanges,
 3297|       |  //             MatchingInlineAsm);
 3298|      0|  return true;
 3299|    837|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser17MatchFPUWaitAliasEN7llvm_ks5SMLocERNS1_10X86OperandERNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS6_14default_deleteIS8_EEEEEERNS1_10MCStreamerEb:
 2902|  27.5k|                                     bool MatchingInlineAsm) {
 2903|       |  // FIXME: This should be replaced with a real .td file alias mechanism.
 2904|       |  // Also, MatchInstructionImpl should actually *do* the EmitInstruction
 2905|       |  // call.
 2906|  27.5k|  const char *Repl = StringSwitch<const char *>(Op.getToken())
 2907|  27.5k|                         .Case("finit", "fninit")
 2908|  27.5k|                         .Case("fsave", "fnsave")
 2909|  27.5k|                         .Case("fstcw", "fnstcw")
 2910|  27.5k|                         .Case("fstcww", "fnstcw")
 2911|  27.5k|                         .Case("fstenv", "fnstenv")
 2912|  27.5k|                         .Case("fstsw", "fnstsw")
 2913|  27.5k|                         .Case("fstsww", "fnstsw")
 2914|  27.5k|                         .Case("fclex", "fnclex")
 2915|  27.5k|                         .Default(nullptr);
 2916|  27.5k|  if (Repl) {
  ------------------
  |  Branch (2916:7): [True: 2.11k, False: 25.4k]
  ------------------
 2917|  2.11k|    MCInst Inst;
 2918|  2.11k|    Inst.setOpcode(X86::WAIT);
 2919|  2.11k|    Inst.setLoc(IDLoc);
 2920|  2.11k|    unsigned int KsError = 0;
 2921|  2.11k|    if (!MatchingInlineAsm)
  ------------------
  |  Branch (2921:9): [True: 2.11k, False: 0]
  ------------------
 2922|  2.11k|      EmitInstruction(Inst, Operands, Out, KsError);
 2923|  2.11k|    Operands[0] = X86Operand::CreateToken(Repl, IDLoc);
 2924|  2.11k|  }
 2925|  27.5k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser18processInstructionERN7llvm_ks6MCInstERKNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS5_14default_deleteIS7_EEEEEE:
 2824|  21.0k|{
 2825|  21.0k|  switch (Inst.getOpcode()) {
 2826|  21.0k|  default: return false;
  ------------------
  |  Branch (2826:3): [True: 21.0k, False: 0]
  ------------------
 2827|      0|  case X86::VMOVZPQILo2PQIrr:
  ------------------
  |  Branch (2827:3): [True: 0, False: 21.0k]
  ------------------
 2828|      0|  case X86::VMOVAPDrr:
  ------------------
  |  Branch (2828:3): [True: 0, False: 21.0k]
  ------------------
 2829|      0|  case X86::VMOVAPDYrr:
  ------------------
  |  Branch (2829:3): [True: 0, False: 21.0k]
  ------------------
 2830|      0|  case X86::VMOVAPSrr:
  ------------------
  |  Branch (2830:3): [True: 0, False: 21.0k]
  ------------------
 2831|      0|  case X86::VMOVAPSYrr:
  ------------------
  |  Branch (2831:3): [True: 0, False: 21.0k]
  ------------------
 2832|      0|  case X86::VMOVDQArr:
  ------------------
  |  Branch (2832:3): [True: 0, False: 21.0k]
  ------------------
 2833|      0|  case X86::VMOVDQAYrr:
  ------------------
  |  Branch (2833:3): [True: 0, False: 21.0k]
  ------------------
 2834|      0|  case X86::VMOVDQUrr:
  ------------------
  |  Branch (2834:3): [True: 0, False: 21.0k]
  ------------------
 2835|      0|  case X86::VMOVDQUYrr:
  ------------------
  |  Branch (2835:3): [True: 0, False: 21.0k]
  ------------------
 2836|      0|  case X86::VMOVUPDrr:
  ------------------
  |  Branch (2836:3): [True: 0, False: 21.0k]
  ------------------
 2837|      0|  case X86::VMOVUPDYrr:
  ------------------
  |  Branch (2837:3): [True: 0, False: 21.0k]
  ------------------
 2838|      0|  case X86::VMOVUPSrr:
  ------------------
  |  Branch (2838:3): [True: 0, False: 21.0k]
  ------------------
 2839|      0|  case X86::VMOVUPSYrr: {
  ------------------
  |  Branch (2839:3): [True: 0, False: 21.0k]
  ------------------
 2840|      0|    if (X86II::isX86_64ExtendedReg(Inst.getOperand(0).getReg()) ||
  ------------------
  |  Branch (2840:9): [True: 0, False: 0]
  ------------------
 2841|      0|        !X86II::isX86_64ExtendedReg(Inst.getOperand(1).getReg()))
  ------------------
  |  Branch (2841:9): [True: 0, False: 0]
  ------------------
 2842|      0|      return false;
 2843|       |
 2844|      0|    unsigned NewOpc;
 2845|      0|    switch (Inst.getOpcode()) {
 2846|      0|    default: llvm_unreachable("Invalid opcode");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (2846:5): [True: 0, False: 0]
  ------------------
 2847|      0|    case X86::VMOVZPQILo2PQIrr: NewOpc = X86::VMOVPQI2QIrr;   break;
  ------------------
  |  Branch (2847:5): [True: 0, False: 0]
  ------------------
 2848|      0|    case X86::VMOVAPDrr:        NewOpc = X86::VMOVAPDrr_REV;  break;
  ------------------
  |  Branch (2848:5): [True: 0, False: 0]
  ------------------
 2849|      0|    case X86::VMOVAPDYrr:       NewOpc = X86::VMOVAPDYrr_REV; break;
  ------------------
  |  Branch (2849:5): [True: 0, False: 0]
  ------------------
 2850|      0|    case X86::VMOVAPSrr:        NewOpc = X86::VMOVAPSrr_REV;  break;
  ------------------
  |  Branch (2850:5): [True: 0, False: 0]
  ------------------
 2851|      0|    case X86::VMOVAPSYrr:       NewOpc = X86::VMOVAPSYrr_REV; break;
  ------------------
  |  Branch (2851:5): [True: 0, False: 0]
  ------------------
 2852|      0|    case X86::VMOVDQArr:        NewOpc = X86::VMOVDQArr_REV;  break;
  ------------------
  |  Branch (2852:5): [True: 0, False: 0]
  ------------------
 2853|      0|    case X86::VMOVDQAYrr:       NewOpc = X86::VMOVDQAYrr_REV; break;
  ------------------
  |  Branch (2853:5): [True: 0, False: 0]
  ------------------
 2854|      0|    case X86::VMOVDQUrr:        NewOpc = X86::VMOVDQUrr_REV;  break;
  ------------------
  |  Branch (2854:5): [True: 0, False: 0]
  ------------------
 2855|      0|    case X86::VMOVDQUYrr:       NewOpc = X86::VMOVDQUYrr_REV; break;
  ------------------
  |  Branch (2855:5): [True: 0, False: 0]
  ------------------
 2856|      0|    case X86::VMOVUPDrr:        NewOpc = X86::VMOVUPDrr_REV;  break;
  ------------------
  |  Branch (2856:5): [True: 0, False: 0]
  ------------------
 2857|      0|    case X86::VMOVUPDYrr:       NewOpc = X86::VMOVUPDYrr_REV; break;
  ------------------
  |  Branch (2857:5): [True: 0, False: 0]
  ------------------
 2858|      0|    case X86::VMOVUPSrr:        NewOpc = X86::VMOVUPSrr_REV;  break;
  ------------------
  |  Branch (2858:5): [True: 0, False: 0]
  ------------------
 2859|      0|    case X86::VMOVUPSYrr:       NewOpc = X86::VMOVUPSYrr_REV; break;
  ------------------
  |  Branch (2859:5): [True: 0, False: 0]
  ------------------
 2860|      0|    }
 2861|      0|    Inst.setOpcode(NewOpc);
 2862|      0|    return true;
 2863|      0|  }
 2864|      0|  case X86::VMOVSDrr:
  ------------------
  |  Branch (2864:3): [True: 0, False: 21.0k]
  ------------------
 2865|      0|  case X86::VMOVSSrr: {
  ------------------
  |  Branch (2865:3): [True: 0, False: 21.0k]
  ------------------
 2866|      0|    if (X86II::isX86_64ExtendedReg(Inst.getOperand(0).getReg()) ||
  ------------------
  |  Branch (2866:9): [True: 0, False: 0]
  ------------------
 2867|      0|        !X86II::isX86_64ExtendedReg(Inst.getOperand(2).getReg()))
  ------------------
  |  Branch (2867:9): [True: 0, False: 0]
  ------------------
 2868|      0|      return false;
 2869|      0|    unsigned NewOpc;
 2870|      0|    switch (Inst.getOpcode()) {
 2871|      0|    default: llvm_unreachable("Invalid opcode");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (2871:5): [True: 0, False: 0]
  ------------------
 2872|      0|    case X86::VMOVSDrr: NewOpc = X86::VMOVSDrr_REV;   break;
  ------------------
  |  Branch (2872:5): [True: 0, False: 0]
  ------------------
 2873|      0|    case X86::VMOVSSrr: NewOpc = X86::VMOVSSrr_REV;   break;
  ------------------
  |  Branch (2873:5): [True: 0, False: 0]
  ------------------
 2874|      0|    }
 2875|      0|    Inst.setOpcode(NewOpc);
 2876|      0|    return true;
 2877|      0|  }
 2878|  21.0k|  }
 2879|  21.0k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser15EmitInstructionERN7llvm_ks6MCInstERNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS5_14default_deleteIS7_EEEEEERNS1_10MCStreamerERj:
 2884|  23.8k|                                   MCStreamer &Out, unsigned int &KsError) {
 2885|  23.8k|  Instrumentation->InstrumentAndEmitInstruction(Inst, Operands, getContext(),
 2886|  23.8k|                                                MII, Out, KsError);
 2887|  23.8k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser26MatchAndEmitATTInstructionEN7llvm_ks5SMLocERjRNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS5_14default_deleteIS7_EEEEEERNS1_10MCStreamerERmbS3_SF_:
 2949|  6.48k|{
 2950|  6.48k|  assert(!Operands.empty() && "Unexpect empty operand list!");
  ------------------
  |  Branch (2950:3): [True: 6.48k, False: 0]
  |  Branch (2950:3): [True: 6.48k, Folded]
  |  Branch (2950:3): [True: 6.48k, False: 0]
  ------------------
 2951|  6.48k|  X86Operand &Op = static_cast<X86Operand &>(*Operands[0]);
 2952|  6.48k|  assert(Op.isToken() && "Leading operand should always be a mnemonic!");
  ------------------
  |  Branch (2952:3): [True: 6.48k, False: 0]
  |  Branch (2952:3): [True: 6.48k, Folded]
  |  Branch (2952:3): [True: 6.48k, False: 0]
  ------------------
 2953|       |  //ArrayRef<SMRange> EmptyRanges = None;
 2954|       |
 2955|       |  // First, handle aliases that expand to multiple instructions.
 2956|  6.48k|  MatchFPUWaitAlias(IDLoc, Op, Operands, Out, MatchingInlineAsm);
 2957|       |
 2958|  6.48k|  bool WasOriginallyInvalidOperand = false;
 2959|  6.48k|  MCInst Inst;
 2960|       |
 2961|       |  // First, try a direct match.
 2962|  6.48k|  switch (MatchInstructionImpl(Operands, Inst,
 2963|  6.48k|                               ErrorInfo, MatchingInlineAsm,
 2964|  6.48k|                               isParsingIntelSyntax())) {
 2965|      0|  default: llvm_unreachable("Unexpected match result!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (2965:3): [True: 0, False: 6.48k]
  ------------------
 2966|  3.69k|  case Match_Success:
  ------------------
  |  Branch (2966:3): [True: 3.69k, False: 2.79k]
  ------------------
 2967|       |    // Some instructions need post-processing to, for example, tweak which
 2968|       |    // encoding is selected. Loop on it while changes happen so the
 2969|       |    // individual transformations can chain off each other.
 2970|  3.69k|    if (!MatchingInlineAsm)
  ------------------
  |  Branch (2970:9): [True: 3.69k, False: 0]
  ------------------
 2971|  3.69k|      while (processInstruction(Inst, Operands))
  ------------------
  |  Branch (2971:14): [True: 0, False: 3.69k]
  ------------------
 2972|      0|        ;
 2973|       |
 2974|  3.69k|    Inst.setLoc(IDLoc);
 2975|  3.69k|    if (!MatchingInlineAsm) {
  ------------------
  |  Branch (2975:9): [True: 3.69k, False: 0]
  ------------------
 2976|  3.69k|      EmitInstruction(Inst, Operands, Out, ErrorCode);
 2977|  3.69k|      if (ErrorCode)
  ------------------
  |  Branch (2977:11): [True: 1, False: 3.68k]
  ------------------
 2978|      1|          return true;
 2979|  3.69k|    }
 2980|  3.68k|    Opcode = Inst.getOpcode();
 2981|  3.68k|    return false;
 2982|      3|  case Match_MissingFeature:
  ------------------
  |  Branch (2982:3): [True: 3, False: 6.48k]
  ------------------
 2983|      3|    return ErrorMissingFeature(IDLoc, ErrorInfo, MatchingInlineAsm);
 2984|    195|  case Match_InvalidOperand:
  ------------------
  |  Branch (2984:3): [True: 195, False: 6.28k]
  ------------------
 2985|    195|    WasOriginallyInvalidOperand = true;
 2986|    195|    break;
 2987|  2.59k|  case Match_MnemonicFail:
  ------------------
  |  Branch (2987:3): [True: 2.59k, False: 3.88k]
  ------------------
 2988|  2.59k|    break;
 2989|  6.48k|  }
 2990|       |
 2991|       |  // FIXME: Ideally, we would only attempt suffix matches for things which are
 2992|       |  // valid prefixes, and we could just infer the right unambiguous
 2993|       |  // type. However, that requires substantially more matcher support than the
 2994|       |  // following hack.
 2995|       |
 2996|       |  // Change the operand to point to a temporary token.
 2997|  2.79k|  StringRef Base = Op.getToken();
 2998|  2.79k|  SmallString<16> Tmp;
 2999|  2.79k|  Tmp += Base;
 3000|  2.79k|  Tmp += ' ';
 3001|  2.79k|  Op.setTokenValue(Tmp);
 3002|       |
 3003|       |  // If this instruction starts with an 'f', then it is a floating point stack
 3004|       |  // instruction.  These come in up to three forms for 32-bit, 64-bit, and
 3005|       |  // 80-bit floating point, which use the suffixes s,l,t respectively.
 3006|       |  //
 3007|       |  // Otherwise, we assume that this may be an integer instruction, which comes
 3008|       |  // in 8/16/32/64-bit forms using the b,w,l,q suffixes respectively.
 3009|  2.79k|  const char *Suffixes = Base[0] != 'f' ? "bwlq" : "slt\0";
  ------------------
  |  Branch (3009:26): [True: 2.45k, False: 333]
  ------------------
 3010|       |
 3011|       |  // Check for the various suffix matches.
 3012|  2.79k|  uint64_t ErrorInfoIgnore;
 3013|  2.79k|  uint64_t ErrorInfoMissingFeature = 0; // Init suppresses compiler warnings.
 3014|  2.79k|  unsigned Match[4];
 3015|       |
 3016|  13.9k|  for (unsigned I = 0, E = array_lengthof(Match); I != E; ++I) {
  ------------------
  |  Branch (3016:51): [True: 11.1k, False: 2.79k]
  ------------------
 3017|  11.1k|    Tmp.back() = Suffixes[I];
 3018|  11.1k|    Match[I] = MatchInstructionImpl(Operands, Inst, ErrorInfoIgnore,
 3019|  11.1k|                                  MatchingInlineAsm, isParsingIntelSyntax());
 3020|       |    // If this returned as a missing feature failure, remember that.
 3021|  11.1k|    if (Match[I] == Match_MissingFeature)
  ------------------
  |  Branch (3021:9): [True: 4, False: 11.1k]
  ------------------
 3022|      4|      ErrorInfoMissingFeature = ErrorInfoIgnore;
 3023|  11.1k|  }
 3024|       |
 3025|       |  // Restore the old token.
 3026|  2.79k|  Op.setTokenValue(Base);
 3027|       |
 3028|       |  // If exactly one matched, then we treat that as a successful match (and the
 3029|       |  // instruction will already have been filled in correctly, since the failing
 3030|       |  // matches won't have modified it).
 3031|  2.79k|  unsigned NumSuccessfulMatches =
 3032|  2.79k|      std::count(std::begin(Match), std::end(Match), Match_Success);
 3033|  2.79k|  if (NumSuccessfulMatches == 1) {
  ------------------
  |  Branch (3033:7): [True: 693, False: 2.09k]
  ------------------
 3034|    693|    Inst.setLoc(IDLoc);
 3035|    693|    if (!MatchingInlineAsm) {
  ------------------
  |  Branch (3035:9): [True: 693, False: 0]
  ------------------
 3036|    693|      EmitInstruction(Inst, Operands, Out, ErrorCode);
 3037|    693|      if (ErrorCode)
  ------------------
  |  Branch (3037:11): [True: 1, False: 692]
  ------------------
 3038|      1|          return true;
 3039|    693|    }
 3040|    692|    Opcode = Inst.getOpcode();
 3041|    692|    return false;
 3042|    693|  }
 3043|       |
 3044|       |  // Otherwise, the match failed, try to produce a decent error message.
 3045|       |
 3046|       |  // If we had multiple suffix matches, then identify this as an ambiguous
 3047|       |  // match.
 3048|  2.09k|  if (NumSuccessfulMatches > 1) {
  ------------------
  |  Branch (3048:7): [True: 43, False: 2.05k]
  ------------------
 3049|       |#if 0
 3050|       |    char MatchChars[4];
 3051|       |    unsigned NumMatches = 0;
 3052|       |    for (unsigned I = 0, E = array_lengthof(Match); I != E; ++I)
 3053|       |      if (Match[I] == Match_Success)
 3054|       |        MatchChars[NumMatches++] = Suffixes[I];
 3055|       |
 3056|       |    SmallString<126> Msg;
 3057|       |    raw_svector_ostream OS(Msg);
 3058|       |    OS << "ambiguous instructions require an explicit suffix (could be ";
 3059|       |    for (unsigned i = 0; i != NumMatches; ++i) {
 3060|       |      if (i != 0)
 3061|       |        OS << ", ";
 3062|       |      if (i + 1 == NumMatches)
 3063|       |        OS << "or ";
 3064|       |      OS << "'" << Base << MatchChars[i] << "'";
 3065|       |    }
 3066|       |    OS << ")";
 3067|       |#endif
 3068|       |    //printf("*** >>> InvalidOperand 11\n");
 3069|     43|    ErrorCode = KS_ERR_ASM_X86_INVALIDOPERAND;
 3070|       |    //Error(IDLoc, OS.str(), EmptyRanges, MatchingInlineAsm);
 3071|     43|    return true;
 3072|     43|  }
 3073|       |
 3074|       |  // Okay, we know that none of the variants matched successfully.
 3075|       |
 3076|       |  // If all of the instructions reported an invalid mnemonic, then the original
 3077|       |  // mnemonic was invalid.
 3078|  2.05k|  if (std::count(std::begin(Match), std::end(Match), Match_MnemonicFail) == 4) {
  ------------------
  |  Branch (3078:7): [True: 1.81k, False: 239]
  ------------------
 3079|  1.81k|    if (!WasOriginallyInvalidOperand) {
  ------------------
  |  Branch (3079:9): [True: 1.70k, False: 109]
  ------------------
 3080|       |      //ArrayRef<SMRange> Ranges =
 3081|       |      //    MatchingInlineAsm ? EmptyRanges : Op.getLocRange();
 3082|       |      //return Error(IDLoc, "invalid instruction mnemonic '" + Base + "'",
 3083|       |      //             Ranges, MatchingInlineAsm);
 3084|  1.70k|      ErrorCode = KS_ERR_ASM_X86_MNEMONICFAIL;
 3085|  1.70k|      return true;
 3086|  1.70k|    }
 3087|       |
 3088|       |    // Recover location info for the operand if we know which was the problem.
 3089|    109|    if (ErrorInfo != ~0ULL) {
  ------------------
  |  Branch (3089:9): [True: 109, False: 0]
  ------------------
 3090|    109|      if (ErrorInfo >= Operands.size()) {
  ------------------
  |  Branch (3090:11): [True: 38, False: 71]
  ------------------
 3091|       |          //printf("*** >>> InvalidOperand 22\n");
 3092|     38|          ErrorCode = KS_ERR_ASM_X86_INVALIDOPERAND;
 3093|       |          //return Error(IDLoc, "too few operands for instruction",
 3094|       |          //             EmptyRanges, MatchingInlineAsm);
 3095|     38|          return true;
 3096|     38|      }
 3097|       |
 3098|     71|      X86Operand &Operand = (X86Operand &)*Operands[ErrorInfo];
 3099|     71|      if (Operand.getStartLoc().isValid()) {
  ------------------
  |  Branch (3099:11): [True: 71, False: 0]
  ------------------
 3100|       |        //SMRange OperandRange = Operand.getLocRange();
 3101|       |        //return Error(Operand.getStartLoc(), "invalid operand for instruction",
 3102|       |        //             OperandRange, MatchingInlineAsm);
 3103|     71|        return true;
 3104|     71|      }
 3105|     71|    }
 3106|       |
 3107|       |    //printf("*** >>> InvalidOperand 33\n");
 3108|      0|    ErrorCode = KS_ERR_ASM_X86_INVALIDOPERAND;
 3109|       |    //return Error(IDLoc, "invalid operand for instruction", EmptyRanges,
 3110|       |    //             MatchingInlineAsm);
 3111|      0|    return true;
 3112|    109|  }
 3113|       |
 3114|       |  // If one instruction matched with a missing feature, report this as a
 3115|       |  // missing feature.
 3116|    239|  if (std::count(std::begin(Match), std::end(Match),
  ------------------
  |  Branch (3116:7): [True: 0, False: 239]
  ------------------
 3117|    239|                 Match_MissingFeature) == 1) {
 3118|      0|    ErrorInfo = ErrorInfoMissingFeature;
 3119|      0|    ErrorCode = KS_ERR_ASM_X86_MISSINGFEATURE;
 3120|       |    //return ErrorMissingFeature(IDLoc, ErrorInfoMissingFeature,
 3121|       |    //                           MatchingInlineAsm);
 3122|      0|    return true;
 3123|      0|  }
 3124|       |
 3125|       |  // If one instruction matched with an invalid operand, report this as an
 3126|       |  // operand failure.
 3127|    239|  if (std::count(std::begin(Match), std::end(Match),
  ------------------
  |  Branch (3127:7): [True: 11, False: 228]
  ------------------
 3128|    239|                 Match_InvalidOperand) == 1) {
 3129|       |    //printf("*** >>> InvalidOperand 44\n");
 3130|     11|    ErrorCode = KS_ERR_ASM_X86_INVALIDOPERAND;
 3131|       |    //return Error(IDLoc, "invalid operand for instruction", EmptyRanges,
 3132|       |    //             MatchingInlineAsm);
 3133|     11|    return true;
 3134|     11|  }
 3135|       |
 3136|       |  // If all of these were an outright failure, report it in a useless way.
 3137|    228|  ErrorCode = KS_ERR_ASM_X86_MNEMONICFAIL;
 3138|       |  //Error(IDLoc, "unknown use of instruction mnemonic without a size suffix",
 3139|       |  //      EmptyRanges, MatchingInlineAsm);
 3140|    228|  return true;
 3141|    239|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser19ErrorMissingFeatureEN7llvm_ks5SMLocEmb:
 2928|      3|                                       bool MatchingInlineAsm) {
 2929|      3|  assert(ErrorInfo && "Unknown missing feature!");
  ------------------
  |  Branch (2929:3): [True: 3, False: 0]
  |  Branch (2929:3): [True: 3, Folded]
  |  Branch (2929:3): [True: 3, False: 0]
  ------------------
 2930|       |  //ArrayRef<SMRange> EmptyRanges = None;
 2931|      3|  SmallString<126> Msg;
 2932|      3|  raw_svector_ostream OS(Msg);
 2933|      3|  OS << "instruction requires:";
 2934|      3|  uint64_t Mask = 1;
 2935|    192|  for (unsigned i = 0; i < (sizeof(ErrorInfo)*8-1); ++i) {
  ------------------
  |  Branch (2935:24): [True: 189, False: 3]
  ------------------
 2936|    189|    if (ErrorInfo & Mask)
  ------------------
  |  Branch (2936:9): [True: 3, False: 186]
  ------------------
 2937|      3|      OS << ' ' << getSubtargetFeatureName(ErrorInfo & Mask);
 2938|    189|    Mask <<= 1;
 2939|    189|  }
 2940|       |  //return Error(IDLoc, OS.str(), EmptyRanges, MatchingInlineAsm);
 2941|      3|  return true;
 2942|      3|}

_ZN7llvm_ks19isImmSExti64i8ValueEm:
   27|    250|inline bool isImmSExti64i8Value(uint64_t Value) {
   28|    250|  return isInt<8>(Value);
   29|    250|}
_ZN7llvm_ks19isImmSExti16i8ValueEm:
   17|    275|inline bool isImmSExti16i8Value(uint64_t Value) {
   18|    275|  return isInt<8>(Value) ||
  ------------------
  |  Branch (18:10): [True: 83, False: 192]
  ------------------
   19|    192|         (isUInt<16>(Value) && isInt<8>(static_cast<int16_t>(Value)));
  ------------------
  |  Branch (19:11): [True: 39, False: 153]
  |  Branch (19:32): [True: 3, False: 36]
  ------------------
   20|    275|}
_ZN7llvm_ks19isImmSExti32i8ValueEm:
   22|    247|inline bool isImmSExti32i8Value(uint64_t Value) {
   23|    247|  return isInt<8>(Value) ||
  ------------------
  |  Branch (23:10): [True: 49, False: 198]
  ------------------
   24|    198|         (isUInt<32>(Value) && isInt<8>(static_cast<int32_t>(Value)));
  ------------------
  |  Branch (24:11): [True: 66, False: 132]
  |  Branch (24:32): [True: 0, False: 66]
  ------------------
   25|    247|}
_ZN7llvm_ks20isImmSExti64i32ValueEm:
   31|    182|inline bool isImmSExti64i32Value(uint64_t Value) {
   32|    182|  return isInt<32>(Value);
   33|    182|}
_ZN7llvm_ks20isImmUnsignedi8ValueEm:
   35|    313|inline bool isImmUnsignedi8Value(uint64_t Value) {
   36|    313|  return isUInt<8>(Value) || isInt<8>(Value);
  ------------------
  |  Branch (36:10): [True: 79, False: 234]
  |  Branch (36:30): [True: 8, False: 226]
  ------------------
   37|    313|}

_ZN7llvm_ks10X86Operand11CreateTokenENS_9StringRefENS_5SMLocE:
  466|  80.0k|  static std::unique_ptr<X86Operand> CreateToken(StringRef Str, SMLoc Loc) {
  467|  80.0k|    SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size());
  468|  80.0k|    auto Res = llvm_ks::make_unique<X86Operand>(Token, Loc, EndLoc);
  469|  80.0k|    Res->Tok.Data = Str.data();
  470|  80.0k|    Res->Tok.Length = Str.size();
  471|  80.0k|    return Res;
  472|  80.0k|  }
_ZN7llvm_ks10X86OperandC2ENS0_6KindTyENS_5SMLocES2_:
   70|   122k|    : Kind(K), StartLoc(Start), EndLoc(End) {}
_ZNK7llvm_ks10X86Operand7isTokenEv:
  132|   468k|  bool isToken() const override {return Kind == Token; }
_ZNK7llvm_ks10X86Operand5isImmEv:
  134|  18.5k|  bool isImm() const override { return Kind == Immediate; }
_ZNK7llvm_ks10X86Operand5isRegEv:
  368|   343k|  bool isReg() const override { return Kind == Register; }
_ZNK7llvm_ks10X86Operand6getRegEv:
   97|   212k|  unsigned getReg() const override {
   98|   212k|    assert(Kind == Register && "Invalid access!");
  ------------------
  |  Branch (98:5): [True: 212k, False: 0]
  |  Branch (98:5): [True: 212k, Folded]
  |  Branch (98:5): [True: 212k, False: 0]
  ------------------
   99|   212k|    return Reg.RegNo;
  100|   212k|  }
_ZNK7llvm_ks10X86Operand5isMemEv:
  208|  2.00k|  bool isMem() const override { return Kind == Memory; }
_ZNK7llvm_ks10X86Operand11getStartLocEv:
   76|    119|  SMLoc getStartLoc() const override { return StartLoc; }
_ZN7llvm_ks10X86Operand9CreateImmEPKNS_6MCExprENS_5SMLocES4_:
  488|  12.1k|                                               SMLoc StartLoc, SMLoc EndLoc) {
  489|  12.1k|    auto Res = llvm_ks::make_unique<X86Operand>(Immediate, StartLoc, EndLoc);
  490|  12.1k|    Res->Imm.Val = Val;
  491|  12.1k|    return Res;
  492|  12.1k|  }
_ZN7llvm_ks10X86Operand9CreateMemEjPKNS_6MCExprENS_5SMLocES4_jNS_9StringRefEPv:
  498|  13.5k|            void *OpDecl = nullptr) {
  499|  13.5k|    auto Res = llvm_ks::make_unique<X86Operand>(Memory, StartLoc, EndLoc);
  500|  13.5k|    Res->Mem.SegReg   = 0;
  501|  13.5k|    Res->Mem.Disp     = Disp;
  502|  13.5k|    Res->Mem.BaseReg  = 0;
  503|  13.5k|    Res->Mem.IndexReg = 0;
  504|  13.5k|    Res->Mem.Scale    = 1;
  505|  13.5k|    Res->Mem.Size     = Size;
  506|  13.5k|    Res->Mem.ModeSize = ModeSize;
  507|  13.5k|    Res->SymName      = SymName;
  508|  13.5k|    Res->OpDecl       = OpDecl;
  509|  13.5k|    Res->AddressOf    = false;
  510|  13.5k|    return Res;
  511|  13.5k|  }
_ZN7llvm_ks10X86Operand9CreateMemEjjPKNS_6MCExprEjjjNS_5SMLocES4_jNS_9StringRefEPv:
  518|  14.6k|            void *OpDecl = nullptr) {
  519|       |    // We should never just have a displacement, that should be parsed as an
  520|       |    // absolute memory operand.
  521|       |    // assert((SegReg || BaseReg || IndexReg) && "Invalid memory operand!");
  522|       |
  523|       |    // The scale should always be one of {1,2,4,8}.
  524|  14.6k|    assert(((Scale == 1 || Scale == 2 || Scale == 4 || Scale == 8)) &&
  ------------------
  |  Branch (524:5): [True: 14.6k, False: 40]
  |  Branch (524:5): [True: 31, False: 9]
  |  Branch (524:5): [True: 3, False: 6]
  |  Branch (524:5): [True: 6, False: 0]
  |  Branch (524:5): [True: 14.6k, Folded]
  |  Branch (524:5): [True: 14.6k, False: 0]
  ------------------
  525|  14.6k|           "Invalid scale!");
  526|  14.6k|    auto Res = llvm_ks::make_unique<X86Operand>(Memory, StartLoc, EndLoc);
  527|  14.6k|    Res->Mem.SegReg   = SegReg;
  528|  14.6k|    Res->Mem.Disp     = Disp;
  529|  14.6k|    Res->Mem.BaseReg  = BaseReg;
  530|  14.6k|    Res->Mem.IndexReg = IndexReg;
  531|  14.6k|    Res->Mem.Scale    = Scale;
  532|  14.6k|    Res->Mem.Size     = Size;
  533|  14.6k|    Res->Mem.ModeSize = ModeSize;
  534|  14.6k|    Res->SymName      = SymName;
  535|  14.6k|    Res->OpDecl       = OpDecl;
  536|  14.6k|    Res->AddressOf    = false;
  537|  14.6k|    return Res;
  538|  14.6k|  }
_ZN7llvm_ks10X86Operand13setTokenValueENS_9StringRefE:
   91|  5.69k|  void setTokenValue(StringRef Value) {
   92|  5.69k|    assert(Kind == Token && "Invalid access!");
  ------------------
  |  Branch (92:5): [True: 5.69k, False: 0]
  |  Branch (92:5): [True: 5.69k, Folded]
  |  Branch (92:5): [True: 5.69k, False: 0]
  ------------------
   93|  5.69k|    Tok.Data = Value.data();
   94|  5.69k|    Tok.Length = Value.size();
   95|  5.69k|  }
_ZN7llvm_ks10X86Operand9CreateRegEjNS_5SMLocES1_bS1_NS_9StringRefEPv:
  477|  2.31k|            StringRef SymName = StringRef(), void *OpDecl = nullptr) {
  478|  2.31k|    auto Res = llvm_ks::make_unique<X86Operand>(Register, StartLoc, EndLoc);
  479|  2.31k|    Res->Reg.RegNo = RegNo;
  480|  2.31k|    Res->AddressOf = AddressOf;
  481|  2.31k|    Res->OffsetOfLoc = OffsetOfLoc;
  482|  2.31k|    Res->SymName = SymName;
  483|  2.31k|    Res->OpDecl = OpDecl;
  484|  2.31k|    return Res;
  485|  2.31k|  }
_ZNK7llvm_ks10X86Operand6getImmEv:
  102|  2.26k|  const MCExpr *getImm() const {
  103|  2.26k|    assert(Kind == Immediate && "Invalid access!");
  ------------------
  |  Branch (103:5): [True: 2.26k, False: 0]
  |  Branch (103:5): [True: 2.26k, Folded]
  |  Branch (103:5): [True: 2.26k, False: 0]
  ------------------
  104|  2.26k|    return Imm.Val;
  105|  2.26k|  }
_ZNK7llvm_ks10X86Operand6isMem8Ev:
  212|  13.3k|  bool isMem8() const {
  213|  13.3k|    return Kind == Memory && (!Mem.Size || Mem.Size == 8);
  ------------------
  |  Branch (213:12): [True: 6.50k, False: 6.85k]
  |  Branch (213:31): [True: 1.15k, False: 5.34k]
  |  Branch (213:44): [True: 630, False: 4.71k]
  ------------------
  214|  13.3k|  }
_ZNK7llvm_ks10X86Operand8getTokenEv:
   87|   178k|  StringRef getToken() const {
   88|   178k|    assert(Kind == Token && "Invalid access!");
  ------------------
  |  Branch (88:5): [True: 178k, False: 0]
  |  Branch (88:5): [True: 178k, Folded]
  |  Branch (88:5): [True: 178k, False: 0]
  ------------------
   89|   178k|    return StringRef(Tok.Data, Tok.Length);
   90|   178k|  }
_ZNK7llvm_ks10X86Operand12isMemUnsizedEv:
  209|  60.9k|  bool isMemUnsized() const {
  210|  60.9k|    return Kind == Memory && Mem.Size == 0;
  ------------------
  |  Branch (210:12): [True: 32.5k, False: 28.3k]
  |  Branch (210:30): [True: 29.7k, False: 2.74k]
  ------------------
  211|  60.9k|  }
_ZNK7llvm_ks10X86Operand10isAVX512RCEv:
  282|      3|  bool isAVX512RC() const{
  283|      3|      return isImm();
  284|      3|  }
_ZNK7llvm_ks10X86Operand14isImmSExti64i8Ev:
  164|    395|  bool isImmSExti64i8() const {
  165|    395|    if (!isImm())
  ------------------
  |  Branch (165:9): [True: 107, False: 288]
  ------------------
  166|    107|      return false;
  167|       |
  168|       |    // If this isn't a constant expr, just assume it fits and let relaxation
  169|       |    // handle it.
  170|    288|    const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
  171|    288|    if (!CE)
  ------------------
  |  Branch (171:9): [True: 38, False: 250]
  ------------------
  172|     38|      return true;
  173|       |
  174|       |    // Otherwise, check the value is in a range that makes sense for this
  175|       |    // extension.
  176|    250|    return isImmSExti64i8Value(CE->getValue());
  177|    288|  }
_ZNK7llvm_ks10X86Operand14isImmSExti16i8Ev:
  136|    693|  bool isImmSExti16i8() const {
  137|    693|    if (!isImm())
  ------------------
  |  Branch (137:9): [True: 307, False: 386]
  ------------------
  138|    307|      return false;
  139|       |
  140|       |    // If this isn't a constant expr, just assume it fits and let relaxation
  141|       |    // handle it.
  142|    386|    const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
  143|    386|    if (!CE)
  ------------------
  |  Branch (143:9): [True: 111, False: 275]
  ------------------
  144|    111|      return true;
  145|       |
  146|       |    // Otherwise, check the value is in a range that makes sense for this
  147|       |    // extension.
  148|    275|    return isImmSExti16i8Value(CE->getValue());
  149|    386|  }
_ZNK7llvm_ks10X86Operand14isImmSExti32i8Ev:
  150|    879|  bool isImmSExti32i8() const {
  151|    879|    if (!isImm())
  ------------------
  |  Branch (151:9): [True: 542, False: 337]
  ------------------
  152|    542|      return false;
  153|       |
  154|       |    // If this isn't a constant expr, just assume it fits and let relaxation
  155|       |    // handle it.
  156|    337|    const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
  157|    337|    if (!CE)
  ------------------
  |  Branch (157:9): [True: 90, False: 247]
  ------------------
  158|     90|      return true;
  159|       |
  160|       |    // Otherwise, check the value is in a range that makes sense for this
  161|       |    // extension.
  162|    247|    return isImmSExti32i8Value(CE->getValue());
  163|    337|  }
_ZNK7llvm_ks10X86Operand15isImmSExti64i32Ev:
  178|    338|  bool isImmSExti64i32() const {
  179|    338|    if (!isImm())
  ------------------
  |  Branch (179:9): [True: 132, False: 206]
  ------------------
  180|    132|      return false;
  181|       |
  182|       |    // If this isn't a constant expr, just assume it fits and let relaxation
  183|       |    // handle it.
  184|    206|    const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
  185|    206|    if (!CE)
  ------------------
  |  Branch (185:9): [True: 24, False: 182]
  ------------------
  186|     24|      return true;
  187|       |
  188|       |    // Otherwise, check the value is in a range that makes sense for this
  189|       |    // extension.
  190|    182|    return isImmSExti64i32Value(CE->getValue());
  191|    206|  }
_ZNK7llvm_ks10X86Operand15isImmUnsignedi8Ev:
  193|    694|  bool isImmUnsignedi8() const {
  194|    694|    if (!isImm()) return false;
  ------------------
  |  Branch (194:9): [True: 270, False: 424]
  ------------------
  195|    424|    const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getImm());
  196|    424|    if (!CE) return false;
  ------------------
  |  Branch (196:9): [True: 111, False: 313]
  ------------------
  197|    313|    return isImmUnsignedi8Value(CE->getValue());
  198|    424|  }
_ZNK7llvm_ks10X86Operand10isDstIdx16Ev:
  319|  5.22k|  bool isDstIdx16() const {
  320|  5.22k|    return isMem16() && isDstIdx();
  ------------------
  |  Branch (320:12): [True: 775, False: 4.44k]
  |  Branch (320:25): [True: 712, False: 63]
  ------------------
  321|  5.22k|  }
_ZNK7llvm_ks10X86Operand8isDstIdxEv:
  309|  22.7k|  bool isDstIdx() const {
  310|  22.7k|    return !getMemIndexReg() && getMemScale() == 1 &&
  ------------------
  |  Branch (310:12): [True: 22.6k, False: 38]
  |  Branch (310:33): [True: 22.6k, False: 0]
  ------------------
  311|  22.6k|      (getMemSegReg() == 0 || getMemSegReg() == X86::ES) &&
  ------------------
  |  Branch (311:8): [True: 22.6k, False: 3]
  |  Branch (311:31): [True: 0, False: 3]
  ------------------
  312|  22.6k|      (getMemBaseReg() == X86::RDI || getMemBaseReg() == X86::EDI ||
  ------------------
  |  Branch (312:8): [True: 2.78k, False: 19.8k]
  |  Branch (312:39): [True: 9.50k, False: 10.3k]
  ------------------
  313|  22.4k|       getMemBaseReg() == X86::DI) && isa<MCConstantExpr>(getMemDisp()) &&
  ------------------
  |  Branch (313:8): [True: 10.1k, False: 207]
  |  Branch (313:39): [True: 22.4k, False: 4]
  ------------------
  314|  22.4k|      cast<MCConstantExpr>(getMemDisp())->getValue() == 0;
  ------------------
  |  Branch (314:7): [True: 22.4k, False: 4]
  ------------------
  315|  22.7k|  }
_ZNK7llvm_ks10X86Operand14getMemIndexRegEv:
  119|  94.3k|  unsigned getMemIndexReg() const {
  120|  94.3k|    assert(Kind == Memory && "Invalid access!");
  ------------------
  |  Branch (120:5): [True: 94.3k, False: 0]
  |  Branch (120:5): [True: 94.3k, Folded]
  |  Branch (120:5): [True: 94.3k, False: 0]
  ------------------
  121|  94.3k|    return Mem.IndexReg;
  122|  94.3k|  }
_ZNK7llvm_ks10X86Operand11getMemScaleEv:
  123|  94.0k|  unsigned getMemScale() const {
  124|  94.0k|    assert(Kind == Memory && "Invalid access!");
  ------------------
  |  Branch (124:5): [True: 94.0k, False: 0]
  |  Branch (124:5): [True: 94.0k, Folded]
  |  Branch (124:5): [True: 94.0k, False: 0]
  ------------------
  125|  94.0k|    return Mem.Scale;
  126|  94.0k|  }
_ZNK7llvm_ks10X86Operand12getMemSegRegEv:
  111|  84.7k|  unsigned getMemSegReg() const {
  112|  84.7k|    assert(Kind == Memory && "Invalid access!");
  ------------------
  |  Branch (112:5): [True: 84.7k, False: 0]
  |  Branch (112:5): [True: 84.7k, Folded]
  |  Branch (112:5): [True: 84.7k, False: 0]
  ------------------
  113|  84.7k|    return Mem.SegReg;
  114|  84.7k|  }
_ZNK7llvm_ks10X86Operand13getMemBaseRegEv:
  115|   142k|  unsigned getMemBaseReg() const {
  116|   142k|    assert(Kind == Memory && "Invalid access!");
  ------------------
  |  Branch (116:5): [True: 142k, False: 0]
  |  Branch (116:5): [True: 142k, Folded]
  |  Branch (116:5): [True: 142k, False: 0]
  ------------------
  117|   142k|    return Mem.BaseReg;
  118|   142k|  }
_ZNK7llvm_ks10X86Operand10getMemDispEv:
  107|   113k|  const MCExpr *getMemDisp() const {
  108|   113k|    assert(Kind == Memory && "Invalid access!");
  ------------------
  |  Branch (108:5): [True: 113k, False: 0]
  |  Branch (108:5): [True: 113k, Folded]
  |  Branch (108:5): [True: 113k, False: 0]
  ------------------
  109|   113k|    return Mem.Disp;
  110|   113k|  }
_ZNK7llvm_ks10X86Operand10isDstIdx32Ev:
  322|  1.75k|  bool isDstIdx32() const {
  323|  1.75k|    return isMem32() && isDstIdx();
  ------------------
  |  Branch (323:12): [True: 260, False: 1.49k]
  |  Branch (323:25): [True: 194, False: 66]
  ------------------
  324|  1.75k|  }
_ZNK7llvm_ks10X86Operand10isDstIdx64Ev:
  325|  21.7k|  bool isDstIdx64() const {
  326|  21.7k|    return isMem64() && isDstIdx();
  ------------------
  |  Branch (326:12): [True: 21.3k, False: 386]
  |  Branch (326:25): [True: 21.2k, False: 62]
  ------------------
  327|  21.7k|  }
_ZNK7llvm_ks10X86Operand9isDstIdx8Ev:
  316|    928|  bool isDstIdx8() const {
  317|    928|    return isMem8() && isDstIdx();
  ------------------
  |  Branch (317:12): [True: 323, False: 605]
  |  Branch (317:24): [True: 258, False: 65]
  ------------------
  318|    928|  }
_ZNK7llvm_ks10X86Operand14isMemOffs16_16Ev:
  337|  5.01k|  bool isMemOffs16_16() const {
  338|  5.01k|    return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 16);
  ------------------
  |  Branch (338:12): [True: 2.25k, False: 2.75k]
  |  Branch (338:27): [True: 2.12k, False: 130]
  |  Branch (338:50): [True: 17, False: 2.11k]
  |  Branch (338:63): [True: 264, False: 1.84k]
  ------------------
  339|  5.01k|  }
_ZNK7llvm_ks10X86Operand9isMemOffsEv:
  329|  38.3k|  bool isMemOffs() const {
  330|  38.3k|    return Kind == Memory && !getMemBaseReg() && !getMemIndexReg() &&
  ------------------
  |  Branch (330:12): [True: 8.22k, False: 30.1k]
  |  Branch (330:30): [True: 8.04k, False: 184]
  |  Branch (330:50): [True: 7.95k, False: 88]
  ------------------
  331|  7.95k|      getMemScale() == 1;
  ------------------
  |  Branch (331:7): [True: 7.95k, False: 0]
  ------------------
  332|  38.3k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs16_32Ev:
  340|  2.86k|  bool isMemOffs16_32() const {
  341|  2.86k|    return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 32);
  ------------------
  |  Branch (341:12): [True: 115, False: 2.75k]
  |  Branch (341:27): [True: 65, False: 50]
  |  Branch (341:50): [True: 9, False: 56]
  |  Branch (341:63): [True: 7, False: 49]
  ------------------
  342|  2.86k|  }
_ZNK7llvm_ks10X86Operand13isMemOffs16_8Ev:
  334|  3.16k|  bool isMemOffs16_8() const {
  335|  3.16k|    return isMemOffs() && Mem.ModeSize == 16 && (!Mem.Size || Mem.Size == 8);
  ------------------
  |  Branch (335:12): [True: 379, False: 2.78k]
  |  Branch (335:27): [True: 129, False: 250]
  |  Branch (335:50): [True: 17, False: 112]
  |  Branch (335:63): [True: 14, False: 98]
  ------------------
  336|  3.16k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs32_16Ev:
  346|  4.75k|  bool isMemOffs32_16() const {
  347|  4.75k|    return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 16);
  ------------------
  |  Branch (347:12): [True: 2.00k, False: 2.75k]
  |  Branch (347:27): [True: 25, False: 1.97k]
  |  Branch (347:50): [True: 17, False: 8]
  |  Branch (347:63): [True: 1, False: 7]
  ------------------
  348|  4.75k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs32_32Ev:
  349|  2.86k|  bool isMemOffs32_32() const {
  350|  2.86k|    return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 32);
  ------------------
  |  Branch (350:12): [True: 115, False: 2.75k]
  |  Branch (350:27): [True: 17, False: 98]
  |  Branch (350:50): [True: 9, False: 8]
  |  Branch (350:63): [True: 1, False: 7]
  ------------------
  351|  2.86k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs32_64Ev:
  352|  2.86k|  bool isMemOffs32_64() const {
  353|  2.86k|    return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 64);
  ------------------
  |  Branch (353:12): [True: 115, False: 2.75k]
  |  Branch (353:27): [True: 17, False: 98]
  |  Branch (353:50): [True: 9, False: 8]
  |  Branch (353:63): [True: 1, False: 7]
  ------------------
  354|  2.86k|  }
_ZNK7llvm_ks10X86Operand13isMemOffs32_8Ev:
  343|  3.16k|  bool isMemOffs32_8() const {
  344|  3.16k|    return isMemOffs() && Mem.ModeSize == 32 && (!Mem.Size || Mem.Size == 8);
  ------------------
  |  Branch (344:12): [True: 372, False: 2.78k]
  |  Branch (344:27): [True: 89, False: 283]
  |  Branch (344:50): [True: 9, False: 80]
  |  Branch (344:63): [True: 10, False: 70]
  ------------------
  345|  3.16k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs64_16Ev:
  358|  4.75k|  bool isMemOffs64_16() const {
  359|  4.75k|    return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 16);
  ------------------
  |  Branch (359:12): [True: 2.00k, False: 2.75k]
  |  Branch (359:27): [True: 105, False: 1.89k]
  |  Branch (359:50): [True: 9, False: 96]
  |  Branch (359:63): [True: 12, False: 84]
  ------------------
  360|  4.75k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs64_32Ev:
  361|  2.86k|  bool isMemOffs64_32() const {
  362|  2.86k|    return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 32);
  ------------------
  |  Branch (362:12): [True: 115, False: 2.75k]
  |  Branch (362:27): [True: 33, False: 82]
  |  Branch (362:50): [True: 9, False: 24]
  |  Branch (362:63): [True: 3, False: 21]
  ------------------
  363|  2.86k|  }
_ZNK7llvm_ks10X86Operand14isMemOffs64_64Ev:
  364|  2.86k|  bool isMemOffs64_64() const {
  365|  2.86k|    return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 64);
  ------------------
  |  Branch (365:12): [True: 115, False: 2.75k]
  |  Branch (365:27): [True: 33, False: 82]
  |  Branch (365:50): [True: 9, False: 24]
  |  Branch (365:63): [True: 3, False: 21]
  ------------------
  366|  2.86k|  }
_ZNK7llvm_ks10X86Operand13isMemOffs64_8Ev:
  355|  3.15k|  bool isMemOffs64_8() const {
  356|  3.15k|    return isMemOffs() && Mem.ModeSize == 64 && (!Mem.Size || Mem.Size == 8);
  ------------------
  |  Branch (356:12): [True: 363, False: 2.78k]
  |  Branch (356:27): [True: 161, False: 202]
  |  Branch (356:50): [True: 9, False: 152]
  |  Branch (356:63): [True: 19, False: 133]
  ------------------
  357|  3.15k|  }
_ZNK7llvm_ks10X86Operand10isSrcIdx16Ev:
  299|  1.84k|  bool isSrcIdx16() const {
  300|  1.84k|    return isMem16() && isSrcIdx();
  ------------------
  |  Branch (300:12): [True: 1.25k, False: 583]
  |  Branch (300:25): [True: 1.24k, False: 16]
  ------------------
  301|  1.84k|  }
_ZNK7llvm_ks10X86Operand8isSrcIdxEv:
  290|  6.54k|  bool isSrcIdx() const {
  291|  6.54k|    return !getMemIndexReg() && getMemScale() == 1 &&
  ------------------
  |  Branch (291:12): [True: 6.54k, False: 4]
  |  Branch (291:33): [True: 6.54k, False: 0]
  ------------------
  292|  6.54k|      (getMemBaseReg() == X86::RSI || getMemBaseReg() == X86::ESI ||
  ------------------
  |  Branch (292:8): [True: 1.29k, False: 5.25k]
  |  Branch (292:39): [True: 1.65k, False: 3.60k]
  ------------------
  293|  6.48k|       getMemBaseReg() == X86::SI) && isa<MCConstantExpr>(getMemDisp()) &&
  ------------------
  |  Branch (293:8): [True: 3.53k, False: 61]
  |  Branch (293:39): [True: 6.48k, False: 0]
  ------------------
  294|  6.48k|      cast<MCConstantExpr>(getMemDisp())->getValue() == 0;
  ------------------
  |  Branch (294:7): [True: 6.48k, False: 0]
  ------------------
  295|  6.54k|  }
_ZNK7llvm_ks10X86Operand10isSrcIdx32Ev:
  302|  3.12k|  bool isSrcIdx32() const {
  303|  3.12k|    return isMem32() && isSrcIdx();
  ------------------
  |  Branch (303:12): [True: 1.18k, False: 1.94k]
  |  Branch (303:25): [True: 1.16k, False: 16]
  ------------------
  304|  3.12k|  }
_ZNK7llvm_ks10X86Operand10isSrcIdx64Ev:
  305|  21.5k|  bool isSrcIdx64() const {
  306|  21.5k|    return isMem64() && isSrcIdx();
  ------------------
  |  Branch (306:12): [True: 3.44k, False: 18.1k]
  |  Branch (306:25): [True: 3.42k, False: 16]
  ------------------
  307|  21.5k|  }
_ZNK7llvm_ks10X86Operand9isSrcIdx8Ev:
  296|  2.14k|  bool isSrcIdx8() const {
  297|  2.14k|    return isMem8() && isSrcIdx();
  ------------------
  |  Branch (297:12): [True: 663, False: 1.48k]
  |  Branch (297:24): [True: 646, False: 17]
  ------------------
  298|  2.14k|  }
_ZNK7llvm_ks10X86Operand8isAbsMemEv:
  278|  52.6k|  bool isAbsMem() const {
  279|  52.6k|    return (Kind == Memory) && !getMemSegReg() && !getMemBaseReg() &&
  ------------------
  |  Branch (279:12): [True: 52.4k, False: 133]
  |  Branch (279:32): [True: 52.4k, False: 12]
  |  Branch (279:51): [True: 51.9k, False: 521]
  ------------------
  280|  51.9k|      !getMemIndexReg() && (getMemScale() == 1) && (Mem.ModeSize == 0 || Mem.Size == 0);
  ------------------
  |  Branch (280:7): [True: 51.8k, False: 108]
  |  Branch (280:28): [True: 51.8k, False: 0]
  |  Branch (280:53): [True: 43.7k, False: 8.13k]
  |  Branch (280:74): [True: 2.42k, False: 5.70k]
  ------------------
  281|  52.6k|  }
_ZNK7llvm_ks10X86Operand8isMem128Ev:
  227|     83|  bool isMem128() const {
  228|     83|    return Kind == Memory && (!Mem.Size || Mem.Size == 128);
  ------------------
  |  Branch (228:12): [True: 48, False: 35]
  |  Branch (228:31): [True: 24, False: 24]
  |  Branch (228:44): [True: 3, False: 21]
  ------------------
  229|     83|  }
_ZNK7llvm_ks10X86Operand7isMem16Ev:
  215|  40.3k|  bool isMem16() const {
  216|  40.3k|    return Kind == Memory && (!Mem.Size || Mem.Size == 16);
  ------------------
  |  Branch (216:12): [True: 21.8k, False: 18.4k]
  |  Branch (216:31): [True: 2.12k, False: 19.7k]
  |  Branch (216:44): [True: 3.03k, False: 16.7k]
  ------------------
  217|  40.3k|  }
_ZNK7llvm_ks10X86Operand8isMem256Ev:
  230|     75|  bool isMem256() const {
  231|     75|    return Kind == Memory && (!Mem.Size || Mem.Size == 256);
  ------------------
  |  Branch (231:12): [True: 44, False: 31]
  |  Branch (231:31): [True: 20, False: 24]
  |  Branch (231:44): [True: 3, False: 21]
  ------------------
  232|     75|  }
_ZNK7llvm_ks10X86Operand7isMem32Ev:
  218|  16.1k|  bool isMem32() const {
  219|  16.1k|    return Kind == Memory && (!Mem.Size || Mem.Size == 32);
  ------------------
  |  Branch (219:12): [True: 8.63k, False: 7.55k]
  |  Branch (219:31): [True: 1.44k, False: 7.18k]
  |  Branch (219:44): [True: 1.31k, False: 5.87k]
  ------------------
  220|  16.1k|  }
_ZNK7llvm_ks10X86Operand8isMem512Ev:
  233|     40|  bool isMem512() const {
  234|     40|    return Kind == Memory && (!Mem.Size || Mem.Size == 512);
  ------------------
  |  Branch (234:12): [True: 22, False: 18]
  |  Branch (234:31): [True: 14, False: 8]
  |  Branch (234:44): [True: 1, False: 7]
  ------------------
  235|     40|  }
_ZNK7llvm_ks10X86Operand7isMem64Ev:
  221|  53.0k|  bool isMem64() const {
  222|  53.0k|    return Kind == Memory && (!Mem.Size || Mem.Size == 64);
  ------------------
  |  Branch (222:12): [True: 45.5k, False: 7.47k]
  |  Branch (222:31): [True: 22.5k, False: 23.0k]
  |  Branch (222:44): [True: 3.26k, False: 19.7k]
  ------------------
  223|  53.0k|  }
_ZNK7llvm_ks10X86Operand7isMem80Ev:
  224|     24|  bool isMem80() const {
  225|     24|    return Kind == Memory && (!Mem.Size || Mem.Size == 80);
  ------------------
  |  Branch (225:12): [True: 15, False: 9]
  |  Branch (225:31): [True: 9, False: 6]
  |  Branch (225:44): [True: 1, False: 5]
  ------------------
  226|     24|  }
_ZNK7llvm_ks10X86Operand14addRegOperandsERNS_6MCInstEj:
  384|    412|  void addRegOperands(MCInst &Inst, unsigned N) const {
  385|    412|    assert(N == 1 && "Invalid number of operands!");
  ------------------
  |  Branch (385:5): [True: 412, False: 0]
  |  Branch (385:5): [True: 412, Folded]
  |  Branch (385:5): [True: 412, False: 0]
  ------------------
  386|    412|    Inst.addOperand(MCOperand::createReg(getReg()));
  387|    412|  }
_ZNK7llvm_ks10X86Operand14addImmOperandsERNS_6MCInstEj:
  423|    509|  void addImmOperands(MCInst &Inst, unsigned N) const {
  424|    509|    assert(N == 1 && "Invalid number of operands!");
  ------------------
  |  Branch (424:5): [True: 509, False: 0]
  |  Branch (424:5): [True: 509, Folded]
  |  Branch (424:5): [True: 509, False: 0]
  ------------------
  425|    509|    addExpr(Inst, getImm());
  426|    509|  }
_ZNK7llvm_ks10X86Operand7addExprERNS_6MCInstEPKNS_6MCExprE:
  376|  5.59k|  void addExpr(MCInst &Inst, const MCExpr *Expr) const {
  377|       |    // Add as immediates when possible.
  378|  5.59k|    if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr))
  ------------------
  |  Branch (378:31): [True: 1.61k, False: 3.97k]
  ------------------
  379|  1.61k|      Inst.addOperand(MCOperand::createImm(CE->getValue()));
  380|  3.97k|    else
  381|  3.97k|      Inst.addOperand(MCOperand::createExpr(Expr));
  382|  5.59k|  }
_ZNK7llvm_ks10X86Operand14addMemOperandsERNS_6MCInstEj:
  428|  5.08k|  void addMemOperands(MCInst &Inst, unsigned N) const {
  429|  5.08k|    assert((N == 5) && "Invalid number of operands!");
  ------------------
  |  Branch (429:5): [True: 5.08k, False: 0]
  |  Branch (429:5): [True: 5.08k, Folded]
  |  Branch (429:5): [True: 5.08k, False: 0]
  ------------------
  430|  5.08k|    Inst.addOperand(MCOperand::createReg(getMemBaseReg()));
  431|  5.08k|    Inst.addOperand(MCOperand::createImm(getMemScale()));
  432|  5.08k|    Inst.addOperand(MCOperand::createReg(getMemIndexReg()));
  433|  5.08k|    addExpr(Inst, getMemDisp());
  434|  5.08k|    Inst.addOperand(MCOperand::createReg(getMemSegReg()));
  435|  5.08k|  }
_ZNK7llvm_ks10X86Operand17addAbsMemOperandsERNS_6MCInstEj:
  437|  45.8k|  void addAbsMemOperands(MCInst &Inst, unsigned N) const {
  438|  45.8k|    assert((N == 1) && "Invalid number of operands!");
  ------------------
  |  Branch (438:5): [True: 45.8k, False: 0]
  |  Branch (438:5): [True: 45.8k, Folded]
  |  Branch (438:5): [True: 45.8k, False: 0]
  ------------------
  439|       |    // Add as immediates when possible.
  440|  45.8k|    if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getMemDisp()))
  ------------------
  |  Branch (440:31): [True: 42.2k, False: 3.62k]
  ------------------
  441|  42.2k|      Inst.addOperand(MCOperand::createImm(CE->getValue()));
  442|  3.62k|    else
  443|  3.62k|      Inst.addOperand(MCOperand::createExpr(getMemDisp()));
  444|  45.8k|  }
_ZNK7llvm_ks10X86Operand17addDstIdxOperandsERNS_6MCInstEj:
  451|  4.04k|  void addDstIdxOperands(MCInst &Inst, unsigned N) const {
  452|  4.04k|    assert((N == 1) && "Invalid number of operands!");
  ------------------
  |  Branch (452:5): [True: 4.04k, False: 0]
  |  Branch (452:5): [True: 4.04k, Folded]
  |  Branch (452:5): [True: 4.04k, False: 0]
  ------------------
  453|  4.04k|    Inst.addOperand(MCOperand::createReg(getMemBaseReg()));
  454|  4.04k|  }
_ZNK7llvm_ks10X86Operand17addSrcIdxOperandsERNS_6MCInstEj:
  446|  4.20k|  void addSrcIdxOperands(MCInst &Inst, unsigned N) const {
  447|  4.20k|    assert((N == 2) && "Invalid number of operands!");
  ------------------
  |  Branch (447:5): [True: 4.20k, False: 0]
  |  Branch (447:5): [True: 4.20k, Folded]
  |  Branch (447:5): [True: 4.20k, False: 0]
  ------------------
  448|  4.20k|    Inst.addOperand(MCOperand::createReg(getMemBaseReg()));
  449|  4.20k|    Inst.addOperand(MCOperand::createReg(getMemSegReg()));
  450|  4.20k|  }
_ZNK7llvm_ks10X86Operand18addMemOffsOperandsERNS_6MCInstEj:
  456|    298|  void addMemOffsOperands(MCInst &Inst, unsigned N) const {
  457|    298|    assert((N == 2) && "Invalid number of operands!");
  ------------------
  |  Branch (457:5): [True: 298, False: 0]
  |  Branch (457:5): [True: 298, Folded]
  |  Branch (457:5): [True: 298, False: 0]
  ------------------
  458|       |    // Add as immediates when possible.
  459|    298|    if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(getMemDisp()))
  ------------------
  |  Branch (459:31): [True: 14, False: 284]
  ------------------
  460|     14|      Inst.addOperand(MCOperand::createImm(CE->getValue()));
  461|    284|    else
  462|    284|      Inst.addOperand(MCOperand::createExpr(getMemDisp()));
  463|    298|    Inst.addOperand(MCOperand::createReg(getMemSegReg()));
  464|    298|  }

_ZN7llvm_ks22createX86_32AsmBackendERKNS_6TargetERKNS_14MCRegisterInfoERKNS_6TripleENS_9StringRefE:
  774|  17.0k|                                           StringRef CPU) {
  775|  17.0k|  uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(TheTriple.getOS());
  776|       |
  777|  17.0k|  if (TheTriple.isOSIAMCU())
  ------------------
  |  Branch (777:7): [True: 0, False: 17.0k]
  ------------------
  778|      0|    return new ELFX86_IAMCUAsmBackend(T, OSABI, CPU);
  779|       |
  780|  17.0k|  return new ELFX86_32AsmBackend(T, OSABI, CPU);
  781|  17.0k|}
X86AsmBackend.cpp:_ZN12_GLOBAL__N_116ELFX86AsmBackendC2ERKN7llvm_ks6TargetEhNS1_9StringRefE:
  378|  17.0k|      : X86AsmBackend(T, CPU), OSABI(OSABI) {}
X86AsmBackend.cpp:_ZN12_GLOBAL__N_113X86AsmBackendC2ERKN7llvm_ks6TargetENS1_9StringRefE:
   75|  17.0k|  X86AsmBackend(const Target &T, StringRef CPU) : MCAsmBackend(), CPU(CPU) {
   76|  17.0k|    HasNopl = CPU != "generic" && CPU != "i386" && CPU != "i486" &&
  ------------------
  |  Branch (76:15): [True: 17.0k, False: 0]
  |  Branch (76:35): [True: 17.0k, False: 0]
  |  Branch (76:52): [True: 17.0k, False: 0]
  ------------------
   77|  17.0k|              CPU != "i586" && CPU != "pentium" && CPU != "pentium-mmx" &&
  ------------------
  |  Branch (77:15): [True: 17.0k, False: 0]
  |  Branch (77:32): [True: 17.0k, False: 0]
  |  Branch (77:52): [True: 17.0k, False: 0]
  ------------------
   78|  17.0k|              CPU != "i686" && CPU != "k6" && CPU != "k6-2" && CPU != "k6-3" &&
  ------------------
  |  Branch (78:15): [True: 17.0k, False: 0]
  |  Branch (78:32): [True: 17.0k, False: 0]
  |  Branch (78:47): [True: 17.0k, False: 0]
  |  Branch (78:64): [True: 17.0k, False: 0]
  ------------------
   79|  17.0k|              CPU != "geode" && CPU != "winchip-c6" && CPU != "winchip2" &&
  ------------------
  |  Branch (79:15): [True: 17.0k, False: 0]
  |  Branch (79:33): [True: 17.0k, False: 0]
  |  Branch (79:56): [True: 17.0k, False: 0]
  ------------------
   80|  17.0k|              CPU != "c3" && CPU != "c3-2";
  ------------------
  |  Branch (80:15): [True: 17.0k, False: 0]
  |  Branch (80:30): [True: 17.0k, False: 0]
  ------------------
   81|       |    // Max length of true long nop instruction is 15 bytes.
   82|       |    // Max length of long nop replacement instruction is 7 bytes.
   83|       |    // Taking into account SilverMont architecture features max length of nops
   84|       |    // is reduced for it to achieve better performance.
   85|  17.0k|    MaxNopLength = (!HasNopl || CPU == "slm") ? 7 : 15;
  ------------------
  |  Branch (85:21): [True: 0, False: 17.0k]
  |  Branch (85:33): [True: 0, False: 17.0k]
  ------------------
   86|  17.0k|  }
X86AsmBackend.cpp:_ZNK12_GLOBAL__N_113X86AsmBackend16getNumFixupKindsEv:
   88|    142|  unsigned getNumFixupKinds() const override {
   89|    142|    return X86::NumTargetFixupKinds;
   90|    142|  }
X86AsmBackend.cpp:_ZNK12_GLOBAL__N_113X86AsmBackend16getFixupKindInfoEN7llvm_ks11MCFixupKindE:
   92|  48.1k|  const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override {
   93|  48.1k|    const static MCFixupKindInfo Infos[X86::NumTargetFixupKinds] = {
   94|  48.1k|      { "reloc_riprel_4byte", 0, 4 * 8, MCFixupKindInfo::FKF_IsPCRel, },
   95|  48.1k|      { "reloc_riprel_4byte_movq_load", 0, 4 * 8, MCFixupKindInfo::FKF_IsPCRel,},
   96|  48.1k|      { "reloc_signed_4byte", 0, 4 * 8, 0},
   97|  48.1k|      { "reloc_global_offset_table", 0, 4 * 8, 0},
   98|  48.1k|      { "reloc_global_offset_table8", 0, 8 * 8, 0},
   99|  48.1k|    };
  100|       |
  101|  48.1k|    if (Kind < FirstTargetFixupKind)
  ------------------
  |  Branch (101:9): [True: 48.0k, False: 142]
  ------------------
  102|  48.0k|      return MCAsmBackend::getFixupKindInfo(Kind);
  103|       |
  104|  48.1k|    assert(unsigned(Kind - FirstTargetFixupKind) < getNumFixupKinds() &&
  ------------------
  |  Branch (104:5): [True: 142, False: 0]
  |  Branch (104:5): [True: 142, Folded]
  |  Branch (104:5): [True: 142, False: 0]
  ------------------
  105|    142|           "Invalid kind!");
  106|    142|    return Infos[Kind - FirstTargetFixupKind];
  107|    142|  }
X86AsmBackend.cpp:_ZNK12_GLOBAL__N_113X86AsmBackend10applyFixupERKN7llvm_ks7MCFixupEPcjmbRj:
  110|  11.4k|                  uint64_t Value, bool IsPCRel, unsigned int &KsError) const override {
  111|  11.4k|    unsigned Size = 1 << getFixupKindLog2Size(Fixup.getKind());
  112|       |
  113|       |    //assert(Fixup.getOffset() + Size <= DataSize &&
  114|       |    //       "Invalid fixup offset!");
  115|       |
  116|       |    // Check that uppper bits are either all zeros or all ones.
  117|       |    // Specifically ignore overflow/underflow as long as the leakage is
  118|       |    // limited to the lower bits. This is to remain compatible with
  119|       |    // other assemblers.
  120|       |    //assert(isIntN(Size * 8 + 1, Value) &&
  121|       |    //       "Value does not fit in the Fixup field");
  122|  11.4k|    if (Fixup.getOffset() + Size > DataSize ||
  ------------------
  |  Branch (122:9): [True: 0, False: 11.4k]
  ------------------
  123|  11.4k|            !isIntN(Size * 8 + 1, Value)) {
  ------------------
  |  Branch (123:13): [True: 91, False: 11.3k]
  ------------------
  124|     91|        KsError = KS_ERR_ASM_FIXUP_INVALID;
  125|     91|        return;
  126|     91|    }
  127|       |
  128|  39.0k|    for (unsigned i = 0; i != Size; ++i)
  ------------------
  |  Branch (128:26): [True: 27.6k, False: 11.3k]
  ------------------
  129|  27.6k|      Data[Fixup.getOffset() + i] = uint8_t(Value >> (i * 8));
  130|  11.3k|  }
X86AsmBackend.cpp:_ZL20getFixupKindLog2Sizej:
   33|  11.4k|static unsigned getFixupKindLog2Size(unsigned Kind) {
   34|  11.4k|  switch (Kind) {
   35|      0|  default:
  ------------------
  |  Branch (35:3): [True: 0, False: 11.4k]
  ------------------
   36|      0|    llvm_unreachable("invalid fixup kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
   37|    870|  case FK_PCRel_1:
  ------------------
  |  Branch (37:3): [True: 870, False: 10.6k]
  ------------------
   38|    870|  case FK_SecRel_1:
  ------------------
  |  Branch (38:3): [True: 0, False: 11.4k]
  ------------------
   39|  1.06k|  case FK_Data_1:
  ------------------
  |  Branch (39:3): [True: 195, False: 11.2k]
  ------------------
   40|  1.06k|    return 0;
   41|     10|  case FK_PCRel_2:
  ------------------
  |  Branch (41:3): [True: 10, False: 11.4k]
  ------------------
   42|     10|  case FK_SecRel_2:
  ------------------
  |  Branch (42:3): [True: 0, False: 11.4k]
  ------------------
   43|  7.39k|  case FK_Data_2:
  ------------------
  |  Branch (43:3): [True: 7.38k, False: 4.10k]
  ------------------
   44|  7.39k|    return 1;
   45|    803|  case FK_PCRel_4:
  ------------------
  |  Branch (45:3): [True: 803, False: 10.6k]
  ------------------
   46|    822|  case X86::reloc_riprel_4byte:
  ------------------
  |  Branch (46:3): [True: 19, False: 11.4k]
  ------------------
   47|    822|  case X86::reloc_riprel_4byte_movq_load:
  ------------------
  |  Branch (47:3): [True: 0, False: 11.4k]
  ------------------
   48|    823|  case X86::reloc_signed_4byte:
  ------------------
  |  Branch (48:3): [True: 1, False: 11.4k]
  ------------------
   49|    823|  case X86::reloc_global_offset_table:
  ------------------
  |  Branch (49:3): [True: 0, False: 11.4k]
  ------------------
   50|    823|  case FK_SecRel_4:
  ------------------
  |  Branch (50:3): [True: 0, False: 11.4k]
  ------------------
   51|  3.01k|  case FK_Data_4:
  ------------------
  |  Branch (51:3): [True: 2.19k, False: 9.29k]
  ------------------
   52|  3.01k|    return 2;
   53|      0|  case FK_PCRel_8:
  ------------------
  |  Branch (53:3): [True: 0, False: 11.4k]
  ------------------
   54|      0|  case FK_SecRel_8:
  ------------------
  |  Branch (54:3): [True: 0, False: 11.4k]
  ------------------
   55|     11|  case FK_Data_8:
  ------------------
  |  Branch (55:3): [True: 11, False: 11.4k]
  ------------------
   56|     11|  case X86::reloc_global_offset_table8:
  ------------------
  |  Branch (56:3): [True: 0, False: 11.4k]
  ------------------
   57|     11|    return 3;
   58|  11.4k|  }
   59|  11.4k|}
X86AsmBackend.cpp:_ZNK12_GLOBAL__N_113X86AsmBackend17mayNeedRelaxationERKN7llvm_ks6MCInstE:
  260|  38.5k|bool X86AsmBackend::mayNeedRelaxation(const MCInst &Inst) const {
  261|       |  // Branches can always be relaxed.
  262|  38.5k|  if (getRelaxedOpcodeBranch(Inst.getOpcode()) != Inst.getOpcode())
  ------------------
  |  Branch (262:7): [True: 12.9k, False: 25.6k]
  ------------------
  263|  12.9k|    return true;
  264|       |
  265|       |  // Check if this instruction is ever relaxable.
  266|  25.6k|  if (getRelaxedOpcodeArith(Inst.getOpcode()) == Inst.getOpcode())
  ------------------
  |  Branch (266:7): [True: 25.2k, False: 337]
  ------------------
  267|  25.2k|    return false;
  268|       |
  269|       |
  270|       |  // Check if the relaxable operand has an expression. For the current set of
  271|       |  // relaxable instructions, the relaxable operand is always the last operand.
  272|    337|  unsigned RelaxableOp = Inst.getNumOperands() - 1;
  273|    337|  if (Inst.getOperand(RelaxableOp).isExpr())
  ------------------
  |  Branch (273:7): [True: 266, False: 71]
  ------------------
  274|    266|    return true;
  275|       |
  276|     71|  return false;
  277|    337|}
X86AsmBackend.cpp:_ZL22getRelaxedOpcodeBranchj:
  144|  42.3k|static unsigned getRelaxedOpcodeBranch(unsigned Op) {
  145|  42.3k|  switch (Op) {
  146|  25.6k|  default:
  ------------------
  |  Branch (146:3): [True: 25.6k, False: 16.7k]
  ------------------
  147|  25.6k|    return Op;
  148|       |
  149|     62|  case X86::JAE_1: return X86::JAE_4;
  ------------------
  |  Branch (149:3): [True: 62, False: 42.3k]
  ------------------
  150|    685|  case X86::JA_1:  return X86::JA_4;
  ------------------
  |  Branch (150:3): [True: 685, False: 41.6k]
  ------------------
  151|     23|  case X86::JBE_1: return X86::JBE_4;
  ------------------
  |  Branch (151:3): [True: 23, False: 42.3k]
  ------------------
  152|    117|  case X86::JB_1:  return X86::JB_4;
  ------------------
  |  Branch (152:3): [True: 117, False: 42.2k]
  ------------------
  153|    340|  case X86::JE_1:  return X86::JE_4;
  ------------------
  |  Branch (153:3): [True: 340, False: 42.0k]
  ------------------
  154|  5.83k|  case X86::JGE_1: return X86::JGE_4;
  ------------------
  |  Branch (154:3): [True: 5.83k, False: 36.5k]
  ------------------
  155|  7.10k|  case X86::JG_1:  return X86::JG_4;
  ------------------
  |  Branch (155:3): [True: 7.10k, False: 35.2k]
  ------------------
  156|    481|  case X86::JLE_1: return X86::JLE_4;
  ------------------
  |  Branch (156:3): [True: 481, False: 41.9k]
  ------------------
  157|    531|  case X86::JL_1:  return X86::JL_4;
  ------------------
  |  Branch (157:3): [True: 531, False: 41.8k]
  ------------------
  158|     78|  case X86::JMP_1: return X86::JMP_4;
  ------------------
  |  Branch (158:3): [True: 78, False: 42.3k]
  ------------------
  159|    112|  case X86::JNE_1: return X86::JNE_4;
  ------------------
  |  Branch (159:3): [True: 112, False: 42.2k]
  ------------------
  160|     11|  case X86::JNO_1: return X86::JNO_4;
  ------------------
  |  Branch (160:3): [True: 11, False: 42.3k]
  ------------------
  161|     10|  case X86::JNP_1: return X86::JNP_4;
  ------------------
  |  Branch (161:3): [True: 10, False: 42.3k]
  ------------------
  162|     22|  case X86::JNS_1: return X86::JNS_4;
  ------------------
  |  Branch (162:3): [True: 22, False: 42.3k]
  ------------------
  163|    982|  case X86::JO_1:  return X86::JO_4;
  ------------------
  |  Branch (163:3): [True: 982, False: 41.4k]
  ------------------
  164|    302|  case X86::JP_1:  return X86::JP_4;
  ------------------
  |  Branch (164:3): [True: 302, False: 42.0k]
  ------------------
  165|     84|  case X86::JS_1:  return X86::JS_4;
  ------------------
  |  Branch (165:3): [True: 84, False: 42.2k]
  ------------------
  166|  42.3k|  }
  167|  42.3k|}
X86AsmBackend.cpp:_ZL21getRelaxedOpcodeArithj:
  169|  29.4k|static unsigned getRelaxedOpcodeArith(unsigned Op) {
  170|  29.4k|  switch (Op) {
  171|  29.1k|  default:
  ------------------
  |  Branch (171:3): [True: 29.1k, False: 357]
  ------------------
  172|  29.1k|    return Op;
  173|       |
  174|       |    // IMUL
  175|      0|  case X86::IMUL16rri8: return X86::IMUL16rri;
  ------------------
  |  Branch (175:3): [True: 0, False: 29.4k]
  ------------------
  176|      0|  case X86::IMUL16rmi8: return X86::IMUL16rmi;
  ------------------
  |  Branch (176:3): [True: 0, False: 29.4k]
  ------------------
  177|      0|  case X86::IMUL32rri8: return X86::IMUL32rri;
  ------------------
  |  Branch (177:3): [True: 0, False: 29.4k]
  ------------------
  178|      0|  case X86::IMUL32rmi8: return X86::IMUL32rmi;
  ------------------
  |  Branch (178:3): [True: 0, False: 29.4k]
  ------------------
  179|      0|  case X86::IMUL64rri8: return X86::IMUL64rri32;
  ------------------
  |  Branch (179:3): [True: 0, False: 29.4k]
  ------------------
  180|      0|  case X86::IMUL64rmi8: return X86::IMUL64rmi32;
  ------------------
  |  Branch (180:3): [True: 0, False: 29.4k]
  ------------------
  181|       |
  182|       |    // AND
  183|     10|  case X86::AND16ri8: return X86::AND16ri;
  ------------------
  |  Branch (183:3): [True: 10, False: 29.4k]
  ------------------
  184|      0|  case X86::AND16mi8: return X86::AND16mi;
  ------------------
  |  Branch (184:3): [True: 0, False: 29.4k]
  ------------------
  185|     34|  case X86::AND32ri8: return X86::AND32ri;
  ------------------
  |  Branch (185:3): [True: 34, False: 29.4k]
  ------------------
  186|      0|  case X86::AND32mi8: return X86::AND32mi;
  ------------------
  |  Branch (186:3): [True: 0, False: 29.4k]
  ------------------
  187|      0|  case X86::AND64ri8: return X86::AND64ri32;
  ------------------
  |  Branch (187:3): [True: 0, False: 29.4k]
  ------------------
  188|      0|  case X86::AND64mi8: return X86::AND64mi32;
  ------------------
  |  Branch (188:3): [True: 0, False: 29.4k]
  ------------------
  189|       |
  190|       |    // OR
  191|      6|  case X86::OR16ri8: return X86::OR16ri;
  ------------------
  |  Branch (191:3): [True: 6, False: 29.4k]
  ------------------
  192|      0|  case X86::OR16mi8: return X86::OR16mi;
  ------------------
  |  Branch (192:3): [True: 0, False: 29.4k]
  ------------------
  193|      6|  case X86::OR32ri8: return X86::OR32ri;
  ------------------
  |  Branch (193:3): [True: 6, False: 29.4k]
  ------------------
  194|      0|  case X86::OR32mi8: return X86::OR32mi;
  ------------------
  |  Branch (194:3): [True: 0, False: 29.4k]
  ------------------
  195|      0|  case X86::OR64ri8: return X86::OR64ri32;
  ------------------
  |  Branch (195:3): [True: 0, False: 29.4k]
  ------------------
  196|      0|  case X86::OR64mi8: return X86::OR64mi32;
  ------------------
  |  Branch (196:3): [True: 0, False: 29.4k]
  ------------------
  197|       |
  198|       |    // XOR
  199|      3|  case X86::XOR16ri8: return X86::XOR16ri;
  ------------------
  |  Branch (199:3): [True: 3, False: 29.4k]
  ------------------
  200|      0|  case X86::XOR16mi8: return X86::XOR16mi;
  ------------------
  |  Branch (200:3): [True: 0, False: 29.4k]
  ------------------
  201|      0|  case X86::XOR32ri8: return X86::XOR32ri;
  ------------------
  |  Branch (201:3): [True: 0, False: 29.4k]
  ------------------
  202|      0|  case X86::XOR32mi8: return X86::XOR32mi;
  ------------------
  |  Branch (202:3): [True: 0, False: 29.4k]
  ------------------
  203|      0|  case X86::XOR64ri8: return X86::XOR64ri32;
  ------------------
  |  Branch (203:3): [True: 0, False: 29.4k]
  ------------------
  204|      0|  case X86::XOR64mi8: return X86::XOR64mi32;
  ------------------
  |  Branch (204:3): [True: 0, False: 29.4k]
  ------------------
  205|       |
  206|       |    // ADD
  207|     20|  case X86::ADD16ri8: return X86::ADD16ri;
  ------------------
  |  Branch (207:3): [True: 20, False: 29.4k]
  ------------------
  208|      0|  case X86::ADD16mi8: return X86::ADD16mi;
  ------------------
  |  Branch (208:3): [True: 0, False: 29.4k]
  ------------------
  209|     18|  case X86::ADD32ri8: return X86::ADD32ri;
  ------------------
  |  Branch (209:3): [True: 18, False: 29.4k]
  ------------------
  210|      0|  case X86::ADD32mi8: return X86::ADD32mi;
  ------------------
  |  Branch (210:3): [True: 0, False: 29.4k]
  ------------------
  211|      0|  case X86::ADD64ri8: return X86::ADD64ri32;
  ------------------
  |  Branch (211:3): [True: 0, False: 29.4k]
  ------------------
  212|      0|  case X86::ADD64mi8: return X86::ADD64mi32;
  ------------------
  |  Branch (212:3): [True: 0, False: 29.4k]
  ------------------
  213|       |
  214|       |   // ADC
  215|     10|  case X86::ADC16ri8: return X86::ADC16ri;
  ------------------
  |  Branch (215:3): [True: 10, False: 29.4k]
  ------------------
  216|      0|  case X86::ADC16mi8: return X86::ADC16mi;
  ------------------
  |  Branch (216:3): [True: 0, False: 29.4k]
  ------------------
  217|      7|  case X86::ADC32ri8: return X86::ADC32ri;
  ------------------
  |  Branch (217:3): [True: 7, False: 29.4k]
  ------------------
  218|      0|  case X86::ADC32mi8: return X86::ADC32mi;
  ------------------
  |  Branch (218:3): [True: 0, False: 29.4k]
  ------------------
  219|      0|  case X86::ADC64ri8: return X86::ADC64ri32;
  ------------------
  |  Branch (219:3): [True: 0, False: 29.4k]
  ------------------
  220|      0|  case X86::ADC64mi8: return X86::ADC64mi32;
  ------------------
  |  Branch (220:3): [True: 0, False: 29.4k]
  ------------------
  221|       |
  222|       |    // SUB
  223|     27|  case X86::SUB16ri8: return X86::SUB16ri;
  ------------------
  |  Branch (223:3): [True: 27, False: 29.4k]
  ------------------
  224|      0|  case X86::SUB16mi8: return X86::SUB16mi;
  ------------------
  |  Branch (224:3): [True: 0, False: 29.4k]
  ------------------
  225|      3|  case X86::SUB32ri8: return X86::SUB32ri;
  ------------------
  |  Branch (225:3): [True: 3, False: 29.4k]
  ------------------
  226|      0|  case X86::SUB32mi8: return X86::SUB32mi;
  ------------------
  |  Branch (226:3): [True: 0, False: 29.4k]
  ------------------
  227|      0|  case X86::SUB64ri8: return X86::SUB64ri32;
  ------------------
  |  Branch (227:3): [True: 0, False: 29.4k]
  ------------------
  228|      0|  case X86::SUB64mi8: return X86::SUB64mi32;
  ------------------
  |  Branch (228:3): [True: 0, False: 29.4k]
  ------------------
  229|       |
  230|       |   // SBB
  231|      3|  case X86::SBB16ri8: return X86::SBB16ri;
  ------------------
  |  Branch (231:3): [True: 3, False: 29.4k]
  ------------------
  232|      0|  case X86::SBB16mi8: return X86::SBB16mi;
  ------------------
  |  Branch (232:3): [True: 0, False: 29.4k]
  ------------------
  233|      5|  case X86::SBB32ri8: return X86::SBB32ri;
  ------------------
  |  Branch (233:3): [True: 5, False: 29.4k]
  ------------------
  234|      0|  case X86::SBB32mi8: return X86::SBB32mi;
  ------------------
  |  Branch (234:3): [True: 0, False: 29.4k]
  ------------------
  235|      0|  case X86::SBB64ri8: return X86::SBB64ri32;
  ------------------
  |  Branch (235:3): [True: 0, False: 29.4k]
  ------------------
  236|      0|  case X86::SBB64mi8: return X86::SBB64mi32;
  ------------------
  |  Branch (236:3): [True: 0, False: 29.4k]
  ------------------
  237|       |
  238|       |    // CMP
  239|     95|  case X86::CMP16ri8: return X86::CMP16ri;
  ------------------
  |  Branch (239:3): [True: 95, False: 29.3k]
  ------------------
  240|      0|  case X86::CMP16mi8: return X86::CMP16mi;
  ------------------
  |  Branch (240:3): [True: 0, False: 29.4k]
  ------------------
  241|     15|  case X86::CMP32ri8: return X86::CMP32ri;
  ------------------
  |  Branch (241:3): [True: 15, False: 29.4k]
  ------------------
  242|      0|  case X86::CMP32mi8: return X86::CMP32mi;
  ------------------
  |  Branch (242:3): [True: 0, False: 29.4k]
  ------------------
  243|      0|  case X86::CMP64ri8: return X86::CMP64ri32;
  ------------------
  |  Branch (243:3): [True: 0, False: 29.4k]
  ------------------
  244|      0|  case X86::CMP64mi8: return X86::CMP64mi32;
  ------------------
  |  Branch (244:3): [True: 0, False: 29.4k]
  ------------------
  245|       |
  246|       |    // PUSH
  247|     29|  case X86::PUSH32i8:  return X86::PUSHi32;
  ------------------
  |  Branch (247:3): [True: 29, False: 29.4k]
  ------------------
  248|     45|  case X86::PUSH16i8:  return X86::PUSHi16;
  ------------------
  |  Branch (248:3): [True: 45, False: 29.4k]
  ------------------
  249|     21|  case X86::PUSH64i8:  return X86::PUSH64i32;
  ------------------
  |  Branch (249:3): [True: 21, False: 29.4k]
  ------------------
  250|  29.4k|  }
  251|  29.4k|}
X86AsmBackend.cpp:_ZNK12_GLOBAL__N_113X86AsmBackend20fixupNeedsRelaxationERKN7llvm_ks7MCFixupEmPKNS1_19MCRelaxableFragmentERKNS1_11MCAsmLayoutERj:
  282|  6.09k|                                         const MCAsmLayout &Layout, unsigned &KsError) const {
  283|       |  // Relax if the value is too big for a (signed) i8.
  284|  6.09k|  return int64_t(Value) != int64_t(int8_t(Value));
  285|  6.09k|}
X86AsmBackend.cpp:_ZNK12_GLOBAL__N_113X86AsmBackend16relaxInstructionERKN7llvm_ks6MCInstERS2_:
  289|  3.87k|void X86AsmBackend::relaxInstruction(const MCInst &Inst, MCInst &Res) const {
  290|       |  // The only relaxations X86 does is from a 1byte pcrel to a 4byte pcrel.
  291|  3.87k|  unsigned RelaxedOp = getRelaxedOpcode(Inst.getOpcode());
  292|       |
  293|  3.87k|  if (RelaxedOp == Inst.getOpcode()) {
  ------------------
  |  Branch (293:7): [True: 0, False: 3.87k]
  ------------------
  294|      0|    SmallString<256> Tmp;
  295|      0|    raw_svector_ostream OS(Tmp);
  296|      0|    OS << "\n";
  297|      0|    report_fatal_error("unexpected instruction to relax: " + OS.str());
  298|      0|  }
  299|       |
  300|  3.87k|  Res = Inst;
  301|  3.87k|  Res.setOpcode(RelaxedOp);
  302|  3.87k|}
X86AsmBackend.cpp:_ZL16getRelaxedOpcodej:
  253|  3.87k|static unsigned getRelaxedOpcode(unsigned Op) {
  254|  3.87k|  unsigned R = getRelaxedOpcodeArith(Op);
  255|  3.87k|  if (R != Op)
  ------------------
  |  Branch (255:7): [True: 20, False: 3.85k]
  ------------------
  256|     20|    return R;
  257|  3.85k|  return getRelaxedOpcodeBranch(Op);
  258|  3.87k|}
X86AsmBackend.cpp:_ZNK12_GLOBAL__N_113X86AsmBackend12writeNopDataEmPN7llvm_ks14MCObjectWriterE:
  307|    995|bool X86AsmBackend::writeNopData(uint64_t Count, MCObjectWriter *OW) const {
  308|    995|  static const uint8_t TrueNops[10][10] = {
  309|       |    // nop
  310|    995|    {0x90},
  311|       |    // xchg %ax,%ax
  312|    995|    {0x66, 0x90},
  313|       |    // nopl (%[re]ax)
  314|    995|    {0x0f, 0x1f, 0x00},
  315|       |    // nopl 0(%[re]ax)
  316|    995|    {0x0f, 0x1f, 0x40, 0x00},
  317|       |    // nopl 0(%[re]ax,%[re]ax,1)
  318|    995|    {0x0f, 0x1f, 0x44, 0x00, 0x00},
  319|       |    // nopw 0(%[re]ax,%[re]ax,1)
  320|    995|    {0x66, 0x0f, 0x1f, 0x44, 0x00, 0x00},
  321|       |    // nopl 0L(%[re]ax)
  322|    995|    {0x0f, 0x1f, 0x80, 0x00, 0x00, 0x00, 0x00},
  323|       |    // nopl 0L(%[re]ax,%[re]ax,1)
  324|    995|    {0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00},
  325|       |    // nopw 0L(%[re]ax,%[re]ax,1)
  326|    995|    {0x66, 0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00},
  327|       |    // nopw %cs:0L(%[re]ax,%[re]ax,1)
  328|    995|    {0x66, 0x2e, 0x0f, 0x1f, 0x84, 0x00, 0x00, 0x00, 0x00, 0x00},
  329|    995|  };
  330|       |
  331|       |  // Alternative nop instructions for CPUs which don't support long nops.
  332|    995|  static const uint8_t AltNops[7][10] = {
  333|       |      // nop
  334|    995|      {0x90},
  335|       |      // xchg %ax,%ax
  336|    995|      {0x66, 0x90},
  337|       |      // lea 0x0(%esi),%esi
  338|    995|      {0x8d, 0x76, 0x00},
  339|       |      // lea 0x0(%esi),%esi
  340|    995|      {0x8d, 0x74, 0x26, 0x00},
  341|       |      // nop + lea 0x0(%esi),%esi
  342|    995|      {0x90, 0x8d, 0x74, 0x26, 0x00},
  343|       |      // lea 0x0(%esi),%esi
  344|    995|      {0x8d, 0xb6, 0x00, 0x00, 0x00, 0x00 },
  345|       |      // lea 0x0(%esi),%esi
  346|    995|      {0x8d, 0xb4, 0x26, 0x00, 0x00, 0x00, 0x00},
  347|    995|  };
  348|       |
  349|       |  // Select the right NOP table.
  350|       |  // FIXME: Can we get if CPU supports long nops from the subtarget somehow?
  351|    995|  const uint8_t (*Nops)[10] = HasNopl ? TrueNops : AltNops;
  ------------------
  |  Branch (351:31): [True: 995, False: 0]
  ------------------
  352|    995|  assert(HasNopl || MaxNopLength <= 7);
  ------------------
  |  Branch (352:3): [True: 995, False: 0]
  |  Branch (352:3): [True: 0, False: 0]
  |  Branch (352:3): [True: 995, False: 0]
  ------------------
  353|       |
  354|       |  // Emit as many largest nops as needed, then emit a nop of the remaining
  355|       |  // length.
  356|  10.4k|  do {
  357|  10.4k|    const uint8_t ThisNopLength = (uint8_t) std::min(Count, MaxNopLength);
  358|  10.4k|    const uint8_t Prefixes = ThisNopLength <= 10 ? 0 : ThisNopLength - 10;
  ------------------
  |  Branch (358:30): [True: 986, False: 9.48k]
  ------------------
  359|  57.8k|    for (uint8_t i = 0; i < Prefixes; i++)
  ------------------
  |  Branch (359:25): [True: 47.3k, False: 10.4k]
  ------------------
  360|  47.3k|      OW->write8(0x66);
  361|  10.4k|    const uint8_t Rest = ThisNopLength - Prefixes;
  362|   105k|    for (uint8_t i = 0; i < Rest; i++)
  ------------------
  |  Branch (362:25): [True: 94.8k, False: 10.4k]
  ------------------
  363|  94.8k|      OW->write8(Nops[Rest - 1][i]);
  364|  10.4k|    Count -= ThisNopLength;
  365|  10.4k|  } while (Count != 0);
  ------------------
  |  Branch (365:12): [True: 9.47k, False: 995]
  ------------------
  366|       |
  367|    995|  return true;
  368|    995|}
X86AsmBackend.cpp:_ZN12_GLOBAL__N_119ELFX86_32AsmBackendC2ERKN7llvm_ks6TargetEhNS1_9StringRefE:
  384|  17.0k|    : ELFX86AsmBackend(T, OSABI, CPU) {}
X86AsmBackend.cpp:_ZNK12_GLOBAL__N_119ELFX86_32AsmBackend18createObjectWriterERN7llvm_ks17raw_pwrite_streamE:
  386|  17.0k|  MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override {
  387|  17.0k|    return createX86ELFObjectWriter(OS, /*IsELF64*/ false, OSABI, ELF::EM_386);
  388|  17.0k|  }

_ZN7llvm_ks5X86II24isX86_64NonExtLowByteRegEj:
  771|  36.1k|  inline bool isX86_64NonExtLowByteReg(unsigned reg) {
  772|  36.1k|    return (reg == X86::SPL || reg == X86::BPL ||
  ------------------
  |  Branch (772:13): [True: 35, False: 36.1k]
  |  Branch (772:32): [True: 19, False: 36.1k]
  ------------------
  773|  36.1k|            reg == X86::SIL || reg == X86::DIL);
  ------------------
  |  Branch (773:13): [True: 12, False: 36.1k]
  |  Branch (773:32): [True: 25, False: 36.1k]
  ------------------
  774|  36.1k|  }
_ZN7llvm_ks5X86II19isX86_64ExtendedRegEj:
  736|  36.1k|  inline bool isX86_64ExtendedReg(unsigned RegNo) {
  737|  36.1k|    if ((RegNo > X86::XMM7 && RegNo <= X86::XMM15) ||
  ------------------
  |  Branch (737:10): [True: 968, False: 35.1k]
  |  Branch (737:31): [True: 21, False: 947]
  ------------------
  738|  36.0k|        (RegNo > X86::XMM23 && RegNo <= X86::XMM31) ||
  ------------------
  |  Branch (738:10): [True: 934, False: 35.1k]
  |  Branch (738:32): [True: 38, False: 896]
  ------------------
  739|  36.0k|        (RegNo > X86::YMM7 && RegNo <= X86::YMM15) ||
  ------------------
  |  Branch (739:10): [True: 850, False: 35.1k]
  |  Branch (739:31): [True: 89, False: 761]
  ------------------
  740|  35.9k|        (RegNo > X86::YMM23 && RegNo <= X86::YMM31) ||
  ------------------
  |  Branch (740:10): [True: 739, False: 35.2k]
  |  Branch (740:32): [True: 147, False: 592]
  ------------------
  741|  35.8k|        (RegNo > X86::ZMM7 && RegNo <= X86::ZMM15) ||
  ------------------
  |  Branch (741:10): [True: 566, False: 35.2k]
  |  Branch (741:31): [True: 39, False: 527]
  ------------------
  742|  35.7k|        (RegNo > X86::ZMM23 && RegNo <= X86::ZMM31))
  ------------------
  |  Branch (742:10): [True: 514, False: 35.2k]
  |  Branch (742:32): [True: 75, False: 439]
  ------------------
  743|    409|      return true;
  744|       |
  745|  35.6k|    switch (RegNo) {
  746|  34.7k|    default: break;
  ------------------
  |  Branch (746:5): [True: 34.7k, False: 944]
  ------------------
  747|  34.7k|    case X86::R8:    case X86::R9:    case X86::R10:   case X86::R11:
  ------------------
  |  Branch (747:5): [True: 0, False: 35.6k]
  |  Branch (747:22): [True: 0, False: 35.6k]
  |  Branch (747:39): [True: 0, False: 35.6k]
  |  Branch (747:56): [True: 0, False: 35.6k]
  ------------------
  748|      0|    case X86::R12:   case X86::R13:   case X86::R14:   case X86::R15:
  ------------------
  |  Branch (748:5): [True: 0, False: 35.6k]
  |  Branch (748:22): [True: 0, False: 35.6k]
  |  Branch (748:39): [True: 0, False: 35.6k]
  |  Branch (748:56): [True: 0, False: 35.6k]
  ------------------
  749|     63|    case X86::R8D:   case X86::R9D:   case X86::R10D:  case X86::R11D:
  ------------------
  |  Branch (749:5): [True: 11, False: 35.6k]
  |  Branch (749:22): [True: 11, False: 35.6k]
  |  Branch (749:39): [True: 21, False: 35.6k]
  |  Branch (749:56): [True: 20, False: 35.6k]
  ------------------
  750|    109|    case X86::R12D:  case X86::R13D:  case X86::R14D:  case X86::R15D:
  ------------------
  |  Branch (750:5): [True: 20, False: 35.6k]
  |  Branch (750:22): [True: 12, False: 35.6k]
  |  Branch (750:39): [True: 11, False: 35.6k]
  |  Branch (750:56): [True: 3, False: 35.6k]
  ------------------
  751|    202|    case X86::R8W:   case X86::R9W:   case X86::R10W:  case X86::R11W:
  ------------------
  |  Branch (751:5): [True: 29, False: 35.6k]
  |  Branch (751:22): [True: 35, False: 35.6k]
  |  Branch (751:39): [True: 19, False: 35.6k]
  |  Branch (751:56): [True: 10, False: 35.6k]
  ------------------
  752|    321|    case X86::R12W:  case X86::R13W:  case X86::R14W:  case X86::R15W:
  ------------------
  |  Branch (752:5): [True: 34, False: 35.6k]
  |  Branch (752:22): [True: 11, False: 35.6k]
  |  Branch (752:39): [True: 33, False: 35.6k]
  |  Branch (752:56): [True: 41, False: 35.6k]
  ------------------
  753|    357|    case X86::R8B:   case X86::R9B:   case X86::R10B:  case X86::R11B:
  ------------------
  |  Branch (753:5): [True: 10, False: 35.6k]
  |  Branch (753:22): [True: 3, False: 35.6k]
  |  Branch (753:39): [True: 12, False: 35.6k]
  |  Branch (753:56): [True: 11, False: 35.6k]
  ------------------
  754|    439|    case X86::R12B:  case X86::R13B:  case X86::R14B:  case X86::R15B:
  ------------------
  |  Branch (754:5): [True: 40, False: 35.6k]
  |  Branch (754:22): [True: 22, False: 35.6k]
  |  Branch (754:39): [True: 9, False: 35.6k]
  |  Branch (754:56): [True: 11, False: 35.6k]
  ------------------
  755|    544|    case X86::CR8:   case X86::CR9:   case X86::CR10:  case X86::CR11:
  ------------------
  |  Branch (755:5): [True: 40, False: 35.6k]
  |  Branch (755:22): [True: 10, False: 35.6k]
  |  Branch (755:39): [True: 10, False: 35.6k]
  |  Branch (755:56): [True: 45, False: 35.6k]
  ------------------
  756|    944|    case X86::CR12:  case X86::CR13:  case X86::CR14:  case X86::CR15:
  ------------------
  |  Branch (756:5): [True: 47, False: 35.6k]
  |  Branch (756:22): [True: 203, False: 35.4k]
  |  Branch (756:39): [True: 129, False: 35.5k]
  |  Branch (756:56): [True: 21, False: 35.6k]
  ------------------
  757|    944|      return true;
  758|  35.6k|    }
  759|  34.7k|    return false;
  760|  35.6k|  }
_ZN7llvm_ks5X86II16getBaseOpcodeForEm:
  575|  27.7k|  inline unsigned char getBaseOpcodeFor(uint64_t TSFlags) {
  576|  27.7k|    return TSFlags >> X86II::OpcodeShift;
  577|  27.7k|  }
_ZN7llvm_ks5X86II6hasImmEm:
  579|     27|  inline bool hasImm(uint64_t TSFlags) {
  580|     27|    return (TSFlags & X86II::ImmMask) != 0;
  581|     27|  }
_ZN7llvm_ks5X86II12getSizeOfImmEm:
  585|  24.7k|  inline unsigned getSizeOfImm(uint64_t TSFlags) {
  586|  24.7k|    switch (TSFlags & X86II::ImmMask) {
  587|      0|    default: llvm_unreachable("Unknown immediate size");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (587:5): [True: 0, False: 24.7k]
  ------------------
  588|    588|    case X86II::Imm8:
  ------------------
  |  Branch (588:5): [True: 588, False: 24.1k]
  ------------------
  589|  13.4k|    case X86II::Imm8PCRel:  return 1;
  ------------------
  |  Branch (589:5): [True: 12.8k, False: 11.9k]
  ------------------
  590|    616|    case X86II::Imm16:
  ------------------
  |  Branch (590:5): [True: 616, False: 24.1k]
  ------------------
  591|  1.52k|    case X86II::Imm16PCRel: return 2;
  ------------------
  |  Branch (591:5): [True: 904, False: 23.8k]
  ------------------
  592|    306|    case X86II::Imm32:
  ------------------
  |  Branch (592:5): [True: 306, False: 24.4k]
  ------------------
  593|    308|    case X86II::Imm32S:
  ------------------
  |  Branch (593:5): [True: 2, False: 24.7k]
  ------------------
  594|  9.75k|    case X86II::Imm32PCRel: return 4;
  ------------------
  |  Branch (594:5): [True: 9.45k, False: 15.2k]
  ------------------
  595|     50|    case X86II::Imm64:      return 8;
  ------------------
  |  Branch (595:5): [True: 50, False: 24.6k]
  ------------------
  596|  24.7k|    }
  597|  24.7k|  }
_ZN7llvm_ks5X86II10isImmPCRelEm:
  601|  12.3k|  inline unsigned isImmPCRel(uint64_t TSFlags) {
  602|  12.3k|    switch (TSFlags & X86II::ImmMask) {
  603|      0|    default: llvm_unreachable("Unknown immediate size");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (603:5): [True: 0, False: 12.3k]
  ------------------
  604|  6.41k|    case X86II::Imm8PCRel:
  ------------------
  |  Branch (604:5): [True: 6.41k, False: 5.95k]
  ------------------
  605|  6.86k|    case X86II::Imm16PCRel:
  ------------------
  |  Branch (605:5): [True: 452, False: 11.9k]
  ------------------
  606|  11.5k|    case X86II::Imm32PCRel:
  ------------------
  |  Branch (606:5): [True: 4.72k, False: 7.64k]
  ------------------
  607|  11.5k|      return true;
  608|    294|    case X86II::Imm8:
  ------------------
  |  Branch (608:5): [True: 294, False: 12.0k]
  ------------------
  609|    602|    case X86II::Imm16:
  ------------------
  |  Branch (609:5): [True: 308, False: 12.0k]
  ------------------
  610|    755|    case X86II::Imm32:
  ------------------
  |  Branch (610:5): [True: 153, False: 12.2k]
  ------------------
  611|    756|    case X86II::Imm32S:
  ------------------
  |  Branch (611:5): [True: 1, False: 12.3k]
  ------------------
  612|    781|    case X86II::Imm64:
  ------------------
  |  Branch (612:5): [True: 25, False: 12.3k]
  ------------------
  613|    781|      return false;
  614|  12.3k|    }
  615|  12.3k|  }
_ZN7llvm_ks5X86II11isImmSignedEm:
  619|  12.3k|  inline unsigned isImmSigned(uint64_t TSFlags) {
  620|  12.3k|    switch (TSFlags & X86II::ImmMask) {
  621|      0|    default: llvm_unreachable("Unknown immediate signedness");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (621:5): [True: 0, False: 12.3k]
  ------------------
  622|      1|    case X86II::Imm32S:
  ------------------
  |  Branch (622:5): [True: 1, False: 12.3k]
  ------------------
  623|      1|      return true;
  624|    294|    case X86II::Imm8:
  ------------------
  |  Branch (624:5): [True: 294, False: 12.0k]
  ------------------
  625|  6.71k|    case X86II::Imm8PCRel:
  ------------------
  |  Branch (625:5): [True: 6.41k, False: 5.95k]
  ------------------
  626|  7.01k|    case X86II::Imm16:
  ------------------
  |  Branch (626:5): [True: 308, False: 12.0k]
  ------------------
  627|  7.47k|    case X86II::Imm16PCRel:
  ------------------
  |  Branch (627:5): [True: 452, False: 11.9k]
  ------------------
  628|  7.62k|    case X86II::Imm32:
  ------------------
  |  Branch (628:5): [True: 153, False: 12.2k]
  ------------------
  629|  12.3k|    case X86II::Imm32PCRel:
  ------------------
  |  Branch (629:5): [True: 4.72k, False: 7.64k]
  ------------------
  630|  12.3k|    case X86II::Imm64:
  ------------------
  |  Branch (630:5): [True: 25, False: 12.3k]
  ------------------
  631|  12.3k|      return false;
  632|  12.3k|    }
  633|  12.3k|  }
_ZN7llvm_ks5X86II14getOperandBiasERKNS_11MCInstrDescE:
  641|  27.7k|  {
  642|  27.7k|    unsigned NumOps = Desc.getNumOperands();
  643|  27.7k|    unsigned CurOp = 0;
  644|  27.7k|    if (NumOps > 1 && Desc.getOperandConstraint(1, MCOI::TIED_TO) == 0)
  ------------------
  |  Branch (644:9): [True: 8.90k, False: 18.8k]
  |  Branch (644:23): [True: 166, False: 8.73k]
  ------------------
  645|    166|      ++CurOp;
  646|  27.5k|    else if (NumOps > 3 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 &&
  ------------------
  |  Branch (646:14): [True: 4.20k, False: 23.3k]
  |  Branch (646:28): [True: 0, False: 4.20k]
  ------------------
  647|      0|             Desc.getOperandConstraint(3, MCOI::TIED_TO) == 1)
  ------------------
  |  Branch (647:14): [True: 0, False: 0]
  ------------------
  648|       |      // Special case for AVX-512 GATHER with 2 TIED_TO operands
  649|       |      // Skip the first 2 operands: dst, mask_wb
  650|      0|      CurOp += 2;
  651|  27.5k|    else if (NumOps > 3 && Desc.getOperandConstraint(2, MCOI::TIED_TO) == 0 &&
  ------------------
  |  Branch (651:14): [True: 4.20k, False: 23.3k]
  |  Branch (651:28): [True: 0, False: 4.20k]
  ------------------
  652|      0|             Desc.getOperandConstraint(NumOps - 1, MCOI::TIED_TO) == 1)
  ------------------
  |  Branch (652:14): [True: 0, False: 0]
  ------------------
  653|       |      // Special case for GATHER with 2 TIED_TO operands
  654|       |      // Skip the first 2 operands: dst, mask_wb
  655|      0|      CurOp += 2;
  656|  27.5k|    else if (NumOps > 2 && Desc.getOperandConstraint(NumOps - 2, MCOI::TIED_TO) == 0)
  ------------------
  |  Branch (656:14): [True: 7.77k, False: 19.8k]
  |  Branch (656:28): [True: 0, False: 7.77k]
  ------------------
  657|       |      // SCATTER
  658|      0|      ++CurOp;
  659|  27.7k|    return CurOp;
  660|  27.7k|  }
_ZN7llvm_ks5X86II18getMemoryOperandNoEmj:
  670|  27.7k|  inline int getMemoryOperandNo(uint64_t TSFlags, unsigned Opcode) {
  671|  27.7k|    bool HasVEX_4V = TSFlags & X86II::VEX_4V;
  672|  27.7k|    bool HasMemOp4 = TSFlags & X86II::MemOp4;
  673|  27.7k|    bool HasEVEX_K = TSFlags & X86II::EVEX_K;
  674|       |
  675|  27.7k|    switch (TSFlags & X86II::FormMask) {
  676|      0|    default: llvm_unreachable("Unknown FormMask value in getMemoryOperandNo!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (676:5): [True: 0, False: 27.7k]
  ------------------
  677|      0|    case X86II::Pseudo:
  ------------------
  |  Branch (677:5): [True: 0, False: 27.7k]
  ------------------
  678|  16.6k|    case X86II::RawFrm:
  ------------------
  |  Branch (678:5): [True: 16.6k, False: 11.0k]
  ------------------
  679|  16.7k|    case X86II::AddRegFrm:
  ------------------
  |  Branch (679:5): [True: 49, False: 27.7k]
  ------------------
  680|  16.7k|    case X86II::MRMDestReg:
  ------------------
  |  Branch (680:5): [True: 11, False: 27.7k]
  ------------------
  681|  16.7k|    case X86II::MRMSrcReg:
  ------------------
  |  Branch (681:5): [True: 12, False: 27.7k]
  ------------------
  682|  16.7k|    case X86II::RawFrmImm8:
  ------------------
  |  Branch (682:5): [True: 0, False: 27.7k]
  ------------------
  683|  16.7k|    case X86II::RawFrmImm16:
  ------------------
  |  Branch (683:5): [True: 10, False: 27.7k]
  ------------------
  684|  17.0k|    case X86II::RawFrmMemOffs:
  ------------------
  |  Branch (684:5): [True: 298, False: 27.4k]
  ------------------
  685|  17.6k|    case X86II::RawFrmSrc:
  ------------------
  |  Branch (685:5): [True: 546, False: 27.2k]
  ------------------
  686|  17.9k|    case X86II::RawFrmDst:
  ------------------
  |  Branch (686:5): [True: 396, False: 27.3k]
  ------------------
  687|  21.5k|    case X86II::RawFrmDstSrc:
  ------------------
  |  Branch (687:5): [True: 3.56k, False: 24.1k]
  ------------------
  688|  21.5k|      return -1;
  689|     23|    case X86II::MRMDestMem:
  ------------------
  |  Branch (689:5): [True: 23, False: 27.7k]
  ------------------
  690|     23|      return 0;
  691|    151|    case X86II::MRMSrcMem:
  ------------------
  |  Branch (691:5): [True: 151, False: 27.6k]
  ------------------
  692|       |      // Start from 1, skip any registers encoded in VEX_VVVV or I8IMM, or a
  693|       |      // mask register.
  694|    151|      return 1 + HasVEX_4V + HasMemOp4 + HasEVEX_K;
  695|      0|    case X86II::MRMXr:
  ------------------
  |  Branch (695:5): [True: 0, False: 27.7k]
  ------------------
  696|     38|    case X86II::MRM0r: case X86II::MRM1r:
  ------------------
  |  Branch (696:5): [True: 26, False: 27.7k]
  |  Branch (696:24): [True: 12, False: 27.7k]
  ------------------
  697|     84|    case X86II::MRM2r: case X86II::MRM3r:
  ------------------
  |  Branch (697:5): [True: 35, False: 27.7k]
  |  Branch (697:24): [True: 11, False: 27.7k]
  ------------------
  698|    187|    case X86II::MRM4r: case X86II::MRM5r:
  ------------------
  |  Branch (698:5): [True: 49, False: 27.7k]
  |  Branch (698:24): [True: 54, False: 27.7k]
  ------------------
  699|    307|    case X86II::MRM6r: case X86II::MRM7r:
  ------------------
  |  Branch (699:5): [True: 32, False: 27.7k]
  |  Branch (699:24): [True: 88, False: 27.6k]
  ------------------
  700|    307|      return -1;
  701|    343|    case X86II::MRMXm:
  ------------------
  |  Branch (701:5): [True: 343, False: 27.4k]
  ------------------
  702|    477|    case X86II::MRM0m: case X86II::MRM1m:
  ------------------
  |  Branch (702:5): [True: 119, False: 27.6k]
  |  Branch (702:24): [True: 15, False: 27.7k]
  ------------------
  703|  2.48k|    case X86II::MRM2m: case X86II::MRM3m:
  ------------------
  |  Branch (703:5): [True: 1.90k, False: 25.8k]
  |  Branch (703:24): [True: 111, False: 27.6k]
  ------------------
  704|  3.20k|    case X86II::MRM4m: case X86II::MRM5m:
  ------------------
  |  Branch (704:5): [True: 692, False: 27.0k]
  |  Branch (704:24): [True: 27, False: 27.7k]
  ------------------
  705|  4.03k|    case X86II::MRM6m: case X86II::MRM7m:
  ------------------
  |  Branch (705:5): [True: 136, False: 27.6k]
  |  Branch (705:24): [True: 695, False: 27.0k]
  ------------------
  706|       |      // Start from 0, skip registers encoded in VEX_VVVV or a mask register.
  707|  4.03k|      return 0 + HasVEX_4V + HasEVEX_K;
  708|      0|    case X86II::MRM_C0: case X86II::MRM_C1: case X86II::MRM_C2:
  ------------------
  |  Branch (708:5): [True: 0, False: 27.7k]
  |  Branch (708:25): [True: 0, False: 27.7k]
  |  Branch (708:45): [True: 0, False: 27.7k]
  ------------------
  709|      3|    case X86II::MRM_C3: case X86II::MRM_C4: case X86II::MRM_C5:
  ------------------
  |  Branch (709:5): [True: 3, False: 27.7k]
  |  Branch (709:25): [True: 0, False: 27.7k]
  |  Branch (709:45): [True: 0, False: 27.7k]
  ------------------
  710|      6|    case X86II::MRM_C6: case X86II::MRM_C7: case X86II::MRM_C8:
  ------------------
  |  Branch (710:5): [True: 0, False: 27.7k]
  |  Branch (710:25): [True: 0, False: 27.7k]
  |  Branch (710:45): [True: 3, False: 27.7k]
  ------------------
  711|     87|    case X86II::MRM_C9: case X86II::MRM_CA: case X86II::MRM_CB:
  ------------------
  |  Branch (711:5): [True: 70, False: 27.6k]
  |  Branch (711:25): [True: 1, False: 27.7k]
  |  Branch (711:45): [True: 10, False: 27.7k]
  ------------------
  712|     87|    case X86II::MRM_CC: case X86II::MRM_CD: case X86II::MRM_CE:
  ------------------
  |  Branch (712:5): [True: 0, False: 27.7k]
  |  Branch (712:25): [True: 0, False: 27.7k]
  |  Branch (712:45): [True: 0, False: 27.7k]
  ------------------
  713|     93|    case X86II::MRM_CF: case X86II::MRM_D0: case X86II::MRM_D1:
  ------------------
  |  Branch (713:5): [True: 6, False: 27.7k]
  |  Branch (713:25): [True: 0, False: 27.7k]
  |  Branch (713:45): [True: 0, False: 27.7k]
  ------------------
  714|     94|    case X86II::MRM_D2: case X86II::MRM_D3: case X86II::MRM_D4:
  ------------------
  |  Branch (714:5): [True: 0, False: 27.7k]
  |  Branch (714:25): [True: 0, False: 27.7k]
  |  Branch (714:45): [True: 1, False: 27.7k]
  ------------------
  715|    124|    case X86II::MRM_D5: case X86II::MRM_D6: case X86II::MRM_D7:
  ------------------
  |  Branch (715:5): [True: 12, False: 27.7k]
  |  Branch (715:25): [True: 0, False: 27.7k]
  |  Branch (715:45): [True: 18, False: 27.7k]
  ------------------
  716|    127|    case X86II::MRM_D8: case X86II::MRM_D9: case X86II::MRM_DA:
  ------------------
  |  Branch (716:5): [True: 0, False: 27.7k]
  |  Branch (716:25): [True: 3, False: 27.7k]
  |  Branch (716:45): [True: 0, False: 27.7k]
  ------------------
  717|    129|    case X86II::MRM_DB: case X86II::MRM_DC: case X86II::MRM_DD:
  ------------------
  |  Branch (717:5): [True: 0, False: 27.7k]
  |  Branch (717:25): [True: 1, False: 27.7k]
  |  Branch (717:45): [True: 1, False: 27.7k]
  ------------------
  718|  1.48k|    case X86II::MRM_DE: case X86II::MRM_DF: case X86II::MRM_E0:
  ------------------
  |  Branch (718:5): [True: 0, False: 27.7k]
  |  Branch (718:25): [True: 0, False: 27.7k]
  |  Branch (718:45): [True: 1.35k, False: 26.4k]
  ------------------
  719|  1.56k|    case X86II::MRM_E1: case X86II::MRM_E2: case X86II::MRM_E3:
  ------------------
  |  Branch (719:5): [True: 1, False: 27.7k]
  |  Branch (719:25): [True: 1, False: 27.7k]
  |  Branch (719:45): [True: 73, False: 27.6k]
  ------------------
  720|  1.57k|    case X86II::MRM_E4: case X86II::MRM_E5: case X86II::MRM_E6:
  ------------------
  |  Branch (720:5): [True: 10, False: 27.7k]
  |  Branch (720:25): [True: 1, False: 27.7k]
  |  Branch (720:45): [True: 0, False: 27.7k]
  ------------------
  721|  1.58k|    case X86II::MRM_E7: case X86II::MRM_E8: case X86II::MRM_E9:
  ------------------
  |  Branch (721:5): [True: 0, False: 27.7k]
  |  Branch (721:25): [True: 15, False: 27.7k]
  |  Branch (721:45): [True: 1, False: 27.7k]
  ------------------
  722|  1.61k|    case X86II::MRM_EA: case X86II::MRM_EB: case X86II::MRM_EC:
  ------------------
  |  Branch (722:5): [True: 1, False: 27.7k]
  |  Branch (722:25): [True: 21, False: 27.7k]
  |  Branch (722:45): [True: 0, False: 27.7k]
  ------------------
  723|  1.62k|    case X86II::MRM_ED: case X86II::MRM_EE: case X86II::MRM_EF:
  ------------------
  |  Branch (723:5): [True: 0, False: 27.7k]
  |  Branch (723:25): [True: 11, False: 27.7k]
  |  Branch (723:45): [True: 1, False: 27.7k]
  ------------------
  724|  1.64k|    case X86II::MRM_F0: case X86II::MRM_F1: case X86II::MRM_F2:
  ------------------
  |  Branch (724:5): [True: 1, False: 27.7k]
  |  Branch (724:25): [True: 10, False: 27.7k]
  |  Branch (724:45): [True: 15, False: 27.7k]
  ------------------
  725|  1.64k|    case X86II::MRM_F3: case X86II::MRM_F4: case X86II::MRM_F5:
  ------------------
  |  Branch (725:5): [True: 0, False: 27.7k]
  |  Branch (725:25): [True: 1, False: 27.7k]
  |  Branch (725:45): [True: 0, False: 27.7k]
  ------------------
  726|  1.65k|    case X86II::MRM_F6: case X86II::MRM_F7: case X86II::MRM_F8:
  ------------------
  |  Branch (726:5): [True: 1, False: 27.7k]
  |  Branch (726:25): [True: 0, False: 27.7k]
  |  Branch (726:45): [True: 2, False: 27.7k]
  ------------------
  727|  1.65k|    case X86II::MRM_F9: case X86II::MRM_FA: case X86II::MRM_FB:
  ------------------
  |  Branch (727:5): [True: 0, False: 27.7k]
  |  Branch (727:25): [True: 0, False: 27.7k]
  |  Branch (727:45): [True: 1, False: 27.7k]
  ------------------
  728|  1.67k|    case X86II::MRM_FC: case X86II::MRM_FD: case X86II::MRM_FE:
  ------------------
  |  Branch (728:5): [True: 20, False: 27.7k]
  |  Branch (728:25): [True: 1, False: 27.7k]
  |  Branch (728:45): [True: 1, False: 27.7k]
  ------------------
  729|  1.68k|    case X86II::MRM_FF:
  ------------------
  |  Branch (729:5): [True: 7, False: 27.7k]
  ------------------
  730|  1.68k|      return -1;
  731|  27.7k|    }
  732|  27.7k|  }

_ZN7llvm_ks24createX86ELFObjectWriterERNS_17raw_pwrite_streamEbht:
  266|  17.0k|                                               uint16_t EMachine) {
  267|  17.0k|  MCELFObjectTargetWriter *MOTW =
  268|  17.0k|    new X86ELFObjectWriter(IsELF64, OSABI, EMachine);
  269|  17.0k|  return createELFObjectWriter(MOTW, OS,  /*IsLittleEndian=*/true);
  270|  17.0k|}
X86ELFObjectWriter.cpp:_ZN12_GLOBAL__N_118X86ELFObjectWriterC2Ebht:
   36|  17.0k|    : MCELFObjectTargetWriter(IsELF64, OSABI, EMachine,
   37|       |                              // Only i386 and IAMCU use Rel instead of RelA.
   38|       |                              /*HasRelocationAddend*/
   39|  17.0k|                              (EMachine != ELF::EM_386) &&
  ------------------
  |  Branch (39:31): [True: 0, False: 17.0k]
  ------------------
   40|  17.0k|                                  (EMachine != ELF::EM_IAMCU)) {}
  ------------------
  |  Branch (40:35): [True: 0, False: 0]
  ------------------
X86ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_118X86ELFObjectWriter12getRelocTypeERN7llvm_ks9MCContextERKNS1_7MCValueERKNS1_7MCFixupEb:
  253|  4.19k|                                          bool IsPCRel) const {
  254|  4.19k|  MCSymbolRefExpr::VariantKind Modifier = Target.getAccessVariant();
  255|  4.19k|  X86_64RelType Type = getType64(Fixup.getKind(), Modifier, IsPCRel);
  256|  4.19k|  if (getEMachine() == ELF::EM_X86_64)
  ------------------
  |  Branch (256:7): [True: 0, False: 4.19k]
  ------------------
  257|      0|    return getRelocType64(Ctx, Fixup.getLoc(), Modifier, Type, IsPCRel);
  258|       |
  259|  4.19k|  assert((getEMachine() == ELF::EM_386 || getEMachine() == ELF::EM_IAMCU) &&
  ------------------
  |  Branch (259:3): [True: 4.19k, False: 0]
  |  Branch (259:3): [True: 0, False: 0]
  |  Branch (259:3): [True: 4.19k, Folded]
  |  Branch (259:3): [True: 4.19k, False: 0]
  ------------------
  260|  4.19k|         "Unsupported ELF machine type.");
  261|  4.19k|  return getRelocType32(Modifier, getType32(Type), IsPCRel);
  262|  4.19k|}
X86ELFObjectWriter.cpp:_ZL9getType64jRN7llvm_ks15MCSymbolRefExpr11VariantKindERb:
   49|  4.19k|                               bool &IsPCRel) {
   50|  4.19k|  switch (Kind) {
   51|      0|  default:
  ------------------
  |  Branch (51:3): [True: 0, False: 4.19k]
  ------------------
   52|      0|    llvm_unreachable("Unimplemented");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
   53|      0|  case X86::reloc_global_offset_table8:
  ------------------
  |  Branch (53:3): [True: 0, False: 4.19k]
  ------------------
   54|      0|    Modifier = MCSymbolRefExpr::VK_GOT;
   55|      0|    IsPCRel = true;
   56|      0|    return RT64_64;
   57|      0|  case FK_Data_8:
  ------------------
  |  Branch (57:3): [True: 0, False: 4.19k]
  ------------------
   58|      0|    return RT64_64;
   59|      1|  case X86::reloc_signed_4byte:
  ------------------
  |  Branch (59:3): [True: 1, False: 4.19k]
  ------------------
   60|      1|    if (Modifier == MCSymbolRefExpr::VK_None && !IsPCRel)
  ------------------
  |  Branch (60:9): [True: 1, False: 0]
  |  Branch (60:49): [True: 1, False: 0]
  ------------------
   61|      1|      return RT64_32S;
   62|      0|    return RT64_32;
   63|      0|  case X86::reloc_global_offset_table:
  ------------------
  |  Branch (63:3): [True: 0, False: 4.19k]
  ------------------
   64|      0|    Modifier = MCSymbolRefExpr::VK_GOT;
   65|      0|    IsPCRel = true;
   66|      0|    return RT64_32;
   67|  1.86k|  case FK_Data_4:
  ------------------
  |  Branch (67:3): [True: 1.86k, False: 2.33k]
  ------------------
   68|  1.86k|  case FK_PCRel_4:
  ------------------
  |  Branch (68:3): [True: 0, False: 4.19k]
  ------------------
   69|  1.86k|  case X86::reloc_riprel_4byte:
  ------------------
  |  Branch (69:3): [True: 0, False: 4.19k]
  ------------------
   70|  1.86k|  case X86::reloc_riprel_4byte_movq_load:
  ------------------
  |  Branch (70:3): [True: 0, False: 4.19k]
  ------------------
   71|  1.86k|    return RT64_32;
   72|      0|  case FK_PCRel_2:
  ------------------
  |  Branch (72:3): [True: 0, False: 4.19k]
  ------------------
   73|  2.16k|  case FK_Data_2:
  ------------------
  |  Branch (73:3): [True: 2.16k, False: 2.02k]
  ------------------
   74|  2.16k|    return RT64_16;
   75|      0|  case FK_PCRel_1:
  ------------------
  |  Branch (75:3): [True: 0, False: 4.19k]
  ------------------
   76|    167|  case FK_Data_1:
  ------------------
  |  Branch (76:3): [True: 167, False: 4.02k]
  ------------------
   77|    167|    return RT64_8;
   78|  4.19k|  }
   79|  4.19k|}
X86ELFObjectWriter.cpp:_ZL14getRelocType32N7llvm_ks15MCSymbolRefExpr11VariantKindE13X86_32RelTypeb:
  193|  4.19k|                               X86_32RelType Type, bool IsPCRel) {
  194|  4.19k|  switch (Modifier) {
  195|      0|  default:
  ------------------
  |  Branch (195:3): [True: 0, False: 4.19k]
  ------------------
  196|      0|    llvm_unreachable("Unimplemented");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  197|  4.14k|  case MCSymbolRefExpr::VK_None:
  ------------------
  |  Branch (197:3): [True: 4.14k, False: 50]
  ------------------
  198|  4.14k|    switch (Type) {
  ------------------
  |  Branch (198:13): [True: 4.14k, False: 0]
  ------------------
  199|  1.81k|    case RT32_32:
  ------------------
  |  Branch (199:5): [True: 1.81k, False: 2.33k]
  ------------------
  200|  1.81k|      return IsPCRel ? ELF::R_386_PC32 : ELF::R_386_32;
  ------------------
  |  Branch (200:14): [True: 457, False: 1.35k]
  ------------------
  201|  2.16k|    case RT32_16:
  ------------------
  |  Branch (201:5): [True: 2.16k, False: 1.97k]
  ------------------
  202|  2.16k|      return IsPCRel ? ELF::R_386_PC16 : ELF::R_386_16;
  ------------------
  |  Branch (202:14): [True: 59, False: 2.10k]
  ------------------
  203|    167|    case RT32_8:
  ------------------
  |  Branch (203:5): [True: 167, False: 3.97k]
  ------------------
  204|    167|      return IsPCRel ? ELF::R_386_PC8 : ELF::R_386_8;
  ------------------
  |  Branch (204:14): [True: 4, False: 163]
  ------------------
  205|  4.14k|    }
  206|     50|  case MCSymbolRefExpr::VK_GOT:
  ------------------
  |  Branch (206:3): [True: 50, False: 4.14k]
  ------------------
  207|     50|    assert(Type == RT32_32);
  ------------------
  |  Branch (207:5): [True: 50, False: 0]
  ------------------
  208|     50|    return IsPCRel ? ELF::R_386_GOTPC : ELF::R_386_GOT32;
  ------------------
  |  Branch (208:12): [True: 0, False: 50]
  ------------------
  209|      0|  case MCSymbolRefExpr::VK_GOTOFF:
  ------------------
  |  Branch (209:3): [True: 0, False: 4.19k]
  ------------------
  210|      0|    assert(Type == RT32_32);
  ------------------
  |  Branch (210:5): [True: 0, False: 0]
  ------------------
  211|      0|    assert(!IsPCRel);
  ------------------
  |  Branch (211:5): [True: 0, False: 0]
  ------------------
  212|      0|    return ELF::R_386_GOTOFF;
  213|      0|  case MCSymbolRefExpr::VK_TPOFF:
  ------------------
  |  Branch (213:3): [True: 0, False: 4.19k]
  ------------------
  214|      0|    assert(Type == RT32_32);
  ------------------
  |  Branch (214:5): [True: 0, False: 0]
  ------------------
  215|      0|    assert(!IsPCRel);
  ------------------
  |  Branch (215:5): [True: 0, False: 0]
  ------------------
  216|      0|    return ELF::R_386_TLS_LE_32;
  217|      0|  case MCSymbolRefExpr::VK_DTPOFF:
  ------------------
  |  Branch (217:3): [True: 0, False: 4.19k]
  ------------------
  218|      0|    assert(Type == RT32_32);
  ------------------
  |  Branch (218:5): [True: 0, False: 0]
  ------------------
  219|      0|    assert(!IsPCRel);
  ------------------
  |  Branch (219:5): [True: 0, False: 0]
  ------------------
  220|      0|    return ELF::R_386_TLS_LDO_32;
  221|      0|  case MCSymbolRefExpr::VK_TLSGD:
  ------------------
  |  Branch (221:3): [True: 0, False: 4.19k]
  ------------------
  222|      0|    assert(Type == RT32_32);
  ------------------
  |  Branch (222:5): [True: 0, False: 0]
  ------------------
  223|      0|    assert(!IsPCRel);
  ------------------
  |  Branch (223:5): [True: 0, False: 0]
  ------------------
  224|      0|    return ELF::R_386_TLS_GD;
  225|      0|  case MCSymbolRefExpr::VK_GOTTPOFF:
  ------------------
  |  Branch (225:3): [True: 0, False: 4.19k]
  ------------------
  226|      0|    assert(Type == RT32_32);
  ------------------
  |  Branch (226:5): [True: 0, False: 0]
  ------------------
  227|      0|    assert(!IsPCRel);
  ------------------
  |  Branch (227:5): [True: 0, False: 0]
  ------------------
  228|      0|    return ELF::R_386_TLS_IE_32;
  229|      0|  case MCSymbolRefExpr::VK_PLT:
  ------------------
  |  Branch (229:3): [True: 0, False: 4.19k]
  ------------------
  230|      0|    assert(Type == RT32_32);
  ------------------
  |  Branch (230:5): [True: 0, False: 0]
  ------------------
  231|      0|    return ELF::R_386_PLT32;
  232|      0|  case MCSymbolRefExpr::VK_INDNTPOFF:
  ------------------
  |  Branch (232:3): [True: 0, False: 4.19k]
  ------------------
  233|      0|    assert(Type == RT32_32);
  ------------------
  |  Branch (233:5): [True: 0, False: 0]
  ------------------
  234|      0|    assert(!IsPCRel);
  ------------------
  |  Branch (234:5): [True: 0, False: 0]
  ------------------
  235|      0|    return ELF::R_386_TLS_IE;
  236|      0|  case MCSymbolRefExpr::VK_NTPOFF:
  ------------------
  |  Branch (236:3): [True: 0, False: 4.19k]
  ------------------
  237|      0|    assert(Type == RT32_32);
  ------------------
  |  Branch (237:5): [True: 0, False: 0]
  ------------------
  238|      0|    assert(!IsPCRel);
  ------------------
  |  Branch (238:5): [True: 0, False: 0]
  ------------------
  239|      0|    return ELF::R_386_TLS_LE;
  240|      0|  case MCSymbolRefExpr::VK_GOTNTPOFF:
  ------------------
  |  Branch (240:3): [True: 0, False: 4.19k]
  ------------------
  241|      0|    assert(Type == RT32_32);
  ------------------
  |  Branch (241:5): [True: 0, False: 0]
  ------------------
  242|      0|    assert(!IsPCRel);
  ------------------
  |  Branch (242:5): [True: 0, False: 0]
  ------------------
  243|      0|    return ELF::R_386_TLS_GOTIE;
  244|      0|  case MCSymbolRefExpr::VK_TLSLDM:
  ------------------
  |  Branch (244:3): [True: 0, False: 4.19k]
  ------------------
  245|      0|    assert(Type == RT32_32);
  ------------------
  |  Branch (245:5): [True: 0, False: 0]
  ------------------
  246|      0|    assert(!IsPCRel);
  ------------------
  |  Branch (246:5): [True: 0, False: 0]
  ------------------
  247|      0|    return ELF::R_386_TLS_LDM;
  248|  4.19k|  }
  249|  4.19k|}
X86ELFObjectWriter.cpp:_ZL9getType3213X86_64RelType:
  177|  4.19k|static X86_32RelType getType32(X86_64RelType T) {
  178|  4.19k|  switch (T) {
  ------------------
  |  Branch (178:11): [True: 4.19k, False: 0]
  ------------------
  179|      0|  case RT64_64:
  ------------------
  |  Branch (179:3): [True: 0, False: 4.19k]
  ------------------
  180|      0|    llvm_unreachable("Unimplemented");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  181|  1.86k|  case RT64_32:
  ------------------
  |  Branch (181:3): [True: 1.86k, False: 2.33k]
  ------------------
  182|  1.86k|  case RT64_32S:
  ------------------
  |  Branch (182:3): [True: 1, False: 4.19k]
  ------------------
  183|  1.86k|    return RT32_32;
  184|  2.16k|  case RT64_16:
  ------------------
  |  Branch (184:3): [True: 2.16k, False: 2.02k]
  ------------------
  185|  2.16k|    return RT32_16;
  186|    167|  case RT64_8:
  ------------------
  |  Branch (186:3): [True: 167, False: 4.02k]
  ------------------
  187|    167|    return RT32_8;
  188|  4.19k|  }
  189|      0|  llvm_unreachable("unexpected relocation type!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  190|  4.19k|}

_ZN7llvm_ks15X86ELFMCAsmInfoC2ERKNS_6TripleE:
   77|  17.0k|X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) {
   78|  17.0k|  bool is64Bit = T.getArch() == Triple::x86_64;
   79|  17.0k|  bool isX32 = T.getEnvironment() == Triple::GNUX32;
   80|       |
   81|       |  // For ELF, x86-64 pointer size depends on the ABI.
   82|       |  // For x86-64 without the x32 ABI, pointer size is 8. For x86 and for x86-64
   83|       |  // with the x32 ABI, pointer size remains the default 4.
   84|  17.0k|  PointerSize = (is64Bit && !isX32) ? 8 : 4;
  ------------------
  |  Branch (84:18): [True: 0, False: 17.0k]
  |  Branch (84:29): [True: 0, False: 0]
  ------------------
   85|       |
   86|       |  // OTOH, stack slot size is always 8 for x86-64, even with the x32 ABI.
   87|  17.0k|  CalleeSaveStackSlotSize = is64Bit ? 8 : 4;
  ------------------
  |  Branch (87:29): [True: 0, False: 17.0k]
  ------------------
   88|       |
   89|  17.0k|  AssemblerDialect = AsmWriterFlavor;
   90|       |
   91|  17.0k|  TextAlignFillValue = 0x90;
   92|       |
   93|       |  // Debug Information
   94|  17.0k|  SupportsDebugInformation = true;
   95|       |
   96|       |  // Exceptions handling
   97|  17.0k|  ExceptionsType = ExceptionHandling::DwarfCFI;
   98|       |
   99|       |  // Always enable the integrated assembler by default.
  100|       |  // Clang also enabled it when the OS is Solaris but that is redundant here.
  101|  17.0k|  UseIntegratedAssembler = true;
  102|  17.0k|}

_ZN7llvm_ks22createX86MCCodeEmitterERKNS_11MCInstrInfoERKNS_14MCRegisterInfoERNS_9MCContextE:
  177|  17.0k|                                            MCContext &Ctx) {
  178|  17.0k|  return new X86MCCodeEmitter(MCII, Ctx);
  179|  17.0k|}
X86MCCodeEmitter.cpp:_ZN12_GLOBAL__N_116X86MCCodeEmitterC2ERKN7llvm_ks11MCInstrInfoERNS1_9MCContextE:
   41|  17.0k|    : MCII(mcii), Ctx(ctx) {
   42|  17.0k|  }
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter17encodeInstructionERN7llvm_ks6MCInstERNS1_11raw_ostreamERNS1_15SmallVectorImplINS1_7MCFixupEEERKNS1_15MCSubtargetInfoERj:
 1274|  27.7k|{
 1275|  27.7k|  unsigned Opcode = MI.getOpcode();
 1276|  27.7k|  const MCInstrDesc &Desc = MCII.get(Opcode);
 1277|  27.7k|  uint64_t TSFlags = Desc.TSFlags;
 1278|       |
 1279|  27.7k|  KsError = 0;
 1280|       |
 1281|       |  // Pseudo instructions don't get encoded.
 1282|  27.7k|  if ((TSFlags & X86II::FormMask) == X86II::Pseudo)
  ------------------
  |  Branch (1282:7): [True: 0, False: 27.7k]
  ------------------
 1283|      0|    return;
 1284|       |
 1285|  27.7k|  unsigned NumOps = Desc.getNumOperands();
 1286|  27.7k|  unsigned CurOp = X86II::getOperandBias(Desc);
 1287|       |
 1288|       |  // Keep track of the current byte being emitted.
 1289|  27.7k|  unsigned CurByte = 0;
 1290|       |
 1291|       |  // Encoding type for this instruction.
 1292|  27.7k|  uint64_t Encoding = TSFlags & X86II::EncodingMask;
 1293|       |
 1294|       |  // It uses the VEX.VVVV field?
 1295|  27.7k|  bool HasVEX_4V = TSFlags & X86II::VEX_4V;
 1296|  27.7k|  bool HasVEX_4VOp3 = TSFlags & X86II::VEX_4VOp3;
 1297|  27.7k|  bool HasMemOp4 = TSFlags & X86II::MemOp4;
 1298|  27.7k|  const unsigned MemOp4_I8IMMOperand = 2;
 1299|  27.7k|  unsigned BaseReg = 0;
 1300|  27.7k|  unsigned SegReg = 0;
 1301|       |
 1302|       |  // It uses the EVEX.aaa field?
 1303|  27.7k|  bool HasEVEX_K = TSFlags & X86II::EVEX_K;
 1304|  27.7k|  bool HasEVEX_RC = TSFlags & X86II::EVEX_RC;
 1305|       |
 1306|       |  // Determine where the memory operand starts, if present.
 1307|  27.7k|  int MemoryOperand = X86II::getMemoryOperandNo(TSFlags, Opcode);
 1308|  27.7k|  if (MemoryOperand != -1) MemoryOperand += CurOp;
  ------------------
  |  Branch (1308:7): [True: 4.21k, False: 23.5k]
  ------------------
 1309|       |
 1310|       |  // Emit segment override opcode prefix as needed.
 1311|  27.7k|  if (MemoryOperand >= 0) {
  ------------------
  |  Branch (1311:7): [True: 4.21k, False: 23.5k]
  ------------------
 1312|  4.21k|    const MCOperand &Base = MI.getOperand(MemoryOperand + X86::AddrBaseReg);
 1313|  4.21k|    const MCOperand &Seg = MI.getOperand(MemoryOperand + X86::AddrSegmentReg);
 1314|       |
 1315|  4.21k|    BaseReg = Base.getReg();
 1316|  4.21k|    SegReg = Seg.getReg();
 1317|       |
 1318|  4.21k|    if ((SegReg != X86::SS) || (BaseReg != X86::ESP && BaseReg != X86::EBP)) {
  ------------------
  |  Branch (1318:9): [True: 4.21k, False: 1]
  |  Branch (1318:33): [True: 1, False: 0]
  |  Branch (1318:56): [True: 1, False: 0]
  ------------------
 1319|  4.21k|        if (EmitSegmentOverridePrefix(CurByte, MemoryOperand+X86::AddrSegmentReg,
  ------------------
  |  Branch (1319:13): [True: 1, False: 4.21k]
  ------------------
 1320|  4.21k|                MI, OS)) {
 1321|      1|            KsError = KS_ERR_ASM_INVALIDOPERAND;
 1322|      1|            return;
 1323|      1|        }
 1324|  4.21k|    }
 1325|  4.21k|  }
 1326|       |
 1327|       |  // Emit the repeat opcode prefix as needed.
 1328|  27.7k|  if (TSFlags & X86II::REP)
  ------------------
  |  Branch (1328:7): [True: 0, False: 27.7k]
  ------------------
 1329|      0|    EmitByte(0xF3, CurByte, OS);
 1330|       |
 1331|       |  // Emit the address size opcode prefix as needed.
 1332|  27.7k|  bool need_address_override;
 1333|  27.7k|  uint64_t AdSize = TSFlags & X86II::AdSizeMask;
 1334|  27.7k|  if ((is16BitMode(STI) && AdSize == X86II::AdSize32) ||
  ------------------
  |  Branch (1334:8): [True: 17.4k, False: 10.3k]
  |  Branch (1334:28): [True: 0, False: 17.4k]
  ------------------
 1335|  27.7k|      (is32BitMode(STI) && AdSize == X86II::AdSize16) ||
  ------------------
  |  Branch (1335:8): [True: 7.79k, False: 19.9k]
  |  Branch (1335:28): [True: 0, False: 7.79k]
  ------------------
 1336|  27.7k|      (is64BitMode(STI) && AdSize == X86II::AdSize32)) {
  ------------------
  |  Branch (1336:8): [True: 2.55k, False: 25.2k]
  |  Branch (1336:28): [True: 0, False: 2.55k]
  ------------------
 1337|      0|    need_address_override = true;
 1338|  27.7k|  } else if (MemoryOperand < 0) {
  ------------------
  |  Branch (1338:14): [True: 23.5k, False: 4.21k]
  ------------------
 1339|  23.5k|    need_address_override = false;
 1340|  23.5k|  } else if (is64BitMode(STI)) {
  ------------------
  |  Branch (1340:14): [True: 645, False: 3.56k]
  ------------------
 1341|       |    //assert(!Is16BitMemOperand(MI, MemoryOperand, STI));
 1342|    645|    if (Is16BitMemOperand(MI, MemoryOperand, STI)) {
  ------------------
  |  Branch (1342:9): [True: 2, False: 643]
  ------------------
 1343|      2|        KsError = KS_ERR_ASM_INSN_UNSUPPORTED;
 1344|      2|        return;
 1345|      2|    }
 1346|    643|    need_address_override = Is32BitMemOperand(MI, MemoryOperand);
 1347|  3.56k|  } else if (is32BitMode(STI)) {
  ------------------
  |  Branch (1347:14): [True: 683, False: 2.88k]
  ------------------
 1348|       |    //assert(!Is64BitMemOperand(MI, MemoryOperand));
 1349|    683|    if (Is64BitMemOperand(MI, MemoryOperand)) {
  ------------------
  |  Branch (1349:9): [True: 0, False: 683]
  ------------------
 1350|      0|        KsError = KS_ERR_ASM_INSN_UNSUPPORTED;
 1351|      0|        return;
 1352|      0|    }
 1353|    683|    need_address_override = Is16BitMemOperand(MI, MemoryOperand, STI);
 1354|  2.88k|  } else {
 1355|       |    //assert(is16BitMode(STI));
 1356|       |    //assert(!Is64BitMemOperand(MI, MemoryOperand));
 1357|  2.88k|    if (!is16BitMode(STI) || Is64BitMemOperand(MI, MemoryOperand)) {
  ------------------
  |  Branch (1357:9): [True: 0, False: 2.88k]
  |  Branch (1357:30): [True: 0, False: 2.88k]
  ------------------
 1358|      0|        KsError = KS_ERR_ASM_INSN_UNSUPPORTED;
 1359|      0|        return;
 1360|      0|    }
 1361|  2.88k|    need_address_override = !Is16BitMemOperand(MI, MemoryOperand, STI);
 1362|  2.88k|  }
 1363|       |
 1364|  27.7k|  if (need_address_override)
  ------------------
  |  Branch (1364:7): [True: 2.63k, False: 25.1k]
  ------------------
 1365|  2.63k|      EmitByte(0x67, CurByte, OS);
 1366|       |
 1367|  27.7k|  if (Encoding == 0)
  ------------------
  |  Branch (1367:7): [True: 27.7k, False: 0]
  ------------------
 1368|  27.7k|      EmitOpcodePrefix(TSFlags, CurByte, MemoryOperand, MI, Desc, STI, OS);
 1369|      0|  else {
 1370|      0|      if (EmitVEXOpcodePrefix(TSFlags, CurByte, MemoryOperand, MI, Desc, OS)) {
  ------------------
  |  Branch (1370:11): [True: 0, False: 0]
  ------------------
 1371|      0|          KsError = KS_ERR_ASM_INVALIDOPERAND;
 1372|      0|          return;
 1373|      0|      }
 1374|      0|  }
 1375|       |
 1376|  27.7k|  unsigned char BaseOpcode = X86II::getBaseOpcodeFor(TSFlags);
 1377|       |
 1378|  27.7k|  if (TSFlags & X86II::Has3DNow0F0FOpcode)
  ------------------
  |  Branch (1378:7): [True: 0, False: 27.7k]
  ------------------
 1379|      0|    BaseOpcode = 0x0F;   // Weird 3DNow! encoding.
 1380|       |
 1381|  27.7k|  unsigned SrcRegNum = 0;
 1382|  27.7k|  switch (TSFlags & X86II::FormMask) {
 1383|      0|  default: errs() << "FORM: " << (TSFlags & X86II::FormMask) << "\n";
  ------------------
  |  Branch (1383:3): [True: 0, False: 27.7k]
  ------------------
 1384|      0|    llvm_unreachable("Unknown FormMask value in X86MCCodeEmitter!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 1385|      0|  case X86II::Pseudo:
  ------------------
  |  Branch (1385:3): [True: 0, False: 27.7k]
  ------------------
 1386|      0|    llvm_unreachable("Pseudo instruction shouldn't be emitted");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 1387|  3.56k|  case X86II::RawFrmDstSrc: {
  ------------------
  |  Branch (1387:3): [True: 3.56k, False: 24.1k]
  ------------------
 1388|       |    //printf(">> aa\n");
 1389|  3.56k|    unsigned siReg = MI.getOperand(1).getReg();
 1390|       |    //assert(((siReg == X86::SI && MI.getOperand(0).getReg() == X86::DI) ||
 1391|       |    //        (siReg == X86::ESI && MI.getOperand(0).getReg() == X86::EDI) ||
 1392|       |    //        (siReg == X86::RSI && MI.getOperand(0).getReg() == X86::RDI)) &&
 1393|       |    //       "SI and DI register sizes do not match");
 1394|  3.56k|    if (!(siReg == X86::SI && MI.getOperand(0).getReg() == X86::DI) &&
  ------------------
  |  Branch (1394:11): [True: 1.68k, False: 1.88k]
  |  Branch (1394:31): [True: 1.68k, False: 0]
  ------------------
 1395|  1.88k|            !(siReg == X86::ESI && MI.getOperand(0).getReg() == X86::EDI) &&
  ------------------
  |  Branch (1395:15): [True: 1.44k, False: 442]
  |  Branch (1395:36): [True: 1.44k, False: 0]
  ------------------
 1396|    442|            !(siReg == X86::RSI && MI.getOperand(0).getReg() == X86::RDI)) {
  ------------------
  |  Branch (1396:15): [True: 442, False: 0]
  |  Branch (1396:36): [True: 442, False: 0]
  ------------------
 1397|      0|        KsError = KS_ERR_ASM_INSN_UNSUPPORTED;
 1398|      0|        return;
 1399|      0|    }
 1400|  3.56k|    CurOp += 3; // Consume operands.
 1401|  3.56k|    EmitByte(BaseOpcode, CurByte, OS);
 1402|  3.56k|    break;
 1403|  3.56k|  }
 1404|    546|  case X86II::RawFrmSrc: {
  ------------------
  |  Branch (1404:3): [True: 546, False: 27.2k]
  ------------------
 1405|       |    //printf(">> bb\n");
 1406|    546|    CurOp += 2; // Consume operands.
 1407|    546|    EmitByte(BaseOpcode, CurByte, OS);
 1408|    546|    break;
 1409|  3.56k|  }
 1410|    396|  case X86II::RawFrmDst: {
  ------------------
  |  Branch (1410:3): [True: 396, False: 27.3k]
  ------------------
 1411|       |    //printf(">> cc\n");
 1412|    396|    ++CurOp; // Consume operand.
 1413|    396|    EmitByte(BaseOpcode, CurByte, OS);
 1414|    396|    break;
 1415|  3.56k|  }
 1416|  16.6k|  case X86II::RawFrm:
  ------------------
  |  Branch (1416:3): [True: 16.6k, False: 11.0k]
  ------------------
 1417|       |    //printf(">> dd\n");
 1418|  16.6k|    EmitByte(BaseOpcode, CurByte, OS);
 1419|  16.6k|    break;
 1420|    298|  case X86II::RawFrmMemOffs:
  ------------------
  |  Branch (1420:3): [True: 298, False: 27.4k]
  ------------------
 1421|       |    //printf(">> ee\n");
 1422|    298|    EmitByte(BaseOpcode, CurByte, OS);
 1423|    298|    EmitImmediate(MI, MI.getOperand(CurOp++), MI.getLoc(),
 1424|    298|                  X86II::getSizeOfImm(TSFlags), getImmFixupKind(TSFlags),
 1425|    298|                  CurByte, OS, Fixups, KsError, is64BitMode(STI));
 1426|    298|    ++CurOp; // skip segment operand
 1427|    298|    break;
 1428|      0|  case X86II::RawFrmImm8:
  ------------------
  |  Branch (1428:3): [True: 0, False: 27.7k]
  ------------------
 1429|       |    //printf(">> ff\n");
 1430|      0|    EmitByte(BaseOpcode, CurByte, OS);
 1431|      0|    EmitImmediate(MI, MI.getOperand(CurOp++), MI.getLoc(),
 1432|      0|                  X86II::getSizeOfImm(TSFlags), getImmFixupKind(TSFlags),
 1433|      0|                  CurByte, OS, Fixups, KsError, is64BitMode(STI));
 1434|      0|    EmitImmediate(MI, MI.getOperand(CurOp++), MI.getLoc(), 1, FK_Data_1, CurByte,
 1435|      0|                  OS, Fixups, KsError, is64BitMode(STI));
 1436|      0|    break;
 1437|     10|  case X86II::RawFrmImm16:
  ------------------
  |  Branch (1437:3): [True: 10, False: 27.7k]
  ------------------
 1438|       |    //printf(">> gg\n");
 1439|     10|    EmitByte(BaseOpcode, CurByte, OS);
 1440|     10|    EmitImmediate(MI, MI.getOperand(CurOp++), MI.getLoc(),
 1441|     10|                  X86II::getSizeOfImm(TSFlags), getImmFixupKind(TSFlags),
 1442|     10|                  CurByte, OS, Fixups, KsError, is64BitMode(STI));
 1443|     10|    EmitImmediate(MI, MI.getOperand(CurOp++), MI.getLoc(), 2, FK_Data_2, CurByte,
 1444|     10|                  OS, Fixups, KsError, is64BitMode(STI));
 1445|     10|    break;
 1446|       |
 1447|     49|  case X86II::AddRegFrm:
  ------------------
  |  Branch (1447:3): [True: 49, False: 27.7k]
  ------------------
 1448|       |    //printf(">> hh = %x\n", BaseOpcode + GetX86RegNum(MI.getOperand(CurOp)));
 1449|     49|    EmitByte(BaseOpcode + GetX86RegNum(MI.getOperand(CurOp++)), CurByte, OS);
 1450|     49|    break;
 1451|       |
 1452|     11|  case X86II::MRMDestReg:
  ------------------
  |  Branch (1452:3): [True: 11, False: 27.7k]
  ------------------
 1453|       |    //printf(">> jj\n");
 1454|     11|    EmitByte(BaseOpcode, CurByte, OS);
 1455|     11|    SrcRegNum = CurOp + 1;
 1456|       |
 1457|     11|    if (HasEVEX_K) // Skip writemask
  ------------------
  |  Branch (1457:9): [True: 0, False: 11]
  ------------------
 1458|      0|      SrcRegNum++;
 1459|       |
 1460|     11|    if (HasVEX_4V) // Skip 1st src (which is encoded in VEX_VVVV)
  ------------------
  |  Branch (1460:9): [True: 0, False: 11]
  ------------------
 1461|      0|      ++SrcRegNum;
 1462|       |
 1463|     11|    EmitRegModRMByte(MI.getOperand(CurOp),
 1464|     11|                     GetX86RegNum(MI.getOperand(SrcRegNum)), CurByte, OS);
 1465|     11|    CurOp = SrcRegNum + 1;
 1466|     11|    break;
 1467|       |
 1468|     23|  case X86II::MRMDestMem:
  ------------------
  |  Branch (1468:3): [True: 23, False: 27.7k]
  ------------------
 1469|       |    //printf(">> kk\n");
 1470|     23|    EmitByte(BaseOpcode, CurByte, OS);
 1471|     23|    SrcRegNum = CurOp + X86::AddrNumOperands;
 1472|       |
 1473|     23|    if (HasEVEX_K) // Skip writemask
  ------------------
  |  Branch (1473:9): [True: 0, False: 23]
  ------------------
 1474|      0|      SrcRegNum++;
 1475|       |
 1476|     23|    if (HasVEX_4V) // Skip 1st src (which is encoded in VEX_VVVV)
  ------------------
  |  Branch (1476:9): [True: 0, False: 23]
  ------------------
 1477|      0|      ++SrcRegNum;
 1478|       |
 1479|     23|    EmitMemModRMByte(MI, CurOp,
 1480|     23|                     GetX86RegNum(MI.getOperand(SrcRegNum)),
 1481|     23|                     TSFlags, CurByte, OS, Fixups, STI);
 1482|     23|    CurOp = SrcRegNum + 1;
 1483|     23|    break;
 1484|       |
 1485|     12|  case X86II::MRMSrcReg:
  ------------------
  |  Branch (1485:3): [True: 12, False: 27.7k]
  ------------------
 1486|       |    //printf(">> mm\n");
 1487|     12|    EmitByte(BaseOpcode, CurByte, OS);
 1488|     12|    SrcRegNum = CurOp + 1;
 1489|       |
 1490|     12|    if (HasEVEX_K) // Skip writemask
  ------------------
  |  Branch (1490:9): [True: 0, False: 12]
  ------------------
 1491|      0|      SrcRegNum++;
 1492|       |
 1493|     12|    if (HasVEX_4V) // Skip 1st src (which is encoded in VEX_VVVV)
  ------------------
  |  Branch (1493:9): [True: 0, False: 12]
  ------------------
 1494|      0|      ++SrcRegNum;
 1495|       |
 1496|     12|    if (HasMemOp4) // Skip 2nd src (which is encoded in I8IMM)
  ------------------
  |  Branch (1496:9): [True: 0, False: 12]
  ------------------
 1497|      0|      ++SrcRegNum;
 1498|       |
 1499|     12|    EmitRegModRMByte(MI.getOperand(SrcRegNum),
 1500|     12|                     GetX86RegNum(MI.getOperand(CurOp)), CurByte, OS);
 1501|       |
 1502|       |    // 2 operands skipped with HasMemOp4, compensate accordingly
 1503|     12|    CurOp = HasMemOp4 ? SrcRegNum : SrcRegNum + 1;
  ------------------
  |  Branch (1503:13): [True: 0, False: 12]
  ------------------
 1504|     12|    if (HasVEX_4VOp3)
  ------------------
  |  Branch (1504:9): [True: 0, False: 12]
  ------------------
 1505|      0|      ++CurOp;
 1506|       |    // do not count the rounding control operand
 1507|     12|    if (HasEVEX_RC)
  ------------------
  |  Branch (1507:9): [True: 0, False: 12]
  ------------------
 1508|      0|      NumOps--;
 1509|     12|    break;
 1510|       |
 1511|    150|  case X86II::MRMSrcMem: {
  ------------------
  |  Branch (1511:3): [True: 150, False: 27.6k]
  ------------------
 1512|       |    //printf(">> nn\n");
 1513|    150|    int AddrOperands = X86::AddrNumOperands;
 1514|    150|    unsigned FirstMemOp = CurOp+1;
 1515|       |
 1516|    150|    if (HasEVEX_K) { // Skip writemask
  ------------------
  |  Branch (1516:9): [True: 0, False: 150]
  ------------------
 1517|      0|      ++AddrOperands;
 1518|      0|      ++FirstMemOp;
 1519|      0|    }
 1520|       |
 1521|    150|    if (HasVEX_4V) {
  ------------------
  |  Branch (1521:9): [True: 0, False: 150]
  ------------------
 1522|      0|      ++AddrOperands;
 1523|      0|      ++FirstMemOp;  // Skip the register source (which is encoded in VEX_VVVV).
 1524|      0|    }
 1525|    150|    if (HasMemOp4) // Skip second register source (encoded in I8IMM)
  ------------------
  |  Branch (1525:9): [True: 0, False: 150]
  ------------------
 1526|      0|      ++FirstMemOp;
 1527|       |
 1528|    150|    EmitByte(BaseOpcode, CurByte, OS);
 1529|       |
 1530|    150|    EmitMemModRMByte(MI, FirstMemOp, GetX86RegNum(MI.getOperand(CurOp)),
 1531|    150|                     TSFlags, CurByte, OS, Fixups, STI);
 1532|    150|    CurOp += AddrOperands + 1;
 1533|    150|    if (HasVEX_4VOp3)
  ------------------
  |  Branch (1533:9): [True: 0, False: 150]
  ------------------
 1534|      0|      ++CurOp;
 1535|    150|    break;
 1536|  3.56k|  }
 1537|       |
 1538|      0|  case X86II::MRMXr:
  ------------------
  |  Branch (1538:3): [True: 0, False: 27.7k]
  ------------------
 1539|     38|  case X86II::MRM0r: case X86II::MRM1r:
  ------------------
  |  Branch (1539:3): [True: 26, False: 27.7k]
  |  Branch (1539:22): [True: 12, False: 27.7k]
  ------------------
 1540|     84|  case X86II::MRM2r: case X86II::MRM3r:
  ------------------
  |  Branch (1540:3): [True: 35, False: 27.7k]
  |  Branch (1540:22): [True: 11, False: 27.7k]
  ------------------
 1541|    187|  case X86II::MRM4r: case X86II::MRM5r:
  ------------------
  |  Branch (1541:3): [True: 49, False: 27.7k]
  |  Branch (1541:22): [True: 54, False: 27.7k]
  ------------------
 1542|    307|  case X86II::MRM6r: case X86II::MRM7r: {
  ------------------
  |  Branch (1542:3): [True: 32, False: 27.7k]
  |  Branch (1542:22): [True: 88, False: 27.6k]
  ------------------
 1543|       |    //printf(">> pp\n");
 1544|    307|    if (HasVEX_4V) // Skip the register dst (which is encoded in VEX_VVVV).
  ------------------
  |  Branch (1544:9): [True: 0, False: 307]
  ------------------
 1545|      0|      ++CurOp;
 1546|    307|    if (HasEVEX_K) // Skip writemask
  ------------------
  |  Branch (1546:9): [True: 0, False: 307]
  ------------------
 1547|      0|      ++CurOp;
 1548|    307|    EmitByte(BaseOpcode, CurByte, OS);
 1549|    307|    uint64_t Form = TSFlags & X86II::FormMask;
 1550|    307|    EmitRegModRMByte(MI.getOperand(CurOp++),
 1551|    307|                     (Form == X86II::MRMXr) ? 0 : Form-X86II::MRM0r,
  ------------------
  |  Branch (1551:22): [True: 0, False: 307]
  ------------------
 1552|    307|                     CurByte, OS);
 1553|    307|    break;
 1554|    219|  }
 1555|       |
 1556|    343|  case X86II::MRMXm:
  ------------------
  |  Branch (1556:3): [True: 343, False: 27.4k]
  ------------------
 1557|    477|  case X86II::MRM0m: case X86II::MRM1m:
  ------------------
  |  Branch (1557:3): [True: 119, False: 27.6k]
  |  Branch (1557:22): [True: 15, False: 27.7k]
  ------------------
 1558|  2.48k|  case X86II::MRM2m: case X86II::MRM3m:
  ------------------
  |  Branch (1558:3): [True: 1.89k, False: 25.8k]
  |  Branch (1558:22): [True: 111, False: 27.6k]
  ------------------
 1559|  3.20k|  case X86II::MRM4m: case X86II::MRM5m:
  ------------------
  |  Branch (1559:3): [True: 691, False: 27.0k]
  |  Branch (1559:22): [True: 27, False: 27.7k]
  ------------------
 1560|  4.03k|  case X86II::MRM6m: case X86II::MRM7m: {
  ------------------
  |  Branch (1560:3): [True: 136, False: 27.6k]
  |  Branch (1560:22): [True: 695, False: 27.0k]
  ------------------
 1561|       |    //printf(">> qq\n");
 1562|  4.03k|    if (HasVEX_4V) // Skip the register dst (which is encoded in VEX_VVVV).
  ------------------
  |  Branch (1562:9): [True: 0, False: 4.03k]
  ------------------
 1563|      0|      ++CurOp;
 1564|  4.03k|    if (HasEVEX_K) // Skip writemask
  ------------------
  |  Branch (1564:9): [True: 0, False: 4.03k]
  ------------------
 1565|      0|      ++CurOp;
 1566|  4.03k|    EmitByte(BaseOpcode, CurByte, OS);
 1567|  4.03k|    uint64_t Form = TSFlags & X86II::FormMask;
 1568|  4.03k|    EmitMemModRMByte(MI, CurOp, (Form == X86II::MRMXm) ? 0 : Form-X86II::MRM0m,
  ------------------
  |  Branch (1568:33): [True: 343, False: 3.69k]
  ------------------
 1569|  4.03k|                     TSFlags, CurByte, OS, Fixups, STI);
 1570|  4.03k|    CurOp += X86::AddrNumOperands;
 1571|  4.03k|    break;
 1572|  3.34k|  }
 1573|      0|  case X86II::MRM_C0: case X86II::MRM_C1: case X86II::MRM_C2:
  ------------------
  |  Branch (1573:3): [True: 0, False: 27.7k]
  |  Branch (1573:23): [True: 0, False: 27.7k]
  |  Branch (1573:43): [True: 0, False: 27.7k]
  ------------------
 1574|      3|  case X86II::MRM_C3: case X86II::MRM_C4: case X86II::MRM_C5:
  ------------------
  |  Branch (1574:3): [True: 3, False: 27.7k]
  |  Branch (1574:23): [True: 0, False: 27.7k]
  |  Branch (1574:43): [True: 0, False: 27.7k]
  ------------------
 1575|      6|  case X86II::MRM_C6: case X86II::MRM_C7: case X86II::MRM_C8:
  ------------------
  |  Branch (1575:3): [True: 0, False: 27.7k]
  |  Branch (1575:23): [True: 0, False: 27.7k]
  |  Branch (1575:43): [True: 3, False: 27.7k]
  ------------------
 1576|     87|  case X86II::MRM_C9: case X86II::MRM_CA: case X86II::MRM_CB:
  ------------------
  |  Branch (1576:3): [True: 70, False: 27.6k]
  |  Branch (1576:23): [True: 1, False: 27.7k]
  |  Branch (1576:43): [True: 10, False: 27.7k]
  ------------------
 1577|     87|  case X86II::MRM_CC: case X86II::MRM_CD: case X86II::MRM_CE:
  ------------------
  |  Branch (1577:3): [True: 0, False: 27.7k]
  |  Branch (1577:23): [True: 0, False: 27.7k]
  |  Branch (1577:43): [True: 0, False: 27.7k]
  ------------------
 1578|     93|  case X86II::MRM_CF: case X86II::MRM_D0: case X86II::MRM_D1:
  ------------------
  |  Branch (1578:3): [True: 6, False: 27.7k]
  |  Branch (1578:23): [True: 0, False: 27.7k]
  |  Branch (1578:43): [True: 0, False: 27.7k]
  ------------------
 1579|     94|  case X86II::MRM_D2: case X86II::MRM_D3: case X86II::MRM_D4:
  ------------------
  |  Branch (1579:3): [True: 0, False: 27.7k]
  |  Branch (1579:23): [True: 0, False: 27.7k]
  |  Branch (1579:43): [True: 1, False: 27.7k]
  ------------------
 1580|    124|  case X86II::MRM_D5: case X86II::MRM_D6: case X86II::MRM_D7:
  ------------------
  |  Branch (1580:3): [True: 12, False: 27.7k]
  |  Branch (1580:23): [True: 0, False: 27.7k]
  |  Branch (1580:43): [True: 18, False: 27.7k]
  ------------------
 1581|    127|  case X86II::MRM_D8: case X86II::MRM_D9: case X86II::MRM_DA:
  ------------------
  |  Branch (1581:3): [True: 0, False: 27.7k]
  |  Branch (1581:23): [True: 3, False: 27.7k]
  |  Branch (1581:43): [True: 0, False: 27.7k]
  ------------------
 1582|    129|  case X86II::MRM_DB: case X86II::MRM_DC: case X86II::MRM_DD:
  ------------------
  |  Branch (1582:3): [True: 0, False: 27.7k]
  |  Branch (1582:23): [True: 1, False: 27.7k]
  |  Branch (1582:43): [True: 1, False: 27.7k]
  ------------------
 1583|  1.48k|  case X86II::MRM_DE: case X86II::MRM_DF: case X86II::MRM_E0:
  ------------------
  |  Branch (1583:3): [True: 0, False: 27.7k]
  |  Branch (1583:23): [True: 0, False: 27.7k]
  |  Branch (1583:43): [True: 1.35k, False: 26.4k]
  ------------------
 1584|  1.56k|  case X86II::MRM_E1: case X86II::MRM_E2: case X86II::MRM_E3:
  ------------------
  |  Branch (1584:3): [True: 1, False: 27.7k]
  |  Branch (1584:23): [True: 1, False: 27.7k]
  |  Branch (1584:43): [True: 73, False: 27.6k]
  ------------------
 1585|  1.57k|  case X86II::MRM_E4: case X86II::MRM_E5: case X86II::MRM_E6:
  ------------------
  |  Branch (1585:3): [True: 10, False: 27.7k]
  |  Branch (1585:23): [True: 1, False: 27.7k]
  |  Branch (1585:43): [True: 0, False: 27.7k]
  ------------------
 1586|  1.58k|  case X86II::MRM_E7: case X86II::MRM_E8: case X86II::MRM_E9:
  ------------------
  |  Branch (1586:3): [True: 0, False: 27.7k]
  |  Branch (1586:23): [True: 15, False: 27.7k]
  |  Branch (1586:43): [True: 1, False: 27.7k]
  ------------------
 1587|  1.61k|  case X86II::MRM_EA: case X86II::MRM_EB: case X86II::MRM_EC:
  ------------------
  |  Branch (1587:3): [True: 1, False: 27.7k]
  |  Branch (1587:23): [True: 21, False: 27.7k]
  |  Branch (1587:43): [True: 0, False: 27.7k]
  ------------------
 1588|  1.62k|  case X86II::MRM_ED: case X86II::MRM_EE: case X86II::MRM_EF:
  ------------------
  |  Branch (1588:3): [True: 0, False: 27.7k]
  |  Branch (1588:23): [True: 11, False: 27.7k]
  |  Branch (1588:43): [True: 1, False: 27.7k]
  ------------------
 1589|  1.64k|  case X86II::MRM_F0: case X86II::MRM_F1: case X86II::MRM_F2:
  ------------------
  |  Branch (1589:3): [True: 1, False: 27.7k]
  |  Branch (1589:23): [True: 10, False: 27.7k]
  |  Branch (1589:43): [True: 15, False: 27.7k]
  ------------------
 1590|  1.64k|  case X86II::MRM_F3: case X86II::MRM_F4: case X86II::MRM_F5:
  ------------------
  |  Branch (1590:3): [True: 0, False: 27.7k]
  |  Branch (1590:23): [True: 1, False: 27.7k]
  |  Branch (1590:43): [True: 0, False: 27.7k]
  ------------------
 1591|  1.65k|  case X86II::MRM_F6: case X86II::MRM_F7: case X86II::MRM_F8:
  ------------------
  |  Branch (1591:3): [True: 1, False: 27.7k]
  |  Branch (1591:23): [True: 0, False: 27.7k]
  |  Branch (1591:43): [True: 2, False: 27.7k]
  ------------------
 1592|  1.65k|  case X86II::MRM_F9: case X86II::MRM_FA: case X86II::MRM_FB:
  ------------------
  |  Branch (1592:3): [True: 0, False: 27.7k]
  |  Branch (1592:23): [True: 0, False: 27.7k]
  |  Branch (1592:43): [True: 1, False: 27.7k]
  ------------------
 1593|  1.67k|  case X86II::MRM_FC: case X86II::MRM_FD: case X86II::MRM_FE:
  ------------------
  |  Branch (1593:3): [True: 20, False: 27.7k]
  |  Branch (1593:23): [True: 1, False: 27.7k]
  |  Branch (1593:43): [True: 1, False: 27.7k]
  ------------------
 1594|  1.68k|  case X86II::MRM_FF:
  ------------------
  |  Branch (1594:3): [True: 7, False: 27.7k]
  ------------------
 1595|       |    //printf(">> ss\n");
 1596|  1.68k|    EmitByte(BaseOpcode, CurByte, OS);
 1597|       |
 1598|  1.68k|    uint64_t Form = TSFlags & X86II::FormMask;
 1599|  1.68k|    EmitByte(0xC0 + Form - X86II::MRM_C0, CurByte, OS);
 1600|  1.68k|    break;
 1601|  27.7k|  }
 1602|       |  //printf(">> tt CurByte = %x\n", CurByte);
 1603|       |
 1604|       |  // If there is a remaining operand, it must be a trailing immediate.  Emit it
 1605|       |  // according to the right size for the instruction. Some instructions
 1606|       |  // (SSE4a extrq and insertq) have two trailing immediates.
 1607|  39.7k|  while (CurOp != NumOps && NumOps - CurOp <= 2) {
  ------------------
  |  Branch (1607:10): [True: 12.0k, False: 27.7k]
  |  Branch (1607:29): [True: 12.0k, False: 0]
  ------------------
 1608|       |    // The last source register of a 4 operand instruction in AVX is encoded
 1609|       |    // in bits[7:4] of a immediate byte.
 1610|  12.0k|    if (TSFlags & X86II::VEX_I8IMM) {
  ------------------
  |  Branch (1610:9): [True: 0, False: 12.0k]
  ------------------
 1611|      0|      const MCOperand &MO = MI.getOperand(HasMemOp4 ? MemOp4_I8IMMOperand
  ------------------
  |  Branch (1611:43): [True: 0, False: 0]
  ------------------
 1612|      0|                                                    : CurOp);
 1613|      0|      ++CurOp;
 1614|      0|      unsigned RegNum = GetX86RegNum(MO) << 4;
 1615|      0|      if (X86II::isX86_64ExtendedReg(MO.getReg()))
  ------------------
  |  Branch (1615:11): [True: 0, False: 0]
  ------------------
 1616|      0|        RegNum |= 1 << 7;
 1617|       |      // If there is an additional 5th operand it must be an immediate, which
 1618|       |      // is encoded in bits[3:0]
 1619|      0|      if (CurOp != NumOps) {
  ------------------
  |  Branch (1619:11): [True: 0, False: 0]
  ------------------
 1620|      0|        const MCOperand &MIMM = MI.getOperand(CurOp++);
 1621|      0|        if (MIMM.isImm()) {
  ------------------
  |  Branch (1621:13): [True: 0, False: 0]
  ------------------
 1622|      0|          unsigned Val = MIMM.getImm();
 1623|       |          // assert(Val < 16 && "Immediate operand value out of range");
 1624|      0|          if (Val >= 16) {
  ------------------
  |  Branch (1624:15): [True: 0, False: 0]
  ------------------
 1625|      0|              KsError = KS_ERR_ASM_INSN_UNSUPPORTED;
 1626|      0|              return;
 1627|      0|          }
 1628|      0|          RegNum |= Val;
 1629|      0|        }
 1630|      0|      }
 1631|      0|      EmitImmediate(MI, MCOperand::createImm(RegNum), MI.getLoc(), 1, FK_Data_1,
 1632|      0|                    CurByte, OS, Fixups, KsError, is64BitMode(STI));
 1633|  12.0k|    } else {
 1634|       |      //printf(">> vv BaseOpcode = %u, Opcode = %u\n", BaseOpcode, Opcode);
 1635|  12.0k|      EmitImmediate(MI, MI.getOperand(CurOp++), MI.getLoc(),
 1636|  12.0k|                X86II::getSizeOfImm(TSFlags), getImmFixupKind(TSFlags),
 1637|  12.0k|                CurByte, OS, Fixups, KsError, is64BitMode(STI));
 1638|  12.0k|      if (KsError)
  ------------------
  |  Branch (1638:11): [True: 30, False: 12.0k]
  ------------------
 1639|     30|          break;
 1640|  12.0k|    }
 1641|  12.0k|  }
 1642|       |
 1643|  27.7k|  if (KsError == 0 && TSFlags & X86II::Has3DNow0F0FOpcode)
  ------------------
  |  Branch (1643:7): [True: 27.7k, False: 30]
  |  Branch (1643:23): [True: 0, False: 27.7k]
  ------------------
 1644|      0|    EmitByte(X86II::getBaseOpcodeFor(TSFlags), CurByte, OS);
 1645|       |
 1646|       |
 1647|       |  // Keystone: update Inst.Address to point to the next instruction
 1648|  27.7k|  MI.setAddress(MI.getAddress() + CurByte);
 1649|       |
 1650|  27.7k|#ifndef NDEBUG
 1651|       |  // FIXME: Verify.
 1652|  27.7k|  if (/*!Desc.isVariadic() &&*/ CurOp != NumOps) {
  ------------------
  |  Branch (1652:33): [True: 0, False: 27.7k]
  ------------------
 1653|      0|    errs() << "Cannot encode all operands of: ";
 1654|      0|    MI.dump();
 1655|      0|    errs() << '\n';
 1656|      0|    abort();
 1657|      0|  }
 1658|  27.7k|#endif
 1659|  27.7k|}
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter25EmitSegmentOverridePrefixERjjRKN7llvm_ks6MCInstERNS2_11raw_ostreamEi:
 1145|  8.62k|{
 1146|  8.62k|  if (!MI.getOperand(SegOperand).isReg())
  ------------------
  |  Branch (1146:7): [True: 0, False: 8.62k]
  ------------------
 1147|      0|      return true;
 1148|       |
 1149|       |  // Check for explicit segment override on memory operand.
 1150|  8.62k|  switch (MI.getOperand(SegOperand).getReg()) {
 1151|      1|  default: return true;
  ------------------
  |  Branch (1151:3): [True: 1, False: 8.62k]
  ------------------
 1152|  8.61k|  case 0: break;
  ------------------
  |  Branch (1152:3): [True: 8.61k, False: 7]
  ------------------
 1153|      1|  case X86::CS: EmitByte(0x2E, CurByte, OS); break;
  ------------------
  |  Branch (1153:3): [True: 1, False: 8.62k]
  ------------------
 1154|      1|  case X86::SS:
  ------------------
  |  Branch (1154:3): [True: 1, False: 8.62k]
  ------------------
 1155|       |      // SS is the default segment register for stack memory operand
 1156|      1|      if (BaseReg != X86::ESP && BaseReg != X86::EBP)
  ------------------
  |  Branch (1156:11): [True: 1, False: 0]
  |  Branch (1156:34): [True: 1, False: 0]
  ------------------
 1157|      1|          EmitByte(0x36, CurByte, OS);
 1158|      1|      break;
 1159|      1|  case X86::DS: /* ignore default segment DS */ break;
  ------------------
  |  Branch (1159:3): [True: 1, False: 8.62k]
  ------------------
 1160|      1|  case X86::ES: EmitByte(0x26, CurByte, OS); break;
  ------------------
  |  Branch (1160:3): [True: 1, False: 8.62k]
  ------------------
 1161|      1|  case X86::FS: EmitByte(0x64, CurByte, OS); break;
  ------------------
  |  Branch (1161:3): [True: 1, False: 8.62k]
  ------------------
 1162|      1|  case X86::GS: EmitByte(0x65, CurByte, OS); break;
  ------------------
  |  Branch (1162:3): [True: 1, False: 8.62k]
  ------------------
 1163|  8.62k|  }
 1164|       |
 1165|  8.62k|  return false;
 1166|  8.62k|}
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter8EmitByteEhRjRN7llvm_ks11raw_ostreamE:
  110|  86.7k|  void EmitByte(unsigned char C, unsigned &CurByte, raw_ostream &OS) const {
  111|  86.7k|    OS << (char)C;
  112|  86.7k|    ++CurByte;
  113|  86.7k|  }
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter11is16BitModeERKN7llvm_ks15MCSubtargetInfoE:
   54|  66.8k|  bool is16BitMode(const MCSubtargetInfo &STI) const {
   55|  66.8k|    return STI.getFeatureBits()[X86::Mode16Bit];
   56|  66.8k|  }
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter11is32BitModeERKN7llvm_ks15MCSubtargetInfoE:
   50|  40.3k|  bool is32BitMode(const MCSubtargetInfo &STI) const {
   51|  40.3k|    return STI.getFeatureBits()[X86::Mode32Bit];
   52|  40.3k|  }
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter11is64BitModeERKN7llvm_ks15MCSubtargetInfoE:
   46|  82.5k|  bool is64BitMode(const MCSubtargetInfo &STI) const {
   47|  82.5k|    return STI.getFeatureBits()[X86::Mode64Bit];
   48|  82.5k|  }
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter17Is16BitMemOperandERKN7llvm_ks6MCInstEjRKNS1_15MCSubtargetInfoE:
   61|  8.39k|                         const MCSubtargetInfo &STI) const {
   62|  8.39k|    const MCOperand &BaseReg  = MI.getOperand(Op+X86::AddrBaseReg);
   63|  8.39k|    const MCOperand &IndexReg = MI.getOperand(Op+X86::AddrIndexReg);
   64|  8.39k|    const MCOperand &Disp     = MI.getOperand(Op+X86::AddrDisp);
   65|       |
   66|  8.39k|    if (is16BitMode(STI) && BaseReg.getReg() == 0 &&
  ------------------
  |  Branch (66:9): [True: 5.76k, False: 2.62k]
  |  Branch (66:29): [True: 4.16k, False: 1.60k]
  ------------------
   67|  4.16k|        Disp.isImm() && Disp.getImm() < 0x10000)
  ------------------
  |  Branch (67:9): [True: 566, False: 3.59k]
  |  Branch (67:25): [True: 488, False: 78]
  ------------------
   68|    488|      return true;
   69|  7.90k|    if ((BaseReg.getReg() != 0 &&
  ------------------
  |  Branch (69:10): [True: 1.89k, False: 6.01k]
  ------------------
   70|  1.89k|         X86MCRegisterClasses[X86::GR16RegClassID].contains(BaseReg.getReg())) ||
  ------------------
  |  Branch (70:10): [True: 51, False: 1.84k]
  ------------------
   71|  7.85k|        (IndexReg.getReg() != 0 &&
  ------------------
  |  Branch (71:10): [True: 597, False: 7.25k]
  ------------------
   72|    597|         X86MCRegisterClasses[X86::GR16RegClassID].contains(IndexReg.getReg())))
  ------------------
  |  Branch (72:10): [True: 1, False: 596]
  ------------------
   73|     52|      return true;
   74|  7.85k|    return false;
   75|  7.90k|  }
X86MCCodeEmitter.cpp:_ZL17Is32BitMemOperandRKN7llvm_ks6MCInstEj:
  229|    643|static bool Is32BitMemOperand(const MCInst &MI, unsigned Op) {
  230|    643|  const MCOperand &BaseReg  = MI.getOperand(Op+X86::AddrBaseReg);
  231|    643|  const MCOperand &IndexReg = MI.getOperand(Op+X86::AddrIndexReg);
  232|       |
  233|    643|  if ((BaseReg.getReg() != 0 &&
  ------------------
  |  Branch (233:8): [True: 127, False: 516]
  ------------------
  234|    127|       X86MCRegisterClasses[X86::GR32RegClassID].contains(BaseReg.getReg())) ||
  ------------------
  |  Branch (234:8): [True: 1, False: 126]
  ------------------
  235|    642|      (IndexReg.getReg() != 0 &&
  ------------------
  |  Branch (235:8): [True: 75, False: 567]
  ------------------
  236|     75|       X86MCRegisterClasses[X86::GR32RegClassID].contains(IndexReg.getReg())))
  ------------------
  |  Branch (236:8): [True: 0, False: 75]
  ------------------
  237|      1|    return true;
  238|    642|  return false;
  239|    643|}
X86MCCodeEmitter.cpp:_ZL17Is64BitMemOperandRKN7llvm_ks6MCInstEj:
  243|  3.56k|static bool Is64BitMemOperand(const MCInst &MI, unsigned Op) {
  244|  3.56k|  const MCOperand &BaseReg  = MI.getOperand(Op+X86::AddrBaseReg);
  245|  3.56k|  const MCOperand &IndexReg = MI.getOperand(Op+X86::AddrIndexReg);
  246|       |
  247|  3.56k|  if ((BaseReg.getReg() != 0 &&
  ------------------
  |  Branch (247:8): [True: 819, False: 2.74k]
  ------------------
  248|    819|       X86MCRegisterClasses[X86::GR64RegClassID].contains(BaseReg.getReg())) ||
  ------------------
  |  Branch (248:8): [True: 0, False: 819]
  ------------------
  249|  3.56k|      (IndexReg.getReg() != 0 &&
  ------------------
  |  Branch (249:8): [True: 246, False: 3.32k]
  ------------------
  250|    246|       X86MCRegisterClasses[X86::GR64RegClassID].contains(IndexReg.getReg())))
  ------------------
  |  Branch (250:8): [True: 0, False: 246]
  ------------------
  251|      0|    return true;
  252|  3.56k|  return false;
  253|  3.56k|}
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter16EmitOpcodePrefixEmRjiRKN7llvm_ks6MCInstERKNS2_11MCInstrDescERKNS2_15MCSubtargetInfoERNS2_11raw_ostreamE:
 1177|  27.7k|{
 1178|       |  // Emit the operand size opcode prefix as needed.
 1179|  27.7k|  if ((TSFlags & X86II::OpSizeMask) == (is16BitMode(STI) ? X86II::OpSize32
  ------------------
  |  Branch (1179:7): [True: 2.71k, False: 25.0k]
  |  Branch (1179:41): [True: 17.4k, False: 10.3k]
  ------------------
 1180|  27.7k|                                                         : X86II::OpSize16)) {
 1181|  2.71k|    if (MI.getOpcode() != X86::MOV16sm)
  ------------------
  |  Branch (1181:9): [True: 2.67k, False: 36]
  ------------------
 1182|  2.67k|        EmitByte(0x66, CurByte, OS);
 1183|  2.71k|  }
 1184|       |
 1185|       |  // Emit the LOCK opcode prefix.
 1186|  27.7k|  if (TSFlags & X86II::LOCK)
  ------------------
  |  Branch (1186:7): [True: 0, False: 27.7k]
  ------------------
 1187|      0|    EmitByte(0xF0, CurByte, OS);
 1188|       |
 1189|  27.7k|  switch (TSFlags & X86II::OpPrefixMask) {
  ------------------
  |  Branch (1189:11): [True: 1, False: 27.7k]
  ------------------
 1190|      1|  case X86II::PD:   // 66
  ------------------
  |  Branch (1190:3): [True: 1, False: 27.7k]
  ------------------
 1191|      1|    EmitByte(0x66, CurByte, OS);
 1192|      1|    break;
 1193|      0|  case X86II::XS:   // F3
  ------------------
  |  Branch (1193:3): [True: 0, False: 27.7k]
  ------------------
 1194|      0|    EmitByte(0xF3, CurByte, OS);
 1195|      0|    break;
 1196|      0|  case X86II::XD:   // F2
  ------------------
  |  Branch (1196:3): [True: 0, False: 27.7k]
  ------------------
 1197|      0|    EmitByte(0xF2, CurByte, OS);
 1198|      0|    break;
 1199|  27.7k|  }
 1200|       |
 1201|       |  // Emit AddressSize and segment override prefixes before REX prefix.
 1202|  27.7k|  switch (TSFlags & X86II::FormMask) {
  ------------------
  |  Branch (1202:11): [True: 4.80k, False: 22.9k]
  ------------------
 1203|  3.56k|  case X86II::RawFrmDstSrc: {
  ------------------
  |  Branch (1203:3): [True: 3.56k, False: 24.1k]
  ------------------
 1204|  3.56k|    unsigned siReg = MI.getOperand(1).getReg();
 1205|       |    // Emit segment override opcode prefix as needed (not for %ds).
 1206|  3.56k|    if (MI.getOperand(2).getReg() != X86::DS) {
  ------------------
  |  Branch (1206:9): [True: 3.56k, False: 0]
  ------------------
 1207|  3.56k|      EmitSegmentOverridePrefix(CurByte, 2, MI, OS);
 1208|  3.56k|    }
 1209|       |    // Emit AdSize prefix as needed.
 1210|  3.56k|    if ((!is32BitMode(STI) && siReg == X86::ESI) ||
  ------------------
  |  Branch (1210:10): [True: 2.12k, False: 1.44k]
  |  Branch (1210:31): [True: 0, False: 2.12k]
  ------------------
 1211|  3.56k|        (is32BitMode(STI) && siReg == X86::SI)) {
  ------------------
  |  Branch (1211:10): [True: 1.44k, False: 2.12k]
  |  Branch (1211:30): [True: 0, False: 1.44k]
  ------------------
 1212|      0|      EmitByte(0x67, CurByte, OS);
 1213|      0|    }
 1214|  3.56k|    break;
 1215|      0|  }
 1216|    546|  case X86II::RawFrmSrc: {
  ------------------
  |  Branch (1216:3): [True: 546, False: 27.2k]
  ------------------
 1217|    546|    unsigned siReg = MI.getOperand(0).getReg();
 1218|       |    // Emit segment override opcode prefix as needed (not for %ds).
 1219|    546|    if (MI.getOperand(1).getReg() != X86::DS) {
  ------------------
  |  Branch (1219:9): [True: 546, False: 0]
  ------------------
 1220|    546|      EmitSegmentOverridePrefix(CurByte, 1, MI, OS);
 1221|    546|    }
 1222|       |    // Emit AdSize prefix as needed.
 1223|    546|    if ((!is32BitMode(STI) && siReg == X86::ESI) ||
  ------------------
  |  Branch (1223:10): [True: 470, False: 76]
  |  Branch (1223:31): [True: 0, False: 470]
  ------------------
 1224|    546|        (is32BitMode(STI) && siReg == X86::SI)) {
  ------------------
  |  Branch (1224:10): [True: 76, False: 470]
  |  Branch (1224:30): [True: 0, False: 76]
  ------------------
 1225|      0|      EmitByte(0x67, CurByte, OS);
 1226|      0|    }
 1227|    546|    break;
 1228|      0|  }
 1229|    396|  case X86II::RawFrmDst: {
  ------------------
  |  Branch (1229:3): [True: 396, False: 27.3k]
  ------------------
 1230|    396|    unsigned siReg = MI.getOperand(0).getReg();
 1231|       |    // Emit AdSize prefix as needed.
 1232|    396|    if ((!is32BitMode(STI) && siReg == X86::EDI) ||
  ------------------
  |  Branch (1232:10): [True: 163, False: 233]
  |  Branch (1232:31): [True: 0, False: 163]
  ------------------
 1233|    396|        (is32BitMode(STI) && siReg == X86::DI)) {
  ------------------
  |  Branch (1233:10): [True: 233, False: 163]
  |  Branch (1233:30): [True: 0, False: 233]
  ------------------
 1234|      0|      EmitByte(0x67, CurByte, OS);
 1235|      0|    }
 1236|    396|    break;
 1237|      0|  }
 1238|    298|  case X86II::RawFrmMemOffs:
  ------------------
  |  Branch (1238:3): [True: 298, False: 27.4k]
  ------------------
 1239|       |    // Emit segment override opcode prefix as needed.
 1240|    298|    EmitSegmentOverridePrefix(CurByte, 1, MI, OS);
 1241|    298|    break;
 1242|  27.7k|  }
 1243|       |
 1244|       |  // Handle REX prefix.
 1245|       |  // FIXME: Can this come before F2 etc to simplify emission?
 1246|  27.7k|  if (is64BitMode(STI)) {
  ------------------
  |  Branch (1246:7): [True: 2.55k, False: 25.2k]
  ------------------
 1247|  2.55k|    if (unsigned REX = DetermineREXPrefix(MI, TSFlags, Desc))
  ------------------
  |  Branch (1247:18): [True: 348, False: 2.20k]
  ------------------
 1248|    348|      EmitByte(0x40 | REX, CurByte, OS);
 1249|  2.55k|  }
 1250|       |
 1251|       |  // 0x0F escape code must be emitted just before the opcode.
 1252|  27.7k|  switch (TSFlags & X86II::OpMapMask) {
  ------------------
  |  Branch (1252:11): [True: 4.37k, False: 23.3k]
  ------------------
 1253|  4.37k|  case X86II::TB:  // Two-byte opcode map
  ------------------
  |  Branch (1253:3): [True: 4.37k, False: 23.3k]
  ------------------
 1254|  4.37k|  case X86II::T8:  // 0F 38
  ------------------
  |  Branch (1254:3): [True: 0, False: 27.7k]
  ------------------
 1255|  4.37k|  case X86II::TA:  // 0F 3A
  ------------------
  |  Branch (1255:3): [True: 0, False: 27.7k]
  ------------------
 1256|  4.37k|    EmitByte(0x0F, CurByte, OS);
 1257|  4.37k|    break;
 1258|  27.7k|  }
 1259|       |
 1260|  27.7k|  switch (TSFlags & X86II::OpMapMask) {
  ------------------
  |  Branch (1260:11): [True: 0, False: 27.7k]
  ------------------
 1261|      0|  case X86II::T8:    // 0F 38
  ------------------
  |  Branch (1261:3): [True: 0, False: 27.7k]
  ------------------
 1262|      0|    EmitByte(0x38, CurByte, OS);
 1263|      0|    break;
 1264|      0|  case X86II::TA:    // 0F 3A
  ------------------
  |  Branch (1264:3): [True: 0, False: 27.7k]
  ------------------
 1265|      0|    EmitByte(0x3A, CurByte, OS);
 1266|      0|    break;
 1267|  27.7k|  }
 1268|  27.7k|}
X86MCCodeEmitter.cpp:_ZL18DetermineREXPrefixRKN7llvm_ks6MCInstEmRKNS_11MCInstrDescE:
 1041|  2.55k|                                   const MCInstrDesc &Desc) {
 1042|  2.55k|  unsigned REX = 0;
 1043|  2.55k|  bool UsesHighByteReg = false;
 1044|       |
 1045|  2.55k|  if (TSFlags & X86II::REX_W)
  ------------------
  |  Branch (1045:7): [True: 348, False: 2.20k]
  ------------------
 1046|    348|    REX |= 1 << 3; // set REX.W
 1047|       |
 1048|  2.55k|  if (MI.getNumOperands() == 0) return REX;
  ------------------
  |  Branch (1048:7): [True: 428, False: 2.12k]
  ------------------
 1049|       |
 1050|  2.12k|  unsigned NumOps = MI.getNumOperands();
 1051|       |  // FIXME: MCInst should explicitize the two-addrness.
 1052|  2.12k|  bool isTwoAddr = NumOps > 1 &&
  ------------------
  |  Branch (1052:20): [True: 1.14k, False: 978]
  ------------------
 1053|  1.14k|                      Desc.getOperandConstraint(1, MCOI::TIED_TO) != -1;
  ------------------
  |  Branch (1053:23): [True: 6, False: 1.14k]
  ------------------
 1054|       |
 1055|       |  // If it accesses SPL, BPL, SIL, or DIL, then it requires a 0x40 REX prefix.
 1056|  2.12k|  unsigned i = isTwoAddr ? 1 : 0;
  ------------------
  |  Branch (1056:16): [True: 6, False: 2.11k]
  ------------------
 1057|  7.82k|  for (; i != NumOps; ++i) {
  ------------------
  |  Branch (1057:10): [True: 5.69k, False: 2.12k]
  ------------------
 1058|  5.69k|    const MCOperand &MO = MI.getOperand(i);
 1059|  5.69k|    if (!MO.isReg()) continue;
  ------------------
  |  Branch (1059:9): [True: 2.25k, False: 3.44k]
  ------------------
 1060|  3.44k|    unsigned Reg = MO.getReg();
 1061|  3.44k|    if (Reg == X86::AH || Reg == X86::BH || Reg == X86::CH || Reg == X86::DH)
  ------------------
  |  Branch (1061:9): [True: 10, False: 3.43k]
  |  Branch (1061:27): [True: 12, False: 3.42k]
  |  Branch (1061:45): [True: 12, False: 3.40k]
  |  Branch (1061:63): [True: 6, False: 3.40k]
  ------------------
 1062|     40|      UsesHighByteReg = true;
 1063|  3.44k|    if (!X86II::isX86_64NonExtLowByteReg(Reg)) continue;
  ------------------
  |  Branch (1063:9): [True: 3.44k, False: 0]
  ------------------
 1064|       |    // FIXME: The caller of DetermineREXPrefix slaps this prefix onto anything
 1065|       |    // that returns non-zero.
 1066|      0|    REX |= 0x40; // REX fixed encoding prefix
 1067|      0|    break;
 1068|  3.44k|  }
 1069|       |
 1070|  2.12k|  switch (TSFlags & X86II::FormMask) {
 1071|      0|  case X86II::MRMSrcReg:
  ------------------
  |  Branch (1071:3): [True: 0, False: 2.12k]
  ------------------
 1072|      0|    if (MI.getOperand(0).isReg() &&
  ------------------
  |  Branch (1072:9): [True: 0, False: 0]
  ------------------
 1073|      0|        X86II::isX86_64ExtendedReg(MI.getOperand(0).getReg()))
  ------------------
  |  Branch (1073:9): [True: 0, False: 0]
  ------------------
 1074|      0|      REX |= 1 << 2; // set REX.R
 1075|      0|    i = isTwoAddr ? 2 : 1;
  ------------------
  |  Branch (1075:9): [True: 0, False: 0]
  ------------------
 1076|      0|    for (; i != NumOps; ++i) {
  ------------------
  |  Branch (1076:12): [True: 0, False: 0]
  ------------------
 1077|      0|      const MCOperand &MO = MI.getOperand(i);
 1078|      0|      if (MO.isReg() && X86II::isX86_64ExtendedReg(MO.getReg()))
  ------------------
  |  Branch (1078:11): [True: 0, False: 0]
  |  Branch (1078:25): [True: 0, False: 0]
  ------------------
 1079|      0|        REX |= 1 << 0; // set REX.B
 1080|      0|    }
 1081|      0|    break;
 1082|     42|  case X86II::MRMSrcMem: {
  ------------------
  |  Branch (1082:3): [True: 42, False: 2.08k]
  ------------------
 1083|     42|    if (MI.getOperand(0).isReg() &&
  ------------------
  |  Branch (1083:9): [True: 42, False: 0]
  ------------------
 1084|     42|        X86II::isX86_64ExtendedReg(MI.getOperand(0).getReg()))
  ------------------
  |  Branch (1084:9): [True: 0, False: 42]
  ------------------
 1085|      0|      REX |= 1 << 2; // set REX.R
 1086|     42|    unsigned Bit = 0;
 1087|     42|    i = isTwoAddr ? 2 : 1;
  ------------------
  |  Branch (1087:9): [True: 1, False: 41]
  ------------------
 1088|    252|    for (; i != NumOps; ++i) {
  ------------------
  |  Branch (1088:12): [True: 210, False: 42]
  ------------------
 1089|    210|      const MCOperand &MO = MI.getOperand(i);
 1090|    210|      if (MO.isReg()) {
  ------------------
  |  Branch (1090:11): [True: 126, False: 84]
  ------------------
 1091|    126|        if (X86II::isX86_64ExtendedReg(MO.getReg()))
  ------------------
  |  Branch (1091:13): [True: 0, False: 126]
  ------------------
 1092|      0|          REX |= 1 << Bit; // set REX.B (Bit=0) and REX.X (Bit=1)
 1093|    126|        Bit++;
 1094|    126|      }
 1095|    210|    }
 1096|     42|    break;
 1097|      0|  }
 1098|     19|  case X86II::MRMXm:
  ------------------
  |  Branch (1098:3): [True: 19, False: 2.10k]
  ------------------
 1099|     82|  case X86II::MRM0m: case X86II::MRM1m:
  ------------------
  |  Branch (1099:3): [True: 53, False: 2.07k]
  |  Branch (1099:22): [True: 10, False: 2.11k]
  ------------------
 1100|    393|  case X86II::MRM2m: case X86II::MRM3m:
  ------------------
  |  Branch (1100:3): [True: 305, False: 1.82k]
  |  Branch (1100:22): [True: 6, False: 2.11k]
  ------------------
 1101|    532|  case X86II::MRM4m: case X86II::MRM5m:
  ------------------
  |  Branch (1101:3): [True: 129, False: 1.99k]
  |  Branch (1101:22): [True: 10, False: 2.11k]
  ------------------
 1102|    589|  case X86II::MRM6m: case X86II::MRM7m:
  ------------------
  |  Branch (1102:3): [True: 9, False: 2.11k]
  |  Branch (1102:22): [True: 48, False: 2.07k]
  ------------------
 1103|    601|  case X86II::MRMDestMem: {
  ------------------
  |  Branch (1103:3): [True: 12, False: 2.11k]
  ------------------
 1104|    601|    unsigned e = (isTwoAddr ? X86::AddrNumOperands+1 : X86::AddrNumOperands);
  ------------------
  |  Branch (1104:19): [True: 0, False: 601]
  ------------------
 1105|    601|    i = isTwoAddr ? 1 : 0;
  ------------------
  |  Branch (1105:9): [True: 0, False: 601]
  ------------------
 1106|    601|    if (NumOps > e && MI.getOperand(e).isReg() &&
  ------------------
  |  Branch (1106:9): [True: 12, False: 589]
  |  Branch (1106:23): [True: 12, False: 0]
  ------------------
 1107|     12|        X86II::isX86_64ExtendedReg(MI.getOperand(e).getReg()))
  ------------------
  |  Branch (1107:9): [True: 0, False: 12]
  ------------------
 1108|      0|      REX |= 1 << 2; // set REX.R
 1109|    601|    unsigned Bit = 0;
 1110|  3.60k|    for (; i != e; ++i) {
  ------------------
  |  Branch (1110:12): [True: 3.00k, False: 601]
  ------------------
 1111|  3.00k|      const MCOperand &MO = MI.getOperand(i);
 1112|  3.00k|      if (MO.isReg()) {
  ------------------
  |  Branch (1112:11): [True: 1.80k, False: 1.20k]
  ------------------
 1113|  1.80k|        if (X86II::isX86_64ExtendedReg(MO.getReg()))
  ------------------
  |  Branch (1113:13): [True: 0, False: 1.80k]
  ------------------
 1114|      0|          REX |= 1 << Bit; // REX.B (Bit=0) and REX.X (Bit=1)
 1115|  1.80k|        Bit++;
 1116|  1.80k|      }
 1117|  3.00k|    }
 1118|    601|    break;
 1119|    589|  }
 1120|  1.48k|  default:
  ------------------
  |  Branch (1120:3): [True: 1.48k, False: 643]
  ------------------
 1121|  1.48k|    if (MI.getOperand(0).isReg() &&
  ------------------
  |  Branch (1121:9): [True: 538, False: 944]
  ------------------
 1122|    538|        X86II::isX86_64ExtendedReg(MI.getOperand(0).getReg()))
  ------------------
  |  Branch (1122:9): [True: 0, False: 538]
  ------------------
 1123|      0|      REX |= 1 << 0; // set REX.B
 1124|  1.48k|    i = isTwoAddr ? 2 : 1;
  ------------------
  |  Branch (1124:9): [True: 5, False: 1.47k]
  ------------------
 1125|  2.42k|    for (unsigned e = NumOps; i != e; ++i) {
  ------------------
  |  Branch (1125:31): [True: 946, False: 1.48k]
  ------------------
 1126|    946|      const MCOperand &MO = MI.getOperand(i);
 1127|    946|      if (MO.isReg() && X86II::isX86_64ExtendedReg(MO.getReg()))
  ------------------
  |  Branch (1127:11): [True: 922, False: 24]
  |  Branch (1127:25): [True: 0, False: 922]
  ------------------
 1128|      0|        REX |= 1 << 2; // set REX.R
 1129|    946|    }
 1130|  1.48k|    break;
 1131|  2.12k|  }
 1132|  2.12k|  if (REX && UsesHighByteReg)
  ------------------
  |  Branch (1132:7): [True: 348, False: 1.77k]
  |  Branch (1132:14): [True: 0, False: 348]
  ------------------
 1133|      0|    report_fatal_error("Cannot encode high byte register in REX-prefixed instruction");
 1134|       |
 1135|  2.12k|  return REX;
 1136|  2.12k|}
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter13EmitImmediateERKN7llvm_ks6MCInstERKNS1_9MCOperandENS1_5SMLocEjNS1_11MCFixupKindERjRNS1_11raw_ostreamERNS1_15SmallVectorImplINS1_7MCFixupEEESA_bib:
  310|  16.2k|{
  311|  16.2k|  KsError = 0;
  312|  16.2k|  const MCExpr *Expr = nullptr;
  313|  16.2k|  if (DispOp.isImm()) {
  ------------------
  |  Branch (313:7): [True: 10.8k, False: 5.43k]
  ------------------
  314|  10.8k|    if (!is64bit && !validImmRange(DispOp.getImm(), Size)) {
  ------------------
  |  Branch (314:9): [True: 9.73k, False: 1.09k]
  |  Branch (314:21): [True: 59, False: 9.67k]
  ------------------
  315|     59|        KsError = KS_ERR_ASM_INVALIDOPERAND;
  316|     59|        return;
  317|     59|    }
  318|       |    // If this is a simple integer displacement that doesn't require a
  319|       |    // relocation, emit it now.
  320|  10.7k|    if (FixupKind != FK_PCRel_1 &&
  ------------------
  |  Branch (320:9): [True: 4.96k, False: 5.80k]
  ------------------
  321|  4.96k|        FixupKind != FK_PCRel_2 &&
  ------------------
  |  Branch (321:9): [True: 4.94k, False: 13]
  ------------------
  322|  4.94k|        FixupKind != FK_PCRel_4 &&
  ------------------
  |  Branch (322:9): [True: 1.20k, False: 3.74k]
  ------------------
  323|  1.20k|        FixupKind != FK_PCRel_4 &&
  ------------------
  |  Branch (323:9): [True: 1.20k, False: 0]
  ------------------
  324|  1.20k|        (FixupKind != MCFixupKind(X86::reloc_riprel_4byte) || !RIP_rel)) {
  ------------------
  |  Branch (324:10): [True: 1.17k, False: 27]
  |  Branch (324:63): [True: 0, False: 27]
  ------------------
  325|  1.17k|      EmitConstant(DispOp.getImm(), Size, CurByte, OS);
  326|  1.17k|      return;
  327|  1.17k|    }
  328|  9.59k|    Expr = MCConstantExpr::create(DispOp.getImm(), Ctx);
  329|  9.59k|  } else {
  330|  5.43k|    Expr = DispOp.getExpr();
  331|  5.43k|  }
  332|       |
  333|       |  // If we have an immoffset, add it to the expression.
  334|  15.0k|  if ((FixupKind == FK_Data_4 ||
  ------------------
  |  Branch (334:8): [True: 2.45k, False: 12.5k]
  ------------------
  335|  12.5k|       FixupKind == FK_Data_8 ||
  ------------------
  |  Branch (335:8): [True: 20, False: 12.5k]
  ------------------
  336|  12.5k|       FixupKind == MCFixupKind(X86::reloc_signed_4byte))) {
  ------------------
  |  Branch (336:8): [True: 474, False: 12.0k]
  ------------------
  337|  2.94k|    GlobalOffsetTableExprKind Kind = StartsWithGlobalOffsetTable(Expr);
  338|  2.94k|    if (Kind != GOT_None) {
  ------------------
  |  Branch (338:9): [True: 0, False: 2.94k]
  ------------------
  339|      0|      assert(ImmOffset == 0);
  ------------------
  |  Branch (339:7): [True: 0, False: 0]
  ------------------
  340|       |
  341|      0|      if (Size == 8) {
  ------------------
  |  Branch (341:11): [True: 0, False: 0]
  ------------------
  342|      0|        FixupKind = MCFixupKind(X86::reloc_global_offset_table8);
  343|      0|      } else {
  344|      0|        assert(Size == 4);
  ------------------
  |  Branch (344:9): [True: 0, False: 0]
  ------------------
  345|      0|        FixupKind = MCFixupKind(X86::reloc_global_offset_table);
  346|      0|      }
  347|       |
  348|      0|      if (Kind == GOT_Normal)
  ------------------
  |  Branch (348:11): [True: 0, False: 0]
  ------------------
  349|      0|        ImmOffset = CurByte;
  350|  2.94k|    } else if (Expr->getKind() == MCExpr::SymbolRef) {
  ------------------
  |  Branch (350:16): [True: 2.55k, False: 386]
  ------------------
  351|  2.55k|      if (HasSecRelSymbolRef(Expr)) {
  ------------------
  |  Branch (351:11): [True: 0, False: 2.55k]
  ------------------
  352|      0|        FixupKind = MCFixupKind(FK_SecRel_4);
  353|      0|      }
  354|  2.55k|    } else if (Expr->getKind() == MCExpr::Binary) {
  ------------------
  |  Branch (354:16): [True: 138, False: 248]
  ------------------
  355|    138|      const MCBinaryExpr *Bin = static_cast<const MCBinaryExpr*>(Expr);
  356|    138|      if (HasSecRelSymbolRef(Bin->getLHS())
  ------------------
  |  Branch (356:11): [True: 0, False: 138]
  ------------------
  357|    138|          || HasSecRelSymbolRef(Bin->getRHS())) {
  ------------------
  |  Branch (357:14): [True: 0, False: 138]
  ------------------
  358|      0|        FixupKind = MCFixupKind(FK_SecRel_4);
  359|      0|      }
  360|    138|    }
  361|  2.94k|  }
  362|       |
  363|       |  // If the fixup is pc-relative, we need to bias the value to be relative to
  364|       |  // the start of the field, not the end of the field.
  365|  15.0k|  if (FixupKind == FK_PCRel_4 ||
  ------------------
  |  Branch (365:7): [True: 4.72k, False: 10.3k]
  ------------------
  366|  10.3k|      FixupKind == MCFixupKind(X86::reloc_riprel_4byte) ||
  ------------------
  |  Branch (366:7): [True: 27, False: 10.2k]
  ------------------
  367|  10.2k|      FixupKind == MCFixupKind(X86::reloc_riprel_4byte_movq_load))
  ------------------
  |  Branch (367:7): [True: 0, False: 10.2k]
  ------------------
  368|  4.75k|    ImmOffset -= 4;
  369|  15.0k|  if (FixupKind == FK_PCRel_2)
  ------------------
  |  Branch (369:7): [True: 450, False: 14.5k]
  ------------------
  370|    450|    ImmOffset -= 2;
  371|  15.0k|  if (FixupKind == FK_PCRel_1)
  ------------------
  |  Branch (371:7): [True: 6.40k, False: 8.62k]
  ------------------
  372|  6.40k|    ImmOffset -= 1;
  373|       |
  374|  15.0k|  if (ImmOffset)
  ------------------
  |  Branch (374:7): [True: 11.6k, False: 3.42k]
  ------------------
  375|  11.6k|    Expr = MCBinaryExpr::createAdd(Expr, MCConstantExpr::create(ImmOffset, Ctx),
  376|  11.6k|                                   Ctx);
  377|       |
  378|       |  // Emit a symbolic constant as a fixup and 4 zeros.
  379|  15.0k|  Fixups.push_back(MCFixup::create(CurByte, Expr, FixupKind, Loc));
  380|  15.0k|  EmitConstant(0, Size, CurByte, OS);
  381|  15.0k|}
X86MCCodeEmitter.cpp:_ZL13validImmRangelj:
  297|  9.73k|{
  298|  9.73k|    if (Imm > 0 && Imm > 0xffffffff)
  ------------------
  |  Branch (298:9): [True: 557, False: 9.17k]
  |  Branch (298:20): [True: 59, False: 498]
  ------------------
  299|     59|        return false;
  300|       |
  301|  9.67k|    return true;
  302|  9.73k|}
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter12EmitConstantEmjRjRN7llvm_ks11raw_ostreamE:
  116|  16.2k|                    raw_ostream &OS) const {
  117|       |    // Output the constant in little endian byte order.
  118|  57.8k|    for (unsigned i = 0; i != Size; ++i) {
  ------------------
  |  Branch (118:26): [True: 41.6k, False: 16.2k]
  ------------------
  119|  41.6k|      EmitByte(Val & 255, CurByte, OS);
  120|  41.6k|      Val >>= 8;
  121|  41.6k|    }
  122|  16.2k|  }
X86MCCodeEmitter.cpp:_ZL27StartsWithGlobalOffsetTablePKN7llvm_ks6MCExprE:
  267|  2.94k|StartsWithGlobalOffsetTable(const MCExpr *Expr) {
  268|  2.94k|  const MCExpr *RHS = nullptr;
  269|  2.94k|  if (Expr->getKind() == MCExpr::Binary) {
  ------------------
  |  Branch (269:7): [True: 138, False: 2.80k]
  ------------------
  270|    138|    const MCBinaryExpr *BE = static_cast<const MCBinaryExpr *>(Expr);
  271|    138|    Expr = BE->getLHS();
  272|    138|    RHS = BE->getRHS();
  273|    138|  }
  274|       |
  275|  2.94k|  if (Expr->getKind() != MCExpr::SymbolRef)
  ------------------
  |  Branch (275:7): [True: 323, False: 2.62k]
  ------------------
  276|    323|    return GOT_None;
  277|       |
  278|  2.62k|  const MCSymbolRefExpr *Ref = static_cast<const MCSymbolRefExpr*>(Expr);
  279|  2.62k|  const MCSymbol &S = Ref->getSymbol();
  280|  2.62k|  if (S.getName() != "_GLOBAL_OFFSET_TABLE_")
  ------------------
  |  Branch (280:7): [True: 2.62k, False: 0]
  ------------------
  281|  2.62k|    return GOT_None;
  282|      0|  if (RHS && RHS->getKind() == MCExpr::SymbolRef)
  ------------------
  |  Branch (282:7): [True: 0, False: 0]
  |  Branch (282:14): [True: 0, False: 0]
  ------------------
  283|      0|    return GOT_SymDiff;
  284|      0|  return GOT_Normal;
  285|      0|}
X86MCCodeEmitter.cpp:_ZL18HasSecRelSymbolRefPKN7llvm_ks6MCExprE:
  287|  2.83k|static bool HasSecRelSymbolRef(const MCExpr *Expr) {
  288|  2.83k|  if (Expr->getKind() == MCExpr::SymbolRef) {
  ------------------
  |  Branch (288:7): [True: 2.70k, False: 126]
  ------------------
  289|  2.70k|    const MCSymbolRefExpr *Ref = static_cast<const MCSymbolRefExpr*>(Expr);
  290|  2.70k|    return Ref->getKind() == MCSymbolRefExpr::VK_SECREL;
  291|  2.70k|  }
  292|    126|  return false;
  293|  2.83k|}
X86MCCodeEmitter.cpp:_ZL15getImmFixupKindm:
  214|  12.3k|static MCFixupKind getImmFixupKind(uint64_t TSFlags) {
  215|  12.3k|  unsigned Size = X86II::getSizeOfImm(TSFlags);
  216|  12.3k|  bool isPCRel = X86II::isImmPCRel(TSFlags);
  217|       |
  218|  12.3k|  if (X86II::isImmSigned(TSFlags)) {
  ------------------
  |  Branch (218:7): [True: 1, False: 12.3k]
  ------------------
  219|      1|    switch (Size) {
  220|      0|    default: llvm_unreachable("Unsupported signed fixup size!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (220:5): [True: 0, False: 1]
  ------------------
  221|      1|    case 4: return MCFixupKind(X86::reloc_signed_4byte);
  ------------------
  |  Branch (221:5): [True: 1, False: 0]
  ------------------
  222|      1|    }
  223|      1|  }
  224|  12.3k|  return MCFixup::getKindForSize(Size, isPCRel);
  225|  12.3k|}
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter12GetX86RegNumERKN7llvm_ks9MCOperandE:
   77|  2.49k|  unsigned GetX86RegNum(const MCOperand &MO) const {
   78|  2.49k|    return Ctx.getRegisterInfo()->getEncodingValue(MO.getReg()) & 0x7;
   79|  2.49k|  }
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter16EmitRegModRMByteERKN7llvm_ks9MCOperandEjRjRNS1_11raw_ostreamE:
  139|    330|                        unsigned &CurByte, raw_ostream &OS) const {
  140|    330|    EmitByte(ModRMByte(3, RegOpcodeFld, GetX86RegNum(ModRMReg)), CurByte, OS);
  141|    330|  }
X86MCCodeEmitter.cpp:_ZN12_GLOBAL__N_116X86MCCodeEmitter9ModRMByteEjjj:
  133|  5.70k|                                        unsigned RM) {
  134|  5.70k|    assert(Mod < 4 && RegOpcode < 8 && RM < 8 && "ModRM Fields out of range!");
  ------------------
  |  Branch (134:5): [True: 5.70k, False: 0]
  |  Branch (134:5): [True: 5.70k, False: 0]
  |  Branch (134:5): [True: 5.70k, False: 0]
  |  Branch (134:5): [True: 5.70k, Folded]
  |  Branch (134:5): [True: 5.70k, False: 0]
  ------------------
  135|  5.70k|    return RM | (RegOpcode << 3) | (Mod << 6);
  136|  5.70k|  }
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter16EmitMemModRMByteERKN7llvm_ks6MCInstEjjmRjRNS1_11raw_ostreamERNS1_15SmallVectorImplINS1_7MCFixupEEERKNS1_15MCSubtargetInfoE:
  390|  4.20k|{
  391|  4.20k|  const MCOperand &Disp     = MI.getOperand(Op+X86::AddrDisp);
  392|  4.20k|  const MCOperand &Base     = MI.getOperand(Op+X86::AddrBaseReg);
  393|  4.20k|  const MCOperand &Scale    = MI.getOperand(Op+X86::AddrScaleAmt);
  394|  4.20k|  const MCOperand &IndexReg = MI.getOperand(Op+X86::AddrIndexReg);
  395|  4.20k|  unsigned BaseReg = Base.getReg();
  396|  4.20k|  bool HasEVEX = (TSFlags & X86II::EncodingMask) == X86II::EVEX;
  397|  4.20k|  unsigned int KsError;
  398|  4.20k|  bool RIP_rel = false;
  399|       |
  400|       |  // do we need x64 RIP relative encoding?
  401|  4.20k|  if (BaseReg == 0 && is64BitMode(STI) && IndexReg.getReg() == 0 && Disp.isImm()) {
  ------------------
  |  Branch (401:7): [True: 3.26k, False: 946]
  |  Branch (401:23): [True: 516, False: 2.74k]
  |  Branch (401:43): [True: 504, False: 12]
  |  Branch (401:69): [True: 91, False: 413]
  ------------------
  402|     91|      if (ABS_SUB(MI.getAddress(), (uint64_t)Disp.getImm()) < 2 * (1UL << 30))
  ------------------
  |  |  383|     91|#define ABS_SUB(a, b) (a < b? b - a: a - b)
  |  |  ------------------
  |  |  |  Branch (383:24): [True: 70, False: 21]
  |  |  ------------------
  ------------------
  |  Branch (402:11): [True: 27, False: 64]
  ------------------
  403|     27|          RIP_rel = true;
  404|     91|  }
  405|       |
  406|       |  // Handle %rip relative addressing.
  407|  4.20k|  if (RIP_rel || BaseReg == X86::RIP) {    // [disp32+RIP] in X86-64 mode
  ------------------
  |  Branch (407:7): [True: 27, False: 4.18k]
  |  Branch (407:18): [True: 0, False: 4.18k]
  ------------------
  408|     27|    assert(is64BitMode(STI) && "Rip-relative addressing requires 64-bit mode");
  ------------------
  |  Branch (408:5): [True: 27, False: 0]
  |  Branch (408:5): [True: 27, Folded]
  |  Branch (408:5): [True: 27, False: 0]
  ------------------
  409|     27|    assert(IndexReg.getReg() == 0 && "Invalid rip-relative address");
  ------------------
  |  Branch (409:5): [True: 27, False: 0]
  |  Branch (409:5): [True: 27, Folded]
  |  Branch (409:5): [True: 27, False: 0]
  ------------------
  410|     27|    EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS);
  411|       |
  412|     27|    unsigned FixupKind = X86::reloc_riprel_4byte;
  413|       |
  414|       |    // movq loads are handled with a special relocation form which allows the
  415|       |    // linker to eliminate some loads for GOT references which end up in the
  416|       |    // same linkage unit.
  417|     27|    if (MI.getOpcode() == X86::MOV64rm)
  ------------------
  |  Branch (417:9): [True: 0, False: 27]
  ------------------
  418|      0|      FixupKind = X86::reloc_riprel_4byte_movq_load;
  419|       |
  420|       |    // rip-relative addressing is actually relative to the *next* instruction.
  421|       |    // Since an immediate can follow the mod/rm byte for an instruction, this
  422|       |    // means that we need to bias the immediate field of the instruction with
  423|       |    // the size of the immediate field.  If we have this case, add it into the
  424|       |    // expression to emit.
  425|     27|    int ImmSize = X86II::hasImm(TSFlags) ? X86II::getSizeOfImm(TSFlags) : 0;
  ------------------
  |  Branch (425:19): [True: 0, False: 27]
  ------------------
  426|       |
  427|     27|    EmitImmediate(MI, Disp, MI.getLoc(), 4, MCFixupKind(FixupKind),
  428|     27|                  CurByte, OS, Fixups, KsError, is64BitMode(STI), -ImmSize, RIP_rel);
  429|       |
  430|     27|    return;
  431|     27|  }
  432|       |
  433|  4.18k|  unsigned BaseRegNo = BaseReg ? GetX86RegNum(Base) : -1U;
  ------------------
  |  Branch (433:24): [True: 946, False: 3.23k]
  ------------------
  434|       |  //printf(">> BaseReg = %u, BaseRegNo = %u\n", BaseReg, BaseRegNo);
  435|       |  //printf(">> CurByte = %u\n", CurByte);
  436|       |
  437|       |  // 16-bit addressing forms of the ModR/M byte have a different encoding for
  438|       |  // the R/M field and are far more limited in which registers can be used.
  439|  4.18k|  if (Is16BitMemOperand(MI, Op, STI)) {
  ------------------
  |  Branch (439:7): [True: 269, False: 3.91k]
  ------------------
  440|    269|    if (BaseReg) {
  ------------------
  |  Branch (440:9): [True: 25, False: 244]
  ------------------
  441|       |      // For 32-bit addressing, the row and column values in Table 2-2 are
  442|       |      // basically the same. It's AX/CX/DX/BX/SP/BP/SI/DI in that order, with
  443|       |      // some special cases. And GetX86RegNum reflects that numbering.
  444|       |      // For 16-bit addressing it's more fun, as shown in the SDM Vol 2A,
  445|       |      // Table 2-1 "16-Bit Addressing Forms with the ModR/M byte". We can only
  446|       |      // use SI/DI/BP/BX, which have "row" values 4-7 in no particular order,
  447|       |      // while values 0-3 indicate the allowed combinations (base+index) of
  448|       |      // those: 0 for BX+SI, 1 for BX+DI, 2 for BP+SI, 3 for BP+DI.
  449|       |      //
  450|       |      // R16Table[] is a lookup from the normal RegNo, to the row values from
  451|       |      // Table 2-1 for 16-bit addressing modes. Where zero means disallowed.
  452|     25|      static const unsigned R16Table[] = { 0, 0, 0, 7, 0, 6, 4, 5 };
  453|     25|      unsigned RMfield = R16Table[BaseRegNo];
  454|       |
  455|     25|      assert(RMfield && "invalid 16-bit base register");
  ------------------
  |  Branch (455:7): [True: 25, False: 0]
  |  Branch (455:7): [True: 25, Folded]
  |  Branch (455:7): [True: 25, False: 0]
  ------------------
  456|       |
  457|     25|      if (IndexReg.getReg()) {
  ------------------
  |  Branch (457:11): [True: 0, False: 25]
  ------------------
  458|      0|        unsigned IndexReg16 = R16Table[GetX86RegNum(IndexReg)];
  459|       |
  460|      0|        assert(IndexReg16 && "invalid 16-bit index register");
  ------------------
  |  Branch (460:9): [True: 0, False: 0]
  |  Branch (460:9): [True: 0, Folded]
  |  Branch (460:9): [True: 0, False: 0]
  ------------------
  461|       |        // We must have one of SI/DI (4,5), and one of BP/BX (6,7).
  462|      0|        assert(((IndexReg16 ^ RMfield) & 2) &&
  ------------------
  |  Branch (462:9): [True: 0, False: 0]
  |  Branch (462:9): [True: 0, Folded]
  |  Branch (462:9): [True: 0, False: 0]
  ------------------
  463|      0|               "invalid 16-bit base/index register combination");
  464|      0|        assert(Scale.getImm() == 1 &&
  ------------------
  |  Branch (464:9): [True: 0, False: 0]
  |  Branch (464:9): [True: 0, Folded]
  |  Branch (464:9): [True: 0, False: 0]
  ------------------
  465|      0|               "invalid scale for 16-bit memory reference");
  466|       |
  467|       |        // Allow base/index to appear in either order (although GAS doesn't).
  468|      0|        if (IndexReg16 & 2)
  ------------------
  |  Branch (468:13): [True: 0, False: 0]
  ------------------
  469|      0|          RMfield = (RMfield & 1) | ((7 - IndexReg16) << 1);
  470|      0|        else
  471|      0|          RMfield = (IndexReg16 & 1) | ((7 - RMfield) << 1);
  472|      0|      }
  473|       |
  474|     25|      if (Disp.isImm() && isDisp8(Disp.getImm())) {
  ------------------
  |  Branch (474:11): [True: 18, False: 7]
  |  Branch (474:27): [True: 17, False: 1]
  ------------------
  475|     17|        if (Disp.getImm() == 0 && BaseRegNo != N86::EBP) {
  ------------------
  |  Branch (475:13): [True: 15, False: 2]
  |  Branch (475:35): [True: 14, False: 1]
  ------------------
  476|       |          // There is no displacement; just the register.
  477|     14|          EmitByte(ModRMByte(0, RegOpcodeField, RMfield), CurByte, OS);
  478|     14|          return;
  479|     14|        }
  480|       |        // Use the [REG]+disp8 form, including for [BP] which cannot be encoded.
  481|      3|        EmitByte(ModRMByte(1, RegOpcodeField, RMfield), CurByte, OS);
  482|      3|        EmitImmediate(MI, Disp, MI.getLoc(), 1, FK_Data_1, CurByte, OS, Fixups, KsError,
  483|      3|                is64BitMode(STI));
  484|      3|        return;
  485|     17|      }
  486|       |      // This is the [REG]+disp16 case.
  487|      8|      EmitByte(ModRMByte(2, RegOpcodeField, RMfield), CurByte, OS);
  488|    244|    } else {
  489|       |      // There is no BaseReg; this is the plain [disp16] case.
  490|    244|      EmitByte(ModRMByte(0, RegOpcodeField, 6), CurByte, OS);
  491|    244|    }
  492|       |
  493|       |    // Emit 16-bit displacement for plain disp16 or [REG]+disp16 cases.
  494|    252|    EmitImmediate(MI, Disp, MI.getLoc(), 2, FK_Data_2, CurByte, OS, Fixups, KsError,
  495|    252|                is64BitMode(STI));
  496|    252|    return;
  497|    269|  }
  498|       |
  499|       |  // Determine whether a SIB byte is needed.
  500|       |  // If no BaseReg, issue a RIP relative instruction only if the MCE can
  501|       |  // resolve addresses on-the-fly, otherwise use SIB (Intel Manual 2A, table
  502|       |  // 2-7) and absolute references.
  503|       |
  504|  3.91k|  if (// The SIB byte must be used if there is an index register.
  505|  3.91k|      IndexReg.getReg() == 0 &&
  ------------------
  |  Branch (505:7): [True: 3.61k, False: 298]
  ------------------
  506|       |      // The SIB byte must be used if the base is ESP/RSP/R12, all of which
  507|       |      // encode to an R/M value of 4, which indicates that a SIB byte is
  508|       |      // present.
  509|  3.61k|      BaseRegNo != N86::ESP &&
  ------------------
  |  Branch (509:7): [True: 3.22k, False: 388]
  ------------------
  510|       |      // If there is no base register and we're in 64-bit mode, we need a SIB
  511|       |      // byte to emit an addr that is just 'disp32' (the non-RIP relative form).
  512|  3.22k|      (!is64BitMode(STI) || BaseReg != 0)) {
  ------------------
  |  Branch (512:8): [True: 2.70k, False: 520]
  |  Branch (512:29): [True: 43, False: 477]
  ------------------
  513|       |
  514|  2.75k|    if (BaseReg == 0) {          // [disp32]     in X86-32 mode
  ------------------
  |  Branch (514:9): [True: 2.50k, False: 247]
  ------------------
  515|  2.50k|      EmitByte(ModRMByte(0, RegOpcodeField, 5), CurByte, OS);
  516|  2.50k|      EmitImmediate(MI, Disp, MI.getLoc(), 4, FK_Data_4, CurByte, OS, Fixups, KsError,
  517|  2.50k|                is64BitMode(STI));
  518|  2.50k|      return;
  519|  2.50k|    }
  520|       |
  521|       |    // If the base is not EBP/ESP and there is no displacement, use simple
  522|       |    // indirect register encoding, this handles addresses like [EAX].  The
  523|       |    // encoding for [EBP] with no displacement means [disp32] so we handle it
  524|       |    // by emitting a displacement of 0 below.
  525|    247|    if (Disp.isImm() && Disp.getImm() == 0 && BaseRegNo != N86::EBP) {
  ------------------
  |  Branch (525:9): [True: 210, False: 37]
  |  Branch (525:25): [True: 23, False: 187]
  |  Branch (525:47): [True: 15, False: 8]
  ------------------
  526|     15|      EmitByte(ModRMByte(0, RegOpcodeField, BaseRegNo), CurByte, OS);
  527|     15|      return;
  528|     15|    }
  529|       |
  530|       |    // Otherwise, if the displacement fits in a byte, encode as [REG+disp8].
  531|    232|    if (Disp.isImm()) {
  ------------------
  |  Branch (531:9): [True: 195, False: 37]
  ------------------
  532|    195|      if (!HasEVEX && isDisp8(Disp.getImm())) {
  ------------------
  |  Branch (532:11): [True: 195, False: 0]
  |  Branch (532:23): [True: 113, False: 82]
  ------------------
  533|    113|        EmitByte(ModRMByte(1, RegOpcodeField, BaseRegNo), CurByte, OS);
  534|    113|        EmitImmediate(MI, Disp, MI.getLoc(), 1, FK_Data_1, CurByte, OS, Fixups, KsError,
  535|    113|                is64BitMode(STI));
  536|    113|        return;
  537|    113|      }
  538|       |      // Try EVEX compressed 8-bit displacement first; if failed, fall back to
  539|       |      // 32-bit displacement.
  540|     82|      int CDisp8 = 0;
  541|     82|      if (HasEVEX && isCDisp8(TSFlags, Disp.getImm(), CDisp8)) {
  ------------------
  |  Branch (541:11): [True: 0, False: 82]
  |  Branch (541:22): [True: 0, False: 0]
  ------------------
  542|      0|        EmitByte(ModRMByte(1, RegOpcodeField, BaseRegNo), CurByte, OS);
  543|      0|        EmitImmediate(MI, Disp, MI.getLoc(), 1, FK_Data_1, CurByte, OS, Fixups,
  544|      0|                      KsError, is64BitMode(STI), CDisp8 - Disp.getImm());
  545|      0|        return;
  546|      0|      }
  547|     82|    }
  548|       |
  549|       |    // Otherwise, emit the most general non-SIB encoding: [REG+disp32]
  550|    119|    EmitByte(ModRMByte(2, RegOpcodeField, BaseRegNo), CurByte, OS);
  551|    119|    EmitImmediate(MI, Disp, MI.getLoc(), 4, MCFixupKind(X86::reloc_signed_4byte),
  552|    119|                  CurByte, OS, Fixups, KsError, is64BitMode(STI));
  553|    119|    return;
  554|    232|  }
  555|       |
  556|       |  // We need a SIB byte, so start by outputting the ModR/M byte first
  557|  3.91k|  assert(IndexReg.getReg() != X86::ESP &&
  ------------------
  |  Branch (557:3): [True: 1.16k, False: 0]
  |  Branch (557:3): [True: 1.16k, False: 0]
  |  Branch (557:3): [True: 1.16k, Folded]
  |  Branch (557:3): [True: 1.16k, False: 0]
  ------------------
  558|  1.16k|         IndexReg.getReg() != X86::RSP && "Cannot use ESP as index reg!");
  559|       |
  560|       |  //printf(">> 22\n");
  561|       |  //printf(">> CurByte = %u\n", CurByte);
  562|  1.16k|  bool ForceDisp32 = false;
  563|  1.16k|  bool ForceDisp8  = false;
  564|  1.16k|  int CDisp8 = 0;
  565|  1.16k|  int ImmOffset = 0;
  566|  1.16k|  if (BaseReg == 0) {
  ------------------
  |  Branch (566:7): [True: 489, False: 674]
  ------------------
  567|       |    // If there is no base register, we emit the special case SIB byte with
  568|       |    // MOD=0, BASE=5, to JUST get the index, scale, and displacement.
  569|    489|    EmitByte(ModRMByte(0, RegOpcodeField, 4), CurByte, OS);
  570|    489|    ForceDisp32 = true;
  571|    674|  } else if (!Disp.isImm()) {
  ------------------
  |  Branch (571:14): [True: 23, False: 651]
  ------------------
  572|       |    // Emit the normal disp32 encoding.
  573|     23|    EmitByte(ModRMByte(2, RegOpcodeField, 4), CurByte, OS);
  574|     23|    ForceDisp32 = true;
  575|    651|  } else if (Disp.getImm() == 0 &&
  ------------------
  |  Branch (575:14): [True: 302, False: 349]
  ------------------
  576|       |             // Base reg can't be anything that ends up with '5' as the base
  577|       |             // reg, it is the magic [*] nomenclature that indicates no base.
  578|    302|             BaseRegNo != N86::EBP) {
  ------------------
  |  Branch (578:14): [True: 299, False: 3]
  ------------------
  579|       |    // Emit no displacement ModR/M byte
  580|    299|    EmitByte(ModRMByte(0, RegOpcodeField, 4), CurByte, OS);
  581|    352|  } else if (!HasEVEX && isDisp8(Disp.getImm())) {
  ------------------
  |  Branch (581:14): [True: 352, False: 0]
  |  Branch (581:26): [True: 281, False: 71]
  ------------------
  582|       |    //printf(">> 55\n");
  583|       |    // Emit the disp8 encoding.
  584|    281|    EmitByte(ModRMByte(1, RegOpcodeField, 4), CurByte, OS);
  585|    281|    ForceDisp8 = true;           // Make sure to force 8 bit disp if Base=EBP
  586|    281|  } else if (HasEVEX && isCDisp8(TSFlags, Disp.getImm(), CDisp8)) {
  ------------------
  |  Branch (586:14): [True: 0, False: 71]
  |  Branch (586:25): [True: 0, False: 0]
  ------------------
  587|       |    // Emit the disp8 encoding.
  588|      0|    EmitByte(ModRMByte(1, RegOpcodeField, 4), CurByte, OS);
  589|      0|    ForceDisp8 = true;           // Make sure to force 8 bit disp if Base=EBP
  590|      0|    ImmOffset = CDisp8 - Disp.getImm();
  591|     71|  } else {
  592|       |    // Emit the normal disp32 encoding.
  593|     71|    EmitByte(ModRMByte(2, RegOpcodeField, 4), CurByte, OS);
  594|     71|  }
  595|       |
  596|       |  //printf(">> 88\n");
  597|       |  //printf(">> CurByte = %u\n", CurByte);
  598|       |  // Calculate what the SS field value should be...
  599|  1.16k|  static const unsigned SSTable[] = { ~0U, 0, 1, ~0U, 2, ~0U, ~0U, ~0U, 3 };
  600|  1.16k|  unsigned SS = SSTable[Scale.getImm()];
  601|       |
  602|       |  //printf(">> 99\n");
  603|  1.16k|  if (BaseReg == 0) {
  ------------------
  |  Branch (603:7): [True: 489, False: 674]
  ------------------
  604|       |    // Handle the SIB byte for the case where there is no base, see Intel
  605|       |    // Manual 2A, table 2-7. The displacement has already been output.
  606|    489|    unsigned IndexRegNo;
  607|    489|    if (IndexReg.getReg())
  ------------------
  |  Branch (607:9): [True: 12, False: 477]
  ------------------
  608|     12|      IndexRegNo = GetX86RegNum(IndexReg);
  609|    477|    else // Examples: [ESP+1*<noreg>+4] or [scaled idx]+disp32 (MOD=0,BASE=5)
  610|    477|      IndexRegNo = 4;
  611|    489|    EmitSIBByte(SS, IndexRegNo, 5, CurByte, OS);
  612|    674|  } else {
  613|    674|    unsigned IndexRegNo;
  614|    674|    if (IndexReg.getReg())
  ------------------
  |  Branch (614:9): [True: 286, False: 388]
  ------------------
  615|    286|      IndexRegNo = GetX86RegNum(IndexReg);
  616|    388|    else
  617|    388|      IndexRegNo = 4;   // For example [ESP+1*<noreg>+4]
  618|       |    //printf(">> 10\n");
  619|       |    //printf(">> CurByte = %u\n", CurByte);
  620|    674|    EmitSIBByte(SS, IndexRegNo, GetX86RegNum(Base), CurByte, OS);
  621|    674|  }
  622|       |  //printf(">> ++ CurByte = %u\n", CurByte);
  623|       |
  624|       |  // Do we need to output a displacement?
  625|  1.16k|  if (ForceDisp8)
  ------------------
  |  Branch (625:7): [True: 281, False: 882]
  ------------------
  626|    281|    EmitImmediate(MI, Disp, MI.getLoc(), 1, FK_Data_1, CurByte, OS, Fixups, KsError, is64BitMode(STI), ImmOffset);
  627|    882|  else if (ForceDisp32 || Disp.getImm() != 0)
  ------------------
  |  Branch (627:12): [True: 512, False: 370]
  |  Branch (627:27): [True: 71, False: 299]
  ------------------
  628|    583|    EmitImmediate(MI, Disp, MI.getLoc(), 4, MCFixupKind(X86::reloc_signed_4byte),
  629|    583|                  CurByte, OS, Fixups, KsError, is64BitMode(STI));
  630|  1.16k|}
X86MCCodeEmitter.cpp:_ZL7isDisp8i:
  183|    565|static bool isDisp8(int Value) {
  184|    565|  return Value == (signed char)Value;
  185|    565|}
X86MCCodeEmitter.cpp:_ZNK12_GLOBAL__N_116X86MCCodeEmitter11EmitSIBByteEjjjRjRN7llvm_ks11raw_ostreamE:
  144|  1.16k|                   unsigned &CurByte, raw_ostream &OS) const {
  145|       |    // SIB byte is in the same format as the ModRMByte.
  146|  1.16k|    EmitByte(ModRMByte(SS, Index, Base), CurByte, OS);
  147|  1.16k|  }

_ZN7llvm_ks6X86_MC14ParseX86TripleERKNS_6TripleE:
   41|  17.0k|std::string X86_MC::ParseX86Triple(const Triple &TT) {
   42|  17.0k|  std::string FS;
   43|  17.0k|  if (TT.getArch() == Triple::x86_64)
  ------------------
  |  Branch (43:7): [True: 0, False: 17.0k]
  ------------------
   44|      0|    FS = "+64bit-mode,-32bit-mode,-16bit-mode";
   45|  17.0k|  else if (TT.getEnvironment() != Triple::CODE16)
  ------------------
  |  Branch (45:12): [True: 0, False: 17.0k]
  ------------------
   46|      0|    FS = "-64bit-mode,+32bit-mode,-16bit-mode";
   47|  17.0k|  else
   48|  17.0k|    FS = "-64bit-mode,-32bit-mode,+16bit-mode";
   49|       |
   50|  17.0k|  return FS;
   51|  17.0k|}
_ZN7llvm_ks6X86_MC18getDwarfRegFlavourERKNS_6TripleEb:
   53|  34.0k|unsigned X86_MC::getDwarfRegFlavour(const Triple &TT, bool isEH) {
   54|  34.0k|  if (TT.getArch() == Triple::x86_64)
  ------------------
  |  Branch (54:7): [True: 0, False: 34.0k]
  ------------------
   55|      0|    return DWARFFlavour::X86_64;
   56|       |
   57|  34.0k|  if (TT.isOSDarwin())
  ------------------
  |  Branch (57:7): [True: 0, False: 34.0k]
  ------------------
   58|      0|    return isEH ? DWARFFlavour::X86_32_DarwinEH : DWARFFlavour::X86_32_Generic;
  ------------------
  |  Branch (58:12): [True: 0, False: 0]
  ------------------
   59|  34.0k|  if (TT.isOSCygMing())
  ------------------
  |  Branch (59:7): [True: 0, False: 34.0k]
  ------------------
   60|       |    // Unsupported by now, just quick fallback
   61|      0|    return DWARFFlavour::X86_32_Generic;
   62|  34.0k|  return DWARFFlavour::X86_32_Generic;
   63|  34.0k|}
_ZN7llvm_ks6X86_MC27InitLLVM2SEHRegisterMappingEPNS_14MCRegisterInfoE:
   65|  17.0k|void X86_MC::InitLLVM2SEHRegisterMapping(MCRegisterInfo *MRI) {
   66|       |  // FIXME: TableGen these.
   67|  4.19M|  for (unsigned Reg = X86::NoRegister+1; Reg < X86::NUM_TARGET_REGS; ++Reg) {
  ------------------
  |  Branch (67:42): [True: 4.17M, False: 17.0k]
  ------------------
   68|  4.17M|    unsigned SEH = MRI->getEncodingValue(Reg);
   69|  4.17M|    MRI->mapLLVMRegToSEHReg(Reg, SEH);
   70|  4.17M|  }
   71|  17.0k|}
_ZN7llvm_ks6X86_MC24createX86MCSubtargetInfoERKNS_6TripleENS_9StringRefES4_:
   74|  17.0k|                                                  StringRef CPU, StringRef FS) {
   75|  17.0k|  std::string ArchFS = X86_MC::ParseX86Triple(TT);
   76|  17.0k|  if (!FS.empty()) {
  ------------------
  |  Branch (76:7): [True: 0, False: 17.0k]
  ------------------
   77|      0|    if (!ArchFS.empty())
  ------------------
  |  Branch (77:9): [True: 0, False: 0]
  ------------------
   78|      0|      ArchFS = (Twine(ArchFS) + "," + FS).str();
   79|      0|    else
   80|      0|      ArchFS = FS;
   81|      0|  }
   82|       |
   83|  17.0k|  std::string CPUName = CPU;
   84|  17.0k|  if (CPUName.empty())
  ------------------
  |  Branch (84:7): [True: 0, False: 17.0k]
  ------------------
   85|      0|    CPUName = "generic";
   86|       |
   87|  17.0k|  return createX86MCSubtargetInfoImpl(TT, CPUName, ArchFS);
   88|  17.0k|}
LLVMInitializeX86TargetMC:
  158|      1|extern "C" void LLVMInitializeX86TargetMC() {
  159|      2|  for (Target *T : {&TheX86_32Target, &TheX86_64Target}) {
  ------------------
  |  Branch (159:18): [True: 2, False: 1]
  ------------------
  160|       |    // Register the MC asm info.
  161|      2|    RegisterMCAsmInfoFn X(*T, createX86MCAsmInfo);
  162|       |
  163|       |    // Register the MC instruction info.
  164|      2|    TargetRegistry::RegisterMCInstrInfo(*T, createX86MCInstrInfo);
  165|       |
  166|       |    // Register the MC register info.
  167|      2|    TargetRegistry::RegisterMCRegInfo(*T, createX86MCRegisterInfo);
  168|       |
  169|       |    // Register the MC subtarget info.
  170|      2|    TargetRegistry::RegisterMCSubtargetInfo(*T,
  171|      2|                                            X86_MC::createX86MCSubtargetInfo);
  172|       |
  173|       |    // Register the code emitter.
  174|      2|    TargetRegistry::RegisterMCCodeEmitter(*T, createX86MCCodeEmitter);
  175|       |
  176|       |    // Register the MC relocation info.
  177|      2|    TargetRegistry::RegisterMCRelocationInfo(*T, createX86MCRelocationInfo);
  178|      2|  }
  179|       |
  180|       |  // Register the asm backend.
  181|      1|  TargetRegistry::RegisterMCAsmBackend(TheX86_32Target,
  182|      1|                                       createX86_32AsmBackend);
  183|      1|  TargetRegistry::RegisterMCAsmBackend(TheX86_64Target,
  184|      1|                                       createX86_64AsmBackend);
  185|      1|}
X86MCTargetDesc.cpp:_ZL18createX86MCAsmInfoRKN7llvm_ks14MCRegisterInfoERKNS_6TripleE:
  109|  17.0k|                                     const Triple &TheTriple) {
  110|  17.0k|  bool is64Bit = TheTriple.getArch() == Triple::x86_64;
  111|       |
  112|  17.0k|  MCAsmInfo *MAI;
  113|  17.0k|  if (TheTriple.isOSBinFormatMachO()) {
  ------------------
  |  Branch (113:7): [True: 0, False: 17.0k]
  ------------------
  114|      0|    if (is64Bit)
  ------------------
  |  Branch (114:9): [True: 0, False: 0]
  ------------------
  115|      0|      MAI = new X86_64MCAsmInfoDarwin(TheTriple);
  116|      0|    else
  117|      0|      MAI = new X86MCAsmInfoDarwin(TheTriple);
  118|  17.0k|  } else if (TheTriple.isOSBinFormatELF()) {
  ------------------
  |  Branch (118:14): [True: 17.0k, False: 0]
  ------------------
  119|       |    // Force the use of an ELF container.
  120|  17.0k|    MAI = new X86ELFMCAsmInfo(TheTriple);
  121|  17.0k|  } else if (TheTriple.isWindowsMSVCEnvironment() ||
  ------------------
  |  Branch (121:14): [True: 0, False: 0]
  ------------------
  122|      0|             TheTriple.isWindowsCoreCLREnvironment()) {
  ------------------
  |  Branch (122:14): [True: 0, False: 0]
  ------------------
  123|      0|    MAI = new X86MCAsmInfoMicrosoft(TheTriple);
  124|      0|  } else if (TheTriple.isOSCygMing() ||
  ------------------
  |  Branch (124:14): [True: 0, False: 0]
  ------------------
  125|      0|             TheTriple.isWindowsItaniumEnvironment()) {
  ------------------
  |  Branch (125:14): [True: 0, False: 0]
  ------------------
  126|      0|    MAI = new X86MCAsmInfoGNUCOFF(TheTriple);
  127|      0|  } else {
  128|       |    // The default is ELF.
  129|      0|    MAI = new X86ELFMCAsmInfo(TheTriple);
  130|      0|  }
  131|       |
  132|       |  // Initialize initial frame state.
  133|       |  // Calculate amount of bytes used for return address storing
  134|  17.0k|  int stackGrowth = is64Bit ? -8 : -4;
  ------------------
  |  Branch (134:21): [True: 0, False: 17.0k]
  ------------------
  135|       |
  136|       |  // Initial state of the frame pointer is esp+stackGrowth.
  137|  17.0k|  unsigned StackPtr = is64Bit ? X86::RSP : X86::ESP;
  ------------------
  |  Branch (137:23): [True: 0, False: 17.0k]
  ------------------
  138|  17.0k|  MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(
  139|  17.0k|      nullptr, MRI.getDwarfRegNum(StackPtr, true), -stackGrowth);
  140|  17.0k|  MAI->addInitialFrameState(Inst);
  141|       |
  142|       |  // Add return address to move list
  143|  17.0k|  unsigned InstPtr = is64Bit ? X86::RIP : X86::EIP;
  ------------------
  |  Branch (143:22): [True: 0, False: 17.0k]
  ------------------
  144|  17.0k|  MCCFIInstruction Inst2 = MCCFIInstruction::createOffset(
  145|  17.0k|      nullptr, MRI.getDwarfRegNum(InstPtr, true), stackGrowth);
  146|  17.0k|  MAI->addInitialFrameState(Inst2);
  147|       |
  148|  17.0k|  return MAI;
  149|  17.0k|}
X86MCTargetDesc.cpp:_ZL20createX86MCInstrInfov:
   90|  17.0k|static MCInstrInfo *createX86MCInstrInfo() {
   91|  17.0k|  MCInstrInfo *X = new MCInstrInfo();
   92|  17.0k|  InitX86MCInstrInfo(X);
   93|  17.0k|  return X;
   94|  17.0k|}
X86MCTargetDesc.cpp:_ZL23createX86MCRegisterInfoRKN7llvm_ks6TripleE:
   96|  17.0k|static MCRegisterInfo *createX86MCRegisterInfo(const Triple &TT) {
   97|  17.0k|  unsigned RA = (TT.getArch() == Triple::x86_64)
  ------------------
  |  Branch (97:17): [True: 0, False: 17.0k]
  ------------------
   98|  17.0k|                    ? X86::RIP  // Should have dwarf #16.
   99|  17.0k|                    : X86::EIP; // Should have dwarf #8.
  100|       |
  101|  17.0k|  MCRegisterInfo *X = new MCRegisterInfo();
  102|  17.0k|  InitX86MCRegisterInfo(X, RA, X86_MC::getDwarfRegFlavour(TT, false),
  103|  17.0k|                        X86_MC::getDwarfRegFlavour(TT, true), RA);
  104|  17.0k|  X86_MC::InitLLVM2SEHRegisterMapping(X);
  105|  17.0k|  return X;
  106|  17.0k|}

LLVMInitializeX86TargetInfo:
   16|      1|extern "C" void LLVMInitializeX86TargetInfo() {
   17|      1|  RegisterTarget<Triple::x86>
   18|      1|    X(TheX86_32Target, "x86", "32-bit X86: Pentium-Pro and above");
   19|       |
   20|      1|  RegisterTarget<Triple::x86_64>
   21|      1|    Y(TheX86_64Target, "x86-64", "64-bit X86: EM64T and AMD64");
   22|      1|}

X86AsmParser.cpp:_ZNK12_GLOBAL__N_112X86AsmParser24ComputeAvailableFeaturesERKN7llvm_ks13FeatureBitsetE:
 6031|  17.5k|ComputeAvailableFeatures(const FeatureBitset& FB) const {
 6032|  17.5k|  uint64_t Features = 0;
 6033|  17.5k|  if ((FB[X86::FeatureAVX512]))
  ------------------
  |  Branch (6033:7): [True: 17.5k, False: 0]
  ------------------
 6034|  17.5k|    Features |= Feature_HasAVX512;
 6035|  17.5k|  if ((FB[X86::FeatureCDI]))
  ------------------
  |  Branch (6035:7): [True: 17.5k, False: 0]
  ------------------
 6036|  17.5k|    Features |= Feature_HasCDI;
 6037|  17.5k|  if ((FB[X86::FeaturePFI]))
  ------------------
  |  Branch (6037:7): [True: 17.5k, False: 0]
  ------------------
 6038|  17.5k|    Features |= Feature_HasPFI;
 6039|  17.5k|  if ((FB[X86::FeatureERI]))
  ------------------
  |  Branch (6039:7): [True: 17.5k, False: 0]
  ------------------
 6040|  17.5k|    Features |= Feature_HasERI;
 6041|  17.5k|  if ((FB[X86::FeatureDQI]))
  ------------------
  |  Branch (6041:7): [True: 0, False: 17.5k]
  ------------------
 6042|      0|    Features |= Feature_HasDQI;
 6043|  17.5k|  if ((FB[X86::FeatureBWI]))
  ------------------
  |  Branch (6043:7): [True: 0, False: 17.5k]
  ------------------
 6044|      0|    Features |= Feature_HasBWI;
 6045|  17.5k|  if ((FB[X86::FeatureVLX]))
  ------------------
  |  Branch (6045:7): [True: 0, False: 17.5k]
  ------------------
 6046|      0|    Features |= Feature_HasVLX;
 6047|  17.5k|  if ((FB[X86::FeatureVBMI]))
  ------------------
  |  Branch (6047:7): [True: 0, False: 17.5k]
  ------------------
 6048|      0|    Features |= Feature_HasVBMI;
 6049|  17.5k|  if ((FB[X86::FeatureIFMA]))
  ------------------
  |  Branch (6049:7): [True: 0, False: 17.5k]
  ------------------
 6050|      0|    Features |= Feature_HasIFMA;
 6051|  17.5k|  if ((!FB[X86::Mode64Bit]))
  ------------------
  |  Branch (6051:7): [True: 17.2k, False: 301]
  ------------------
 6052|  17.2k|    Features |= Feature_Not64BitMode;
 6053|  17.5k|  if ((FB[X86::Mode64Bit]))
  ------------------
  |  Branch (6053:7): [True: 301, False: 17.2k]
  ------------------
 6054|    301|    Features |= Feature_In64BitMode;
 6055|  17.5k|  if ((FB[X86::Mode16Bit]))
  ------------------
  |  Branch (6055:7): [True: 17.0k, False: 486]
  ------------------
 6056|  17.0k|    Features |= Feature_In16BitMode;
 6057|  17.5k|  if ((!FB[X86::Mode16Bit]))
  ------------------
  |  Branch (6057:7): [True: 486, False: 17.0k]
  ------------------
 6058|    486|    Features |= Feature_Not16BitMode;
 6059|  17.5k|  if ((FB[X86::Mode32Bit]))
  ------------------
  |  Branch (6059:7): [True: 185, False: 17.3k]
  ------------------
 6060|    185|    Features |= Feature_In32BitMode;
 6061|  17.5k|  return Features;
 6062|  17.5k|}
X86AsmParser.cpp:_ZL17MatchRegisterNameN7llvm_ks9StringRefE:
   48|  67.1k|static unsigned MatchRegisterName(StringRef Name) {
   49|  67.1k|  switch (Name.size()) {
   50|  22.3k|  default: break;
  ------------------
  |  Branch (50:3): [True: 22.3k, False: 44.8k]
  ------------------
   51|  22.9k|  case 2:	 // 33 strings to match.
  ------------------
  |  Branch (51:3): [True: 22.9k, False: 44.2k]
  ------------------
   52|  22.9k|    switch (Name[0]) {
   53|  13.7k|    default: break;
  ------------------
  |  Branch (53:5): [True: 13.7k, False: 9.17k]
  ------------------
   54|  13.7k|    case 'a':	 // 3 strings to match.
  ------------------
  |  Branch (54:5): [True: 729, False: 22.2k]
  ------------------
   55|    729|      switch (Name[1]) {
   56|    254|      default: break;
  ------------------
  |  Branch (56:7): [True: 254, False: 475]
  ------------------
   57|    254|      case 'h':	 // 1 string to match.
  ------------------
  |  Branch (57:7): [True: 29, False: 700]
  ------------------
   58|     29|        return 1;	 // "ah"
   59|    101|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (59:7): [True: 101, False: 628]
  ------------------
   60|    101|        return 2;	 // "al"
   61|    345|      case 'x':	 // 1 string to match.
  ------------------
  |  Branch (61:7): [True: 345, False: 384]
  ------------------
   62|    345|        return 3;	 // "ax"
   63|    729|      }
   64|    254|      break;
   65|  1.00k|    case 'b':	 // 4 strings to match.
  ------------------
  |  Branch (65:5): [True: 1.00k, False: 21.9k]
  ------------------
   66|  1.00k|      switch (Name[1]) {
   67|    850|      default: break;
  ------------------
  |  Branch (67:7): [True: 850, False: 155]
  ------------------
   68|    850|      case 'h':	 // 1 string to match.
  ------------------
  |  Branch (68:7): [True: 17, False: 988]
  ------------------
   69|     17|        return 4;	 // "bh"
   70|     95|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (70:7): [True: 95, False: 910]
  ------------------
   71|     95|        return 5;	 // "bl"
   72|     18|      case 'p':	 // 1 string to match.
  ------------------
  |  Branch (72:7): [True: 18, False: 987]
  ------------------
   73|     18|        return 6;	 // "bp"
   74|     25|      case 'x':	 // 1 string to match.
  ------------------
  |  Branch (74:7): [True: 25, False: 980]
  ------------------
   75|     25|        return 8;	 // "bx"
   76|  1.00k|      }
   77|    850|      break;
   78|    850|    case 'c':	 // 4 strings to match.
  ------------------
  |  Branch (78:5): [True: 765, False: 22.1k]
  ------------------
   79|    765|      switch (Name[1]) {
   80|    567|      default: break;
  ------------------
  |  Branch (80:7): [True: 567, False: 198]
  ------------------
   81|    567|      case 'h':	 // 1 string to match.
  ------------------
  |  Branch (81:7): [True: 37, False: 728]
  ------------------
   82|     37|        return 9;	 // "ch"
   83|     63|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (83:7): [True: 63, False: 702]
  ------------------
   84|     63|        return 10;	 // "cl"
   85|     56|      case 's':	 // 1 string to match.
  ------------------
  |  Branch (85:7): [True: 56, False: 709]
  ------------------
   86|     56|        return 11;	 // "cs"
   87|     42|      case 'x':	 // 1 string to match.
  ------------------
  |  Branch (87:7): [True: 42, False: 723]
  ------------------
   88|     42|        return 12;	 // "cx"
   89|    765|      }
   90|    567|      break;
   91|  1.11k|    case 'd':	 // 5 strings to match.
  ------------------
  |  Branch (91:5): [True: 1.11k, False: 21.8k]
  ------------------
   92|  1.11k|      switch (Name[1]) {
   93|    782|      default: break;
  ------------------
  |  Branch (93:7): [True: 782, False: 333]
  ------------------
   94|    782|      case 'h':	 // 1 string to match.
  ------------------
  |  Branch (94:7): [True: 184, False: 931]
  ------------------
   95|    184|        return 13;	 // "dh"
   96|     32|      case 'i':	 // 1 string to match.
  ------------------
  |  Branch (96:7): [True: 32, False: 1.08k]
  ------------------
   97|     32|        return 14;	 // "di"
   98|     41|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (98:7): [True: 41, False: 1.07k]
  ------------------
   99|     41|        return 16;	 // "dl"
  100|     45|      case 's':	 // 1 string to match.
  ------------------
  |  Branch (100:7): [True: 45, False: 1.07k]
  ------------------
  101|     45|        return 17;	 // "ds"
  102|     31|      case 'x':	 // 1 string to match.
  ------------------
  |  Branch (102:7): [True: 31, False: 1.08k]
  ------------------
  103|     31|        return 18;	 // "dx"
  104|  1.11k|      }
  105|    782|      break;
  106|    782|    case 'e':	 // 1 string to match.
  ------------------
  |  Branch (106:5): [True: 242, False: 22.6k]
  ------------------
  107|    242|      if (Name[1] != 's')
  ------------------
  |  Branch (107:11): [True: 229, False: 13]
  ------------------
  108|    229|        break;
  109|     13|      return 28;	 // "es"
  110|    521|    case 'f':	 // 1 string to match.
  ------------------
  |  Branch (110:5): [True: 521, False: 22.4k]
  ------------------
  111|    521|      if (Name[1] != 's')
  ------------------
  |  Branch (111:11): [True: 197, False: 324]
  ------------------
  112|    197|        break;
  113|    324|      return 32;	 // "fs"
  114|     93|    case 'g':	 // 1 string to match.
  ------------------
  |  Branch (114:5): [True: 93, False: 22.8k]
  ------------------
  115|     93|      if (Name[1] != 's')
  ------------------
  |  Branch (115:11): [True: 78, False: 15]
  ------------------
  116|     78|        break;
  117|     15|      return 33;	 // "gs"
  118|    514|    case 'i':	 // 1 string to match.
  ------------------
  |  Branch (118:5): [True: 514, False: 22.4k]
  ------------------
  119|    514|      if (Name[1] != 'p')
  ------------------
  |  Branch (119:11): [True: 425, False: 89]
  ------------------
  120|    425|        break;
  121|     89|      return 34;	 // "ip"
  122|  2.58k|    case 'k':	 // 8 strings to match.
  ------------------
  |  Branch (122:5): [True: 2.58k, False: 20.3k]
  ------------------
  123|  2.58k|      switch (Name[1]) {
  124|  1.57k|      default: break;
  ------------------
  |  Branch (124:7): [True: 1.57k, False: 1.01k]
  ------------------
  125|  1.57k|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (125:7): [True: 139, False: 2.44k]
  ------------------
  126|    139|        return 94;	 // "k0"
  127|    159|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (127:7): [True: 159, False: 2.42k]
  ------------------
  128|    159|        return 95;	 // "k1"
  129|     81|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (129:7): [True: 81, False: 2.50k]
  ------------------
  130|     81|        return 96;	 // "k2"
  131|     34|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (131:7): [True: 34, False: 2.55k]
  ------------------
  132|     34|        return 97;	 // "k3"
  133|    491|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (133:7): [True: 491, False: 2.09k]
  ------------------
  134|    491|        return 98;	 // "k4"
  135|     87|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (135:7): [True: 87, False: 2.50k]
  ------------------
  136|     87|        return 99;	 // "k5"
  137|     16|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (137:7): [True: 16, False: 2.57k]
  ------------------
  138|     16|        return 100;	 // "k6"
  139|      6|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (139:7): [True: 6, False: 2.58k]
  ------------------
  140|      6|        return 101;	 // "k7"
  141|  2.58k|      }
  142|  1.57k|      break;
  143|  1.57k|    case 'r':	 // 2 strings to match.
  ------------------
  |  Branch (143:5): [True: 792, False: 22.1k]
  ------------------
  144|    792|      switch (Name[1]) {
  145|    781|      default: break;
  ------------------
  |  Branch (145:7): [True: 781, False: 11]
  ------------------
  146|    781|      case '8':	 // 1 string to match.
  ------------------
  |  Branch (146:7): [True: 10, False: 782]
  ------------------
  147|     10|        return 110;	 // "r8"
  148|      1|      case '9':	 // 1 string to match.
  ------------------
  |  Branch (148:7): [True: 1, False: 791]
  ------------------
  149|      1|        return 111;	 // "r9"
  150|    792|      }
  151|    781|      break;
  152|    813|    case 's':	 // 3 strings to match.
  ------------------
  |  Branch (152:5): [True: 813, False: 22.1k]
  ------------------
  153|    813|      switch (Name[1]) {
  154|    543|      default: break;
  ------------------
  |  Branch (154:7): [True: 543, False: 270]
  ------------------
  155|    543|      case 'i':	 // 1 string to match.
  ------------------
  |  Branch (155:7): [True: 112, False: 701]
  ------------------
  156|    112|        return 45;	 // "si"
  157|    111|      case 'p':	 // 1 string to match.
  ------------------
  |  Branch (157:7): [True: 111, False: 702]
  ------------------
  158|    111|        return 47;	 // "sp"
  159|     47|      case 's':	 // 1 string to match.
  ------------------
  |  Branch (159:7): [True: 47, False: 766]
  ------------------
  160|     47|        return 49;	 // "ss"
  161|    813|      }
  162|    543|      break;
  163|  22.9k|    }
  164|  20.0k|    break;
  165|  20.0k|  case 3:	 // 72 strings to match.
  ------------------
  |  Branch (165:3): [True: 10.1k, False: 56.9k]
  ------------------
  166|  10.1k|    switch (Name[0]) {
  167|  4.74k|    default: break;
  ------------------
  |  Branch (167:5): [True: 4.74k, False: 5.45k]
  ------------------
  168|  4.74k|    case 'b':	 // 1 string to match.
  ------------------
  |  Branch (168:5): [True: 466, False: 9.72k]
  ------------------
  169|    466|      if (memcmp(Name.data()+1, "pl", 2))
  ------------------
  |  Branch (169:11): [True: 447, False: 19]
  ------------------
  170|    447|        break;
  171|     19|      return 7;	 // "bpl"
  172|    415|    case 'c':	 // 10 strings to match.
  ------------------
  |  Branch (172:5): [True: 415, False: 9.78k]
  ------------------
  173|    415|      if (Name[1] != 'r')
  ------------------
  |  Branch (173:11): [True: 241, False: 174]
  ------------------
  174|    241|        break;
  175|    174|      switch (Name[2]) {
  176|     56|      default: break;
  ------------------
  |  Branch (176:7): [True: 56, False: 118]
  ------------------
  177|     56|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (177:7): [True: 1, False: 173]
  ------------------
  178|      1|        return 54;	 // "cr0"
  179|      7|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (179:7): [True: 7, False: 167]
  ------------------
  180|      7|        return 55;	 // "cr1"
  181|      5|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (181:7): [True: 5, False: 169]
  ------------------
  182|      5|        return 56;	 // "cr2"
  183|      7|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (183:7): [True: 7, False: 167]
  ------------------
  184|      7|        return 57;	 // "cr3"
  185|      7|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (185:7): [True: 7, False: 167]
  ------------------
  186|      7|        return 58;	 // "cr4"
  187|     14|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (187:7): [True: 14, False: 160]
  ------------------
  188|     14|        return 59;	 // "cr5"
  189|     26|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (189:7): [True: 26, False: 148]
  ------------------
  190|     26|        return 60;	 // "cr6"
  191|      1|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (191:7): [True: 1, False: 173]
  ------------------
  192|      1|        return 61;	 // "cr7"
  193|     40|      case '8':	 // 1 string to match.
  ------------------
  |  Branch (193:7): [True: 40, False: 134]
  ------------------
  194|     40|        return 62;	 // "cr8"
  195|     10|      case '9':	 // 1 string to match.
  ------------------
  |  Branch (195:7): [True: 10, False: 164]
  ------------------
  196|     10|        return 63;	 // "cr9"
  197|    174|      }
  198|     56|      break;
  199|    748|    case 'd':	 // 11 strings to match.
  ------------------
  |  Branch (199:5): [True: 748, False: 9.44k]
  ------------------
  200|    748|      switch (Name[1]) {
  201|    478|      default: break;
  ------------------
  |  Branch (201:7): [True: 478, False: 270]
  ------------------
  202|    478|      case 'i':	 // 1 string to match.
  ------------------
  |  Branch (202:7): [True: 121, False: 627]
  ------------------
  203|    121|        if (Name[2] != 'l')
  ------------------
  |  Branch (203:13): [True: 96, False: 25]
  ------------------
  204|     96|          break;
  205|     25|        return 15;	 // "dil"
  206|    149|      case 'r':	 // 10 strings to match.
  ------------------
  |  Branch (206:7): [True: 149, False: 599]
  ------------------
  207|    149|        switch (Name[2]) {
  208|     83|        default: break;
  ------------------
  |  Branch (208:9): [True: 83, False: 66]
  ------------------
  209|     83|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (209:9): [True: 1, False: 148]
  ------------------
  210|      1|          return 70;	 // "dr0"
  211|     10|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (211:9): [True: 10, False: 139]
  ------------------
  212|     10|          return 71;	 // "dr1"
  213|      3|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (213:9): [True: 3, False: 146]
  ------------------
  214|      3|          return 72;	 // "dr2"
  215|      2|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (215:9): [True: 2, False: 147]
  ------------------
  216|      2|          return 73;	 // "dr3"
  217|     10|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (217:9): [True: 10, False: 139]
  ------------------
  218|     10|          return 74;	 // "dr4"
  219|      6|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (219:9): [True: 6, False: 143]
  ------------------
  220|      6|          return 75;	 // "dr5"
  221|      5|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (221:9): [True: 5, False: 144]
  ------------------
  222|      5|          return 76;	 // "dr6"
  223|     11|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (223:9): [True: 11, False: 138]
  ------------------
  224|     11|          return 77;	 // "dr7"
  225|     15|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (225:9): [True: 15, False: 134]
  ------------------
  226|     15|          return 78;	 // "dr8"
  227|      3|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (227:9): [True: 3, False: 146]
  ------------------
  228|      3|          return 79;	 // "dr9"
  229|    149|        }
  230|     83|        break;
  231|    748|      }
  232|    657|      break;
  233|    925|    case 'e':	 // 10 strings to match.
  ------------------
  |  Branch (233:5): [True: 925, False: 9.27k]
  ------------------
  234|    925|      switch (Name[1]) {
  235|    162|      default: break;
  ------------------
  |  Branch (235:7): [True: 162, False: 763]
  ------------------
  236|    169|      case 'a':	 // 1 string to match.
  ------------------
  |  Branch (236:7): [True: 169, False: 756]
  ------------------
  237|    169|        if (Name[2] != 'x')
  ------------------
  |  Branch (237:13): [True: 87, False: 82]
  ------------------
  238|     87|          break;
  239|     82|        return 19;	 // "eax"
  240|     93|      case 'b':	 // 2 strings to match.
  ------------------
  |  Branch (240:7): [True: 93, False: 832]
  ------------------
  241|     93|        switch (Name[2]) {
  242|     40|        default: break;
  ------------------
  |  Branch (242:9): [True: 40, False: 53]
  ------------------
  243|     40|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (243:9): [True: 25, False: 68]
  ------------------
  244|     25|          return 20;	 // "ebp"
  245|     28|        case 'x':	 // 1 string to match.
  ------------------
  |  Branch (245:9): [True: 28, False: 65]
  ------------------
  246|     28|          return 21;	 // "ebx"
  247|     93|        }
  248|     40|        break;
  249|     45|      case 'c':	 // 1 string to match.
  ------------------
  |  Branch (249:7): [True: 45, False: 880]
  ------------------
  250|     45|        if (Name[2] != 'x')
  ------------------
  |  Branch (250:13): [True: 22, False: 23]
  ------------------
  251|     22|          break;
  252|     23|        return 22;	 // "ecx"
  253|     56|      case 'd':	 // 2 strings to match.
  ------------------
  |  Branch (253:7): [True: 56, False: 869]
  ------------------
  254|     56|        switch (Name[2]) {
  255|     36|        default: break;
  ------------------
  |  Branch (255:9): [True: 36, False: 20]
  ------------------
  256|     36|        case 'i':	 // 1 string to match.
  ------------------
  |  Branch (256:9): [True: 6, False: 50]
  ------------------
  257|      6|          return 23;	 // "edi"
  258|     14|        case 'x':	 // 1 string to match.
  ------------------
  |  Branch (258:9): [True: 14, False: 42]
  ------------------
  259|     14|          return 24;	 // "edx"
  260|     56|        }
  261|     36|        break;
  262|     36|      case 'i':	 // 2 strings to match.
  ------------------
  |  Branch (262:7): [True: 17, False: 908]
  ------------------
  263|     17|        switch (Name[2]) {
  264|     14|        default: break;
  ------------------
  |  Branch (264:9): [True: 14, False: 3]
  ------------------
  265|     14|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (265:9): [True: 1, False: 16]
  ------------------
  266|      1|          return 26;	 // "eip"
  267|      2|        case 'z':	 // 1 string to match.
  ------------------
  |  Branch (267:9): [True: 2, False: 15]
  ------------------
  268|      2|          return 27;	 // "eiz"
  269|     17|        }
  270|     14|        break;
  271|    383|      case 's':	 // 2 strings to match.
  ------------------
  |  Branch (271:7): [True: 383, False: 542]
  ------------------
  272|    383|        switch (Name[2]) {
  273|    348|        default: break;
  ------------------
  |  Branch (273:9): [True: 348, False: 35]
  ------------------
  274|    348|        case 'i':	 // 1 string to match.
  ------------------
  |  Branch (274:9): [True: 10, False: 373]
  ------------------
  275|     10|          return 29;	 // "esi"
  276|     25|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (276:9): [True: 25, False: 358]
  ------------------
  277|     25|          return 30;	 // "esp"
  278|    383|        }
  279|    348|        break;
  280|    925|      }
  281|    709|      break;
  282|    709|    case 'f':	 // 8 strings to match.
  ------------------
  |  Branch (282:5): [True: 647, False: 9.54k]
  ------------------
  283|    647|      if (Name[1] != 'p')
  ------------------
  |  Branch (283:11): [True: 336, False: 311]
  ------------------
  284|    336|        break;
  285|    311|      switch (Name[2]) {
  286|    278|      default: break;
  ------------------
  |  Branch (286:7): [True: 278, False: 33]
  ------------------
  287|    278|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (287:7): [True: 4, False: 307]
  ------------------
  288|      4|        return 86;	 // "fp0"
  289|      1|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (289:7): [True: 1, False: 310]
  ------------------
  290|      1|        return 87;	 // "fp1"
  291|      4|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (291:7): [True: 4, False: 307]
  ------------------
  292|      4|        return 88;	 // "fp2"
  293|      1|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (293:7): [True: 1, False: 310]
  ------------------
  294|      1|        return 89;	 // "fp3"
  295|      6|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (295:7): [True: 6, False: 305]
  ------------------
  296|      6|        return 90;	 // "fp4"
  297|      6|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (297:7): [True: 6, False: 305]
  ------------------
  298|      6|        return 91;	 // "fp5"
  299|      3|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (299:7): [True: 3, False: 308]
  ------------------
  300|      3|        return 92;	 // "fp6"
  301|      8|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (301:7): [True: 8, False: 303]
  ------------------
  302|      8|        return 93;	 // "fp7"
  303|    311|      }
  304|    278|      break;
  305|    317|    case 'm':	 // 8 strings to match.
  ------------------
  |  Branch (305:5): [True: 317, False: 9.87k]
  ------------------
  306|    317|      if (Name[1] != 'm')
  ------------------
  |  Branch (306:11): [True: 242, False: 75]
  ------------------
  307|    242|        break;
  308|     75|      switch (Name[2]) {
  309|     37|      default: break;
  ------------------
  |  Branch (309:7): [True: 37, False: 38]
  ------------------
  310|     37|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (310:7): [True: 8, False: 67]
  ------------------
  311|      8|        return 102;	 // "mm0"
  312|      3|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (312:7): [True: 3, False: 72]
  ------------------
  313|      3|        return 103;	 // "mm1"
  314|      8|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (314:7): [True: 8, False: 67]
  ------------------
  315|      8|        return 104;	 // "mm2"
  316|      1|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (316:7): [True: 1, False: 74]
  ------------------
  317|      1|        return 105;	 // "mm3"
  318|      2|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (318:7): [True: 2, False: 73]
  ------------------
  319|      2|        return 106;	 // "mm4"
  320|      6|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (320:7): [True: 6, False: 69]
  ------------------
  321|      6|        return 107;	 // "mm5"
  322|      9|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (322:7): [True: 9, False: 66]
  ------------------
  323|      9|        return 108;	 // "mm6"
  324|      1|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (324:7): [True: 1, False: 74]
  ------------------
  325|      1|        return 109;	 // "mm7"
  326|     75|      }
  327|     37|      break;
  328|  1.41k|    case 'r':	 // 22 strings to match.
  ------------------
  |  Branch (328:5): [True: 1.41k, False: 8.78k]
  ------------------
  329|  1.41k|      switch (Name[1]) {
  330|    281|      default: break;
  ------------------
  |  Branch (330:7): [True: 281, False: 1.13k]
  ------------------
  331|    297|      case '1':	 // 6 strings to match.
  ------------------
  |  Branch (331:7): [True: 297, False: 1.11k]
  ------------------
  332|    297|        switch (Name[2]) {
  333|    157|        default: break;
  ------------------
  |  Branch (333:9): [True: 157, False: 140]
  ------------------
  334|    157|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (334:9): [True: 4, False: 293]
  ------------------
  335|      4|          return 112;	 // "r10"
  336|     11|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (336:9): [True: 11, False: 286]
  ------------------
  337|     11|          return 113;	 // "r11"
  338|      1|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (338:9): [True: 1, False: 296]
  ------------------
  339|      1|          return 114;	 // "r12"
  340|     33|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (340:9): [True: 33, False: 264]
  ------------------
  341|     33|          return 115;	 // "r13"
  342|     15|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (342:9): [True: 15, False: 282]
  ------------------
  343|     15|          return 116;	 // "r14"
  344|     76|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (344:9): [True: 76, False: 221]
  ------------------
  345|     76|          return 117;	 // "r15"
  346|    297|        }
  347|    157|        break;
  348|    166|      case '8':	 // 3 strings to match.
  ------------------
  |  Branch (348:7): [True: 166, False: 1.24k]
  ------------------
  349|    166|        switch (Name[2]) {
  350|    116|        default: break;
  ------------------
  |  Branch (350:9): [True: 116, False: 50]
  ------------------
  351|    116|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (351:9): [True: 10, False: 156]
  ------------------
  352|     10|          return 222;	 // "r8b"
  353|     11|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (353:9): [True: 11, False: 155]
  ------------------
  354|     11|          return 230;	 // "r8d"
  355|     29|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (355:9): [True: 29, False: 137]
  ------------------
  356|     29|          return 238;	 // "r8w"
  357|    166|        }
  358|    116|        break;
  359|    145|      case '9':	 // 3 strings to match.
  ------------------
  |  Branch (359:7): [True: 145, False: 1.26k]
  ------------------
  360|    145|        switch (Name[2]) {
  361|     96|        default: break;
  ------------------
  |  Branch (361:9): [True: 96, False: 49]
  ------------------
  362|     96|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (362:9): [True: 3, False: 142]
  ------------------
  363|      3|          return 223;	 // "r9b"
  364|     11|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (364:9): [True: 11, False: 134]
  ------------------
  365|     11|          return 231;	 // "r9d"
  366|     35|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (366:9): [True: 35, False: 110]
  ------------------
  367|     35|          return 239;	 // "r9w"
  368|    145|        }
  369|     96|        break;
  370|    130|      case 'a':	 // 1 string to match.
  ------------------
  |  Branch (370:7): [True: 130, False: 1.28k]
  ------------------
  371|    130|        if (Name[2] != 'x')
  ------------------
  |  Branch (371:13): [True: 83, False: 47]
  ------------------
  372|     83|          break;
  373|     47|        return 35;	 // "rax"
  374|     62|      case 'b':	 // 2 strings to match.
  ------------------
  |  Branch (374:7): [True: 62, False: 1.35k]
  ------------------
  375|     62|        switch (Name[2]) {
  376|     41|        default: break;
  ------------------
  |  Branch (376:9): [True: 41, False: 21]
  ------------------
  377|     41|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (377:9): [True: 5, False: 57]
  ------------------
  378|      5|          return 36;	 // "rbp"
  379|     16|        case 'x':	 // 1 string to match.
  ------------------
  |  Branch (379:9): [True: 16, False: 46]
  ------------------
  380|     16|          return 37;	 // "rbx"
  381|     62|        }
  382|     41|        break;
  383|    166|      case 'c':	 // 1 string to match.
  ------------------
  |  Branch (383:7): [True: 166, False: 1.24k]
  ------------------
  384|    166|        if (Name[2] != 'x')
  ------------------
  |  Branch (384:13): [True: 134, False: 32]
  ------------------
  385|    134|          break;
  386|     32|        return 38;	 // "rcx"
  387|     69|      case 'd':	 // 2 strings to match.
  ------------------
  |  Branch (387:7): [True: 69, False: 1.34k]
  ------------------
  388|     69|        switch (Name[2]) {
  389|     51|        default: break;
  ------------------
  |  Branch (389:9): [True: 51, False: 18]
  ------------------
  390|     51|        case 'i':	 // 1 string to match.
  ------------------
  |  Branch (390:9): [True: 10, False: 59]
  ------------------
  391|     10|          return 39;	 // "rdi"
  392|      8|        case 'x':	 // 1 string to match.
  ------------------
  |  Branch (392:9): [True: 8, False: 61]
  ------------------
  393|      8|          return 40;	 // "rdx"
  394|     69|        }
  395|     51|        break;
  396|     54|      case 'i':	 // 2 strings to match.
  ------------------
  |  Branch (396:7): [True: 54, False: 1.35k]
  ------------------
  397|     54|        switch (Name[2]) {
  398|     42|        default: break;
  ------------------
  |  Branch (398:9): [True: 42, False: 12]
  ------------------
  399|     42|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (399:9): [True: 1, False: 53]
  ------------------
  400|      1|          return 41;	 // "rip"
  401|     11|        case 'z':	 // 1 string to match.
  ------------------
  |  Branch (401:9): [True: 11, False: 43]
  ------------------
  402|     11|          return 42;	 // "riz"
  403|     54|        }
  404|     42|        break;
  405|     42|      case 's':	 // 2 strings to match.
  ------------------
  |  Branch (405:7): [True: 42, False: 1.37k]
  ------------------
  406|     42|        switch (Name[2]) {
  407|     36|        default: break;
  ------------------
  |  Branch (407:9): [True: 36, False: 6]
  ------------------
  408|     36|        case 'i':	 // 1 string to match.
  ------------------
  |  Branch (408:9): [True: 6, False: 36]
  ------------------
  409|      6|          return 43;	 // "rsi"
  410|      0|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (410:9): [True: 0, False: 42]
  ------------------
  411|      0|          return 44;	 // "rsp"
  412|     42|        }
  413|     36|        break;
  414|  1.41k|      }
  415|  1.03k|      break;
  416|  1.03k|    case 's':	 // 2 strings to match.
  ------------------
  |  Branch (416:5): [True: 525, False: 9.67k]
  ------------------
  417|    525|      switch (Name[1]) {
  418|    379|      default: break;
  ------------------
  |  Branch (418:7): [True: 379, False: 146]
  ------------------
  419|    379|      case 'i':	 // 1 string to match.
  ------------------
  |  Branch (419:7): [True: 60, False: 465]
  ------------------
  420|     60|        if (Name[2] != 'l')
  ------------------
  |  Branch (420:13): [True: 48, False: 12]
  ------------------
  421|     48|          break;
  422|     12|        return 46;	 // "sil"
  423|     86|      case 'p':	 // 1 string to match.
  ------------------
  |  Branch (423:7): [True: 86, False: 439]
  ------------------
  424|     86|        if (Name[2] != 'l')
  ------------------
  |  Branch (424:13): [True: 51, False: 35]
  ------------------
  425|     51|          break;
  426|     35|        return 48;	 // "spl"
  427|    525|      }
  428|    478|      break;
  429|  10.1k|    }
  430|  9.25k|    break;
  431|  9.25k|  case 4:	 // 65 strings to match.
  ------------------
  |  Branch (431:3): [True: 7.62k, False: 59.5k]
  ------------------
  432|  7.62k|    switch (Name[0]) {
  433|  2.56k|    default: break;
  ------------------
  |  Branch (433:5): [True: 2.56k, False: 5.05k]
  ------------------
  434|  2.56k|    case 'b':	 // 4 strings to match.
  ------------------
  |  Branch (434:5): [True: 297, False: 7.32k]
  ------------------
  435|    297|      if (memcmp(Name.data()+1, "nd", 2))
  ------------------
  |  Branch (435:11): [True: 276, False: 21]
  ------------------
  436|    276|        break;
  437|     21|      switch (Name[3]) {
  438|     11|      default: break;
  ------------------
  |  Branch (438:7): [True: 11, False: 10]
  ------------------
  439|     11|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (439:7): [True: 0, False: 21]
  ------------------
  440|      0|        return 50;	 // "bnd0"
  441|      0|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (441:7): [True: 0, False: 21]
  ------------------
  442|      0|        return 51;	 // "bnd1"
  443|      4|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (443:7): [True: 4, False: 17]
  ------------------
  444|      4|        return 52;	 // "bnd2"
  445|      6|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (445:7): [True: 6, False: 15]
  ------------------
  446|      6|        return 53;	 // "bnd3"
  447|     21|      }
  448|     11|      break;
  449|  1.92k|    case 'c':	 // 6 strings to match.
  ------------------
  |  Branch (449:5): [True: 1.92k, False: 5.70k]
  ------------------
  450|  1.92k|      if (memcmp(Name.data()+1, "r1", 2))
  ------------------
  |  Branch (450:11): [True: 1.44k, False: 478]
  ------------------
  451|  1.44k|        break;
  452|    478|      switch (Name[3]) {
  453|     23|      default: break;
  ------------------
  |  Branch (453:7): [True: 23, False: 455]
  ------------------
  454|     23|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (454:7): [True: 10, False: 468]
  ------------------
  455|     10|        return 64;	 // "cr10"
  456|     45|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (456:7): [True: 45, False: 433]
  ------------------
  457|     45|        return 65;	 // "cr11"
  458|     47|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (458:7): [True: 47, False: 431]
  ------------------
  459|     47|        return 66;	 // "cr12"
  460|    203|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (460:7): [True: 203, False: 275]
  ------------------
  461|    203|        return 67;	 // "cr13"
  462|    129|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (462:7): [True: 129, False: 349]
  ------------------
  463|    129|        return 68;	 // "cr14"
  464|     21|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (464:7): [True: 21, False: 457]
  ------------------
  465|     21|        return 69;	 // "cr15"
  466|    478|      }
  467|     23|      break;
  468|    323|    case 'd':	 // 6 strings to match.
  ------------------
  |  Branch (468:5): [True: 323, False: 7.30k]
  ------------------
  469|    323|      if (memcmp(Name.data()+1, "r1", 2))
  ------------------
  |  Branch (469:11): [True: 244, False: 79]
  ------------------
  470|    244|        break;
  471|     79|      switch (Name[3]) {
  472|      8|      default: break;
  ------------------
  |  Branch (472:7): [True: 8, False: 71]
  ------------------
  473|      8|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (473:7): [True: 5, False: 74]
  ------------------
  474|      5|        return 80;	 // "dr10"
  475|     36|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (475:7): [True: 36, False: 43]
  ------------------
  476|     36|        return 81;	 // "dr11"
  477|      3|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (477:7): [True: 3, False: 76]
  ------------------
  478|      3|        return 82;	 // "dr12"
  479|      1|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (479:7): [True: 1, False: 78]
  ------------------
  480|      1|        return 83;	 // "dr13"
  481|      0|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (481:7): [True: 0, False: 79]
  ------------------
  482|      0|        return 84;	 // "dr14"
  483|     26|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (483:7): [True: 26, False: 53]
  ------------------
  484|     26|        return 85;	 // "dr15"
  485|     79|      }
  486|      8|      break;
  487|    502|    case 'f':	 // 1 string to match.
  ------------------
  |  Branch (487:5): [True: 502, False: 7.12k]
  ------------------
  488|    502|      if (memcmp(Name.data()+1, "psw", 3))
  ------------------
  |  Branch (488:11): [True: 482, False: 20]
  ------------------
  489|    482|        break;
  490|     20|      return 31;	 // "fpsw"
  491|  1.08k|    case 'r':	 // 18 strings to match.
  ------------------
  |  Branch (491:5): [True: 1.08k, False: 6.53k]
  ------------------
  492|  1.08k|      if (Name[1] != '1')
  ------------------
  |  Branch (492:11): [True: 351, False: 734]
  ------------------
  493|    351|        break;
  494|    734|      switch (Name[2]) {
  495|     74|      default: break;
  ------------------
  |  Branch (495:7): [True: 74, False: 660]
  ------------------
  496|     82|      case '0':	 // 3 strings to match.
  ------------------
  |  Branch (496:7): [True: 82, False: 652]
  ------------------
  497|     82|        switch (Name[3]) {
  498|     30|        default: break;
  ------------------
  |  Branch (498:9): [True: 30, False: 52]
  ------------------
  499|     30|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (499:9): [True: 12, False: 70]
  ------------------
  500|     12|          return 224;	 // "r10b"
  501|     21|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (501:9): [True: 21, False: 61]
  ------------------
  502|     21|          return 232;	 // "r10d"
  503|     19|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (503:9): [True: 19, False: 63]
  ------------------
  504|     19|          return 240;	 // "r10w"
  505|     82|        }
  506|     30|        break;
  507|    136|      case '1':	 // 3 strings to match.
  ------------------
  |  Branch (507:7): [True: 136, False: 598]
  ------------------
  508|    136|        switch (Name[3]) {
  509|     95|        default: break;
  ------------------
  |  Branch (509:9): [True: 95, False: 41]
  ------------------
  510|     95|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (510:9): [True: 11, False: 125]
  ------------------
  511|     11|          return 225;	 // "r11b"
  512|     20|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (512:9): [True: 20, False: 116]
  ------------------
  513|     20|          return 233;	 // "r11d"
  514|     10|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (514:9): [True: 10, False: 126]
  ------------------
  515|     10|          return 241;	 // "r11w"
  516|    136|        }
  517|     95|        break;
  518|    156|      case '2':	 // 3 strings to match.
  ------------------
  |  Branch (518:7): [True: 156, False: 578]
  ------------------
  519|    156|        switch (Name[3]) {
  520|     62|        default: break;
  ------------------
  |  Branch (520:9): [True: 62, False: 94]
  ------------------
  521|     62|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (521:9): [True: 40, False: 116]
  ------------------
  522|     40|          return 226;	 // "r12b"
  523|     20|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (523:9): [True: 20, False: 136]
  ------------------
  524|     20|          return 234;	 // "r12d"
  525|     34|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (525:9): [True: 34, False: 122]
  ------------------
  526|     34|          return 242;	 // "r12w"
  527|    156|        }
  528|     62|        break;
  529|     63|      case '3':	 // 3 strings to match.
  ------------------
  |  Branch (529:7): [True: 63, False: 671]
  ------------------
  530|     63|        switch (Name[3]) {
  531|     18|        default: break;
  ------------------
  |  Branch (531:9): [True: 18, False: 45]
  ------------------
  532|     22|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (532:9): [True: 22, False: 41]
  ------------------
  533|     22|          return 227;	 // "r13b"
  534|     12|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (534:9): [True: 12, False: 51]
  ------------------
  535|     12|          return 235;	 // "r13d"
  536|     11|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (536:9): [True: 11, False: 52]
  ------------------
  537|     11|          return 243;	 // "r13w"
  538|     63|        }
  539|     18|        break;
  540|    113|      case '4':	 // 3 strings to match.
  ------------------
  |  Branch (540:7): [True: 113, False: 621]
  ------------------
  541|    113|        switch (Name[3]) {
  542|     60|        default: break;
  ------------------
  |  Branch (542:9): [True: 60, False: 53]
  ------------------
  543|     60|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (543:9): [True: 9, False: 104]
  ------------------
  544|      9|          return 228;	 // "r14b"
  545|     11|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (545:9): [True: 11, False: 102]
  ------------------
  546|     11|          return 236;	 // "r14d"
  547|     33|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (547:9): [True: 33, False: 80]
  ------------------
  548|     33|          return 244;	 // "r14w"
  549|    113|        }
  550|     60|        break;
  551|    110|      case '5':	 // 3 strings to match.
  ------------------
  |  Branch (551:7): [True: 110, False: 624]
  ------------------
  552|    110|        switch (Name[3]) {
  553|     55|        default: break;
  ------------------
  |  Branch (553:9): [True: 55, False: 55]
  ------------------
  554|     55|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (554:9): [True: 11, False: 99]
  ------------------
  555|     11|          return 229;	 // "r15b"
  556|      3|        case 'd':	 // 1 string to match.
  ------------------
  |  Branch (556:9): [True: 3, False: 107]
  ------------------
  557|      3|          return 237;	 // "r15d"
  558|     41|        case 'w':	 // 1 string to match.
  ------------------
  |  Branch (558:9): [True: 41, False: 69]
  ------------------
  559|     41|          return 245;	 // "r15w"
  560|    110|        }
  561|     55|        break;
  562|    734|      }
  563|    394|      break;
  564|    394|    case 'x':	 // 10 strings to match.
  ------------------
  |  Branch (564:5): [True: 339, False: 7.28k]
  ------------------
  565|    339|      if (memcmp(Name.data()+1, "mm", 2))
  ------------------
  |  Branch (565:11): [True: 270, False: 69]
  ------------------
  566|    270|        break;
  567|     69|      switch (Name[3]) {
  568|     18|      default: break;
  ------------------
  |  Branch (568:7): [True: 18, False: 51]
  ------------------
  569|     18|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (569:7): [True: 5, False: 64]
  ------------------
  570|      5|        return 126;	 // "xmm0"
  571|      6|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (571:7): [True: 6, False: 63]
  ------------------
  572|      6|        return 127;	 // "xmm1"
  573|      6|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (573:7): [True: 6, False: 63]
  ------------------
  574|      6|        return 128;	 // "xmm2"
  575|      3|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (575:7): [True: 3, False: 66]
  ------------------
  576|      3|        return 129;	 // "xmm3"
  577|      7|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (577:7): [True: 7, False: 62]
  ------------------
  578|      7|        return 130;	 // "xmm4"
  579|      2|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (579:7): [True: 2, False: 67]
  ------------------
  580|      2|        return 131;	 // "xmm5"
  581|     19|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (581:7): [True: 19, False: 50]
  ------------------
  582|     19|        return 132;	 // "xmm6"
  583|      2|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (583:7): [True: 2, False: 67]
  ------------------
  584|      2|        return 133;	 // "xmm7"
  585|      1|      case '8':	 // 1 string to match.
  ------------------
  |  Branch (585:7): [True: 1, False: 68]
  ------------------
  586|      1|        return 134;	 // "xmm8"
  587|      0|      case '9':	 // 1 string to match.
  ------------------
  |  Branch (587:7): [True: 0, False: 69]
  ------------------
  588|      0|        return 135;	 // "xmm9"
  589|     69|      }
  590|     18|      break;
  591|    334|    case 'y':	 // 10 strings to match.
  ------------------
  |  Branch (591:5): [True: 334, False: 7.28k]
  ------------------
  592|    334|      if (memcmp(Name.data()+1, "mm", 2))
  ------------------
  |  Branch (592:11): [True: 185, False: 149]
  ------------------
  593|    185|        break;
  594|    149|      switch (Name[3]) {
  595|     58|      default: break;
  ------------------
  |  Branch (595:7): [True: 58, False: 91]
  ------------------
  596|     58|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (596:7): [True: 1, False: 148]
  ------------------
  597|      1|        return 158;	 // "ymm0"
  598|      5|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (598:7): [True: 5, False: 144]
  ------------------
  599|      5|        return 159;	 // "ymm1"
  600|      9|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (600:7): [True: 9, False: 140]
  ------------------
  601|      9|        return 160;	 // "ymm2"
  602|      4|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (602:7): [True: 4, False: 145]
  ------------------
  603|      4|        return 161;	 // "ymm3"
  604|      5|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (604:7): [True: 5, False: 144]
  ------------------
  605|      5|        return 162;	 // "ymm4"
  606|      3|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (606:7): [True: 3, False: 146]
  ------------------
  607|      3|        return 163;	 // "ymm5"
  608|     18|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (608:7): [True: 18, False: 131]
  ------------------
  609|     18|        return 164;	 // "ymm6"
  610|      1|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (610:7): [True: 1, False: 148]
  ------------------
  611|      1|        return 165;	 // "ymm7"
  612|     23|      case '8':	 // 1 string to match.
  ------------------
  |  Branch (612:7): [True: 23, False: 126]
  ------------------
  613|     23|        return 166;	 // "ymm8"
  614|     22|      case '9':	 // 1 string to match.
  ------------------
  |  Branch (614:7): [True: 22, False: 127]
  ------------------
  615|     22|        return 167;	 // "ymm9"
  616|    149|      }
  617|     58|      break;
  618|    258|    case 'z':	 // 10 strings to match.
  ------------------
  |  Branch (618:5): [True: 258, False: 7.36k]
  ------------------
  619|    258|      if (memcmp(Name.data()+1, "mm", 2))
  ------------------
  |  Branch (619:11): [True: 186, False: 72]
  ------------------
  620|    186|        break;
  621|     72|      switch (Name[3]) {
  622|     37|      default: break;
  ------------------
  |  Branch (622:7): [True: 37, False: 35]
  ------------------
  623|     37|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (623:7): [True: 2, False: 70]
  ------------------
  624|      2|        return 190;	 // "zmm0"
  625|      4|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (625:7): [True: 4, False: 68]
  ------------------
  626|      4|        return 191;	 // "zmm1"
  627|     12|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (627:7): [True: 12, False: 60]
  ------------------
  628|     12|        return 192;	 // "zmm2"
  629|      1|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (629:7): [True: 1, False: 71]
  ------------------
  630|      1|        return 193;	 // "zmm3"
  631|      1|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (631:7): [True: 1, False: 71]
  ------------------
  632|      1|        return 194;	 // "zmm4"
  633|      4|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (633:7): [True: 4, False: 68]
  ------------------
  634|      4|        return 195;	 // "zmm5"
  635|      1|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (635:7): [True: 1, False: 71]
  ------------------
  636|      1|        return 196;	 // "zmm6"
  637|      1|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (637:7): [True: 1, False: 71]
  ------------------
  638|      1|        return 197;	 // "zmm7"
  639|      6|      case '8':	 // 1 string to match.
  ------------------
  |  Branch (639:7): [True: 6, False: 66]
  ------------------
  640|      6|        return 198;	 // "zmm8"
  641|      3|      case '9':	 // 1 string to match.
  ------------------
  |  Branch (641:7): [True: 3, False: 69]
  ------------------
  642|      3|        return 199;	 // "zmm9"
  643|     72|      }
  644|     37|      break;
  645|  7.62k|    }
  646|  6.55k|    break;
  647|  6.55k|  case 5:	 // 75 strings to match.
  ------------------
  |  Branch (647:3): [True: 4.09k, False: 63.0k]
  ------------------
  648|  4.09k|    switch (Name[0]) {
  649|  1.81k|    default: break;
  ------------------
  |  Branch (649:5): [True: 1.81k, False: 2.27k]
  ------------------
  650|  1.81k|    case 'f':	 // 1 string to match.
  ------------------
  |  Branch (650:5): [True: 416, False: 3.67k]
  ------------------
  651|    416|      if (memcmp(Name.data()+1, "lags", 4))
  ------------------
  |  Branch (651:11): [True: 404, False: 12]
  ------------------
  652|    404|        break;
  653|     12|      return 25;	 // "flags"
  654|    239|    case 's':	 // 8 strings to match.
  ------------------
  |  Branch (654:5): [True: 239, False: 3.85k]
  ------------------
  655|    239|      if (memcmp(Name.data()+1, "t(", 2))
  ------------------
  |  Branch (655:11): [True: 239, False: 0]
  ------------------
  656|    239|        break;
  657|      0|      switch (Name[3]) {
  658|      0|      default: break;
  ------------------
  |  Branch (658:7): [True: 0, False: 0]
  ------------------
  659|      0|      case '0':	 // 1 string to match.
  ------------------
  |  Branch (659:7): [True: 0, False: 0]
  ------------------
  660|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (660:13): [True: 0, False: 0]
  ------------------
  661|      0|          break;
  662|      0|        return 118;	 // "st(0)"
  663|      0|      case '1':	 // 1 string to match.
  ------------------
  |  Branch (663:7): [True: 0, False: 0]
  ------------------
  664|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (664:13): [True: 0, False: 0]
  ------------------
  665|      0|          break;
  666|      0|        return 119;	 // "st(1)"
  667|      0|      case '2':	 // 1 string to match.
  ------------------
  |  Branch (667:7): [True: 0, False: 0]
  ------------------
  668|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (668:13): [True: 0, False: 0]
  ------------------
  669|      0|          break;
  670|      0|        return 120;	 // "st(2)"
  671|      0|      case '3':	 // 1 string to match.
  ------------------
  |  Branch (671:7): [True: 0, False: 0]
  ------------------
  672|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (672:13): [True: 0, False: 0]
  ------------------
  673|      0|          break;
  674|      0|        return 121;	 // "st(3)"
  675|      0|      case '4':	 // 1 string to match.
  ------------------
  |  Branch (675:7): [True: 0, False: 0]
  ------------------
  676|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (676:13): [True: 0, False: 0]
  ------------------
  677|      0|          break;
  678|      0|        return 122;	 // "st(4)"
  679|      0|      case '5':	 // 1 string to match.
  ------------------
  |  Branch (679:7): [True: 0, False: 0]
  ------------------
  680|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (680:13): [True: 0, False: 0]
  ------------------
  681|      0|          break;
  682|      0|        return 123;	 // "st(5)"
  683|      0|      case '6':	 // 1 string to match.
  ------------------
  |  Branch (683:7): [True: 0, False: 0]
  ------------------
  684|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (684:13): [True: 0, False: 0]
  ------------------
  685|      0|          break;
  686|      0|        return 124;	 // "st(6)"
  687|      0|      case '7':	 // 1 string to match.
  ------------------
  |  Branch (687:7): [True: 0, False: 0]
  ------------------
  688|      0|        if (Name[4] != ')')
  ------------------
  |  Branch (688:13): [True: 0, False: 0]
  ------------------
  689|      0|          break;
  690|      0|        return 125;	 // "st(7)"
  691|      0|      }
  692|      0|      break;
  693|    430|    case 'x':	 // 22 strings to match.
  ------------------
  |  Branch (693:5): [True: 430, False: 3.66k]
  ------------------
  694|    430|      if (memcmp(Name.data()+1, "mm", 2))
  ------------------
  |  Branch (694:11): [True: 253, False: 177]
  ------------------
  695|    253|        break;
  696|    177|      switch (Name[3]) {
  697|     67|      default: break;
  ------------------
  |  Branch (697:7): [True: 67, False: 110]
  ------------------
  698|     67|      case '1':	 // 10 strings to match.
  ------------------
  |  Branch (698:7): [True: 33, False: 144]
  ------------------
  699|     33|        switch (Name[4]) {
  700|      8|        default: break;
  ------------------
  |  Branch (700:9): [True: 8, False: 25]
  ------------------
  701|     13|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (701:9): [True: 13, False: 20]
  ------------------
  702|     13|          return 136;	 // "xmm10"
  703|      0|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (703:9): [True: 0, False: 33]
  ------------------
  704|      0|          return 137;	 // "xmm11"
  705|      1|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (705:9): [True: 1, False: 32]
  ------------------
  706|      1|          return 138;	 // "xmm12"
  707|      3|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (707:9): [True: 3, False: 30]
  ------------------
  708|      3|          return 139;	 // "xmm13"
  709|      0|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (709:9): [True: 0, False: 33]
  ------------------
  710|      0|          return 140;	 // "xmm14"
  711|      3|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (711:9): [True: 3, False: 30]
  ------------------
  712|      3|          return 141;	 // "xmm15"
  713|      1|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (713:9): [True: 1, False: 32]
  ------------------
  714|      1|          return 142;	 // "xmm16"
  715|      1|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (715:9): [True: 1, False: 32]
  ------------------
  716|      1|          return 143;	 // "xmm17"
  717|      1|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (717:9): [True: 1, False: 32]
  ------------------
  718|      1|          return 144;	 // "xmm18"
  719|      2|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (719:9): [True: 2, False: 31]
  ------------------
  720|      2|          return 145;	 // "xmm19"
  721|     33|        }
  722|      8|        break;
  723|     60|      case '2':	 // 10 strings to match.
  ------------------
  |  Branch (723:7): [True: 60, False: 117]
  ------------------
  724|     60|        switch (Name[4]) {
  725|     26|        default: break;
  ------------------
  |  Branch (725:9): [True: 26, False: 34]
  ------------------
  726|     26|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (726:9): [True: 3, False: 57]
  ------------------
  727|      3|          return 146;	 // "xmm20"
  728|      1|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (728:9): [True: 1, False: 59]
  ------------------
  729|      1|          return 147;	 // "xmm21"
  730|      1|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (730:9): [True: 1, False: 59]
  ------------------
  731|      1|          return 148;	 // "xmm22"
  732|      3|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (732:9): [True: 3, False: 57]
  ------------------
  733|      3|          return 149;	 // "xmm23"
  734|      1|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (734:9): [True: 1, False: 59]
  ------------------
  735|      1|          return 150;	 // "xmm24"
  736|      5|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (736:9): [True: 5, False: 55]
  ------------------
  737|      5|          return 151;	 // "xmm25"
  738|      3|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (738:9): [True: 3, False: 57]
  ------------------
  739|      3|          return 152;	 // "xmm26"
  740|      4|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (740:9): [True: 4, False: 56]
  ------------------
  741|      4|          return 153;	 // "xmm27"
  742|      9|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (742:9): [True: 9, False: 51]
  ------------------
  743|      9|          return 154;	 // "xmm28"
  744|      4|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (744:9): [True: 4, False: 56]
  ------------------
  745|      4|          return 155;	 // "xmm29"
  746|     60|        }
  747|     26|        break;
  748|     26|      case '3':	 // 2 strings to match.
  ------------------
  |  Branch (748:7): [True: 17, False: 160]
  ------------------
  749|     17|        switch (Name[4]) {
  750|      5|        default: break;
  ------------------
  |  Branch (750:9): [True: 5, False: 12]
  ------------------
  751|     11|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (751:9): [True: 11, False: 6]
  ------------------
  752|     11|          return 156;	 // "xmm30"
  753|      1|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (753:9): [True: 1, False: 16]
  ------------------
  754|      1|          return 157;	 // "xmm31"
  755|     17|        }
  756|      5|        break;
  757|    177|      }
  758|    106|      break;
  759|    743|    case 'y':	 // 22 strings to match.
  ------------------
  |  Branch (759:5): [True: 743, False: 3.35k]
  ------------------
  760|    743|      if (memcmp(Name.data()+1, "mm", 2))
  ------------------
  |  Branch (760:11): [True: 418, False: 325]
  ------------------
  761|    418|        break;
  762|    325|      switch (Name[3]) {
  763|     46|      default: break;
  ------------------
  |  Branch (763:7): [True: 46, False: 279]
  ------------------
  764|     76|      case '1':	 // 10 strings to match.
  ------------------
  |  Branch (764:7): [True: 76, False: 249]
  ------------------
  765|     76|        switch (Name[4]) {
  766|     22|        default: break;
  ------------------
  |  Branch (766:9): [True: 22, False: 54]
  ------------------
  767|     22|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (767:9): [True: 12, False: 64]
  ------------------
  768|     12|          return 168;	 // "ymm10"
  769|      6|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (769:9): [True: 6, False: 70]
  ------------------
  770|      6|          return 169;	 // "ymm11"
  771|      1|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (771:9): [True: 1, False: 75]
  ------------------
  772|      1|          return 170;	 // "ymm12"
  773|      3|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (773:9): [True: 3, False: 73]
  ------------------
  774|      3|          return 171;	 // "ymm13"
  775|      0|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (775:9): [True: 0, False: 76]
  ------------------
  776|      0|          return 172;	 // "ymm14"
  777|     22|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (777:9): [True: 22, False: 54]
  ------------------
  778|     22|          return 173;	 // "ymm15"
  779|      3|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (779:9): [True: 3, False: 73]
  ------------------
  780|      3|          return 174;	 // "ymm16"
  781|      6|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (781:9): [True: 6, False: 70]
  ------------------
  782|      6|          return 175;	 // "ymm17"
  783|      1|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (783:9): [True: 1, False: 75]
  ------------------
  784|      1|          return 176;	 // "ymm18"
  785|      0|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (785:9): [True: 0, False: 76]
  ------------------
  786|      0|          return 177;	 // "ymm19"
  787|     76|        }
  788|     22|        break;
  789|    156|      case '2':	 // 10 strings to match.
  ------------------
  |  Branch (789:7): [True: 156, False: 169]
  ------------------
  790|    156|        switch (Name[4]) {
  791|     13|        default: break;
  ------------------
  |  Branch (791:9): [True: 13, False: 143]
  ------------------
  792|     13|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (792:9): [True: 3, False: 153]
  ------------------
  793|      3|          return 178;	 // "ymm20"
  794|      5|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (794:9): [True: 5, False: 151]
  ------------------
  795|      5|          return 179;	 // "ymm21"
  796|      1|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (796:9): [True: 1, False: 155]
  ------------------
  797|      1|          return 180;	 // "ymm22"
  798|      3|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (798:9): [True: 3, False: 153]
  ------------------
  799|      3|          return 181;	 // "ymm23"
  800|      3|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (800:9): [True: 3, False: 153]
  ------------------
  801|      3|          return 182;	 // "ymm24"
  802|      4|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (802:9): [True: 4, False: 152]
  ------------------
  803|      4|          return 183;	 // "ymm25"
  804|     41|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (804:9): [True: 41, False: 115]
  ------------------
  805|     41|          return 184;	 // "ymm26"
  806|      1|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (806:9): [True: 1, False: 155]
  ------------------
  807|      1|          return 185;	 // "ymm27"
  808|     32|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (808:9): [True: 32, False: 124]
  ------------------
  809|     32|          return 186;	 // "ymm28"
  810|     50|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (810:9): [True: 50, False: 106]
  ------------------
  811|     50|          return 187;	 // "ymm29"
  812|    156|        }
  813|     13|        break;
  814|     47|      case '3':	 // 2 strings to match.
  ------------------
  |  Branch (814:7): [True: 47, False: 278]
  ------------------
  815|     47|        switch (Name[4]) {
  816|     31|        default: break;
  ------------------
  |  Branch (816:9): [True: 31, False: 16]
  ------------------
  817|     31|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (817:9): [True: 5, False: 42]
  ------------------
  818|      5|          return 188;	 // "ymm30"
  819|     11|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (819:9): [True: 11, False: 36]
  ------------------
  820|     11|          return 189;	 // "ymm31"
  821|     47|        }
  822|     31|        break;
  823|    325|      }
  824|    112|      break;
  825|    451|    case 'z':	 // 22 strings to match.
  ------------------
  |  Branch (825:5): [True: 451, False: 3.64k]
  ------------------
  826|    451|      if (memcmp(Name.data()+1, "mm", 2))
  ------------------
  |  Branch (826:11): [True: 275, False: 176]
  ------------------
  827|    275|        break;
  828|    176|      switch (Name[3]) {
  829|     23|      default: break;
  ------------------
  |  Branch (829:7): [True: 23, False: 153]
  ------------------
  830|     52|      case '1':	 // 10 strings to match.
  ------------------
  |  Branch (830:7): [True: 52, False: 124]
  ------------------
  831|     52|        switch (Name[4]) {
  832|     10|        default: break;
  ------------------
  |  Branch (832:9): [True: 10, False: 42]
  ------------------
  833|     10|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (833:9): [True: 6, False: 46]
  ------------------
  834|      6|          return 200;	 // "zmm10"
  835|      4|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (835:9): [True: 4, False: 48]
  ------------------
  836|      4|          return 201;	 // "zmm11"
  837|      7|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (837:9): [True: 7, False: 45]
  ------------------
  838|      7|          return 202;	 // "zmm12"
  839|      6|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (839:9): [True: 6, False: 46]
  ------------------
  840|      6|          return 203;	 // "zmm13"
  841|      4|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (841:9): [True: 4, False: 48]
  ------------------
  842|      4|          return 204;	 // "zmm14"
  843|      3|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (843:9): [True: 3, False: 49]
  ------------------
  844|      3|          return 205;	 // "zmm15"
  845|      1|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (845:9): [True: 1, False: 51]
  ------------------
  846|      1|          return 206;	 // "zmm16"
  847|      7|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (847:9): [True: 7, False: 45]
  ------------------
  848|      7|          return 207;	 // "zmm17"
  849|      1|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (849:9): [True: 1, False: 51]
  ------------------
  850|      1|          return 208;	 // "zmm18"
  851|      3|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (851:9): [True: 3, False: 49]
  ------------------
  852|      3|          return 209;	 // "zmm19"
  853|     52|        }
  854|     10|        break;
  855|     82|      case '2':	 // 10 strings to match.
  ------------------
  |  Branch (855:7): [True: 82, False: 94]
  ------------------
  856|     82|        switch (Name[4]) {
  857|     17|        default: break;
  ------------------
  |  Branch (857:9): [True: 17, False: 65]
  ------------------
  858|     17|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (858:9): [True: 0, False: 82]
  ------------------
  859|      0|          return 210;	 // "zmm20"
  860|      0|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (860:9): [True: 0, False: 82]
  ------------------
  861|      0|          return 211;	 // "zmm21"
  862|      0|        case '2':	 // 1 string to match.
  ------------------
  |  Branch (862:9): [True: 0, False: 82]
  ------------------
  863|      0|          return 212;	 // "zmm22"
  864|      1|        case '3':	 // 1 string to match.
  ------------------
  |  Branch (864:9): [True: 1, False: 81]
  ------------------
  865|      1|          return 213;	 // "zmm23"
  866|      2|        case '4':	 // 1 string to match.
  ------------------
  |  Branch (866:9): [True: 2, False: 80]
  ------------------
  867|      2|          return 214;	 // "zmm24"
  868|      0|        case '5':	 // 1 string to match.
  ------------------
  |  Branch (868:9): [True: 0, False: 82]
  ------------------
  869|      0|          return 215;	 // "zmm25"
  870|     12|        case '6':	 // 1 string to match.
  ------------------
  |  Branch (870:9): [True: 12, False: 70]
  ------------------
  871|     12|          return 216;	 // "zmm26"
  872|     10|        case '7':	 // 1 string to match.
  ------------------
  |  Branch (872:9): [True: 10, False: 72]
  ------------------
  873|     10|          return 217;	 // "zmm27"
  874|     34|        case '8':	 // 1 string to match.
  ------------------
  |  Branch (874:9): [True: 34, False: 48]
  ------------------
  875|     34|          return 218;	 // "zmm28"
  876|      6|        case '9':	 // 1 string to match.
  ------------------
  |  Branch (876:9): [True: 6, False: 76]
  ------------------
  877|      6|          return 219;	 // "zmm29"
  878|     82|        }
  879|     17|        break;
  880|     19|      case '3':	 // 2 strings to match.
  ------------------
  |  Branch (880:7): [True: 19, False: 157]
  ------------------
  881|     19|        switch (Name[4]) {
  882|      8|        default: break;
  ------------------
  |  Branch (882:9): [True: 8, False: 11]
  ------------------
  883|     10|        case '0':	 // 1 string to match.
  ------------------
  |  Branch (883:9): [True: 10, False: 9]
  ------------------
  884|     10|          return 220;	 // "zmm30"
  885|      1|        case '1':	 // 1 string to match.
  ------------------
  |  Branch (885:9): [True: 1, False: 18]
  ------------------
  886|      1|          return 221;	 // "zmm31"
  887|     19|        }
  888|      8|        break;
  889|    176|      }
  890|     58|      break;
  891|  4.09k|    }
  892|  3.67k|    break;
  893|  67.1k|  }
  894|  61.8k|  return 0;
  895|  67.1k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser20MatchInstructionImplERKN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEERNS1_6MCInstERmbj:
33834|   120k|                     bool matchingInlineAsm, unsigned VariantID) {
33835|       |  // Eliminate obvious mismatches.
33836|   120k|  if (Operands.size() > 10) {
  ------------------
  |  Branch (33836:7): [True: 640, False: 119k]
  ------------------
33837|    640|    ErrorInfo = 10;
33838|    640|    return Match_InvalidOperand;
33839|    640|  }
33840|       |
33841|       |  // Get the current feature set.
33842|   119k|  uint64_t AvailableFeatures = getAvailableFeatures();
33843|       |
33844|       |  // Get the instruction mnemonic, which is the first token.
33845|   119k|  StringRef Mnemonic = ((X86Operand&)*Operands[0]).getToken();
33846|       |
33847|       |  // Process all MnemonicAliases to remap the mnemonic.
33848|   119k|  applyMnemonicAliases(Mnemonic, AvailableFeatures, VariantID);
33849|       |
33850|       |  // Some state to try to produce better error messages.
33851|   119k|  bool HadMatchOtherThanFeatures = false;
33852|   119k|  bool HadMatchOtherThanPredicate = false;
33853|   119k|  unsigned RetCode = Match_InvalidOperand;
33854|   119k|  uint64_t MissingFeatures = ~0ULL;
33855|       |  // Set ErrorInfo to the operand that mismatches if it is
33856|       |  // wrong for all instances of the instruction.
33857|   119k|  ErrorInfo = ~0ULL;
33858|       |  // Find the appropriate table for this asm variant.
33859|   119k|  const MatchEntry *Start, *End;
33860|   119k|  switch (VariantID) {
33861|      0|  default: llvm_unreachable("invalid variant!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (33861:3): [True: 0, False: 119k]
  ------------------
33862|  17.5k|  case 0: Start = std::begin(MatchTable0); End = std::end(MatchTable0); break;
  ------------------
  |  Branch (33862:3): [True: 17.5k, False: 102k]
  ------------------
33863|   102k|  case 1: Start = std::begin(MatchTable1); End = std::end(MatchTable1); break;
  ------------------
  |  Branch (33863:3): [True: 102k, False: 17.5k]
  ------------------
33864|   119k|  }
33865|       |  // Search the table.
33866|   119k|  auto MnemonicRange = std::equal_range(Start, End, Mnemonic, LessOpcode());
33867|       |
33868|       |  // Return a more specific error code if no mnemonics match.
33869|   119k|  if (MnemonicRange.first == MnemonicRange.second)
  ------------------
  |  Branch (33869:7): [True: 20.2k, False: 99.4k]
  ------------------
33870|  20.2k|    return Match_MnemonicFail;
33871|       |
33872|  99.4k|  for (const MatchEntry *it = MnemonicRange.first, *ie = MnemonicRange.second;
33873|   433k|       it != ie; ++it) {
  ------------------
  |  Branch (33873:8): [True: 394k, False: 38.4k]
  ------------------
33874|       |    // equal_range guarantees that instruction mnemonic matches.
33875|   394k|    assert(Mnemonic == it->getMnemonic());
  ------------------
  |  Branch (33875:5): [True: 394k, False: 0]
  ------------------
33876|   394k|    bool OperandsValid = true;
33877|   511k|    for (unsigned i = 0; i != 9; ++i) {
  ------------------
  |  Branch (33877:26): [True: 511k, False: 0]
  ------------------
33878|   511k|      auto Formal = static_cast<MatchClassKind>(it->Classes[i]);
33879|   511k|      if (i+1 >= Operands.size()) {
  ------------------
  |  Branch (33879:11): [True: 64.6k, False: 446k]
  ------------------
33880|  64.6k|        OperandsValid = (Formal == InvalidMatchClass);
33881|  64.6k|        if (!OperandsValid) ErrorInfo = i+1;
  ------------------
  |  Branch (33881:13): [True: 2.81k, False: 61.8k]
  ------------------
33882|  64.6k|        break;
33883|  64.6k|      }
33884|   446k|      MCParsedAsmOperand &Actual = *Operands[i+1];
33885|   446k|      unsigned Diag = validateOperandClass(Actual, Formal);
33886|   446k|      if (Diag == Match_Success)
  ------------------
  |  Branch (33886:11): [True: 116k, False: 330k]
  ------------------
33887|   116k|        continue;
33888|       |      // If the generic handler indicates an invalid operand
33889|       |      // failure, check for a special case.
33890|   330k|      if (Diag == Match_InvalidOperand) {
  ------------------
  |  Branch (33890:11): [True: 330k, False: 0]
  ------------------
33891|   330k|        Diag = validateTargetOperandClass(Actual, Formal);
33892|   330k|        if (Diag == Match_Success)
  ------------------
  |  Branch (33892:13): [True: 0, False: 330k]
  ------------------
33893|      0|          continue;
33894|   330k|      }
33895|       |      // If this operand is broken for all of the instances of this
33896|       |      // mnemonic, keep track of it so we can report loc info.
33897|       |      // If we already had a match that only failed due to a
33898|       |      // target predicate, that diagnostic is preferred.
33899|   330k|      if (!HadMatchOtherThanPredicate &&
  ------------------
  |  Branch (33899:11): [True: 330k, False: 0]
  ------------------
33900|   330k|          (it == MnemonicRange.first || ErrorInfo <= i+1)) {
  ------------------
  |  Branch (33900:12): [True: 43.1k, False: 287k]
  |  Branch (33900:41): [True: 123k, False: 163k]
  ------------------
33901|   166k|        ErrorInfo = i+1;
33902|       |        // InvalidOperand is the default. Prefer specificity.
33903|   166k|        if (Diag != Match_InvalidOperand)
  ------------------
  |  Branch (33903:13): [True: 0, False: 166k]
  ------------------
33904|      0|          RetCode = Diag;
33905|   166k|      }
33906|       |      // Otherwise, just reject this instance of the mnemonic.
33907|   330k|      OperandsValid = false;
33908|   330k|      break;
33909|   330k|    }
33910|       |
33911|   394k|    if (!OperandsValid) continue;
  ------------------
  |  Branch (33911:9): [True: 333k, False: 61.8k]
  ------------------
33912|  61.8k|    if ((AvailableFeatures & it->RequiredFeatures) != it->RequiredFeatures) {
  ------------------
  |  Branch (33912:9): [True: 919, False: 60.9k]
  ------------------
33913|    919|      HadMatchOtherThanFeatures = true;
33914|    919|      uint64_t NewMissingFeatures = it->RequiredFeatures & ~AvailableFeatures;
33915|    919|      if (countPopulation(NewMissingFeatures) <=
  ------------------
  |  Branch (33915:11): [True: 919, False: 0]
  ------------------
33916|    919|          countPopulation(MissingFeatures))
33917|    919|        MissingFeatures = NewMissingFeatures;
33918|    919|      continue;
33919|    919|    }
33920|       |
33921|  60.9k|    Inst.clear();
33922|       |
33923|  60.9k|    if (matchingInlineAsm) {
  ------------------
  |  Branch (33923:9): [True: 0, False: 60.9k]
  ------------------
33924|      0|      Inst.setOpcode(it->Opcode);
33925|      0|      convertToMapAndConstraints(it->ConvertFn, Operands);
33926|      0|      return Match_Success;
33927|      0|    }
33928|       |
33929|       |    // We have selected a definite instruction, convert the parsed
33930|       |    // operands into the appropriate MCInst.
33931|  60.9k|    convertToMCInst(it->ConvertFn, Inst, it->Opcode, Operands);
33932|       |
33933|       |    // We have a potential match. Check the target predicate to
33934|       |    // handle any context sensitive constraints.
33935|  60.9k|    unsigned MatchResult;
33936|  60.9k|    if ((MatchResult = checkTargetMatchPredicate(Inst)) != Match_Success) {
  ------------------
  |  Branch (33936:9): [True: 0, False: 60.9k]
  ------------------
33937|      0|      Inst.clear();
33938|      0|      RetCode = MatchResult;
33939|      0|      HadMatchOtherThanPredicate = true;
33940|      0|      continue;
33941|      0|    }
33942|       |
33943|  60.9k|    return Match_Success;
33944|  60.9k|  }
33945|       |
33946|       |  // Okay, we had no match.  Try to return a useful error code.
33947|  38.4k|  if (HadMatchOtherThanPredicate || !HadMatchOtherThanFeatures)
  ------------------
  |  Branch (33947:7): [True: 0, False: 38.4k]
  |  Branch (33947:37): [True: 38.4k, False: 31]
  ------------------
33948|  38.4k|    return RetCode;
33949|       |
33950|       |  // Missing feature matches return which features were missing
33951|     31|  ErrorInfo = MissingFeatures;
33952|     31|  return Match_MissingFeature;
33953|  38.4k|}
X86AsmParser.cpp:_ZL20applyMnemonicAliasesRN7llvm_ks9StringRefEmj:
  931|   119k|static void applyMnemonicAliases(StringRef &Mnemonic, uint64_t Features, unsigned VariantID) {
  932|   119k|  switch (VariantID) {
  ------------------
  |  Branch (932:11): [True: 119k, False: 0]
  ------------------
  933|  17.5k|    case 0:
  ------------------
  |  Branch (933:5): [True: 17.5k, False: 102k]
  ------------------
  934|  17.5k|      switch (Mnemonic.size()) {
  935|  4.44k|      default: break;
  ------------------
  |  Branch (935:7): [True: 4.44k, False: 13.1k]
  ------------------
  936|  4.44k|      case 3:	 // 6 strings to match.
  ------------------
  |  Branch (936:7): [True: 3.40k, False: 14.1k]
  ------------------
  937|  3.40k|        switch (Mnemonic[0]) {
  938|  1.14k|        default: break;
  ------------------
  |  Branch (938:9): [True: 1.14k, False: 2.26k]
  ------------------
  939|  1.71k|        case 'c':	 // 4 strings to match.
  ------------------
  |  Branch (939:9): [True: 1.71k, False: 1.69k]
  ------------------
  940|  1.71k|          switch (Mnemonic[1]) {
  941|     78|          default: break;
  ------------------
  |  Branch (941:11): [True: 78, False: 1.63k]
  ------------------
  942|    114|          case 'b':	 // 1 string to match.
  ------------------
  |  Branch (942:11): [True: 114, False: 1.59k]
  ------------------
  943|    114|            if (Mnemonic[2] != 'w')
  ------------------
  |  Branch (943:17): [True: 86, False: 28]
  ------------------
  944|     86|              break;
  945|     28|            Mnemonic = "cbtw";	 // "cbw"
  946|     28|            return;
  947|  1.49k|          case 'd':	 // 1 string to match.
  ------------------
  |  Branch (947:11): [True: 1.49k, False: 219]
  ------------------
  948|  1.49k|            if (Mnemonic[2] != 'q')
  ------------------
  |  Branch (948:17): [True: 1.12k, False: 371]
  ------------------
  949|  1.12k|              break;
  950|    371|            Mnemonic = "cltd";	 // "cdq"
  951|    371|            return;
  952|      6|          case 'q':	 // 1 string to match.
  ------------------
  |  Branch (952:11): [True: 6, False: 1.70k]
  ------------------
  953|      6|            if (Mnemonic[2] != 'o')
  ------------------
  |  Branch (953:17): [True: 5, False: 1]
  ------------------
  954|      5|              break;
  955|      1|            Mnemonic = "cqto";	 // "cqo"
  956|      1|            return;
  957|     21|          case 'w':	 // 1 string to match.
  ------------------
  |  Branch (957:11): [True: 21, False: 1.68k]
  ------------------
  958|     21|            if (Mnemonic[2] != 'd')
  ------------------
  |  Branch (958:17): [True: 9, False: 12]
  ------------------
  959|      9|              break;
  960|     12|            Mnemonic = "cwtd";	 // "cwd"
  961|     12|            return;
  962|  1.71k|          }
  963|  1.29k|          break;
  964|  1.29k|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (964:9): [True: 514, False: 2.89k]
  ------------------
  965|    514|          if (memcmp(Mnemonic.data()+1, "op", 2))
  ------------------
  |  Branch (965:15): [True: 386, False: 128]
  ------------------
  966|    386|            break;
  967|    128|          if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "pop"
  ------------------
  |  Branch (967:15): [True: 42, False: 86]
  ------------------
  968|     42|            Mnemonic = "popw";
  969|     86|          else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (969:20): [True: 32, False: 54]
  ------------------
  970|     32|            Mnemonic = "popl";
  971|     54|          else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (971:20): [True: 54, False: 0]
  ------------------
  972|     54|            Mnemonic = "popq";
  973|    128|          return;
  974|     36|        case 'r':	 // 1 string to match.
  ------------------
  |  Branch (974:9): [True: 36, False: 3.36k]
  ------------------
  975|     36|          if (memcmp(Mnemonic.data()+1, "et", 2))
  ------------------
  |  Branch (975:15): [True: 30, False: 6]
  ------------------
  976|     30|            break;
  977|      6|          if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "ret"
  ------------------
  |  Branch (977:15): [True: 6, False: 0]
  ------------------
  978|      6|            Mnemonic = "retw";
  979|      0|          else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (979:20): [True: 0, False: 0]
  ------------------
  980|      0|            Mnemonic = "retl";
  981|      0|          else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (981:20): [True: 0, False: 0]
  ------------------
  982|      0|            Mnemonic = "retq";
  983|      6|          return;
  984|  3.40k|        }
  985|  2.85k|        break;
  986|  3.21k|      case 4:	 // 17 strings to match.
  ------------------
  |  Branch (986:7): [True: 3.21k, False: 14.3k]
  ------------------
  987|  3.21k|        switch (Mnemonic[0]) {
  988|    435|        default: break;
  ------------------
  |  Branch (988:9): [True: 435, False: 2.78k]
  ------------------
  989|  1.63k|        case 'c':	 // 3 strings to match.
  ------------------
  |  Branch (989:9): [True: 1.63k, False: 1.58k]
  ------------------
  990|  1.63k|          switch (Mnemonic[1]) {
  991|     62|          default: break;
  ------------------
  |  Branch (991:11): [True: 62, False: 1.56k]
  ------------------
  992|  1.51k|          case 'a':	 // 1 string to match.
  ------------------
  |  Branch (992:11): [True: 1.51k, False: 117]
  ------------------
  993|  1.51k|            if (memcmp(Mnemonic.data()+2, "ll", 2))
  ------------------
  |  Branch (993:17): [True: 184, False: 1.32k]
  ------------------
  994|    184|              break;
  995|  1.32k|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "call"
  ------------------
  |  Branch (995:17): [True: 481, False: 848]
  ------------------
  996|    481|              Mnemonic = "callw";
  997|    848|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (997:22): [True: 816, False: 32]
  ------------------
  998|    816|              Mnemonic = "calll";
  999|     32|            else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (999:22): [True: 32, False: 0]
  ------------------
 1000|     32|              Mnemonic = "callq";
 1001|  1.32k|            return;
 1002|     29|          case 'd':	 // 1 string to match.
  ------------------
  |  Branch (1002:11): [True: 29, False: 1.60k]
  ------------------
 1003|     29|            if (memcmp(Mnemonic.data()+2, "qe", 2))
  ------------------
  |  Branch (1003:17): [True: 29, False: 0]
  ------------------
 1004|     29|              break;
 1005|      0|            Mnemonic = "cltq";	 // "cdqe"
 1006|      0|            return;
 1007|     26|          case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1007:11): [True: 26, False: 1.60k]
  ------------------
 1008|     26|            if (memcmp(Mnemonic.data()+2, "de", 2))
  ------------------
  |  Branch (1008:17): [True: 25, False: 1]
  ------------------
 1009|     25|              break;
 1010|      1|            Mnemonic = "cwtl";	 // "cwde"
 1011|      1|            return;
 1012|  1.63k|          }
 1013|    300|          break;
 1014|    300|        case 'i':	 // 1 string to match.
  ------------------
  |  Branch (1014:9): [True: 28, False: 3.19k]
  ------------------
 1015|     28|          if (memcmp(Mnemonic.data()+1, "ret", 3))
  ------------------
  |  Branch (1015:15): [True: 27, False: 1]
  ------------------
 1016|     27|            break;
 1017|      1|          if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "iret"
  ------------------
  |  Branch (1017:15): [True: 1, False: 0]
  ------------------
 1018|      1|            Mnemonic = "iretw";
 1019|      0|          else if ((Features & Feature_Not16BitMode) == Feature_Not16BitMode)
  ------------------
  |  Branch (1019:20): [True: 0, False: 0]
  ------------------
 1020|      0|            Mnemonic = "iretl";
 1021|      1|          return;
 1022|     97|        case 'l':	 // 3 strings to match.
  ------------------
  |  Branch (1022:9): [True: 97, False: 3.12k]
  ------------------
 1023|     97|          switch (Mnemonic[1]) {
 1024|     65|          default: break;
  ------------------
  |  Branch (1024:11): [True: 65, False: 32]
  ------------------
 1025|     65|          case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1025:11): [True: 6, False: 91]
  ------------------
 1026|      6|            if (memcmp(Mnemonic.data()+2, "dt", 2))
  ------------------
  |  Branch (1026:17): [True: 5, False: 1]
  ------------------
 1027|      5|              break;
 1028|      1|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "lgdt"
  ------------------
  |  Branch (1028:17): [True: 1, False: 0]
  ------------------
 1029|      1|              Mnemonic = "lgdtw";
 1030|      0|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1030:22): [True: 0, False: 0]
  ------------------
 1031|      0|              Mnemonic = "lgdtl";
 1032|      0|            else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1032:22): [True: 0, False: 0]
  ------------------
 1033|      0|              Mnemonic = "lgdtq";
 1034|      1|            return;
 1035|     18|          case 'i':	 // 1 string to match.
  ------------------
  |  Branch (1035:11): [True: 18, False: 79]
  ------------------
 1036|     18|            if (memcmp(Mnemonic.data()+2, "dt", 2))
  ------------------
  |  Branch (1036:17): [True: 17, False: 1]
  ------------------
 1037|     17|              break;
 1038|      1|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "lidt"
  ------------------
  |  Branch (1038:17): [True: 1, False: 0]
  ------------------
 1039|      1|              Mnemonic = "lidtw";
 1040|      0|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1040:22): [True: 0, False: 0]
  ------------------
 1041|      0|              Mnemonic = "lidtl";
 1042|      0|            else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1042:22): [True: 0, False: 0]
  ------------------
 1043|      0|              Mnemonic = "lidtq";
 1044|      1|            return;
 1045|      8|          case 'r':	 // 1 string to match.
  ------------------
  |  Branch (1045:11): [True: 8, False: 89]
  ------------------
 1046|      8|            if (memcmp(Mnemonic.data()+2, "et", 2))
  ------------------
  |  Branch (1046:17): [True: 7, False: 1]
  ------------------
 1047|      7|              break;
 1048|      1|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "lret"
  ------------------
  |  Branch (1048:17): [True: 1, False: 0]
  ------------------
 1049|      1|              Mnemonic = "lretw";
 1050|      0|            else if ((Features & Feature_Not16BitMode) == Feature_Not16BitMode)
  ------------------
  |  Branch (1050:22): [True: 0, False: 0]
  ------------------
 1051|      0|              Mnemonic = "lretl";
 1052|      1|            return;
 1053|     97|          }
 1054|     94|          break;
 1055|    503|        case 'p':	 // 3 strings to match.
  ------------------
  |  Branch (1055:9): [True: 503, False: 2.71k]
  ------------------
 1056|    503|          switch (Mnemonic[1]) {
 1057|    190|          default: break;
  ------------------
  |  Branch (1057:11): [True: 190, False: 313]
  ------------------
 1058|    191|          case 'o':	 // 2 strings to match.
  ------------------
  |  Branch (1058:11): [True: 191, False: 312]
  ------------------
 1059|    191|            if (Mnemonic[2] != 'p')
  ------------------
  |  Branch (1059:17): [True: 29, False: 162]
  ------------------
 1060|     29|              break;
 1061|    162|            switch (Mnemonic[3]) {
 1062|     99|            default: break;
  ------------------
  |  Branch (1062:13): [True: 99, False: 63]
  ------------------
 1063|     99|            case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1063:13): [True: 17, False: 145]
  ------------------
 1064|     17|              if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "popa"
  ------------------
  |  Branch (1064:19): [True: 10, False: 7]
  ------------------
 1065|     10|                Mnemonic = "popaw";
 1066|      7|              else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1066:24): [True: 6, False: 1]
  ------------------
 1067|      6|                Mnemonic = "popal";
 1068|     17|              return;
 1069|     46|            case 'f':	 // 1 string to match.
  ------------------
  |  Branch (1069:13): [True: 46, False: 116]
  ------------------
 1070|     46|              if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "popf"
  ------------------
  |  Branch (1070:19): [True: 14, False: 32]
  ------------------
 1071|     14|                Mnemonic = "popfw";
 1072|     32|              else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1072:24): [True: 10, False: 22]
  ------------------
 1073|     10|                Mnemonic = "popfl";
 1074|     22|              else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1074:24): [True: 22, False: 0]
  ------------------
 1075|     22|                Mnemonic = "popfq";
 1076|     46|              return;
 1077|    162|            }
 1078|     99|            break;
 1079|    122|          case 'u':	 // 1 string to match.
  ------------------
  |  Branch (1079:11): [True: 122, False: 381]
  ------------------
 1080|    122|            if (memcmp(Mnemonic.data()+2, "sh", 2))
  ------------------
  |  Branch (1080:17): [True: 53, False: 69]
  ------------------
 1081|     53|              break;
 1082|     69|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "push"
  ------------------
  |  Branch (1082:17): [True: 52, False: 17]
  ------------------
 1083|     52|              Mnemonic = "pushw";
 1084|     17|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1084:22): [True: 10, False: 7]
  ------------------
 1085|     10|              Mnemonic = "pushl";
 1086|      7|            else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1086:22): [True: 7, False: 0]
  ------------------
 1087|      7|              Mnemonic = "pushq";
 1088|     69|            return;
 1089|    503|          }
 1090|    371|          break;
 1091|    470|        case 's':	 // 6 strings to match.
  ------------------
  |  Branch (1091:9): [True: 470, False: 2.74k]
  ------------------
 1092|    470|          switch (Mnemonic[1]) {
 1093|    289|          default: break;
  ------------------
  |  Branch (1093:11): [True: 289, False: 181]
  ------------------
 1094|    289|          case 'a':	 // 4 strings to match.
  ------------------
  |  Branch (1094:11): [True: 144, False: 326]
  ------------------
 1095|    144|            if (Mnemonic[2] != 'l')
  ------------------
  |  Branch (1095:17): [True: 61, False: 83]
  ------------------
 1096|     61|              break;
 1097|     83|            switch (Mnemonic[3]) {
 1098|     14|            default: break;
  ------------------
  |  Branch (1098:13): [True: 14, False: 69]
  ------------------
 1099|     17|            case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1099:13): [True: 17, False: 66]
  ------------------
 1100|     17|              Mnemonic = "shlb";	 // "salb"
 1101|     17|              return;
 1102|     18|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1102:13): [True: 18, False: 65]
  ------------------
 1103|     18|              Mnemonic = "shll";	 // "sall"
 1104|     18|              return;
 1105|     17|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1105:13): [True: 17, False: 66]
  ------------------
 1106|     17|              Mnemonic = "shlq";	 // "salq"
 1107|     17|              return;
 1108|     17|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1108:13): [True: 17, False: 66]
  ------------------
 1109|     17|              Mnemonic = "shlw";	 // "salw"
 1110|     17|              return;
 1111|     83|            }
 1112|     14|            break;
 1113|     23|          case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1113:11): [True: 23, False: 447]
  ------------------
 1114|     23|            if (memcmp(Mnemonic.data()+2, "dt", 2))
  ------------------
  |  Branch (1114:17): [True: 22, False: 1]
  ------------------
 1115|     22|              break;
 1116|      1|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "sgdt"
  ------------------
  |  Branch (1116:17): [True: 1, False: 0]
  ------------------
 1117|      1|              Mnemonic = "sgdtw";
 1118|      0|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1118:22): [True: 0, False: 0]
  ------------------
 1119|      0|              Mnemonic = "sgdtl";
 1120|      0|            else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1120:22): [True: 0, False: 0]
  ------------------
 1121|      0|              Mnemonic = "sgdtq";
 1122|      1|            return;
 1123|     14|          case 'i':	 // 1 string to match.
  ------------------
  |  Branch (1123:11): [True: 14, False: 456]
  ------------------
 1124|     14|            if (memcmp(Mnemonic.data()+2, "dt", 2))
  ------------------
  |  Branch (1124:17): [True: 13, False: 1]
  ------------------
 1125|     13|              break;
 1126|      1|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "sidt"
  ------------------
  |  Branch (1126:17): [True: 1, False: 0]
  ------------------
 1127|      1|              Mnemonic = "sidtw";
 1128|      0|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1128:22): [True: 0, False: 0]
  ------------------
 1129|      0|              Mnemonic = "sidtl";
 1130|      0|            else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1130:22): [True: 0, False: 0]
  ------------------
 1131|      0|              Mnemonic = "sidtq";
 1132|      1|            return;
 1133|    470|          }
 1134|    399|          break;
 1135|    399|        case 'u':	 // 1 string to match.
  ------------------
  |  Branch (1135:9): [True: 56, False: 3.16k]
  ------------------
 1136|     56|          if (memcmp(Mnemonic.data()+1, "d2a", 3))
  ------------------
  |  Branch (1136:15): [True: 56, False: 0]
  ------------------
 1137|     56|            break;
 1138|      0|          Mnemonic = "ud2";	 // "ud2a"
 1139|      0|          return;
 1140|  3.21k|        }
 1141|  1.68k|        break;
 1142|  1.94k|      case 5:	 // 9 strings to match.
  ------------------
  |  Branch (1142:7): [True: 1.94k, False: 15.6k]
  ------------------
 1143|  1.94k|        switch (Mnemonic[0]) {
 1144|  1.01k|        default: break;
  ------------------
  |  Branch (1144:9): [True: 1.01k, False: 925]
  ------------------
 1145|  1.01k|        case 'f':	 // 1 string to match.
  ------------------
  |  Branch (1145:9): [True: 74, False: 1.86k]
  ------------------
 1146|     74|          if (memcmp(Mnemonic.data()+1, "ildq", 4))
  ------------------
  |  Branch (1146:15): [True: 64, False: 10]
  ------------------
 1147|     64|            break;
 1148|     10|          Mnemonic = "fildll";	 // "fildq"
 1149|     10|          return;
 1150|    404|        case 'p':	 // 3 strings to match.
  ------------------
  |  Branch (1150:9): [True: 404, False: 1.53k]
  ------------------
 1151|    404|          switch (Mnemonic[1]) {
 1152|    199|          default: break;
  ------------------
  |  Branch (1152:11): [True: 199, False: 205]
  ------------------
 1153|    199|          case 'o':	 // 1 string to match.
  ------------------
  |  Branch (1153:11): [True: 19, False: 385]
  ------------------
 1154|     19|            if (memcmp(Mnemonic.data()+2, "pfd", 3))
  ------------------
  |  Branch (1154:17): [True: 18, False: 1]
  ------------------
 1155|     18|              break;
 1156|      1|            Mnemonic = "popfl";	 // "popfd"
 1157|      1|            return;
 1158|    186|          case 'u':	 // 2 strings to match.
  ------------------
  |  Branch (1158:11): [True: 186, False: 218]
  ------------------
 1159|    186|            if (memcmp(Mnemonic.data()+2, "sh", 2))
  ------------------
  |  Branch (1159:17): [True: 150, False: 36]
  ------------------
 1160|    150|              break;
 1161|     36|            switch (Mnemonic[4]) {
 1162|     13|            default: break;
  ------------------
  |  Branch (1162:13): [True: 13, False: 23]
  ------------------
 1163|     13|            case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1163:13): [True: 10, False: 26]
  ------------------
 1164|     10|              if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "pusha"
  ------------------
  |  Branch (1164:19): [True: 3, False: 7]
  ------------------
 1165|      3|                Mnemonic = "pushaw";
 1166|      7|              else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1166:24): [True: 6, False: 1]
  ------------------
 1167|      6|                Mnemonic = "pushal";
 1168|     10|              return;
 1169|     13|            case 'f':	 // 1 string to match.
  ------------------
  |  Branch (1169:13): [True: 13, False: 23]
  ------------------
 1170|     13|              if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "pushf"
  ------------------
  |  Branch (1170:19): [True: 11, False: 2]
  ------------------
 1171|     11|                Mnemonic = "pushfw";
 1172|      2|              else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1172:24): [True: 1, False: 1]
  ------------------
 1173|      1|                Mnemonic = "pushfl";
 1174|      1|              else if ((Features & Feature_In64BitMode) == Feature_In64BitMode)
  ------------------
  |  Branch (1174:24): [True: 1, False: 0]
  ------------------
 1175|      1|                Mnemonic = "pushfq";
 1176|     13|              return;
 1177|     36|            }
 1178|     13|            break;
 1179|    404|          }
 1180|    380|          break;
 1181|    417|        case 's':	 // 4 strings to match.
  ------------------
  |  Branch (1181:9): [True: 417, False: 1.52k]
  ------------------
 1182|    417|          if (memcmp(Mnemonic.data()+1, "mov", 3))
  ------------------
  |  Branch (1182:15): [True: 393, False: 24]
  ------------------
 1183|    393|            break;
 1184|     24|          switch (Mnemonic[4]) {
 1185|      3|          default: break;
  ------------------
  |  Branch (1185:11): [True: 3, False: 21]
  ------------------
 1186|      4|          case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1186:11): [True: 4, False: 20]
  ------------------
 1187|      4|            Mnemonic = "movsb";	 // "smovb"
 1188|      4|            return;
 1189|      8|          case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1189:11): [True: 8, False: 16]
  ------------------
 1190|      8|            Mnemonic = "movsl";	 // "smovl"
 1191|      8|            return;
 1192|      5|          case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1192:11): [True: 5, False: 19]
  ------------------
 1193|      5|            Mnemonic = "movsq";	 // "smovq"
 1194|      5|            return;
 1195|      4|          case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1195:11): [True: 4, False: 20]
  ------------------
 1196|      4|            Mnemonic = "movsw";	 // "smovw"
 1197|      4|            return;
 1198|     24|          }
 1199|      3|          break;
 1200|     30|        case 'v':	 // 1 string to match.
  ------------------
  |  Branch (1200:9): [True: 30, False: 1.91k]
  ------------------
 1201|     30|          if (memcmp(Mnemonic.data()+1, "errw", 4))
  ------------------
  |  Branch (1201:15): [True: 30, False: 0]
  ------------------
 1202|     30|            break;
 1203|      0|          Mnemonic = "verr";	 // "verrw"
 1204|      0|          return;
 1205|  1.94k|        }
 1206|  1.88k|        break;
 1207|  1.88k|      case 6:	 // 15 strings to match.
  ------------------
  |  Branch (1207:7): [True: 1.35k, False: 16.2k]
  ------------------
 1208|  1.35k|        switch (Mnemonic[0]) {
 1209|    118|        default: break;
  ------------------
  |  Branch (1209:9): [True: 118, False: 1.23k]
  ------------------
 1210|    118|        case 'c':	 // 6 strings to match.
  ------------------
  |  Branch (1210:9): [True: 95, False: 1.25k]
  ------------------
 1211|     95|          if (memcmp(Mnemonic.data()+1, "mov", 3))
  ------------------
  |  Branch (1211:15): [True: 72, False: 23]
  ------------------
 1212|     72|            break;
 1213|     23|          switch (Mnemonic[4]) {
 1214|     15|          default: break;
  ------------------
  |  Branch (1214:11): [True: 15, False: 8]
  ------------------
 1215|     15|          case 'c':	 // 3 strings to match.
  ------------------
  |  Branch (1215:11): [True: 4, False: 19]
  ------------------
 1216|      4|            switch (Mnemonic[5]) {
 1217|      1|            default: break;
  ------------------
  |  Branch (1217:13): [True: 1, False: 3]
  ------------------
 1218|      1|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1218:13): [True: 1, False: 3]
  ------------------
 1219|      1|              Mnemonic = "cmovbl";	 // "cmovcl"
 1220|      1|              return;
 1221|      1|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1221:13): [True: 1, False: 3]
  ------------------
 1222|      1|              Mnemonic = "cmovbq";	 // "cmovcq"
 1223|      1|              return;
 1224|      1|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1224:13): [True: 1, False: 3]
  ------------------
 1225|      1|              Mnemonic = "cmovbw";	 // "cmovcw"
 1226|      1|              return;
 1227|      4|            }
 1228|      1|            break;
 1229|      4|          case 'z':	 // 3 strings to match.
  ------------------
  |  Branch (1229:11): [True: 4, False: 19]
  ------------------
 1230|      4|            switch (Mnemonic[5]) {
 1231|      1|            default: break;
  ------------------
  |  Branch (1231:13): [True: 1, False: 3]
  ------------------
 1232|      1|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1232:13): [True: 1, False: 3]
  ------------------
 1233|      1|              Mnemonic = "cmovel";	 // "cmovzl"
 1234|      1|              return;
 1235|      1|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1235:13): [True: 1, False: 3]
  ------------------
 1236|      1|              Mnemonic = "cmoveq";	 // "cmovzq"
 1237|      1|              return;
 1238|      1|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1238:13): [True: 1, False: 3]
  ------------------
 1239|      1|              Mnemonic = "cmovew";	 // "cmovzw"
 1240|      1|              return;
 1241|      4|            }
 1242|      1|            break;
 1243|     23|          }
 1244|     17|          break;
 1245|     94|        case 'f':	 // 4 strings to match.
  ------------------
  |  Branch (1245:9): [True: 94, False: 1.26k]
  ------------------
 1246|     94|          switch (Mnemonic[1]) {
 1247|     41|          default: break;
  ------------------
  |  Branch (1247:11): [True: 41, False: 53]
  ------------------
 1248|     41|          case 'c':	 // 2 strings to match.
  ------------------
  |  Branch (1248:11): [True: 19, False: 75]
  ------------------
 1249|     19|            if (memcmp(Mnemonic.data()+2, "mov", 3))
  ------------------
  |  Branch (1249:17): [True: 11, False: 8]
  ------------------
 1250|     11|              break;
 1251|      8|            switch (Mnemonic[5]) {
 1252|      6|            default: break;
  ------------------
  |  Branch (1252:13): [True: 6, False: 2]
  ------------------
 1253|      6|            case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1253:13): [True: 1, False: 7]
  ------------------
 1254|      1|              Mnemonic = "fcmovnbe";	 // "fcmova"
 1255|      1|              return;
 1256|      1|            case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1256:13): [True: 1, False: 7]
  ------------------
 1257|      1|              Mnemonic = "fcmove";	 // "fcmovz"
 1258|      1|              return;
 1259|      8|            }
 1260|      6|            break;
 1261|     25|          case 'i':	 // 1 string to match.
  ------------------
  |  Branch (1261:11): [True: 25, False: 69]
  ------------------
 1262|     25|            if (memcmp(Mnemonic.data()+2, "stpq", 4))
  ------------------
  |  Branch (1262:17): [True: 25, False: 0]
  ------------------
 1263|     25|              break;
 1264|      0|            Mnemonic = "fistpll";	 // "fistpq"
 1265|      0|            return;
 1266|      9|          case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1266:11): [True: 9, False: 85]
  ------------------
 1267|      9|            if (memcmp(Mnemonic.data()+2, "dcww", 4))
  ------------------
  |  Branch (1267:17): [True: 9, False: 0]
  ------------------
 1268|      9|              break;
 1269|      0|            Mnemonic = "fldcw";	 // "fldcww"
 1270|      0|            return;
 1271|     94|          }
 1272|     92|          break;
 1273|     92|        case 'l':	 // 2 strings to match.
  ------------------
  |  Branch (1273:9): [True: 27, False: 1.32k]
  ------------------
 1274|     27|          if (memcmp(Mnemonic.data()+1, "eave", 4))
  ------------------
  |  Branch (1274:15): [True: 27, False: 0]
  ------------------
 1275|     27|            break;
 1276|      0|          switch (Mnemonic[5]) {
 1277|      0|          default: break;
  ------------------
  |  Branch (1277:11): [True: 0, False: 0]
  ------------------
 1278|      0|          case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1278:11): [True: 0, False: 0]
  ------------------
 1279|      0|            if ((Features & Feature_Not64BitMode) == Feature_Not64BitMode)	 // "leavel"
  ------------------
  |  Branch (1279:17): [True: 0, False: 0]
  ------------------
 1280|      0|              Mnemonic = "leave";
 1281|      0|            return;
 1282|      0|          case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1282:11): [True: 0, False: 0]
  ------------------
 1283|      0|            if ((Features & Feature_In64BitMode) == Feature_In64BitMode)	 // "leaveq"
  ------------------
  |  Branch (1283:17): [True: 0, False: 0]
  ------------------
 1284|      0|              Mnemonic = "leave";
 1285|      0|            return;
 1286|      0|          }
 1287|      0|          break;
 1288|    798|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (1288:9): [True: 798, False: 556]
  ------------------
 1289|    798|          if (memcmp(Mnemonic.data()+1, "ushfd", 5))
  ------------------
  |  Branch (1289:15): [True: 797, False: 1]
  ------------------
 1290|    797|            break;
 1291|      1|          Mnemonic = "pushfl";	 // "pushfd"
 1292|      1|          return;
 1293|    191|        case 's':	 // 1 string to match.
  ------------------
  |  Branch (1293:9): [True: 191, False: 1.16k]
  ------------------
 1294|    191|          if (memcmp(Mnemonic.data()+1, "ysret", 5))
  ------------------
  |  Branch (1294:15): [True: 190, False: 1]
  ------------------
 1295|    190|            break;
 1296|      1|          Mnemonic = "sysretl";	 // "sysret"
 1297|      1|          return;
 1298|     31|        case 'x':	 // 1 string to match.
  ------------------
  |  Branch (1298:9): [True: 31, False: 1.32k]
  ------------------
 1299|     31|          if (memcmp(Mnemonic.data()+1, "saveq", 5))
  ------------------
  |  Branch (1299:15): [True: 30, False: 1]
  ------------------
 1300|     30|            break;
 1301|      1|          Mnemonic = "xsave64";	 // "xsaveq"
 1302|      1|          return;
 1303|  1.35k|        }
 1304|  1.34k|        break;
 1305|  2.56k|      case 7:	 // 34 strings to match.
  ------------------
  |  Branch (1305:7): [True: 2.56k, False: 14.9k]
  ------------------
 1306|  2.56k|        switch (Mnemonic[0]) {
 1307|  2.15k|        default: break;
  ------------------
  |  Branch (1307:9): [True: 2.15k, False: 409]
  ------------------
 1308|  2.15k|        case 'c':	 // 24 strings to match.
  ------------------
  |  Branch (1308:9): [True: 106, False: 2.46k]
  ------------------
 1309|    106|          if (memcmp(Mnemonic.data()+1, "mov", 3))
  ------------------
  |  Branch (1309:15): [True: 51, False: 55]
  ------------------
 1310|     51|            break;
 1311|     55|          switch (Mnemonic[4]) {
 1312|      5|          default: break;
  ------------------
  |  Branch (1312:11): [True: 5, False: 50]
  ------------------
 1313|     37|          case 'n':	 // 18 strings to match.
  ------------------
  |  Branch (1313:11): [True: 37, False: 18]
  ------------------
 1314|     37|            switch (Mnemonic[5]) {
 1315|      5|            default: break;
  ------------------
  |  Branch (1315:13): [True: 5, False: 32]
  ------------------
 1316|      6|            case 'a':	 // 3 strings to match.
  ------------------
  |  Branch (1316:13): [True: 6, False: 31]
  ------------------
 1317|      6|              switch (Mnemonic[6]) {
 1318|      3|              default: break;
  ------------------
  |  Branch (1318:15): [True: 3, False: 3]
  ------------------
 1319|      3|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1319:15): [True: 1, False: 5]
  ------------------
 1320|      1|                Mnemonic = "cmovbel";	 // "cmovnal"
 1321|      1|                return;
 1322|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1322:15): [True: 1, False: 5]
  ------------------
 1323|      1|                Mnemonic = "cmovbeq";	 // "cmovnaq"
 1324|      1|                return;
 1325|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1325:15): [True: 1, False: 5]
  ------------------
 1326|      1|                Mnemonic = "cmovbew";	 // "cmovnaw"
 1327|      1|                return;
 1328|      6|              }
 1329|      3|              break;
 1330|      6|            case 'b':	 // 3 strings to match.
  ------------------
  |  Branch (1330:13): [True: 6, False: 31]
  ------------------
 1331|      6|              switch (Mnemonic[6]) {
 1332|      3|              default: break;
  ------------------
  |  Branch (1332:15): [True: 3, False: 3]
  ------------------
 1333|      3|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1333:15): [True: 1, False: 5]
  ------------------
 1334|      1|                Mnemonic = "cmovael";	 // "cmovnbl"
 1335|      1|                return;
 1336|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1336:15): [True: 1, False: 5]
  ------------------
 1337|      1|                Mnemonic = "cmovaeq";	 // "cmovnbq"
 1338|      1|                return;
 1339|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1339:15): [True: 1, False: 5]
  ------------------
 1340|      1|                Mnemonic = "cmovaew";	 // "cmovnbw"
 1341|      1|                return;
 1342|      6|              }
 1343|      3|              break;
 1344|      4|            case 'c':	 // 3 strings to match.
  ------------------
  |  Branch (1344:13): [True: 4, False: 33]
  ------------------
 1345|      4|              switch (Mnemonic[6]) {
 1346|      1|              default: break;
  ------------------
  |  Branch (1346:15): [True: 1, False: 3]
  ------------------
 1347|      1|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1347:15): [True: 1, False: 3]
  ------------------
 1348|      1|                Mnemonic = "cmovael";	 // "cmovncl"
 1349|      1|                return;
 1350|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1350:15): [True: 1, False: 3]
  ------------------
 1351|      1|                Mnemonic = "cmovaeq";	 // "cmovncq"
 1352|      1|                return;
 1353|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1353:15): [True: 1, False: 3]
  ------------------
 1354|      1|                Mnemonic = "cmovaew";	 // "cmovncw"
 1355|      1|                return;
 1356|      4|              }
 1357|      1|              break;
 1358|      6|            case 'g':	 // 3 strings to match.
  ------------------
  |  Branch (1358:13): [True: 6, False: 31]
  ------------------
 1359|      6|              switch (Mnemonic[6]) {
 1360|      3|              default: break;
  ------------------
  |  Branch (1360:15): [True: 3, False: 3]
  ------------------
 1361|      3|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1361:15): [True: 1, False: 5]
  ------------------
 1362|      1|                Mnemonic = "cmovlel";	 // "cmovngl"
 1363|      1|                return;
 1364|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1364:15): [True: 1, False: 5]
  ------------------
 1365|      1|                Mnemonic = "cmovleq";	 // "cmovngq"
 1366|      1|                return;
 1367|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1367:15): [True: 1, False: 5]
  ------------------
 1368|      1|                Mnemonic = "cmovlew";	 // "cmovngw"
 1369|      1|                return;
 1370|      6|              }
 1371|      3|              break;
 1372|      6|            case 'l':	 // 3 strings to match.
  ------------------
  |  Branch (1372:13): [True: 6, False: 31]
  ------------------
 1373|      6|              switch (Mnemonic[6]) {
 1374|      2|              default: break;
  ------------------
  |  Branch (1374:15): [True: 2, False: 4]
  ------------------
 1375|      2|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1375:15): [True: 1, False: 5]
  ------------------
 1376|      1|                Mnemonic = "cmovgel";	 // "cmovnll"
 1377|      1|                return;
 1378|      2|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1378:15): [True: 2, False: 4]
  ------------------
 1379|      2|                Mnemonic = "cmovgeq";	 // "cmovnlq"
 1380|      2|                return;
 1381|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1381:15): [True: 1, False: 5]
  ------------------
 1382|      1|                Mnemonic = "cmovgew";	 // "cmovnlw"
 1383|      1|                return;
 1384|      6|              }
 1385|      2|              break;
 1386|      4|            case 'z':	 // 3 strings to match.
  ------------------
  |  Branch (1386:13): [True: 4, False: 33]
  ------------------
 1387|      4|              switch (Mnemonic[6]) {
 1388|      1|              default: break;
  ------------------
  |  Branch (1388:15): [True: 1, False: 3]
  ------------------
 1389|      1|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1389:15): [True: 1, False: 3]
  ------------------
 1390|      1|                Mnemonic = "cmovnel";	 // "cmovnzl"
 1391|      1|                return;
 1392|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1392:15): [True: 1, False: 3]
  ------------------
 1393|      1|                Mnemonic = "cmovneq";	 // "cmovnzq"
 1394|      1|                return;
 1395|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1395:15): [True: 1, False: 3]
  ------------------
 1396|      1|                Mnemonic = "cmovnew";	 // "cmovnzw"
 1397|      1|                return;
 1398|      4|              }
 1399|      1|              break;
 1400|     37|            }
 1401|     18|            break;
 1402|     18|          case 'p':	 // 6 strings to match.
  ------------------
  |  Branch (1402:11): [True: 13, False: 42]
  ------------------
 1403|     13|            switch (Mnemonic[5]) {
 1404|      5|            default: break;
  ------------------
  |  Branch (1404:13): [True: 5, False: 8]
  ------------------
 1405|      5|            case 'e':	 // 3 strings to match.
  ------------------
  |  Branch (1405:13): [True: 4, False: 9]
  ------------------
 1406|      4|              switch (Mnemonic[6]) {
 1407|      1|              default: break;
  ------------------
  |  Branch (1407:15): [True: 1, False: 3]
  ------------------
 1408|      1|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1408:15): [True: 1, False: 3]
  ------------------
 1409|      1|                Mnemonic = "cmovpl";	 // "cmovpel"
 1410|      1|                return;
 1411|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1411:15): [True: 1, False: 3]
  ------------------
 1412|      1|                Mnemonic = "cmovpq";	 // "cmovpeq"
 1413|      1|                return;
 1414|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1414:15): [True: 1, False: 3]
  ------------------
 1415|      1|                Mnemonic = "cmovpw";	 // "cmovpew"
 1416|      1|                return;
 1417|      4|              }
 1418|      1|              break;
 1419|      4|            case 'o':	 // 3 strings to match.
  ------------------
  |  Branch (1419:13): [True: 4, False: 9]
  ------------------
 1420|      4|              switch (Mnemonic[6]) {
 1421|      1|              default: break;
  ------------------
  |  Branch (1421:15): [True: 1, False: 3]
  ------------------
 1422|      1|              case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1422:15): [True: 1, False: 3]
  ------------------
 1423|      1|                Mnemonic = "cmovnpl";	 // "cmovpol"
 1424|      1|                return;
 1425|      1|              case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1425:15): [True: 1, False: 3]
  ------------------
 1426|      1|                Mnemonic = "cmovnpq";	 // "cmovpoq"
 1427|      1|                return;
 1428|      1|              case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1428:15): [True: 1, False: 3]
  ------------------
 1429|      1|                Mnemonic = "cmovnpw";	 // "cmovpow"
 1430|      1|                return;
 1431|      4|              }
 1432|      1|              break;
 1433|     13|            }
 1434|      7|            break;
 1435|     55|          }
 1436|     30|          break;
 1437|    147|        case 'f':	 // 6 strings to match.
  ------------------
  |  Branch (1437:9): [True: 147, False: 2.42k]
  ------------------
 1438|    147|          switch (Mnemonic[1]) {
 1439|     34|          default: break;
  ------------------
  |  Branch (1439:11): [True: 34, False: 113]
  ------------------
 1440|     37|          case 'c':	 // 2 strings to match.
  ------------------
  |  Branch (1440:11): [True: 37, False: 110]
  ------------------
 1441|     37|            if (memcmp(Mnemonic.data()+2, "mov", 3))
  ------------------
  |  Branch (1441:17): [True: 17, False: 20]
  ------------------
 1442|     17|              break;
 1443|     20|            switch (Mnemonic[5]) {
 1444|      9|            default: break;
  ------------------
  |  Branch (1444:13): [True: 9, False: 11]
  ------------------
 1445|      9|            case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1445:13): [True: 5, False: 15]
  ------------------
 1446|      5|              if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1446:19): [True: 5, False: 0]
  ------------------
 1447|      5|                break;
 1448|      0|              Mnemonic = "fcmovnb";	 // "fcmovae"
 1449|      0|              return;
 1450|      6|            case 'n':	 // 1 string to match.
  ------------------
  |  Branch (1450:13): [True: 6, False: 14]
  ------------------
 1451|      6|              if (Mnemonic[6] != 'a')
  ------------------
  |  Branch (1451:19): [True: 5, False: 1]
  ------------------
 1452|      5|                break;
 1453|      1|              Mnemonic = "fcmovbe";	 // "fcmovna"
 1454|      1|              return;
 1455|     20|            }
 1456|     19|            break;
 1457|     19|          case 'i':	 // 1 string to match.
  ------------------
  |  Branch (1457:11): [True: 5, False: 142]
  ------------------
 1458|      5|            if (memcmp(Mnemonic.data()+2, "sttpq", 5))
  ------------------
  |  Branch (1458:17): [True: 5, False: 0]
  ------------------
 1459|      5|              break;
 1460|      0|            Mnemonic = "fisttpll";	 // "fisttpq"
 1461|      0|            return;
 1462|     60|          case 'n':	 // 2 strings to match.
  ------------------
  |  Branch (1462:11): [True: 60, False: 87]
  ------------------
 1463|     60|            if (memcmp(Mnemonic.data()+2, "st", 2))
  ------------------
  |  Branch (1463:17): [True: 9, False: 51]
  ------------------
 1464|      9|              break;
 1465|     51|            switch (Mnemonic[4]) {
 1466|      7|            default: break;
  ------------------
  |  Branch (1466:13): [True: 7, False: 44]
  ------------------
 1467|     12|            case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1467:13): [True: 12, False: 39]
  ------------------
 1468|     12|              if (memcmp(Mnemonic.data()+5, "ww", 2))
  ------------------
  |  Branch (1468:19): [True: 6, False: 6]
  ------------------
 1469|      6|                break;
 1470|      6|              Mnemonic = "fnstcw";	 // "fnstcww"
 1471|      6|              return;
 1472|     32|            case 's':	 // 1 string to match.
  ------------------
  |  Branch (1472:13): [True: 32, False: 19]
  ------------------
 1473|     32|              if (memcmp(Mnemonic.data()+5, "ww", 2))
  ------------------
  |  Branch (1473:19): [True: 9, False: 23]
  ------------------
 1474|      9|                break;
 1475|     23|              Mnemonic = "fnstsw";	 // "fnstsww"
 1476|     23|              return;
 1477|     51|            }
 1478|     22|            break;
 1479|     22|          case 'x':	 // 1 string to match.
  ------------------
  |  Branch (1479:11): [True: 11, False: 136]
  ------------------
 1480|     11|            if (memcmp(Mnemonic.data()+2, "saveq", 5))
  ------------------
  |  Branch (1480:17): [True: 11, False: 0]
  ------------------
 1481|     11|              break;
 1482|      0|            Mnemonic = "fxsave64";	 // "fxsaveq"
 1483|      0|            return;
 1484|    147|          }
 1485|    117|          break;
 1486|    117|        case 's':	 // 1 string to match.
  ------------------
  |  Branch (1486:9): [True: 85, False: 2.48k]
  ------------------
 1487|     85|          if (memcmp(Mnemonic.data()+1, "ysexit", 6))
  ------------------
  |  Branch (1487:15): [True: 84, False: 1]
  ------------------
 1488|     84|            break;
 1489|      1|          Mnemonic = "sysexitl";	 // "sysexit"
 1490|      1|          return;
 1491|     71|        case 'x':	 // 3 strings to match.
  ------------------
  |  Branch (1491:9): [True: 71, False: 2.49k]
  ------------------
 1492|     71|          switch (Mnemonic[1]) {
 1493|      7|          default: break;
  ------------------
  |  Branch (1493:11): [True: 7, False: 64]
  ------------------
 1494|     11|          case 'r':	 // 1 string to match.
  ------------------
  |  Branch (1494:11): [True: 11, False: 60]
  ------------------
 1495|     11|            if (memcmp(Mnemonic.data()+2, "storq", 5))
  ------------------
  |  Branch (1495:17): [True: 10, False: 1]
  ------------------
 1496|     10|              break;
 1497|      1|            Mnemonic = "xrstor64";	 // "xrstorq"
 1498|      1|            return;
 1499|     53|          case 's':	 // 2 strings to match.
  ------------------
  |  Branch (1499:11): [True: 53, False: 18]
  ------------------
 1500|     53|            if (memcmp(Mnemonic.data()+2, "ave", 3))
  ------------------
  |  Branch (1500:17): [True: 37, False: 16]
  ------------------
 1501|     37|              break;
 1502|     16|            switch (Mnemonic[5]) {
 1503|      5|            default: break;
  ------------------
  |  Branch (1503:13): [True: 5, False: 11]
  ------------------
 1504|      6|            case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1504:13): [True: 6, False: 10]
  ------------------
 1505|      6|              if (Mnemonic[6] != 'q')
  ------------------
  |  Branch (1505:19): [True: 5, False: 1]
  ------------------
 1506|      5|                break;
 1507|      1|              Mnemonic = "xsavec64";	 // "xsavecq"
 1508|      1|              return;
 1509|      5|            case 's':	 // 1 string to match.
  ------------------
  |  Branch (1509:13): [True: 5, False: 11]
  ------------------
 1510|      5|              if (Mnemonic[6] != 'q')
  ------------------
  |  Branch (1510:19): [True: 4, False: 1]
  ------------------
 1511|      4|                break;
 1512|      1|              Mnemonic = "xsaves64";	 // "xsavesq"
 1513|      1|              return;
 1514|     16|            }
 1515|     14|            break;
 1516|     71|          }
 1517|     68|          break;
 1518|  2.56k|        }
 1519|  2.50k|        break;
 1520|  2.50k|      case 8:	 // 15 strings to match.
  ------------------
  |  Branch (1520:7): [True: 511, False: 17.0k]
  ------------------
 1521|    511|        switch (Mnemonic[0]) {
 1522|    208|        default: break;
  ------------------
  |  Branch (1522:9): [True: 208, False: 303]
  ------------------
 1523|    208|        case 'c':	 // 12 strings to match.
  ------------------
  |  Branch (1523:9): [True: 114, False: 397]
  ------------------
 1524|    114|          if (memcmp(Mnemonic.data()+1, "movn", 4))
  ------------------
  |  Branch (1524:15): [True: 71, False: 43]
  ------------------
 1525|     71|            break;
 1526|     43|          switch (Mnemonic[5]) {
 1527|      7|          default: break;
  ------------------
  |  Branch (1527:11): [True: 7, False: 36]
  ------------------
 1528|      9|          case 'a':	 // 3 strings to match.
  ------------------
  |  Branch (1528:11): [True: 9, False: 34]
  ------------------
 1529|      9|            if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1529:17): [True: 5, False: 4]
  ------------------
 1530|      5|              break;
 1531|      4|            switch (Mnemonic[7]) {
 1532|      1|            default: break;
  ------------------
  |  Branch (1532:13): [True: 1, False: 3]
  ------------------
 1533|      1|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1533:13): [True: 1, False: 3]
  ------------------
 1534|      1|              Mnemonic = "cmovbl";	 // "cmovnael"
 1535|      1|              return;
 1536|      1|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1536:13): [True: 1, False: 3]
  ------------------
 1537|      1|              Mnemonic = "cmovbq";	 // "cmovnaeq"
 1538|      1|              return;
 1539|      1|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1539:13): [True: 1, False: 3]
  ------------------
 1540|      1|              Mnemonic = "cmovbw";	 // "cmovnaew"
 1541|      1|              return;
 1542|      4|            }
 1543|      1|            break;
 1544|      9|          case 'b':	 // 3 strings to match.
  ------------------
  |  Branch (1544:11): [True: 9, False: 34]
  ------------------
 1545|      9|            if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1545:17): [True: 5, False: 4]
  ------------------
 1546|      5|              break;
 1547|      4|            switch (Mnemonic[7]) {
 1548|      1|            default: break;
  ------------------
  |  Branch (1548:13): [True: 1, False: 3]
  ------------------
 1549|      1|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1549:13): [True: 1, False: 3]
  ------------------
 1550|      1|              Mnemonic = "cmoval";	 // "cmovnbel"
 1551|      1|              return;
 1552|      1|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1552:13): [True: 1, False: 3]
  ------------------
 1553|      1|              Mnemonic = "cmovaq";	 // "cmovnbeq"
 1554|      1|              return;
 1555|      1|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1555:13): [True: 1, False: 3]
  ------------------
 1556|      1|              Mnemonic = "cmovaw";	 // "cmovnbew"
 1557|      1|              return;
 1558|      4|            }
 1559|      1|            break;
 1560|      9|          case 'g':	 // 3 strings to match.
  ------------------
  |  Branch (1560:11): [True: 9, False: 34]
  ------------------
 1561|      9|            if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1561:17): [True: 5, False: 4]
  ------------------
 1562|      5|              break;
 1563|      4|            switch (Mnemonic[7]) {
 1564|      1|            default: break;
  ------------------
  |  Branch (1564:13): [True: 1, False: 3]
  ------------------
 1565|      1|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1565:13): [True: 1, False: 3]
  ------------------
 1566|      1|              Mnemonic = "cmovll";	 // "cmovngel"
 1567|      1|              return;
 1568|      1|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1568:13): [True: 1, False: 3]
  ------------------
 1569|      1|              Mnemonic = "cmovlq";	 // "cmovngeq"
 1570|      1|              return;
 1571|      1|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1571:13): [True: 1, False: 3]
  ------------------
 1572|      1|              Mnemonic = "cmovlw";	 // "cmovngew"
 1573|      1|              return;
 1574|      4|            }
 1575|      1|            break;
 1576|      9|          case 'l':	 // 3 strings to match.
  ------------------
  |  Branch (1576:11): [True: 9, False: 34]
  ------------------
 1577|      9|            if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1577:17): [True: 5, False: 4]
  ------------------
 1578|      5|              break;
 1579|      4|            switch (Mnemonic[7]) {
 1580|      1|            default: break;
  ------------------
  |  Branch (1580:13): [True: 1, False: 3]
  ------------------
 1581|      1|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1581:13): [True: 1, False: 3]
  ------------------
 1582|      1|              Mnemonic = "cmovgl";	 // "cmovnlel"
 1583|      1|              return;
 1584|      1|            case 'q':	 // 1 string to match.
  ------------------
  |  Branch (1584:13): [True: 1, False: 3]
  ------------------
 1585|      1|              Mnemonic = "cmovgq";	 // "cmovnleq"
 1586|      1|              return;
 1587|      1|            case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1587:13): [True: 1, False: 3]
  ------------------
 1588|      1|              Mnemonic = "cmovgw";	 // "cmovnlew"
 1589|      1|              return;
 1590|      4|            }
 1591|      1|            break;
 1592|     43|          }
 1593|     31|          break;
 1594|    144|        case 'f':	 // 2 strings to match.
  ------------------
  |  Branch (1594:9): [True: 144, False: 367]
  ------------------
 1595|    144|          switch (Mnemonic[1]) {
 1596|    113|          default: break;
  ------------------
  |  Branch (1596:11): [True: 113, False: 31]
  ------------------
 1597|    113|          case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1597:11): [True: 21, False: 123]
  ------------------
 1598|     21|            if (memcmp(Mnemonic.data()+2, "movnae", 6))
  ------------------
  |  Branch (1598:17): [True: 21, False: 0]
  ------------------
 1599|     21|              break;
 1600|      0|            Mnemonic = "fcmovb";	 // "fcmovnae"
 1601|      0|            return;
 1602|     10|          case 'x':	 // 1 string to match.
  ------------------
  |  Branch (1602:11): [True: 10, False: 134]
  ------------------
 1603|     10|            if (memcmp(Mnemonic.data()+2, "rstorq", 6))
  ------------------
  |  Branch (1603:17): [True: 9, False: 1]
  ------------------
 1604|      9|              break;
 1605|      1|            Mnemonic = "fxrstor64";	 // "fxrstorq"
 1606|      1|            return;
 1607|    144|          }
 1608|    143|          break;
 1609|    143|        case 'x':	 // 1 string to match.
  ------------------
  |  Branch (1609:9): [True: 45, False: 466]
  ------------------
 1610|     45|          if (memcmp(Mnemonic.data()+1, "rstorsq", 7))
  ------------------
  |  Branch (1610:15): [True: 44, False: 1]
  ------------------
 1611|     44|            break;
 1612|      1|          Mnemonic = "xrstors64";	 // "xrstorsq"
 1613|      1|          return;
 1614|    511|        }
 1615|    497|        break;
 1616|    497|      case 9:	 // 1 string to match.
  ------------------
  |  Branch (1616:7): [True: 119, False: 17.4k]
  ------------------
 1617|    119|        if (memcmp(Mnemonic.data()+0, "xsaveoptq", 9))
  ------------------
  |  Branch (1617:13): [True: 119, False: 0]
  ------------------
 1618|    119|          break;
 1619|      0|        Mnemonic = "xsaveopt64";	 // "xsaveoptq"
 1620|      0|        return;
 1621|  17.5k|      }
 1622|  15.3k|    break;
 1623|   102k|    case 1:
  ------------------
  |  Branch (1623:5): [True: 102k, False: 17.5k]
  ------------------
 1624|   102k|      switch (Mnemonic.size()) {
 1625|  31.4k|      default: break;
  ------------------
  |  Branch (1625:7): [True: 31.4k, False: 70.6k]
  ------------------
 1626|  31.4k|      case 3:	 // 1 string to match.
  ------------------
  |  Branch (1626:7): [True: 23.9k, False: 78.1k]
  ------------------
 1627|  23.9k|        if (memcmp(Mnemonic.data()+0, "sal", 3))
  ------------------
  |  Branch (1627:13): [True: 23.8k, False: 95]
  ------------------
 1628|  23.8k|          break;
 1629|     95|        Mnemonic = "shl";	 // "sal"
 1630|     95|        return;
 1631|  6.89k|      case 4:	 // 1 string to match.
  ------------------
  |  Branch (1631:7): [True: 6.89k, False: 95.2k]
  ------------------
 1632|  6.89k|        if (memcmp(Mnemonic.data()+0, "popa", 4))
  ------------------
  |  Branch (1632:13): [True: 6.84k, False: 49]
  ------------------
 1633|  6.84k|          break;
 1634|     49|        if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "popa"
  ------------------
  |  Branch (1634:13): [True: 22, False: 27]
  ------------------
 1635|     22|          Mnemonic = "popaw";
 1636|     27|        else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1636:18): [True: 18, False: 9]
  ------------------
 1637|     18|          Mnemonic = "popal";
 1638|     49|        return;
 1639|  31.9k|      case 5:	 // 4 strings to match.
  ------------------
  |  Branch (1639:7): [True: 31.9k, False: 70.1k]
  ------------------
 1640|  31.9k|        switch (Mnemonic[0]) {
 1641|  29.3k|        default: break;
  ------------------
  |  Branch (1641:9): [True: 29.3k, False: 2.62k]
  ------------------
 1642|  29.3k|        case 'c':	 // 2 strings to match.
  ------------------
  |  Branch (1642:9): [True: 2.41k, False: 29.5k]
  ------------------
 1643|  2.41k|          if (memcmp(Mnemonic.data()+1, "mov", 3))
  ------------------
  |  Branch (1643:15): [True: 2.37k, False: 39]
  ------------------
 1644|  2.37k|            break;
 1645|     39|          switch (Mnemonic[4]) {
 1646|     21|          default: break;
  ------------------
  |  Branch (1646:11): [True: 21, False: 18]
  ------------------
 1647|     21|          case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1647:11): [True: 9, False: 30]
  ------------------
 1648|      9|            Mnemonic = "cmovb";	 // "cmovc"
 1649|      9|            return;
 1650|      9|          case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1650:11): [True: 9, False: 30]
  ------------------
 1651|      9|            Mnemonic = "cmove";	 // "cmovz"
 1652|      9|            return;
 1653|     39|          }
 1654|     21|          break;
 1655|    206|        case 'p':	 // 2 strings to match.
  ------------------
  |  Branch (1655:9): [True: 206, False: 31.7k]
  ------------------
 1656|    206|          switch (Mnemonic[1]) {
 1657|     27|          default: break;
  ------------------
  |  Branch (1657:11): [True: 27, False: 179]
  ------------------
 1658|     27|          case 'o':	 // 1 string to match.
  ------------------
  |  Branch (1658:11): [True: 19, False: 187]
  ------------------
 1659|     19|            if (memcmp(Mnemonic.data()+2, "pad", 3))
  ------------------
  |  Branch (1659:17): [True: 10, False: 9]
  ------------------
 1660|     10|              break;
 1661|      9|            if ((Features & Feature_Not64BitMode) == Feature_Not64BitMode)	 // "popad"
  ------------------
  |  Branch (1661:17): [True: 9, False: 0]
  ------------------
 1662|      9|              Mnemonic = "popal";
 1663|      9|            return;
 1664|    160|          case 'u':	 // 1 string to match.
  ------------------
  |  Branch (1664:11): [True: 160, False: 46]
  ------------------
 1665|    160|            if (memcmp(Mnemonic.data()+2, "sha", 3))
  ------------------
  |  Branch (1665:17): [True: 32, False: 128]
  ------------------
 1666|     32|              break;
 1667|    128|            if ((Features & Feature_In16BitMode) == Feature_In16BitMode)	 // "pusha"
  ------------------
  |  Branch (1667:17): [True: 108, False: 20]
  ------------------
 1668|    108|              Mnemonic = "pushaw";
 1669|     20|            else if ((Features & Feature_In32BitMode) == Feature_In32BitMode)
  ------------------
  |  Branch (1669:22): [True: 11, False: 9]
  ------------------
 1670|     11|              Mnemonic = "pushal";
 1671|    128|            return;
 1672|    206|          }
 1673|     69|          break;
 1674|  31.9k|        }
 1675|  31.7k|        break;
 1676|  31.7k|      case 6:	 // 9 strings to match.
  ------------------
  |  Branch (1676:7): [True: 7.45k, False: 94.6k]
  ------------------
 1677|  7.45k|        switch (Mnemonic[0]) {
 1678|  7.24k|        default: break;
  ------------------
  |  Branch (1678:9): [True: 7.24k, False: 215]
  ------------------
 1679|  7.24k|        case 'c':	 // 8 strings to match.
  ------------------
  |  Branch (1679:9): [True: 166, False: 7.29k]
  ------------------
 1680|    166|          if (memcmp(Mnemonic.data()+1, "mov", 3))
  ------------------
  |  Branch (1680:15): [True: 67, False: 99]
  ------------------
 1681|     67|            break;
 1682|     99|          switch (Mnemonic[4]) {
 1683|      9|          default: break;
  ------------------
  |  Branch (1683:11): [True: 9, False: 90]
  ------------------
 1684|     63|          case 'n':	 // 6 strings to match.
  ------------------
  |  Branch (1684:11): [True: 63, False: 36]
  ------------------
 1685|     63|            switch (Mnemonic[5]) {
 1686|      9|            default: break;
  ------------------
  |  Branch (1686:13): [True: 9, False: 54]
  ------------------
 1687|      9|            case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1687:13): [True: 9, False: 54]
  ------------------
 1688|      9|              Mnemonic = "cmovbe";	 // "cmovna"
 1689|      9|              return;
 1690|      9|            case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1690:13): [True: 9, False: 54]
  ------------------
 1691|      9|              Mnemonic = "cmovae";	 // "cmovnb"
 1692|      9|              return;
 1693|      9|            case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1693:13): [True: 9, False: 54]
  ------------------
 1694|      9|              Mnemonic = "cmovae";	 // "cmovnc"
 1695|      9|              return;
 1696|      9|            case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1696:13): [True: 9, False: 54]
  ------------------
 1697|      9|              Mnemonic = "cmovle";	 // "cmovng"
 1698|      9|              return;
 1699|      9|            case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1699:13): [True: 9, False: 54]
  ------------------
 1700|      9|              Mnemonic = "cmovge";	 // "cmovnl"
 1701|      9|              return;
 1702|      9|            case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1702:13): [True: 9, False: 54]
  ------------------
 1703|      9|              Mnemonic = "cmovne";	 // "cmovnz"
 1704|      9|              return;
 1705|     63|            }
 1706|      9|            break;
 1707|     27|          case 'p':	 // 2 strings to match.
  ------------------
  |  Branch (1707:11): [True: 27, False: 72]
  ------------------
 1708|     27|            switch (Mnemonic[5]) {
 1709|      9|            default: break;
  ------------------
  |  Branch (1709:13): [True: 9, False: 18]
  ------------------
 1710|      9|            case 'e':	 // 1 string to match.
  ------------------
  |  Branch (1710:13): [True: 9, False: 18]
  ------------------
 1711|      9|              Mnemonic = "cmovp";	 // "cmovpe"
 1712|      9|              return;
 1713|      9|            case 'o':	 // 1 string to match.
  ------------------
  |  Branch (1713:13): [True: 9, False: 18]
  ------------------
 1714|      9|              Mnemonic = "cmovnp";	 // "cmovpo"
 1715|      9|              return;
 1716|     27|            }
 1717|      9|            break;
 1718|     99|          }
 1719|     27|          break;
 1720|     49|        case 'p':	 // 1 string to match.
  ------------------
  |  Branch (1720:9): [True: 49, False: 7.41k]
  ------------------
 1721|     49|          if (memcmp(Mnemonic.data()+1, "ushad", 5))
  ------------------
  |  Branch (1721:15): [True: 47, False: 2]
  ------------------
 1722|     47|            break;
 1723|      2|          if ((Features & Feature_Not64BitMode) == Feature_Not64BitMode)	 // "pushad"
  ------------------
  |  Branch (1723:15): [True: 1, False: 1]
  ------------------
 1724|      1|            Mnemonic = "pushal";
 1725|      2|          return;
 1726|  7.45k|        }
 1727|  7.38k|        break;
 1728|  7.38k|      case 7:	 // 4 strings to match.
  ------------------
  |  Branch (1728:7): [True: 396, False: 101k]
  ------------------
 1729|    396|        if (memcmp(Mnemonic.data()+0, "cmovn", 5))
  ------------------
  |  Branch (1729:13): [True: 313, False: 83]
  ------------------
 1730|    313|          break;
 1731|     83|        switch (Mnemonic[5]) {
 1732|      9|        default: break;
  ------------------
  |  Branch (1732:9): [True: 9, False: 74]
  ------------------
 1733|     20|        case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1733:9): [True: 20, False: 63]
  ------------------
 1734|     20|          if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1734:15): [True: 11, False: 9]
  ------------------
 1735|     11|            break;
 1736|      9|          Mnemonic = "cmovb";	 // "cmovnae"
 1737|      9|          return;
 1738|     18|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1738:9): [True: 18, False: 65]
  ------------------
 1739|     18|          if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1739:15): [True: 9, False: 9]
  ------------------
 1740|      9|            break;
 1741|      9|          Mnemonic = "cmova";	 // "cmovnbe"
 1742|      9|          return;
 1743|     18|        case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1743:9): [True: 18, False: 65]
  ------------------
 1744|     18|          if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1744:15): [True: 9, False: 9]
  ------------------
 1745|      9|            break;
 1746|      9|          Mnemonic = "cmovl";	 // "cmovnge"
 1747|      9|          return;
 1748|     18|        case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1748:9): [True: 18, False: 65]
  ------------------
 1749|     18|          if (Mnemonic[6] != 'e')
  ------------------
  |  Branch (1749:15): [True: 9, False: 9]
  ------------------
 1750|      9|            break;
 1751|      9|          Mnemonic = "cmovg";	 // "cmovnle"
 1752|      9|          return;
 1753|     83|        }
 1754|     47|        break;
 1755|   102k|      }
 1756|   101k|    break;
 1757|   119k|  }
 1758|   117k|  switch (Mnemonic.size()) {
 1759|  6.19k|  default: break;
  ------------------
  |  Branch (1759:3): [True: 6.19k, False: 110k]
  ------------------
 1760|  30.3k|  case 2:	 // 2 strings to match.
  ------------------
  |  Branch (1760:3): [True: 30.3k, False: 86.7k]
  ------------------
 1761|  30.3k|    if (Mnemonic[0] != 'j')
  ------------------
  |  Branch (1761:9): [True: 3.90k, False: 26.4k]
  ------------------
 1762|  3.90k|      break;
 1763|  26.4k|    switch (Mnemonic[1]) {
 1764|  25.4k|    default: break;
  ------------------
  |  Branch (1764:5): [True: 25.4k, False: 968]
  ------------------
 1765|  25.4k|    case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1765:5): [True: 215, False: 26.2k]
  ------------------
 1766|    215|      Mnemonic = "jb";	 // "jc"
 1767|    215|      return;
 1768|    753|    case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1768:5): [True: 753, False: 25.6k]
  ------------------
 1769|    753|      Mnemonic = "je";	 // "jz"
 1770|    753|      return;
 1771|  26.4k|    }
 1772|  25.4k|    break;
 1773|  26.7k|  case 3:	 // 8 strings to match.
  ------------------
  |  Branch (1773:3): [True: 26.7k, False: 90.3k]
  ------------------
 1774|  26.7k|    if (Mnemonic[0] != 'j')
  ------------------
  |  Branch (1774:9): [True: 9.16k, False: 17.5k]
  ------------------
 1775|  9.16k|      break;
 1776|  17.5k|    switch (Mnemonic[1]) {
 1777|  16.5k|    default: break;
  ------------------
  |  Branch (1777:5): [True: 16.5k, False: 1.04k]
  ------------------
 1778|  16.5k|    case 'n':	 // 6 strings to match.
  ------------------
  |  Branch (1778:5): [True: 985, False: 16.5k]
  ------------------
 1779|    985|      switch (Mnemonic[2]) {
 1780|    209|      default: break;
  ------------------
  |  Branch (1780:7): [True: 209, False: 776]
  ------------------
 1781|    209|      case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1781:7): [True: 92, False: 893]
  ------------------
 1782|     92|        Mnemonic = "jbe";	 // "jna"
 1783|     92|        return;
 1784|     37|      case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1784:7): [True: 37, False: 948]
  ------------------
 1785|     37|        Mnemonic = "jae";	 // "jnb"
 1786|     37|        return;
 1787|    116|      case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1787:7): [True: 116, False: 869]
  ------------------
 1788|    116|        Mnemonic = "jae";	 // "jnc"
 1789|    116|        return;
 1790|    115|      case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1790:7): [True: 115, False: 870]
  ------------------
 1791|    115|        Mnemonic = "jle";	 // "jng"
 1792|    115|        return;
 1793|    102|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1793:7): [True: 102, False: 883]
  ------------------
 1794|    102|        Mnemonic = "jge";	 // "jnl"
 1795|    102|        return;
 1796|    314|      case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1796:7): [True: 314, False: 671]
  ------------------
 1797|    314|        Mnemonic = "jne";	 // "jnz"
 1798|    314|        return;
 1799|    985|      }
 1800|    209|      break;
 1801|    209|    case 'p':	 // 2 strings to match.
  ------------------
  |  Branch (1801:5): [True: 56, False: 17.5k]
  ------------------
 1802|     56|      switch (Mnemonic[2]) {
 1803|     21|      default: break;
  ------------------
  |  Branch (1803:7): [True: 21, False: 35]
  ------------------
 1804|     21|      case 'e':	 // 1 string to match.
  ------------------
  |  Branch (1804:7): [True: 9, False: 47]
  ------------------
 1805|      9|        Mnemonic = "jp";	 // "jpe"
 1806|      9|        return;
 1807|     26|      case 'o':	 // 1 string to match.
  ------------------
  |  Branch (1807:7): [True: 26, False: 30]
  ------------------
 1808|     26|        Mnemonic = "jnp";	 // "jpo"
 1809|     26|        return;
 1810|     56|      }
 1811|     21|      break;
 1812|  17.5k|    }
 1813|  16.7k|    break;
 1814|  16.7k|  case 4:	 // 8 strings to match.
  ------------------
  |  Branch (1814:3): [True: 8.52k, False: 108k]
  ------------------
 1815|  8.52k|    switch (Mnemonic[0]) {
 1816|  6.54k|    default: break;
  ------------------
  |  Branch (1816:5): [True: 6.54k, False: 1.98k]
  ------------------
 1817|  6.54k|    case 'j':	 // 4 strings to match.
  ------------------
  |  Branch (1817:5): [True: 179, False: 8.34k]
  ------------------
 1818|    179|      if (Mnemonic[1] != 'n')
  ------------------
  |  Branch (1818:11): [True: 58, False: 121]
  ------------------
 1819|     58|        break;
 1820|    121|      switch (Mnemonic[2]) {
 1821|     33|      default: break;
  ------------------
  |  Branch (1821:7): [True: 33, False: 88]
  ------------------
 1822|     33|      case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1822:7): [True: 22, False: 99]
  ------------------
 1823|     22|        if (Mnemonic[3] != 'e')
  ------------------
  |  Branch (1823:13): [True: 13, False: 9]
  ------------------
 1824|     13|          break;
 1825|      9|        Mnemonic = "jb";	 // "jnae"
 1826|      9|        return;
 1827|     22|      case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1827:7): [True: 22, False: 99]
  ------------------
 1828|     22|        if (Mnemonic[3] != 'e')
  ------------------
  |  Branch (1828:13): [True: 13, False: 9]
  ------------------
 1829|     13|          break;
 1830|      9|        Mnemonic = "ja";	 // "jnbe"
 1831|      9|        return;
 1832|     22|      case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1832:7): [True: 22, False: 99]
  ------------------
 1833|     22|        if (Mnemonic[3] != 'e')
  ------------------
  |  Branch (1833:13): [True: 13, False: 9]
  ------------------
 1834|     13|          break;
 1835|      9|        Mnemonic = "jl";	 // "jnge"
 1836|      9|        return;
 1837|     22|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1837:7): [True: 22, False: 99]
  ------------------
 1838|     22|        if (Mnemonic[3] != 'e')
  ------------------
  |  Branch (1838:13): [True: 13, False: 9]
  ------------------
 1839|     13|          break;
 1840|      9|        Mnemonic = "jg";	 // "jnle"
 1841|      9|        return;
 1842|    121|      }
 1843|     85|      break;
 1844|     97|    case 'r':	 // 2 strings to match.
  ------------------
  |  Branch (1844:5): [True: 97, False: 8.42k]
  ------------------
 1845|     97|      if (memcmp(Mnemonic.data()+1, "ep", 2))
  ------------------
  |  Branch (1845:11): [True: 83, False: 14]
  ------------------
 1846|     83|        break;
 1847|     14|      switch (Mnemonic[3]) {
 1848|      9|      default: break;
  ------------------
  |  Branch (1848:7): [True: 9, False: 5]
  ------------------
 1849|      9|      case 'e':	 // 1 string to match.
  ------------------
  |  Branch (1849:7): [True: 4, False: 10]
  ------------------
 1850|      4|        Mnemonic = "rep";	 // "repe"
 1851|      4|        return;
 1852|      1|      case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1852:7): [True: 1, False: 13]
  ------------------
 1853|      1|        Mnemonic = "rep";	 // "repz"
 1854|      1|        return;
 1855|     14|      }
 1856|      9|      break;
 1857|  1.70k|    case 's':	 // 2 strings to match.
  ------------------
  |  Branch (1857:5): [True: 1.70k, False: 6.81k]
  ------------------
 1858|  1.70k|      if (memcmp(Mnemonic.data()+1, "et", 2))
  ------------------
  |  Branch (1858:11): [True: 396, False: 1.31k]
  ------------------
 1859|    396|        break;
 1860|  1.31k|      switch (Mnemonic[3]) {
 1861|    725|      default: break;
  ------------------
  |  Branch (1861:7): [True: 725, False: 587]
  ------------------
 1862|    725|      case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1862:7): [True: 63, False: 1.24k]
  ------------------
 1863|     63|        Mnemonic = "setb";	 // "setc"
 1864|     63|        return;
 1865|    524|      case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1865:7): [True: 524, False: 788]
  ------------------
 1866|    524|        Mnemonic = "sete";	 // "setz"
 1867|    524|        return;
 1868|  1.31k|      }
 1869|    725|      break;
 1870|  8.52k|    }
 1871|  7.89k|    break;
 1872|  33.6k|  case 5:	 // 11 strings to match.
  ------------------
  |  Branch (1872:3): [True: 33.6k, False: 83.3k]
  ------------------
 1873|  33.6k|    switch (Mnemonic[0]) {
 1874|  28.2k|    default: break;
  ------------------
  |  Branch (1874:5): [True: 28.2k, False: 5.41k]
  ------------------
 1875|  28.2k|    case 'f':	 // 1 string to match.
  ------------------
  |  Branch (1875:5): [True: 223, False: 33.4k]
  ------------------
 1876|    223|      if (memcmp(Mnemonic.data()+1, "wait", 4))
  ------------------
  |  Branch (1876:11): [True: 220, False: 3]
  ------------------
 1877|    220|        break;
 1878|      3|      Mnemonic = "wait";	 // "fwait"
 1879|      3|      return;
 1880|  1.64k|    case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1880:5): [True: 1.64k, False: 32.0k]
  ------------------
 1881|  1.64k|      if (memcmp(Mnemonic.data()+1, "oopz", 4))
  ------------------
  |  Branch (1881:11): [True: 1.64k, False: 9]
  ------------------
 1882|  1.64k|        break;
 1883|      9|      Mnemonic = "loope";	 // "loopz"
 1884|      9|      return;
 1885|     64|    case 'r':	 // 1 string to match.
  ------------------
  |  Branch (1885:5): [True: 64, False: 33.6k]
  ------------------
 1886|     64|      if (memcmp(Mnemonic.data()+1, "epnz", 4))
  ------------------
  |  Branch (1886:11): [True: 47, False: 17]
  ------------------
 1887|     47|        break;
 1888|     17|      Mnemonic = "repne";	 // "repnz"
 1889|     17|      return;
 1890|  3.48k|    case 's':	 // 8 strings to match.
  ------------------
  |  Branch (1890:5): [True: 3.48k, False: 30.1k]
  ------------------
 1891|  3.48k|      if (memcmp(Mnemonic.data()+1, "et", 2))
  ------------------
  |  Branch (1891:11): [True: 3.09k, False: 390]
  ------------------
 1892|  3.09k|        break;
 1893|    390|      switch (Mnemonic[3]) {
 1894|     85|      default: break;
  ------------------
  |  Branch (1894:7): [True: 85, False: 305]
  ------------------
 1895|    186|      case 'n':	 // 6 strings to match.
  ------------------
  |  Branch (1895:7): [True: 186, False: 204]
  ------------------
 1896|    186|        switch (Mnemonic[4]) {
 1897|     29|        default: break;
  ------------------
  |  Branch (1897:9): [True: 29, False: 157]
  ------------------
 1898|     29|        case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1898:9): [True: 25, False: 161]
  ------------------
 1899|     25|          Mnemonic = "setbe";	 // "setna"
 1900|     25|          return;
 1901|     69|        case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1901:9): [True: 69, False: 117]
  ------------------
 1902|     69|          Mnemonic = "setae";	 // "setnb"
 1903|     69|          return;
 1904|      9|        case 'c':	 // 1 string to match.
  ------------------
  |  Branch (1904:9): [True: 9, False: 177]
  ------------------
 1905|      9|          Mnemonic = "setae";	 // "setnc"
 1906|      9|          return;
 1907|      9|        case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1907:9): [True: 9, False: 177]
  ------------------
 1908|      9|          Mnemonic = "setle";	 // "setng"
 1909|      9|          return;
 1910|     11|        case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1910:9): [True: 11, False: 175]
  ------------------
 1911|     11|          Mnemonic = "setge";	 // "setnl"
 1912|     11|          return;
 1913|     34|        case 'z':	 // 1 string to match.
  ------------------
  |  Branch (1913:9): [True: 34, False: 152]
  ------------------
 1914|     34|          Mnemonic = "setne";	 // "setnz"
 1915|     34|          return;
 1916|    186|        }
 1917|     29|        break;
 1918|    119|      case 'p':	 // 2 strings to match.
  ------------------
  |  Branch (1918:7): [True: 119, False: 271]
  ------------------
 1919|    119|        switch (Mnemonic[4]) {
 1920|     13|        default: break;
  ------------------
  |  Branch (1920:9): [True: 13, False: 106]
  ------------------
 1921|     97|        case 'e':	 // 1 string to match.
  ------------------
  |  Branch (1921:9): [True: 97, False: 22]
  ------------------
 1922|     97|          Mnemonic = "setp";	 // "setpe"
 1923|     97|          return;
 1924|      9|        case 'o':	 // 1 string to match.
  ------------------
  |  Branch (1924:9): [True: 9, False: 110]
  ------------------
 1925|      9|          Mnemonic = "setnp";	 // "setpo"
 1926|      9|          return;
 1927|    119|        }
 1928|     13|        break;
 1929|    390|      }
 1930|    127|      break;
 1931|  33.6k|    }
 1932|  33.3k|    break;
 1933|  33.3k|  case 6:	 // 6 strings to match.
  ------------------
  |  Branch (1933:3): [True: 8.72k, False: 108k]
  ------------------
 1934|  8.72k|    switch (Mnemonic[0]) {
 1935|  1.29k|    default: break;
  ------------------
  |  Branch (1935:5): [True: 1.29k, False: 7.43k]
  ------------------
 1936|  6.86k|    case 'f':	 // 1 string to match.
  ------------------
  |  Branch (1936:5): [True: 6.86k, False: 1.86k]
  ------------------
 1937|  6.86k|      if (memcmp(Mnemonic.data()+1, "comip", 5))
  ------------------
  |  Branch (1937:11): [True: 6.85k, False: 9]
  ------------------
 1938|  6.85k|        break;
 1939|      9|      Mnemonic = "fcompi";	 // "fcomip"
 1940|      9|      return;
 1941|     77|    case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1941:5): [True: 77, False: 8.65k]
  ------------------
 1942|     77|      if (memcmp(Mnemonic.data()+1, "oopnz", 5))
  ------------------
  |  Branch (1942:11): [True: 68, False: 9]
  ------------------
 1943|     68|        break;
 1944|      9|      Mnemonic = "loopne";	 // "loopnz"
 1945|      9|      return;
 1946|    488|    case 's':	 // 4 strings to match.
  ------------------
  |  Branch (1946:5): [True: 488, False: 8.24k]
  ------------------
 1947|    488|      if (memcmp(Mnemonic.data()+1, "etn", 3))
  ------------------
  |  Branch (1947:11): [True: 269, False: 219]
  ------------------
 1948|    269|        break;
 1949|    219|      switch (Mnemonic[4]) {
 1950|     26|      default: break;
  ------------------
  |  Branch (1950:7): [True: 26, False: 193]
  ------------------
 1951|     43|      case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1951:7): [True: 43, False: 176]
  ------------------
 1952|     43|        if (Mnemonic[5] != 'e')
  ------------------
  |  Branch (1952:13): [True: 13, False: 30]
  ------------------
 1953|     13|          break;
 1954|     30|        Mnemonic = "setb";	 // "setnae"
 1955|     30|        return;
 1956|     88|      case 'b':	 // 1 string to match.
  ------------------
  |  Branch (1956:7): [True: 88, False: 131]
  ------------------
 1957|     88|        if (Mnemonic[5] != 'e')
  ------------------
  |  Branch (1957:13): [True: 13, False: 75]
  ------------------
 1958|     13|          break;
 1959|     75|        Mnemonic = "seta";	 // "setnbe"
 1960|     75|        return;
 1961|     22|      case 'g':	 // 1 string to match.
  ------------------
  |  Branch (1961:7): [True: 22, False: 197]
  ------------------
 1962|     22|        if (Mnemonic[5] != 'e')
  ------------------
  |  Branch (1962:13): [True: 13, False: 9]
  ------------------
 1963|     13|          break;
 1964|      9|        Mnemonic = "setl";	 // "setnge"
 1965|      9|        return;
 1966|     40|      case 'l':	 // 1 string to match.
  ------------------
  |  Branch (1966:7): [True: 40, False: 179]
  ------------------
 1967|     40|        if (Mnemonic[5] != 'e')
  ------------------
  |  Branch (1967:13): [True: 13, False: 27]
  ------------------
 1968|     13|          break;
 1969|     27|        Mnemonic = "setg";	 // "setnle"
 1970|     27|        return;
 1971|    219|      }
 1972|     78|      break;
 1973|  8.72k|    }
 1974|  8.56k|    break;
 1975|  8.56k|  case 7:	 // 1 string to match.
  ------------------
  |  Branch (1975:3): [True: 2.86k, False: 114k]
  ------------------
 1976|  2.86k|    if (memcmp(Mnemonic.data()+0, "fucomip", 7))
  ------------------
  |  Branch (1976:9): [True: 2.82k, False: 46]
  ------------------
 1977|  2.82k|      break;
 1978|     46|    Mnemonic = "fucompi";	 // "fucomip"
 1979|     46|    return;
 1980|   117k|  }
 1981|   117k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_110LessOpcodeclERKNS_10MatchEntryEN7llvm_ks9StringRefE:
 6371|  1.64M|    bool operator()(const MatchEntry &LHS, StringRef RHS) {
 6372|  1.64M|      return LHS.getMnemonic() < RHS;
 6373|  1.64M|    }
X86AsmParser.cpp:_ZN12_GLOBAL__N_110LessOpcodeclEN7llvm_ks9StringRefERKNS_10MatchEntryE:
 6374|  1.23M|    bool operator()(StringRef LHS, const MatchEntry &RHS) {
 6375|  1.23M|      return LHS < RHS.getMnemonic();
 6376|  1.23M|    }
X86AsmParser.cpp:_ZNK12_GLOBAL__N_110MatchEntry11getMnemonicEv:
 6363|  3.27M|    StringRef getMnemonic() const {
 6364|  3.27M|      return StringRef(MnemonicTable + Mnemonic + 1,
 6365|  3.27M|                       MnemonicTable[Mnemonic]);
 6366|  3.27M|    }
X86AsmParser.cpp:_ZL20validateOperandClassRN7llvm_ks18MCParsedAsmOperandEN12_GLOBAL__N_114MatchClassKindE:
 5487|   446k|static unsigned validateOperandClass(MCParsedAsmOperand &GOp, MatchClassKind Kind) {
 5488|   446k|  X86Operand &Operand = (X86Operand&)GOp;
 5489|   446k|  if (Kind == InvalidMatchClass)
  ------------------
  |  Branch (5489:7): [True: 5.81k, False: 440k]
  ------------------
 5490|  5.81k|    return MCTargetAsmParser::Match_InvalidOperand;
 5491|       |
 5492|   440k|  if (Operand.isToken())
  ------------------
  |  Branch (5492:7): [True: 7.26k, False: 433k]
  ------------------
 5493|  7.26k|    return isSubclass(matchTokenString(Operand.getToken()), Kind) ?
  ------------------
  |  Branch (5493:12): [True: 944, False: 6.31k]
  ------------------
 5494|    944|             MCTargetAsmParser::Match_Success :
 5495|  7.26k|             MCTargetAsmParser::Match_InvalidOperand;
 5496|       |
 5497|       |  //printf("-- validateOperandClass: Kind = %u\n", Kind);
 5498|       |  // 'AVX512RC' class
 5499|   433k|  if (Kind == MCK_AVX512RC) {
  ------------------
  |  Branch (5499:7): [True: 3, False: 433k]
  ------------------
 5500|      3|    if (Operand.isAVX512RC())
  ------------------
  |  Branch (5500:9): [True: 0, False: 3]
  ------------------
 5501|      0|      return MCTargetAsmParser::Match_Success;
 5502|      3|  }
 5503|       |
 5504|       |  // 'ImmSExti64i8' class
 5505|   433k|  if (Kind == MCK_ImmSExti64i8) {
  ------------------
  |  Branch (5505:7): [True: 395, False: 433k]
  ------------------
 5506|    395|    if (Operand.isImmSExti64i8())
  ------------------
  |  Branch (5506:9): [True: 106, False: 289]
  ------------------
 5507|    106|      return MCTargetAsmParser::Match_Success;
 5508|    395|  }
 5509|       |
 5510|       |  // 'ImmSExti16i8' class
 5511|   433k|  if (Kind == MCK_ImmSExti16i8) {
  ------------------
  |  Branch (5511:7): [True: 693, False: 432k]
  ------------------
 5512|    693|    if (Operand.isImmSExti16i8())
  ------------------
  |  Branch (5512:9): [True: 197, False: 496]
  ------------------
 5513|    197|      return MCTargetAsmParser::Match_Success;
 5514|    693|  }
 5515|       |
 5516|       |  // 'ImmSExti32i8' class
 5517|   433k|  if (Kind == MCK_ImmSExti32i8) {
  ------------------
  |  Branch (5517:7): [True: 879, False: 432k]
  ------------------
 5518|    879|    if (Operand.isImmSExti32i8())
  ------------------
  |  Branch (5518:9): [True: 139, False: 740]
  ------------------
 5519|    139|      return MCTargetAsmParser::Match_Success;
 5520|    879|  }
 5521|       |
 5522|       |  // 'ImmSExti64i32' class
 5523|   433k|  if (Kind == MCK_ImmSExti64i32) {
  ------------------
  |  Branch (5523:7): [True: 338, False: 432k]
  ------------------
 5524|    338|    if (Operand.isImmSExti64i32())
  ------------------
  |  Branch (5524:9): [True: 118, False: 220]
  ------------------
 5525|    118|      return MCTargetAsmParser::Match_Success;
 5526|    338|  }
 5527|       |
 5528|       |  // 'Imm' class
 5529|   433k|  if (Kind == MCK_Imm) {
  ------------------
  |  Branch (5529:7): [True: 15.3k, False: 417k]
  ------------------
 5530|  15.3k|    if (Operand.isImm())
  ------------------
  |  Branch (5530:9): [True: 5.97k, False: 9.42k]
  ------------------
 5531|  5.97k|      return MCTargetAsmParser::Match_Success;
 5532|  15.3k|  }
 5533|       |
 5534|       |  // 'ImmUnsignedi8' class
 5535|   427k|  if (Kind == MCK_ImmUnsignedi8) {
  ------------------
  |  Branch (5535:7): [True: 694, False: 426k]
  ------------------
 5536|    694|    if (Operand.isImmUnsignedi8())
  ------------------
  |  Branch (5536:9): [True: 87, False: 607]
  ------------------
 5537|     87|      return MCTargetAsmParser::Match_Success;
 5538|    694|  }
 5539|       |
 5540|       |  // 'GR32orGR64' class
 5541|   427k|  if (Kind == MCK_GR32orGR64) {
  ------------------
  |  Branch (5541:7): [True: 0, False: 427k]
  ------------------
 5542|      0|    if (Operand.isGR32orGR64())
  ------------------
  |  Branch (5542:9): [True: 0, False: 0]
  ------------------
 5543|      0|      return MCTargetAsmParser::Match_Success;
 5544|      0|  }
 5545|       |
 5546|       |  // 'AbsMem16' class
 5547|   427k|  if (Kind == MCK_AbsMem16) {
  ------------------
  |  Branch (5547:7): [True: 0, False: 427k]
  ------------------
 5548|      0|    if (Operand.isAbsMem16())
  ------------------
  |  Branch (5548:9): [True: 0, False: 0]
  ------------------
 5549|      0|      return MCTargetAsmParser::Match_Success;
 5550|      0|  }
 5551|       |
 5552|       |  // 'DstIdx16' class
 5553|   427k|  if (Kind == MCK_DstIdx16) {
  ------------------
  |  Branch (5553:7): [True: 5.22k, False: 421k]
  ------------------
 5554|  5.22k|    if (Operand.isDstIdx16())
  ------------------
  |  Branch (5554:9): [True: 712, False: 4.51k]
  ------------------
 5555|    712|      return MCTargetAsmParser::Match_Success;
 5556|  5.22k|  }
 5557|       |
 5558|       |  // 'DstIdx32' class
 5559|   426k|  if (Kind == MCK_DstIdx32) {
  ------------------
  |  Branch (5559:7): [True: 1.75k, False: 424k]
  ------------------
 5560|  1.75k|    if (Operand.isDstIdx32())
  ------------------
  |  Branch (5560:9): [True: 194, False: 1.55k]
  ------------------
 5561|    194|      return MCTargetAsmParser::Match_Success;
 5562|  1.75k|  }
 5563|       |
 5564|       |  // 'DstIdx64' class
 5565|   426k|  if (Kind == MCK_DstIdx64) {
  ------------------
  |  Branch (5565:7): [True: 21.7k, False: 404k]
  ------------------
 5566|  21.7k|    if (Operand.isDstIdx64())
  ------------------
  |  Branch (5566:9): [True: 21.2k, False: 448]
  ------------------
 5567|  21.2k|      return MCTargetAsmParser::Match_Success;
 5568|  21.7k|  }
 5569|       |
 5570|       |  // 'DstIdx8' class
 5571|   404k|  if (Kind == MCK_DstIdx8) {
  ------------------
  |  Branch (5571:7): [True: 928, False: 403k]
  ------------------
 5572|    928|    if (Operand.isDstIdx8())
  ------------------
  |  Branch (5572:9): [True: 258, False: 670]
  ------------------
 5573|    258|      return MCTargetAsmParser::Match_Success;
 5574|    928|  }
 5575|       |
 5576|       |  // 'MemOffs16_16' class
 5577|   404k|  if (Kind == MCK_MemOffs16_16) {
  ------------------
  |  Branch (5577:7): [True: 5.01k, False: 399k]
  ------------------
 5578|  5.01k|    if (Operand.isMemOffs16_16())
  ------------------
  |  Branch (5578:9): [True: 281, False: 4.73k]
  ------------------
 5579|    281|      return MCTargetAsmParser::Match_Success;
 5580|  5.01k|  }
 5581|       |
 5582|       |  // 'MemOffs16_32' class
 5583|   404k|  if (Kind == MCK_MemOffs16_32) {
  ------------------
  |  Branch (5583:7): [True: 2.86k, False: 401k]
  ------------------
 5584|  2.86k|    if (Operand.isMemOffs16_32())
  ------------------
  |  Branch (5584:9): [True: 16, False: 2.85k]
  ------------------
 5585|     16|      return MCTargetAsmParser::Match_Success;
 5586|  2.86k|  }
 5587|       |
 5588|       |  // 'MemOffs16_8' class
 5589|   404k|  if (Kind == MCK_MemOffs16_8) {
  ------------------
  |  Branch (5589:7): [True: 3.16k, False: 401k]
  ------------------
 5590|  3.16k|    if (Operand.isMemOffs16_8())
  ------------------
  |  Branch (5590:9): [True: 31, False: 3.13k]
  ------------------
 5591|     31|      return MCTargetAsmParser::Match_Success;
 5592|  3.16k|  }
 5593|       |
 5594|       |  // 'MemOffs32_16' class
 5595|   404k|  if (Kind == MCK_MemOffs32_16) {
  ------------------
  |  Branch (5595:7): [True: 4.75k, False: 399k]
  ------------------
 5596|  4.75k|    if (Operand.isMemOffs32_16())
  ------------------
  |  Branch (5596:9): [True: 18, False: 4.74k]
  ------------------
 5597|     18|      return MCTargetAsmParser::Match_Success;
 5598|  4.75k|  }
 5599|       |
 5600|       |  // 'MemOffs32_32' class
 5601|   404k|  if (Kind == MCK_MemOffs32_32) {
  ------------------
  |  Branch (5601:7): [True: 2.86k, False: 401k]
  ------------------
 5602|  2.86k|    if (Operand.isMemOffs32_32())
  ------------------
  |  Branch (5602:9): [True: 10, False: 2.85k]
  ------------------
 5603|     10|      return MCTargetAsmParser::Match_Success;
 5604|  2.86k|  }
 5605|       |
 5606|       |  // 'MemOffs32_64' class
 5607|   404k|  if (Kind == MCK_MemOffs32_64) {
  ------------------
  |  Branch (5607:7): [True: 2.86k, False: 401k]
  ------------------
 5608|  2.86k|    if (Operand.isMemOffs32_64())
  ------------------
  |  Branch (5608:9): [True: 10, False: 2.85k]
  ------------------
 5609|     10|      return MCTargetAsmParser::Match_Success;
 5610|  2.86k|  }
 5611|       |
 5612|       |  // 'MemOffs32_8' class
 5613|   404k|  if (Kind == MCK_MemOffs32_8) {
  ------------------
  |  Branch (5613:7): [True: 3.16k, False: 401k]
  ------------------
 5614|  3.16k|    if (Operand.isMemOffs32_8())
  ------------------
  |  Branch (5614:9): [True: 19, False: 3.14k]
  ------------------
 5615|     19|      return MCTargetAsmParser::Match_Success;
 5616|  3.16k|  }
 5617|       |
 5618|       |  // 'MemOffs64_16' class
 5619|   404k|  if (Kind == MCK_MemOffs64_16) {
  ------------------
  |  Branch (5619:7): [True: 4.75k, False: 399k]
  ------------------
 5620|  4.75k|    if (Operand.isMemOffs64_16())
  ------------------
  |  Branch (5620:9): [True: 21, False: 4.73k]
  ------------------
 5621|     21|      return MCTargetAsmParser::Match_Success;
 5622|  4.75k|  }
 5623|       |
 5624|       |  // 'MemOffs64_32' class
 5625|   404k|  if (Kind == MCK_MemOffs64_32) {
  ------------------
  |  Branch (5625:7): [True: 2.86k, False: 401k]
  ------------------
 5626|  2.86k|    if (Operand.isMemOffs64_32())
  ------------------
  |  Branch (5626:9): [True: 12, False: 2.85k]
  ------------------
 5627|     12|      return MCTargetAsmParser::Match_Success;
 5628|  2.86k|  }
 5629|       |
 5630|       |  // 'MemOffs64_64' class
 5631|   404k|  if (Kind == MCK_MemOffs64_64) {
  ------------------
  |  Branch (5631:7): [True: 2.86k, False: 401k]
  ------------------
 5632|  2.86k|    if (Operand.isMemOffs64_64())
  ------------------
  |  Branch (5632:9): [True: 12, False: 2.85k]
  ------------------
 5633|     12|      return MCTargetAsmParser::Match_Success;
 5634|  2.86k|  }
 5635|       |
 5636|       |  // 'MemOffs64_8' class
 5637|   404k|  if (Kind == MCK_MemOffs64_8) {
  ------------------
  |  Branch (5637:7): [True: 3.15k, False: 400k]
  ------------------
 5638|  3.15k|    if (Operand.isMemOffs64_8())
  ------------------
  |  Branch (5638:9): [True: 28, False: 3.12k]
  ------------------
 5639|     28|      return MCTargetAsmParser::Match_Success;
 5640|  3.15k|  }
 5641|       |
 5642|       |  // 'SrcIdx16' class
 5643|   404k|  if (Kind == MCK_SrcIdx16) {
  ------------------
  |  Branch (5643:7): [True: 1.84k, False: 402k]
  ------------------
 5644|  1.84k|    if (Operand.isSrcIdx16())
  ------------------
  |  Branch (5644:9): [True: 1.24k, False: 599]
  ------------------
 5645|  1.24k|      return MCTargetAsmParser::Match_Success;
 5646|  1.84k|  }
 5647|       |
 5648|       |  // 'SrcIdx32' class
 5649|   402k|  if (Kind == MCK_SrcIdx32) {
  ------------------
  |  Branch (5649:7): [True: 3.12k, False: 399k]
  ------------------
 5650|  3.12k|    if (Operand.isSrcIdx32())
  ------------------
  |  Branch (5650:9): [True: 1.16k, False: 1.96k]
  ------------------
 5651|  1.16k|      return MCTargetAsmParser::Match_Success;
 5652|  3.12k|  }
 5653|       |
 5654|       |  // 'SrcIdx64' class
 5655|   401k|  if (Kind == MCK_SrcIdx64) {
  ------------------
  |  Branch (5655:7): [True: 21.5k, False: 380k]
  ------------------
 5656|  21.5k|    if (Operand.isSrcIdx64())
  ------------------
  |  Branch (5656:9): [True: 3.42k, False: 18.1k]
  ------------------
 5657|  3.42k|      return MCTargetAsmParser::Match_Success;
 5658|  21.5k|  }
 5659|       |
 5660|       |  // 'SrcIdx8' class
 5661|   398k|  if (Kind == MCK_SrcIdx8) {
  ------------------
  |  Branch (5661:7): [True: 2.14k, False: 396k]
  ------------------
 5662|  2.14k|    if (Operand.isSrcIdx8())
  ------------------
  |  Branch (5662:9): [True: 646, False: 1.50k]
  ------------------
 5663|    646|      return MCTargetAsmParser::Match_Success;
 5664|  2.14k|  }
 5665|       |
 5666|       |  // 'AbsMem' class
 5667|   397k|  if (Kind == MCK_AbsMem) {
  ------------------
  |  Branch (5667:7): [True: 52.6k, False: 345k]
  ------------------
 5668|  52.6k|    if (Operand.isAbsMem())
  ------------------
  |  Branch (5668:9): [True: 46.1k, False: 6.48k]
  ------------------
 5669|  46.1k|      return MCTargetAsmParser::Match_Success;
 5670|  52.6k|  }
 5671|       |
 5672|       |  // 'Mem128' class
 5673|   351k|  if (Kind == MCK_Mem128) {
  ------------------
  |  Branch (5673:7): [True: 83, False: 351k]
  ------------------
 5674|     83|    if (Operand.isMem128())
  ------------------
  |  Branch (5674:9): [True: 27, False: 56]
  ------------------
 5675|     27|      return MCTargetAsmParser::Match_Success;
 5676|     83|  }
 5677|       |
 5678|       |  // 'Mem16' class
 5679|   351k|  if (Kind == MCK_Mem16) {
  ------------------
  |  Branch (5679:7): [True: 33.2k, False: 318k]
  ------------------
 5680|  33.2k|    if (Operand.isMem16())
  ------------------
  |  Branch (5680:9): [True: 3.13k, False: 30.1k]
  ------------------
 5681|  3.13k|      return MCTargetAsmParser::Match_Success;
 5682|  33.2k|  }
 5683|       |
 5684|       |  // 'Mem256' class
 5685|   348k|  if (Kind == MCK_Mem256) {
  ------------------
  |  Branch (5685:7): [True: 75, False: 348k]
  ------------------
 5686|     75|    if (Operand.isMem256())
  ------------------
  |  Branch (5686:9): [True: 23, False: 52]
  ------------------
 5687|     23|      return MCTargetAsmParser::Match_Success;
 5688|     75|  }
 5689|       |
 5690|       |  // 'Mem32' class
 5691|   348k|  if (Kind == MCK_Mem32) {
  ------------------
  |  Branch (5691:7): [True: 11.3k, False: 336k]
  ------------------
 5692|  11.3k|    if (Operand.isMem32())
  ------------------
  |  Branch (5692:9): [True: 1.31k, False: 9.99k]
  ------------------
 5693|  1.31k|      return MCTargetAsmParser::Match_Success;
 5694|  11.3k|  }
 5695|       |
 5696|       |  // 'Mem512' class
 5697|   346k|  if (Kind == MCK_Mem512) {
  ------------------
  |  Branch (5697:7): [True: 40, False: 346k]
  ------------------
 5698|     40|    if (Operand.isMem512())
  ------------------
  |  Branch (5698:9): [True: 15, False: 25]
  ------------------
 5699|     15|      return MCTargetAsmParser::Match_Success;
 5700|     40|  }
 5701|       |
 5702|       |  // 'Mem64' class
 5703|   346k|  if (Kind == MCK_Mem64) {
  ------------------
  |  Branch (5703:7): [True: 9.72k, False: 337k]
  ------------------
 5704|  9.72k|    if (Operand.isMem64())
  ------------------
  |  Branch (5704:9): [True: 1.03k, False: 8.69k]
  ------------------
 5705|  1.03k|      return MCTargetAsmParser::Match_Success;
 5706|  9.72k|  }
 5707|       |
 5708|       |  // 'Mem80' class
 5709|   345k|  if (Kind == MCK_Mem80) {
  ------------------
  |  Branch (5709:7): [True: 24, False: 345k]
  ------------------
 5710|     24|    if (Operand.isMem80())
  ------------------
  |  Branch (5710:9): [True: 10, False: 14]
  ------------------
 5711|     10|      return MCTargetAsmParser::Match_Success;
 5712|     24|  }
 5713|       |
 5714|       |  // 'Mem8' class
 5715|   345k|  if (Kind == MCK_Mem8) {
  ------------------
  |  Branch (5715:7): [True: 10.2k, False: 335k]
  ------------------
 5716|  10.2k|    if (Operand.isMem8())
  ------------------
  |  Branch (5716:9): [True: 755, False: 9.47k]
  ------------------
 5717|    755|      return MCTargetAsmParser::Match_Success;
 5718|  10.2k|  }
 5719|       |
 5720|       |  // 'MemVX32' class
 5721|   345k|  if (Kind == MCK_MemVX32) {
  ------------------
  |  Branch (5721:7): [True: 0, False: 345k]
  ------------------
 5722|      0|    if (Operand.isMemVX32())
  ------------------
  |  Branch (5722:9): [True: 0, False: 0]
  ------------------
 5723|      0|      return MCTargetAsmParser::Match_Success;
 5724|      0|  }
 5725|       |
 5726|       |  // 'MemVX32X' class
 5727|   345k|  if (Kind == MCK_MemVX32X) {
  ------------------
  |  Branch (5727:7): [True: 0, False: 345k]
  ------------------
 5728|      0|    if (Operand.isMemVX32X())
  ------------------
  |  Branch (5728:9): [True: 0, False: 0]
  ------------------
 5729|      0|      return MCTargetAsmParser::Match_Success;
 5730|      0|  }
 5731|       |
 5732|       |  // 'MemVX64' class
 5733|   345k|  if (Kind == MCK_MemVX64) {
  ------------------
  |  Branch (5733:7): [True: 0, False: 345k]
  ------------------
 5734|      0|    if (Operand.isMemVX64())
  ------------------
  |  Branch (5734:9): [True: 0, False: 0]
  ------------------
 5735|      0|      return MCTargetAsmParser::Match_Success;
 5736|      0|  }
 5737|       |
 5738|       |  // 'MemVX64X' class
 5739|   345k|  if (Kind == MCK_MemVX64X) {
  ------------------
  |  Branch (5739:7): [True: 0, False: 345k]
  ------------------
 5740|      0|    if (Operand.isMemVX64X())
  ------------------
  |  Branch (5740:9): [True: 0, False: 0]
  ------------------
 5741|      0|      return MCTargetAsmParser::Match_Success;
 5742|      0|  }
 5743|       |
 5744|       |  // 'MemVY32' class
 5745|   345k|  if (Kind == MCK_MemVY32) {
  ------------------
  |  Branch (5745:7): [True: 0, False: 345k]
  ------------------
 5746|      0|    if (Operand.isMemVY32())
  ------------------
  |  Branch (5746:9): [True: 0, False: 0]
  ------------------
 5747|      0|      return MCTargetAsmParser::Match_Success;
 5748|      0|  }
 5749|       |
 5750|       |  // 'MemVY32X' class
 5751|   345k|  if (Kind == MCK_MemVY32X) {
  ------------------
  |  Branch (5751:7): [True: 0, False: 345k]
  ------------------
 5752|      0|    if (Operand.isMemVY32X())
  ------------------
  |  Branch (5752:9): [True: 0, False: 0]
  ------------------
 5753|      0|      return MCTargetAsmParser::Match_Success;
 5754|      0|  }
 5755|       |
 5756|       |  // 'MemVY64' class
 5757|   345k|  if (Kind == MCK_MemVY64) {
  ------------------
  |  Branch (5757:7): [True: 0, False: 345k]
  ------------------
 5758|      0|    if (Operand.isMemVY64())
  ------------------
  |  Branch (5758:9): [True: 0, False: 0]
  ------------------
 5759|      0|      return MCTargetAsmParser::Match_Success;
 5760|      0|  }
 5761|       |
 5762|       |  // 'MemVY64X' class
 5763|   345k|  if (Kind == MCK_MemVY64X) {
  ------------------
  |  Branch (5763:7): [True: 0, False: 345k]
  ------------------
 5764|      0|    if (Operand.isMemVY64X())
  ------------------
  |  Branch (5764:9): [True: 0, False: 0]
  ------------------
 5765|      0|      return MCTargetAsmParser::Match_Success;
 5766|      0|  }
 5767|       |
 5768|       |  // 'MemVZ32' class
 5769|   345k|  if (Kind == MCK_MemVZ32) {
  ------------------
  |  Branch (5769:7): [True: 0, False: 345k]
  ------------------
 5770|      0|    if (Operand.isMemVZ32())
  ------------------
  |  Branch (5770:9): [True: 0, False: 0]
  ------------------
 5771|      0|      return MCTargetAsmParser::Match_Success;
 5772|      0|  }
 5773|       |
 5774|       |  // 'MemVZ64' class
 5775|   345k|  if (Kind == MCK_MemVZ64) {
  ------------------
  |  Branch (5775:7): [True: 0, False: 345k]
  ------------------
 5776|      0|    if (Operand.isMemVZ64())
  ------------------
  |  Branch (5776:9): [True: 0, False: 0]
  ------------------
 5777|      0|      return MCTargetAsmParser::Match_Success;
 5778|      0|  }
 5779|       |
 5780|       |  // 'Mem' class
 5781|   345k|  if (Kind == MCK_Mem) {
  ------------------
  |  Branch (5781:7): [True: 1.91k, False: 343k]
  ------------------
 5782|  1.91k|    if (Operand.isMem())
  ------------------
  |  Branch (5782:9): [True: 1.72k, False: 186]
  ------------------
 5783|  1.72k|      return MCTargetAsmParser::Match_Success;
 5784|  1.91k|  }
 5785|       |
 5786|   343k|  if (Operand.isReg()) {
  ------------------
  |  Branch (5786:7): [True: 212k, False: 131k]
  ------------------
 5787|   212k|    MatchClassKind OpKind;
 5788|   212k|    switch (Operand.getReg()) {
 5789|    138|    default: OpKind = InvalidMatchClass; break;
  ------------------
  |  Branch (5789:5): [True: 138, False: 211k]
  ------------------
 5790|  17.5k|    case X86::AL: OpKind = MCK_AL; break;
  ------------------
  |  Branch (5790:5): [True: 17.5k, False: 194k]
  ------------------
 5791|    617|    case X86::DL: OpKind = MCK_GR8_ABCD_L; break;
  ------------------
  |  Branch (5791:5): [True: 617, False: 211k]
  ------------------
 5792|    671|    case X86::CL: OpKind = MCK_CL; break;
  ------------------
  |  Branch (5792:5): [True: 671, False: 211k]
  ------------------
 5793|  3.56k|    case X86::BL: OpKind = MCK_GR8_ABCD_L; break;
  ------------------
  |  Branch (5793:5): [True: 3.56k, False: 208k]
  ------------------
 5794|  5.80k|    case X86::AH: OpKind = MCK_GR8_ABCD_H; break;
  ------------------
  |  Branch (5794:5): [True: 5.80k, False: 206k]
  ------------------
 5795|  7.56k|    case X86::DH: OpKind = MCK_GR8_ABCD_H; break;
  ------------------
  |  Branch (5795:5): [True: 7.56k, False: 204k]
  ------------------
 5796|    642|    case X86::CH: OpKind = MCK_GR8_ABCD_H; break;
  ------------------
  |  Branch (5796:5): [True: 642, False: 211k]
  ------------------
 5797|    489|    case X86::BH: OpKind = MCK_GR8_ABCD_H; break;
  ------------------
  |  Branch (5797:5): [True: 489, False: 211k]
  ------------------
 5798|      0|    case X86::SIL: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5798:5): [True: 0, False: 212k]
  ------------------
 5799|      0|    case X86::DIL: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5799:5): [True: 0, False: 212k]
  ------------------
 5800|      0|    case X86::BPL: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5800:5): [True: 0, False: 212k]
  ------------------
 5801|      0|    case X86::SPL: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5801:5): [True: 0, False: 212k]
  ------------------
 5802|      0|    case X86::R8B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5802:5): [True: 0, False: 212k]
  ------------------
 5803|      0|    case X86::R9B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5803:5): [True: 0, False: 212k]
  ------------------
 5804|      0|    case X86::R10B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5804:5): [True: 0, False: 212k]
  ------------------
 5805|      0|    case X86::R11B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5805:5): [True: 0, False: 212k]
  ------------------
 5806|      0|    case X86::R12B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5806:5): [True: 0, False: 212k]
  ------------------
 5807|      0|    case X86::R13B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5807:5): [True: 0, False: 212k]
  ------------------
 5808|      0|    case X86::R14B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5808:5): [True: 0, False: 212k]
  ------------------
 5809|      0|    case X86::R15B: OpKind = MCK_GR8; break;
  ------------------
  |  Branch (5809:5): [True: 0, False: 212k]
  ------------------
 5810|   124k|    case X86::AX: OpKind = MCK_AX; break;
  ------------------
  |  Branch (5810:5): [True: 124k, False: 87.7k]
  ------------------
 5811|  7.06k|    case X86::DX: OpKind = MCK_DX; break;
  ------------------
  |  Branch (5811:5): [True: 7.06k, False: 204k]
  ------------------
 5812|  5.00k|    case X86::CX: OpKind = MCK_GR16_ABCD; break;
  ------------------
  |  Branch (5812:5): [True: 5.00k, False: 207k]
  ------------------
 5813|    651|    case X86::BX: OpKind = MCK_GR16_ABCD; break;
  ------------------
  |  Branch (5813:5): [True: 651, False: 211k]
  ------------------
 5814|     45|    case X86::SI: OpKind = MCK_GR16_NOREX; break;
  ------------------
  |  Branch (5814:5): [True: 45, False: 211k]
  ------------------
 5815|     68|    case X86::DI: OpKind = MCK_GR16_NOREX; break;
  ------------------
  |  Branch (5815:5): [True: 68, False: 211k]
  ------------------
 5816|  1.08k|    case X86::BP: OpKind = MCK_GR16_NOREX; break;
  ------------------
  |  Branch (5816:5): [True: 1.08k, False: 210k]
  ------------------
 5817|    885|    case X86::SP: OpKind = MCK_GR16_NOREX; break;
  ------------------
  |  Branch (5817:5): [True: 885, False: 211k]
  ------------------
 5818|      0|    case X86::R8W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5818:5): [True: 0, False: 212k]
  ------------------
 5819|      0|    case X86::R9W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5819:5): [True: 0, False: 212k]
  ------------------
 5820|      0|    case X86::R10W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5820:5): [True: 0, False: 212k]
  ------------------
 5821|      0|    case X86::R11W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5821:5): [True: 0, False: 212k]
  ------------------
 5822|      0|    case X86::R12W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5822:5): [True: 0, False: 212k]
  ------------------
 5823|      0|    case X86::R13W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5823:5): [True: 0, False: 212k]
  ------------------
 5824|      0|    case X86::R14W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5824:5): [True: 0, False: 212k]
  ------------------
 5825|      0|    case X86::R15W: OpKind = MCK_GR16; break;
  ------------------
  |  Branch (5825:5): [True: 0, False: 212k]
  ------------------
 5826|  7.41k|    case X86::EAX: OpKind = MCK_EAX; break;
  ------------------
  |  Branch (5826:5): [True: 7.41k, False: 204k]
  ------------------
 5827|  1.31k|    case X86::EDX: OpKind = MCK_EDX; break;
  ------------------
  |  Branch (5827:5): [True: 1.31k, False: 210k]
  ------------------
 5828|  2.94k|    case X86::ECX: OpKind = MCK_ECX; break;
  ------------------
  |  Branch (5828:5): [True: 2.94k, False: 209k]
  ------------------
 5829|    783|    case X86::EBX: OpKind = MCK_EBX; break;
  ------------------
  |  Branch (5829:5): [True: 783, False: 211k]
  ------------------
 5830|    367|    case X86::ESI: OpKind = MCK_Reg22; break;
  ------------------
  |  Branch (5830:5): [True: 367, False: 211k]
  ------------------
 5831|     94|    case X86::EDI: OpKind = MCK_Reg22; break;
  ------------------
  |  Branch (5831:5): [True: 94, False: 211k]
  ------------------
 5832|    518|    case X86::EBP: OpKind = MCK_Reg22; break;
  ------------------
  |  Branch (5832:5): [True: 518, False: 211k]
  ------------------
 5833|    755|    case X86::ESP: OpKind = MCK_Reg23; break;
  ------------------
  |  Branch (5833:5): [True: 755, False: 211k]
  ------------------
 5834|      0|    case X86::R8D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5834:5): [True: 0, False: 212k]
  ------------------
 5835|      0|    case X86::R9D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5835:5): [True: 0, False: 212k]
  ------------------
 5836|      0|    case X86::R10D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5836:5): [True: 0, False: 212k]
  ------------------
 5837|      0|    case X86::R11D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5837:5): [True: 0, False: 212k]
  ------------------
 5838|      0|    case X86::R12D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5838:5): [True: 0, False: 212k]
  ------------------
 5839|      0|    case X86::R13D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5839:5): [True: 0, False: 212k]
  ------------------
 5840|      0|    case X86::R14D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5840:5): [True: 0, False: 212k]
  ------------------
 5841|      0|    case X86::R15D: OpKind = MCK_Reg25; break;
  ------------------
  |  Branch (5841:5): [True: 0, False: 212k]
  ------------------
 5842|      0|    case X86::RAX: OpKind = MCK_RAX; break;
  ------------------
  |  Branch (5842:5): [True: 0, False: 212k]
  ------------------
 5843|      0|    case X86::RDX: OpKind = MCK_RDX; break;
  ------------------
  |  Branch (5843:5): [True: 0, False: 212k]
  ------------------
 5844|      0|    case X86::RCX: OpKind = MCK_RCX; break;
  ------------------
  |  Branch (5844:5): [True: 0, False: 212k]
  ------------------
 5845|      0|    case X86::RBX: OpKind = MCK_RBX; break;
  ------------------
  |  Branch (5845:5): [True: 0, False: 212k]
  ------------------
 5846|      0|    case X86::RSI: OpKind = MCK_Reg54; break;
  ------------------
  |  Branch (5846:5): [True: 0, False: 212k]
  ------------------
 5847|      0|    case X86::RDI: OpKind = MCK_Reg54; break;
  ------------------
  |  Branch (5847:5): [True: 0, False: 212k]
  ------------------
 5848|      0|    case X86::RBP: OpKind = MCK_Reg50; break;
  ------------------
  |  Branch (5848:5): [True: 0, False: 212k]
  ------------------
 5849|      0|    case X86::RSP: OpKind = MCK_Reg51; break;
  ------------------
  |  Branch (5849:5): [True: 0, False: 212k]
  ------------------
 5850|      0|    case X86::R8: OpKind = MCK_Reg57; break;
  ------------------
  |  Branch (5850:5): [True: 0, False: 212k]
  ------------------
 5851|      0|    case X86::R9: OpKind = MCK_Reg57; break;
  ------------------
  |  Branch (5851:5): [True: 0, False: 212k]
  ------------------
 5852|      0|    case X86::R10: OpKind = MCK_Reg56; break;
  ------------------
  |  Branch (5852:5): [True: 0, False: 212k]
  ------------------
 5853|      0|    case X86::R11: OpKind = MCK_Reg57; break;
  ------------------
  |  Branch (5853:5): [True: 0, False: 212k]
  ------------------
 5854|      0|    case X86::R12: OpKind = MCK_Reg53; break;
  ------------------
  |  Branch (5854:5): [True: 0, False: 212k]
  ------------------
 5855|      0|    case X86::R13: OpKind = MCK_Reg53; break;
  ------------------
  |  Branch (5855:5): [True: 0, False: 212k]
  ------------------
 5856|      0|    case X86::R14: OpKind = MCK_Reg53; break;
  ------------------
  |  Branch (5856:5): [True: 0, False: 212k]
  ------------------
 5857|      0|    case X86::R15: OpKind = MCK_Reg53; break;
  ------------------
  |  Branch (5857:5): [True: 0, False: 212k]
  ------------------
 5858|      0|    case X86::RIP: OpKind = MCK_Reg46; break;
  ------------------
  |  Branch (5858:5): [True: 0, False: 212k]
  ------------------
 5859|      0|    case X86::MM0: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5859:5): [True: 0, False: 212k]
  ------------------
 5860|      0|    case X86::MM1: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5860:5): [True: 0, False: 212k]
  ------------------
 5861|     14|    case X86::MM2: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5861:5): [True: 14, False: 211k]
  ------------------
 5862|      0|    case X86::MM3: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5862:5): [True: 0, False: 212k]
  ------------------
 5863|      6|    case X86::MM4: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5863:5): [True: 6, False: 212k]
  ------------------
 5864|     49|    case X86::MM5: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5864:5): [True: 49, False: 211k]
  ------------------
 5865|      8|    case X86::MM6: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5865:5): [True: 8, False: 212k]
  ------------------
 5866|      0|    case X86::MM7: OpKind = MCK_VR64; break;
  ------------------
  |  Branch (5866:5): [True: 0, False: 212k]
  ------------------
 5867|      1|    case X86::FP0: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5867:5): [True: 1, False: 212k]
  ------------------
 5868|      0|    case X86::FP1: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5868:5): [True: 0, False: 212k]
  ------------------
 5869|      0|    case X86::FP2: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5869:5): [True: 0, False: 212k]
  ------------------
 5870|      0|    case X86::FP3: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5870:5): [True: 0, False: 212k]
  ------------------
 5871|      1|    case X86::FP4: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5871:5): [True: 1, False: 212k]
  ------------------
 5872|      0|    case X86::FP5: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5872:5): [True: 0, False: 212k]
  ------------------
 5873|      0|    case X86::FP6: OpKind = MCK_RFP32; break;
  ------------------
  |  Branch (5873:5): [True: 0, False: 212k]
  ------------------
 5874|     63|    case X86::XMM0: OpKind = MCK_XMM0; break;
  ------------------
  |  Branch (5874:5): [True: 63, False: 211k]
  ------------------
 5875|     56|    case X86::XMM1: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5875:5): [True: 56, False: 211k]
  ------------------
 5876|      0|    case X86::XMM2: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5876:5): [True: 0, False: 212k]
  ------------------
 5877|      7|    case X86::XMM3: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5877:5): [True: 7, False: 212k]
  ------------------
 5878|      2|    case X86::XMM4: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5878:5): [True: 2, False: 212k]
  ------------------
 5879|      8|    case X86::XMM5: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5879:5): [True: 8, False: 212k]
  ------------------
 5880|      0|    case X86::XMM6: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5880:5): [True: 0, False: 212k]
  ------------------
 5881|      0|    case X86::XMM7: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5881:5): [True: 0, False: 212k]
  ------------------
 5882|      0|    case X86::XMM8: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5882:5): [True: 0, False: 212k]
  ------------------
 5883|      0|    case X86::XMM9: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5883:5): [True: 0, False: 212k]
  ------------------
 5884|      0|    case X86::XMM10: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5884:5): [True: 0, False: 212k]
  ------------------
 5885|      0|    case X86::XMM11: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5885:5): [True: 0, False: 212k]
  ------------------
 5886|      0|    case X86::XMM12: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5886:5): [True: 0, False: 212k]
  ------------------
 5887|      0|    case X86::XMM13: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5887:5): [True: 0, False: 212k]
  ------------------
 5888|      0|    case X86::XMM14: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5888:5): [True: 0, False: 212k]
  ------------------
 5889|      0|    case X86::XMM15: OpKind = MCK_FR32; break;
  ------------------
  |  Branch (5889:5): [True: 0, False: 212k]
  ------------------
 5890|      0|    case X86::XMM16: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5890:5): [True: 0, False: 212k]
  ------------------
 5891|      0|    case X86::XMM17: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5891:5): [True: 0, False: 212k]
  ------------------
 5892|      0|    case X86::XMM18: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5892:5): [True: 0, False: 212k]
  ------------------
 5893|      0|    case X86::XMM19: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5893:5): [True: 0, False: 212k]
  ------------------
 5894|      0|    case X86::XMM20: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5894:5): [True: 0, False: 212k]
  ------------------
 5895|      0|    case X86::XMM21: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5895:5): [True: 0, False: 212k]
  ------------------
 5896|      0|    case X86::XMM22: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5896:5): [True: 0, False: 212k]
  ------------------
 5897|      0|    case X86::XMM23: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5897:5): [True: 0, False: 212k]
  ------------------
 5898|      0|    case X86::XMM24: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5898:5): [True: 0, False: 212k]
  ------------------
 5899|      0|    case X86::XMM25: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5899:5): [True: 0, False: 212k]
  ------------------
 5900|      0|    case X86::XMM26: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5900:5): [True: 0, False: 212k]
  ------------------
 5901|      0|    case X86::XMM27: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5901:5): [True: 0, False: 212k]
  ------------------
 5902|      0|    case X86::XMM28: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5902:5): [True: 0, False: 212k]
  ------------------
 5903|      0|    case X86::XMM29: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5903:5): [True: 0, False: 212k]
  ------------------
 5904|      0|    case X86::XMM30: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5904:5): [True: 0, False: 212k]
  ------------------
 5905|      0|    case X86::XMM31: OpKind = MCK_FR32X; break;
  ------------------
  |  Branch (5905:5): [True: 0, False: 212k]
  ------------------
 5906|      0|    case X86::YMM0: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5906:5): [True: 0, False: 212k]
  ------------------
 5907|     47|    case X86::YMM1: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5907:5): [True: 47, False: 211k]
  ------------------
 5908|     44|    case X86::YMM2: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5908:5): [True: 44, False: 211k]
  ------------------
 5909|     17|    case X86::YMM3: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5909:5): [True: 17, False: 211k]
  ------------------
 5910|     10|    case X86::YMM4: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5910:5): [True: 10, False: 211k]
  ------------------
 5911|      0|    case X86::YMM5: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5911:5): [True: 0, False: 212k]
  ------------------
 5912|      0|    case X86::YMM6: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5912:5): [True: 0, False: 212k]
  ------------------
 5913|      0|    case X86::YMM7: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5913:5): [True: 0, False: 212k]
  ------------------
 5914|      0|    case X86::YMM8: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5914:5): [True: 0, False: 212k]
  ------------------
 5915|      0|    case X86::YMM9: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5915:5): [True: 0, False: 212k]
  ------------------
 5916|      0|    case X86::YMM10: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5916:5): [True: 0, False: 212k]
  ------------------
 5917|      0|    case X86::YMM11: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5917:5): [True: 0, False: 212k]
  ------------------
 5918|      0|    case X86::YMM12: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5918:5): [True: 0, False: 212k]
  ------------------
 5919|      0|    case X86::YMM13: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5919:5): [True: 0, False: 212k]
  ------------------
 5920|      0|    case X86::YMM14: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5920:5): [True: 0, False: 212k]
  ------------------
 5921|      0|    case X86::YMM15: OpKind = MCK_VR256; break;
  ------------------
  |  Branch (5921:5): [True: 0, False: 212k]
  ------------------
 5922|      0|    case X86::YMM16: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5922:5): [True: 0, False: 212k]
  ------------------
 5923|      0|    case X86::YMM17: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5923:5): [True: 0, False: 212k]
  ------------------
 5924|      0|    case X86::YMM18: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5924:5): [True: 0, False: 212k]
  ------------------
 5925|      0|    case X86::YMM19: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5925:5): [True: 0, False: 212k]
  ------------------
 5926|      0|    case X86::YMM20: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5926:5): [True: 0, False: 212k]
  ------------------
 5927|      0|    case X86::YMM21: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5927:5): [True: 0, False: 212k]
  ------------------
 5928|      0|    case X86::YMM22: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5928:5): [True: 0, False: 212k]
  ------------------
 5929|      0|    case X86::YMM23: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5929:5): [True: 0, False: 212k]
  ------------------
 5930|      0|    case X86::YMM24: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5930:5): [True: 0, False: 212k]
  ------------------
 5931|      0|    case X86::YMM25: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5931:5): [True: 0, False: 212k]
  ------------------
 5932|      0|    case X86::YMM26: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5932:5): [True: 0, False: 212k]
  ------------------
 5933|      0|    case X86::YMM27: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5933:5): [True: 0, False: 212k]
  ------------------
 5934|      0|    case X86::YMM28: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5934:5): [True: 0, False: 212k]
  ------------------
 5935|      0|    case X86::YMM29: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5935:5): [True: 0, False: 212k]
  ------------------
 5936|      0|    case X86::YMM30: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5936:5): [True: 0, False: 212k]
  ------------------
 5937|      0|    case X86::YMM31: OpKind = MCK_VR256X; break;
  ------------------
  |  Branch (5937:5): [True: 0, False: 212k]
  ------------------
 5938|     41|    case X86::ZMM0: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5938:5): [True: 41, False: 211k]
  ------------------
 5939|      6|    case X86::ZMM1: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5939:5): [True: 6, False: 212k]
  ------------------
 5940|      0|    case X86::ZMM2: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5940:5): [True: 0, False: 212k]
  ------------------
 5941|      0|    case X86::ZMM3: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5941:5): [True: 0, False: 212k]
  ------------------
 5942|     12|    case X86::ZMM4: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5942:5): [True: 12, False: 211k]
  ------------------
 5943|      1|    case X86::ZMM5: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5943:5): [True: 1, False: 212k]
  ------------------
 5944|      0|    case X86::ZMM6: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5944:5): [True: 0, False: 212k]
  ------------------
 5945|      0|    case X86::ZMM7: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5945:5): [True: 0, False: 212k]
  ------------------
 5946|      0|    case X86::ZMM8: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5946:5): [True: 0, False: 212k]
  ------------------
 5947|      0|    case X86::ZMM9: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5947:5): [True: 0, False: 212k]
  ------------------
 5948|      0|    case X86::ZMM10: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5948:5): [True: 0, False: 212k]
  ------------------
 5949|      0|    case X86::ZMM11: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5949:5): [True: 0, False: 212k]
  ------------------
 5950|      0|    case X86::ZMM12: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5950:5): [True: 0, False: 212k]
  ------------------
 5951|      0|    case X86::ZMM13: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5951:5): [True: 0, False: 212k]
  ------------------
 5952|      0|    case X86::ZMM14: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5952:5): [True: 0, False: 212k]
  ------------------
 5953|      0|    case X86::ZMM15: OpKind = MCK_Reg67; break;
  ------------------
  |  Branch (5953:5): [True: 0, False: 212k]
  ------------------
 5954|      0|    case X86::ZMM16: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5954:5): [True: 0, False: 212k]
  ------------------
 5955|     47|    case X86::ZMM17: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5955:5): [True: 47, False: 211k]
  ------------------
 5956|      0|    case X86::ZMM18: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5956:5): [True: 0, False: 212k]
  ------------------
 5957|      0|    case X86::ZMM19: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5957:5): [True: 0, False: 212k]
  ------------------
 5958|      0|    case X86::ZMM20: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5958:5): [True: 0, False: 212k]
  ------------------
 5959|      0|    case X86::ZMM21: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5959:5): [True: 0, False: 212k]
  ------------------
 5960|      0|    case X86::ZMM22: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5960:5): [True: 0, False: 212k]
  ------------------
 5961|      1|    case X86::ZMM23: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5961:5): [True: 1, False: 212k]
  ------------------
 5962|      0|    case X86::ZMM24: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5962:5): [True: 0, False: 212k]
  ------------------
 5963|      0|    case X86::ZMM25: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5963:5): [True: 0, False: 212k]
  ------------------
 5964|      0|    case X86::ZMM26: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5964:5): [True: 0, False: 212k]
  ------------------
 5965|      0|    case X86::ZMM27: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5965:5): [True: 0, False: 212k]
  ------------------
 5966|      0|    case X86::ZMM28: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5966:5): [True: 0, False: 212k]
  ------------------
 5967|      0|    case X86::ZMM29: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5967:5): [True: 0, False: 212k]
  ------------------
 5968|      0|    case X86::ZMM30: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5968:5): [True: 0, False: 212k]
  ------------------
 5969|      0|    case X86::ZMM31: OpKind = MCK_VR512; break;
  ------------------
  |  Branch (5969:5): [True: 0, False: 212k]
  ------------------
 5970|      1|    case X86::K0: OpKind = MCK_VK1; break;
  ------------------
  |  Branch (5970:5): [True: 1, False: 212k]
  ------------------
 5971|      0|    case X86::K1: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5971:5): [True: 0, False: 212k]
  ------------------
 5972|      1|    case X86::K2: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5972:5): [True: 1, False: 212k]
  ------------------
 5973|     79|    case X86::K3: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5973:5): [True: 79, False: 211k]
  ------------------
 5974|      0|    case X86::K4: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5974:5): [True: 0, False: 212k]
  ------------------
 5975|      0|    case X86::K5: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5975:5): [True: 0, False: 212k]
  ------------------
 5976|     12|    case X86::K6: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5976:5): [True: 12, False: 211k]
  ------------------
 5977|      3|    case X86::K7: OpKind = MCK_VK1WM; break;
  ------------------
  |  Branch (5977:5): [True: 3, False: 212k]
  ------------------
 5978|    109|    case X86::ST0: OpKind = MCK_ST0; break;
  ------------------
  |  Branch (5978:5): [True: 109, False: 211k]
  ------------------
 5979|      0|    case X86::ST1: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5979:5): [True: 0, False: 212k]
  ------------------
 5980|      0|    case X86::ST2: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5980:5): [True: 0, False: 212k]
  ------------------
 5981|      0|    case X86::ST3: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5981:5): [True: 0, False: 212k]
  ------------------
 5982|      0|    case X86::ST4: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5982:5): [True: 0, False: 212k]
  ------------------
 5983|      0|    case X86::ST5: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5983:5): [True: 0, False: 212k]
  ------------------
 5984|      0|    case X86::ST6: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5984:5): [True: 0, False: 212k]
  ------------------
 5985|      0|    case X86::ST7: OpKind = MCK_RST; break;
  ------------------
  |  Branch (5985:5): [True: 0, False: 212k]
  ------------------
 5986|      1|    case X86::FPSW: OpKind = MCK_FPCCR; break;
  ------------------
  |  Branch (5986:5): [True: 1, False: 212k]
  ------------------
 5987|      0|    case X86::EFLAGS: OpKind = MCK_CCR; break;
  ------------------
  |  Branch (5987:5): [True: 0, False: 212k]
  ------------------
 5988|  17.9k|    case X86::CS: OpKind = MCK_CS; break;
  ------------------
  |  Branch (5988:5): [True: 17.9k, False: 194k]
  ------------------
 5989|    581|    case X86::DS: OpKind = MCK_DS; break;
  ------------------
  |  Branch (5989:5): [True: 581, False: 211k]
  ------------------
 5990|    549|    case X86::SS: OpKind = MCK_SS; break;
  ------------------
  |  Branch (5990:5): [True: 549, False: 211k]
  ------------------
 5991|    587|    case X86::ES: OpKind = MCK_ES; break;
  ------------------
  |  Branch (5991:5): [True: 587, False: 211k]
  ------------------
 5992|    589|    case X86::FS: OpKind = MCK_FS; break;
  ------------------
  |  Branch (5992:5): [True: 589, False: 211k]
  ------------------
 5993|    586|    case X86::GS: OpKind = MCK_GS; break;
  ------------------
  |  Branch (5993:5): [True: 586, False: 211k]
  ------------------
 5994|      0|    case X86::DR0: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (5994:5): [True: 0, False: 212k]
  ------------------
 5995|    104|    case X86::DR1: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (5995:5): [True: 104, False: 211k]
  ------------------
 5996|      0|    case X86::DR2: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (5996:5): [True: 0, False: 212k]
  ------------------
 5997|      0|    case X86::DR3: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (5997:5): [True: 0, False: 212k]
  ------------------
 5998|      0|    case X86::DR4: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (5998:5): [True: 0, False: 212k]
  ------------------
 5999|      0|    case X86::DR5: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (5999:5): [True: 0, False: 212k]
  ------------------
 6000|    104|    case X86::DR6: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (6000:5): [True: 104, False: 211k]
  ------------------
 6001|      0|    case X86::DR7: OpKind = MCK_DEBUG_REG; break;
  ------------------
  |  Branch (6001:5): [True: 0, False: 212k]
  ------------------
 6002|      0|    case X86::CR0: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6002:5): [True: 0, False: 212k]
  ------------------
 6003|      0|    case X86::CR1: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6003:5): [True: 0, False: 212k]
  ------------------
 6004|      0|    case X86::CR2: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6004:5): [True: 0, False: 212k]
  ------------------
 6005|      0|    case X86::CR3: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6005:5): [True: 0, False: 212k]
  ------------------
 6006|      0|    case X86::CR4: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6006:5): [True: 0, False: 212k]
  ------------------
 6007|      0|    case X86::CR5: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6007:5): [True: 0, False: 212k]
  ------------------
 6008|      0|    case X86::CR6: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6008:5): [True: 0, False: 212k]
  ------------------
 6009|      0|    case X86::CR7: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6009:5): [True: 0, False: 212k]
  ------------------
 6010|      0|    case X86::CR8: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6010:5): [True: 0, False: 212k]
  ------------------
 6011|      0|    case X86::CR9: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6011:5): [True: 0, False: 212k]
  ------------------
 6012|      0|    case X86::CR10: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6012:5): [True: 0, False: 212k]
  ------------------
 6013|      0|    case X86::CR11: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6013:5): [True: 0, False: 212k]
  ------------------
 6014|      0|    case X86::CR12: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6014:5): [True: 0, False: 212k]
  ------------------
 6015|      0|    case X86::CR13: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6015:5): [True: 0, False: 212k]
  ------------------
 6016|      0|    case X86::CR14: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6016:5): [True: 0, False: 212k]
  ------------------
 6017|      0|    case X86::CR15: OpKind = MCK_CONTROL_REG; break;
  ------------------
  |  Branch (6017:5): [True: 0, False: 212k]
  ------------------
 6018|      0|    case X86::BND0: OpKind = MCK_BNDR; break;
  ------------------
  |  Branch (6018:5): [True: 0, False: 212k]
  ------------------
 6019|      0|    case X86::BND1: OpKind = MCK_BNDR; break;
  ------------------
  |  Branch (6019:5): [True: 0, False: 212k]
  ------------------
 6020|      0|    case X86::BND2: OpKind = MCK_BNDR; break;
  ------------------
  |  Branch (6020:5): [True: 0, False: 212k]
  ------------------
 6021|      0|    case X86::BND3: OpKind = MCK_BNDR; break;
  ------------------
  |  Branch (6021:5): [True: 0, False: 212k]
  ------------------
 6022|   212k|    }
 6023|   212k|    return isSubclass(OpKind, Kind) ? MCTargetAsmParser::Match_Success :
  ------------------
  |  Branch (6023:12): [True: 25.2k, False: 186k]
  ------------------
 6024|   212k|                                      MCTargetAsmParser::Match_InvalidOperand;
 6025|   212k|  }
 6026|       |
 6027|   131k|  return MCTargetAsmParser::Match_InvalidOperand;
 6028|   343k|}
X86AsmParser.cpp:_ZL10isSubclassN12_GLOBAL__N_114MatchClassKindES0_:
 4575|   219k|static bool isSubclass(MatchClassKind A, MatchClassKind B) {
 4576|   219k|  if (A == B)
  ------------------
  |  Branch (4576:7): [True: 11.6k, False: 207k]
  ------------------
 4577|  11.6k|    return true;
 4578|       |
 4579|   207k|  switch (A) {
 4580|  6.79k|  default:
  ------------------
  |  Branch (4580:3): [True: 6.79k, False: 200k]
  ------------------
 4581|  6.79k|    return false;
 4582|       |
 4583|  16.6k|  case MCK_AL:
  ------------------
  |  Branch (4583:3): [True: 16.6k, False: 190k]
  ------------------
 4584|  16.6k|    switch (B) {
 4585|  15.8k|    default: return false;
  ------------------
  |  Branch (4585:5): [True: 15.8k, False: 812]
  ------------------
 4586|      0|    case MCK_GR8_ABCD_L: return true;
  ------------------
  |  Branch (4586:5): [True: 0, False: 16.6k]
  ------------------
 4587|      0|    case MCK_GR8_NOREX: return true;
  ------------------
  |  Branch (4587:5): [True: 0, False: 16.6k]
  ------------------
 4588|    812|    case MCK_GR8: return true;
  ------------------
  |  Branch (4588:5): [True: 812, False: 15.8k]
  ------------------
 4589|  16.6k|    }
 4590|       |
 4591|   118k|  case MCK_AX:
  ------------------
  |  Branch (4591:3): [True: 118k, False: 89.3k]
  ------------------
 4592|   118k|    switch (B) {
 4593|   110k|    default: return false;
  ------------------
  |  Branch (4593:5): [True: 110k, False: 7.64k]
  ------------------
 4594|      0|    case MCK_GR16_ABCD: return true;
  ------------------
  |  Branch (4594:5): [True: 0, False: 118k]
  ------------------
 4595|      0|    case MCK_GR16_NOREX: return true;
  ------------------
  |  Branch (4595:5): [True: 0, False: 118k]
  ------------------
 4596|  7.64k|    case MCK_GR16: return true;
  ------------------
  |  Branch (4596:5): [True: 7.64k, False: 110k]
  ------------------
 4597|   118k|    }
 4598|       |
 4599|    671|  case MCK_CL:
  ------------------
  |  Branch (4599:3): [True: 671, False: 206k]
  ------------------
 4600|    671|    switch (B) {
 4601|    637|    default: return false;
  ------------------
  |  Branch (4601:5): [True: 637, False: 34]
  ------------------
 4602|      0|    case MCK_GR8_ABCD_L: return true;
  ------------------
  |  Branch (4602:5): [True: 0, False: 671]
  ------------------
 4603|      0|    case MCK_GR8_NOREX: return true;
  ------------------
  |  Branch (4603:5): [True: 0, False: 671]
  ------------------
 4604|     34|    case MCK_GR8: return true;
  ------------------
  |  Branch (4604:5): [True: 34, False: 637]
  ------------------
 4605|    671|    }
 4606|       |
 4607|  17.9k|  case MCK_CS:
  ------------------
  |  Branch (4607:3): [True: 17.9k, False: 189k]
  ------------------
 4608|  17.9k|    return B == MCK_SEGMENT_REG;
 4609|       |
 4610|    581|  case MCK_DS:
  ------------------
  |  Branch (4610:3): [True: 581, False: 207k]
  ------------------
 4611|    581|    return B == MCK_SEGMENT_REG;
 4612|       |
 4613|  3.69k|  case MCK_DX:
  ------------------
  |  Branch (4613:3): [True: 3.69k, False: 203k]
  ------------------
 4614|  3.69k|    switch (B) {
 4615|  3.30k|    default: return false;
  ------------------
  |  Branch (4615:5): [True: 3.30k, False: 389]
  ------------------
 4616|      0|    case MCK_GR16_ABCD: return true;
  ------------------
  |  Branch (4616:5): [True: 0, False: 3.69k]
  ------------------
 4617|      0|    case MCK_GR16_NOREX: return true;
  ------------------
  |  Branch (4617:5): [True: 0, False: 3.69k]
  ------------------
 4618|    389|    case MCK_GR16: return true;
  ------------------
  |  Branch (4618:5): [True: 389, False: 3.30k]
  ------------------
 4619|  3.69k|    }
 4620|       |
 4621|  7.00k|  case MCK_EAX:
  ------------------
  |  Branch (4621:3): [True: 7.00k, False: 200k]
  ------------------
 4622|  7.00k|    switch (B) {
 4623|  6.23k|    default: return false;
  ------------------
  |  Branch (4623:5): [True: 6.23k, False: 771]
  ------------------
 4624|      0|    case MCK_GR32_AD: return true;
  ------------------
  |  Branch (4624:5): [True: 0, False: 7.00k]
  ------------------
 4625|      0|    case MCK_GR32_TC: return true;
  ------------------
  |  Branch (4625:5): [True: 0, False: 7.00k]
  ------------------
 4626|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4626:5): [True: 0, False: 7.00k]
  ------------------
 4627|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4627:5): [True: 0, False: 7.00k]
  ------------------
 4628|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4628:5): [True: 0, False: 7.00k]
  ------------------
 4629|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4629:5): [True: 0, False: 7.00k]
  ------------------
 4630|    771|    case MCK_GR32: return true;
  ------------------
  |  Branch (4630:5): [True: 771, False: 6.23k]
  ------------------
 4631|  7.00k|    }
 4632|       |
 4633|    783|  case MCK_EBX:
  ------------------
  |  Branch (4633:3): [True: 783, False: 206k]
  ------------------
 4634|    783|    switch (B) {
 4635|    702|    default: return false;
  ------------------
  |  Branch (4635:5): [True: 702, False: 81]
  ------------------
 4636|      0|    case MCK_Reg21: return true;
  ------------------
  |  Branch (4636:5): [True: 0, False: 783]
  ------------------
 4637|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4637:5): [True: 0, False: 783]
  ------------------
 4638|      0|    case MCK_Reg22: return true;
  ------------------
  |  Branch (4638:5): [True: 0, False: 783]
  ------------------
 4639|      0|    case MCK_Reg23: return true;
  ------------------
  |  Branch (4639:5): [True: 0, False: 783]
  ------------------
 4640|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4640:5): [True: 0, False: 783]
  ------------------
 4641|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4641:5): [True: 0, False: 783]
  ------------------
 4642|      0|    case MCK_Reg25: return true;
  ------------------
  |  Branch (4642:5): [True: 0, False: 783]
  ------------------
 4643|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (4643:5): [True: 0, False: 783]
  ------------------
 4644|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4644:5): [True: 0, False: 783]
  ------------------
 4645|     81|    case MCK_GR32: return true;
  ------------------
  |  Branch (4645:5): [True: 81, False: 702]
  ------------------
 4646|    783|    }
 4647|       |
 4648|  2.94k|  case MCK_ECX:
  ------------------
  |  Branch (4648:3): [True: 2.94k, False: 204k]
  ------------------
 4649|  2.94k|    switch (B) {
 4650|  2.64k|    default: return false;
  ------------------
  |  Branch (4650:5): [True: 2.64k, False: 306]
  ------------------
 4651|      0|    case MCK_Reg20: return true;
  ------------------
  |  Branch (4651:5): [True: 0, False: 2.94k]
  ------------------
 4652|      0|    case MCK_Reg21: return true;
  ------------------
  |  Branch (4652:5): [True: 0, False: 2.94k]
  ------------------
 4653|      0|    case MCK_GR32_TC: return true;
  ------------------
  |  Branch (4653:5): [True: 0, False: 2.94k]
  ------------------
 4654|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4654:5): [True: 0, False: 2.94k]
  ------------------
 4655|      0|    case MCK_Reg22: return true;
  ------------------
  |  Branch (4655:5): [True: 0, False: 2.94k]
  ------------------
 4656|      0|    case MCK_Reg23: return true;
  ------------------
  |  Branch (4656:5): [True: 0, False: 2.94k]
  ------------------
 4657|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4657:5): [True: 0, False: 2.94k]
  ------------------
 4658|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4658:5): [True: 0, False: 2.94k]
  ------------------
 4659|      0|    case MCK_Reg25: return true;
  ------------------
  |  Branch (4659:5): [True: 0, False: 2.94k]
  ------------------
 4660|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (4660:5): [True: 0, False: 2.94k]
  ------------------
 4661|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4661:5): [True: 0, False: 2.94k]
  ------------------
 4662|    306|    case MCK_GR32: return true;
  ------------------
  |  Branch (4662:5): [True: 306, False: 2.64k]
  ------------------
 4663|  2.94k|    }
 4664|       |
 4665|  1.31k|  case MCK_EDX:
  ------------------
  |  Branch (4665:3): [True: 1.31k, False: 206k]
  ------------------
 4666|  1.31k|    switch (B) {
 4667|  1.17k|    default: return false;
  ------------------
  |  Branch (4667:5): [True: 1.17k, False: 139]
  ------------------
 4668|      0|    case MCK_Reg20: return true;
  ------------------
  |  Branch (4668:5): [True: 0, False: 1.31k]
  ------------------
 4669|      0|    case MCK_GR32_AD: return true;
  ------------------
  |  Branch (4669:5): [True: 0, False: 1.31k]
  ------------------
 4670|      0|    case MCK_Reg21: return true;
  ------------------
  |  Branch (4670:5): [True: 0, False: 1.31k]
  ------------------
 4671|      0|    case MCK_GR32_TC: return true;
  ------------------
  |  Branch (4671:5): [True: 0, False: 1.31k]
  ------------------
 4672|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4672:5): [True: 0, False: 1.31k]
  ------------------
 4673|      0|    case MCK_Reg22: return true;
  ------------------
  |  Branch (4673:5): [True: 0, False: 1.31k]
  ------------------
 4674|      0|    case MCK_Reg23: return true;
  ------------------
  |  Branch (4674:5): [True: 0, False: 1.31k]
  ------------------
 4675|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4675:5): [True: 0, False: 1.31k]
  ------------------
 4676|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4676:5): [True: 0, False: 1.31k]
  ------------------
 4677|      0|    case MCK_Reg25: return true;
  ------------------
  |  Branch (4677:5): [True: 0, False: 1.31k]
  ------------------
 4678|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (4678:5): [True: 0, False: 1.31k]
  ------------------
 4679|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4679:5): [True: 0, False: 1.31k]
  ------------------
 4680|    139|    case MCK_GR32: return true;
  ------------------
  |  Branch (4680:5): [True: 139, False: 1.17k]
  ------------------
 4681|  1.31k|    }
 4682|       |
 4683|    584|  case MCK_ES:
  ------------------
  |  Branch (4683:3): [True: 584, False: 207k]
  ------------------
 4684|    584|    return B == MCK_SEGMENT_REG;
 4685|       |
 4686|    585|  case MCK_FS:
  ------------------
  |  Branch (4686:3): [True: 585, False: 207k]
  ------------------
 4687|    585|    return B == MCK_SEGMENT_REG;
 4688|       |
 4689|    583|  case MCK_GS:
  ------------------
  |  Branch (4689:3): [True: 583, False: 207k]
  ------------------
 4690|    583|    return B == MCK_SEGMENT_REG;
 4691|       |
 4692|      0|  case MCK_RAX:
  ------------------
  |  Branch (4692:3): [True: 0, False: 207k]
  ------------------
 4693|      0|    switch (B) {
 4694|      0|    default: return false;
  ------------------
  |  Branch (4694:5): [True: 0, False: 0]
  ------------------
 4695|      0|    case MCK_Reg29: return true;
  ------------------
  |  Branch (4695:5): [True: 0, False: 0]
  ------------------
 4696|      0|    case MCK_Reg30: return true;
  ------------------
  |  Branch (4696:5): [True: 0, False: 0]
  ------------------
 4697|      0|    case MCK_Reg46: return true;
  ------------------
  |  Branch (4697:5): [True: 0, False: 0]
  ------------------
 4698|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4698:5): [True: 0, False: 0]
  ------------------
 4699|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4699:5): [True: 0, False: 0]
  ------------------
 4700|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (4700:5): [True: 0, False: 0]
  ------------------
 4701|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4701:5): [True: 0, False: 0]
  ------------------
 4702|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4702:5): [True: 0, False: 0]
  ------------------
 4703|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (4703:5): [True: 0, False: 0]
  ------------------
 4704|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4704:5): [True: 0, False: 0]
  ------------------
 4705|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4705:5): [True: 0, False: 0]
  ------------------
 4706|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4706:5): [True: 0, False: 0]
  ------------------
 4707|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4707:5): [True: 0, False: 0]
  ------------------
 4708|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4708:5): [True: 0, False: 0]
  ------------------
 4709|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4709:5): [True: 0, False: 0]
  ------------------
 4710|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4710:5): [True: 0, False: 0]
  ------------------
 4711|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4711:5): [True: 0, False: 0]
  ------------------
 4712|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4712:5): [True: 0, False: 0]
  ------------------
 4713|      0|    }
 4714|       |
 4715|      0|  case MCK_RBX:
  ------------------
  |  Branch (4715:3): [True: 0, False: 207k]
  ------------------
 4716|      0|    switch (B) {
 4717|      0|    default: return false;
  ------------------
  |  Branch (4717:5): [True: 0, False: 0]
  ------------------
 4718|      0|    case MCK_Reg49: return true;
  ------------------
  |  Branch (4718:5): [True: 0, False: 0]
  ------------------
 4719|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4719:5): [True: 0, False: 0]
  ------------------
 4720|      0|    case MCK_Reg50: return true;
  ------------------
  |  Branch (4720:5): [True: 0, False: 0]
  ------------------
 4721|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (4721:5): [True: 0, False: 0]
  ------------------
 4722|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4722:5): [True: 0, False: 0]
  ------------------
 4723|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4723:5): [True: 0, False: 0]
  ------------------
 4724|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4724:5): [True: 0, False: 0]
  ------------------
 4725|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (4725:5): [True: 0, False: 0]
  ------------------
 4726|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (4726:5): [True: 0, False: 0]
  ------------------
 4727|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4727:5): [True: 0, False: 0]
  ------------------
 4728|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4728:5): [True: 0, False: 0]
  ------------------
 4729|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4729:5): [True: 0, False: 0]
  ------------------
 4730|      0|    }
 4731|       |
 4732|      0|  case MCK_RCX:
  ------------------
  |  Branch (4732:3): [True: 0, False: 207k]
  ------------------
 4733|      0|    switch (B) {
 4734|      0|    default: return false;
  ------------------
  |  Branch (4734:5): [True: 0, False: 0]
  ------------------
 4735|      0|    case MCK_Reg48: return true;
  ------------------
  |  Branch (4735:5): [True: 0, False: 0]
  ------------------
 4736|      0|    case MCK_Reg49: return true;
  ------------------
  |  Branch (4736:5): [True: 0, False: 0]
  ------------------
 4737|      0|    case MCK_Reg30: return true;
  ------------------
  |  Branch (4737:5): [True: 0, False: 0]
  ------------------
 4738|      0|    case MCK_Reg54: return true;
  ------------------
  |  Branch (4738:5): [True: 0, False: 0]
  ------------------
 4739|      0|    case MCK_Reg46: return true;
  ------------------
  |  Branch (4739:5): [True: 0, False: 0]
  ------------------
 4740|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4740:5): [True: 0, False: 0]
  ------------------
 4741|      0|    case MCK_Reg57: return true;
  ------------------
  |  Branch (4741:5): [True: 0, False: 0]
  ------------------
 4742|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4742:5): [True: 0, False: 0]
  ------------------
 4743|      0|    case MCK_Reg56: return true;
  ------------------
  |  Branch (4743:5): [True: 0, False: 0]
  ------------------
 4744|      0|    case MCK_Reg50: return true;
  ------------------
  |  Branch (4744:5): [True: 0, False: 0]
  ------------------
 4745|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (4745:5): [True: 0, False: 0]
  ------------------
 4746|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4746:5): [True: 0, False: 0]
  ------------------
 4747|      0|    case MCK_Reg55: return true;
  ------------------
  |  Branch (4747:5): [True: 0, False: 0]
  ------------------
 4748|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (4748:5): [True: 0, False: 0]
  ------------------
 4749|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4749:5): [True: 0, False: 0]
  ------------------
 4750|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (4750:5): [True: 0, False: 0]
  ------------------
 4751|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4751:5): [True: 0, False: 0]
  ------------------
 4752|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4752:5): [True: 0, False: 0]
  ------------------
 4753|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4753:5): [True: 0, False: 0]
  ------------------
 4754|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4754:5): [True: 0, False: 0]
  ------------------
 4755|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4755:5): [True: 0, False: 0]
  ------------------
 4756|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4756:5): [True: 0, False: 0]
  ------------------
 4757|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (4757:5): [True: 0, False: 0]
  ------------------
 4758|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (4758:5): [True: 0, False: 0]
  ------------------
 4759|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4759:5): [True: 0, False: 0]
  ------------------
 4760|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4760:5): [True: 0, False: 0]
  ------------------
 4761|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4761:5): [True: 0, False: 0]
  ------------------
 4762|      0|    }
 4763|       |
 4764|      0|  case MCK_RDX:
  ------------------
  |  Branch (4764:3): [True: 0, False: 207k]
  ------------------
 4765|      0|    switch (B) {
 4766|      0|    default: return false;
  ------------------
  |  Branch (4766:5): [True: 0, False: 0]
  ------------------
 4767|      0|    case MCK_Reg48: return true;
  ------------------
  |  Branch (4767:5): [True: 0, False: 0]
  ------------------
 4768|      0|    case MCK_Reg29: return true;
  ------------------
  |  Branch (4768:5): [True: 0, False: 0]
  ------------------
 4769|      0|    case MCK_Reg49: return true;
  ------------------
  |  Branch (4769:5): [True: 0, False: 0]
  ------------------
 4770|      0|    case MCK_Reg30: return true;
  ------------------
  |  Branch (4770:5): [True: 0, False: 0]
  ------------------
 4771|      0|    case MCK_Reg54: return true;
  ------------------
  |  Branch (4771:5): [True: 0, False: 0]
  ------------------
 4772|      0|    case MCK_Reg46: return true;
  ------------------
  |  Branch (4772:5): [True: 0, False: 0]
  ------------------
 4773|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4773:5): [True: 0, False: 0]
  ------------------
 4774|      0|    case MCK_Reg57: return true;
  ------------------
  |  Branch (4774:5): [True: 0, False: 0]
  ------------------
 4775|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4775:5): [True: 0, False: 0]
  ------------------
 4776|      0|    case MCK_Reg56: return true;
  ------------------
  |  Branch (4776:5): [True: 0, False: 0]
  ------------------
 4777|      0|    case MCK_Reg50: return true;
  ------------------
  |  Branch (4777:5): [True: 0, False: 0]
  ------------------
 4778|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (4778:5): [True: 0, False: 0]
  ------------------
 4779|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4779:5): [True: 0, False: 0]
  ------------------
 4780|      0|    case MCK_Reg55: return true;
  ------------------
  |  Branch (4780:5): [True: 0, False: 0]
  ------------------
 4781|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (4781:5): [True: 0, False: 0]
  ------------------
 4782|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4782:5): [True: 0, False: 0]
  ------------------
 4783|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (4783:5): [True: 0, False: 0]
  ------------------
 4784|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4784:5): [True: 0, False: 0]
  ------------------
 4785|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4785:5): [True: 0, False: 0]
  ------------------
 4786|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4786:5): [True: 0, False: 0]
  ------------------
 4787|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4787:5): [True: 0, False: 0]
  ------------------
 4788|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4788:5): [True: 0, False: 0]
  ------------------
 4789|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4789:5): [True: 0, False: 0]
  ------------------
 4790|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (4790:5): [True: 0, False: 0]
  ------------------
 4791|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (4791:5): [True: 0, False: 0]
  ------------------
 4792|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4792:5): [True: 0, False: 0]
  ------------------
 4793|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4793:5): [True: 0, False: 0]
  ------------------
 4794|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4794:5): [True: 0, False: 0]
  ------------------
 4795|      0|    }
 4796|       |
 4797|    549|  case MCK_SS:
  ------------------
  |  Branch (4797:3): [True: 549, False: 207k]
  ------------------
 4798|    549|    return B == MCK_SEGMENT_REG;
 4799|       |
 4800|    109|  case MCK_ST0:
  ------------------
  |  Branch (4800:3): [True: 109, False: 207k]
  ------------------
 4801|    109|    return B == MCK_RST;
 4802|       |
 4803|     63|  case MCK_XMM0:
  ------------------
  |  Branch (4803:3): [True: 63, False: 207k]
  ------------------
 4804|     63|    switch (B) {
 4805|     63|    default: return false;
  ------------------
  |  Branch (4805:5): [True: 63, False: 0]
  ------------------
 4806|      0|    case MCK_FR32: return true;
  ------------------
  |  Branch (4806:5): [True: 0, False: 63]
  ------------------
 4807|      0|    case MCK_FR32X: return true;
  ------------------
  |  Branch (4807:5): [True: 0, False: 63]
  ------------------
 4808|     63|    }
 4809|       |
 4810|      0|  case MCK_Reg48:
  ------------------
  |  Branch (4810:3): [True: 0, False: 207k]
  ------------------
 4811|      0|    switch (B) {
 4812|      0|    default: return false;
  ------------------
  |  Branch (4812:5): [True: 0, False: 0]
  ------------------
 4813|      0|    case MCK_Reg49: return true;
  ------------------
  |  Branch (4813:5): [True: 0, False: 0]
  ------------------
 4814|      0|    case MCK_Reg30: return true;
  ------------------
  |  Branch (4814:5): [True: 0, False: 0]
  ------------------
 4815|      0|    case MCK_Reg54: return true;
  ------------------
  |  Branch (4815:5): [True: 0, False: 0]
  ------------------
 4816|      0|    case MCK_Reg46: return true;
  ------------------
  |  Branch (4816:5): [True: 0, False: 0]
  ------------------
 4817|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4817:5): [True: 0, False: 0]
  ------------------
 4818|      0|    case MCK_Reg57: return true;
  ------------------
  |  Branch (4818:5): [True: 0, False: 0]
  ------------------
 4819|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4819:5): [True: 0, False: 0]
  ------------------
 4820|      0|    case MCK_Reg56: return true;
  ------------------
  |  Branch (4820:5): [True: 0, False: 0]
  ------------------
 4821|      0|    case MCK_Reg50: return true;
  ------------------
  |  Branch (4821:5): [True: 0, False: 0]
  ------------------
 4822|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (4822:5): [True: 0, False: 0]
  ------------------
 4823|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4823:5): [True: 0, False: 0]
  ------------------
 4824|      0|    case MCK_Reg55: return true;
  ------------------
  |  Branch (4824:5): [True: 0, False: 0]
  ------------------
 4825|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (4825:5): [True: 0, False: 0]
  ------------------
 4826|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4826:5): [True: 0, False: 0]
  ------------------
 4827|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (4827:5): [True: 0, False: 0]
  ------------------
 4828|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4828:5): [True: 0, False: 0]
  ------------------
 4829|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4829:5): [True: 0, False: 0]
  ------------------
 4830|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4830:5): [True: 0, False: 0]
  ------------------
 4831|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4831:5): [True: 0, False: 0]
  ------------------
 4832|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4832:5): [True: 0, False: 0]
  ------------------
 4833|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4833:5): [True: 0, False: 0]
  ------------------
 4834|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (4834:5): [True: 0, False: 0]
  ------------------
 4835|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (4835:5): [True: 0, False: 0]
  ------------------
 4836|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4836:5): [True: 0, False: 0]
  ------------------
 4837|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4837:5): [True: 0, False: 0]
  ------------------
 4838|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4838:5): [True: 0, False: 0]
  ------------------
 4839|      0|    }
 4840|       |
 4841|      0|  case MCK_Reg29:
  ------------------
  |  Branch (4841:3): [True: 0, False: 207k]
  ------------------
 4842|      0|    switch (B) {
 4843|      0|    default: return false;
  ------------------
  |  Branch (4843:5): [True: 0, False: 0]
  ------------------
 4844|      0|    case MCK_Reg30: return true;
  ------------------
  |  Branch (4844:5): [True: 0, False: 0]
  ------------------
 4845|      0|    case MCK_Reg46: return true;
  ------------------
  |  Branch (4845:5): [True: 0, False: 0]
  ------------------
 4846|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4846:5): [True: 0, False: 0]
  ------------------
 4847|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4847:5): [True: 0, False: 0]
  ------------------
 4848|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (4848:5): [True: 0, False: 0]
  ------------------
 4849|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4849:5): [True: 0, False: 0]
  ------------------
 4850|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4850:5): [True: 0, False: 0]
  ------------------
 4851|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (4851:5): [True: 0, False: 0]
  ------------------
 4852|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4852:5): [True: 0, False: 0]
  ------------------
 4853|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4853:5): [True: 0, False: 0]
  ------------------
 4854|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4854:5): [True: 0, False: 0]
  ------------------
 4855|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4855:5): [True: 0, False: 0]
  ------------------
 4856|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4856:5): [True: 0, False: 0]
  ------------------
 4857|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4857:5): [True: 0, False: 0]
  ------------------
 4858|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4858:5): [True: 0, False: 0]
  ------------------
 4859|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4859:5): [True: 0, False: 0]
  ------------------
 4860|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4860:5): [True: 0, False: 0]
  ------------------
 4861|      0|    }
 4862|       |
 4863|      0|  case MCK_Reg20:
  ------------------
  |  Branch (4863:3): [True: 0, False: 207k]
  ------------------
 4864|      0|    switch (B) {
 4865|      0|    default: return false;
  ------------------
  |  Branch (4865:5): [True: 0, False: 0]
  ------------------
 4866|      0|    case MCK_Reg21: return true;
  ------------------
  |  Branch (4866:5): [True: 0, False: 0]
  ------------------
 4867|      0|    case MCK_GR32_TC: return true;
  ------------------
  |  Branch (4867:5): [True: 0, False: 0]
  ------------------
 4868|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4868:5): [True: 0, False: 0]
  ------------------
 4869|      0|    case MCK_Reg22: return true;
  ------------------
  |  Branch (4869:5): [True: 0, False: 0]
  ------------------
 4870|      0|    case MCK_Reg23: return true;
  ------------------
  |  Branch (4870:5): [True: 0, False: 0]
  ------------------
 4871|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4871:5): [True: 0, False: 0]
  ------------------
 4872|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4872:5): [True: 0, False: 0]
  ------------------
 4873|      0|    case MCK_Reg25: return true;
  ------------------
  |  Branch (4873:5): [True: 0, False: 0]
  ------------------
 4874|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (4874:5): [True: 0, False: 0]
  ------------------
 4875|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4875:5): [True: 0, False: 0]
  ------------------
 4876|      0|    case MCK_GR32: return true;
  ------------------
  |  Branch (4876:5): [True: 0, False: 0]
  ------------------
 4877|      0|    }
 4878|       |
 4879|      0|  case MCK_GR32_AD:
  ------------------
  |  Branch (4879:3): [True: 0, False: 207k]
  ------------------
 4880|      0|    switch (B) {
 4881|      0|    default: return false;
  ------------------
  |  Branch (4881:5): [True: 0, False: 0]
  ------------------
 4882|      0|    case MCK_GR32_TC: return true;
  ------------------
  |  Branch (4882:5): [True: 0, False: 0]
  ------------------
 4883|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4883:5): [True: 0, False: 0]
  ------------------
 4884|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4884:5): [True: 0, False: 0]
  ------------------
 4885|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4885:5): [True: 0, False: 0]
  ------------------
 4886|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4886:5): [True: 0, False: 0]
  ------------------
 4887|      0|    case MCK_GR32: return true;
  ------------------
  |  Branch (4887:5): [True: 0, False: 0]
  ------------------
 4888|      0|    }
 4889|       |
 4890|      0|  case MCK_Reg49:
  ------------------
  |  Branch (4890:3): [True: 0, False: 207k]
  ------------------
 4891|      0|    switch (B) {
 4892|      0|    default: return false;
  ------------------
  |  Branch (4892:5): [True: 0, False: 0]
  ------------------
 4893|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4893:5): [True: 0, False: 0]
  ------------------
 4894|      0|    case MCK_Reg50: return true;
  ------------------
  |  Branch (4894:5): [True: 0, False: 0]
  ------------------
 4895|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (4895:5): [True: 0, False: 0]
  ------------------
 4896|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4896:5): [True: 0, False: 0]
  ------------------
 4897|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4897:5): [True: 0, False: 0]
  ------------------
 4898|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4898:5): [True: 0, False: 0]
  ------------------
 4899|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (4899:5): [True: 0, False: 0]
  ------------------
 4900|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (4900:5): [True: 0, False: 0]
  ------------------
 4901|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4901:5): [True: 0, False: 0]
  ------------------
 4902|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4902:5): [True: 0, False: 0]
  ------------------
 4903|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4903:5): [True: 0, False: 0]
  ------------------
 4904|      0|    }
 4905|       |
 4906|      0|  case MCK_Reg30:
  ------------------
  |  Branch (4906:3): [True: 0, False: 207k]
  ------------------
 4907|      0|    switch (B) {
 4908|      0|    default: return false;
  ------------------
  |  Branch (4908:5): [True: 0, False: 0]
  ------------------
 4909|      0|    case MCK_Reg46: return true;
  ------------------
  |  Branch (4909:5): [True: 0, False: 0]
  ------------------
 4910|      0|    case MCK_GR64_ABCD: return true;
  ------------------
  |  Branch (4910:5): [True: 0, False: 0]
  ------------------
 4911|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4911:5): [True: 0, False: 0]
  ------------------
 4912|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (4912:5): [True: 0, False: 0]
  ------------------
 4913|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4913:5): [True: 0, False: 0]
  ------------------
 4914|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4914:5): [True: 0, False: 0]
  ------------------
 4915|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (4915:5): [True: 0, False: 0]
  ------------------
 4916|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4916:5): [True: 0, False: 0]
  ------------------
 4917|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4917:5): [True: 0, False: 0]
  ------------------
 4918|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4918:5): [True: 0, False: 0]
  ------------------
 4919|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4919:5): [True: 0, False: 0]
  ------------------
 4920|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4920:5): [True: 0, False: 0]
  ------------------
 4921|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4921:5): [True: 0, False: 0]
  ------------------
 4922|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4922:5): [True: 0, False: 0]
  ------------------
 4923|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4923:5): [True: 0, False: 0]
  ------------------
 4924|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4924:5): [True: 0, False: 0]
  ------------------
 4925|      0|    }
 4926|       |
 4927|      0|  case MCK_Reg21:
  ------------------
  |  Branch (4927:3): [True: 0, False: 207k]
  ------------------
 4928|      0|    switch (B) {
 4929|      0|    default: return false;
  ------------------
  |  Branch (4929:5): [True: 0, False: 0]
  ------------------
 4930|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4930:5): [True: 0, False: 0]
  ------------------
 4931|      0|    case MCK_Reg22: return true;
  ------------------
  |  Branch (4931:5): [True: 0, False: 0]
  ------------------
 4932|      0|    case MCK_Reg23: return true;
  ------------------
  |  Branch (4932:5): [True: 0, False: 0]
  ------------------
 4933|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4933:5): [True: 0, False: 0]
  ------------------
 4934|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4934:5): [True: 0, False: 0]
  ------------------
 4935|      0|    case MCK_Reg25: return true;
  ------------------
  |  Branch (4935:5): [True: 0, False: 0]
  ------------------
 4936|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (4936:5): [True: 0, False: 0]
  ------------------
 4937|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4937:5): [True: 0, False: 0]
  ------------------
 4938|      0|    case MCK_GR32: return true;
  ------------------
  |  Branch (4938:5): [True: 0, False: 0]
  ------------------
 4939|      0|    }
 4940|       |
 4941|      0|  case MCK_GR32_TC:
  ------------------
  |  Branch (4941:3): [True: 0, False: 207k]
  ------------------
 4942|      0|    switch (B) {
 4943|      0|    default: return false;
  ------------------
  |  Branch (4943:5): [True: 0, False: 0]
  ------------------
 4944|      0|    case MCK_GR32_ABCD: return true;
  ------------------
  |  Branch (4944:5): [True: 0, False: 0]
  ------------------
 4945|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4945:5): [True: 0, False: 0]
  ------------------
 4946|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4946:5): [True: 0, False: 0]
  ------------------
 4947|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4947:5): [True: 0, False: 0]
  ------------------
 4948|      0|    case MCK_GR32: return true;
  ------------------
  |  Branch (4948:5): [True: 0, False: 0]
  ------------------
 4949|      0|    }
 4950|       |
 4951|      0|  case MCK_Reg54:
  ------------------
  |  Branch (4951:3): [True: 0, False: 207k]
  ------------------
 4952|      0|    switch (B) {
 4953|      0|    default: return false;
  ------------------
  |  Branch (4953:5): [True: 0, False: 0]
  ------------------
 4954|      0|    case MCK_Reg38: return true;
  ------------------
  |  Branch (4954:5): [True: 0, False: 0]
  ------------------
 4955|      0|    case MCK_Reg50: return true;
  ------------------
  |  Branch (4955:5): [True: 0, False: 0]
  ------------------
 4956|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4956:5): [True: 0, False: 0]
  ------------------
 4957|      0|    case MCK_Reg55: return true;
  ------------------
  |  Branch (4957:5): [True: 0, False: 0]
  ------------------
 4958|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (4958:5): [True: 0, False: 0]
  ------------------
 4959|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (4959:5): [True: 0, False: 0]
  ------------------
 4960|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (4960:5): [True: 0, False: 0]
  ------------------
 4961|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (4961:5): [True: 0, False: 0]
  ------------------
 4962|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4962:5): [True: 0, False: 0]
  ------------------
 4963|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4963:5): [True: 0, False: 0]
  ------------------
 4964|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (4964:5): [True: 0, False: 0]
  ------------------
 4965|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (4965:5): [True: 0, False: 0]
  ------------------
 4966|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (4966:5): [True: 0, False: 0]
  ------------------
 4967|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (4967:5): [True: 0, False: 0]
  ------------------
 4968|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4968:5): [True: 0, False: 0]
  ------------------
 4969|      0|    }
 4970|       |
 4971|      0|  case MCK_Reg46:
  ------------------
  |  Branch (4971:3): [True: 0, False: 207k]
  ------------------
 4972|      0|    switch (B) {
 4973|      0|    default: return false;
  ------------------
  |  Branch (4973:5): [True: 0, False: 0]
  ------------------
 4974|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (4974:5): [True: 0, False: 0]
  ------------------
 4975|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (4975:5): [True: 0, False: 0]
  ------------------
 4976|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (4976:5): [True: 0, False: 0]
  ------------------
 4977|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (4977:5): [True: 0, False: 0]
  ------------------
 4978|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (4978:5): [True: 0, False: 0]
  ------------------
 4979|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (4979:5): [True: 0, False: 0]
  ------------------
 4980|      0|    }
 4981|       |
 4982|  5.65k|  case MCK_GR16_ABCD:
  ------------------
  |  Branch (4982:3): [True: 5.65k, False: 201k]
  ------------------
 4983|  5.65k|    switch (B) {
 4984|  5.23k|    default: return false;
  ------------------
  |  Branch (4984:5): [True: 5.23k, False: 426]
  ------------------
 4985|      0|    case MCK_GR16_NOREX: return true;
  ------------------
  |  Branch (4985:5): [True: 0, False: 5.65k]
  ------------------
 4986|    426|    case MCK_GR16: return true;
  ------------------
  |  Branch (4986:5): [True: 426, False: 5.23k]
  ------------------
 4987|  5.65k|    }
 4988|       |
 4989|      0|  case MCK_GR32_ABCD:
  ------------------
  |  Branch (4989:3): [True: 0, False: 207k]
  ------------------
 4990|      0|    switch (B) {
 4991|      0|    default: return false;
  ------------------
  |  Branch (4991:5): [True: 0, False: 0]
  ------------------
 4992|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (4992:5): [True: 0, False: 0]
  ------------------
 4993|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (4993:5): [True: 0, False: 0]
  ------------------
 4994|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (4994:5): [True: 0, False: 0]
  ------------------
 4995|      0|    case MCK_GR32: return true;
  ------------------
  |  Branch (4995:5): [True: 0, False: 0]
  ------------------
 4996|      0|    }
 4997|       |
 4998|      0|  case MCK_GR64_ABCD:
  ------------------
  |  Branch (4998:3): [True: 0, False: 207k]
  ------------------
 4999|      0|    switch (B) {
 5000|      0|    default: return false;
  ------------------
  |  Branch (5000:5): [True: 0, False: 0]
  ------------------
 5001|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (5001:5): [True: 0, False: 0]
  ------------------
 5002|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (5002:5): [True: 0, False: 0]
  ------------------
 5003|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5003:5): [True: 0, False: 0]
  ------------------
 5004|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5004:5): [True: 0, False: 0]
  ------------------
 5005|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5005:5): [True: 0, False: 0]
  ------------------
 5006|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5006:5): [True: 0, False: 0]
  ------------------
 5007|      0|    }
 5008|       |
 5009|  14.5k|  case MCK_GR8_ABCD_H:
  ------------------
  |  Branch (5009:3): [True: 14.5k, False: 193k]
  ------------------
 5010|  14.5k|    switch (B) {
 5011|  13.5k|    default: return false;
  ------------------
  |  Branch (5011:5): [True: 13.5k, False: 931]
  ------------------
 5012|      0|    case MCK_GR8_NOREX: return true;
  ------------------
  |  Branch (5012:5): [True: 0, False: 14.5k]
  ------------------
 5013|    931|    case MCK_GR8: return true;
  ------------------
  |  Branch (5013:5): [True: 931, False: 13.5k]
  ------------------
 5014|  14.5k|    }
 5015|       |
 5016|  4.18k|  case MCK_GR8_ABCD_L:
  ------------------
  |  Branch (5016:3): [True: 4.18k, False: 203k]
  ------------------
 5017|  4.18k|    switch (B) {
 5018|  3.97k|    default: return false;
  ------------------
  |  Branch (5018:5): [True: 3.97k, False: 208]
  ------------------
 5019|      0|    case MCK_GR8_NOREX: return true;
  ------------------
  |  Branch (5019:5): [True: 0, False: 4.18k]
  ------------------
 5020|    208|    case MCK_GR8: return true;
  ------------------
  |  Branch (5020:5): [True: 208, False: 3.97k]
  ------------------
 5021|  4.18k|    }
 5022|       |
 5023|      0|  case MCK_Reg57:
  ------------------
  |  Branch (5023:3): [True: 0, False: 207k]
  ------------------
 5024|      0|    switch (B) {
 5025|      0|    default: return false;
  ------------------
  |  Branch (5025:5): [True: 0, False: 0]
  ------------------
 5026|      0|    case MCK_Reg56: return true;
  ------------------
  |  Branch (5026:5): [True: 0, False: 0]
  ------------------
 5027|      0|    case MCK_Reg44: return true;
  ------------------
  |  Branch (5027:5): [True: 0, False: 0]
  ------------------
 5028|      0|    case MCK_Reg55: return true;
  ------------------
  |  Branch (5028:5): [True: 0, False: 0]
  ------------------
 5029|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (5029:5): [True: 0, False: 0]
  ------------------
 5030|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (5030:5): [True: 0, False: 0]
  ------------------
 5031|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (5031:5): [True: 0, False: 0]
  ------------------
 5032|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (5032:5): [True: 0, False: 0]
  ------------------
 5033|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5033:5): [True: 0, False: 0]
  ------------------
 5034|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (5034:5): [True: 0, False: 0]
  ------------------
 5035|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (5035:5): [True: 0, False: 0]
  ------------------
 5036|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5036:5): [True: 0, False: 0]
  ------------------
 5037|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5037:5): [True: 0, False: 0]
  ------------------
 5038|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5038:5): [True: 0, False: 0]
  ------------------
 5039|      0|    }
 5040|       |
 5041|      0|  case MCK_Reg38:
  ------------------
  |  Branch (5041:3): [True: 0, False: 207k]
  ------------------
 5042|      0|    switch (B) {
 5043|      0|    default: return false;
  ------------------
  |  Branch (5043:5): [True: 0, False: 0]
  ------------------
 5044|      0|    case MCK_Reg41: return true;
  ------------------
  |  Branch (5044:5): [True: 0, False: 0]
  ------------------
 5045|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (5045:5): [True: 0, False: 0]
  ------------------
 5046|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (5046:5): [True: 0, False: 0]
  ------------------
 5047|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (5047:5): [True: 0, False: 0]
  ------------------
 5048|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5048:5): [True: 0, False: 0]
  ------------------
 5049|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5049:5): [True: 0, False: 0]
  ------------------
 5050|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5050:5): [True: 0, False: 0]
  ------------------
 5051|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5051:5): [True: 0, False: 0]
  ------------------
 5052|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5052:5): [True: 0, False: 0]
  ------------------
 5053|      0|    }
 5054|       |
 5055|      0|  case MCK_Reg56:
  ------------------
  |  Branch (5055:3): [True: 0, False: 207k]
  ------------------
 5056|      0|    switch (B) {
 5057|      0|    default: return false;
  ------------------
  |  Branch (5057:5): [True: 0, False: 0]
  ------------------
 5058|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (5058:5): [True: 0, False: 0]
  ------------------
 5059|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (5059:5): [True: 0, False: 0]
  ------------------
 5060|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (5060:5): [True: 0, False: 0]
  ------------------
 5061|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (5061:5): [True: 0, False: 0]
  ------------------
 5062|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5062:5): [True: 0, False: 0]
  ------------------
 5063|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5063:5): [True: 0, False: 0]
  ------------------
 5064|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5064:5): [True: 0, False: 0]
  ------------------
 5065|      0|    }
 5066|       |
 5067|      0|  case MCK_Reg50:
  ------------------
  |  Branch (5067:3): [True: 0, False: 207k]
  ------------------
 5068|      0|    switch (B) {
 5069|      0|    default: return false;
  ------------------
  |  Branch (5069:5): [True: 0, False: 0]
  ------------------
 5070|      0|    case MCK_Reg51: return true;
  ------------------
  |  Branch (5070:5): [True: 0, False: 0]
  ------------------
 5071|      0|    case MCK_GR64_NOREX_NOSP: return true;
  ------------------
  |  Branch (5071:5): [True: 0, False: 0]
  ------------------
 5072|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (5072:5): [True: 0, False: 0]
  ------------------
 5073|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5073:5): [True: 0, False: 0]
  ------------------
 5074|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (5074:5): [True: 0, False: 0]
  ------------------
 5075|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (5075:5): [True: 0, False: 0]
  ------------------
 5076|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5076:5): [True: 0, False: 0]
  ------------------
 5077|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5077:5): [True: 0, False: 0]
  ------------------
 5078|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5078:5): [True: 0, False: 0]
  ------------------
 5079|      0|    }
 5080|       |
 5081|      0|  case MCK_Reg44:
  ------------------
  |  Branch (5081:3): [True: 0, False: 207k]
  ------------------
 5082|      0|    switch (B) {
 5083|      0|    default: return false;
  ------------------
  |  Branch (5083:5): [True: 0, False: 0]
  ------------------
 5084|      0|    case MCK_Reg45: return true;
  ------------------
  |  Branch (5084:5): [True: 0, False: 0]
  ------------------
 5085|      0|    case MCK_Reg42: return true;
  ------------------
  |  Branch (5085:5): [True: 0, False: 0]
  ------------------
 5086|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (5086:5): [True: 0, False: 0]
  ------------------
 5087|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (5087:5): [True: 0, False: 0]
  ------------------
 5088|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5088:5): [True: 0, False: 0]
  ------------------
 5089|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5089:5): [True: 0, False: 0]
  ------------------
 5090|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5090:5): [True: 0, False: 0]
  ------------------
 5091|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5091:5): [True: 0, False: 0]
  ------------------
 5092|      0|    }
 5093|       |
 5094|      0|  case MCK_Reg41:
  ------------------
  |  Branch (5094:3): [True: 0, False: 207k]
  ------------------
 5095|      0|    switch (B) {
 5096|      0|    default: return false;
  ------------------
  |  Branch (5096:5): [True: 0, False: 0]
  ------------------
 5097|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5097:5): [True: 0, False: 0]
  ------------------
 5098|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5098:5): [True: 0, False: 0]
  ------------------
 5099|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5099:5): [True: 0, False: 0]
  ------------------
 5100|      0|    }
 5101|       |
 5102|    979|  case MCK_Reg22:
  ------------------
  |  Branch (5102:3): [True: 979, False: 206k]
  ------------------
 5103|    979|    switch (B) {
 5104|    850|    default: return false;
  ------------------
  |  Branch (5104:5): [True: 850, False: 129]
  ------------------
 5105|      0|    case MCK_Reg23: return true;
  ------------------
  |  Branch (5105:5): [True: 0, False: 979]
  ------------------
 5106|      0|    case MCK_GR32_NOREX_NOSP: return true;
  ------------------
  |  Branch (5106:5): [True: 0, False: 979]
  ------------------
 5107|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (5107:5): [True: 0, False: 979]
  ------------------
 5108|      0|    case MCK_Reg25: return true;
  ------------------
  |  Branch (5108:5): [True: 0, False: 979]
  ------------------
 5109|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (5109:5): [True: 0, False: 979]
  ------------------
 5110|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (5110:5): [True: 0, False: 979]
  ------------------
 5111|    129|    case MCK_GR32: return true;
  ------------------
  |  Branch (5111:5): [True: 129, False: 850]
  ------------------
 5112|    979|    }
 5113|       |
 5114|      0|  case MCK_Reg55:
  ------------------
  |  Branch (5114:3): [True: 0, False: 207k]
  ------------------
 5115|      0|    switch (B) {
 5116|      0|    default: return false;
  ------------------
  |  Branch (5116:5): [True: 0, False: 0]
  ------------------
 5117|      0|    case MCK_Reg39: return true;
  ------------------
  |  Branch (5117:5): [True: 0, False: 0]
  ------------------
 5118|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5118:5): [True: 0, False: 0]
  ------------------
 5119|      0|    case MCK_Reg53: return true;
  ------------------
  |  Branch (5119:5): [True: 0, False: 0]
  ------------------
 5120|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (5120:5): [True: 0, False: 0]
  ------------------
 5121|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5121:5): [True: 0, False: 0]
  ------------------
 5122|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5122:5): [True: 0, False: 0]
  ------------------
 5123|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5123:5): [True: 0, False: 0]
  ------------------
 5124|      0|    }
 5125|       |
 5126|      0|  case MCK_Reg51:
  ------------------
  |  Branch (5126:3): [True: 0, False: 207k]
  ------------------
 5127|      0|    switch (B) {
 5128|      0|    default: return false;
  ------------------
  |  Branch (5128:5): [True: 0, False: 0]
  ------------------
 5129|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (5129:5): [True: 0, False: 0]
  ------------------
 5130|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5130:5): [True: 0, False: 0]
  ------------------
 5131|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (5131:5): [True: 0, False: 0]
  ------------------
 5132|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5132:5): [True: 0, False: 0]
  ------------------
 5133|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5133:5): [True: 0, False: 0]
  ------------------
 5134|      0|    }
 5135|       |
 5136|      0|  case MCK_Reg45:
  ------------------
  |  Branch (5136:3): [True: 0, False: 207k]
  ------------------
 5137|      0|    switch (B) {
 5138|      0|    default: return false;
  ------------------
  |  Branch (5138:5): [True: 0, False: 0]
  ------------------
 5139|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (5139:5): [True: 0, False: 0]
  ------------------
 5140|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5140:5): [True: 0, False: 0]
  ------------------
 5141|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5141:5): [True: 0, False: 0]
  ------------------
 5142|      0|    }
 5143|       |
 5144|      0|  case MCK_Reg42:
  ------------------
  |  Branch (5144:3): [True: 0, False: 207k]
  ------------------
 5145|      0|    switch (B) {
 5146|      0|    default: return false;
  ------------------
  |  Branch (5146:5): [True: 0, False: 0]
  ------------------
 5147|      0|    case MCK_GR64_TCW64: return true;
  ------------------
  |  Branch (5147:5): [True: 0, False: 0]
  ------------------
 5148|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5148:5): [True: 0, False: 0]
  ------------------
 5149|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5149:5): [True: 0, False: 0]
  ------------------
 5150|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5150:5): [True: 0, False: 0]
  ------------------
 5151|      0|    }
 5152|       |
 5153|    755|  case MCK_Reg23:
  ------------------
  |  Branch (5153:3): [True: 755, False: 206k]
  ------------------
 5154|    755|    switch (B) {
 5155|    650|    default: return false;
  ------------------
  |  Branch (5155:5): [True: 650, False: 105]
  ------------------
 5156|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (5156:5): [True: 0, False: 755]
  ------------------
 5157|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (5157:5): [True: 0, False: 755]
  ------------------
 5158|    105|    case MCK_GR32: return true;
  ------------------
  |  Branch (5158:5): [True: 105, False: 650]
  ------------------
 5159|    755|    }
 5160|       |
 5161|      0|  case MCK_GR32_NOREX_NOSP:
  ------------------
  |  Branch (5161:3): [True: 0, False: 207k]
  ------------------
 5162|      0|    switch (B) {
 5163|      0|    default: return false;
  ------------------
  |  Branch (5163:5): [True: 0, False: 0]
  ------------------
 5164|      0|    case MCK_GR32_NOREX: return true;
  ------------------
  |  Branch (5164:5): [True: 0, False: 0]
  ------------------
 5165|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (5165:5): [True: 0, False: 0]
  ------------------
 5166|      0|    case MCK_GR32: return true;
  ------------------
  |  Branch (5166:5): [True: 0, False: 0]
  ------------------
 5167|      0|    }
 5168|       |
 5169|      0|  case MCK_GR64_NOREX_NOSP:
  ------------------
  |  Branch (5169:3): [True: 0, False: 207k]
  ------------------
 5170|      0|    switch (B) {
 5171|      0|    default: return false;
  ------------------
  |  Branch (5171:5): [True: 0, False: 0]
  ------------------
 5172|      0|    case MCK_Reg33: return true;
  ------------------
  |  Branch (5172:5): [True: 0, False: 0]
  ------------------
 5173|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5173:5): [True: 0, False: 0]
  ------------------
 5174|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5174:5): [True: 0, False: 0]
  ------------------
 5175|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5175:5): [True: 0, False: 0]
  ------------------
 5176|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5176:5): [True: 0, False: 0]
  ------------------
 5177|      0|    }
 5178|       |
 5179|     95|  case MCK_VK1WM:
  ------------------
  |  Branch (5179:3): [True: 95, False: 207k]
  ------------------
 5180|     95|    return B == MCK_VK1;
 5181|       |
 5182|      0|  case MCK_Reg39:
  ------------------
  |  Branch (5182:3): [True: 0, False: 207k]
  ------------------
 5183|      0|    switch (B) {
 5184|      0|    default: return false;
  ------------------
  |  Branch (5184:5): [True: 0, False: 0]
  ------------------
 5185|      0|    case MCK_GR64_TC: return true;
  ------------------
  |  Branch (5185:5): [True: 0, False: 0]
  ------------------
 5186|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5186:5): [True: 0, False: 0]
  ------------------
 5187|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5187:5): [True: 0, False: 0]
  ------------------
 5188|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5188:5): [True: 0, False: 0]
  ------------------
 5189|      0|    }
 5190|       |
 5191|      0|  case MCK_Reg33:
  ------------------
  |  Branch (5191:3): [True: 0, False: 207k]
  ------------------
 5192|      0|    switch (B) {
 5193|      0|    default: return false;
  ------------------
  |  Branch (5193:5): [True: 0, False: 0]
  ------------------
 5194|      0|    case MCK_GR64_NOREX: return true;
  ------------------
  |  Branch (5194:5): [True: 0, False: 0]
  ------------------
 5195|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5195:5): [True: 0, False: 0]
  ------------------
 5196|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5196:5): [True: 0, False: 0]
  ------------------
 5197|      0|    }
 5198|       |
 5199|  2.08k|  case MCK_GR16_NOREX:
  ------------------
  |  Branch (5199:3): [True: 2.08k, False: 205k]
  ------------------
 5200|  2.08k|    return B == MCK_GR16;
 5201|       |
 5202|      0|  case MCK_GR32_NOREX:
  ------------------
  |  Branch (5202:3): [True: 0, False: 207k]
  ------------------
 5203|      0|    return B == MCK_GR32;
 5204|       |
 5205|      0|  case MCK_GR64_TCW64:
  ------------------
  |  Branch (5205:3): [True: 0, False: 207k]
  ------------------
 5206|      0|    return B == MCK_GR64;
 5207|       |
 5208|      0|  case MCK_GR8_NOREX:
  ------------------
  |  Branch (5208:3): [True: 0, False: 207k]
  ------------------
 5209|      0|    return B == MCK_GR8;
 5210|       |
 5211|      0|  case MCK_GR64_NOREX:
  ------------------
  |  Branch (5211:3): [True: 0, False: 207k]
  ------------------
 5212|      0|    return B == MCK_GR64;
 5213|       |
 5214|      0|  case MCK_GR64_TC:
  ------------------
  |  Branch (5214:3): [True: 0, False: 207k]
  ------------------
 5215|      0|    return B == MCK_GR64;
 5216|       |
 5217|      0|  case MCK_Reg53:
  ------------------
  |  Branch (5217:3): [True: 0, False: 207k]
  ------------------
 5218|      0|    switch (B) {
 5219|      0|    default: return false;
  ------------------
  |  Branch (5219:5): [True: 0, False: 0]
  ------------------
 5220|      0|    case MCK_Reg52: return true;
  ------------------
  |  Branch (5220:5): [True: 0, False: 0]
  ------------------
 5221|      0|    case MCK_GR64_NOSP: return true;
  ------------------
  |  Branch (5221:5): [True: 0, False: 0]
  ------------------
 5222|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5222:5): [True: 0, False: 0]
  ------------------
 5223|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5223:5): [True: 0, False: 0]
  ------------------
 5224|      0|    }
 5225|       |
 5226|      0|  case MCK_Reg25:
  ------------------
  |  Branch (5226:3): [True: 0, False: 207k]
  ------------------
 5227|      0|    switch (B) {
 5228|      0|    default: return false;
  ------------------
  |  Branch (5228:5): [True: 0, False: 0]
  ------------------
 5229|      0|    case MCK_GR32_NOAX: return true;
  ------------------
  |  Branch (5229:5): [True: 0, False: 0]
  ------------------
 5230|      0|    case MCK_GR32_NOSP: return true;
  ------------------
  |  Branch (5230:5): [True: 0, False: 0]
  ------------------
 5231|      0|    case MCK_GR32: return true;
  ------------------
  |  Branch (5231:5): [True: 0, False: 0]
  ------------------
 5232|      0|    }
 5233|       |
 5234|      0|  case MCK_Reg52:
  ------------------
  |  Branch (5234:3): [True: 0, False: 207k]
  ------------------
 5235|      0|    switch (B) {
 5236|      0|    default: return false;
  ------------------
  |  Branch (5236:5): [True: 0, False: 0]
  ------------------
 5237|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5237:5): [True: 0, False: 0]
  ------------------
 5238|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5238:5): [True: 0, False: 0]
  ------------------
 5239|      0|    }
 5240|       |
 5241|      0|  case MCK_GR32_NOAX:
  ------------------
  |  Branch (5241:3): [True: 0, False: 207k]
  ------------------
 5242|      0|    return B == MCK_GR32;
 5243|       |
 5244|      0|  case MCK_GR32_NOSP:
  ------------------
  |  Branch (5244:3): [True: 0, False: 207k]
  ------------------
 5245|      0|    return B == MCK_GR32;
 5246|       |
 5247|      0|  case MCK_GR64_NOSP:
  ------------------
  |  Branch (5247:3): [True: 0, False: 207k]
  ------------------
 5248|      0|    switch (B) {
 5249|      0|    default: return false;
  ------------------
  |  Branch (5249:5): [True: 0, False: 0]
  ------------------
 5250|      0|    case MCK_Reg34: return true;
  ------------------
  |  Branch (5250:5): [True: 0, False: 0]
  ------------------
 5251|      0|    case MCK_GR64: return true;
  ------------------
  |  Branch (5251:5): [True: 0, False: 0]
  ------------------
 5252|      0|    }
 5253|       |
 5254|     60|  case MCK_Reg67:
  ------------------
  |  Branch (5254:3): [True: 60, False: 207k]
  ------------------
 5255|     60|    return B == MCK_VR512;
 5256|       |
 5257|      0|  case MCK_Reg34:
  ------------------
  |  Branch (5257:3): [True: 0, False: 207k]
  ------------------
 5258|      0|    return B == MCK_GR64;
 5259|       |
 5260|     73|  case MCK_FR32:
  ------------------
  |  Branch (5260:3): [True: 73, False: 207k]
  ------------------
 5261|     73|    return B == MCK_FR32X;
 5262|       |
 5263|    118|  case MCK_VR256:
  ------------------
  |  Branch (5263:3): [True: 118, False: 207k]
  ------------------
 5264|    118|    return B == MCK_VR256X;
 5265|       |
 5266|      0|  case MCK_ImmSExti64i8:
  ------------------
  |  Branch (5266:3): [True: 0, False: 207k]
  ------------------
 5267|      0|    switch (B) {
 5268|      0|    default: return false;
  ------------------
  |  Branch (5268:5): [True: 0, False: 0]
  ------------------
 5269|      0|    case MCK_ImmSExti16i8: return true;
  ------------------
  |  Branch (5269:5): [True: 0, False: 0]
  ------------------
 5270|      0|    case MCK_ImmSExti32i8: return true;
  ------------------
  |  Branch (5270:5): [True: 0, False: 0]
  ------------------
 5271|      0|    case MCK_ImmSExti64i32: return true;
  ------------------
  |  Branch (5271:5): [True: 0, False: 0]
  ------------------
 5272|      0|    case MCK_Imm: return true;
  ------------------
  |  Branch (5272:5): [True: 0, False: 0]
  ------------------
 5273|      0|    }
 5274|       |
 5275|      0|  case MCK_ImmSExti16i8:
  ------------------
  |  Branch (5275:3): [True: 0, False: 207k]
  ------------------
 5276|      0|    switch (B) {
 5277|      0|    default: return false;
  ------------------
  |  Branch (5277:5): [True: 0, False: 0]
  ------------------
 5278|      0|    case MCK_ImmSExti64i32: return true;
  ------------------
  |  Branch (5278:5): [True: 0, False: 0]
  ------------------
 5279|      0|    case MCK_Imm: return true;
  ------------------
  |  Branch (5279:5): [True: 0, False: 0]
  ------------------
 5280|      0|    }
 5281|       |
 5282|      0|  case MCK_ImmSExti32i8:
  ------------------
  |  Branch (5282:3): [True: 0, False: 207k]
  ------------------
 5283|      0|    return B == MCK_Imm;
 5284|       |
 5285|      0|  case MCK_ImmSExti64i32:
  ------------------
  |  Branch (5285:3): [True: 0, False: 207k]
  ------------------
 5286|      0|    return B == MCK_Imm;
 5287|       |
 5288|      0|  case MCK_AbsMem16:
  ------------------
  |  Branch (5288:3): [True: 0, False: 207k]
  ------------------
 5289|      0|    switch (B) {
 5290|      0|    default: return false;
  ------------------
  |  Branch (5290:5): [True: 0, False: 0]
  ------------------
 5291|      0|    case MCK_AbsMem: return true;
  ------------------
  |  Branch (5291:5): [True: 0, False: 0]
  ------------------
 5292|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5292:5): [True: 0, False: 0]
  ------------------
 5293|      0|    }
 5294|       |
 5295|      0|  case MCK_DstIdx16:
  ------------------
  |  Branch (5295:3): [True: 0, False: 207k]
  ------------------
 5296|      0|    switch (B) {
 5297|      0|    default: return false;
  ------------------
  |  Branch (5297:5): [True: 0, False: 0]
  ------------------
 5298|      0|    case MCK_Mem16: return true;
  ------------------
  |  Branch (5298:5): [True: 0, False: 0]
  ------------------
 5299|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5299:5): [True: 0, False: 0]
  ------------------
 5300|      0|    }
 5301|       |
 5302|      0|  case MCK_DstIdx32:
  ------------------
  |  Branch (5302:3): [True: 0, False: 207k]
  ------------------
 5303|      0|    switch (B) {
 5304|      0|    default: return false;
  ------------------
  |  Branch (5304:5): [True: 0, False: 0]
  ------------------
 5305|      0|    case MCK_Mem32: return true;
  ------------------
  |  Branch (5305:5): [True: 0, False: 0]
  ------------------
 5306|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5306:5): [True: 0, False: 0]
  ------------------
 5307|      0|    }
 5308|       |
 5309|      0|  case MCK_DstIdx64:
  ------------------
  |  Branch (5309:3): [True: 0, False: 207k]
  ------------------
 5310|      0|    switch (B) {
 5311|      0|    default: return false;
  ------------------
  |  Branch (5311:5): [True: 0, False: 0]
  ------------------
 5312|      0|    case MCK_Mem64: return true;
  ------------------
  |  Branch (5312:5): [True: 0, False: 0]
  ------------------
 5313|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5313:5): [True: 0, False: 0]
  ------------------
 5314|      0|    }
 5315|       |
 5316|      0|  case MCK_DstIdx8:
  ------------------
  |  Branch (5316:3): [True: 0, False: 207k]
  ------------------
 5317|      0|    switch (B) {
 5318|      0|    default: return false;
  ------------------
  |  Branch (5318:5): [True: 0, False: 0]
  ------------------
 5319|      0|    case MCK_Mem8: return true;
  ------------------
  |  Branch (5319:5): [True: 0, False: 0]
  ------------------
 5320|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5320:5): [True: 0, False: 0]
  ------------------
 5321|      0|    }
 5322|       |
 5323|      0|  case MCK_MemOffs16_16:
  ------------------
  |  Branch (5323:3): [True: 0, False: 207k]
  ------------------
 5324|      0|    switch (B) {
 5325|      0|    default: return false;
  ------------------
  |  Branch (5325:5): [True: 0, False: 0]
  ------------------
 5326|      0|    case MCK_Mem16: return true;
  ------------------
  |  Branch (5326:5): [True: 0, False: 0]
  ------------------
 5327|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5327:5): [True: 0, False: 0]
  ------------------
 5328|      0|    }
 5329|       |
 5330|      0|  case MCK_MemOffs16_32:
  ------------------
  |  Branch (5330:3): [True: 0, False: 207k]
  ------------------
 5331|      0|    switch (B) {
 5332|      0|    default: return false;
  ------------------
  |  Branch (5332:5): [True: 0, False: 0]
  ------------------
 5333|      0|    case MCK_Mem32: return true;
  ------------------
  |  Branch (5333:5): [True: 0, False: 0]
  ------------------
 5334|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5334:5): [True: 0, False: 0]
  ------------------
 5335|      0|    }
 5336|       |
 5337|      0|  case MCK_MemOffs16_8:
  ------------------
  |  Branch (5337:3): [True: 0, False: 207k]
  ------------------
 5338|      0|    switch (B) {
 5339|      0|    default: return false;
  ------------------
  |  Branch (5339:5): [True: 0, False: 0]
  ------------------
 5340|      0|    case MCK_Mem8: return true;
  ------------------
  |  Branch (5340:5): [True: 0, False: 0]
  ------------------
 5341|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5341:5): [True: 0, False: 0]
  ------------------
 5342|      0|    }
 5343|       |
 5344|      0|  case MCK_MemOffs32_16:
  ------------------
  |  Branch (5344:3): [True: 0, False: 207k]
  ------------------
 5345|      0|    switch (B) {
 5346|      0|    default: return false;
  ------------------
  |  Branch (5346:5): [True: 0, False: 0]
  ------------------
 5347|      0|    case MCK_Mem16: return true;
  ------------------
  |  Branch (5347:5): [True: 0, False: 0]
  ------------------
 5348|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5348:5): [True: 0, False: 0]
  ------------------
 5349|      0|    }
 5350|       |
 5351|      0|  case MCK_MemOffs32_32:
  ------------------
  |  Branch (5351:3): [True: 0, False: 207k]
  ------------------
 5352|      0|    switch (B) {
 5353|      0|    default: return false;
  ------------------
  |  Branch (5353:5): [True: 0, False: 0]
  ------------------
 5354|      0|    case MCK_Mem32: return true;
  ------------------
  |  Branch (5354:5): [True: 0, False: 0]
  ------------------
 5355|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5355:5): [True: 0, False: 0]
  ------------------
 5356|      0|    }
 5357|       |
 5358|      0|  case MCK_MemOffs32_64:
  ------------------
  |  Branch (5358:3): [True: 0, False: 207k]
  ------------------
 5359|      0|    switch (B) {
 5360|      0|    default: return false;
  ------------------
  |  Branch (5360:5): [True: 0, False: 0]
  ------------------
 5361|      0|    case MCK_Mem64: return true;
  ------------------
  |  Branch (5361:5): [True: 0, False: 0]
  ------------------
 5362|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5362:5): [True: 0, False: 0]
  ------------------
 5363|      0|    }
 5364|       |
 5365|      0|  case MCK_MemOffs32_8:
  ------------------
  |  Branch (5365:3): [True: 0, False: 207k]
  ------------------
 5366|      0|    switch (B) {
 5367|      0|    default: return false;
  ------------------
  |  Branch (5367:5): [True: 0, False: 0]
  ------------------
 5368|      0|    case MCK_Mem8: return true;
  ------------------
  |  Branch (5368:5): [True: 0, False: 0]
  ------------------
 5369|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5369:5): [True: 0, False: 0]
  ------------------
 5370|      0|    }
 5371|       |
 5372|      0|  case MCK_MemOffs64_16:
  ------------------
  |  Branch (5372:3): [True: 0, False: 207k]
  ------------------
 5373|      0|    switch (B) {
 5374|      0|    default: return false;
  ------------------
  |  Branch (5374:5): [True: 0, False: 0]
  ------------------
 5375|      0|    case MCK_Mem16: return true;
  ------------------
  |  Branch (5375:5): [True: 0, False: 0]
  ------------------
 5376|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5376:5): [True: 0, False: 0]
  ------------------
 5377|      0|    }
 5378|       |
 5379|      0|  case MCK_MemOffs64_32:
  ------------------
  |  Branch (5379:3): [True: 0, False: 207k]
  ------------------
 5380|      0|    switch (B) {
 5381|      0|    default: return false;
  ------------------
  |  Branch (5381:5): [True: 0, False: 0]
  ------------------
 5382|      0|    case MCK_Mem32: return true;
  ------------------
  |  Branch (5382:5): [True: 0, False: 0]
  ------------------
 5383|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5383:5): [True: 0, False: 0]
  ------------------
 5384|      0|    }
 5385|       |
 5386|      0|  case MCK_MemOffs64_64:
  ------------------
  |  Branch (5386:3): [True: 0, False: 207k]
  ------------------
 5387|      0|    switch (B) {
 5388|      0|    default: return false;
  ------------------
  |  Branch (5388:5): [True: 0, False: 0]
  ------------------
 5389|      0|    case MCK_Mem64: return true;
  ------------------
  |  Branch (5389:5): [True: 0, False: 0]
  ------------------
 5390|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5390:5): [True: 0, False: 0]
  ------------------
 5391|      0|    }
 5392|       |
 5393|      0|  case MCK_MemOffs64_8:
  ------------------
  |  Branch (5393:3): [True: 0, False: 207k]
  ------------------
 5394|      0|    switch (B) {
 5395|      0|    default: return false;
  ------------------
  |  Branch (5395:5): [True: 0, False: 0]
  ------------------
 5396|      0|    case MCK_Mem8: return true;
  ------------------
  |  Branch (5396:5): [True: 0, False: 0]
  ------------------
 5397|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5397:5): [True: 0, False: 0]
  ------------------
 5398|      0|    }
 5399|       |
 5400|      0|  case MCK_SrcIdx16:
  ------------------
  |  Branch (5400:3): [True: 0, False: 207k]
  ------------------
 5401|      0|    switch (B) {
 5402|      0|    default: return false;
  ------------------
  |  Branch (5402:5): [True: 0, False: 0]
  ------------------
 5403|      0|    case MCK_Mem16: return true;
  ------------------
  |  Branch (5403:5): [True: 0, False: 0]
  ------------------
 5404|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5404:5): [True: 0, False: 0]
  ------------------
 5405|      0|    }
 5406|       |
 5407|      0|  case MCK_SrcIdx32:
  ------------------
  |  Branch (5407:3): [True: 0, False: 207k]
  ------------------
 5408|      0|    switch (B) {
 5409|      0|    default: return false;
  ------------------
  |  Branch (5409:5): [True: 0, False: 0]
  ------------------
 5410|      0|    case MCK_Mem32: return true;
  ------------------
  |  Branch (5410:5): [True: 0, False: 0]
  ------------------
 5411|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5411:5): [True: 0, False: 0]
  ------------------
 5412|      0|    }
 5413|       |
 5414|      0|  case MCK_SrcIdx64:
  ------------------
  |  Branch (5414:3): [True: 0, False: 207k]
  ------------------
 5415|      0|    switch (B) {
 5416|      0|    default: return false;
  ------------------
  |  Branch (5416:5): [True: 0, False: 0]
  ------------------
 5417|      0|    case MCK_Mem64: return true;
  ------------------
  |  Branch (5417:5): [True: 0, False: 0]
  ------------------
 5418|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5418:5): [True: 0, False: 0]
  ------------------
 5419|      0|    }
 5420|       |
 5421|      0|  case MCK_SrcIdx8:
  ------------------
  |  Branch (5421:3): [True: 0, False: 207k]
  ------------------
 5422|      0|    switch (B) {
 5423|      0|    default: return false;
  ------------------
  |  Branch (5423:5): [True: 0, False: 0]
  ------------------
 5424|      0|    case MCK_Mem8: return true;
  ------------------
  |  Branch (5424:5): [True: 0, False: 0]
  ------------------
 5425|      0|    case MCK_Mem: return true;
  ------------------
  |  Branch (5425:5): [True: 0, False: 0]
  ------------------
 5426|      0|    }
 5427|       |
 5428|      0|  case MCK_AbsMem:
  ------------------
  |  Branch (5428:3): [True: 0, False: 207k]
  ------------------
 5429|      0|    return B == MCK_Mem;
 5430|       |
 5431|      0|  case MCK_Mem128:
  ------------------
  |  Branch (5431:3): [True: 0, False: 207k]
  ------------------
 5432|      0|    return B == MCK_Mem;
 5433|       |
 5434|      0|  case MCK_Mem16:
  ------------------
  |  Branch (5434:3): [True: 0, False: 207k]
  ------------------
 5435|      0|    return B == MCK_Mem;
 5436|       |
 5437|      0|  case MCK_Mem256:
  ------------------
  |  Branch (5437:3): [True: 0, False: 207k]
  ------------------
 5438|      0|    return B == MCK_Mem;
 5439|       |
 5440|      0|  case MCK_Mem32:
  ------------------
  |  Branch (5440:3): [True: 0, False: 207k]
  ------------------
 5441|      0|    return B == MCK_Mem;
 5442|       |
 5443|      0|  case MCK_Mem512:
  ------------------
  |  Branch (5443:3): [True: 0, False: 207k]
  ------------------
 5444|      0|    return B == MCK_Mem;
 5445|       |
 5446|      0|  case MCK_Mem64:
  ------------------
  |  Branch (5446:3): [True: 0, False: 207k]
  ------------------
 5447|      0|    return B == MCK_Mem;
 5448|       |
 5449|      0|  case MCK_Mem80:
  ------------------
  |  Branch (5449:3): [True: 0, False: 207k]
  ------------------
 5450|      0|    return B == MCK_Mem;
 5451|       |
 5452|      0|  case MCK_Mem8:
  ------------------
  |  Branch (5452:3): [True: 0, False: 207k]
  ------------------
 5453|      0|    return B == MCK_Mem;
 5454|       |
 5455|      0|  case MCK_MemVX32:
  ------------------
  |  Branch (5455:3): [True: 0, False: 207k]
  ------------------
 5456|      0|    return B == MCK_Mem;
 5457|       |
 5458|      0|  case MCK_MemVX32X:
  ------------------
  |  Branch (5458:3): [True: 0, False: 207k]
  ------------------
 5459|      0|    return B == MCK_Mem;
 5460|       |
 5461|      0|  case MCK_MemVX64:
  ------------------
  |  Branch (5461:3): [True: 0, False: 207k]
  ------------------
 5462|      0|    return B == MCK_Mem;
 5463|       |
 5464|      0|  case MCK_MemVX64X:
  ------------------
  |  Branch (5464:3): [True: 0, False: 207k]
  ------------------
 5465|      0|    return B == MCK_Mem;
 5466|       |
 5467|      0|  case MCK_MemVY32:
  ------------------
  |  Branch (5467:3): [True: 0, False: 207k]
  ------------------
 5468|      0|    return B == MCK_Mem;
 5469|       |
 5470|      0|  case MCK_MemVY32X:
  ------------------
  |  Branch (5470:3): [True: 0, False: 207k]
  ------------------
 5471|      0|    return B == MCK_Mem;
 5472|       |
 5473|      0|  case MCK_MemVY64:
  ------------------
  |  Branch (5473:3): [True: 0, False: 207k]
  ------------------
 5474|      0|    return B == MCK_Mem;
 5475|       |
 5476|      0|  case MCK_MemVY64X:
  ------------------
  |  Branch (5476:3): [True: 0, False: 207k]
  ------------------
 5477|      0|    return B == MCK_Mem;
 5478|       |
 5479|      0|  case MCK_MemVZ32:
  ------------------
  |  Branch (5479:3): [True: 0, False: 207k]
  ------------------
 5480|      0|    return B == MCK_Mem;
 5481|       |
 5482|      0|  case MCK_MemVZ64:
  ------------------
  |  Branch (5482:3): [True: 0, False: 207k]
  ------------------
 5483|      0|    return B == MCK_Mem;
 5484|   207k|  }
 5485|   207k|}
X86AsmParser.cpp:_ZL16matchTokenStringN7llvm_ks9StringRefE:
 4464|  7.26k|static MatchClassKind matchTokenString(StringRef Name) {
 4465|  7.26k|  switch (Name.size()) {
 4466|      0|  default: break;
  ------------------
  |  Branch (4466:3): [True: 0, False: 7.26k]
  ------------------
 4467|  5.95k|  case 1:	 // 8 strings to match.
  ------------------
  |  Branch (4467:3): [True: 5.95k, False: 1.30k]
  ------------------
 4468|  5.95k|    switch (Name[0]) {
 4469|      0|    default: break;
  ------------------
  |  Branch (4469:5): [True: 0, False: 5.95k]
  ------------------
 4470|  1.76k|    case '*':	 // 1 string to match.
  ------------------
  |  Branch (4470:5): [True: 1.76k, False: 4.19k]
  ------------------
 4471|  1.76k|      return MCK__STAR_;	 // "*"
 4472|    140|    case ':':	 // 1 string to match.
  ------------------
  |  Branch (4472:5): [True: 140, False: 5.81k]
  ------------------
 4473|    140|      return MCK__COLON_;	 // ":"
 4474|    298|    case 'b':	 // 1 string to match.
  ------------------
  |  Branch (4474:5): [True: 298, False: 5.66k]
  ------------------
 4475|    298|      return MCK_b;	 // "b"
 4476|  1.33k|    case 'd':	 // 1 string to match.
  ------------------
  |  Branch (4476:5): [True: 1.33k, False: 4.62k]
  ------------------
 4477|  1.33k|      return MCK_d;	 // "d"
 4478|  1.09k|    case 'q':	 // 1 string to match.
  ------------------
  |  Branch (4478:5): [True: 1.09k, False: 4.86k]
  ------------------
 4479|  1.09k|      return MCK_q;	 // "q"
 4480|  1.09k|    case 'w':	 // 1 string to match.
  ------------------
  |  Branch (4480:5): [True: 1.09k, False: 4.86k]
  ------------------
 4481|  1.09k|      return MCK_w;	 // "w"
 4482|    230|    case '{':	 // 1 string to match.
  ------------------
  |  Branch (4482:5): [True: 230, False: 5.72k]
  ------------------
 4483|    230|      return MCK__123_;	 // "{"
 4484|      0|    case '}':	 // 1 string to match.
  ------------------
  |  Branch (4484:5): [True: 0, False: 5.95k]
  ------------------
 4485|      0|      return MCK__125_;	 // "}"
 4486|  5.95k|    }
 4487|      0|    break;
 4488|  1.30k|  case 2:	 // 8 strings to match.
  ------------------
  |  Branch (4488:3): [True: 1.30k, False: 5.95k]
  ------------------
 4489|  1.30k|    switch (Name[0]) {
 4490|      0|    default: break;
  ------------------
  |  Branch (4490:5): [True: 0, False: 1.30k]
  ------------------
 4491|    677|    case 'p':	 // 2 strings to match.
  ------------------
  |  Branch (4491:5): [True: 677, False: 624]
  ------------------
 4492|    677|      switch (Name[1]) {
 4493|      0|      default: break;
  ------------------
  |  Branch (4493:7): [True: 0, False: 677]
  ------------------
 4494|    605|      case 'd':	 // 1 string to match.
  ------------------
  |  Branch (4494:7): [True: 605, False: 72]
  ------------------
 4495|    605|        return MCK_pd;	 // "pd"
 4496|     72|      case 's':	 // 1 string to match.
  ------------------
  |  Branch (4496:7): [True: 72, False: 605]
  ------------------
 4497|     72|        return MCK_ps;	 // "ps"
 4498|    677|      }
 4499|      0|      break;
 4500|    154|    case 's':	 // 2 strings to match.
  ------------------
  |  Branch (4500:5): [True: 154, False: 1.14k]
  ------------------
 4501|    154|      switch (Name[1]) {
 4502|      0|      default: break;
  ------------------
  |  Branch (4502:7): [True: 0, False: 154]
  ------------------
 4503|    117|      case 'd':	 // 1 string to match.
  ------------------
  |  Branch (4503:7): [True: 117, False: 37]
  ------------------
 4504|    117|        return MCK_sd;	 // "sd"
 4505|     37|      case 's':	 // 1 string to match.
  ------------------
  |  Branch (4505:7): [True: 37, False: 117]
  ------------------
 4506|     37|        return MCK_ss;	 // "ss"
 4507|    154|      }
 4508|      0|      break;
 4509|    470|    case 'u':	 // 4 strings to match.
  ------------------
  |  Branch (4509:5): [True: 470, False: 831]
  ------------------
 4510|    470|      switch (Name[1]) {
 4511|      0|      default: break;
  ------------------
  |  Branch (4511:7): [True: 0, False: 470]
  ------------------
 4512|    144|      case 'b':	 // 1 string to match.
  ------------------
  |  Branch (4512:7): [True: 144, False: 326]
  ------------------
 4513|    144|        return MCK_ub;	 // "ub"
 4514|     16|      case 'd':	 // 1 string to match.
  ------------------
  |  Branch (4514:7): [True: 16, False: 454]
  ------------------
 4515|     16|        return MCK_ud;	 // "ud"
 4516|    144|      case 'q':	 // 1 string to match.
  ------------------
  |  Branch (4516:7): [True: 144, False: 326]
  ------------------
 4517|    144|        return MCK_uq;	 // "uq"
 4518|    166|      case 'w':	 // 1 string to match.
  ------------------
  |  Branch (4518:7): [True: 166, False: 304]
  ------------------
 4519|    166|        return MCK_uw;	 // "uw"
 4520|    470|      }
 4521|      0|      break;
 4522|  1.30k|    }
 4523|      0|    break;
 4524|      0|  case 3:	 // 1 string to match.
  ------------------
  |  Branch (4524:3): [True: 0, False: 7.26k]
  ------------------
 4525|      0|    if (memcmp(Name.data()+0, "{z}", 3))
  ------------------
  |  Branch (4525:9): [True: 0, False: 0]
  ------------------
 4526|      0|      break;
 4527|      0|    return MCK__123_z_125_;	 // "{z}"
 4528|      0|  case 5:	 // 1 string to match.
  ------------------
  |  Branch (4528:3): [True: 0, False: 7.26k]
  ------------------
 4529|      0|    if (memcmp(Name.data()+0, "{sae}", 5))
  ------------------
  |  Branch (4529:9): [True: 0, False: 0]
  ------------------
 4530|      0|      break;
 4531|      0|    return MCK__123_sae_125_;	 // "{sae}"
 4532|      0|  case 6:	 // 3 strings to match.
  ------------------
  |  Branch (4532:3): [True: 0, False: 7.26k]
  ------------------
 4533|      0|    if (memcmp(Name.data()+0, "{1to", 4))
  ------------------
  |  Branch (4533:9): [True: 0, False: 0]
  ------------------
 4534|      0|      break;
 4535|      0|    switch (Name[4]) {
 4536|      0|    default: break;
  ------------------
  |  Branch (4536:5): [True: 0, False: 0]
  ------------------
 4537|      0|    case '2':	 // 1 string to match.
  ------------------
  |  Branch (4537:5): [True: 0, False: 0]
  ------------------
 4538|      0|      if (Name[5] != '}')
  ------------------
  |  Branch (4538:11): [True: 0, False: 0]
  ------------------
 4539|      0|        break;
 4540|      0|      return MCK__123_1to2_125_;	 // "{1to2}"
 4541|      0|    case '4':	 // 1 string to match.
  ------------------
  |  Branch (4541:5): [True: 0, False: 0]
  ------------------
 4542|      0|      if (Name[5] != '}')
  ------------------
  |  Branch (4542:11): [True: 0, False: 0]
  ------------------
 4543|      0|        break;
 4544|      0|      return MCK__123_1to4_125_;	 // "{1to4}"
 4545|      0|    case '8':	 // 1 string to match.
  ------------------
  |  Branch (4545:5): [True: 0, False: 0]
  ------------------
 4546|      0|      if (Name[5] != '}')
  ------------------
  |  Branch (4546:11): [True: 0, False: 0]
  ------------------
 4547|      0|        break;
 4548|      0|      return MCK__123_1to8_125_;	 // "{1to8}"
 4549|      0|    }
 4550|      0|    break;
 4551|      0|  case 7:	 // 3 strings to match.
  ------------------
  |  Branch (4551:3): [True: 0, False: 7.26k]
  ------------------
 4552|      0|    if (memcmp(Name.data()+0, "{1to", 4))
  ------------------
  |  Branch (4552:9): [True: 0, False: 0]
  ------------------
 4553|      0|      break;
 4554|      0|    switch (Name[4]) {
 4555|      0|    default: break;
  ------------------
  |  Branch (4555:5): [True: 0, False: 0]
  ------------------
 4556|      0|    case '1':	 // 1 string to match.
  ------------------
  |  Branch (4556:5): [True: 0, False: 0]
  ------------------
 4557|      0|      if (memcmp(Name.data()+5, "6}", 2))
  ------------------
  |  Branch (4557:11): [True: 0, False: 0]
  ------------------
 4558|      0|        break;
 4559|      0|      return MCK__123_1to16_125_;	 // "{1to16}"
 4560|      0|    case '3':	 // 1 string to match.
  ------------------
  |  Branch (4560:5): [True: 0, False: 0]
  ------------------
 4561|      0|      if (memcmp(Name.data()+5, "2}", 2))
  ------------------
  |  Branch (4561:11): [True: 0, False: 0]
  ------------------
 4562|      0|        break;
 4563|      0|      return MCK__123_1to32_125_;	 // "{1to32}"
 4564|      0|    case '6':	 // 1 string to match.
  ------------------
  |  Branch (4564:5): [True: 0, False: 0]
  ------------------
 4565|      0|      if (memcmp(Name.data()+5, "4}", 2))
  ------------------
  |  Branch (4565:11): [True: 0, False: 0]
  ------------------
 4566|      0|        break;
 4567|      0|      return MCK__123_1to64_125_;	 // "{1to64}"
 4568|      0|    }
 4569|      0|    break;
 4570|  7.26k|  }
 4571|      0|  return InvalidMatchClass;
 4572|  7.26k|}
X86AsmParser.cpp:_ZN12_GLOBAL__N_112X86AsmParser15convertToMCInstEjRN7llvm_ks6MCInstEjRKNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS5_14default_deleteIS7_EEEEEE:
 4106|  60.9k|                const OperandVector &Operands) {
 4107|  60.9k|  assert(Kind < CVT_NUM_SIGNATURES && "Invalid signature!");
  ------------------
  |  Branch (4107:3): [True: 60.9k, False: 0]
  |  Branch (4107:3): [True: 60.9k, Folded]
  |  Branch (4107:3): [True: 60.9k, False: 0]
  ------------------
 4108|  60.9k|  const uint8_t *Converter = ConversionTable[Kind];
 4109|  60.9k|  Inst.setOpcode(Opcode);
 4110|   121k|  for (const uint8_t *p = Converter; *p; p+= 2) {
  ------------------
  |  Branch (4110:38): [True: 60.7k, False: 60.9k]
  ------------------
 4111|  60.7k|    switch (*p) {
 4112|      0|    default: llvm_unreachable("invalid conversion entry!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (4112:5): [True: 0, False: 60.7k]
  ------------------
 4113|      0|    case CVT_Reg:
  ------------------
  |  Branch (4113:5): [True: 0, False: 60.7k]
  ------------------
 4114|      0|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addRegOperands(Inst, 1);
 4115|      0|      break;
 4116|    161|    case CVT_Tied:
  ------------------
  |  Branch (4116:5): [True: 161, False: 60.6k]
  ------------------
 4117|    161|      Inst.addOperand(Inst.getOperand(*(p + 1)));
 4118|    161|      break;
 4119|     10|    case CVT_imm_95_10:
  ------------------
  |  Branch (4119:5): [True: 10, False: 60.7k]
  ------------------
 4120|     10|      Inst.addOperand(MCOperand::createImm(10));
 4121|     10|      break;
 4122|    509|    case CVT_95_addImmOperands:
  ------------------
  |  Branch (4122:5): [True: 509, False: 60.2k]
  ------------------
 4123|    509|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addImmOperands(Inst, 1);
 4124|    509|      break;
 4125|     49|    case CVT_regAX:
  ------------------
  |  Branch (4125:5): [True: 49, False: 60.7k]
  ------------------
 4126|     49|      Inst.addOperand(MCOperand::createReg(X86::AX));
 4127|     49|      break;
 4128|      5|    case CVT_regEAX:
  ------------------
  |  Branch (4128:5): [True: 5, False: 60.7k]
  ------------------
 4129|      5|      Inst.addOperand(MCOperand::createReg(X86::EAX));
 4130|      5|      break;
 4131|      0|    case CVT_regRAX:
  ------------------
  |  Branch (4131:5): [True: 0, False: 60.7k]
  ------------------
 4132|      0|      Inst.addOperand(MCOperand::createReg(X86::RAX));
 4133|      0|      break;
 4134|    412|    case CVT_95_Reg:
  ------------------
  |  Branch (4134:5): [True: 412, False: 60.3k]
  ------------------
 4135|    412|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addRegOperands(Inst, 1);
 4136|    412|      break;
 4137|  5.08k|    case CVT_95_addMemOperands:
  ------------------
  |  Branch (4137:5): [True: 5.08k, False: 55.6k]
  ------------------
 4138|  5.08k|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addMemOperands(Inst, 5);
 4139|  5.08k|      break;
 4140|  45.8k|    case CVT_95_addAbsMemOperands:
  ------------------
  |  Branch (4140:5): [True: 45.8k, False: 14.8k]
  ------------------
 4141|  45.8k|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addAbsMemOperands(Inst, 1);
 4142|  45.8k|      break;
 4143|  4.04k|    case CVT_95_addDstIdxOperands:
  ------------------
  |  Branch (4143:5): [True: 4.04k, False: 56.7k]
  ------------------
 4144|  4.04k|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addDstIdxOperands(Inst, 1);
 4145|  4.04k|      break;
 4146|  4.20k|    case CVT_95_addSrcIdxOperands:
  ------------------
  |  Branch (4146:5): [True: 4.20k, False: 56.5k]
  ------------------
 4147|  4.20k|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addSrcIdxOperands(Inst, 2);
 4148|  4.20k|      break;
 4149|      0|    case CVT_95_addGR32orGR64Operands:
  ------------------
  |  Branch (4149:5): [True: 0, False: 60.7k]
  ------------------
 4150|      0|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addGR32orGR64Operands(Inst, 1);
 4151|      0|      break;
 4152|    101|    case CVT_regST1:
  ------------------
  |  Branch (4152:5): [True: 101, False: 60.6k]
  ------------------
 4153|    101|      Inst.addOperand(MCOperand::createReg(X86::ST1));
 4154|    101|      break;
 4155|      0|    case CVT_regST0:
  ------------------
  |  Branch (4155:5): [True: 0, False: 60.7k]
  ------------------
 4156|      0|      Inst.addOperand(MCOperand::createReg(X86::ST0));
 4157|      0|      break;
 4158|    298|    case CVT_95_addMemOffsOperands:
  ------------------
  |  Branch (4158:5): [True: 298, False: 60.4k]
  ------------------
 4159|    298|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addMemOffsOperands(Inst, 2);
 4160|    298|      break;
 4161|      0|    case CVT_imm_95_17:
  ------------------
  |  Branch (4161:5): [True: 0, False: 60.7k]
  ------------------
 4162|      0|      Inst.addOperand(MCOperand::createImm(17));
 4163|      0|      break;
 4164|      0|    case CVT_imm_95_1:
  ------------------
  |  Branch (4164:5): [True: 0, False: 60.7k]
  ------------------
 4165|      0|      Inst.addOperand(MCOperand::createImm(1));
 4166|      0|      break;
 4167|      0|    case CVT_imm_95_16:
  ------------------
  |  Branch (4167:5): [True: 0, False: 60.7k]
  ------------------
 4168|      0|      Inst.addOperand(MCOperand::createImm(16));
 4169|      0|      break;
 4170|      0|    case CVT_imm_95_0:
  ------------------
  |  Branch (4170:5): [True: 0, False: 60.7k]
  ------------------
 4171|      0|      Inst.addOperand(MCOperand::createImm(0));
 4172|      0|      break;
 4173|      0|    case CVT_95_addAVX512RCOperands:
  ------------------
  |  Branch (4173:5): [True: 0, False: 60.7k]
  ------------------
 4174|      0|      static_cast<X86Operand&>(*Operands[*(p + 1)]).addAVX512RCOperands(Inst, 1);
 4175|      0|      break;
 4176|  60.7k|    }
 4177|  60.7k|  }
 4178|  60.9k|}
X86AsmParser.cpp:_ZL23getSubtargetFeatureNamem:
  905|      3|static const char *getSubtargetFeatureName(uint64_t Val) {
  906|      3|  switch(Val) {
  907|      0|  case Feature_HasAVX512: return "AVX-512 ISA";
  ------------------
  |  Branch (907:3): [True: 0, False: 3]
  ------------------
  908|      0|  case Feature_HasCDI: return "AVX-512 CD ISA";
  ------------------
  |  Branch (908:3): [True: 0, False: 3]
  ------------------
  909|      0|  case Feature_HasPFI: return "AVX-512 PF ISA";
  ------------------
  |  Branch (909:3): [True: 0, False: 3]
  ------------------
  910|      0|  case Feature_HasERI: return "AVX-512 ER ISA";
  ------------------
  |  Branch (910:3): [True: 0, False: 3]
  ------------------
  911|      0|  case Feature_HasDQI: return "AVX-512 DQ ISA";
  ------------------
  |  Branch (911:3): [True: 0, False: 3]
  ------------------
  912|      0|  case Feature_HasBWI: return "AVX-512 BW ISA";
  ------------------
  |  Branch (912:3): [True: 0, False: 3]
  ------------------
  913|      0|  case Feature_HasVLX: return "AVX-512 VL ISA";
  ------------------
  |  Branch (913:3): [True: 0, False: 3]
  ------------------
  914|      0|  case Feature_HasVBMI: return "AVX-512 VBMI ISA";
  ------------------
  |  Branch (914:3): [True: 0, False: 3]
  ------------------
  915|      0|  case Feature_HasIFMA: return "AVX-512 IFMA ISA";
  ------------------
  |  Branch (915:3): [True: 0, False: 3]
  ------------------
  916|      1|  case Feature_Not64BitMode: return "Not 64-bit mode";
  ------------------
  |  Branch (916:3): [True: 1, False: 2]
  ------------------
  917|      2|  case Feature_In64BitMode: return "64-bit mode";
  ------------------
  |  Branch (917:3): [True: 2, False: 1]
  ------------------
  918|      0|  case Feature_In16BitMode: return "16-bit mode";
  ------------------
  |  Branch (918:3): [True: 0, False: 3]
  ------------------
  919|      0|  case Feature_Not16BitMode: return "Not 16-bit mode";
  ------------------
  |  Branch (919:3): [True: 0, False: 3]
  ------------------
  920|      0|  case Feature_In32BitMode: return "32-bit mode";
  ------------------
  |  Branch (920:3): [True: 0, False: 3]
  ------------------
  921|      0|  default: return "(unknown)";
  ------------------
  |  Branch (921:3): [True: 0, False: 3]
  ------------------
  922|      3|  }
  923|      3|}

X86MCTargetDesc.cpp:_ZN7llvm_ksL18InitX86MCInstrInfoEPNS_11MCInstrInfoE:
31187|  17.0k|static inline void InitX86MCInstrInfo(MCInstrInfo *II) {
31188|  17.0k|  II->InitMCInstrInfo(X86Insts, NULL, NULL, 14584);
31189|  17.0k|}

X86MCTargetDesc.cpp:_ZN7llvm_ksL21InitX86MCRegisterInfoEPNS_14MCRegisterInfoEjjjj:
 3529|  17.0k|static inline void InitX86MCRegisterInfo(MCRegisterInfo *RI, unsigned RA, unsigned DwarfFlavour = 0, unsigned EHFlavour = 0, unsigned PC = 0) {
 3530|  17.0k|  RI->InitMCRegisterInfo(X86RegDesc, 246, RA, PC, X86MCRegisterClasses, 86, X86RegUnitRoots, 131, X86RegDiffLists, X86LaneMaskLists, X86RegStrings, X86RegClassStrings, X86SubRegIdxLists, 7,
 3531|  17.0k|X86SubRegIdxRanges, X86RegEncodingTable);
 3532|       |
 3533|  17.0k|  switch (DwarfFlavour) {
 3534|      0|  default:
  ------------------
  |  Branch (3534:3): [True: 0, False: 17.0k]
  ------------------
 3535|      0|    llvm_unreachable("Unknown DWARF flavour");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 3536|      0|  case 0:
  ------------------
  |  Branch (3536:3): [True: 0, False: 17.0k]
  ------------------
 3537|      0|    RI->mapDwarfRegsToLLVMRegs(X86DwarfFlavour0Dwarf2L, X86DwarfFlavour0Dwarf2LSize, false);
 3538|      0|    break;
 3539|      0|  case 1:
  ------------------
  |  Branch (3539:3): [True: 0, False: 17.0k]
  ------------------
 3540|      0|    RI->mapDwarfRegsToLLVMRegs(X86DwarfFlavour1Dwarf2L, X86DwarfFlavour1Dwarf2LSize, false);
 3541|      0|    break;
 3542|  17.0k|  case 2:
  ------------------
  |  Branch (3542:3): [True: 17.0k, False: 0]
  ------------------
 3543|  17.0k|    RI->mapDwarfRegsToLLVMRegs(X86DwarfFlavour2Dwarf2L, X86DwarfFlavour2Dwarf2LSize, false);
 3544|  17.0k|    break;
 3545|  17.0k|  }
 3546|  17.0k|  switch (EHFlavour) {
 3547|      0|  default:
  ------------------
  |  Branch (3547:3): [True: 0, False: 17.0k]
  ------------------
 3548|      0|    llvm_unreachable("Unknown DWARF flavour");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 3549|      0|  case 0:
  ------------------
  |  Branch (3549:3): [True: 0, False: 17.0k]
  ------------------
 3550|      0|    RI->mapDwarfRegsToLLVMRegs(X86EHFlavour0Dwarf2L, X86EHFlavour0Dwarf2LSize, true);
 3551|      0|    break;
 3552|      0|  case 1:
  ------------------
  |  Branch (3552:3): [True: 0, False: 17.0k]
  ------------------
 3553|      0|    RI->mapDwarfRegsToLLVMRegs(X86EHFlavour1Dwarf2L, X86EHFlavour1Dwarf2LSize, true);
 3554|      0|    break;
 3555|  17.0k|  case 2:
  ------------------
  |  Branch (3555:3): [True: 17.0k, False: 0]
  ------------------
 3556|  17.0k|    RI->mapDwarfRegsToLLVMRegs(X86EHFlavour2Dwarf2L, X86EHFlavour2Dwarf2LSize, true);
 3557|  17.0k|    break;
 3558|  17.0k|  }
 3559|  17.0k|  switch (DwarfFlavour) {
 3560|      0|  default:
  ------------------
  |  Branch (3560:3): [True: 0, False: 17.0k]
  ------------------
 3561|      0|    llvm_unreachable("Unknown DWARF flavour");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 3562|      0|  case 0:
  ------------------
  |  Branch (3562:3): [True: 0, False: 17.0k]
  ------------------
 3563|      0|    RI->mapLLVMRegsToDwarfRegs(X86DwarfFlavour0L2Dwarf, X86DwarfFlavour0L2DwarfSize, false);
 3564|      0|    break;
 3565|      0|  case 1:
  ------------------
  |  Branch (3565:3): [True: 0, False: 17.0k]
  ------------------
 3566|      0|    RI->mapLLVMRegsToDwarfRegs(X86DwarfFlavour1L2Dwarf, X86DwarfFlavour1L2DwarfSize, false);
 3567|      0|    break;
 3568|  17.0k|  case 2:
  ------------------
  |  Branch (3568:3): [True: 17.0k, False: 0]
  ------------------
 3569|  17.0k|    RI->mapLLVMRegsToDwarfRegs(X86DwarfFlavour2L2Dwarf, X86DwarfFlavour2L2DwarfSize, false);
 3570|  17.0k|    break;
 3571|  17.0k|  }
 3572|  17.0k|  switch (EHFlavour) {
 3573|      0|  default:
  ------------------
  |  Branch (3573:3): [True: 0, False: 17.0k]
  ------------------
 3574|      0|    llvm_unreachable("Unknown DWARF flavour");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 3575|      0|  case 0:
  ------------------
  |  Branch (3575:3): [True: 0, False: 17.0k]
  ------------------
 3576|      0|    RI->mapLLVMRegsToDwarfRegs(X86EHFlavour0L2Dwarf, X86EHFlavour0L2DwarfSize, true);
 3577|      0|    break;
 3578|      0|  case 1:
  ------------------
  |  Branch (3578:3): [True: 0, False: 17.0k]
  ------------------
 3579|      0|    RI->mapLLVMRegsToDwarfRegs(X86EHFlavour1L2Dwarf, X86EHFlavour1L2DwarfSize, true);
 3580|      0|    break;
 3581|  17.0k|  case 2:
  ------------------
  |  Branch (3581:3): [True: 17.0k, False: 0]
  ------------------
 3582|  17.0k|    RI->mapLLVMRegsToDwarfRegs(X86EHFlavour2L2Dwarf, X86EHFlavour2L2DwarfSize, true);
 3583|  17.0k|    break;
 3584|  17.0k|  }
 3585|  17.0k|}

X86MCTargetDesc.cpp:_ZN7llvm_ksL28createX86MCSubtargetInfoImplERKNS_6TripleENS_9StringRefES3_:
  282|  17.0k|static inline MCSubtargetInfo *createX86MCSubtargetInfoImpl(const Triple &TT, StringRef CPU, StringRef FS) {
  283|       |  return new MCSubtargetInfo(TT, CPU, FS, X86FeatureKV, X86SubTypeKV, NULL);
  284|  17.0k|}

LLVMFuzzerTestOneInput:
    8|  17.0k|int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
    9|  17.0k|    ks_engine *ks;
   10|  17.0k|    ks_err err;
   11|  17.0k|    size_t count;
   12|  17.0k|    unsigned char *encode = NULL;
   13|  17.0k|    size_t size;
   14|  17.0k|    char * assembler;
   15|       |
   16|  17.0k|    if (outfile == NULL) {
  ------------------
  |  Branch (16:9): [True: 1, False: 17.0k]
  ------------------
   17|       |        // we compute the output
   18|      1|        outfile = fopen("/dev/null", "w");
   19|      1|        if (outfile == NULL) {
  ------------------
  |  Branch (19:13): [True: 0, False: 1]
  ------------------
   20|      0|            printf("failed opening /dev/null\n");
   21|      0|            abort();
   22|      0|        }
   23|      1|    }
   24|       |
   25|  17.0k|    if (Size < 1) {
  ------------------
  |  Branch (25:9): [True: 0, False: 17.0k]
  ------------------
   26|      0|        return 0;
   27|      0|    }
   28|       |
   29|  17.0k|    err = ks_open(KS_ARCH_X86, KS_MODE_16, &ks);
   30|  17.0k|    if (err != KS_ERR_OK) {
  ------------------
  |  Branch (30:9): [True: 0, False: 17.0k]
  ------------------
   31|      0|        printf("ERROR: failed on ks_open(), quit error = %u\n", err);
   32|      0|        abort();
   33|      0|    }
   34|       |
   35|  17.0k|    ks_option(ks, KS_OPT_SYNTAX, Data[Size-1]);
   36|       |
   37|  17.0k|    assembler = malloc(Size);
   38|  17.0k|    memcpy(assembler, Data, Size-1);
   39|       |    //null terminate string
   40|  17.0k|    assembler[Size-1] = 0;
   41|       |
   42|  17.0k|    if (ks_asm(ks, assembler, 0, &encode, &size, &count) != KS_ERR_OK) {
  ------------------
  |  Branch (42:9): [True: 11.4k, False: 5.59k]
  ------------------
   43|  11.4k|        fprintf(outfile, "ERROR: ks_asm() failed & count = %lu, error = %u\n",
   44|  11.4k|                count, ks_errno(ks));
   45|  11.4k|    } else {
   46|  5.59k|        size_t i;
   47|       |
   48|  5.59k|        fprintf(outfile, "%s = ", assembler);
   49|   136M|        for (i = 0; i < size; i++) {
  ------------------
  |  Branch (49:21): [True: 136M, False: 5.59k]
  ------------------
   50|   136M|            fprintf(outfile, "%02x ", encode[i]);
   51|   136M|        }
   52|  5.59k|        fprintf(outfile, "\n");
   53|  5.59k|        fprintf(outfile, "Compiled: %lu bytes, statements: %lu\n", size, count);
   54|  5.59k|    }
   55|       |
   56|  17.0k|    free(assembler);
   57|       |    // NOTE: free encode after usage to avoid leaking memory
   58|  17.0k|    if (encode != NULL) {
  ------------------
  |  Branch (58:9): [True: 5.59k, False: 11.4k]
  ------------------
   59|  5.59k|        ks_free(encode);
   60|  5.59k|    }
   61|       |
   62|       |    // close Keystone instance when done
   63|  17.0k|    ks_close(ks);
   64|       |
   65|  17.0k|    return 0;
   66|  17.0k|}

