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

_ZN7llvm_ks5APIntC2EPmj:
   98|  1.13M|  APInt(uint64_t *val, unsigned bits) : BitWidth(bits), pVal(val) {}
_ZNK7llvm_ks5APInt12isSingleWordEv:
  103|  51.7M|  bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; }
_ZN7llvm_ks5APInt15clearUnusedBitsEv:
  136|  13.7M|  APInt &clearUnusedBits() {
  137|       |    // Compute how many bits are used in the final word
  138|  13.7M|    unsigned wordBits = BitWidth % APINT_BITS_PER_WORD;
  139|  13.7M|    if (wordBits == 0)
  ------------------
  |  Branch (139:9): [True: 13.4M, False: 326k]
  ------------------
  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|  13.4M|      return *this;
  144|       |
  145|       |    // Mask out the high bits.
  146|   326k|    uint64_t mask = ~uint64_t(0ULL) >> (APINT_BITS_PER_WORD - wordBits);
  147|   326k|    if (isSingleWord())
  ------------------
  |  Branch (147:9): [True: 4.09k, False: 322k]
  ------------------
  148|  4.09k|      VAL &= mask;
  149|   322k|    else
  150|   322k|      pVal[getNumWords() - 1] &= mask;
  151|   326k|    return *this;
  152|  13.7M|  }
_ZN7llvm_ks5APIntC2Ejmb:
  237|  12.2M|      : BitWidth(numBits), VAL(0) {
  238|  12.2M|    assert(BitWidth && "bitwidth too small");
  ------------------
  |  Branch (238:5): [True: 12.2M, False: 0]
  |  Branch (238:5): [True: 12.2M, Folded]
  |  Branch (238:5): [True: 12.2M, False: 0]
  ------------------
  239|  12.2M|    if (isSingleWord())
  ------------------
  |  Branch (239:9): [True: 11.9M, False: 376k]
  ------------------
  240|  11.9M|      VAL = val;
  241|   376k|    else
  242|   376k|      initSlowCase(numBits, val, isSigned);
  243|  12.2M|    clearUnusedBits();
  244|  12.2M|  }
_ZN7llvm_ks5APIntC2ERKS0_:
  279|  4.09M|  APInt(const APInt &that) : BitWidth(that.BitWidth), VAL(0) {
  280|  4.09M|    if (isSingleWord())
  ------------------
  |  Branch (280:9): [True: 3.38M, False: 708k]
  ------------------
  281|  3.38M|      VAL = that.VAL;
  282|   708k|    else
  283|   708k|      initSlowCase(that);
  284|  4.09M|  }
_ZN7llvm_ks5APIntC2EOS0_:
  287|  12.2M|  APInt(APInt &&that) : BitWidth(that.BitWidth), VAL(that.VAL) {
  288|  12.2M|    that.BitWidth = 0;
  289|  12.2M|  }
_ZN7llvm_ks5APIntD2Ev:
  292|  30.4M|  ~APInt() {
  293|  30.4M|    if (needsCleanup())
  ------------------
  |  Branch (293:9): [True: 1.05M, False: 29.3M]
  ------------------
  294|  1.05M|      delete[] pVal;
  295|  30.4M|  }
_ZN7llvm_ks5APIntC2Ev:
  302|   710k|  explicit APInt() : BitWidth(1), VAL(0) {}
_ZNK7llvm_ks5APInt12needsCleanupEv:
  305|  30.4M|  bool needsCleanup() const { return !isSingleWord(); }
_ZNK7llvm_ks5APInt6isIntNEj:
  373|   376k|  bool isIntN(unsigned N) const {
  374|   376k|    assert(N && "N == 0 ???");
  ------------------
  |  Branch (374:5): [True: 376k, False: 0]
  |  Branch (374:5): [True: 376k, Folded]
  |  Branch (374:5): [True: 376k, False: 0]
  ------------------
  375|   376k|    return getActiveBits() <= N;
  376|   376k|  }
_ZNK7llvm_ks5APInt15getLimitedValueEm:
  405|  4.09k|  uint64_t getLimitedValue(uint64_t Limit = ~0ULL) const {
  406|  4.09k|    return (getActiveBits() > 64 || getZExtValue() > Limit) ? Limit
  ------------------
  |  Branch (406:13): [True: 0, False: 4.09k]
  |  Branch (406:37): [True: 0, False: 4.09k]
  ------------------
  407|  4.09k|                                                            : getZExtValue();
  408|  4.09k|  }
_ZNK7llvm_ks5APInt10getRawDataEv:
  574|  6.17k|  const uint64_t *getRawData() const {
  575|  6.17k|    if (isSingleWord())
  ------------------
  |  Branch (575:9): [True: 373, False: 5.80k]
  ------------------
  576|    373|      return &VAL;
  577|  5.80k|    return &pVal[0];
  578|  6.17k|  }
_ZN7llvm_ks5APIntaSERKS0_:
  652|  15.5k|  APInt &operator=(const APInt &RHS) {
  653|       |    // If the bitwidths are the same, we can avoid mucking with memory
  654|  15.5k|    if (isSingleWord() && RHS.isSingleWord()) {
  ------------------
  |  Branch (654:9): [True: 14.9k, False: 596]
  |  Branch (654:27): [True: 13.7k, False: 1.14k]
  ------------------
  655|  13.7k|      VAL = RHS.VAL;
  656|  13.7k|      BitWidth = RHS.BitWidth;
  657|  13.7k|      return clearUnusedBits();
  658|  13.7k|    }
  659|       |
  660|  1.74k|    return AssignSlowCase(RHS);
  661|  15.5k|  }
_ZN7llvm_ks5APIntaSEOS0_:
  664|  1.16M|  APInt &operator=(APInt &&that) {
  665|  1.16M|    if (!isSingleWord()) {
  ------------------
  |  Branch (665:9): [True: 1.16M, False: 0]
  ------------------
  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.16M|      if (this == &that)
  ------------------
  |  Branch (669:11): [True: 0, False: 1.16M]
  ------------------
  670|      0|        return *this;
  671|  1.16M|      delete[] pVal;
  672|  1.16M|    }
  673|       |
  674|       |    // Use memcpy so that type based alias analysis sees both VAL and pVal
  675|       |    // as modified.
  676|  1.16M|    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.16M|    unsigned ThatBitWidth = that.BitWidth;
  681|  1.16M|    that.BitWidth = 0;
  682|  1.16M|    BitWidth = ThatBitWidth;
  683|       |
  684|  1.16M|    return *this;
  685|  1.16M|  }
_ZN7llvm_ks5APIntoREm:
  717|  1.13M|  APInt &operator|=(uint64_t RHS) {
  718|  1.13M|    if (isSingleWord()) {
  ------------------
  |  Branch (718:9): [True: 0, False: 1.13M]
  ------------------
  719|      0|      VAL |= RHS;
  720|      0|      clearUnusedBits();
  721|  1.13M|    } else {
  722|  1.13M|      pVal[0] |= RHS;
  723|  1.13M|    }
  724|  1.13M|    return *this;
  725|  1.13M|  }
_ZN7llvm_ks5APIntlSEj:
  761|  1.13M|  APInt &operator<<=(unsigned shiftAmt) {
  762|  1.13M|    *this = shl(shiftAmt);
  763|  1.13M|    return *this;
  764|  1.13M|  }
_ZNK7llvm_ks5APInt3shlEj:
  869|  1.13M|  APInt LLVM_ATTRIBUTE_UNUSED_RESULT shl(unsigned shiftAmt) const {
  870|  1.13M|    assert(shiftAmt <= BitWidth && "Invalid shift amount");
  ------------------
  |  Branch (870:5): [True: 1.13M, False: 0]
  |  Branch (870:5): [True: 1.13M, Folded]
  |  Branch (870:5): [True: 1.13M, False: 0]
  ------------------
  871|  1.13M|    if (isSingleWord()) {
  ------------------
  |  Branch (871:9): [True: 0, False: 1.13M]
  ------------------
  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.13M|    return shlSlowCase(shiftAmt);
  877|  1.13M|  }
_ZNK7llvm_ks5APInt11getBitWidthEv:
 1274|   704k|  unsigned getBitWidth() const { return BitWidth; }
_ZNK7llvm_ks5APInt11getNumWordsEv:
 1281|  14.7M|  unsigned getNumWords() const { return getNumWords(BitWidth); }
_ZN7llvm_ks5APInt11getNumWordsEj:
 1289|  14.7M|  static unsigned getNumWords(unsigned BitWidth) {
 1290|  14.7M|    return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD;
 1291|  14.7M|  }
_ZNK7llvm_ks5APInt13getActiveBitsEv:
 1298|   529k|  unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); }
_ZNK7llvm_ks5APInt12getZExtValueEv:
 1328|   203k|  uint64_t getZExtValue() const {
 1329|   203k|    if (isSingleWord())
  ------------------
  |  Branch (1329:9): [True: 54.6k, False: 149k]
  ------------------
 1330|  54.6k|      return VAL;
 1331|   203k|    assert(getActiveBits() <= 64 && "Too many bits for uint64_t");
  ------------------
  |  Branch (1331:5): [True: 149k, False: 0]
  |  Branch (1331:5): [True: 149k, Folded]
  |  Branch (1331:5): [True: 149k, False: 0]
  ------------------
 1332|   149k|    return pVal[0];
 1333|   149k|  }
_ZNK7llvm_ks5APInt17countLeadingZerosEv:
 1362|   529k|  unsigned countLeadingZeros() const {
 1363|   529k|    if (isSingleWord()) {
  ------------------
  |  Branch (1363:9): [True: 31.9k, False: 497k]
  ------------------
 1364|  31.9k|      unsigned unusedBits = APINT_BITS_PER_WORD - BitWidth;
 1365|  31.9k|      return llvm_ks::countLeadingZeros(VAL) - unusedBits;
 1366|  31.9k|    }
 1367|   497k|    return countLeadingZerosSlowCase();
 1368|   529k|  }
_ZN7llvm_ks8APIntOps4lshrERKNS_5APIntEj:
 1841|    584|inline APInt lshr(const APInt &LHS, unsigned shiftAmt) {
 1842|    584|  return LHS.lshr(shiftAmt);
 1843|    584|}
_ZN7llvm_ks8APIntOps3shlERKNS_5APIntEj:
 1848|    292|inline APInt shl(const APInt &LHS, unsigned shiftAmt) {
 1849|    292|  return LHS.shl(shiftAmt);
 1850|    292|}

_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE5beginEv:
  123|  50.6k|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE3endEv:
  124|  63.3k|    iterator end() const { return Data + Length; }
_ZN7llvm_ks8ArrayRefINS_7SMRangeEEC2ENS_8NoneTypeE:
   54|  29.2k|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINS_7SMFixItEEC2ENS_8NoneTypeE:
   54|  30.1k|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINSt3__14pairIjjEEEC2INS1_9allocatorIS3_EEEERKNS1_6vectorIS3_T_EE:
   79|    876|      : Data(Vec.data()), Length(Vec.size()) {}
_ZN7llvm_ks15MutableArrayRefINS_8AsmTokenEEC2ERS1_:
  233|  6.98k|    /*implicit*/ MutableArrayRef(T &OneElt) : ArrayRef<T>(OneElt) {}
_ZN7llvm_ks8ArrayRefINS_8AsmTokenEEC2ERKS1_:
   58|  6.98k|      : Data(&OneElt), Length(1) {}
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE4sizeEv:
  135|  7.60M|    size_t size() const { return Length; }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE4backEv:
  144|  25.7k|    const T &back() const {
  145|  25.7k|      assert(!empty());
  ------------------
  |  Branch (145:7): [True: 25.7k, False: 0]
  ------------------
  146|  25.7k|      return Data[Length-1];
  147|  25.7k|    }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE5emptyEv:
  130|  25.7k|    bool empty() const { return Length == 0; }
_ZNK7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEE4sizeEv:
  135|  32.2k|    size_t size() const { return Length; }
_ZNK7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEixEm:
  185|  2.88k|    const T &operator[](size_t Index) const {
  186|  2.88k|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 2.88k, False: 0]
  |  Branch (186:7): [True: 2.88k, Folded]
  |  Branch (186:7): [True: 2.88k, False: 0]
  ------------------
  187|  2.88k|      return Data[Index];
  188|  2.88k|    }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEixEm:
  185|  22.3k|    const T &operator[](size_t Index) const {
  186|  22.3k|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 22.3k, False: 0]
  |  Branch (186:7): [True: 22.3k, Folded]
  |  Branch (186:7): [True: 22.3k, False: 0]
  ------------------
  187|  22.3k|      return Data[Index];
  188|  22.3k|    }
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2INSt3__19allocatorIS2_EEEERKNS5_6vectorIS2_T_EE:
   79|  21.7k|      : Data(Vec.data()), Length(Vec.size()) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2INS4_IS6_EEEERKNS2_IS6_T_EE:
   79|  21.1k|      : Data(Vec.data()), Length(Vec.size()) {}
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2ENS_8NoneTypeE:
   54|  7.55M|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2ENS_8NoneTypeE:
   54|  7.55M|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2ERKS2_:
   58|  23.9k|      : Data(&OneElt), Length(1) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2ERKS6_:
   58|  23.9k|      : Data(&OneElt), Length(1) {}
_ZN7llvm_ks8ArrayRefINS_7SMRangeEEC2ERKS1_:
   58|     28|      : Data(&OneElt), Length(1) {}
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE5emptyEv:
  130|  23.5k|    bool empty() const { return Length == 0; }
_ZN7llvm_ks8ArrayRefINS_7SMFixItEEC2IvEERKNS_25SmallVectorTemplateCommonIS1_T_EE:
   73|  23.5k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  23.5k|    }
_ZNK7llvm_ks8ArrayRefINS_7SMRangeEE4sizeEv:
  135|  26.4k|    size_t size() const { return Length; }
_ZNK7llvm_ks8ArrayRefINS_7SMRangeEEixEm:
  185|     28|    const T &operator[](size_t Index) const {
  186|     28|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 28, False: 0]
  |  Branch (186:7): [True: 28, Folded]
  |  Branch (186:7): [True: 28, False: 0]
  ------------------
  187|     28|      return Data[Index];
  188|     28|    }
_ZN7llvm_ks8ArrayRefINSt3__14pairIjjEEEC2IvEERKNS_25SmallVectorTemplateCommonIS3_T_EE:
   73|  29.2k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  29.2k|    }
_ZNK7llvm_ks8ArrayRefINSt3__14pairIjjEEE3vecEv:
  193|  30.1k|    std::vector<T> vec() const {
  194|  30.1k|      return std::vector<T>(Data, Data+Length);
  195|  30.1k|    }
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE5beginEv:
  123|  30.1k|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE3endEv:
  124|  30.1k|    iterator end() const { return Data + Length; }
_ZN7llvm_ks12makeArrayRefIcEENS_8ArrayRefIT_EEPKS2_m:
  313|  23.5k|  ArrayRef<T> makeArrayRef(const T *data, size_t length) {
  314|  23.5k|    return ArrayRef<T>(data, length);
  315|  23.5k|  }
_ZN7llvm_ks8ArrayRefIcEC2EPKcm:
   62|  23.5k|      : Data(data), Length(length) {}
_ZNK7llvm_ks8ArrayRefIcE4sizeEv:
  135|  8.78k|    size_t size() const { return Length; }
_ZN7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEEC2ILm7EEERAT__KS1_:
   84|  12.6k|      : Data(Arr), Length(N) {}
_ZN7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEEC2ILm17EEERAT__KS1_:
   84|  12.6k|      : Data(Arr), Length(N) {}
_ZN7llvm_ks8ArrayRefINS_7MCFixupEEC2Ev:
   51|  6.99k|    /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks15MutableArrayRefIcEC2Ev:
  227|  6.99k|    /*implicit*/ MutableArrayRef() : ArrayRef<T>() {}
_ZN7llvm_ks8ArrayRefIcEC2Ev:
   51|  6.99k|    /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINS_7MCFixupEEC2IvEERKNS_25SmallVectorTemplateCommonIS1_T_EE:
   73|  6.99k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  6.99k|    }
_ZN7llvm_ks15MutableArrayRefIcEC2ERNS_15SmallVectorImplIcEE:
  244|  6.99k|    : ArrayRef<T>(Vec) {}
_ZN7llvm_ks8ArrayRefIcEC2IvEERKNS_25SmallVectorTemplateCommonIcT_EE:
   73|  6.99k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  6.99k|    }
_ZNK7llvm_ks8ArrayRefINS_7MCFixupEE5beginEv:
  123|  6.99k|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_7MCFixupEE3endEv:
  124|  6.99k|    iterator end() const { return Data + Length; }
_ZNK7llvm_ks15MutableArrayRefIcE4dataEv:
  255|  8.78k|    T *data() const { return const_cast<T*>(ArrayRef<T>::data()); }
_ZNK7llvm_ks8ArrayRefIcE4dataEv:
  132|  8.78k|    const T *data() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_8AsmTokenEE4sizeEv:
  135|  20.9k|    size_t size() const { return Length; }
_ZNK7llvm_ks15MutableArrayRefINS_8AsmTokenEEixEm:
  296|  6.98k|    T &operator[](size_t Index) const {
  297|  6.98k|      assert(Index < this->size() && "Invalid index!");
  ------------------
  |  Branch (297:7): [True: 6.98k, False: 0]
  |  Branch (297:7): [True: 6.98k, Folded]
  |  Branch (297:7): [True: 6.98k, False: 0]
  ------------------
  298|  6.98k|      return data()[Index];
  299|  6.98k|    }
_ZNK7llvm_ks15MutableArrayRefINS_8AsmTokenEE4dataEv:
  255|  6.98k|    T *data() const { return const_cast<T*>(ArrayRef<T>::data()); }
_ZNK7llvm_ks8ArrayRefINS_8AsmTokenEE4dataEv:
  132|  6.98k|    const T *data() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE5emptyEv:
  130|  25.3k|    bool empty() const { return Length == 0; }

_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEED2Ev:
  573|  12.6k|  ~DenseMap() {
  574|  12.6k|    this->destroyAll();
  575|  12.6k|    operator delete(Buckets);
  576|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E10destroyAllEv:
  264|  12.6k|  void destroyAll() {
  265|  12.6k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 12.6k, False: 0]
  ------------------
  266|  12.6k|      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_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E13getNumBucketsEv:
  381|  12.6k|  unsigned getNumBuckets() const {
  382|  12.6k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  12.6k|  }
_ZNK7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE13getNumBucketsEv:
  674|  12.6k|  unsigned getNumBuckets() const {
  675|  12.6k|    return NumBuckets;
  676|  12.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEES3_jS5_S8_E13getNumBucketsEv:
  381|     70|  unsigned getNumBuckets() const {
  382|     70|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|     70|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEE13getNumBucketsEv:
  674|     70|  unsigned getNumBuckets() const {
  675|     70|    return NumBuckets;
  676|     70|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEE15allocateBucketsEj:
  678|     70|  bool allocateBuckets(unsigned Num) {
  679|     70|    NumBuckets = Num;
  680|     70|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 70, False: 0]
  ------------------
  681|     70|      Buckets = nullptr;
  682|     70|      return false;
  683|     70|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|     70|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getNumBucketsEv:
  381|  18.5k|  unsigned getNumBuckets() const {
  382|  18.5k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  18.5k|  }
_ZNK7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13getNumBucketsEv:
  674|  18.5k|  unsigned getNumBuckets() const {
  675|  18.5k|    return NumBuckets;
  676|  18.5k|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEE4initEj:
  612|     70|  void init(unsigned InitBuckets) {
  613|     70|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 70]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|     70|    } else {
  616|     70|      NumEntries = 0;
  617|     70|      NumTombstones = 0;
  618|     70|    }
  619|     70|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEES3_jS5_S8_E10destroyAllEv:
  264|     70|  void destroyAll() {
  265|     70|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 70, False: 0]
  ------------------
  266|     70|      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|  12.6k|  unsigned getNumBuckets() const {
  382|  12.6k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  12.6k|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE13getNumBucketsEv:
  674|  12.6k|  unsigned getNumBuckets() const {
  675|  12.6k|    return NumBuckets;
  676|  12.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E13getNumEntriesEv:
  351|  12.6k|  unsigned getNumEntries() const {
  352|  12.6k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  12.6k|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE13getNumEntriesEv:
  656|  12.6k|  unsigned getNumEntries() const {
  657|  12.6k|    return NumEntries;
  658|  12.6k|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE15allocateBucketsEj:
  678|  12.6k|  bool allocateBuckets(unsigned Num) {
  679|  12.6k|    NumBuckets = Num;
  680|  12.6k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 12.6k, False: 0]
  ------------------
  681|  12.6k|      Buckets = nullptr;
  682|  12.6k|      return false;
  683|  12.6k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  12.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E16getNumTombstonesEv:
  363|  12.6k|  unsigned getNumTombstones() const {
  364|  12.6k|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|  12.6k|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE16getNumTombstonesEv:
  663|  12.6k|  unsigned getNumTombstones() const {
  664|  12.6k|    return NumTombstones;
  665|  12.6k|  }
_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE15allocateBucketsEj:
  678|  12.6k|  bool allocateBuckets(unsigned Num) {
  679|  12.6k|    NumBuckets = Num;
  680|  12.6k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 12.6k, False: 0]
  ------------------
  681|  12.6k|      Buckets = nullptr;
  682|  12.6k|      return false;
  683|  12.6k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  12.6k|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEED2Ev:
  573|  12.6k|  ~DenseMap() {
  574|  12.6k|    this->destroyAll();
  575|  12.6k|    operator delete(Buckets);
  576|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E10destroyAllEv:
  264|  12.6k|  void destroyAll() {
  265|  12.6k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 12.6k, False: 0]
  ------------------
  266|  12.6k|      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|     70|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|     70|    init(NumInitBuckets);
  555|     70|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEES3_jS5_S8_EC2Ev:
  262|     70|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEED2Ev:
  573|     70|  ~DenseMap() {
  574|     70|    this->destroyAll();
  575|     70|    operator delete(Buckets);
  576|     70|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEEC2Ej:
  553|  12.6k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  12.6k|    init(NumInitBuckets);
  555|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EC2Ev:
  262|  12.6k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4initEj:
  612|  12.6k|  void init(unsigned InitBuckets) {
  613|  12.6k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 12.6k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  12.6k|    } else {
  616|  12.6k|      NumEntries = 0;
  617|  12.6k|      NumTombstones = 0;
  618|  12.6k|    }
  619|  12.6k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE15allocateBucketsEj:
  678|  25.3k|  bool allocateBuckets(unsigned Num) {
  679|  25.3k|    NumBuckets = Num;
  680|  25.3k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 12.6k, False: 12.6k]
  ------------------
  681|  12.6k|      Buckets = nullptr;
  682|  12.6k|      return false;
  683|  12.6k|    }
  684|       |
  685|  12.6k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  12.6k|    return true;
  687|  25.3k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E9initEmptyEv:
  277|  12.6k|  void initEmpty() {
  278|  12.6k|    setNumEntries(0);
  279|  12.6k|    setNumTombstones(0);
  280|       |
  281|  12.6k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 12.6k, False: 0]
  |  Branch (281:5): [True: 12.6k, Folded]
  |  Branch (281:5): [True: 12.6k, False: 0]
  ------------------
  282|  12.6k|           "# initial buckets must be a power of two!");
  283|  12.6k|    const KeyT EmptyKey = getEmptyKey();
  284|   823k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 810k, False: 12.6k]
  ------------------
  285|   810k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13setNumEntriesEj:
  354|  38.2k|  void setNumEntries(unsigned Num) {
  355|  38.2k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  38.2k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13setNumEntriesEj:
  659|  38.2k|  void setNumEntries(unsigned Num) {
  660|  38.2k|    NumEntries = Num;
  661|  38.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16setNumTombstonesEj:
  366|  25.3k|  void setNumTombstones(unsigned Num) {
  367|  25.3k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  25.3k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16setNumTombstonesEj:
  666|  25.3k|  void setNumTombstones(unsigned Num) {
  667|  25.3k|    NumTombstones = Num;
  668|  25.3k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumBucketsEv:
  381|   152k|  unsigned getNumBuckets() const {
  382|   152k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|   152k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumBucketsEv:
  674|   152k|  unsigned getNumBuckets() const {
  675|   152k|    return NumBuckets;
  676|   152k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E11getEmptyKeyEv:
  343|  63.8k|  static const KeyT getEmptyKey() {
  344|  63.8k|    return KeyInfoT::getEmptyKey();
  345|  63.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  378|  76.0k|  BucketT *getBuckets() {
  379|  76.0k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  76.0k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE10getBucketsEv:
  670|   101k|  BucketT *getBuckets() const {
  671|   101k|    return Buckets;
  672|   101k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getBucketsEndEv:
  384|  38.0k|  BucketT *getBucketsEnd() {
  385|  38.0k|    return getBuckets() + getNumBuckets();
  386|  38.0k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEPNS_11MCSymbolELFEE8getFirstEv:
   40|  3.29M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEEC2Ej:
  553|  12.6k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  12.6k|    init(NumInitBuckets);
  555|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EC2Ev:
  262|  12.6k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4initEj:
  612|  12.6k|  void init(unsigned InitBuckets) {
  613|  12.6k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 12.6k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  12.6k|    } else {
  616|  12.6k|      NumEntries = 0;
  617|  12.6k|      NumTombstones = 0;
  618|  12.6k|    }
  619|  12.6k|  }
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE15allocateBucketsEj:
  678|  12.6k|  bool allocateBuckets(unsigned Num) {
  679|  12.6k|    NumBuckets = Num;
  680|  12.6k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 12.6k, False: 0]
  ------------------
  681|  12.6k|      Buckets = nullptr;
  682|  12.6k|      return false;
  683|  12.6k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  12.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumBucketsEv:
  381|  12.6k|  unsigned getNumBuckets() const {
  382|  12.6k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  12.6k|  }
_ZNK7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumBucketsEv:
  674|  12.6k|  unsigned getNumBuckets() const {
  675|  12.6k|    return NumBuckets;
  676|  12.6k|  }
_ZN7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEEC2Ej:
  553|  12.6k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  12.6k|    init(NumInitBuckets);
  555|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_EC2Ev:
  262|  12.6k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE4initEj:
  612|  12.6k|  void init(unsigned InitBuckets) {
  613|  12.6k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 12.6k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  12.6k|    } else {
  616|  12.6k|      NumEntries = 0;
  617|  12.6k|      NumTombstones = 0;
  618|  12.6k|    }
  619|  12.6k|  }
_ZN7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE15allocateBucketsEj:
  678|  12.6k|  bool allocateBuckets(unsigned Num) {
  679|  12.6k|    NumBuckets = Num;
  680|  12.6k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 12.6k, False: 0]
  ------------------
  681|  12.6k|      Buckets = nullptr;
  682|  12.6k|      return false;
  683|  12.6k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  12.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E13getNumBucketsEv:
  381|  12.6k|  unsigned getNumBuckets() const {
  382|  12.6k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  12.6k|  }
_ZNK7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE13getNumBucketsEv:
  674|  12.6k|  unsigned getNumBuckets() const {
  675|  12.6k|    return NumBuckets;
  676|  12.6k|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEEC2Ej:
  553|  12.6k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  12.6k|    init(NumInitBuckets);
  555|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_EC2Ev:
  262|  12.6k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE4initEj:
  612|  12.6k|  void init(unsigned InitBuckets) {
  613|  12.6k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 12.6k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  12.6k|    } else {
  616|  12.6k|      NumEntries = 0;
  617|  12.6k|      NumTombstones = 0;
  618|  12.6k|    }
  619|  12.6k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEED2Ev:
  573|  12.6k|  ~DenseMap() {
  574|  12.6k|    this->destroyAll();
  575|  12.6k|    operator delete(Buckets);
  576|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10destroyAllEv:
  264|  12.6k|  void destroyAll() {
  265|  12.6k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 0, False: 12.6k]
  ------------------
  266|      0|      return;
  267|       |
  268|  12.6k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   823k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 810k, False: 12.6k]
  ------------------
  270|   810k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 0, False: 810k]
  ------------------
  271|      0|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 0, False: 0]
  ------------------
  272|      0|        P->getSecond().~ValueT();
  273|   810k|      P->getFirst().~KeyT();
  274|   810k|    }
  275|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15getTombstoneKeyEv:
  346|  38.2k|  static const KeyT getTombstoneKey() {
  347|  38.2k|    return KeyInfoT::getTombstoneKey();
  348|  38.2k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEPNS_11MCSymbolELFEE9getSecondEv:
   42|  25.8k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEED2Ev:
  573|  12.6k|  ~DenseMap() {
  574|  12.6k|    this->destroyAll();
  575|  12.6k|    operator delete(Buckets);
  576|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10destroyAllEv:
  264|  12.6k|  void destroyAll() {
  265|  12.6k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 12.6k, False: 0]
  ------------------
  266|  12.6k|      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|  12.6k|  ~DenseMap() {
  574|  12.6k|    this->destroyAll();
  575|  12.6k|    operator delete(Buckets);
  576|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E10destroyAllEv:
  264|  12.6k|  void destroyAll() {
  265|  12.6k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 12.6k, False: 0]
  ------------------
  266|  12.6k|      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|  12.6k|  void clear() {
   92|  12.6k|    incrementEpoch();
   93|  12.6k|    if (getNumEntries() == 0 && getNumTombstones() == 0) return;
  ------------------
  |  Branch (93:9): [True: 0, False: 12.6k]
  |  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|  12.6k|    if (getNumEntries() * 4 < getNumBuckets() && getNumBuckets() > 64) {
  ------------------
  |  Branch (97:9): [True: 12.6k, False: 0]
  |  Branch (97:50): [True: 0, False: 12.6k]
  ------------------
   98|      0|      shrink_and_clear();
   99|      0|      return;
  100|      0|    }
  101|       |
  102|  12.6k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  103|  12.6k|    unsigned NumEntries = getNumEntries();
  104|   823k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (104:59): [True: 810k, False: 12.6k]
  ------------------
  105|   810k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) {
  ------------------
  |  Branch (105:11): [True: 12.9k, False: 797k]
  ------------------
  106|  12.9k|        if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) {
  ------------------
  |  Branch (106:13): [True: 12.9k, False: 0]
  ------------------
  107|  12.9k|          P->getSecond().~ValueT();
  108|  12.9k|          --NumEntries;
  109|  12.9k|        }
  110|  12.9k|        P->getFirst() = EmptyKey;
  111|  12.9k|      }
  112|   810k|    }
  113|  12.6k|    assert(NumEntries == 0 && "Node count imbalance!");
  ------------------
  |  Branch (113:5): [True: 12.6k, False: 0]
  |  Branch (113:5): [True: 12.6k, Folded]
  |  Branch (113:5): [True: 12.6k, False: 0]
  ------------------
  114|  12.6k|    setNumEntries(0);
  115|  12.6k|    setNumTombstones(0);
  116|  12.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumEntriesEv:
  351|  63.8k|  unsigned getNumEntries() const {
  352|  63.8k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  63.8k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumEntriesEv:
  656|  63.8k|  unsigned getNumEntries() const {
  657|  63.8k|    return NumEntries;
  658|  63.8k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16getNumTombstonesEv:
  363|    270|  unsigned getNumTombstones() const {
  364|    270|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    270|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16getNumTombstonesEv:
  663|    270|  unsigned getNumTombstones() const {
  664|    270|    return NumTombstones;
  665|    270|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E5clearEv:
   91|  12.6k|  void clear() {
   92|  12.6k|    incrementEpoch();
   93|  12.6k|    if (getNumEntries() == 0 && getNumTombstones() == 0) return;
  ------------------
  |  Branch (93:9): [True: 12.6k, False: 0]
  |  Branch (93:33): [True: 12.6k, 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|  13.4k|  unsigned getNumEntries() const {
  352|  13.4k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  13.4k|  }
_ZNK7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE13getNumEntriesEv:
  656|  13.4k|  unsigned getNumEntries() const {
  657|  13.4k|    return NumEntries;
  658|  13.4k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E16getNumTombstonesEv:
  363|  12.6k|  unsigned getNumTombstones() const {
  364|  12.6k|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|  12.6k|  }
_ZNK7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE16getNumTombstonesEv:
  663|  12.6k|  unsigned getNumTombstones() const {
  664|  12.6k|    return NumTombstones;
  665|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E5clearEv:
   91|  12.6k|  void clear() {
   92|  12.6k|    incrementEpoch();
   93|  12.6k|    if (getNumEntries() == 0 && getNumTombstones() == 0) return;
  ------------------
  |  Branch (93:9): [True: 12.6k, False: 0]
  |  Branch (93:33): [True: 12.6k, 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|  12.9k|  ValueT &operator[](KeyT &&Key) {
  246|  12.9k|    return FindAndConstruct(std::move(Key)).second;
  247|  12.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16FindAndConstructEOS4_:
  237|  12.9k|  value_type& FindAndConstruct(KeyT &&Key) {
  238|  12.9k|    BucketT *TheBucket;
  239|  12.9k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 0, False: 12.9k]
  ------------------
  240|      0|      return *TheBucket;
  241|       |
  242|  12.9k|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|  12.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPSB_:
  519|  25.6k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  25.6k|    const BucketT *ConstFoundBucket;
  521|  25.6k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  25.6k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  25.6k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  25.6k|    return Result;
  525|  25.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPKSB_:
  469|  25.6k|                       const BucketT *&FoundBucket) const {
  470|  25.6k|    const BucketT *BucketsPtr = getBuckets();
  471|  25.6k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  25.6k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 12.6k, False: 12.9k]
  ------------------
  474|  12.6k|      FoundBucket = nullptr;
  475|  12.6k|      return false;
  476|  12.6k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  12.9k|    const BucketT *FoundTombstone = nullptr;
  480|  12.9k|    const KeyT EmptyKey = getEmptyKey();
  481|  12.9k|    const KeyT TombstoneKey = getTombstoneKey();
  482|  12.9k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 12.9k, False: 0]
  |  Branch (482:5): [True: 12.9k, False: 0]
  |  Branch (482:5): [True: 12.9k, Folded]
  |  Branch (482:5): [True: 12.9k, False: 0]
  ------------------
  483|  12.9k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  12.9k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  12.9k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  12.9k|    unsigned ProbeAmt = 1;
  488|  12.9k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 12.9k, Folded]
  ------------------
  489|  12.9k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  12.9k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|  12.9k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 0, False: 12.9k]
  |  |  ------------------
  ------------------
  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|  12.9k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|  12.9k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 12.9k, False: 4]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  12.9k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 12.9k]
  ------------------
  502|  12.9k|        return false;
  503|  12.9k|      }
  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|      4|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 4]
  ------------------
  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|      4|      BucketNo += ProbeAmt++;
  514|      4|      BucketNo &= (NumBuckets-1);
  515|      4|    }
  516|  12.9k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  375|  25.6k|  const BucketT *getBuckets() const {
  376|  25.6k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  25.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E12getHashValueERKS4_:
  336|  12.9k|  static unsigned getHashValue(const KeyT &Val) {
  337|  12.9k|    return KeyInfoT::getHashValue(Val);
  338|  12.9k|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEPNS_11MCSymbolELFEE8getFirstEv:
   41|  25.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|  12.9k|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|  12.9k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|  12.9k|    TheBucket->getFirst() = std::move(Key);
  422|  12.9k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|  12.9k|    return TheBucket;
  424|  12.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E20InsertIntoBucketImplERKS4_PSB_:
  426|  12.9k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  12.9k|    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|  12.9k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  12.9k|    unsigned NumBuckets = getNumBuckets();
  440|  12.9k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|  12.9k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 12.6k, False: 270]
  |  |  ------------------
  ------------------
  441|  12.6k|      this->grow(NumBuckets * 2);
  442|  12.6k|      LookupBucketFor(Key, TheBucket);
  443|  12.6k|      NumBuckets = getNumBuckets();
  444|  12.6k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|    270|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 270]
  |  |  ------------------
  ------------------
  445|    270|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  12.9k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 12.9k, 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|  12.9k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  12.9k|    const KeyT EmptyKey = getEmptyKey();
  457|  12.9k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 12.9k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  12.9k|    return TheBucket;
  461|  12.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E4growEj:
  391|  12.6k|  void grow(unsigned AtLeast) {
  392|  12.6k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  12.6k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4growEj:
  621|  12.6k|  void grow(unsigned AtLeast) {
  622|  12.6k|    unsigned OldNumBuckets = NumBuckets;
  623|  12.6k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  12.6k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  12.6k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 12.6k, False: 0]
  ------------------
  627|  12.6k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 12.6k, False: 0]
  ------------------
  628|  12.6k|      this->BaseT::initEmpty();
  629|  12.6k|      return;
  630|  12.6k|    }
  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|  12.9k|  void incrementNumEntries() {
  358|  12.9k|    setNumEntries(getNumEntries() + 1);
  359|  12.9k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E4sizeEv:
   82|    732|  unsigned size() const { return getNumEntries(); }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEEC2Ej:
  553|  6.46k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  6.46k|    init(NumInitBuckets);
  555|  6.46k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EC2Ev:
  262|  6.46k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4initEj:
  612|  6.46k|  void init(unsigned InitBuckets) {
  613|  6.46k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 6.46k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  6.46k|    } else {
  616|  6.46k|      NumEntries = 0;
  617|  6.46k|      NumTombstones = 0;
  618|  6.46k|    }
  619|  6.46k|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE15allocateBucketsEj:
  678|  12.9k|  bool allocateBuckets(unsigned Num) {
  679|  12.9k|    NumBuckets = Num;
  680|  12.9k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 6.46k, False: 6.46k]
  ------------------
  681|  6.46k|      Buckets = nullptr;
  682|  6.46k|      return false;
  683|  6.46k|    }
  684|       |
  685|  6.46k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  6.46k|    return true;
  687|  12.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E9initEmptyEv:
  277|  6.46k|  void initEmpty() {
  278|  6.46k|    setNumEntries(0);
  279|  6.46k|    setNumTombstones(0);
  280|       |
  281|  6.46k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 6.46k, False: 0]
  |  Branch (281:5): [True: 6.46k, Folded]
  |  Branch (281:5): [True: 6.46k, False: 0]
  ------------------
  282|  6.46k|           "# initial buckets must be a power of two!");
  283|  6.46k|    const KeyT EmptyKey = getEmptyKey();
  284|   420k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 413k, False: 6.46k]
  ------------------
  285|   413k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  6.46k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13setNumEntriesEj:
  354|  13.1k|  void setNumEntries(unsigned Num) {
  355|  13.1k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  13.1k|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13setNumEntriesEj:
  659|  13.1k|  void setNumEntries(unsigned Num) {
  660|  13.1k|    NumEntries = Num;
  661|  13.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16setNumTombstonesEj:
  366|  6.46k|  void setNumTombstones(unsigned Num) {
  367|  6.46k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  6.46k|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16setNumTombstonesEj:
  666|  6.46k|  void setNumTombstones(unsigned Num) {
  667|  6.46k|    NumTombstones = Num;
  668|  6.46k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumBucketsEv:
  381|   221k|  unsigned getNumBuckets() const {
  382|   221k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|   221k|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumBucketsEv:
  674|   221k|  unsigned getNumBuckets() const {
  675|   221k|    return NumBuckets;
  676|   221k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E11getEmptyKeyEv:
  343|   189k|  static const KeyT getEmptyKey() {
  344|   189k|    return KeyInfoT::getEmptyKey();
  345|   189k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  378|  25.8k|  BucketT *getBuckets() {
  379|  25.8k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  25.8k|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE10getBucketsEv:
  670|   202k|  BucketT *getBuckets() const {
  671|   202k|    return Buckets;
  672|   202k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getBucketsEndEv:
  384|  12.9k|  BucketT *getBucketsEnd() {
  385|  12.9k|    return getBuckets() + getNumBuckets();
  386|  12.9k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE8getFirstEv:
   40|  1.26M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEED2Ev:
  573|  6.46k|  ~DenseMap() {
  574|  6.46k|    this->destroyAll();
  575|  6.46k|    operator delete(Buckets);
  576|  6.46k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10destroyAllEv:
  264|  6.46k|  void destroyAll() {
  265|  6.46k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 0, False: 6.46k]
  ------------------
  266|      0|      return;
  267|       |
  268|  6.46k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   420k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 413k, False: 6.46k]
  ------------------
  270|   413k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 6.63k, False: 406k]
  ------------------
  271|  6.63k|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 6.63k, False: 0]
  ------------------
  272|  6.63k|        P->getSecond().~ValueT();
  273|   413k|      P->getFirst().~KeyT();
  274|   413k|    }
  275|  6.46k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15getTombstoneKeyEv:
  346|   176k|  static const KeyT getTombstoneKey() {
  347|   176k|    return KeyInfoT::getTombstoneKey();
  348|   176k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE9getSecondEv:
   42|  13.2k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E6lookupERKS4_:
  159|   107k|  ValueT lookup(const KeyT &Val) const {
  160|   107k|    const BucketT *TheBucket;
  161|   107k|    if (LookupBucketFor(Val, TheBucket))
  ------------------
  |  Branch (161:9): [True: 107k, False: 0]
  ------------------
  162|   107k|      return TheBucket->getSecond();
  163|      0|    return ValueT();
  164|   107k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPKSB_:
  469|   176k|                       const BucketT *&FoundBucket) const {
  470|   176k|    const BucketT *BucketsPtr = getBuckets();
  471|   176k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|   176k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 6.46k, False: 170k]
  ------------------
  474|  6.46k|      FoundBucket = nullptr;
  475|  6.46k|      return false;
  476|  6.46k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|   170k|    const BucketT *FoundTombstone = nullptr;
  480|   170k|    const KeyT EmptyKey = getEmptyKey();
  481|   170k|    const KeyT TombstoneKey = getTombstoneKey();
  482|   170k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 170k, False: 0]
  |  Branch (482:5): [True: 170k, False: 0]
  |  Branch (482:5): [True: 170k, Folded]
  |  Branch (482:5): [True: 170k, False: 0]
  ------------------
  483|   170k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|   170k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|   170k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|   170k|    unsigned ProbeAmt = 1;
  488|   170k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 170k, Folded]
  ------------------
  489|   170k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|   170k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|   170k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 163k, False: 6.65k]
  |  |  ------------------
  ------------------
  492|   163k|        FoundBucket = ThisBucket;
  493|   163k|        return true;
  494|   163k|      }
  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|  6.65k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|  6.65k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 6.63k, False: 20]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  6.63k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 6.63k]
  ------------------
  502|  6.63k|        return false;
  503|  6.63k|      }
  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|     20|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 20]
  ------------------
  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|     20|      BucketNo += ProbeAmt++;
  514|     20|      BucketNo &= (NumBuckets-1);
  515|     20|    }
  516|   170k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  375|   176k|  const BucketT *getBuckets() const {
  376|   176k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|   176k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E12getHashValueERKS4_:
  336|   170k|  static unsigned getHashValue(const KeyT &Val) {
  337|   170k|    return KeyInfoT::getHashValue(Val);
  338|   170k|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE8getFirstEv:
   41|   176k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE9getSecondEv:
   43|   107k|  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|  14.9k|  ValueT &operator[](KeyT &&Key) {
  246|  14.9k|    return FindAndConstruct(std::move(Key)).second;
  247|  14.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16FindAndConstructEOS4_:
  237|  14.9k|  value_type& FindAndConstruct(KeyT &&Key) {
  238|  14.9k|    BucketT *TheBucket;
  239|  14.9k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 14.9k, False: 0]
  ------------------
  240|  14.9k|      return *TheBucket;
  241|       |
  242|      0|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|  14.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPSB_:
  519|  69.2k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  69.2k|    const BucketT *ConstFoundBucket;
  521|  69.2k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  69.2k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  69.2k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  69.2k|    return Result;
  525|  69.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E20InsertIntoBucketImplERKS4_PSB_:
  426|  6.63k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  6.63k|    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|  6.63k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  6.63k|    unsigned NumBuckets = getNumBuckets();
  440|  6.63k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|  6.63k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 6.46k, False: 176]
  |  |  ------------------
  ------------------
  441|  6.46k|      this->grow(NumBuckets * 2);
  442|  6.46k|      LookupBucketFor(Key, TheBucket);
  443|  6.46k|      NumBuckets = getNumBuckets();
  444|  6.46k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|    176|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 176]
  |  |  ------------------
  ------------------
  445|    176|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  6.63k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 6.63k, 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|  6.63k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  6.63k|    const KeyT EmptyKey = getEmptyKey();
  457|  6.63k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 6.63k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  6.63k|    return TheBucket;
  461|  6.63k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumEntriesEv:
  351|  13.2k|  unsigned getNumEntries() const {
  352|  13.2k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  13.2k|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumEntriesEv:
  656|  13.2k|  unsigned getNumEntries() const {
  657|  13.2k|    return NumEntries;
  658|  13.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E4growEj:
  391|  6.46k|  void grow(unsigned AtLeast) {
  392|  6.46k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  6.46k|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4growEj:
  621|  6.46k|  void grow(unsigned AtLeast) {
  622|  6.46k|    unsigned OldNumBuckets = NumBuckets;
  623|  6.46k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  6.46k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  6.46k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 6.46k, False: 0]
  ------------------
  627|  6.46k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 6.46k, False: 0]
  ------------------
  628|  6.46k|      this->BaseT::initEmpty();
  629|  6.46k|      return;
  630|  6.46k|    }
  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|    176|  unsigned getNumTombstones() const {
  364|    176|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    176|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16getNumTombstonesEv:
  663|    176|  unsigned getNumTombstones() const {
  664|    176|    return NumTombstones;
  665|    176|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E19incrementNumEntriesEv:
  357|  6.63k|  void incrementNumEntries() {
  358|  6.63k|    setNumEntries(getNumEntries() + 1);
  359|  6.63k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EixERKS4_:
  233|  47.8k|  ValueT &operator[](const KeyT &Key) {
  234|  47.8k|    return FindAndConstruct(Key).second;
  235|  47.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16FindAndConstructERKS4_:
  225|  47.8k|  value_type& FindAndConstruct(const KeyT &Key) {
  226|  47.8k|    BucketT *TheBucket;
  227|  47.8k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (227:9): [True: 41.2k, False: 6.63k]
  ------------------
  228|  41.2k|      return *TheBucket;
  229|       |
  230|  6.63k|    return *InsertIntoBucket(Key, ValueT(), TheBucket);
  231|  47.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16InsertIntoBucketERKS4_OS6_PSB_:
  410|  6.63k|                            BucketT *TheBucket) {
  411|  6.63k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  412|       |
  413|  6.63k|    TheBucket->getFirst() = Key;
  414|  6.63k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  415|  6.63k|    return TheBucket;
  416|  6.63k|  }
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEC2Ej:
  553|  18.5k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  18.5k|    init(NumInitBuckets);
  555|  18.5k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EC2Ev:
  262|  18.5k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE4initEj:
  612|  18.5k|  void init(unsigned InitBuckets) {
  613|  18.5k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 18.5k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  18.5k|    } else {
  616|  18.5k|      NumEntries = 0;
  617|  18.5k|      NumTombstones = 0;
  618|  18.5k|    }
  619|  18.5k|  }
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE15allocateBucketsEj:
  678|  18.5k|  bool allocateBuckets(unsigned Num) {
  679|  18.5k|    NumBuckets = Num;
  680|  18.5k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 18.5k, False: 0]
  ------------------
  681|  18.5k|      Buckets = nullptr;
  682|  18.5k|      return false;
  683|  18.5k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  18.5k|  }
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEED2Ev:
  573|  18.5k|  ~DenseMap() {
  574|  18.5k|    this->destroyAll();
  575|  18.5k|    operator delete(Buckets);
  576|  18.5k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10destroyAllEv:
  264|  18.5k|  void destroyAll() {
  265|  18.5k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 18.5k, False: 0]
  ------------------
  266|  18.5k|      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|  12.6k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  12.6k|    init(NumInitBuckets);
  555|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_EC2Ev:
  262|  12.6k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE4initEj:
  612|  12.6k|  void init(unsigned InitBuckets) {
  613|  12.6k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 12.6k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  12.6k|    } else {
  616|  12.6k|      NumEntries = 0;
  617|  12.6k|      NumTombstones = 0;
  618|  12.6k|    }
  619|  12.6k|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEEC2Ej:
  553|  12.6k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  12.6k|    init(NumInitBuckets);
  555|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_EC2Ev:
  262|  12.6k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE4initEj:
  612|  12.6k|  void init(unsigned InitBuckets) {
  613|  12.6k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 12.6k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  12.6k|    } else {
  616|  12.6k|      NumEntries = 0;
  617|  12.6k|      NumTombstones = 0;
  618|  12.6k|    }
  619|  12.6k|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE15allocateBucketsEj:
  678|  12.7k|  bool allocateBuckets(unsigned Num) {
  679|  12.7k|    NumBuckets = Num;
  680|  12.7k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 12.6k, False: 70]
  ------------------
  681|  12.6k|      Buckets = nullptr;
  682|  12.6k|      return false;
  683|  12.6k|    }
  684|       |
  685|     70|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|     70|    return true;
  687|  12.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E9initEmptyEv:
  277|     70|  void initEmpty() {
  278|     70|    setNumEntries(0);
  279|     70|    setNumTombstones(0);
  280|       |
  281|     70|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 70, False: 0]
  |  Branch (281:5): [True: 70, Folded]
  |  Branch (281:5): [True: 70, False: 0]
  ------------------
  282|     70|           "# initial buckets must be a power of two!");
  283|     70|    const KeyT EmptyKey = getEmptyKey();
  284|  4.55k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 4.48k, False: 70]
  ------------------
  285|  4.48k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|     70|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13setNumEntriesEj:
  354|    449|  void setNumEntries(unsigned Num) {
  355|    449|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|    449|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE13setNumEntriesEj:
  659|    449|  void setNumEntries(unsigned Num) {
  660|    449|    NumEntries = Num;
  661|    449|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E16setNumTombstonesEj:
  366|     70|  void setNumTombstones(unsigned Num) {
  367|     70|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|     70|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE16setNumTombstonesEj:
  666|     70|  void setNumTombstones(unsigned Num) {
  667|     70|    NumTombstones = Num;
  668|     70|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13getNumBucketsEv:
  381|  14.5k|  unsigned getNumBuckets() const {
  382|  14.5k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  14.5k|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE13getNumBucketsEv:
  674|  14.5k|  unsigned getNumBuckets() const {
  675|  14.5k|    return NumBuckets;
  676|  14.5k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E11getEmptyKeyEv:
  343|  1.05k|  static const KeyT getEmptyKey() {
  344|  1.05k|    return KeyInfoT::getEmptyKey();
  345|  1.05k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E10getBucketsEv:
  378|    818|  BucketT *getBuckets() {
  379|    818|    return static_cast<DerivedT *>(this)->getBuckets();
  380|    818|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE10getBucketsEv:
  670|  1.45k|  BucketT *getBuckets() const {
  671|  1.45k|    return Buckets;
  672|  1.45k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13getBucketsEndEv:
  384|    678|  BucketT *getBucketsEnd() {
  385|    678|    return getBuckets() + getNumBuckets();
  386|    678|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_11MCSymbolELFES4_E8getFirstEv:
   40|  14.5k|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEEC2Ej:
  553|  12.6k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  12.6k|    init(NumInitBuckets);
  555|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_EC2Ev:
  262|  12.6k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE4initEj:
  612|  12.6k|  void init(unsigned InitBuckets) {
  613|  12.6k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 12.6k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  12.6k|    } else {
  616|  12.6k|      NumEntries = 0;
  617|  12.6k|      NumTombstones = 0;
  618|  12.6k|    }
  619|  12.6k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE15allocateBucketsEj:
  678|  18.3k|  bool allocateBuckets(unsigned Num) {
  679|  18.3k|    NumBuckets = Num;
  680|  18.3k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 12.6k, False: 5.67k]
  ------------------
  681|  12.6k|      Buckets = nullptr;
  682|  12.6k|      return false;
  683|  12.6k|    }
  684|       |
  685|  5.67k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  5.67k|    return true;
  687|  18.3k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E9initEmptyEv:
  277|  5.67k|  void initEmpty() {
  278|  5.67k|    setNumEntries(0);
  279|  5.67k|    setNumTombstones(0);
  280|       |
  281|  5.67k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 5.67k, False: 0]
  |  Branch (281:5): [True: 5.67k, Folded]
  |  Branch (281:5): [True: 5.67k, False: 0]
  ------------------
  282|  5.67k|           "# initial buckets must be a power of two!");
  283|  5.67k|    const KeyT EmptyKey = getEmptyKey();
  284|   369k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 363k, False: 5.67k]
  ------------------
  285|   363k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  5.67k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13setNumEntriesEj:
  354|  11.5k|  void setNumEntries(unsigned Num) {
  355|  11.5k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  11.5k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE13setNumEntriesEj:
  659|  11.5k|  void setNumEntries(unsigned Num) {
  660|  11.5k|    NumEntries = Num;
  661|  11.5k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E16setNumTombstonesEj:
  366|  5.67k|  void setNumTombstones(unsigned Num) {
  367|  5.67k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  5.67k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE16setNumTombstonesEj:
  666|  5.67k|  void setNumTombstones(unsigned Num) {
  667|  5.67k|    NumTombstones = Num;
  668|  5.67k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13getNumBucketsEv:
  381|  63.2k|  unsigned getNumBuckets() const {
  382|  63.2k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  63.2k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE13getNumBucketsEv:
  674|  63.2k|  unsigned getNumBuckets() const {
  675|  63.2k|    return NumBuckets;
  676|  63.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E11getEmptyKeyEv:
  343|  27.8k|  static const KeyT getEmptyKey() {
  344|  27.8k|    return KeyInfoT::getEmptyKey();
  345|  27.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E10getBucketsEv:
  378|  22.7k|  BucketT *getBuckets() {
  379|  22.7k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  22.7k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE10getBucketsEv:
  670|  39.0k|  BucketT *getBuckets() const {
  671|  39.0k|    return Buckets;
  672|  39.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13getBucketsEndEv:
  384|  11.3k|  BucketT *getBucketsEnd() {
  385|  11.3k|    return getBuckets() + getNumBuckets();
  386|  11.3k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEEE8getFirstEv:
   40|  1.10M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEED2Ev:
  573|  12.6k|  ~DenseMap() {
  574|  12.6k|    this->destroyAll();
  575|  12.6k|    operator delete(Buckets);
  576|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E10destroyAllEv:
  264|  12.6k|  void destroyAll() {
  265|  12.6k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 6.99k, False: 5.67k]
  ------------------
  266|  6.99k|      return;
  267|       |
  268|  5.67k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   369k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 363k, False: 5.67k]
  ------------------
  270|   363k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 5.84k, False: 357k]
  ------------------
  271|  5.84k|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 5.84k, False: 0]
  ------------------
  272|  5.84k|        P->getSecond().~ValueT();
  273|   363k|      P->getFirst().~KeyT();
  274|   363k|    }
  275|  5.67k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E15getTombstoneKeyEv:
  346|  16.3k|  static const KeyT getTombstoneKey() {
  347|  16.3k|    return KeyInfoT::getTombstoneKey();
  348|  16.3k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEEE9getSecondEv:
   42|  11.6k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEED2Ev:
  573|  12.6k|  ~DenseMap() {
  574|  12.6k|    this->destroyAll();
  575|  12.6k|    operator delete(Buckets);
  576|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E10destroyAllEv:
  264|  12.6k|  void destroyAll() {
  265|  12.6k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 12.6k, False: 70]
  ------------------
  266|  12.6k|      return;
  267|       |
  268|     70|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|  4.55k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 4.48k, False: 70]
  ------------------
  270|  4.48k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 379, False: 4.10k]
  ------------------
  271|    379|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 379, False: 0]
  ------------------
  272|    379|        P->getSecond().~ValueT();
  273|  4.48k|      P->getFirst().~KeyT();
  274|  4.48k|    }
  275|     70|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E15getTombstoneKeyEv:
  346|    608|  static const KeyT getTombstoneKey() {
  347|    608|    return KeyInfoT::getTombstoneKey();
  348|    608|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_11MCSymbolELFES4_E9getSecondEv:
   42|    758|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEED2Ev:
  573|  12.6k|  ~DenseMap() {
  574|  12.6k|    this->destroyAll();
  575|  12.6k|    operator delete(Buckets);
  576|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E10destroyAllEv:
  264|  12.6k|  void destroyAll() {
  265|  12.6k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 6.75k, False: 5.91k]
  ------------------
  266|  6.75k|      return;
  267|       |
  268|  5.91k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   384k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 378k, False: 5.91k]
  ------------------
  270|   378k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 11.7k, False: 367k]
  ------------------
  271|  11.7k|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 11.7k, False: 0]
  ------------------
  272|  11.7k|        P->getSecond().~ValueT();
  273|   378k|      P->getFirst().~KeyT();
  274|   378k|    }
  275|  5.91k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13getNumBucketsEv:
  381|  83.5k|  unsigned getNumBuckets() const {
  382|  83.5k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  83.5k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE13getNumBucketsEv:
  674|  83.5k|  unsigned getNumBuckets() const {
  675|  83.5k|    return NumBuckets;
  676|  83.5k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E11getEmptyKeyEv:
  343|  35.3k|  static const KeyT getEmptyKey() {
  344|  35.3k|    return KeyInfoT::getEmptyKey();
  345|  35.3k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E15getTombstoneKeyEv:
  346|  17.7k|  static const KeyT getTombstoneKey() {
  347|  17.7k|    return KeyInfoT::getTombstoneKey();
  348|  17.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E10getBucketsEv:
  378|  35.4k|  BucketT *getBuckets() {
  379|  35.4k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  35.4k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE10getBucketsEv:
  670|  53.1k|  BucketT *getBuckets() const {
  671|  53.1k|    return Buckets;
  672|  53.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13getBucketsEndEv:
  384|  23.6k|  BucketT *getBucketsEnd() {
  385|  23.6k|    return getBuckets() + getNumBuckets();
  386|  23.6k|  }
_ZN7llvm_ks6detail12DenseMapPairINS_9StringRefEmE8getFirstEv:
   40|  1.17M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks6detail12DenseMapPairINS_9StringRefEmE9getSecondEv:
   42|  23.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|    309|  unsigned getNumTombstones() const {
  364|    309|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    309|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE16getNumTombstonesEv:
  663|    309|  unsigned getNumTombstones() const {
  664|    309|    return NumTombstones;
  665|    309|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13getNumEntriesEv:
  351|  11.6k|  unsigned getNumEntries() const {
  352|  11.6k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  11.6k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE13getNumEntriesEv:
  656|  11.6k|  unsigned getNumEntries() const {
  657|  11.6k|    return NumEntries;
  658|  11.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E16getNumTombstonesEv:
  363|    166|  unsigned getNumTombstones() const {
  364|    166|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    166|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE16getNumTombstonesEv:
  663|    166|  unsigned getNumTombstones() const {
  664|    166|    return NumTombstones;
  665|    166|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E6insertEONSt3__14pairIS4_S4_EE:
  184|    538|  std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
  185|    538|    BucketT *TheBucket;
  186|    538|    if (LookupBucketFor(KV.first, TheBucket))
  ------------------
  |  Branch (186:9): [True: 159, False: 379]
  ------------------
  187|    159|      return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  188|    159|                            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|    538|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E15LookupBucketForIS4_EEbRKT_RPS9_:
  519|    608|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|    608|    const BucketT *ConstFoundBucket;
  521|    608|    bool Result = const_cast<const DenseMapBase *>(this)
  522|    608|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|    608|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|    608|    return Result;
  525|    608|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E15LookupBucketForIS4_EEbRKT_RPKS9_:
  469|    637|                       const BucketT *&FoundBucket) const {
  470|    637|    const BucketT *BucketsPtr = getBuckets();
  471|    637|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|    637|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 99, False: 538]
  ------------------
  474|     99|      FoundBucket = nullptr;
  475|     99|      return false;
  476|     99|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|    538|    const BucketT *FoundTombstone = nullptr;
  480|    538|    const KeyT EmptyKey = getEmptyKey();
  481|    538|    const KeyT TombstoneKey = getTombstoneKey();
  482|    538|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 538, False: 0]
  |  Branch (482:5): [True: 538, False: 0]
  |  Branch (482:5): [True: 538, Folded]
  |  Branch (482:5): [True: 538, False: 0]
  ------------------
  483|    538|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|    538|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|    538|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|    538|    unsigned ProbeAmt = 1;
  488|    586|    while (1) {
  ------------------
  |  Branch (488:12): [True: 586, Folded]
  ------------------
  489|    586|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|    586|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|    586|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 159, False: 427]
  |  |  ------------------
  ------------------
  492|    159|        FoundBucket = ThisBucket;
  493|    159|        return true;
  494|    159|      }
  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|    427|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|    427|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 379, False: 48]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|    379|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 379]
  ------------------
  502|    379|        return false;
  503|    379|      }
  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|     48|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 48]
  ------------------
  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|     48|      BucketNo += ProbeAmt++;
  514|     48|      BucketNo &= (NumBuckets-1);
  515|     48|    }
  516|    538|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E10getBucketsEv:
  375|    637|  const BucketT *getBuckets() const {
  376|    637|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|    637|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E12getHashValueERKS4_:
  336|    538|  static unsigned getHashValue(const KeyT &Val) {
  337|    538|    return KeyInfoT::getHashValue(Val);
  338|    538|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_11MCSymbolELFES4_E8getFirstEv:
   41|  1.06k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks16DenseMapIteratorIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EELb0EEC2EPS8_SA_RKNS_14DebugEpochBaseEb:
 1006|    538|      : DebugEpochBase::HandleBase(&Epoch), Ptr(Pos), End(E) {
 1007|    538|    assert(isHandleInSync() && "invalid construction!");
  ------------------
  |  Branch (1007:5): [True: 538, False: 0]
  |  Branch (1007:5): [True: 538, Folded]
  |  Branch (1007:5): [True: 538, False: 0]
  ------------------
 1008|    538|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (1008:9): [True: 0, False: 538]
  ------------------
 1009|    538|  }
_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: 70, False: 309]
  |  |  ------------------
  ------------------
  441|     70|      this->grow(NumBuckets * 2);
  442|     70|      LookupBucketFor(Key, TheBucket);
  443|     70|      NumBuckets = getNumBuckets();
  444|    309|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|    309|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 309]
  |  |  ------------------
  ------------------
  445|    309|                             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|     70|  void grow(unsigned AtLeast) {
  392|     70|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|     70|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE4growEj:
  621|     70|  void grow(unsigned AtLeast) {
  622|     70|    unsigned OldNumBuckets = NumBuckets;
  623|     70|    BucketT *OldBuckets = Buckets;
  624|       |
  625|     70|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|     70|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 70, False: 0]
  ------------------
  627|     70|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 70, False: 0]
  ------------------
  628|     70|      this->BaseT::initEmpty();
  629|     70|      return;
  630|     70|    }
  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|  10.6k|  ValueT &operator[](KeyT &&Key) {
  246|  10.6k|    return FindAndConstruct(std::move(Key)).second;
  247|  10.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E16FindAndConstructEOS4_:
  237|  10.6k|  value_type& FindAndConstruct(KeyT &&Key) {
  238|  10.6k|    BucketT *TheBucket;
  239|  10.6k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 4.80k, False: 5.84k]
  ------------------
  240|  4.80k|      return *TheBucket;
  241|       |
  242|  5.84k|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|  10.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E15LookupBucketForIS4_EEbRKT_RPSF_:
  519|  16.3k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  16.3k|    const BucketT *ConstFoundBucket;
  521|  16.3k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  16.3k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  16.3k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  16.3k|    return Result;
  525|  16.3k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E15LookupBucketForIS4_EEbRKT_RPKSF_:
  469|  16.3k|                       const BucketT *&FoundBucket) const {
  470|  16.3k|    const BucketT *BucketsPtr = getBuckets();
  471|  16.3k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  16.3k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 5.67k, False: 10.6k]
  ------------------
  474|  5.67k|      FoundBucket = nullptr;
  475|  5.67k|      return false;
  476|  5.67k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  10.6k|    const BucketT *FoundTombstone = nullptr;
  480|  10.6k|    const KeyT EmptyKey = getEmptyKey();
  481|  10.6k|    const KeyT TombstoneKey = getTombstoneKey();
  482|  10.6k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 10.6k, False: 0]
  |  Branch (482:5): [True: 10.6k, False: 0]
  |  Branch (482:5): [True: 10.6k, Folded]
  |  Branch (482:5): [True: 10.6k, False: 0]
  ------------------
  483|  10.6k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  10.6k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  10.6k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  10.6k|    unsigned ProbeAmt = 1;
  488|  10.6k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 10.6k, Folded]
  ------------------
  489|  10.6k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  10.6k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|  10.6k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 4.80k, False: 5.84k]
  |  |  ------------------
  ------------------
  492|  4.80k|        FoundBucket = ThisBucket;
  493|  4.80k|        return true;
  494|  4.80k|      }
  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|  5.84k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|  5.84k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 5.84k, False: 4]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  5.84k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 5.84k]
  ------------------
  502|  5.84k|        return false;
  503|  5.84k|      }
  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|      4|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 4]
  ------------------
  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|      4|      BucketNo += ProbeAmt++;
  514|      4|      BucketNo &= (NumBuckets-1);
  515|      4|    }
  516|  10.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E10getBucketsEv:
  375|  16.3k|  const BucketT *getBuckets() const {
  376|  16.3k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  16.3k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E12getHashValueERKS4_:
  336|  10.6k|  static unsigned getHashValue(const KeyT &Val) {
  337|  10.6k|    return KeyInfoT::getHashValue(Val);
  338|  10.6k|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEEE8getFirstEv:
   41|  16.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|  5.84k|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|  5.84k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|  5.84k|    TheBucket->getFirst() = std::move(Key);
  422|  5.84k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|  5.84k|    return TheBucket;
  424|  5.84k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E20InsertIntoBucketImplERKS4_PSF_:
  426|  5.84k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  5.84k|    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|  5.84k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  5.84k|    unsigned NumBuckets = getNumBuckets();
  440|  5.84k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|  5.84k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 5.67k, False: 166]
  |  |  ------------------
  ------------------
  441|  5.67k|      this->grow(NumBuckets * 2);
  442|  5.67k|      LookupBucketFor(Key, TheBucket);
  443|  5.67k|      NumBuckets = getNumBuckets();
  444|  5.67k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|    166|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 166]
  |  |  ------------------
  ------------------
  445|    166|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  5.84k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 5.84k, 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|  5.84k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  5.84k|    const KeyT EmptyKey = getEmptyKey();
  457|  5.84k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 5.84k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  5.84k|    return TheBucket;
  461|  5.84k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E4growEj:
  391|  5.67k|  void grow(unsigned AtLeast) {
  392|  5.67k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  5.67k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE4growEj:
  621|  5.67k|  void grow(unsigned AtLeast) {
  622|  5.67k|    unsigned OldNumBuckets = NumBuckets;
  623|  5.67k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  5.67k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  5.67k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 5.67k, False: 0]
  ------------------
  627|  5.67k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 5.67k, False: 0]
  ------------------
  628|  5.67k|      this->BaseT::initEmpty();
  629|  5.67k|      return;
  630|  5.67k|    }
  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|  5.84k|  void incrementNumEntries() {
  358|  5.84k|    setNumEntries(getNumEntries() + 1);
  359|  5.84k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E6lookupERKS4_:
  159|     29|  ValueT lookup(const KeyT &Val) const {
  160|     29|    const BucketT *TheBucket;
  161|     29|    if (LookupBucketFor(Val, TheBucket))
  ------------------
  |  Branch (161:9): [True: 0, False: 29]
  ------------------
  162|      0|      return TheBucket->getSecond();
  163|     29|    return ValueT();
  164|     29|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEC2Ej:
  553|  5.91k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  5.91k|    init(NumInitBuckets);
  555|  5.91k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EC2Ev:
  262|  5.91k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE4initEj:
  612|  5.91k|  void init(unsigned InitBuckets) {
  613|  5.91k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 5.91k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  5.91k|    } else {
  616|  5.91k|      NumEntries = 0;
  617|  5.91k|      NumTombstones = 0;
  618|  5.91k|    }
  619|  5.91k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE15allocateBucketsEj:
  678|  11.4k|  bool allocateBuckets(unsigned Num) {
  679|  11.4k|    NumBuckets = Num;
  680|  11.4k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 5.91k, False: 5.57k]
  ------------------
  681|  5.91k|      Buckets = nullptr;
  682|  5.91k|      return false;
  683|  5.91k|    }
  684|       |
  685|  5.57k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  5.57k|    return true;
  687|  11.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E9initEmptyEv:
  277|  5.57k|  void initEmpty() {
  278|  5.57k|    setNumEntries(0);
  279|  5.57k|    setNumTombstones(0);
  280|       |
  281|  5.57k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 5.57k, False: 0]
  |  Branch (281:5): [True: 5.57k, Folded]
  |  Branch (281:5): [True: 5.57k, False: 0]
  ------------------
  282|  5.57k|           "# initial buckets must be a power of two!");
  283|  5.57k|    const KeyT EmptyKey = getEmptyKey();
  284|   362k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 356k, False: 5.57k]
  ------------------
  285|   356k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  5.57k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13setNumEntriesEj:
  354|  11.4k|  void setNumEntries(unsigned Num) {
  355|  11.4k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  11.4k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13setNumEntriesEj:
  659|  11.4k|  void setNumEntries(unsigned Num) {
  660|  11.4k|    NumEntries = Num;
  661|  11.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16setNumTombstonesEj:
  366|  5.57k|  void setNumTombstones(unsigned Num) {
  367|  5.57k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  5.57k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE16setNumTombstonesEj:
  666|  5.57k|  void setNumTombstones(unsigned Num) {
  667|  5.57k|    NumTombstones = Num;
  668|  5.57k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getNumBucketsEv:
  381|  51.1k|  unsigned getNumBuckets() const {
  382|  51.1k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  51.1k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13getNumBucketsEv:
  674|  51.1k|  unsigned getNumBuckets() const {
  675|  51.1k|    return NumBuckets;
  676|  51.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E11getEmptyKeyEv:
  343|  22.8k|  static const KeyT getEmptyKey() {
  344|  22.8k|    return KeyInfoT::getEmptyKey();
  345|  22.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10getBucketsEv:
  378|  22.2k|  BucketT *getBuckets() {
  379|  22.2k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  22.2k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE10getBucketsEv:
  670|  33.7k|  BucketT *getBuckets() const {
  671|  33.7k|    return Buckets;
  672|  33.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getBucketsEndEv:
  384|  11.1k|  BucketT *getBucketsEnd() {
  385|  11.1k|    return getBuckets() + getNumBuckets();
  386|  11.1k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEjE8getFirstEv:
   40|  1.08M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EixEOS4_:
  245|  5.73k|  ValueT &operator[](KeyT &&Key) {
  246|  5.73k|    return FindAndConstruct(std::move(Key)).second;
  247|  5.73k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16FindAndConstructEOS4_:
  237|  5.73k|  value_type& FindAndConstruct(KeyT &&Key) {
  238|  5.73k|    BucketT *TheBucket;
  239|  5.73k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 0, False: 5.73k]
  ------------------
  240|      0|      return *TheBucket;
  241|       |
  242|  5.73k|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|  5.73k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E15LookupBucketForIS4_EEbRKT_RPS9_:
  519|  11.4k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  11.4k|    const BucketT *ConstFoundBucket;
  521|  11.4k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  11.4k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  11.4k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  11.4k|    return Result;
  525|  11.4k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E15LookupBucketForIS4_EEbRKT_RPKS9_:
  469|  11.4k|                       const BucketT *&FoundBucket) const {
  470|  11.4k|    const BucketT *BucketsPtr = getBuckets();
  471|  11.4k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  11.4k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 5.57k, False: 5.87k]
  ------------------
  474|  5.57k|      FoundBucket = nullptr;
  475|  5.57k|      return false;
  476|  5.57k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  5.87k|    const BucketT *FoundTombstone = nullptr;
  480|  5.87k|    const KeyT EmptyKey = getEmptyKey();
  481|  5.87k|    const KeyT TombstoneKey = getTombstoneKey();
  482|  5.87k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 5.87k, False: 0]
  |  Branch (482:5): [True: 5.87k, False: 0]
  |  Branch (482:5): [True: 5.87k, Folded]
  |  Branch (482:5): [True: 5.87k, False: 0]
  ------------------
  483|  5.87k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  5.87k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  5.87k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  5.87k|    unsigned ProbeAmt = 1;
  488|  5.87k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 5.87k, Folded]
  ------------------
  489|  5.87k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  5.87k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|  5.87k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 0, False: 5.87k]
  |  |  ------------------
  ------------------
  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|  5.87k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|  5.87k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 5.87k, False: 4]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  5.87k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 5.87k]
  ------------------
  502|  5.87k|        return false;
  503|  5.87k|      }
  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|      4|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 4]
  ------------------
  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|      4|      BucketNo += ProbeAmt++;
  514|      4|      BucketNo &= (NumBuckets-1);
  515|      4|    }
  516|  5.87k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10getBucketsEv:
  375|  11.4k|  const BucketT *getBuckets() const {
  376|  11.4k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  11.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E15getTombstoneKeyEv:
  346|  11.4k|  static const KeyT getTombstoneKey() {
  347|  11.4k|    return KeyInfoT::getTombstoneKey();
  348|  11.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E12getHashValueERKS4_:
  336|  5.87k|  static unsigned getHashValue(const KeyT &Val) {
  337|  5.87k|    return KeyInfoT::getHashValue(Val);
  338|  5.87k|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEjE8getFirstEv:
   41|  11.7k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16InsertIntoBucketEOS4_OjPS9_:
  418|  5.73k|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|  5.73k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|  5.73k|    TheBucket->getFirst() = std::move(Key);
  422|  5.73k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|  5.73k|    return TheBucket;
  424|  5.73k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E20InsertIntoBucketImplERKS4_PS9_:
  426|  5.87k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  5.87k|    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|  5.87k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  5.87k|    unsigned NumBuckets = getNumBuckets();
  440|  5.87k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|  5.87k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 5.57k, False: 301]
  |  |  ------------------
  ------------------
  441|  5.57k|      this->grow(NumBuckets * 2);
  442|  5.57k|      LookupBucketFor(Key, TheBucket);
  443|  5.57k|      NumBuckets = getNumBuckets();
  444|  5.57k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|    301|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 301]
  |  |  ------------------
  ------------------
  445|    301|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  5.87k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 5.87k, 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|  5.87k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  5.87k|    const KeyT EmptyKey = getEmptyKey();
  457|  5.87k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 5.87k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  5.87k|    return TheBucket;
  461|  5.87k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getNumEntriesEv:
  351|  11.7k|  unsigned getNumEntries() const {
  352|  11.7k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  11.7k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13getNumEntriesEv:
  656|  11.7k|  unsigned getNumEntries() const {
  657|  11.7k|    return NumEntries;
  658|  11.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E4growEj:
  391|  5.57k|  void grow(unsigned AtLeast) {
  392|  5.57k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  5.57k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE4growEj:
  621|  5.57k|  void grow(unsigned AtLeast) {
  622|  5.57k|    unsigned OldNumBuckets = NumBuckets;
  623|  5.57k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  5.57k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  5.57k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 5.57k, False: 0]
  ------------------
  627|  5.57k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 5.57k, False: 0]
  ------------------
  628|  5.57k|      this->BaseT::initEmpty();
  629|  5.57k|      return;
  630|  5.57k|    }
  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|    301|  unsigned getNumTombstones() const {
  364|    301|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    301|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE16getNumTombstonesEv:
  663|    301|  unsigned getNumTombstones() const {
  664|    301|    return NumTombstones;
  665|    301|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E19incrementNumEntriesEv:
  357|  5.87k|  void incrementNumEntries() {
  358|  5.87k|    setNumEntries(getNumEntries() + 1);
  359|  5.87k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEjE9getSecondEv:
   42|  11.7k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EixERKS4_:
  233|    135|  ValueT &operator[](const KeyT &Key) {
  234|    135|    return FindAndConstruct(Key).second;
  235|    135|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16FindAndConstructERKS4_:
  225|    135|  value_type& FindAndConstruct(const KeyT &Key) {
  226|    135|    BucketT *TheBucket;
  227|    135|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (227:9): [True: 0, False: 135]
  ------------------
  228|      0|      return *TheBucket;
  229|       |
  230|    135|    return *InsertIntoBucket(Key, ValueT(), TheBucket);
  231|    135|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16InsertIntoBucketERKS4_OjPS9_:
  410|    135|                            BucketT *TheBucket) {
  411|    135|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  412|       |
  413|    135|    TheBucket->getFirst() = Key;
  414|    135|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  415|    135|    return TheBucket;
  416|    135|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEED2Ev:
  573|  5.91k|  ~DenseMap() {
  574|  5.91k|    this->destroyAll();
  575|  5.91k|    operator delete(Buckets);
  576|  5.91k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10destroyAllEv:
  264|  5.91k|  void destroyAll() {
  265|  5.91k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 345, False: 5.57k]
  ------------------
  266|    345|      return;
  267|       |
  268|  5.57k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   362k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 356k, False: 5.57k]
  ------------------
  270|   356k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 5.87k, False: 350k]
  ------------------
  271|  5.87k|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 5.87k, False: 0]
  ------------------
  272|  5.87k|        P->getSecond().~ValueT();
  273|   356k|      P->getFirst().~KeyT();
  274|   356k|    }
  275|  5.57k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEEC2Ej:
  553|  12.6k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  12.6k|    init(NumInitBuckets);
  555|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_EC2Ev:
  262|  12.6k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE4initEj:
  612|  12.6k|  void init(unsigned InitBuckets) {
  613|  12.6k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 12.6k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  12.6k|    } else {
  616|  12.6k|      NumEntries = 0;
  617|  12.6k|      NumTombstones = 0;
  618|  12.6k|    }
  619|  12.6k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE15allocateBucketsEj:
  678|  18.5k|  bool allocateBuckets(unsigned Num) {
  679|  18.5k|    NumBuckets = Num;
  680|  18.5k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 12.6k, False: 5.91k]
  ------------------
  681|  12.6k|      Buckets = nullptr;
  682|  12.6k|      return false;
  683|  12.6k|    }
  684|       |
  685|  5.91k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  5.91k|    return true;
  687|  18.5k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E9initEmptyEv:
  277|  5.91k|  void initEmpty() {
  278|  5.91k|    setNumEntries(0);
  279|  5.91k|    setNumTombstones(0);
  280|       |
  281|  5.91k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 5.91k, False: 0]
  |  Branch (281:5): [True: 5.91k, Folded]
  |  Branch (281:5): [True: 5.91k, False: 0]
  ------------------
  282|  5.91k|           "# initial buckets must be a power of two!");
  283|  5.91k|    const KeyT EmptyKey = getEmptyKey();
  284|   384k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 378k, False: 5.91k]
  ------------------
  285|   378k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  5.91k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13setNumEntriesEj:
  354|  17.6k|  void setNumEntries(unsigned Num) {
  355|  17.6k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  17.6k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE13setNumEntriesEj:
  659|  17.6k|  void setNumEntries(unsigned Num) {
  660|  17.6k|    NumEntries = Num;
  661|  17.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E16setNumTombstonesEj:
  366|  5.91k|  void setNumTombstones(unsigned Num) {
  367|  5.91k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  5.91k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE16setNumTombstonesEj:
  666|  5.91k|  void setNumTombstones(unsigned Num) {
  667|  5.91k|    NumTombstones = Num;
  668|  5.91k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13getNumEntriesEv:
  351|  23.4k|  unsigned getNumEntries() const {
  352|  23.4k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  23.4k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE13getNumEntriesEv:
  656|  23.4k|  unsigned getNumEntries() const {
  657|  23.4k|    return NumEntries;
  658|  23.4k|  }
_ZN7llvm_ks16DenseMapIteratorINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEELb0EEC2EPS6_S8_RKNS_14DebugEpochBaseEb:
 1006|  11.7k|      : DebugEpochBase::HandleBase(&Epoch), Ptr(Pos), End(E) {
 1007|  11.7k|    assert(isHandleInSync() && "invalid construction!");
  ------------------
  |  Branch (1007:5): [True: 11.7k, False: 0]
  |  Branch (1007:5): [True: 11.7k, Folded]
  |  Branch (1007:5): [True: 11.7k, False: 0]
  ------------------
 1008|  11.7k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (1008:9): [True: 0, False: 11.7k]
  ------------------
 1009|  11.7k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E16getNumTombstonesEv:
  363|  5.82k|  unsigned getNumTombstones() const {
  364|  5.82k|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|  5.82k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE16getNumTombstonesEv:
  663|  5.82k|  unsigned getNumTombstones() const {
  664|  5.82k|    return NumTombstones;
  665|  5.82k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E15LookupBucketForIS2_EEbRKT_RPKS7_:
  469|  17.7k|                       const BucketT *&FoundBucket) const {
  470|  17.7k|    const BucketT *BucketsPtr = getBuckets();
  471|  17.7k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  17.7k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 5.91k, False: 11.7k]
  ------------------
  474|  5.91k|      FoundBucket = nullptr;
  475|  5.91k|      return false;
  476|  5.91k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  11.7k|    const BucketT *FoundTombstone = nullptr;
  480|  11.7k|    const KeyT EmptyKey = getEmptyKey();
  481|  11.7k|    const KeyT TombstoneKey = getTombstoneKey();
  482|  11.7k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 11.7k, False: 0]
  |  Branch (482:5): [True: 11.7k, False: 0]
  |  Branch (482:5): [True: 11.7k, Folded]
  |  Branch (482:5): [True: 11.7k, False: 0]
  ------------------
  483|  11.7k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  11.7k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  11.7k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  11.7k|    unsigned ProbeAmt = 1;
  488|  11.9k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 11.9k, Folded]
  ------------------
  489|  11.9k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  11.9k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|  11.9k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 47, False: 11.8k]
  |  |  ------------------
  ------------------
  492|     47|        FoundBucket = ThisBucket;
  493|     47|        return true;
  494|     47|      }
  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|  11.8k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|  11.8k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 11.7k, False: 135]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  11.7k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 11.7k]
  ------------------
  502|  11.7k|        return false;
  503|  11.7k|      }
  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|    135|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 135]
  ------------------
  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|    135|      BucketNo += ProbeAmt++;
  514|    135|      BucketNo &= (NumBuckets-1);
  515|    135|    }
  516|  11.7k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E10getBucketsEv:
  375|  17.7k|  const BucketT *getBuckets() const {
  376|  17.7k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  17.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E12getHashValueERKS2_:
  336|  11.7k|  static unsigned getHashValue(const KeyT &Val) {
  337|  11.7k|    return KeyInfoT::getHashValue(Val);
  338|  11.7k|  }
_ZNK7llvm_ks6detail12DenseMapPairINS_9StringRefEmE8getFirstEv:
   41|  23.9k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E6insertEONSt3__14pairIS2_mEE:
  184|  11.7k|  std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
  185|  11.7k|    BucketT *TheBucket;
  186|  11.7k|    if (LookupBucketFor(KV.first, TheBucket))
  ------------------
  |  Branch (186:9): [True: 47, False: 11.7k]
  ------------------
  187|     47|      return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  188|     47|                            false); // Already in map.
  189|       |
  190|       |    // Otherwise, insert the new element.
  191|  11.7k|    TheBucket = InsertIntoBucket(std::move(KV.first),
  192|  11.7k|                                 std::move(KV.second),
  193|  11.7k|                                 TheBucket);
  194|  11.7k|    return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  195|  11.7k|                          true);
  196|  11.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E15LookupBucketForIS2_EEbRKT_RPS7_:
  519|  17.7k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  17.7k|    const BucketT *ConstFoundBucket;
  521|  17.7k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  17.7k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  17.7k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  17.7k|    return Result;
  525|  17.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E16InsertIntoBucketEOS2_OmPS7_:
  418|  11.7k|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|  11.7k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|  11.7k|    TheBucket->getFirst() = std::move(Key);
  422|  11.7k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|  11.7k|    return TheBucket;
  424|  11.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E20InsertIntoBucketImplERKS2_PS7_:
  426|  11.7k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  11.7k|    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|  11.7k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  11.7k|    unsigned NumBuckets = getNumBuckets();
  440|  11.7k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|  11.7k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 5.91k, False: 5.82k]
  |  |  ------------------
  ------------------
  441|  5.91k|      this->grow(NumBuckets * 2);
  442|  5.91k|      LookupBucketFor(Key, TheBucket);
  443|  5.91k|      NumBuckets = getNumBuckets();
  444|  5.91k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|  5.82k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 5.82k]
  |  |  ------------------
  ------------------
  445|  5.82k|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  11.7k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 11.7k, 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|  11.7k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  11.7k|    const KeyT EmptyKey = getEmptyKey();
  457|  11.7k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 11.7k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  11.7k|    return TheBucket;
  461|  11.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E4growEj:
  391|  5.91k|  void grow(unsigned AtLeast) {
  392|  5.91k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  5.91k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE4growEj:
  621|  5.91k|  void grow(unsigned AtLeast) {
  622|  5.91k|    unsigned OldNumBuckets = NumBuckets;
  623|  5.91k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  5.91k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  5.91k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 5.91k, False: 0]
  ------------------
  627|  5.91k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 5.91k, False: 0]
  ------------------
  628|  5.91k|      this->BaseT::initEmpty();
  629|  5.91k|      return;
  630|  5.91k|    }
  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|  11.7k|  void incrementNumEntries() {
  358|  11.7k|    setNumEntries(getNumEntries() + 1);
  359|  11.7k|  }
_ZNK7llvm_ks16DenseMapIteratorINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEELb0EEptEv:
 1024|  11.7k|  pointer operator->() const {
 1025|  11.7k|    assert(isHandleInSync() && "invalid iterator access!");
  ------------------
  |  Branch (1025:5): [True: 11.7k, False: 0]
  |  Branch (1025:5): [True: 11.7k, Folded]
  |  Branch (1025:5): [True: 11.7k, False: 0]
  ------------------
 1026|  11.7k|    return Ptr;
 1027|  11.7k|  }

_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE11getEmptyKeyEv:
  171|   922k|  static inline StringRef getEmptyKey() {
  172|   922k|    return StringRef(reinterpret_cast<const char *>(~static_cast<uintptr_t>(0)),
  173|   922k|                     0);
  174|   922k|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE15getTombstoneKeyEv:
  175|  77.0k|  static inline StringRef getTombstoneKey() {
  176|  77.0k|    return StringRef(reinterpret_cast<const char *>(~static_cast<uintptr_t>(1)),
  177|  77.0k|                     0);
  178|  77.0k|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE12getHashValueES1_:
  179|  11.7k|  static unsigned getHashValue(StringRef Val) {
  180|  11.7k|    assert(Val.data() != getEmptyKey().data() && "Cannot hash the empty key!");
  ------------------
  |  Branch (180:5): [True: 11.7k, False: 0]
  |  Branch (180:5): [True: 11.7k, Folded]
  |  Branch (180:5): [True: 11.7k, False: 0]
  ------------------
  181|  11.7k|    assert(Val.data() != getTombstoneKey().data() &&
  ------------------
  |  Branch (181:5): [True: 11.7k, False: 0]
  |  Branch (181:5): [True: 11.7k, Folded]
  |  Branch (181:5): [True: 11.7k, False: 0]
  ------------------
  182|  11.7k|           "Cannot hash the tombstone key!");
  183|  11.7k|    return (unsigned)(hash_value(Val));
  184|  11.7k|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE7isEqualES1_S1_:
  185|   449k|  static bool isEqual(StringRef LHS, StringRef RHS) {
  186|   449k|    if (RHS.data() == getEmptyKey().data())
  ------------------
  |  Branch (186:9): [True: 425k, False: 23.8k]
  ------------------
  187|   425k|      return LHS.data() == getEmptyKey().data();
  188|  23.8k|    if (RHS.data() == getTombstoneKey().data())
  ------------------
  |  Branch (188:9): [True: 23.6k, False: 182]
  ------------------
  189|  23.6k|      return LHS.data() == getTombstoneKey().data();
  190|    182|    return LHS == RHS;
  191|  23.8k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE11getEmptyKeyEv:
   36|   114k|  static inline T* getEmptyKey() {
   37|   114k|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|   114k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|   114k|    return reinterpret_cast<T*>(Val);
   40|   114k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE15getTombstoneKeyEv:
   41|  66.0k|  static inline T* getTombstoneKey() {
   42|  66.0k|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|  66.0k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|  66.0k|    return reinterpret_cast<T*>(Val);
   45|  66.0k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE7isEqualES3_S3_:
   50|  2.50M|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE12getHashValueES3_:
   46|  29.4k|  static unsigned getHashValue(const T *PtrVal) {
   47|  29.4k|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|  29.4k|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|  29.4k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE11getEmptyKeyEv:
   36|   189k|  static inline T* getEmptyKey() {
   37|   189k|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|   189k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|   189k|    return reinterpret_cast<T*>(Val);
   40|   189k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE15getTombstoneKeyEv:
   41|   176k|  static inline T* getTombstoneKey() {
   42|   176k|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|   176k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|   176k|    return reinterpret_cast<T*>(Val);
   45|   176k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE7isEqualES3_S3_:
   50|   943k|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE12getHashValueES3_:
   46|   170k|  static unsigned getHashValue(const T *PtrVal) {
   47|   170k|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|   170k|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|   170k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE11getEmptyKeyEv:
   36|  1.05k|  static inline T* getEmptyKey() {
   37|  1.05k|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|  1.05k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|  1.05k|    return reinterpret_cast<T*>(Val);
   40|  1.05k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE15getTombstoneKeyEv:
   41|    608|  static inline T* getTombstoneKey() {
   42|    608|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|    608|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|    608|    return reinterpret_cast<T*>(Val);
   45|    608|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE7isEqualES3_S3_:
   50|  7.37k|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE12getHashValueES3_:
   46|    538|  static unsigned getHashValue(const T *PtrVal) {
   47|    538|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|    538|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|    538|  }

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

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

_ZN7llvm_ks9hash_codeC2Em:
   82|  11.7k|  hash_code(size_t value) : value(value) {}
_ZNK7llvm_ks9hash_codecvmEv:
   85|  11.7k|  /*explicit*/ operator size_t() const { return value; }
_ZN7llvm_ks7hashing6detail7fetch64EPKc:
  146|    270|inline uint64_t fetch64(const char *p) {
  147|    270|  uint64_t result;
  148|    270|  memcpy(&result, p, sizeof(result));
  149|    270|  if (sys::IsBigEndianHost)
  ------------------
  |  Branch (149:7): [Folded, False: 270]
  ------------------
  150|      0|    sys::swapByteOrder(result);
  151|    270|  return result;
  152|    270|}
_ZN7llvm_ks7hashing6detail7fetch32EPKc:
  154|  23.0k|inline uint32_t fetch32(const char *p) {
  155|  23.0k|  uint32_t result;
  156|  23.0k|  memcpy(&result, p, sizeof(result));
  157|  23.0k|  if (sys::IsBigEndianHost)
  ------------------
  |  Branch (157:7): [Folded, False: 23.0k]
  ------------------
  158|      0|    sys::swapByteOrder(result);
  159|  23.0k|  return result;
  160|  23.0k|}
_ZN7llvm_ks7hashing6detail6rotateEmm:
  171|    135|inline uint64_t rotate(uint64_t val, size_t shift) {
  172|       |  // Avoid shifting by 64: doing so yields an undefined result.
  173|    135|  return shift == 0 ? val : ((val >> shift) | (val << (64 - shift)));
  ------------------
  |  Branch (173:10): [True: 0, False: 135]
  ------------------
  174|    135|}
_ZN7llvm_ks7hashing6detail13hash_16_bytesEmm:
  180|  11.6k|inline uint64_t hash_16_bytes(uint64_t low, uint64_t high) {
  181|       |  // Murmur-inspired hashing.
  182|  11.6k|  const uint64_t kMul = 0x9ddfea08eb382d69ULL;
  183|  11.6k|  uint64_t a = (low ^ high) * kMul;
  184|  11.6k|  a ^= (a >> 47);
  185|  11.6k|  uint64_t b = (high ^ a) * kMul;
  186|  11.6k|  b ^= (b >> 47);
  187|  11.6k|  b *= kMul;
  188|  11.6k|  return b;
  189|  11.6k|}
_ZN7llvm_ks7hashing6detail15hash_4to8_bytesEPKcmm:
  200|  11.5k|inline uint64_t hash_4to8_bytes(const char *s, size_t len, uint64_t seed) {
  201|  11.5k|  uint64_t a = fetch32(s);
  202|  11.5k|  return hash_16_bytes(len + (a << 3), seed ^ fetch32(s + len - 4));
  203|  11.5k|}
_ZN7llvm_ks7hashing6detail16hash_9to16_bytesEPKcmm:
  205|    135|inline uint64_t hash_9to16_bytes(const char *s, size_t len, uint64_t seed) {
  206|    135|  uint64_t a = fetch64(s);
  207|    135|  uint64_t b = fetch64(s + len - 8);
  208|    135|  return hash_16_bytes(seed ^ a, rotate(b + len, len)) ^ b;
  209|    135|}
_ZN7llvm_ks7hashing6detail10hash_shortEPKcmm:
  243|  11.7k|inline uint64_t hash_short(const char *s, size_t length, uint64_t seed) {
  244|  11.7k|  if (length >= 4 && length <= 8)
  ------------------
  |  Branch (244:7): [True: 11.6k, False: 153]
  |  Branch (244:22): [True: 11.5k, False: 135]
  ------------------
  245|  11.5k|    return hash_4to8_bytes(s, length, seed);
  246|    288|  if (length > 8 && length <= 16)
  ------------------
  |  Branch (246:7): [True: 135, False: 153]
  |  Branch (246:21): [True: 135, False: 0]
  ------------------
  247|    135|    return hash_9to16_bytes(s, length, seed);
  248|    153|  if (length > 16 && length <= 32)
  ------------------
  |  Branch (248:7): [True: 0, False: 153]
  |  Branch (248:22): [True: 0, False: 0]
  ------------------
  249|      0|    return hash_17to32_bytes(s, length, seed);
  250|    153|  if (length > 32)
  ------------------
  |  Branch (250:7): [True: 0, False: 153]
  ------------------
  251|      0|    return hash_33to64_bytes(s, length, seed);
  252|    153|  if (length != 0)
  ------------------
  |  Branch (252:7): [True: 0, False: 153]
  ------------------
  253|      0|    return hash_1to3_bytes(s, length, seed);
  254|       |
  255|    153|  return k2 ^ seed;
  256|    153|}
_ZN7llvm_ks7hashing6detail18get_execution_seedEv:
  322|  11.7k|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|  11.7k|  const uint64_t seed_prime = 0xff51afd7ed558ccdULL;
  330|  11.7k|  static size_t seed = fixed_seed_override ? fixed_seed_override
  ------------------
  |  Branch (330:24): [True: 0, False: 11.7k]
  ------------------
  331|  11.7k|                                           : (size_t)seed_prime;
  332|  11.7k|  return seed;
  333|  11.7k|}
_ZN7llvm_ks18hash_combine_rangeIPKcEENS_9hash_codeET_S4_:
  481|  11.7k|hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
  482|  11.7k|  return ::llvm_ks::hashing::detail::hash_combine_range_impl(first, last);
  483|  11.7k|}
_ZN7llvm_ks7hashing6detail23hash_combine_range_implIKcEENSt3__19enable_ifIXsr16is_hashable_dataIT_EE5valueENS_9hash_codeEE4typeEPS6_SA_:
  449|  11.7k|hash_combine_range_impl(ValueT *first, ValueT *last) {
  450|  11.7k|  const size_t seed = get_execution_seed();
  451|  11.7k|  const char *s_begin = reinterpret_cast<const char *>(first);
  452|  11.7k|  const char *s_end = reinterpret_cast<const char *>(last);
  453|  11.7k|  const size_t length = std::distance(s_begin, s_end);
  454|  11.7k|  if (length <= 64)
  ------------------
  |  Branch (454:7): [True: 11.7k, False: 0]
  ------------------
  455|  11.7k|    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|  11.7k|}

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

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

_ZN7llvm_ks14array_lengthofIbLm4EEEmRAT0__T_:
  282|   101k|LLVM_CONSTEXPR inline size_t array_lengthof(T (&)[N]) {
  283|   101k|  return N;
  284|   101k|}
SparcAsmParser.cpp:_ZN7llvm_ks11make_uniqueIN12_GLOBAL__N_112SparcOperandEJNS2_6KindTyEEEENSt3__19enable_ifIXntsr3std8is_arrayIT_EE5valueENS4_10unique_ptrIS6_NS4_14default_deleteIS6_EEEEE4typeEDpOT0_:
  404|   141k|make_unique(Args &&... args) {
  405|   141k|  return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
  406|   141k|}
_ZN7llvm_ks14array_lengthofIKNS_15MCFixupKindInfoELm16EEEmRAT0__T_:
  282|  23.6k|LLVM_CONSTEXPR inline size_t array_lengthof(T (&)[N]) {
  283|  23.6k|  return N;
  284|  23.6k|}

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

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

_ZN7llvm_ks11SmallStringILj1024EEC2Ev:
   28|  12.6k|  SmallString() {}
_ZNK7llvm_ks11SmallStringILj128EEcvNS_9StringRefEEv:
  277|   386k|  operator StringRef() const { return str(); }
_ZNK7llvm_ks11SmallStringILj128EE3strEv:
  267|   386k|  StringRef str() const { return StringRef(this->begin(), this->size()); }
_ZN7llvm_ks11SmallStringILj128EEC2Ev:
   28|   490k|  SmallString() {}
_ZN7llvm_ks11SmallStringILj128EEC2ENS_9StringRefE:
   31|   197k|  SmallString(StringRef S) : SmallVector<char, InternalLen>(S.begin(), S.end()) {}
_ZN7llvm_ks11SmallStringILj64EEC2Ev:
   28|  9.46k|  SmallString() {}
_ZN7llvm_ks11SmallStringILj64EEpLENS_9StringRefE:
  285|  18.9k|  SmallString &operator+=(StringRef RHS) {
  286|  18.9k|    this->append(RHS.begin(), RHS.end());
  287|  18.9k|    return *this;
  288|  18.9k|  }
_ZN7llvm_ks11SmallStringILj64EE6appendIPKcEEvT_S5_:
   74|  18.9k|  void append(in_iter S, in_iter E) {
   75|  18.9k|    SmallVectorImpl<char>::append(S, E);
   76|  18.9k|  }
_ZNK7llvm_ks11SmallStringILj64EEcvNS_9StringRefEEv:
  277|  9.46k|  operator StringRef() const { return str(); }
_ZNK7llvm_ks11SmallStringILj64EE3strEv:
  267|  9.46k|  StringRef str() const { return StringRef(this->begin(), this->size()); }
_ZN7llvm_ks11SmallStringILj256EEC2Ev:
   28|   155k|  SmallString() {}
_ZN7llvm_ks11SmallStringILj16384EEC2Ev:
   28|      1|  SmallString() {}

_ZN7llvm_ks15SmallVectorImplIcED2Ev:
  368|  1.07M|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  1.07M|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  1.07M|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 1.75k, False: 1.07M]
  ------------------
  374|  1.75k|      free(this->begin());
  375|  1.07M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE13destroy_rangeEPcS2_:
  284|  1.09M|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE5beginEv:
  113|  1.57M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE3endEv:
  117|   626M|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE7isSmallEv:
   86|  1.07M|  bool isSmall() const {
   87|  1.07M|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  1.07M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE4sizeEv:
  132|  49.1M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE3endEv:
  119|  49.3M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE5beginEv:
  115|  50.0M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE4dataEv:
  139|  30.7k|  pointer data() { return pointer(begin()); }
_ZN7llvm_ks11SmallVectorIcLj1024EEC2Ev:
  872|  12.6k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  12.6k|  }
_ZN7llvm_ks15SmallVectorImplIcEC2Ej:
  364|  1.07M|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  1.07M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EEC2Em:
  281|  1.07M|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIcvEC2Em:
   78|  1.07M|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorBaseC2EPvm:
   40|  9.37M|    : BeginX(FirstEl), EndX(FirstEl), CapacityX((char*)FirstEl+Size) {}
_ZNK7llvm_ks15SmallVectorBase13size_in_bytesEv:
   48|  13.6k|  size_t size_in_bytes() const {
   49|  13.6k|    return size_t((char*)EndX - (char*)BeginX);
   50|  13.6k|  }
_ZNK7llvm_ks15SmallVectorBase17capacity_in_bytesEv:
   53|  13.6k|  size_t capacity_in_bytes() const {
   54|  13.6k|    return size_t((char*)CapacityX - (char*)BeginX);
   55|  13.6k|  }
_ZNK7llvm_ks15SmallVectorBase5emptyEv:
   57|   282M|  bool LLVM_ATTRIBUTE_UNUSED_RESULT empty() const { return BeginX == EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE4dataEv:
  141|  12.4k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EE13destroy_rangeEPS1_S3_:
  284|  12.2k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE7isSmallEv:
   86|  8.85k|  bool isSmall() const {
   87|  8.85k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  8.85k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEixEm:
  149|  7.47k|  const_reference operator[](size_type idx) const {
  150|  7.47k|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 7.47k, False: 0]
  ------------------
  151|  7.47k|    return begin()[idx];
  152|  7.47k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEixEm:
  144|  9.60k|  reference operator[](size_type idx) {
  145|  9.60k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 9.60k, False: 0]
  ------------------
  146|  9.60k|    return begin()[idx];
  147|  9.60k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE4sizeEv:
  132|  27.0k|  size_type size() const { return end()-begin(); }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EE9push_backERKS1_:
  337|  7.47k|  void push_back(const T &Elt) {
  338|  7.47k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  7.47k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 7.47k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  7.47k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  7.47k|    this->setEnd(this->end()+1);
  342|  7.47k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE6setEndEPS1_:
   95|  10.7k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEE5clearEv:
  378|  3.39k|  void clear() {
  379|  3.39k|    this->destroy_range(this->begin(), this->end());
  380|  3.39k|    this->EndX = this->BeginX;
  381|  3.39k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE5beginEv:
  113|  28.4k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE5beginEv:
  115|  41.0k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE3endEv:
  117|  27.1k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE3endEv:
  119|  30.3k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE13destroy_rangeEPS1_S3_:
  284|  11.9k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE5beginEv:
  113|  20.9k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE3endEv:
  117|  65.8k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE7isSmallEv:
   86|  11.9k|  bool isSmall() const {
   87|  11.9k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  11.9k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEEaSERKS2_:
  739|  3.28k|  operator=(const SmallVectorImpl<T> &RHS) {
  740|       |  // Avoid self-assignment.
  741|  3.28k|  if (this == &RHS) return *this;
  ------------------
  |  Branch (741:7): [True: 0, False: 3.28k]
  ------------------
  742|       |
  743|       |  // If we already have sufficient space, assign the common elements, then
  744|       |  // destroy any excess.
  745|  3.28k|  size_t RHSSize = RHS.size();
  746|  3.28k|  size_t CurSize = this->size();
  747|  3.28k|  if (CurSize >= RHSSize) {
  ------------------
  |  Branch (747:7): [True: 0, False: 3.28k]
  ------------------
  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|  3.28k|  if (this->capacity() < RHSSize) {
  ------------------
  |  Branch (766:7): [True: 0, False: 3.28k]
  ------------------
  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|  3.28k|  } else if (CurSize) {
  ------------------
  |  Branch (772:14): [True: 0, False: 3.28k]
  ------------------
  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|  3.28k|  this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
  779|  3.28k|                           this->begin()+CurSize);
  780|       |
  781|       |  // Set end.
  782|  3.28k|  this->setEnd(this->begin()+RHSSize);
  783|  3.28k|  return *this;
  784|  3.28k|}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE8capacityEv:
  136|  3.28k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE12capacity_ptrEv:
  122|  3.28k|  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|  3.28k|                                           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|  3.28k|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 3.28k, False: 0]
  ------------------
  328|  3.28k|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|  3.28k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE9push_backERKc:
  337|  9.46k|  void push_back(const T &Elt) {
  338|  9.46k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  9.46k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 9.46k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  9.46k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  9.46k|    this->setEnd(this->end()+1);
  342|  9.46k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE4growEm:
  333|  5.07k|  void grow(size_t MinSize = 0) {
  334|  5.07k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  5.07k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE8grow_podEmm:
   80|  5.07k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  5.07k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  5.07k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE6setEndEPc:
   95|   208M|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEELb0EE13destroy_rangeEPS7_S9_:
  180|     70|  static void destroy_range(T *S, T *E) {
  181|     70|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 70]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|     70|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvE5beginEv:
  113|     70|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvE3endEv:
  117|     70|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvE7isSmallEv:
   86|     70|  bool isSmall() const {
   87|     70|    return BeginX == static_cast<const void*>(&FirstEl);
   88|     70|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_11MCDwarfFileELb0EE13destroy_rangeEPS1_S3_:
  180|     70|  static void destroy_range(T *S, T *E) {
  181|     70|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 70]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|     70|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE5beginEv:
  113|     70|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE3endEv:
  117|     70|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE7isSmallEv:
   86|     70|  bool isSmall() const {
   87|     70|    return BeginX == static_cast<const void*>(&FirstEl);
   88|     70|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE3endEv:
  117|   171k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE4growEm:
  333|    830|  void grow(size_t MinSize = 0) {
  334|    830|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|    830|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE8grow_podEmm:
   80|    830|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|    830|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|    830|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE6setEndEPS2_:
   95|  52.9k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE13destroy_rangeEPS2_S4_:
  284|  39.1k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE5beginEv:
  113|  65.9k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE7isSmallEv:
   86|  12.6k|  bool isSmall() const {
   87|  12.6k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  12.6k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_14MCLOHDirectiveELb0EE13destroy_rangeEPS1_S3_:
  180|  12.6k|  static void destroy_range(T *S, T *E) {
  181|  12.6k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 12.6k]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|  12.6k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE5beginEv:
  113|  12.6k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE3endEv:
  117|  12.6k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE7isSmallEv:
   86|  12.6k|  bool isSmall() const {
   87|  12.6k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  12.6k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEE5clearEv:
  378|  26.4k|  void clear() {
  379|  26.4k|    this->destroy_range(this->begin(), this->end());
  380|  26.4k|    this->EndX = this->BeginX;
  381|  26.4k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE4backEv:
  167|  98.4M|  const_reference back() const {
  168|  98.4M|    assert(!empty());
  ------------------
  |  Branch (168:5): [True: 98.4M, False: 0]
  ------------------
  169|  98.4M|    return end()[-1];
  170|  98.4M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE3endEv:
  119|  98.4M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EE9push_backERKS9_:
  337|  12.6k|  void push_back(const T &Elt) {
  338|  12.6k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  12.6k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 12.6k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  12.6k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  12.6k|    this->setEnd(this->end()+1);
  342|  12.6k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE6setEndEPS9_:
   95|  12.6k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE3endEv:
  117|   103k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE4backEv:
  163|  65.2k|  reference back() {
  164|  65.2k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 65.2k, False: 0]
  ------------------
  165|  65.2k|    return end()[-1];
  166|  65.2k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE5beginEv:
  115|   704k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE4sizeEv:
  132|   704k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE3endEv:
  119|   704k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks15SmallVectorImplIcE5clearEv:
  378|  25.3k|  void clear() {
  379|  25.3k|    this->destroy_range(this->begin(), this->end());
  380|  25.3k|    this->EndX = this->BeginX;
  381|  25.3k|  }
_ZN7llvm_ks15SmallVectorImplIcE6appendIPKcEEvT_S5_:
  423|   208M|  void append(in_iter in_start, in_iter in_end) {
  424|   208M|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|   208M|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 4.26k, False: 208M]
  ------------------
  427|  4.26k|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|   208M|    this->uninitialized_copy(in_start, in_end, this->end());
  431|   208M|    this->setEnd(this->end() + NumInputs);
  432|   208M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE12capacity_ptrEv:
  121|   208M|  iterator capacity_ptr() { return (iterator)this->CapacityX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyIKccEEvPT_S5_PT0_PNSt3__19enable_ifIXsr3std7is_sameINS8_12remove_constIS4_E4typeES6_EE5valueEvE4typeE:
  322|   208M|                                           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|   208M|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 208M, False: 112]
  ------------------
  328|   208M|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|   208M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE9push_backERKS4_:
  337|      6|  void push_back(const T &Elt) {
  338|      6|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|      6|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 6, False: 0]
  |  |  ------------------
  ------------------
  339|      6|      this->grow();
  340|      6|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|      6|    this->setEnd(this->end()+1);
  342|      6|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE4growEm:
  333|      6|  void grow(size_t MinSize = 0) {
  334|      6|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|      6|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE8grow_podEmm:
   80|      6|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|      6|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|      6|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE3endEv:
  117|   481k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE6setEndEPS4_:
   95|      6|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE4sizeEv:
  132|  54.4k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE3endEv:
  119|  54.4k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE5beginEv:
  115|  54.4k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE9push_backERKS1_:
  337|  54.4k|  void push_back(const T &Elt) {
  338|  54.4k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  54.4k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 317, False: 54.0k]
  |  |  ------------------
  ------------------
  339|    317|      this->grow();
  340|  54.4k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  54.4k|    this->setEnd(this->end()+1);
  342|  54.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE4growEm:
  333|    317|  void grow(size_t MinSize = 0) {
  334|    317|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|    317|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE8grow_podEmm:
   80|    317|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|    317|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|    317|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE3endEv:
  117|   604k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE6setEndEPS1_:
   95|  92.7k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5beginEv:
  113|  36.6M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE5eraseEPS1_:
  462|  12.2M|  iterator erase(iterator I) {
  463|  12.2M|    assert(I >= this->begin() && "Iterator to erase is out of bounds.");
  ------------------
  |  Branch (463:5): [True: 12.2M, False: 0]
  |  Branch (463:5): [True: 12.2M, Folded]
  |  Branch (463:5): [True: 12.2M, False: 0]
  ------------------
  464|  12.2M|    assert(I < this->end() && "Erasing at past-the-end iterator.");
  ------------------
  |  Branch (464:5): [True: 12.2M, False: 0]
  |  Branch (464:5): [True: 12.2M, Folded]
  |  Branch (464:5): [True: 12.2M, False: 0]
  ------------------
  465|       |
  466|  12.2M|    iterator N = I;
  467|       |    // Shift all elts down one.
  468|  12.2M|    this->move(I+1, this->end(), I);
  469|       |    // Drop the last elt.
  470|  12.2M|    this->pop_back();
  471|  12.2M|    return(N);
  472|  12.2M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE3endEv:
  117|  73.2M|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE4moveIPS1_S4_EET0_T_S6_S5_:
  191|  12.2M|  static It2 move(It1 I, It1 E, It2 Dest) {
  192|  12.2M|    for (; I != E; ++I, ++Dest)
  ------------------
  |  Branch (192:12): [True: 0, False: 12.2M]
  ------------------
  193|      0|      *Dest = ::std::move(*I);
  194|  12.2M|    return Dest;
  195|  12.2M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE8pop_backEv:
  243|  12.2M|  void pop_back() {
  244|  12.2M|    this->setEnd(this->end()-1);
  245|  12.2M|    this->end()->~T();
  246|  12.2M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE6setEndEPS1_:
   95|  24.4M|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE12emplace_backIJS1_EEEvDpOT_:
  659|  12.2M|  template <typename... ArgTypes> void emplace_back(ArgTypes &&... Args) {
  660|  12.2M|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  12.2M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 12.2M]
  |  |  ------------------
  ------------------
  661|      0|      this->grow();
  662|  12.2M|    ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...);
  663|  12.2M|    this->setEnd(this->end() + 1);
  664|  12.2M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5beginEv:
  115|   106M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE4sizeEv:
  132|  53.4M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE3endEv:
  119|  53.4M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE13destroy_rangeEPS1_S3_:
  180|  12.6k|  static void destroy_range(T *S, T *E) {
  181|  25.3k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 12.6k, False: 12.6k]
  ------------------
  182|  12.6k|      --E;
  183|  12.6k|      E->~T();
  184|  12.6k|    }
  185|  12.6k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE7isSmallEv:
   86|  12.6k|  bool isSmall() const {
   87|  12.6k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  12.6k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5frontEv:
  154|  12.2M|  reference front() {
  155|  12.2M|    assert(!empty());
  ------------------
  |  Branch (155:5): [True: 12.2M, False: 0]
  ------------------
  156|  12.2M|    return begin()[0];
  157|  12.2M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvEixEm:
  149|  53.4M|  const_reference operator[](size_type idx) const {
  150|  53.4M|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 53.4M, False: 0]
  ------------------
  151|  53.4M|    return begin()[idx];
  152|  53.4M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EE13destroy_rangeEPS1_S3_:
  180|  30.1k|  static void destroy_range(T *S, T *E) {
  181|  30.1k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 30.1k]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|  30.1k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE5beginEv:
  113|  60.3k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE3endEv:
  117|   150k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE7isSmallEv:
   86|  30.1k|  bool isSmall() const {
   87|  30.1k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  30.1k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE5beginEv:
  115|  47.1k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE4sizeEv:
  132|  23.5k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE3endEv:
  119|  23.5k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE6setEndEPS1_:
   95|  30.1k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE4dataEv:
  141|  23.5k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks11SmallVectorINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEELj3EEC2Ev:
  872|     70|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     70|  }
_ZN7llvm_ks15SmallVectorImplINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEC2Ej:
  364|     70|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|     70|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEELb0EEC2Em:
  178|     70|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvEC2Em:
   78|     70|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_11MCDwarfFileELj3EEC2Ev:
  872|     70|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     70|  }
_ZN7llvm_ks15SmallVectorImplINS_11MCDwarfFileEEC2Ej:
  364|     70|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|     70|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_11MCDwarfFileELb0EEC2Em:
  178|     70|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvEC2Em:
   78|     70|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_11MCDwarfFileEED2Ev:
  368|     70|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|     70|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|     70|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 70]
  ------------------
  374|      0|      free(this->begin());
  375|     70|  }
_ZN7llvm_ks15SmallVectorImplINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEED2Ev:
  368|     70|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|     70|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|     70|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 70]
  ------------------
  374|      0|      free(this->begin());
  375|     70|  }
_ZN7llvm_ks11SmallVectorIcLj128EEC2Ev:
  872|   490k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   490k|  }
_ZN7llvm_ks11SmallVectorIPvLj4EEC2Ev:
  872|  76.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  76.0k|  }
_ZN7llvm_ks15SmallVectorImplIPvEC2Ej:
  364|  76.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  76.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EEC2Em:
  281|  76.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvEC2Em:
   78|  76.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINSt3__14pairIPvmEELj0EEC2Ev:
  872|  76.0k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  76.0k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEEC2Ej:
  364|  76.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  76.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EEC2Em:
  281|  76.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvEC2Em:
   78|  76.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIPvED2Ev:
  368|  76.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  76.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  76.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 166, False: 75.8k]
  ------------------
  374|    166|      free(this->begin());
  375|  76.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE13destroy_rangeEPS1_S3_:
  284|   114k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE5beginEv:
  113|   512k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE7isSmallEv:
   86|  76.0k|  bool isSmall() const {
   87|  76.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  76.0k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE5beginEv:
  113|   481k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEED2Ev:
  368|  76.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  76.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  76.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 4, False: 76.0k]
  ------------------
  374|      4|      free(this->begin());
  375|  76.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE13destroy_rangeEPS4_S6_:
  284|   190k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE7isSmallEv:
   86|  76.0k|  bool isSmall() const {
   87|  76.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  76.0k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE4backEv:
  163|  51.0k|  reference back() {
  164|  51.0k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 51.0k, False: 0]
  ------------------
  165|  51.0k|    return end()[-1];
  166|  51.0k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEE5clearEv:
  378|   114k|  void clear() {
  379|   114k|    this->destroy_range(this->begin(), this->end());
  380|   114k|    this->EndX = this->BeginX;
  381|   114k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE5frontEv:
  154|  38.3k|  reference front() {
  155|  38.3k|    assert(!empty());
  ------------------
  |  Branch (155:5): [True: 38.3k, False: 0]
  ------------------
  156|  38.3k|    return begin()[0];
  157|  38.3k|  }
_ZN7llvm_ks15SmallVectorImplIPvE5eraseEPS1_S3_:
  474|  38.3k|  iterator erase(iterator S, iterator E) {
  475|  38.3k|    assert(S >= this->begin() && "Range to erase is out of bounds.");
  ------------------
  |  Branch (475:5): [True: 38.3k, False: 0]
  |  Branch (475:5): [True: 38.3k, Folded]
  |  Branch (475:5): [True: 38.3k, False: 0]
  ------------------
  476|  38.3k|    assert(S <= E && "Trying to erase invalid range.");
  ------------------
  |  Branch (476:5): [True: 38.3k, False: 0]
  |  Branch (476:5): [True: 38.3k, Folded]
  |  Branch (476:5): [True: 38.3k, False: 0]
  ------------------
  477|  38.3k|    assert(E <= this->end() && "Trying to erase past the end.");
  ------------------
  |  Branch (477:5): [True: 38.3k, False: 0]
  |  Branch (477:5): [True: 38.3k, Folded]
  |  Branch (477:5): [True: 38.3k, False: 0]
  ------------------
  478|       |
  479|  38.3k|    iterator N = S;
  480|       |    // Shift all elts down.
  481|  38.3k|    iterator I = this->move(E, this->end(), S);
  482|       |    // Drop the last elts.
  483|  38.3k|    this->destroy_range(I, this->end());
  484|  38.3k|    this->setEnd(I);
  485|  38.3k|    return(N);
  486|  38.3k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE4moveIPS1_S4_EET0_T_S6_S5_:
  289|  38.3k|  static It2 move(It1 I, It1 E, It2 Dest) {
  290|  38.3k|    return ::std::copy(I, E, Dest);
  291|  38.3k|  }
_ZN7llvm_ks11SmallVectorIcLj128EEC2IPKcEET_S5_:
  881|   197k|  SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
  882|   197k|    this->append(S, E);
  883|   197k|  }
_ZN7llvm_ks15SmallVectorImplIcE6resizeEm:
  383|  61.6k|  void resize(size_type N) {
  384|  61.6k|    if (N < this->size()) {
  ------------------
  |  Branch (384:9): [True: 0, False: 61.6k]
  ------------------
  385|      0|      this->destroy_range(this->begin()+N, this->end());
  386|      0|      this->setEnd(this->begin()+N);
  387|  61.6k|    } else if (N > this->size()) {
  ------------------
  |  Branch (387:16): [True: 0, False: 61.6k]
  ------------------
  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|  61.6k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE8capacityEv:
  136|   220k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE12capacity_ptrEv:
  122|   220k|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZN7llvm_ks11SmallVectorIcLj128EEC2ERKS1_:
  895|   197k|  SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) {
  896|   197k|    if (!RHS.empty())
  ------------------
  |  Branch (896:9): [True: 197k, False: 0]
  ------------------
  897|   197k|      SmallVectorImpl<T>::operator=(RHS);
  898|   197k|  }
_ZN7llvm_ks15SmallVectorImplIcEaSERKS1_:
  739|   197k|  operator=(const SmallVectorImpl<T> &RHS) {
  740|       |  // Avoid self-assignment.
  741|   197k|  if (this == &RHS) return *this;
  ------------------
  |  Branch (741:7): [True: 0, False: 197k]
  ------------------
  742|       |
  743|       |  // If we already have sufficient space, assign the common elements, then
  744|       |  // destroy any excess.
  745|   197k|  size_t RHSSize = RHS.size();
  746|   197k|  size_t CurSize = this->size();
  747|   197k|  if (CurSize >= RHSSize) {
  ------------------
  |  Branch (747:7): [True: 0, False: 197k]
  ------------------
  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|   197k|  if (this->capacity() < RHSSize) {
  ------------------
  |  Branch (766:7): [True: 123, False: 197k]
  ------------------
  767|       |    // Destroy current elements.
  768|    123|    this->destroy_range(this->begin(), this->end());
  769|    123|    this->setEnd(this->begin());
  770|    123|    CurSize = 0;
  771|    123|    this->grow(RHSSize);
  772|   197k|  } else if (CurSize) {
  ------------------
  |  Branch (772:14): [True: 0, False: 197k]
  ------------------
  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|   197k|  this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
  779|   197k|                           this->begin()+CurSize);
  780|       |
  781|       |  // Set end.
  782|   197k|  this->setEnd(this->begin()+RHSSize);
  783|   197k|  return *this;
  784|   197k|}
_ZN7llvm_ks11SmallVectorIcLj64EEC2Ev:
  872|  9.46k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  9.46k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE4sizeEv:
  132|     69|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE3endEv:
  119|     69|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE5beginEv:
  115|     69|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyIccEEvPT_S4_PT0_PNSt3__19enable_ifIXsr3std7is_sameINS7_12remove_constIS3_E4typeES5_EE5valueEvE4typeE:
  322|  3.39k|                                           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|  3.39k|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 3.39k, False: 0]
  ------------------
  328|  3.39k|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|  3.39k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_14MCDataFragmentEED2Ev:
  368|  12.6k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  12.6k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  12.6k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 12.6k]
  ------------------
  374|      0|      free(this->begin());
  375|  12.6k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_14MCDataFragmentELb1EE13destroy_rangeEPS2_S4_:
  284|  12.6k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE5beginEv:
  113|  12.6k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE3endEv:
  117|  12.6k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE7isSmallEv:
   86|  12.6k|  bool isSmall() const {
   87|  12.6k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  12.6k|  }
_ZN7llvm_ks11SmallVectorIcLj32EEC2Ev:
  872|  8.51k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  8.51k|  }
_ZN7llvm_ks15SmallVectorImplINS_7MCFixupEED2Ev:
  368|  11.9k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  11.9k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  11.9k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 515, False: 11.3k]
  ------------------
  374|    515|      free(this->begin());
  375|  11.9k|  }
_ZN7llvm_ks11SmallVectorIPNS_14MCDataFragmentELj4EEC2Ev:
  872|  12.6k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  12.6k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_14MCDataFragmentEEC2Ej:
  364|  12.6k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  12.6k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_14MCDataFragmentELb1EEC2Em:
  281|  12.6k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvEC2Em:
   78|  12.6k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorIcLj256EEC2Ev:
  872|   155k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   155k|  }
_ZN7llvm_ks15SmallVectorImplIcE6appendIPcEEvT_S4_:
  423|  3.39k|  void append(in_iter in_start, in_iter in_end) {
  424|  3.39k|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|  3.39k|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 131, False: 3.25k]
  ------------------
  427|    131|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|  3.39k|    this->uninitialized_copy(in_start, in_end, this->end());
  431|  3.39k|    this->setEnd(this->end() + NumInputs);
  432|  3.39k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE4sizeEv:
  132|  22.3k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE3endEv:
  119|  22.3k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE5beginEv:
  115|  29.3k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvEixEm:
  144|  8.54k|  reference operator[](size_type idx) {
  145|  8.54k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 8.54k, False: 0]
  ------------------
  146|  8.54k|    return begin()[idx];
  147|  8.54k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE9push_backERKS1_:
  337|  26.9k|  void push_back(const T &Elt) {
  338|  26.9k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  26.9k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 1.13k, False: 25.8k]
  |  |  ------------------
  ------------------
  339|  1.13k|      this->grow();
  340|  26.9k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  26.9k|    this->setEnd(this->end()+1);
  342|  26.9k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE4growEm:
  333|  1.13k|  void grow(size_t MinSize = 0) {
  334|  1.13k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  1.13k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE8grow_podEmm:
   80|  1.13k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  1.13k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  1.13k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE6setEndEPS1_:
   95|  26.9k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks11SmallVectorINS_7MCFixupELj4EEC2Ev:
  872|  11.9k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  11.9k|  }
_ZN7llvm_ks15SmallVectorImplINS_7MCFixupEEC2Ej:
  364|  11.9k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  11.9k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EEC2Em:
  281|  11.9k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvEC2Em:
   78|  11.9k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIPNS_9MCSectionEED2Ev:
  368|  6.46k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  6.46k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  6.46k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 6.46k]
  ------------------
  374|      0|      free(this->begin());
  375|  6.46k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EE13destroy_rangeEPS2_S4_:
  284|  6.46k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE5beginEv:
  113|  19.7k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE3endEv:
  117|  19.7k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE7isSmallEv:
   86|  6.46k|  bool isSmall() const {
   87|  6.46k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  6.46k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEED2Ev:
  368|  8.85k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  8.85k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  8.85k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 8.85k]
  ------------------
  374|      0|      free(this->begin());
  375|  8.85k|  }
_ZN7llvm_ks11SmallVectorIPNS_9MCSectionELj16EEC2Ev:
  872|  6.46k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  6.46k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_9MCSectionEEC2Ej:
  364|  6.46k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  6.46k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EEC2Em:
  281|  6.46k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvEC2Em:
   78|  6.46k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EE9push_backERKS2_:
  337|  6.63k|  void push_back(const T &Elt) {
  338|  6.63k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  6.63k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 6.63k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  6.63k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  6.63k|    this->setEnd(this->end()+1);
  342|  6.63k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE6setEndEPS2_:
   95|  6.63k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEED2Ev:
  368|  12.6k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  12.6k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  12.6k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 382, False: 12.2k]
  ------------------
  374|    382|      free(this->begin());
  375|  12.6k|  }
_ZN7llvm_ks11SmallVectorINS_9MCOperandELj8EEC2Ev:
  872|  5.46k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  5.46k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEEC2Ej:
  364|  8.85k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  8.85k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EEC2Em:
  281|  8.85k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEC2Em:
   78|  8.85k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_9MCOperandELj8EEC2ERKS2_:
  895|  3.39k|  SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) {
  896|  3.39k|    if (!RHS.empty())
  ------------------
  |  Branch (896:9): [True: 3.28k, False: 106]
  ------------------
  897|  3.28k|      SmallVectorImpl<T>::operator=(RHS);
  898|  3.39k|  }
_ZN7llvm_ks11SmallVectorIPNS_8MCSymbolELj2EEC2Ev:
  872|  12.6k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  12.6k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEEC2Ej:
  364|  12.6k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  12.6k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EEC2Em:
  281|  12.6k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvEC2Em:
   78|  12.6k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIcE6resizeEmRKc:
  396|  22.7k|  void resize(size_type N, const T &NV) {
  397|  22.7k|    if (N < this->size()) {
  ------------------
  |  Branch (397:9): [True: 0, False: 22.7k]
  ------------------
  398|      0|      this->destroy_range(this->begin()+N, this->end());
  399|      0|      this->setEnd(this->begin()+N);
  400|  22.7k|    } else if (N > this->size()) {
  ------------------
  |  Branch (400:16): [True: 22.7k, False: 0]
  ------------------
  401|  22.7k|      if (this->capacity() < N)
  ------------------
  |  Branch (401:11): [True: 560, False: 22.1k]
  ------------------
  402|    560|        this->grow(N);
  403|  22.7k|      std::uninitialized_fill(this->end(), this->begin()+N, NV);
  404|  22.7k|      this->setEnd(this->begin()+N);
  405|  22.7k|    }
  406|  22.7k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE9push_backERKS2_:
  337|  52.9k|  void push_back(const T &Elt) {
  338|  52.9k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  52.9k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 830, False: 52.1k]
  |  |  ------------------
  ------------------
  339|    830|      this->grow();
  340|  52.9k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  52.9k|    this->setEnd(this->end()+1);
  342|  52.9k|  }
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEED2Ev:
  368|  30.1k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  30.1k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  30.1k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 30.1k]
  ------------------
  374|      0|      free(this->begin());
  375|  30.1k|  }
_ZN7llvm_ks11SmallVectorINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELj8EEC2Ev:
  872|  7.26M|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  7.26M|  }
_ZN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEEC2Ej:
  364|  7.26M|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  7.26M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EEC2Em:
  178|  7.26M|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvEC2Em:
   78|  7.26M|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_5SMLocELj4EEC2Ev:
  872|  25.3k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  25.3k|  }
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEEC2Ej:
  364|  25.3k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  25.3k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EEC2Em:
  281|  25.3k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvEC2Em:
   78|  25.3k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEE6resizeEm:
  383|  34.4k|  void resize(size_type N) {
  384|  34.4k|    if (N < this->size()) {
  ------------------
  |  Branch (384:9): [True: 0, False: 34.4k]
  ------------------
  385|      0|      this->destroy_range(this->begin()+N, this->end());
  386|      0|      this->setEnd(this->begin()+N);
  387|  34.4k|    } else if (N > this->size()) {
  ------------------
  |  Branch (387:16): [True: 11.3k, False: 23.1k]
  ------------------
  388|  11.3k|      if (this->capacity() < N)
  ------------------
  |  Branch (388:11): [True: 2.07k, False: 9.23k]
  ------------------
  389|  2.07k|        this->grow(N);
  390|  67.7k|      for (auto I = this->end(), E = this->begin() + N; I != E; ++I)
  ------------------
  |  Branch (390:57): [True: 56.4k, False: 11.3k]
  ------------------
  391|  56.4k|        new (&*I) T();
  392|  11.3k|      this->setEnd(this->begin()+N);
  393|  11.3k|    }
  394|  34.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EE13destroy_rangeEPS1_S3_:
  284|  25.3k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE5beginEv:
  113|  60.3k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE3endEv:
  117|  36.6k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE6setEndEPS1_:
   95|  11.3k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE8capacityEv:
  136|  11.3k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE12capacity_ptrEv:
  122|  11.3k|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE5beginEv:
  115|   101k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EE4growEm:
  333|  2.07k|  void grow(size_t MinSize = 0) {
  334|  2.07k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  2.07k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE8grow_podEmm:
   80|  2.07k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  2.07k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  2.07k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE4sizeEv:
  132|  90.5k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE3endEv:
  119|  90.5k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvEixEm:
  144|  10.7k|  reference operator[](size_type idx) {
  145|  10.7k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 10.7k, False: 0]
  ------------------
  146|  10.7k|    return begin()[idx];
  147|  10.7k|  }
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEED2Ev:
  368|  25.3k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  25.3k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  25.3k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 1.58k, False: 23.7k]
  ------------------
  374|  1.58k|      free(this->begin());
  375|  25.3k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE7isSmallEv:
   86|  25.3k|  bool isSmall() const {
   87|  25.3k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  25.3k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEED2Ev:
  368|  7.26M|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  7.26M|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  7.26M|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 88, False: 7.26M]
  ------------------
  374|     88|      free(this->begin());
  375|  7.26M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE13destroy_rangeEPS6_S8_:
  180|  7.26M|  static void destroy_range(T *S, T *E) {
  181|  7.42M|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 152k, False: 7.26M]
  ------------------
  182|   152k|      --E;
  183|   152k|      E->~T();
  184|   152k|    }
  185|  7.26M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE5beginEv:
  113|  7.26M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE3endEv:
  117|  7.54M|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE7isSmallEv:
   86|  7.26M|  bool isSmall() const {
   87|  7.26M|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  7.26M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE4sizeEv:
  132|   153k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE3endEv:
  119|   153k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE5beginEv:
  115|   169k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEED2Ev:
  368|  12.6k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  12.6k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  12.6k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 12.6k]
  ------------------
  374|      0|      free(this->begin());
  375|  12.6k|  }
_ZN7llvm_ks11SmallVectorINS_8AsmTokenELj1EEC2Ev:
  872|  12.6k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  12.6k|  }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEEC2Ej:
  364|  12.6k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  12.6k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EEC2Em:
  178|  12.6k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvEC2Em:
   78|  12.6k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE12emplace_backIJNS1_9TokenKindENS_9StringRefEEEEvDpOT_:
  659|  12.6k|  template <typename... ArgTypes> void emplace_back(ArgTypes &&... Args) {
  660|  12.6k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  12.6k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 12.6k]
  |  |  ------------------
  ------------------
  661|      0|      this->grow();
  662|  12.6k|    ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...);
  663|  12.6k|    this->setEnd(this->end() + 1);
  664|  12.6k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjPNS_10MCFragmentEEEED2Ev:
  368|   551k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|   551k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|   551k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 551k]
  ------------------
  374|      0|      free(this->begin());
  375|   551k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjPNS_10MCFragmentEEELb1EE13destroy_rangeEPS5_S7_:
  284|   551k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE7isSmallEv:
   86|   551k|  bool isSmall() const {
   87|   551k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|   551k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairIjPNS_10MCFragmentEEELj1EEC2Ev:
  872|   551k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   551k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjPNS_10MCFragmentEEEEC2Ej:
  364|   551k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|   551k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjPNS_10MCFragmentEEELb1EEC2Em:
  281|   551k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvEC2Em:
   78|   551k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE5beginEv:
  113|   551k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE3endEv:
  117|   551k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvEixEm:
  144|   281k|  reference operator[](size_type idx) {
  145|   281k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 281k, False: 0]
  ------------------
  146|   281k|    return begin()[idx];
  147|   281k|  }
_ZN7llvm_ks15SmallVectorImplINS_9StringRefEED2Ev:
  368|   147k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|   147k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|   147k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 3.71k, False: 144k]
  ------------------
  374|  3.71k|      free(this->begin());
  375|   147k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE13destroy_rangeEPS1_S3_:
  284|   147k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE7isSmallEv:
   86|   147k|  bool isSmall() const {
   87|   147k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|   147k|  }
_ZN7llvm_ks11SmallVectorINS_9StringRefELj5EEC2Ev:
  872|  8.53k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  8.53k|  }
_ZN7llvm_ks15SmallVectorImplINS_9StringRefEEC2Ej:
  364|   147k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|   147k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EEC2Em:
  281|   147k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvEC2Em:
   78|   147k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_9StringRefELj1EEC2Ev:
  872|     22|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     22|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE5beginEv:
  113|   446k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE3endEv:
  117|   494k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEED2Ev:
  368|  12.6k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  12.6k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  12.6k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 12.6k]
  ------------------
  374|      0|      free(this->begin());
  375|  12.6k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EE13destroy_rangeEPS9_SB_:
  284|  12.6k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE5beginEv:
  113|  12.6k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE7isSmallEv:
   86|  12.6k|  bool isSmall() const {
   87|  12.6k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  12.6k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELj4EEC2Ev:
  872|  12.6k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  12.6k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEEC2Ej:
  364|  12.6k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  12.6k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EEC2Em:
  281|  12.6k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvEC2Em:
   78|  12.6k|  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|   167k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks11SmallVectorINS_9StringRefELj4EEC2Ev:
  872|   126k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   126k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE9push_backERKS1_:
  337|   167k|  void push_back(const T &Elt) {
  338|   167k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|   167k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 4.15k, False: 162k]
  |  |  ------------------
  ------------------
  339|  4.15k|      this->grow();
  340|   167k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|   167k|    this->setEnd(this->end()+1);
  342|   167k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE4growEm:
  333|  4.15k|  void grow(size_t MinSize = 0) {
  334|  4.15k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  4.15k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE8grow_podEmm:
   80|  4.15k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  4.15k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  4.15k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjjEEED2Ev:
  368|  29.2k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  29.2k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  29.2k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 29.2k]
  ------------------
  374|      0|      free(this->begin());
  375|  29.2k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EE13destroy_rangeEPS3_S5_:
  284|  29.2k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE5beginEv:
  113|  29.2k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE3endEv:
  117|  29.3k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE7isSmallEv:
   86|  29.2k|  bool isSmall() const {
   87|  29.2k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  29.2k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairIjjEELj4EEC2Ev:
  872|  29.2k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  29.2k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjjEEEC2Ej:
  364|  29.2k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  29.2k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EEC2Em:
  281|  29.2k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvEC2Em:
   78|  29.2k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EE9push_backERKS3_:
  337|     28|  void push_back(const T &Elt) {
  338|     28|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|     28|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 28]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|     28|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|     28|    this->setEnd(this->end()+1);
  342|     28|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE6setEndEPS3_:
   95|     28|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE4dataEv:
  141|  29.2k|  const_pointer data() const { return const_pointer(begin()); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE5beginEv:
  115|  58.5k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE4sizeEv:
  132|  29.2k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE3endEv:
  119|  29.2k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks11SmallVectorINS_7SMFixItELj4EEC2IPKS1_EET_S6_:
  881|  30.1k|  SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
  882|  30.1k|    this->append(S, E);
  883|  30.1k|  }
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEEC2Ej:
  364|  30.1k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  30.1k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EEC2Em:
  178|  30.1k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvEC2Em:
   78|  30.1k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEE6appendIPKS1_EEvT_S6_:
  423|  30.1k|  void append(in_iter in_start, in_iter in_end) {
  424|  30.1k|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|  30.1k|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 0, False: 30.1k]
  ------------------
  427|      0|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|  30.1k|    this->uninitialized_copy(in_start, in_end, this->end());
  431|  30.1k|    this->setEnd(this->end() + NumInputs);
  432|  30.1k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE12capacity_ptrEv:
  121|  30.1k|  iterator capacity_ptr() { return (iterator)this->CapacityX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EE18uninitialized_copyIPKS1_PS1_EEvT_S7_T0_:
  219|  30.1k|  static void uninitialized_copy(It1 I, It1 E, It2 Dest) {
  220|  30.1k|    std::uninitialized_copy(I, E, Dest);
  221|  30.1k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE9push_backEOS6_:
  236|   141k|  void push_back(T &&Elt) {
  237|   141k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|   141k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 203, False: 140k]
  |  |  ------------------
  ------------------
  238|    203|      this->grow();
  239|   141k|    ::new ((void*) this->end()) T(::std::move(Elt));
  240|   141k|    this->setEnd(this->end()+1);
  241|   141k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE4growEm:
  251|    203|void SmallVectorTemplateBase<T, isPodLike>::grow(size_t MinSize) {
  252|    203|  size_t CurCapacity = this->capacity();
  253|    203|  size_t CurSize = this->size();
  254|       |  // Always grow, even from zero.
  255|    203|  size_t NewCapacity = size_t(NextPowerOf2(CurCapacity+2));
  256|    203|  if (NewCapacity < MinSize)
  ------------------
  |  Branch (256:7): [True: 0, False: 203]
  ------------------
  257|      0|    NewCapacity = MinSize;
  258|    203|  T *NewElts = static_cast<T*>(malloc(NewCapacity*sizeof(T)));
  259|       |
  260|       |  // Move the elements over.
  261|    203|  this->uninitialized_move(this->begin(), this->end(), NewElts);
  262|       |
  263|       |  // Destroy the original elements.
  264|    203|  destroy_range(this->begin(), this->end());
  265|       |
  266|       |  // If this wasn't grown from the inline copy, deallocate the old space.
  267|    203|  if (!this->isSmall())
  ------------------
  |  Branch (267:7): [True: 115, False: 88]
  ------------------
  268|    115|    free(this->begin());
  269|       |
  270|    203|  this->setEnd(NewElts+CurSize);
  271|    203|  this->BeginX = NewElts;
  272|    203|  this->CapacityX = this->begin()+NewCapacity;
  273|    203|}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE8capacityEv:
  136|    203|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE12capacity_ptrEv:
  122|    203|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE18uninitialized_moveIPS6_S9_EEvT_SA_T0_:
  211|    203|  static void uninitialized_move(It1 I, It1 E, It2 Dest) {
  212|  12.1k|    for (; I != E; ++I, ++Dest)
  ------------------
  |  Branch (212:12): [True: 11.9k, False: 203]
  ------------------
  213|  11.9k|      ::new ((void*) &*Dest) T(::std::move(*I));
  214|    203|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE6setEndEPS6_:
   95|   141k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvEixEm:
  149|  15.4k|  const_reference operator[](size_type idx) const {
  150|  15.4k|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 15.4k, False: 0]
  ------------------
  151|  15.4k|    return begin()[idx];
  152|  15.4k|  }
_ZN7llvm_ks15SmallVectorImplINS_6MCInstEEC2Ej:
  364|  5.46k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  5.46k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_6MCInstELb0EEC2Em:
  178|  5.46k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvEC2Em:
   78|  5.46k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseINS_6MCInstELb0EE9push_backERKS1_:
  229|  3.39k|  void push_back(const T &Elt) {
  230|  3.39k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  3.39k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 3.39k]
  |  |  ------------------
  ------------------
  231|      0|      this->grow();
  232|  3.39k|    ::new ((void*) this->end()) T(Elt);
  233|  3.39k|    this->setEnd(this->end()+1);
  234|  3.39k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvE5beginEv:
  113|  8.85k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_6MCInstELb0EE13destroy_rangeEPS1_S3_:
  180|  5.46k|  static void destroy_range(T *S, T *E) {
  181|  8.85k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 3.39k, False: 5.46k]
  ------------------
  182|  3.39k|      --E;
  183|  3.39k|      E->~T();
  184|  3.39k|    }
  185|  5.46k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvE7isSmallEv:
   86|  5.46k|  bool isSmall() const {
   87|  5.46k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  5.46k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvE3endEv:
  117|  15.6k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvE6setEndEPS1_:
   95|  3.39k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplINS_6MCInstEED2Ev:
  368|  5.46k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  5.46k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  5.46k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 5.46k]
  ------------------
  374|      0|      free(this->begin());
  375|  5.46k|  }
_ZN7llvm_ks11SmallVectorINS_6MCInstELj8EEC2Ev:
  872|  5.46k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  5.46k|  }
_ZN7llvm_ks11SmallVectorINS_14MCLOHDirectiveELj32EEC2Ev:
  872|  12.6k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  12.6k|  }
_ZN7llvm_ks15SmallVectorImplINS_14MCLOHDirectiveEEC2Ej:
  364|  12.6k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  12.6k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_14MCLOHDirectiveELb0EEC2Em:
  178|  12.6k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvEC2Em:
   78|  12.6k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_14MCLOHDirectiveEED2Ev:
  368|  12.6k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  12.6k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  12.6k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 12.6k]
  ------------------
  374|      0|      free(this->begin());
  375|  12.6k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE4sizeEv:
  132|  26.2k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE3endEv:
  119|  26.2k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE5beginEv:
  115|  26.2k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvEixEm:
  144|  13.2k|  reference operator[](size_type idx) {
  145|  13.2k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 13.2k, False: 0]
  ------------------
  146|  13.2k|    return begin()[idx];
  147|  13.2k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE4dataEv:
  141|  6.99k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks11SmallVectorINS_9StringRefELj3EEC2Ev:
  872|  12.6k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  12.6k|  }

APFloat.cpp:_ZN7llvm_ksL13hexDigitValueEc:
   40|  55.6k|static inline unsigned hexDigitValue(char C) {
   41|  55.6k|  if (C >= '0' && C <= '9') return C-'0';
  ------------------
  |  Branch (41:7): [True: 55.6k, False: 0]
  |  Branch (41:19): [True: 24.8k, False: 30.8k]
  ------------------
   42|  30.8k|  if (C >= 'a' && C <= 'f') return C-'a'+10U;
  ------------------
  |  Branch (42:7): [True: 9.08k, False: 21.7k]
  |  Branch (42:19): [True: 4.44k, False: 4.64k]
  ------------------
   43|  26.3k|  if (C >= 'A' && C <= 'F') return C-'A'+10U;
  ------------------
  |  Branch (43:7): [True: 26.3k, False: 0]
  |  Branch (43:19): [True: 20.9k, False: 5.38k]
  ------------------
   44|  5.38k|  return -1U;
   45|  26.3k|}
StringMap.cpp:_ZN7llvm_ksL10HashStringENS_9StringRefEj:
  112|  5.44M|static inline unsigned HashString(StringRef Str, unsigned Result = 0) {
  113|  79.4M|  for (StringRef::size_type i = 0, e = Str.size(); i != e; ++i)
  ------------------
  |  Branch (113:52): [True: 73.9M, False: 5.44M]
  ------------------
  114|  73.9M|    Result = Result * 33 + (unsigned char)Str[i];
  115|  5.44M|  return Result;
  116|  5.44M|}

_ZN7llvm_ks18StringMapEntryBaseC2Ej:
   35|  2.75M|  explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {}
_ZNK7llvm_ks18StringMapEntryBase12getKeyLengthEv:
   37|  3.30M|  unsigned getKeyLength() const { return StrLen; }
_ZN7llvm_ks13StringMapImplC2Ej:
   55|   101k|      : TheTable(nullptr),
   56|       |        // Initialize the map with zero buckets to allocation.
   57|   101k|        NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {}
_ZN7llvm_ks13StringMapImpl15getTombstoneValEv:
   95|  18.6M|  static StringMapEntryBase *getTombstoneVal() {
   96|  18.6M|    return (StringMapEntryBase*)-1;
   97|  18.6M|  }
_ZNK7llvm_ks13StringMapImpl5emptyEv:
  102|   164k|  bool empty() const { return NumItems == 0; }
_ZN7llvm_ks14StringMapEntryIjE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|   137k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|   137k|    unsigned AllocSize =
  201|   137k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|   137k|    this->~StringMapEntry();
  203|   137k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|   137k|  }
_ZNK7llvm_ks14StringMapEntryIbE5firstEv:
  143|  3.61k|  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
_ZNK7llvm_ks14StringMapEntryIbE10getKeyDataEv:
  141|   214k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEEC2Ev:
  224|  12.7k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEED2Ev:
  385|  12.7k|  ~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|  12.7k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 12.7k]
  ------------------
  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|  12.7k|    free(TheTable);
  398|  12.7k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEC2ES6_:
  229|  12.6k|    : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), Allocator(A) {}
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEC2ES4_:
  229|  12.6k|    : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), Allocator(A) {}
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEEC2Ev:
  224|  12.6k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEEC2Ev:
  224|  12.6k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEED2Ev:
  385|  12.6k|  ~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|  12.6k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 12.6k]
  ------------------
  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|  12.6k|    free(TheTable);
  398|  12.6k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEE7DestroyINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEEvRT_:
  198|  22.4k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  22.4k|    unsigned AllocSize =
  201|  22.4k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  22.4k|    this->~StringMapEntry();
  203|  22.4k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  22.4k|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEED2Ev:
  385|  12.6k|  ~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|  12.6k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 12.6k]
  ------------------
  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|  12.6k|    free(TheTable);
  398|  12.6k|  }
_ZN7llvm_ks14StringMapEntryIbE7DestroyINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEEvRT_:
  198|   210k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|   210k|    unsigned AllocSize =
  201|   210k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|   210k|    this->~StringMapEntry();
  203|   210k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|   210k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEED2Ev:
  385|  12.6k|  ~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|  12.6k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 12.6k]
  ------------------
  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|  12.6k|    free(TheTable);
  398|  12.6k|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|    247|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|    247|    unsigned AllocSize =
  201|    247|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|    247|    this->~StringMapEntry();
  203|    247|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|    247|  }
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEED2Ev:
  385|  12.6k|  ~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|  12.6k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 135, False: 12.5k]
  ------------------
  390|  2.29k|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 2.16k, False: 135]
  ------------------
  391|  2.16k|        StringMapEntryBase *Bucket = TheTable[I];
  392|  2.16k|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 135, False: 2.02k]
  |  Branch (392:23): [True: 135, False: 0]
  ------------------
  393|    135|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|    135|        }
  395|  2.16k|      }
  396|    135|    }
  397|  12.6k|    free(TheTable);
  398|  12.6k|  }
_ZN7llvm_ks14StringMapEntryIbE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|    135|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|    135|    unsigned AllocSize =
  201|    135|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|    135|    this->~StringMapEntry();
  203|    135|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|    135|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE5clearEv:
  349|  12.6k|  void clear() {
  350|  12.6k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 12.6k]
  ------------------
  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|   379k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 366k, False: 12.6k]
  ------------------
  355|   366k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|   366k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 210k, False: 156k]
  |  Branch (356:21): [True: 210k, False: 0]
  ------------------
  357|   210k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|   210k|      }
  359|   366k|      Bucket = nullptr;
  360|   366k|    }
  361|       |
  362|  12.6k|    NumItems = 0;
  363|  12.6k|    NumTombstones = 0;
  364|  12.6k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE5clearEv:
  349|  12.6k|  void clear() {
  350|  12.6k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 12.6k]
  ------------------
  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|   218k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 205k, False: 12.6k]
  ------------------
  355|   205k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|   205k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 22.4k, False: 183k]
  |  Branch (356:21): [True: 22.4k, False: 0]
  ------------------
  357|  22.4k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|  22.4k|      }
  359|   205k|      Bucket = nullptr;
  360|   205k|    }
  361|       |
  362|  12.6k|    NumItems = 0;
  363|  12.6k|    NumTombstones = 0;
  364|  12.6k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEE5clearEv:
  349|  12.6k|  void clear() {
  350|  12.6k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 12.5k, False: 165]
  ------------------
  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|  2.80k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 2.64k, False: 165]
  ------------------
  355|  2.64k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|  2.64k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 247, False: 2.39k]
  |  Branch (356:21): [True: 247, False: 0]
  ------------------
  357|    247|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|    247|      }
  359|  2.64k|      Bucket = nullptr;
  360|  2.64k|    }
  361|       |
  362|    165|    NumItems = 0;
  363|    165|    NumTombstones = 0;
  364|    165|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEE5clearEv:
  349|  12.6k|  void clear() {
  350|  12.6k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 12.6k]
  ------------------
  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|   236k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 224k, False: 12.6k]
  ------------------
  355|   224k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|   224k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 137k, False: 86.6k]
  |  Branch (356:21): [True: 137k, False: 0]
  ------------------
  357|   137k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|   137k|      }
  359|   224k|      Bucket = nullptr;
  360|   224k|    }
  361|       |
  362|  12.6k|    NumItems = 0;
  363|  12.6k|    NumTombstones = 0;
  364|  12.6k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEixENS_9StringRefE:
  298|   181k|  ValueTy &operator[](StringRef Key) {
  299|   181k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|   181k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|   181k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   181k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   181k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   181k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 159k, False: 22.4k]
  |  Branch (333:19): [True: 159k, False: 0]
  ------------------
  334|   159k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|   159k|                            false); // Already exists in map.
  336|       |
  337|  22.4k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 22.4k]
  ------------------
  338|      0|      --NumTombstones;
  339|  22.4k|    Bucket =
  340|  22.4k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  22.4k|    ++NumItems;
  342|  22.4k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 22.4k, False: 0]
  ------------------
  343|       |
  344|  22.4k|    BucketNo = RehashTable(BucketNo);
  345|  22.4k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  22.4k|  }
_ZN7llvm_ks17StringMapIteratorIPNS_8MCSymbolEEC2EPPNS_18StringMapEntryBaseEb:
  452|   181k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   181k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEC2EPPNS_18StringMapEntryBaseEb:
  412|   321k|  : Ptr(Bucket) {
  413|   321k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 181k, False: 140k]
  ------------------
  414|   321k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEE23AdvancePastEmptyBucketsEv:
  440|   181k|  void AdvancePastEmptyBuckets() {
  441|   181k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 181k]
  |  Branch (441:31): [True: 0, False: 181k]
  ------------------
  442|      0|      ++Ptr;
  443|   181k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEE6CreateINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEES2_EEPS3_NS_9StringRefERT_OT0_:
  149|  22.4k|                                InitType &&InitVal) {
  150|  22.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|  22.4k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  22.4k|      KeyLength+1;
  156|  22.4k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  22.4k|    StringMapEntry *NewItem =
  159|  22.4k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  22.4k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  22.4k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  22.4k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 22.3k, False: 165]
  ------------------
  167|  22.3k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  22.4k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  22.4k|    return NewItem;
  170|  22.4k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEEC2IS2_EEjOT_:
  127|  22.4k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIPNS_8MCSymbolEE10getKeyDataEv:
  141|  22.4k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIPNS_8MCSymbolEEptEv:
  457|   181k|  StringMapEntry<ValueTy> *operator->() const {
  458|   181k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|   181k|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6insertENSt3__14pairINS_9StringRefEbEE:
  330|   210k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   210k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   210k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   210k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 82, False: 210k]
  |  Branch (333:19): [True: 82, False: 0]
  ------------------
  334|     82|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|     82|                            false); // Already exists in map.
  336|       |
  337|   210k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 210k]
  ------------------
  338|      0|      --NumTombstones;
  339|   210k|    Bucket =
  340|   210k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|   210k|    ++NumItems;
  342|   210k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 210k, False: 0]
  ------------------
  343|       |
  344|   210k|    BucketNo = RehashTable(BucketNo);
  345|   210k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|   210k|  }
_ZN7llvm_ks17StringMapIteratorIbEC2EPPNS_18StringMapEntryBaseEb:
  452|   210k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   210k|  }
_ZN7llvm_ks22StringMapConstIteratorIbEC2EPPNS_18StringMapEntryBaseEb:
  412|   210k|  : Ptr(Bucket) {
  413|   210k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 210k, False: 0]
  ------------------
  414|   210k|  }
_ZN7llvm_ks22StringMapConstIteratorIbE23AdvancePastEmptyBucketsEv:
  440|   210k|  void AdvancePastEmptyBuckets() {
  441|   210k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 210k]
  |  Branch (441:31): [True: 0, False: 210k]
  ------------------
  442|      0|      ++Ptr;
  443|   210k|  }
_ZN7llvm_ks14StringMapEntryIbE6CreateINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEbEEPS1_NS_9StringRefERT_OT0_:
  149|   210k|                                InitType &&InitVal) {
  150|   210k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|   210k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|   210k|      KeyLength+1;
  156|   210k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|   210k|    StringMapEntry *NewItem =
  159|   210k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|   210k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|   210k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|   210k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 210k, False: 165]
  ------------------
  167|   210k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|   210k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|   210k|    return NewItem;
  170|   210k|  }
_ZN7llvm_ks14StringMapEntryIbEC2IbEEjOT_:
  127|   210k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks17StringMapIteratorIbEdeEv:
  454|   223k|  StringMapEntry<ValueTy> &operator*() const {
  455|   223k|    return *static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  456|   223k|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEEixENS_9StringRefE:
  298|   197k|  ValueTy &operator[](StringRef Key) {
  299|   197k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|   197k|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefEjEE:
  330|   197k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   197k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   197k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   197k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 60.3k, False: 137k]
  |  Branch (333:19): [True: 60.3k, False: 0]
  ------------------
  334|  60.3k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|  60.3k|                            false); // Already exists in map.
  336|       |
  337|   137k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 137k]
  ------------------
  338|      0|      --NumTombstones;
  339|   137k|    Bucket =
  340|   137k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|   137k|    ++NumItems;
  342|   137k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 137k, False: 0]
  ------------------
  343|       |
  344|   137k|    BucketNo = RehashTable(BucketNo);
  345|   137k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|   137k|  }
_ZN7llvm_ks17StringMapIteratorIjEC2EPPNS_18StringMapEntryBaseEb:
  452|   197k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   197k|  }
_ZN7llvm_ks22StringMapConstIteratorIjEC2EPPNS_18StringMapEntryBaseEb:
  412|   197k|  : Ptr(Bucket) {
  413|   197k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 197k, False: 0]
  ------------------
  414|   197k|  }
_ZN7llvm_ks22StringMapConstIteratorIjE23AdvancePastEmptyBucketsEv:
  440|   197k|  void AdvancePastEmptyBuckets() {
  441|   197k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 197k]
  |  Branch (441:31): [True: 0, False: 197k]
  ------------------
  442|      0|      ++Ptr;
  443|   197k|  }
_ZN7llvm_ks14StringMapEntryIjE6CreateINS_15MallocAllocatorEjEEPS1_NS_9StringRefERT_OT0_:
  149|   137k|                                InitType &&InitVal) {
  150|   137k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|   137k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|   137k|      KeyLength+1;
  156|   137k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|   137k|    StringMapEntry *NewItem =
  159|   137k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|   137k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|   137k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|   137k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 137k, False: 0]
  ------------------
  167|   137k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|   137k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|   137k|    return NewItem;
  170|   137k|  }
_ZN7llvm_ks14StringMapEntryIjEC2IjEEjOT_:
  127|   137k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIjE10getKeyDataEv:
  141|   137k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIjEptEv:
  457|   197k|  StringMapEntry<ValueTy> *operator->() const {
  458|   197k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|   197k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6lookupENS_9StringRefE:
  291|  70.0k|  ValueTy lookup(StringRef Key) const {
  292|  70.0k|    const_iterator it = find(Key);
  293|  70.0k|    if (it != end())
  ------------------
  |  Branch (293:9): [True: 40.1k, False: 29.8k]
  ------------------
  294|  40.1k|      return it->second;
  295|  29.8k|    return ValueTy();
  296|  70.0k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE4findENS_9StringRefE:
  283|  70.0k|  const_iterator find(StringRef Key) const {
  284|  70.0k|    int Bucket = FindKey(Key);
  285|  70.0k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (285:9): [True: 29.8k, False: 40.1k]
  ------------------
  286|  40.1k|    return const_iterator(TheTable+Bucket, true);
  287|  70.0k|  }
_ZNK7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEneERKS3_:
  426|  70.0k|  bool operator!=(const StringMapConstIterator &RHS) const {
  427|  70.0k|    return Ptr != RHS.Ptr;
  428|  70.0k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE3endEv:
  273|  99.9k|  const_iterator end() const {
  274|  99.9k|    return const_iterator(TheTable+NumBuckets, true);
  275|  99.9k|  }
_ZNK7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEptEv:
  419|  40.1k|  const value_type *operator->() const {
  420|  40.1k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|  40.1k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEEixENS_9StringRefE:
  298|  9.46k|  ValueTy &operator[](StringRef Key) {
  299|  9.46k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  9.46k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|  9.46k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  9.46k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  9.46k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  9.46k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 9.21k, False: 247]
  |  Branch (333:19): [True: 9.21k, False: 0]
  ------------------
  334|  9.21k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|  9.21k|                            false); // Already exists in map.
  336|       |
  337|    247|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 247]
  ------------------
  338|      0|      --NumTombstones;
  339|    247|    Bucket =
  340|    247|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|    247|    ++NumItems;
  342|    247|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 247, False: 0]
  ------------------
  343|       |
  344|    247|    BucketNo = RehashTable(BucketNo);
  345|    247|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|    247|  }
_ZN7llvm_ks17StringMapIteratorIPNS_14MCSectionMachOEEC2EPPNS_18StringMapEntryBaseEb:
  452|  9.46k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  9.46k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_14MCSectionMachOEEC2EPPNS_18StringMapEntryBaseEb:
  412|  9.46k|  : Ptr(Bucket) {
  413|  9.46k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 9.46k, False: 0]
  ------------------
  414|  9.46k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_14MCSectionMachOEE23AdvancePastEmptyBucketsEv:
  440|  9.46k|  void AdvancePastEmptyBuckets() {
  441|  9.46k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 9.46k]
  |  Branch (441:31): [True: 0, False: 9.46k]
  ------------------
  442|      0|      ++Ptr;
  443|  9.46k|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE6CreateINS_15MallocAllocatorES2_EEPS3_NS_9StringRefERT_OT0_:
  149|    247|                                InitType &&InitVal) {
  150|    247|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|    247|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|    247|      KeyLength+1;
  156|    247|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|    247|    StringMapEntry *NewItem =
  159|    247|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|    247|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|    247|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|    247|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 247, False: 0]
  ------------------
  167|    247|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|    247|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|    247|    return NewItem;
  170|    247|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEEC2IS2_EEjOT_:
  127|    247|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE10getKeyDataEv:
  141|    247|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIPNS_14MCSectionMachOEEptEv:
  457|  9.46k|  StringMapEntry<ValueTy> *operator->() const {
  458|  9.46k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  9.46k|  }
_ZN7llvm_ks17StringMapIteratorIbEC2Ev:
  449|    135|  StringMapIterator() {}
_ZN7llvm_ks22StringMapConstIteratorIbEC2Ev:
  408|    135|  StringMapConstIterator() : Ptr(nullptr) { }
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefEbEE:
  330|    135|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|    135|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|    135|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|    135|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 135]
  |  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|    135|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 135]
  ------------------
  338|      0|      --NumTombstones;
  339|    135|    Bucket =
  340|    135|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|    135|    ++NumItems;
  342|    135|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 135, False: 0]
  ------------------
  343|       |
  344|    135|    BucketNo = RehashTable(BucketNo);
  345|    135|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|    135|  }
_ZN7llvm_ks14StringMapEntryIbE6CreateINS_15MallocAllocatorEbEEPS1_NS_9StringRefERT_OT0_:
  149|    135|                                InitType &&InitVal) {
  150|    135|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|    135|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|    135|      KeyLength+1;
  156|    135|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|    135|    StringMapEntry *NewItem =
  159|    135|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|    135|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|    135|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|    135|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 135, False: 0]
  ------------------
  167|    135|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|    135|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|    135|    return NewItem;
  170|    135|  }
_ZNK7llvm_ks17StringMapIteratorIbEptEv:
  457|    135|  StringMapEntry<ValueTy> *operator->() const {
  458|    135|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|    135|  }
_ZNK7llvm_ks14StringMapEntryIbE6getKeyEv:
  129|    135|  StringRef getKey() const {
  130|    135|    return StringRef(getKeyData(), getKeyLength());
  131|    135|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEEC2Ev:
  224|  12.6k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEEC2Ev:
  224|  12.6k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEEC2Ev:
  224|  12.6k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEED2Ev:
  385|  12.6k|  ~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|  12.6k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 12.6k, False: 0]
  ------------------
  390|  3.25M|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 3.24M, False: 12.6k]
  ------------------
  391|  3.24M|        StringMapEntryBase *Bucket = TheTable[I];
  392|  3.24M|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 1.54M, False: 1.69M]
  |  Branch (392:23): [True: 1.54M, False: 0]
  ------------------
  393|  1.54M|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|  1.54M|        }
  395|  3.24M|      }
  396|  12.6k|    }
  397|  12.6k|    free(TheTable);
  398|  12.6k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|  1.54M|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  1.54M|    unsigned AllocSize =
  201|  1.54M|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  1.54M|    this->~StringMapEntry();
  203|  1.54M|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  1.54M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEED2Ev:
  385|  12.6k|  ~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|  12.6k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 534, False: 12.1k]
  ------------------
  390|  9.07k|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 8.54k, False: 534]
  ------------------
  391|  8.54k|        StringMapEntryBase *Bucket = TheTable[I];
  392|  8.54k|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 583, False: 7.96k]
  |  Branch (392:23): [True: 583, False: 0]
  ------------------
  393|    583|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|    583|        }
  395|  8.54k|      }
  396|    534|    }
  397|  12.6k|    free(TheTable);
  398|  12.6k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|    583|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|    583|    unsigned AllocSize =
  201|    583|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|    583|    this->~StringMapEntry();
  203|    583|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|    583|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEED2Ev:
  385|  12.6k|  ~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|  12.6k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 12.6k, False: 0]
  ------------------
  390|  1.63M|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 1.62M, False: 12.6k]
  ------------------
  391|  1.62M|        StringMapEntryBase *Bucket = TheTable[I];
  392|  1.62M|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 836k, False: 785k]
  |  Branch (392:23): [True: 836k, False: 0]
  ------------------
  393|   836k|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|   836k|        }
  395|  1.62M|      }
  396|  12.6k|    }
  397|  12.6k|    free(TheTable);
  398|  12.6k|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|   836k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|   836k|    unsigned AllocSize =
  201|   836k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|   836k|    this->~StringMapEntry();
  203|   836k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|   836k|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEEixES5_:
  298|   836k|  ValueTy &operator[](StringRef Key) {
  299|   836k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|   836k|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE6insertENS2_IS5_S9_EE:
  330|   836k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   836k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   836k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   836k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 836k]
  |  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|   836k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 836k]
  ------------------
  338|      0|      --NumTombstones;
  339|   836k|    Bucket =
  340|   836k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|   836k|    ++NumItems;
  342|   836k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 836k, False: 0]
  ------------------
  343|       |
  344|   836k|    BucketNo = RehashTable(BucketNo);
  345|   836k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|   836k|  }
_ZN7llvm_ks17StringMapIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2EPPNS_18StringMapEntryBaseEb:
  452|   836k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   836k|  }
_ZN7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2EPPNS_18StringMapEntryBaseEb:
  412|  2.66M|  : Ptr(Bucket) {
  413|  2.66M|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 836k, False: 1.83M]
  ------------------
  414|  2.66M|  }
_ZN7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE23AdvancePastEmptyBucketsEv:
  440|   836k|  void AdvancePastEmptyBuckets() {
  441|   836k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 836k]
  |  Branch (441:31): [True: 0, False: 836k]
  ------------------
  442|      0|      ++Ptr;
  443|   836k|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE6CreateINS_15MallocAllocatorES9_EEPSA_S5_RT_OT0_:
  149|   836k|                                InitType &&InitVal) {
  150|   836k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|   836k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|   836k|      KeyLength+1;
  156|   836k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|   836k|    StringMapEntry *NewItem =
  159|   836k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|   836k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|   836k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|   836k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 836k, False: 0]
  ------------------
  167|   836k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|   836k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|   836k|    return NewItem;
  170|   836k|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2IS9_EEjOT_:
  127|   836k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE10getKeyDataEv:
  141|   836k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEptEv:
  457|   836k|  StringMapEntry<ValueTy> *operator->() const {
  458|   836k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|   836k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEEixENS_9StringRefE:
  298|  1.54M|  ValueTy &operator[](StringRef Key) {
  299|  1.54M|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  1.54M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES3_EE:
  330|  1.54M|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  1.54M|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  1.54M|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  1.54M|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 1.54M]
  |  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.54M|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 1.54M]
  ------------------
  338|      0|      --NumTombstones;
  339|  1.54M|    Bucket =
  340|  1.54M|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  1.54M|    ++NumItems;
  342|  1.54M|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 1.54M, False: 0]
  ------------------
  343|       |
  344|  1.54M|    BucketNo = RehashTable(BucketNo);
  345|  1.54M|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  1.54M|  }
AsmParser.cpp:_ZN7llvm_ks17StringMapIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2EPPNS_18StringMapEntryBaseEb:
  452|  4.36M|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  4.36M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2EPPNS_18StringMapEntryBaseEb:
  412|  4.36M|  : Ptr(Bucket) {
  413|  4.36M|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 1.54M, False: 2.82M]
  ------------------
  414|  4.36M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEE23AdvancePastEmptyBucketsEv:
  440|  1.54M|  void AdvancePastEmptyBuckets() {
  441|  1.54M|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 1.54M]
  |  Branch (441:31): [True: 0, False: 1.54M]
  ------------------
  442|      0|      ++Ptr;
  443|  1.54M|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE6CreateINS_15MallocAllocatorES3_EEPS4_NS_9StringRefERT_OT0_:
  149|  1.54M|                                InitType &&InitVal) {
  150|  1.54M|    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.54M|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  1.54M|      KeyLength+1;
  156|  1.54M|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  1.54M|    StringMapEntry *NewItem =
  159|  1.54M|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  1.54M|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  1.54M|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  1.54M|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 1.54M, False: 0]
  ------------------
  167|  1.54M|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  1.54M|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  1.54M|    return NewItem;
  170|  1.54M|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2IS3_EEjOT_:
  127|  1.54M|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE10getKeyDataEv:
  141|  1.54M|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AsmParser.cpp:_ZNK7llvm_ks17StringMapIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEptEv:
  457|  1.54M|  StringMapEntry<ValueTy> *operator->() const {
  458|  1.54M|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  1.54M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE4findENS_9StringRefE:
  277|  1.41M|  iterator find(StringRef Key) {
  278|  1.41M|    int Bucket = FindKey(Key);
  279|  1.41M|    if (Bucket == -1) return end();
  ------------------
  |  Branch (279:9): [True: 1.16M, False: 245k]
  ------------------
  280|   245k|    return iterator(TheTable+Bucket, true);
  281|  1.41M|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEeqERKS4_:
  423|  1.41M|  bool operator==(const StringMapConstIterator &RHS) const {
  424|  1.41M|    return Ptr == RHS.Ptr;
  425|  1.41M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE3endEv:
  267|  2.57M|  iterator end() {
  268|  2.57M|    return iterator(TheTable+NumBuckets, true);
  269|  2.57M|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEptEv:
  419|   245k|  const value_type *operator->() const {
  420|   245k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|   245k|  }
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE8getValueEv:
  133|   245k|  const ValueTy &getValue() const { return second; }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE4findENS_9StringRefE:
  277|  1.06M|  iterator find(StringRef Key) {
  278|  1.06M|    int Bucket = FindKey(Key);
  279|  1.06M|    if (Bucket == -1) return end();
  ------------------
  |  Branch (279:9): [True: 1.03M, False: 24.4k]
  ------------------
  280|  24.4k|    return iterator(TheTable+Bucket, true);
  281|  1.06M|  }
AsmParser.cpp:_ZN7llvm_ks17StringMapIteratorIN12_GLOBAL__N_110MCAsmMacroEEC2EPPNS_18StringMapEntryBaseEb:
  452|  2.12M|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  2.12M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEEC2EPPNS_18StringMapEntryBaseEb:
  412|  2.12M|  : Ptr(Bucket) {
  413|  2.12M|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 583, False: 2.12M]
  ------------------
  414|  2.12M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEE23AdvancePastEmptyBucketsEv:
  440|    583|  void AdvancePastEmptyBuckets() {
  441|    583|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 583]
  |  Branch (441:31): [True: 0, False: 583]
  ------------------
  442|      0|      ++Ptr;
  443|    583|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEEeqERKS3_:
  423|  1.06M|  bool operator==(const StringMapConstIterator &RHS) const {
  424|  1.06M|    return Ptr == RHS.Ptr;
  425|  1.06M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE3endEv:
  267|  2.09M|  iterator end() {
  268|  2.09M|    return iterator(TheTable+NumBuckets, true);
  269|  2.09M|  }
AsmParser.cpp:_ZNK7llvm_ks17StringMapIteratorIN12_GLOBAL__N_110MCAsmMacroEEptEv:
  457|  24.4k|  StringMapEntry<ValueTy> *operator->() const {
  458|  24.4k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  24.4k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE8getValueEv:
  134|  24.4k|  ValueTy &getValue() { return second; }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE6lookupES5_:
  291|   916k|  ValueTy lookup(StringRef Key) const {
  292|   916k|    const_iterator it = find(Key);
  293|   916k|    if (it != end())
  ------------------
  |  Branch (293:9): [True: 10.7k, False: 905k]
  ------------------
  294|  10.7k|      return it->second;
  295|   905k|    return ValueTy();
  296|   916k|  }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE4findES5_:
  283|   916k|  const_iterator find(StringRef Key) const {
  284|   916k|    int Bucket = FindKey(Key);
  285|   916k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (285:9): [True: 905k, False: 10.7k]
  ------------------
  286|  10.7k|    return const_iterator(TheTable+Bucket, true);
  287|   916k|  }
_ZNK7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEneERKSA_:
  426|   916k|  bool operator!=(const StringMapConstIterator &RHS) const {
  427|   916k|    return Ptr != RHS.Ptr;
  428|   916k|  }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE3endEv:
  273|  1.82M|  const_iterator end() const {
  274|  1.82M|    return const_iterator(TheTable+NumBuckets, true);
  275|  1.82M|  }
_ZNK7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEptEv:
  419|  10.7k|  const value_type *operator->() const {
  420|  10.7k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|  10.7k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|    583|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|    583|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|    583|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|    583|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 583]
  |  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|    583|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 583]
  ------------------
  338|      0|      --NumTombstones;
  339|    583|    Bucket =
  340|    583|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|    583|    ++NumItems;
  342|    583|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 583, False: 0]
  ------------------
  343|       |
  344|    583|    BucketNo = RehashTable(BucketNo);
  345|    583|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|    583|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE6CreateINS_15MallocAllocatorES2_EEPS3_NS_9StringRefERT_OT0_:
  149|    583|                                InitType &&InitVal) {
  150|    583|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|    583|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|    583|      KeyLength+1;
  156|    583|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|    583|    StringMapEntry *NewItem =
  159|    583|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|    583|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|    583|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|    583|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 565, False: 18]
  ------------------
  167|    565|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|    583|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|    583|    return NewItem;
  170|    583|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEEC2IS2_EEjOT_:
  127|    583|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE10getKeyDataEv:
  141|    583|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE5clearEv:
  349|  12.6k|  void clear() {
  350|  12.6k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 12.6k, False: 0]
  ------------------
  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|      0|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 0, False: 0]
  ------------------
  355|      0|      StringMapEntryBase *&Bucket = TheTable[I];
  356|      0|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 0, False: 0]
  |  Branch (356:21): [True: 0, False: 0]
  ------------------
  357|      0|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|      0|      }
  359|      0|      Bucket = nullptr;
  360|      0|    }
  361|       |
  362|      0|    NumItems = 0;
  363|      0|    NumTombstones = 0;
  364|      0|  }

_ZN7llvm_ks9StringRefC2ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
   91|  2.44M|      : Data(Str.data()), Length(Str.length()) {}
_ZN7llvm_ks9StringRefC2EPKc:
   72|  14.7M|      : Data(Str) {
   73|       |        //assert(Str && "StringRef cannot be built from a NULL argument");
   74|  14.7M|        if (!Str)
  ------------------
  |  Branch (74:13): [True: 4, False: 14.7M]
  ------------------
   75|      4|            Length = 0;
   76|  14.7M|        else 
   77|  14.7M|            Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior
   78|  14.7M|      }
_ZN7llvm_ks9StringRef13compareMemoryEPKcS2_m:
   58|  6.41M|    static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) {
   59|  6.41M|      if (Length == 0) { return 0; }
  ------------------
  |  Branch (59:11): [True: 351k, False: 6.06M]
  ------------------
   60|  6.06M|      return ::memcmp(Lhs,Rhs,Length);
   61|  6.41M|    }
_ZN7llvm_ks9StringRefC2Ev:
   68|  3.04M|    /*implicit*/ StringRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks9StringRefC2EPKcm:
   83|  74.6M|      : Data(data), Length(length) {
   84|       |        assert((data || length == 0) &&
  ------------------
  |  Branch (84:9): [True: 74.6M, False: 0]
  |  Branch (84:9): [True: 0, False: 0]
  |  Branch (84:9): [True: 74.6M, Folded]
  |  Branch (84:9): [True: 74.6M, False: 0]
  ------------------
   85|  74.6M|        "StringRef cannot be built from a NULL argument with non-null length");
   86|  74.6M|      }
_ZNK7llvm_ks9StringRef5beginEv:
   97|  48.4M|    iterator begin() const { return Data; }
_ZNK7llvm_ks9StringRef3endEv:
   99|  50.5M|    iterator end() const { return Data + Length; }
_ZNK7llvm_ks9StringRef4dataEv:
  115|  25.0M|    const char *data() const { return Data; }
_ZNK7llvm_ks9StringRef5emptyEv:
  119|  13.2M|    bool empty() const { return Length == 0; }
_ZNK7llvm_ks9StringRef4sizeEv:
  123|  36.9M|    size_t size() const { return Length; }
_ZNK7llvm_ks9StringRef5frontEv:
  126|   423k|    char front() const {
  127|   423k|      assert(!empty());
  ------------------
  |  Branch (127:7): [True: 423k, False: 0]
  ------------------
  128|   423k|      return Data[0];
  129|   423k|    }
_ZNK7llvm_ks9StringRef6equalsES0_:
  147|  6.74M|    bool equals(StringRef RHS) const {
  148|  6.74M|      return (Length == RHS.Length &&
  ------------------
  |  Branch (148:15): [True: 1.55M, False: 5.19M]
  ------------------
  149|  1.55M|              compareMemory(Data, RHS.Data, RHS.Length) == 0);
  ------------------
  |  Branch (149:15): [True: 686k, False: 863k]
  ------------------
  150|  6.74M|    }
_ZNK7llvm_ks9StringRef12equals_lowerES0_:
  153|  19.6k|    bool equals_lower(StringRef RHS) const {
  154|  19.6k|      return Length == RHS.Length && compare_lower(RHS) == 0;
  ------------------
  |  Branch (154:14): [True: 18.0k, False: 1.61k]
  |  Branch (154:38): [True: 2.36k, False: 15.6k]
  ------------------
  155|  19.6k|    }
_ZNK7llvm_ks9StringRef7compareES0_:
  160|  1.87M|    int compare(StringRef RHS) const {
  161|       |      // Check the prefix for a mismatch.
  162|  1.87M|      if (int Res = compareMemory(Data, RHS.Data, std::min(Length, RHS.Length)))
  ------------------
  |  Branch (162:15): [True: 1.34M, False: 528k]
  ------------------
  163|  1.34M|        return Res < 0 ? -1 : 1;
  ------------------
  |  Branch (163:16): [True: 676k, False: 670k]
  ------------------
  164|       |
  165|       |      // Otherwise the prefixes match, so we only need to check the lengths.
  166|   528k|      if (Length == RHS.Length)
  ------------------
  |  Branch (166:11): [True: 43.7k, False: 484k]
  ------------------
  167|  43.7k|        return 0;
  168|   484k|      return Length < RHS.Length ? -1 : 1;
  ------------------
  |  Branch (168:14): [True: 223k, False: 261k]
  ------------------
  169|   528k|    }
_ZNK7llvm_ks9StringRef3strEv:
  200|   754k|    std::string str() const {
  201|   754k|      if (!Data) return std::string();
  ------------------
  |  Branch (201:11): [True: 0, False: 754k]
  ------------------
  202|   754k|      return std::string(Data, Length);
  203|   754k|    }
_ZNK7llvm_ks9StringRefixEm:
  209|   119M|    char operator[](size_t Index) const {
  210|   119M|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (210:7): [True: 119M, False: 0]
  |  Branch (210:7): [True: 119M, Folded]
  |  Branch (210:7): [True: 119M, False: 0]
  ------------------
  211|   119M|      return Data[Index];
  212|   119M|    }
_ZNK7llvm_ks9StringRefcvNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEv:
  218|   674k|    operator std::string() const {
  219|   674k|      return str();
  220|   674k|    }
_ZNK7llvm_ks9StringRef10startswithES0_:
  228|   941k|    bool startswith(StringRef Prefix) const {
  229|   941k|      return Length >= Prefix.Length &&
  ------------------
  |  Branch (229:14): [True: 937k, False: 3.26k]
  ------------------
  230|   937k|             compareMemory(Data, Prefix.Data, Prefix.Length) == 0;
  ------------------
  |  Branch (230:14): [True: 4.86k, False: 933k]
  ------------------
  231|   941k|    }
_ZNK7llvm_ks9StringRef8endswithES0_:
  238|  3.53M|    bool endswith(StringRef Suffix) const {
  239|  3.53M|      return Length >= Suffix.Length &&
  ------------------
  |  Branch (239:14): [True: 2.05M, False: 1.48M]
  ------------------
  240|  2.05M|        compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0;
  ------------------
  |  Branch (240:9): [True: 0, False: 2.05M]
  ------------------
  241|  3.53M|    }
_ZNK7llvm_ks9StringRef4findEcm:
  255|   355k|    size_t find(char C, size_t From = 0) const {
  256|   355k|      size_t FindBegin = std::min(From, Length);
  257|   355k|      if (FindBegin < Length) { // Avoid calling memchr with nullptr.
  ------------------
  |  Branch (257:11): [True: 336k, False: 18.3k]
  ------------------
  258|       |        // Just forward to memchr, which is faster than a hand-rolled loop.
  259|   336k|        if (const void *P = ::memchr(Data + FindBegin, C, Length - FindBegin))
  ------------------
  |  Branch (259:25): [True: 48.9k, False: 287k]
  ------------------
  260|  48.9k|          return static_cast<const char *>(P) - Data;
  261|   336k|      }
  262|   306k|      return npos;
  263|   355k|    }
_ZNK7llvm_ks9StringRef6substrEmm:
  421|  1.35M|    StringRef substr(size_t Start, size_t N = npos) const {
  422|  1.35M|      Start = std::min(Start, Length);
  423|  1.35M|      return StringRef(Data + Start, std::min(N, Length - Start));
  424|  1.35M|    }
_ZNK7llvm_ks9StringRef10drop_frontEm:
  429|  38.4k|    StringRef drop_front(size_t N = 1) const {
  430|  38.4k|      assert(size() >= N && "Dropping more elements than exist");
  ------------------
  |  Branch (430:7): [True: 38.4k, False: 0]
  |  Branch (430:7): [True: 38.4k, Folded]
  |  Branch (430:7): [True: 38.4k, False: 0]
  ------------------
  431|  38.4k|      return substr(N);
  432|  38.4k|    }
_ZNK7llvm_ks9StringRef9drop_backEm:
  437|  38.4k|    StringRef drop_back(size_t N = 1) const {
  438|  38.4k|      assert(size() >= N && "Dropping more elements than exist");
  ------------------
  |  Branch (438:7): [True: 38.4k, False: 0]
  |  Branch (438:7): [True: 38.4k, Folded]
  |  Branch (438:7): [True: 38.4k, False: 0]
  ------------------
  439|  38.4k|      return substr(0, size()-N);
  440|  38.4k|    }
_ZNK7llvm_ks9StringRef5sliceEmm:
  453|  5.27M|    StringRef slice(size_t Start, size_t End) const {
  454|  5.27M|      Start = std::min(Start, Length);
  455|  5.27M|      End = std::min(std::max(Start, End), Length);
  456|  5.27M|      return StringRef(Data + Start, End - Start);
  457|  5.27M|    }
_ZNK7llvm_ks9StringRef5splitEc:
  469|   174k|    std::pair<StringRef, StringRef> split(char Separator) const {
  470|   174k|      size_t Idx = find(Separator);
  471|   174k|      if (Idx == npos)
  ------------------
  |  Branch (471:11): [True: 158k, False: 16.4k]
  ------------------
  472|   158k|        return std::make_pair(*this, StringRef());
  473|  16.4k|      return std::make_pair(slice(0, Idx), slice(Idx+1, npos));
  474|   174k|    }
_ZNK7llvm_ks9StringRef5ltrimES0_:
  547|  38.4k|    StringRef ltrim(StringRef Chars = " \t\n\v\f\r") const {
  548|  38.4k|      return drop_front(std::min(Length, find_first_not_of(Chars)));
  549|  38.4k|    }
_ZNK7llvm_ks9StringRef5rtrimES0_:
  553|  38.4k|    StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const {
  554|  38.4k|      return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
  555|  38.4k|    }
_ZNK7llvm_ks9StringRef4trimES0_:
  559|  38.4k|    StringRef trim(StringRef Chars = " \t\n\v\f\r") const {
  560|  38.4k|      return ltrim(Chars).rtrim(Chars);
  561|  38.4k|    }
_ZN7llvm_kseqENS_9StringRefES0_:
  579|  6.44M|  inline bool operator==(StringRef LHS, StringRef RHS) {
  580|  6.44M|    return LHS.equals(RHS);
  581|  6.44M|  }
_ZN7llvm_ksneENS_9StringRefES0_:
  584|   965k|  inline bool operator!=(StringRef LHS, StringRef RHS) {
  585|   965k|    return !(LHS == RHS);
  586|   965k|  }
_ZN7llvm_ksltENS_9StringRefES0_:
  588|  1.87M|  inline bool operator<(StringRef LHS, StringRef RHS) {
  589|  1.87M|    return LHS.compare(RHS) == -1;
  590|  1.87M|  }
_ZN7llvm_kspLERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS_9StringRefE:
  604|  12.8k|  inline std::string &operator+=(std::string &buffer, StringRef string) {
  605|  12.8k|    return buffer.append(string.data(), string.size());
  606|  12.8k|  }
_ZNK7llvm_ks9StringRef12getAsIntegerIlEENSt3__19enable_ifIXsr3std14numeric_limitsIT_EE9is_signedEbE4typeEjRS4_:
  362|  2.36k|    getAsInteger(unsigned Radix, T &Result) const {
  363|  2.36k|      long long LLVal;
  364|  2.36k|      if (getAsSignedInteger(*this, Radix, LLVal) ||
  ------------------
  |  Branch (364:11): [True: 1.21k, False: 1.15k]
  ------------------
  365|  1.15k|            static_cast<T>(LLVal) != LLVal)
  ------------------
  |  Branch (365:13): [True: 0, False: 1.15k]
  ------------------
  366|  1.21k|        return true;
  367|  1.15k|      Result = LLVal;
  368|  1.15k|      return false;
  369|  2.36k|    }

_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_EC2ENS_9StringRefE:
   54|  26.0k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|   104k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   104k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 91.8k, False: 12.2k]
  |  Branch (59:20): [True: 1.95k, False: 89.9k]
  ------------------
   60|  1.95k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 408, False: 1.54k]
  ------------------
   61|    408|      Result = &Value;
   62|    408|    }
   63|       |
   64|   104k|    return *this;
   65|   104k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|   312k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   312k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 262k, False: 50.4k]
  |  Branch (59:20): [True: 24.0k, False: 238k]
  ------------------
   60|  24.0k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 603, False: 23.4k]
  ------------------
   61|    603|      Result = &Value;
   62|    603|    }
   63|       |
   64|   312k|    return *this;
   65|   312k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj9EEERS3_RAT__KcRKS2_:
   58|   234k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   234k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 197k, False: 36.9k]
  |  Branch (59:20): [True: 4.51k, False: 192k]
  ------------------
   60|  4.51k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 378, False: 4.14k]
  ------------------
   61|    378|      Result = &Value;
   62|    378|    }
   63|       |
   64|   234k|    return *this;
   65|   234k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj10EEERS3_RAT__KcRKS2_:
   58|   156k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   156k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 125k, False: 30.3k]
  |  Branch (59:20): [True: 4.69k, False: 121k]
  ------------------
   60|  4.69k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 650, False: 4.04k]
  ------------------
   61|    650|      Result = &Value;
   62|    650|    }
   63|       |
   64|   156k|    return *this;
   65|   156k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|   416k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   416k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 319k, False: 96.9k]
  |  Branch (59:20): [True: 23.4k, False: 296k]
  ------------------
   60|  23.4k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 790, False: 22.6k]
  ------------------
   61|    790|      Result = &Value;
   62|    790|    }
   63|       |
   64|   416k|    return *this;
   65|   416k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|   104k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   104k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 92.7k, False: 11.4k]
  |  Branch (59:20): [True: 17.8k, False: 74.9k]
  ------------------
   60|  17.8k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 422, False: 17.3k]
  ------------------
   61|    422|      Result = &Value;
   62|    422|    }
   63|       |
   64|   104k|    return *this;
   65|   104k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj12EEERS3_RAT__KcRKS2_:
   58|   182k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   182k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 134k, False: 47.3k]
  |  Branch (59:20): [True: 3.06k, False: 131k]
  ------------------
   60|  3.06k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 247, False: 2.82k]
  ------------------
   61|    247|      Result = &Value;
   62|    247|    }
   63|       |
   64|   182k|    return *this;
   65|   182k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj8EEERS3_RAT__KcRKS2_:
   58|   286k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   286k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 219k, False: 67.0k]
  |  Branch (59:20): [True: 6.17k, False: 213k]
  ------------------
   60|  6.17k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 390, False: 5.78k]
  ------------------
   61|    390|      Result = &Value;
   62|    390|    }
   63|       |
   64|   286k|    return *this;
   65|   286k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj11EEERS3_RAT__KcRKS2_:
   58|  52.0k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  52.0k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 43.6k, False: 8.47k]
  |  Branch (59:20): [True: 763, False: 42.8k]
  ------------------
   60|    763|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 114, False: 649]
  ------------------
   61|    114|      Result = &Value;
   62|    114|    }
   63|       |
   64|  52.0k|    return *this;
   65|  52.0k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj2EEERS3_RAT__KcRKS2_:
   58|  52.0k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  52.0k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 48.0k, False: 4.06k]
  |  Branch (59:20): [True: 14.7k, False: 33.2k]
  ------------------
   60|  14.7k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 3.98k, False: 10.7k]
  ------------------
   61|  3.98k|      Result = &Value;
   62|  3.98k|    }
   63|       |
   64|  52.0k|    return *this;
   65|  52.0k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj3EEERS3_RAT__KcRKS2_:
   58|  52.0k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  52.0k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 38.2k, False: 13.8k]
  |  Branch (59:20): [True: 2.50k, False: 35.6k]
  ------------------
   60|  2.50k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 114, False: 2.38k]
  ------------------
   61|    114|      Result = &Value;
   62|    114|    }
   63|       |
   64|  52.0k|    return *this;
   65|  52.0k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj13EEERS3_RAT__KcRKS2_:
   58|   156k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   156k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 111k, False: 44.8k]
  |  Branch (59:20): [True: 2.68k, False: 108k]
  ------------------
   60|  2.68k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 471, False: 2.21k]
  ------------------
   61|    471|      Result = &Value;
   62|    471|    }
   63|       |
   64|   156k|    return *this;
   65|   156k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj14EEERS3_RAT__KcRKS2_:
   58|   104k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   104k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 76.4k, False: 27.7k]
  |  Branch (59:20): [True: 961, False: 75.5k]
  ------------------
   60|    961|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 208, False: 753]
  ------------------
   61|    208|      Result = &Value;
   62|    208|    }
   63|       |
   64|   104k|    return *this;
   65|   104k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj15EEERS3_RAT__KcRKS2_:
   58|  78.1k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  78.1k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 57.2k, False: 20.9k]
  |  Branch (59:20): [True: 7.01k, False: 50.2k]
  ------------------
   60|  7.01k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 46, False: 6.96k]
  ------------------
   61|     46|      Result = &Value;
   62|     46|    }
   63|       |
   64|  78.1k|    return *this;
   65|  78.1k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj16EEERS3_RAT__KcRKS2_:
   58|  26.0k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  26.0k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 18.9k, False: 7.12k]
  |  Branch (59:20): [True: 307, False: 18.6k]
  ------------------
   60|    307|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 82, False: 225]
  ------------------
   61|     82|      Result = &Value;
   62|     82|    }
   63|       |
   64|  26.0k|    return *this;
   65|  26.0k|  }
_ZNK7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E7DefaultERKS2_:
  150|  26.0k|  R Default(const T& Value) const {
  151|  26.0k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 8.91k, False: 17.1k]
  ------------------
  152|  8.91k|      return *Result;
  153|       |
  154|  17.1k|    return Value;
  155|  26.0k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_EC2ES1_:
   54|   122k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj14EEERS2_RAT__KcRKS1_:
   58|  16.8k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  16.8k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 16.8k, False: 14]
  |  Branch (59:20): [True: 32, False: 16.8k]
  ------------------
   60|     32|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 32]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  16.8k|    return *this;
   65|  16.8k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj13EEERS2_RAT__KcRKS1_:
   58|  8.42k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  8.42k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 8.42k, False: 0]
  |  Branch (59:20): [True: 33, False: 8.39k]
  ------------------
   60|     33|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 14, False: 19]
  ------------------
   61|     14|      Result = &Value;
   62|     14|    }
   63|       |
   64|  8.42k|    return *this;
   65|  8.42k|  }
_ZNK7llvm_ks12StringSwitchINS_9StringRefES1_E7DefaultERKS1_:
  150|   122k|  R Default(const T& Value) const {
  151|   122k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 14, False: 122k]
  ------------------
  152|     14|      return *Result;
  153|       |
  154|   122k|    return Value;
  155|   122k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj5ELj5ELj5EEERS3_RAT__KcRAT0__S6_RAT1__S6_RAT2__S6_RKS2_:
  120|   126k|                      const T& Value) {
  121|   126k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 126k, False: 0]
  ------------------
  122|   126k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 0, False: 126k]
  |  Branch (122:32): [True: 0, False: 0]
  ------------------
  123|   126k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 126k]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|   126k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 0, False: 126k]
  |  Branch (124:32): [True: 0, False: 0]
  ------------------
  125|   126k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 126k]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|      0|      Result = &Value;
  127|      0|    }
  128|       |
  129|   126k|    return *this;
  130|   126k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj5ELj5EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   126k|                      const char (&S2)[N2], const T& Value) {
  106|   126k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 126k, False: 0]
  ------------------
  107|   126k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 126k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|   126k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 126k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|   126k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 126k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   126k|    return *this;
  114|   126k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj6ELj7ELj8EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   126k|                      const char (&S2)[N2], const T& Value) {
  106|   126k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 126k, False: 0]
  ------------------
  107|   126k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 126k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|   126k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 126k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|   126k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 126k, False: 0]
  |  Branch (109:32): [True: 0, False: 126k]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   126k|    return *this;
  114|   126k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj8ELj6EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   126k|                      const T& Value) {
   93|   126k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 126k, False: 0]
  ------------------
   94|   126k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 126k, False: 0]
  |  Branch (94:32): [True: 0, False: 126k]
  ------------------
   95|   126k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 126k]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   126k|    return *this;
  100|   126k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj10ELj4ELj6EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   126k|                      const char (&S2)[N2], const T& Value) {
  106|   126k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 126k, False: 0]
  ------------------
  107|   126k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 126k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|   126k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 126k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|   126k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 126k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   126k|    return *this;
  114|   126k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj12ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   126k|                      const T& Value) {
   93|   126k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 126k, False: 0]
  ------------------
   94|   126k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 126k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|   126k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 126k, False: 0]
  |  Branch (95:32): [True: 0, False: 126k]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   126k|    return *this;
  100|   126k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj7ELj13EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   126k|                      const char (&S2)[N2], const T& Value) {
  106|   126k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 126k, False: 0]
  ------------------
  107|   126k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 126k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|   126k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 126k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|   126k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 126k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   126k|    return *this;
  114|   126k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj7ELj15EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   126k|                      const T& Value) {
   93|   126k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 126k, False: 0]
  ------------------
   94|   126k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 126k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|   126k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 126k]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   126k|    return *this;
  100|   126k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj7ELj9EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   126k|                      const T& Value) {
   93|   126k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 126k, False: 0]
  ------------------
   94|   126k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 126k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|   126k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 126k]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   126k|    return *this;
  100|   126k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj6ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   126k|                      const T& Value) {
   93|   126k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 126k, False: 0]
  ------------------
   94|   126k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 126k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|   126k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 126k, False: 0]
  |  Branch (95:32): [True: 0, False: 126k]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   126k|    return *this;
  100|   126k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj8ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   126k|                      const T& Value) {
   93|   126k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 126k]
  ------------------
   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|   126k|    return *this;
  100|   126k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E10StartsWithILj8EEERS3_RAT__KcRKS2_:
   80|   126k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   126k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 0, False: 126k]
  |  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|   126k|    return *this;
   87|   126k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_EC2ENS_9StringRefE:
   54|   126k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj8EEERS3_RAT__KcRKS2_:
   58|  1.14M|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.14M|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 760k, False: 380k]
  |  Branch (59:20): [True: 760k, False: 0]
  ------------------
   60|   760k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 126k, False: 633k]
  ------------------
   61|   126k|      Result = &Value;
   62|   126k|    }
   63|       |
   64|  1.14M|    return *this;
   65|  1.14M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj11EEERS3_RAT__KcRKS2_:
   58|   126k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   126k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 126k, False: 0]
  |  Branch (59:20): [True: 0, False: 126k]
  ------------------
   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|   126k|    return *this;
   65|   126k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|  1.14M|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.14M|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 506k, False: 633k]
  |  Branch (59:20): [True: 0, False: 506k]
  ------------------
   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.14M|    return *this;
   65|  1.14M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|   380k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   380k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 253k, False: 126k]
  |  Branch (59:20): [True: 0, False: 253k]
  ------------------
   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|   380k|    return *this;
   65|   380k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|   506k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   506k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 126k, False: 380k]
  |  Branch (59:20): [True: 0, False: 126k]
  ------------------
   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|   506k|    return *this;
   65|   506k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|   760k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   760k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 380k, False: 380k]
  |  Branch (59:20): [True: 0, False: 380k]
  ------------------
   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|   760k|    return *this;
   65|   760k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj9EEERS3_RAT__KcRKS2_:
   58|   253k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   253k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 253k, False: 0]
  |  Branch (59:20): [True: 0, False: 253k]
  ------------------
   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|   253k|    return *this;
   65|   253k|  }
_ZNK7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E7DefaultERKS2_:
  150|   126k|  R Default(const T& Value) const {
  151|   126k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 126k, False: 0]
  ------------------
  152|   126k|      return *Result;
  153|       |
  154|      0|    return Value;
  155|   126k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj4EEERS2_RAT__KcRKS1_:
   58|   456k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   456k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 456k, False: 0]
  |  Branch (59:20): [True: 0, False: 456k]
  ------------------
   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|   456k|    return *this;
   65|   456k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj3EEERS2_RAT__KcRKS1_:
   58|   114k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   114k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 114k, False: 0]
  |  Branch (59:20): [True: 0, False: 114k]
  ------------------
   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|   114k|    return *this;
   65|   114k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj6EEERS2_RAT__KcRKS1_:
   58|   228k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   228k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 228k, False: 0]
  |  Branch (59:20): [True: 0, False: 228k]
  ------------------
   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|   228k|    return *this;
   65|   228k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj9EEERS2_RAT__KcRKS1_:
   58|   228k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   228k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 228k, False: 0]
  |  Branch (59:20): [True: 0, False: 228k]
  ------------------
   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|   228k|    return *this;
   65|   228k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_EC2ENS_9StringRefE:
   54|    597|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj3EEERS3_RAT__KcRKS2_:
   58|  2.38k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  2.38k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 2.37k, False: 12]
  |  Branch (59:20): [True: 250, False: 2.12k]
  ------------------
   60|    250|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 10, False: 240]
  ------------------
   61|     10|      Result = &Value;
   62|     10|    }
   63|       |
   64|  2.38k|    return *this;
   65|  2.38k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|  1.79k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.79k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.78k, False: 6]
  |  Branch (59:20): [True: 216, False: 1.56k]
  ------------------
   60|    216|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 3, False: 213]
  ------------------
   61|      3|      Result = &Value;
   62|      3|    }
   63|       |
   64|  1.79k|    return *this;
   65|  1.79k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|  1.19k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.19k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.16k, False: 26]
  |  Branch (59:20): [True: 88, False: 1.08k]
  ------------------
   60|     88|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1, False: 87]
  ------------------
   61|      1|      Result = &Value;
   62|      1|    }
   63|       |
   64|  1.19k|    return *this;
   65|  1.19k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|  1.19k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.19k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.16k, False: 28]
  |  Branch (59:20): [True: 44, False: 1.12k]
  ------------------
   60|     44|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1, False: 43]
  ------------------
   61|      1|      Result = &Value;
   62|      1|    }
   63|       |
   64|  1.19k|    return *this;
   65|  1.19k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj9EEERS3_RAT__KcRKS2_:
   58|  4.77k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  4.77k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 4.65k, False: 125]
  |  Branch (59:20): [True: 208, False: 4.44k]
  ------------------
   60|    208|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1, False: 207]
  ------------------
   61|      1|      Result = &Value;
   62|      1|    }
   63|       |
   64|  4.77k|    return *this;
   65|  4.77k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj8EEERS3_RAT__KcRKS2_:
   58|  1.79k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.79k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.74k, False: 51]
  |  Branch (59:20): [True: 73, False: 1.66k]
  ------------------
   60|     73|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 2, False: 71]
  ------------------
   61|      2|      Result = &Value;
   62|      2|    }
   63|       |
   64|  1.79k|    return *this;
   65|  1.79k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj10EEERS3_RAT__KcRKS2_:
   58|  2.98k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  2.98k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 2.89k, False: 87]
  |  Branch (59:20): [True: 124, False: 2.77k]
  ------------------
   60|    124|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 2, False: 122]
  ------------------
   61|      2|      Result = &Value;
   62|      2|    }
   63|       |
   64|  2.98k|    return *this;
   65|  2.98k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj11EEERS3_RAT__KcRKS2_:
   58|  1.19k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.19k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.16k, False: 32]
  |  Branch (59:20): [True: 42, False: 1.12k]
  ------------------
   60|     42|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 42]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  1.19k|    return *this;
   65|  1.19k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|    597|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|    597|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 580, False: 17]
  |  Branch (59:20): [True: 18, False: 562]
  ------------------
   60|     18|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1, False: 17]
  ------------------
   61|      1|      Result = &Value;
   62|      1|    }
   63|       |
   64|    597|    return *this;
   65|    597|  }
_ZNK7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E7DefaultERKS2_:
  150|    597|  R Default(const T& Value) const {
  151|    597|    if (Result)
  ------------------
  |  Branch (151:9): [True: 21, False: 576]
  ------------------
  152|     21|      return *Result;
  153|       |
  154|    576|    return Value;
  155|    597|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj5EEERS2_RAT__KcRKS1_:
   58|   228k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   228k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 228k, False: 0]
  |  Branch (59:20): [True: 0, False: 228k]
  ------------------
   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|   228k|    return *this;
   65|   228k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj4ELj5ELj6EEERS2_RAT__KcRAT0__S5_RAT1__S5_RKS1_:
  105|   114k|                      const char (&S2)[N2], const T& Value) {
  106|   114k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 114k, False: 0]
  ------------------
  107|   114k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 114k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|   114k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 114k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|   114k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 114k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   114k|    return *this;
  114|   114k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj4ELj5EEERS2_RAT__KcRAT0__S5_RKS1_:
   92|   114k|                      const T& Value) {
   93|   114k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 114k, False: 0]
  ------------------
   94|   114k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 114k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|   114k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 114k]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   114k|    return *this;
  100|   114k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj3ELj4ELj5ELj4EEERS2_RAT__KcRAT0__S5_RAT1__S5_RAT2__S5_RKS1_:
  120|   114k|                      const T& Value) {
  121|   114k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 114k, False: 0]
  ------------------
  122|   114k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 0, False: 114k]
  |  Branch (122:32): [True: 0, False: 0]
  ------------------
  123|   114k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 114k]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|   114k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 0, False: 114k]
  |  Branch (124:32): [True: 0, False: 0]
  ------------------
  125|   114k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 114k]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|      0|      Result = &Value;
  127|      0|    }
  128|       |
  129|   114k|    return *this;
  130|   114k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj3ELj4ELj8ELj6EEERS2_RAT__KcRAT0__S5_RAT1__S5_RAT2__S5_RKS1_:
  120|   114k|                      const T& Value) {
  121|   114k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 114k, False: 0]
  ------------------
  122|   114k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 0, False: 114k]
  |  Branch (122:32): [True: 0, False: 0]
  ------------------
  123|   114k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 114k]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|   114k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 114k, False: 0]
  |  Branch (124:32): [True: 0, False: 114k]
  ------------------
  125|   114k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 114k]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|      0|      Result = &Value;
  127|      0|    }
  128|       |
  129|   114k|    return *this;
  130|   114k|  }

_ZN7llvm_ks6TripleC2Ev:
  223|  12.6k|  Triple() : Data(), Arch(), Vendor(), OS(), Environment(), ObjectFormat() {}
_ZNK7llvm_ks6Triple15getObjectFormatEv:
  285|  25.3k|  ObjectFormatType getObjectFormat() const { return ObjectFormat; }
_ZNK7llvm_ks6Triple7getArchEv:
  255|  1.12M|  ArchType getArch() const { return Arch; }
_ZNK7llvm_ks6Triple5getOSEv:
  264|  25.3k|  OSType getOS() const { return OS; }
_ZNK7llvm_ks6Triple9getTripleEv:
  326|  12.6k|  const std::string &getTriple() const { return Data; }
_ZNK7llvm_ks6Triple11isOSSolarisEv:
  458|  12.6k|  bool isOSSolaris() const {
  459|  12.6k|    return getOS() == Triple::Solaris;
  460|  12.6k|  }

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

_ZNK7llvm_ks14ilist_iteratorINS_10MCFragmentEE19getNodePtrUncheckedEv:
  283|  49.5M|  pointer getNodePtrUnchecked() const { return NodePtr; }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE6insertENS_14ilist_iteratorIS1_EEPS1_:
  461|  69.2k|  iterator insert(iterator where, NodeTy *New) {
  462|  69.2k|    NodeTy *CurNode = where.getNodePtrUnchecked();
  463|  69.2k|    NodeTy *PrevNode = this->getPrev(CurNode);
  464|  69.2k|    this->setNext(New, CurNode);
  465|  69.2k|    this->setPrev(New, PrevNode);
  466|       |
  467|  69.2k|    if (CurNode != Head)  // Is PrevNode off the beginning of the list?
  ------------------
  |  Branch (467:9): [True: 61.9k, False: 7.34k]
  ------------------
  468|  61.9k|      this->setNext(PrevNode, New);
  469|  7.34k|    else
  470|  7.34k|      Head = New;
  471|  69.2k|    this->setPrev(CurNode, New);
  472|       |
  473|  69.2k|    this->addNodeToList(New);  // Notify traits that we added a node...
  474|  69.2k|    return iterator(New);
  475|  69.2k|  }
_ZN7llvm_ks21ilist_nextprev_traitsINS_10MCFragmentEE7getPrevEPS1_:
   57|  97.7M|  static NodeTy *getPrev(NodeTy *N) { return N->getPrev(); }
_ZN7llvm_ks21ilist_nextprev_traitsINS_10MCFragmentEE7setNextEPS1_S3_:
   63|   213k|  static void setNext(NodeTy *N, NodeTy *Next) { N->setNext(Next); }
_ZN7llvm_ks21ilist_nextprev_traitsINS_10MCFragmentEE7setPrevEPS1_S3_:
   62|   290k|  static void setPrev(NodeTy *N, NodeTy *Prev) { N->setPrev(Prev); }
_ZN7llvm_ks14ilist_iteratorINS_10MCFragmentEEC2EPS1_:
  223|  49.3M|  explicit ilist_iterator(pointer NP) : NodePtr(NP) {}
_ZNK7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE11getPrevNodeERS1_:
  692|  23.2k|  NodeTy *getPrevNode(NodeTy &N) const {
  693|  23.2k|    auto I = N.getIterator();
  694|  23.2k|    if (I == begin())
  ------------------
  |  Branch (694:9): [True: 6.63k, False: 16.5k]
  ------------------
  695|  6.63k|      return nullptr;
  696|  16.5k|    return &*std::prev(I);
  697|  23.2k|  }
_ZNK7llvm_ks14ilist_iteratorINS_10MCFragmentEEeqIKS1_EEbRKNS0_IT_EE:
  254|  23.2k|  template <class Y> bool operator==(const ilist_iterator<Y> &RHS) const {
  255|  23.2k|    return NodePtr == RHS.getNodePtrUnchecked();
  256|  23.2k|  }
_ZNK7llvm_ks14ilist_iteratorIKNS_10MCFragmentEE19getNodePtrUncheckedEv:
  283|  94.7k|  pointer getNodePtrUnchecked() const { return NodePtr; }
_ZNK7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE5beginEv:
  412|  23.2k|  const_iterator begin() const {
  413|  23.2k|    CreateLazySentinel();
  414|  23.2k|    return const_iterator(Head);
  415|  23.2k|  }
_ZNK7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE18CreateLazySentinelEv:
  375|  49.2M|  void CreateLazySentinel() const {
  376|  49.2M|    this->ensureHead(Head);
  377|  49.2M|  }
_ZN7llvm_ks21ilist_sentinel_traitsINS_10MCFragmentEE10ensureHeadERPS1_:
   91|  49.4M|  static NodeTy *ensureHead(NodeTy *&Head) {
   92|  49.4M|    if (!Head) {
  ------------------
  |  Branch (92:9): [True: 12.9k, False: 49.4M]
  ------------------
   93|  12.9k|      Head = ilist_traits<NodeTy>::createSentinel();
   94|  12.9k|      ilist_traits<NodeTy>::noteHead(Head, Head);
   95|  12.9k|      ilist_traits<NodeTy>::setNext(Head, nullptr);
   96|  12.9k|      return Head;
   97|  12.9k|    }
   98|  49.4M|    return ilist_traits<NodeTy>::getPrev(Head);
   99|  49.4M|  }
_ZN7llvm_ks21ilist_sentinel_traitsINS_10MCFragmentEE14createSentinelEv:
   78|  12.9k|  static NodeTy *createSentinel() { return new NodeTy(); }
_ZN7llvm_ks21ilist_sentinel_traitsINS_10MCFragmentEE8noteHeadEPS1_S3_:
  102|  12.9k|  static void noteHead(NodeTy *NewHead, NodeTy *Sentinel) {
  103|  12.9k|    ilist_traits<NodeTy>::setPrev(NewHead, Sentinel);
  104|  12.9k|  }
_ZN7llvm_ks14ilist_iteratorIKNS_10MCFragmentEEC2EPS2_:
  223|  23.2k|  explicit ilist_iterator(pointer NP) : NodePtr(NP) {}
_ZN7llvm_ks14ilist_iteratorINS_10MCFragmentEEmmEv:
  262|  48.1M|  ilist_iterator &operator--() {      // predecrement - Back up
  263|  48.1M|    NodePtr = Traits::getPrev(NodePtr);
  264|  48.1M|    assert(NodePtr && "--'d off the beginning of an ilist!");
  ------------------
  |  Branch (264:5): [True: 48.1M, False: 0]
  |  Branch (264:5): [True: 48.1M, Folded]
  |  Branch (264:5): [True: 48.1M, False: 0]
  ------------------
  265|  48.1M|    return *this;
  266|  48.1M|  }
_ZN7llvm_ks14ilist_iteratorINS_10MCFragmentEEC2Ev:
  225|  60.5k|  ilist_iterator() : NodePtr(nullptr) {}
_ZN7llvm_ks14ilist_iteratorINS_10MCFragmentEEppEv:
  267|   262k|  ilist_iterator &operator++() {      // preincrement - Advance
  268|   262k|    NodePtr = Traits::getNext(NodePtr);
  269|   262k|    return *this;
  270|   262k|  }
_ZN7llvm_ks21ilist_nextprev_traitsINS_10MCFragmentEE7getNextEPS1_:
   58|   331k|  static NodeTy *getNext(NodeTy *N) { return N->getNext(); }
_ZNK7llvm_ks14ilist_iteratorINS_10MCFragmentEEeqIS1_EEbRKNS0_IT_EE:
  254|  24.1k|  template <class Y> bool operator==(const ilist_iterator<Y> &RHS) const {
  255|  24.1k|    return NodePtr == RHS.getNodePtrUnchecked();
  256|  24.1k|  }
_ZNK7llvm_ks14ilist_iteratorINS_10MCFragmentEEdeEv:
  248|  48.4M|  reference operator*() const {
  249|  48.4M|    return *NodePtr;
  250|  48.4M|  }
_ZNK7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE5emptyEv:
  434|  6.63k|  bool LLVM_ATTRIBUTE_UNUSED_RESULT empty() const {
  435|  6.63k|    return !Head || Head == getTail();
  ------------------
  |  Branch (435:12): [True: 0, False: 6.63k]
  |  Branch (435:21): [True: 0, False: 6.63k]
  ------------------
  436|  6.63k|  }
_ZNK7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE7getTailEv:
  370|  6.63k|  const NodeTy *getTail() const { return this->ensureHead(Head); }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE3endEv:
  416|   159k|  iterator end() {
  417|   159k|    CreateLazySentinel();
  418|   159k|    return iterator(getTail());
  419|   159k|  }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE7getTailEv:
  369|   172k|  NodeTy *getTail() { return this->ensureHead(Head); }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE5beginEv:
  408|  49.0M|  iterator begin() {
  409|  49.0M|    CreateLazySentinel();
  410|  49.0M|    return iterator(Head);
  411|  49.0M|  }
_ZNK7llvm_ks14ilist_iteratorINS_10MCFragmentEEneIS1_EEbRKNS0_IT_EE:
  257|  49.4M|  template <class Y> bool operator!=(const ilist_iterator<Y> &RHS) const {
  258|  49.4M|    return NodePtr != RHS.getNodePtrUnchecked();
  259|  49.4M|  }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEEC2Ev:
  400|   551k|  iplist() : Head(this->provideInitialHead()) {}
_ZN7llvm_ks21ilist_sentinel_traitsINS_10MCFragmentEE18provideInitialHeadEv:
   86|   551k|  static NodeTy *provideInitialHead() { return nullptr; }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEED2Ev:
  401|   551k|  ~iplist() {
  402|   551k|    if (!Head) return;
  ------------------
  |  Branch (402:9): [True: 538k, False: 12.9k]
  ------------------
  403|  12.9k|    clear();
  404|  12.9k|    Traits::destroySentinel(getTail());
  405|  12.9k|  }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE5clearEv:
  605|  12.9k|  void clear() { if (Head) erase(begin(), end()); }
  ------------------
  |  Branch (605:22): [True: 12.9k, False: 0]
  ------------------
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE5eraseENS_14ilist_iteratorIS1_EES6_:
  599|  12.9k|  iterator erase(iterator first, iterator last) {
  600|  82.2k|    while (first != last)
  ------------------
  |  Branch (600:12): [True: 69.2k, False: 12.9k]
  ------------------
  601|  69.2k|      first = erase(first);
  602|  12.9k|    return last;
  603|  12.9k|  }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE5eraseENS_14ilist_iteratorIS1_EE:
  517|  69.2k|  iterator erase(iterator where) {
  518|  69.2k|    this->deleteNode(remove(where));
  519|  69.2k|    return where;
  520|  69.2k|  }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE6removeERNS_14ilist_iteratorIS1_EE:
  484|  69.2k|  NodeTy *remove(iterator &IT) {
  485|  69.2k|    assert(IT != end() && "Cannot remove end of list!");
  ------------------
  |  Branch (485:5): [True: 69.2k, False: 0]
  |  Branch (485:5): [True: 69.2k, Folded]
  |  Branch (485:5): [True: 69.2k, False: 0]
  ------------------
  486|  69.2k|    NodeTy *Node = &*IT;
  487|  69.2k|    NodeTy *NextNode = this->getNext(Node);
  488|  69.2k|    NodeTy *PrevNode = this->getPrev(Node);
  489|       |
  490|  69.2k|    if (Node != Head)  // Is PrevNode off the beginning of the list?
  ------------------
  |  Branch (490:9): [True: 0, False: 69.2k]
  ------------------
  491|      0|      this->setNext(PrevNode, NextNode);
  492|  69.2k|    else
  493|  69.2k|      Head = NextNode;
  494|  69.2k|    this->setPrev(NextNode, PrevNode);
  495|  69.2k|    IT.reset(NextNode);
  496|  69.2k|    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|  69.2k|    this->setNext(Node, nullptr);
  504|  69.2k|    this->setPrev(Node, nullptr);
  505|  69.2k|    return Node;
  506|  69.2k|  }
_ZN7llvm_ks14ilist_iteratorINS_10MCFragmentEE5resetEPS1_:
  241|  69.2k|  void reset(pointer NP) { NodePtr = NP; }
_ZN7llvm_ks21ilist_sentinel_traitsINS_10MCFragmentEE15destroySentinelEPS1_:
   81|  12.9k|  static void destroySentinel(NodeTy *N) { delete N; }
_ZNK7llvm_ks14ilist_iteratorINS_10MCFragmentEEptEv:
  251|  67.9k|  pointer operator->() const { return &operator*(); }
_ZN7llvm_ks6iplistINS_10MCFragmentENS_12ilist_traitsIS1_EEE6rbeginEv:
  426|  6.63k|  reverse_iterator rbegin()            { return reverse_iterator(end()); }
_ZN7llvm_ks14ilist_iteratorIKNS_10MCFragmentEEC2IS1_EERKNS0_IT_EE:
  231|  12.1k|    : NodePtr(RHS.getNodePtrUnchecked()) {}
_ZNK7llvm_ks14ilist_iteratorIKNS_10MCFragmentEEneIS2_EEbRKNS0_IT_EE:
  257|  71.5k|  template <class Y> bool operator!=(const ilist_iterator<Y> &RHS) const {
  258|  71.5k|    return NodePtr != RHS.getNodePtrUnchecked();
  259|  71.5k|  }
_ZN7llvm_ks14ilist_iteratorIKNS_10MCFragmentEEppEv:
  267|  65.4k|  ilist_iterator &operator++() {      // preincrement - Advance
  268|  65.4k|    NodePtr = Traits::getNext(NodePtr);
  269|  65.4k|    return *this;
  270|  65.4k|  }
_ZN7llvm_ks21ilist_nextprev_traitsINS_10MCFragmentEE7getNextEPKS1_:
   60|  65.4k|  static const NodeTy *getNext(const NodeTy *N) { return N->getNext(); }
_ZNK7llvm_ks14ilist_iteratorIKNS_10MCFragmentEEdeEv:
  248|  65.4k|  reference operator*() const {
  249|  65.4k|    return *NodePtr;
  250|  65.4k|  }

_ZN7llvm_ks15ilist_half_nodeINS_10MCFragmentEE7getPrevEv:
   33|  97.7M|  NodeTy *getPrev() { return Prev; }
_ZN7llvm_ks10ilist_nodeINS_10MCFragmentEE7setNextEPS1_:
   56|   213k|  void setNext(NodeTy *N) { Next = N; }
_ZN7llvm_ks15ilist_half_nodeINS_10MCFragmentEE7setPrevEPS1_:
   35|   290k|  void setPrev(NodeTy *P) { Prev = P; }
_ZN7llvm_ks22ilist_node_with_parentINS_10MCFragmentENS_9MCSectionEEC2Ev:
   78|   633k|  ilist_node_with_parent() = default;
_ZN7llvm_ks10ilist_nodeINS_10MCFragmentEEC2Ev:
   58|   633k|  ilist_node() : Next(nullptr) {}
_ZN7llvm_ks15ilist_half_nodeINS_10MCFragmentEEC2Ev:
   36|   633k|  ilist_half_node() : Prev(nullptr) {}
_ZN7llvm_ks22ilist_node_with_parentINS_10MCFragmentENS_9MCSectionEE11getPrevNodeEv:
   94|  23.2k|  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|  23.2k|    const auto &List =
   98|  23.2k|        getNodeParent()->*(ParentTy::getSublistAccess((NodeTy *)nullptr));
   99|  23.2k|    return List.getPrevNode(*static_cast<NodeTy *>(this));
  100|  23.2k|  }
_ZNK7llvm_ks22ilist_node_with_parentINS_10MCFragmentENS_9MCSectionEE13getNodeParentEv:
   86|  23.2k|  const ParentTy *getNodeParent() const {
   87|  23.2k|    return static_cast<const NodeTy *>(this)->getParent();
   88|  23.2k|  }
_ZN7llvm_ks10ilist_nodeINS_10MCFragmentEE11getIteratorEv:
   61|  23.2k|  ilist_iterator<NodeTy> getIterator() {
   62|       |    // FIXME: Stop downcasting to create the iterator (potential UB).
   63|  23.2k|    return ilist_iterator<NodeTy>(static_cast<NodeTy *>(this));
   64|  23.2k|  }
_ZN7llvm_ks10ilist_nodeINS_10MCFragmentEE7getNextEv:
   54|   331k|  NodeTy *getNext() { return Next; }
_ZNK7llvm_ks10ilist_nodeINS_10MCFragmentEE7getNextEv:
   55|  65.4k|  const NodeTy *getNext() const { return Next; }

_ZN7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES3_EC2IS6_EEOT_:
  239|  76.4k|      : 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|  76.4k|      : I(std::forward<U &&>(u)) {}
_ZN7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES4_EC2IS7_EEOT_:
  239|  12.9k|      : 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|  12.9k|      : I(std::forward<U &&>(u)) {}
_ZNK7llvm_ks20iterator_facade_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES4_EENS2_26random_access_iterator_tagES4_lS5_RS4_EneERKS8_:
   96|  76.6k|  bool operator!=(const DerivedT &RHS) const {
   97|  76.6k|    return !static_cast<const DerivedT *>(this)->operator==(RHS);
   98|  76.6k|  }
_ZNK7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES4_EES7_NS2_26random_access_iterator_tagES4_lS5_RS4_NS2_15iterator_traitsIS7_EEEeqERKS8_:
  208|  76.6k|  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|  38.3k|  DerivedT &operator++() {
  196|  38.3k|    ++I;
  197|  38.3k|    return *static_cast<DerivedT *>(this);
  198|  38.3k|  }
_ZNK7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES3_EdeEv:
  241|  39.2k|  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|  70.1k|  bool operator!=(const DerivedT &RHS) const {
   97|  70.1k|    return !static_cast<const DerivedT *>(this)->operator==(RHS);
   98|  70.1k|  }
_ZNK7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EES8_NS2_26random_access_iterator_tagES5_lS6_RS5_NS2_15iterator_traitsIS8_EEEeqERKS9_:
  208|  70.1k|  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|  63.6k|  DerivedT &operator++() {
  196|  63.6k|    ++I;
  197|  63.6k|    return *static_cast<DerivedT *>(this);
  198|  63.6k|  }
_ZNK7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES4_EdeEv:
  241|  63.6k|  T &operator*() const { return **this->I; }

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

_ZN7llvm_ks12MCAsmBackend7setArchEi:
  145|  12.6k|  void setArch(int arch) { KsArch = arch; }
_ZNK7llvm_ks12MCAsmBackend17getMinimumNopSizeEv:
  128|     84|  virtual unsigned getMinimumNopSize() const { return 1; }
_ZN7llvm_ks12MCAsmBackend7getArchEv:
  146|     73|  int getArch() { return KsArch; }

_ZN7llvm_ks9MCAsmInfo8setRadixEj:
  480|  12.6k|  void setRadix(unsigned v) { Radix = v; }
_ZNK7llvm_ks9MCAsmInfo14isLittleEndianEv:
  379|  47.9M|  bool isLittleEndian() const { return IsLittleEndian; }
_ZNK7llvm_ks9MCAsmInfo24hasSubsectionsViaSymbolsEv:
  384|   235k|  bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
_ZNK7llvm_ks9MCAsmInfo13getDollarIsPCEv:
  450|  3.27k|  bool getDollarIsPC() const { return DollarIsPC; }
_ZNK7llvm_ks9MCAsmInfo18getSeparatorStringEv:
  451|  34.2M|  const char *getSeparatorString() const { return SeparatorString; }
_ZNK7llvm_ks9MCAsmInfo16getCommentStringEv:
  457|  12.5M|  const char *getCommentString() const { return CommentString; }
_ZNK7llvm_ks9MCAsmInfo22getPrivateGlobalPrefixEv:
  463|   197k|  const char *getPrivateGlobalPrefix() const { return PrivateGlobalPrefix; }
_ZNK7llvm_ks9MCAsmInfo8getRadixEv:
  481|  12.6k|  unsigned getRadix() const { return Radix; }
_ZNK7llvm_ks9MCAsmInfo17doesAllowAtInNameEv:
  482|  7.52k|  bool doesAllowAtInName() const { return AllowAtInName; }
_ZNK7llvm_ks9MCAsmInfo21getAlignmentIsInBytesEv:
  490|  9.92k|  bool getAlignmentIsInBytes() const { return AlignmentIsInBytes; }
_ZNK7llvm_ks9MCAsmInfo21getTextAlignFillValueEv:
  491|  3.58k|  unsigned getTextAlignFillValue() const { return TextAlignFillValue; }
_ZNK7llvm_ks9MCAsmInfo34getCOMMDirectiveAlignmentIsInBytesEv:
  497|    191|  bool getCOMMDirectiveAlignmentIsInBytes() const {
  498|    191|    return COMMDirectiveAlignmentIsInBytes;
  499|    191|  }
_ZNK7llvm_ks9MCAsmInfo30getLCOMMDirectiveAlignmentTypeEv:
  500|    211|  LCOMM::LCOMMType getLCOMMDirectiveAlignmentType() const {
  501|    211|    return LCOMMDirectiveAlignmentType;
  502|    211|  }
_ZNK7llvm_ks9MCAsmInfo25useParensForSymbolVariantEv:
  548|   395k|  bool useParensForSymbolVariant() const { return UseParensForSymbolVariant; }
_ZN7llvm_ks9MCAsmInfo20addInitialFrameStateERKNS_16MCCFIInstructionE:
  550|  12.6k|  void addInitialFrameState(const MCCFIInstruction &Inst) {
  551|  12.6k|    InitialFrameState.push_back(Inst);
  552|  12.6k|  }
_ZNK7llvm_ks9MCAsmInfo21compressDebugSectionsEv:
  566|  6.08k|  bool compressDebugSections() const { return CompressDebugSections; }
_ZNK7llvm_ks9MCAsmInfo19shouldUseLogicalShrEv:
  572|   598k|  bool shouldUseLogicalShr() const { return UseLogicalShr; }

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

_ZNK7llvm_ks11MCAssembler8setErrorEj:
   64|  6.41k|  void setError(unsigned E) const { KsError = E; }
_ZNK7llvm_ks11MCAssembler8getErrorEv:
   65|  77.4k|  unsigned getError() const { return KsError; }
_ZNK7llvm_ks11MCAssembler14setSymResolverEPv:
   67|  6.46k|  void setSymResolver(void *h) const { KsSymResolver = h; }
_ZNK7llvm_ks11MCAssembler10getContextEv:
  264|  26.6k|  MCContext &getContext() const { return Context; }
_ZNK7llvm_ks11MCAssembler10getBackendEv:
  266|  14.3k|  MCAsmBackend &getBackend() const { return Backend; }
_ZNK7llvm_ks11MCAssembler10getEmitterEv:
  268|  3.39k|  MCCodeEmitter &getEmitter() const { return Emitter; }
_ZNK7llvm_ks11MCAssembler9getWriterEv:
  270|  58.9k|  MCObjectWriter &getWriter() const { return Writer; }
_ZNK7llvm_ks11MCAssembler17isBundlingEnabledEv:
  297|  48.0M|  bool isBundlingEnabled() const { return BundleAlignSize != 0; }
_ZN7llvm_ks11MCAssembler5beginEv:
  310|  38.2k|  iterator begin() { return Sections.begin(); }
_ZN7llvm_ks11MCAssembler3endEv:
  313|  38.2k|  iterator end() { return Sections.end(); }
_ZN7llvm_ks11MCAssembler12symbol_beginEv:
  321|  6.46k|  symbol_iterator symbol_begin() { return Symbols.begin(); }
_ZN7llvm_ks11MCAssembler10symbol_endEv:
  324|  6.46k|  symbol_iterator symbol_end() { return Symbols.end(); }
_ZN7llvm_ks11MCAssembler7symbolsEv:
  327|  6.46k|  symbol_range symbols() { return make_range(symbol_begin(), symbol_end()); }
_ZN7llvm_ks11MCAssembler11addFileNameENS_9StringRefE:
  411|  10.5k|  void addFileName(StringRef FileName) {
  412|  10.5k|    if (std::find(FileNames.begin(), FileNames.end(), FileName) ==
  ------------------
  |  Branch (412:9): [True: 615, False: 9.93k]
  ------------------
  413|  10.5k|        FileNames.end())
  414|    615|      FileNames.push_back(FileName);
  415|  10.5k|  }

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

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

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

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

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

_ZN7llvm_ks6MCExprC2ENS0_8ExprKindE:
   59|   763k|  explicit MCExpr(ExprKind Kind) : Kind(Kind) {}
_ZNK7llvm_ks6MCExpr7getKindEv:
   70|  3.07M|  ExprKind getKind() const { return Kind; }
_ZN7llvm_ks14MCConstantExprC2El:
  134|   240k|      : MCExpr(MCExpr::Constant), Value(Value) {}
_ZNK7llvm_ks14MCConstantExpr8getValueEv:
  146|   247k|  int64_t getValue() const { return Value; }
_ZN7llvm_ks14MCConstantExpr7classofEPKNS_6MCExprE:
  150|   521k|  static bool classof(const MCExpr *E) {
  151|   521k|    return E->getKind() == MCExpr::Constant;
  152|   521k|  }
_ZNK7llvm_ks15MCSymbolRefExpr9getSymbolEv:
  333|   506k|  const MCSymbol &getSymbol() const { return *Symbol; }
_ZNK7llvm_ks15MCSymbolRefExpr7getKindEv:
  335|  84.1k|  VariantKind getKind() const { return Kind; }
_ZNK7llvm_ks15MCSymbolRefExpr24hasSubsectionsViaSymbolsEv:
  339|  1.74k|  bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
_ZN7llvm_ks15MCSymbolRefExpr7classofEPKNS_6MCExprE:
  351|   436k|  static bool classof(const MCExpr *E) {
  352|   436k|    return E->getKind() == MCExpr::SymbolRef;
  353|   436k|  }
_ZN7llvm_ks11MCUnaryExprC2ENS0_6OpcodeEPKNS_6MCExprE:
  371|   102k|      : MCExpr(MCExpr::Unary), Op(Op), Expr(Expr) {}
_ZN7llvm_ks11MCUnaryExpr11createMinusEPKNS_6MCExprERNS_9MCContextE:
  382|  89.5k|  static const MCUnaryExpr *createMinus(const MCExpr *Expr, MCContext &Ctx) {
  383|  89.5k|    return create(Minus, Expr, Ctx);
  384|  89.5k|  }
_ZN7llvm_ks11MCUnaryExpr9createNotEPKNS_6MCExprERNS_9MCContextE:
  385|  1.09k|  static const MCUnaryExpr *createNot(const MCExpr *Expr, MCContext &Ctx) {
  386|  1.09k|    return create(Not, Expr, Ctx);
  387|  1.09k|  }
_ZN7llvm_ks11MCUnaryExpr10createPlusEPKNS_6MCExprERNS_9MCContextE:
  388|  10.5k|  static const MCUnaryExpr *createPlus(const MCExpr *Expr, MCContext &Ctx) {
  389|  10.5k|    return create(Plus, Expr, Ctx);
  390|  10.5k|  }
_ZNK7llvm_ks11MCUnaryExpr9getOpcodeEv:
  397|  79.7k|  Opcode getOpcode() const { return Op; }
_ZNK7llvm_ks11MCUnaryExpr10getSubExprEv:
  400|   203k|  const MCExpr *getSubExpr() const { return Expr; }
_ZN7llvm_ks11MCUnaryExpr7classofEPKNS_6MCExprE:
  404|   168k|  static bool classof(const MCExpr *E) {
  405|   168k|    return E->getKind() == MCExpr::Unary;
  406|   168k|  }
_ZN7llvm_ks12MCBinaryExprC2ENS0_6OpcodeEPKNS_6MCExprES4_:
  443|   192k|      : MCExpr(MCExpr::Binary), Op(Op), LHS(LHS), RHS(RHS) {}
_ZNK7llvm_ks12MCBinaryExpr9getOpcodeEv:
  533|   190k|  Opcode getOpcode() const { return Op; }
_ZNK7llvm_ks12MCBinaryExpr6getLHSEv:
  536|   478k|  const MCExpr *getLHS() const { return LHS; }
_ZNK7llvm_ks12MCBinaryExpr6getRHSEv:
  539|   428k|  const MCExpr *getRHS() const { return RHS; }
_ZN7llvm_ks12MCBinaryExpr7classofEPKNS_6MCExprE:
  543|   426k|  static bool classof(const MCExpr *E) {
  544|   426k|    return E->getKind() == MCExpr::Binary;
  545|   426k|  }
_ZN7llvm_ks12MCTargetExprC2Ev:
  555|      6|  MCTargetExpr() : MCExpr(Target) {}
_ZN7llvm_ks12MCTargetExpr7classofEPKNS_6MCExprE:
  567|      9|  static bool classof(const MCExpr *E) {
  568|      9|    return E->getKind() == MCExpr::Target;
  569|      9|  }

_ZN7llvm_ks7MCFixup6createEjPKNS_6MCExprENS_11MCFixupKindENS_5SMLocE:
   87|  24.8k|                        MCFixupKind Kind, SMLoc Loc = SMLoc()) {
   88|  24.8k|    assert(unsigned(Kind) < MaxTargetFixupKind && "Kind out of range!");
  ------------------
  |  Branch (88:5): [True: 24.8k, False: 0]
  |  Branch (88:5): [True: 24.8k, Folded]
  |  Branch (88:5): [True: 24.8k, False: 0]
  ------------------
   89|  24.8k|    MCFixup FI;
   90|  24.8k|    FI.Value = Value;
   91|  24.8k|    FI.Offset = Offset;
   92|  24.8k|    FI.Kind = unsigned(Kind);
   93|  24.8k|    FI.Loc = Loc;
   94|  24.8k|    return FI;
   95|  24.8k|  }
_ZNK7llvm_ks7MCFixup7getKindEv:
  119|  49.6k|  MCFixupKind getKind() const { return MCFixupKind(Kind); }
_ZNK7llvm_ks7MCFixup9getOffsetEv:
  121|  22.1k|  uint32_t getOffset() const { return Offset; }
_ZN7llvm_ks7MCFixup9setOffsetEj:
  122|  2.13k|  void setOffset(uint32_t Value) { Offset = Value; }
_ZNK7llvm_ks7MCFixup8getValueEv:
  124|  16.3k|  const MCExpr *getValue() const { return Value; }
_ZN7llvm_ks7MCFixup14getKindForSizeEjb:
  128|  22.7k|  static MCFixupKind getKindForSize(unsigned Size, bool isPCRel) {
  129|  22.7k|    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: 22.7k]
  ------------------
  131|  1.27k|    case 1: return isPCRel ? FK_PCRel_1 : FK_Data_1;
  ------------------
  |  Branch (131:5): [True: 1.27k, False: 21.4k]
  |  Branch (131:20): [True: 0, False: 1.27k]
  ------------------
  132|     88|    case 2: return isPCRel ? FK_PCRel_2 : FK_Data_2;
  ------------------
  |  Branch (132:5): [True: 88, False: 22.6k]
  |  Branch (132:20): [True: 0, False: 88]
  ------------------
  133|  21.2k|    case 4: return isPCRel ? FK_PCRel_4 : FK_Data_4;
  ------------------
  |  Branch (133:5): [True: 21.2k, False: 1.51k]
  |  Branch (133:20): [True: 0, False: 21.2k]
  ------------------
  134|    143|    case 8: return isPCRel ? FK_PCRel_8 : FK_Data_8;
  ------------------
  |  Branch (134:5): [True: 143, False: 22.5k]
  |  Branch (134:20): [True: 0, False: 143]
  ------------------
  135|  22.7k|    }
  136|  22.7k|  }
_ZNK7llvm_ks7MCFixup6getLocEv:
  162|  3.09k|  SMLoc getLoc() const { return Loc; }

_ZNK7llvm_ks10MCFragment7getKindEv:
   97|  96.5M|  FragmentType getKind() const { return Kind; }
_ZNK7llvm_ks10MCFragment9getParentEv:
   99|   319k|  MCSection *getParent() const { return Parent; }
_ZN7llvm_ks10MCFragment9setParentEPNS_9MCSectionE:
  100|  69.2k|  void setParent(MCSection *Value) { Parent = Value; }
_ZNK7llvm_ks10MCFragment14getLayoutOrderEv:
  105|   187k|  unsigned getLayoutOrder() const { return LayoutOrder; }
_ZN7llvm_ks10MCFragment14setLayoutOrderEj:
  106|  67.9k|  void setLayoutOrder(unsigned Value) { LayoutOrder = Value; }
_ZNK7llvm_ks10MCFragment16getBundlePaddingEv:
  121|  12.6k|  uint8_t getBundlePadding() const { return BundlePadding; }
_ZNK7llvm_ks10MCFragment7isDummyEv:
  128|   551k|  bool isDummy() const { return Kind == FT_Dummy; }
_ZN7llvm_ks15MCDummyFragmentC2EPNS_9MCSectionE:
  136|   551k|      : MCFragment(FT_Dummy, false, 0, Sec){};
_ZN7llvm_ks17MCEncodedFragmentC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  147|  8.51k|      : MCFragment(FType, HasInstructions, 0, Sec) {}
_ZN7llvm_ks17MCEncodedFragment7classofEPKNS_10MCFragmentE:
  150|  73.0k|  static bool classof(const MCFragment *F) {
  151|  73.0k|    MCFragment::FragmentType Kind = F->getKind();
  152|  73.0k|    switch (Kind) {
  153|  59.1k|    default:
  ------------------
  |  Branch (153:5): [True: 59.1k, False: 13.9k]
  ------------------
  154|  59.1k|      return false;
  155|      0|    case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (155:5): [True: 0, False: 73.0k]
  ------------------
  156|      0|    case MCFragment::FT_CompactEncodedInst:
  ------------------
  |  Branch (156:5): [True: 0, False: 73.0k]
  ------------------
  157|  13.9k|    case MCFragment::FT_Data:
  ------------------
  |  Branch (157:5): [True: 13.9k, False: 59.1k]
  ------------------
  158|  13.9k|      return true;
  159|  73.0k|    }
  160|  73.0k|  }
_ZN7llvm_ks14MCDataFragmentC2EPNS_9MCSectionE:
  222|  8.51k|      : MCEncodedFragmentWithFixups<32, 4>(FT_Data, false, Sec) {}
_ZN7llvm_ks14MCDataFragment18setHasInstructionsEb:
  224|  3.39k|  void setHasInstructions(bool V) { HasInstructions = V; }
_ZN7llvm_ks14MCDataFragment7classofEPKNS_10MCFragmentE:
  226|  96.2M|  static bool classof(const MCFragment *F) {
  227|  96.2M|    return F->getKind() == MCFragment::FT_Data;
  228|  96.2M|  }
_ZN7llvm_ks28MCCompactEncodedInstFragment7classofEPKNS_10MCFragmentE:
  242|  6.99k|  static bool classof(const MCFragment *F) {
  243|  6.99k|    return F->getKind() == MCFragment::FT_CompactEncodedInst;
  244|  6.99k|  }
_ZN7llvm_ks15MCAlignFragmentC2EjljjPNS_9MCSectionE:
  297|  4.93k|      : MCFragment(FT_Align, false, 0, Sec), Alignment(Alignment),
  298|  4.93k|        EmitNops(false), Value(Value),
  299|  4.93k|        ValueSize(ValueSize), MaxBytesToEmit(MaxBytesToEmit) {}
_ZNK7llvm_ks15MCAlignFragment12getAlignmentEv:
  304|  8.80k|  unsigned getAlignment() const { return Alignment; }
_ZNK7llvm_ks15MCAlignFragment8getValueEv:
  306|    621|  int64_t getValue() const { return Value; }
_ZNK7llvm_ks15MCAlignFragment12getValueSizeEv:
  308|  13.2k|  unsigned getValueSize() const { return ValueSize; }
_ZNK7llvm_ks15MCAlignFragment17getMaxBytesToEmitEv:
  310|  8.80k|  unsigned getMaxBytesToEmit() const { return MaxBytesToEmit; }
_ZNK7llvm_ks15MCAlignFragment11hasEmitNopsEv:
  312|  4.46k|  bool hasEmitNops() const { return EmitNops; }
_ZN7llvm_ks15MCAlignFragment11setEmitNopsEb:
  313|  1.88k|  void setEmitNops(bool Value) { EmitNops = Value; }
_ZN7llvm_ks15MCAlignFragment7classofEPKNS_10MCFragmentE:
  317|  19.8k|  static bool classof(const MCFragment *F) {
  318|  19.8k|    return F->getKind() == MCFragment::FT_Align;
  319|  19.8k|  }
_ZN7llvm_ks14MCFillFragmentC2EhmPNS_9MCSectionE:
  332|  1.34k|      : MCFragment(FT_Fill, false, 0, Sec), Value(Value), Size(Size) {}
_ZNK7llvm_ks14MCFillFragment8getValueEv:
  334|  1.21k|  uint8_t getValue() const { return Value; }
_ZNK7llvm_ks14MCFillFragment7getSizeEv:
  335|  3.60k|  uint64_t getSize() const { return Size; }
_ZN7llvm_ks14MCFillFragment7classofEPKNS_10MCFragmentE:
  337|  4.96k|  static bool classof(const MCFragment *F) {
  338|  4.96k|    return F->getKind() == MCFragment::FT_Fill;
  339|  4.96k|  }
_ZN7llvm_ks13MCOrgFragmentC2ERKNS_6MCExprEaPNS_9MCSectionE:
  352|  54.4k|      : MCFragment(FT_Org, false, 0, Sec), Offset(&Offset), Value(Value) {}
_ZNK7llvm_ks13MCOrgFragment9getOffsetEv:
  357|  8.42k|  const MCExpr &getOffset() const { return *Offset; }
_ZNK7llvm_ks13MCOrgFragment8getValueEv:
  359|   151M|  uint8_t getValue() const { return Value; }
_ZN7llvm_ks13MCOrgFragment7classofEPKNS_10MCFragmentE:
  363|  64.6k|  static bool classof(const MCFragment *F) {
  364|  64.6k|    return F->getKind() == MCFragment::FT_Org;
  365|  64.6k|  }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj32ELj4EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  195|  8.51k|      : MCEncodedFragmentWithContents<ContentsSize>(FType, HasInstructions,
  196|  8.51k|                                                    Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj32EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  174|  8.51k|      : MCEncodedFragment(FType, HasInstructions, Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj32EE11getContentsEv:
  177|  96.1M|  SmallVectorImpl<char> &getContents() { return Contents; }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj32ELj4EE9getFixupsEv:
  202|  31.8k|  SmallVectorImpl<MCFixup> &getFixups() { return Fixups; }
_ZNK7llvm_ks29MCEncodedFragmentWithContentsILj32EE11getContentsEv:
  178|  11.6k|  const SmallVectorImpl<char> &getContents() const { return Contents; }

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

_ZN7llvm_ks11MCInstrInfo15InitMCInstrInfoEPKNS_11MCInstrDescEPKjPKcj:
   34|  12.6k|                       unsigned NO) {
   35|  12.6k|    Desc = D;
   36|  12.6k|    InstrNameIndices = NI;
   37|  12.6k|    InstrNameData = ND;
   38|  12.6k|    NumOpcodes = NO;
   39|  12.6k|  }

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

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

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

_ZN7llvm_ks14MCObjectWriterC2ERNS_17raw_pwrite_streamEb:
   51|  12.6k|      : OS(&OS), IsLittleEndian(IsLittleEndian) {}
_ZN7llvm_ks14MCObjectWriter9getStreamEv:
   65|  49.2k|  raw_pwrite_stream &getStream() { return *OS; }
_ZN7llvm_ks14MCObjectWriter6write8Eh:
  127|   151M|  void write8(uint8_t Value) { *OS << char(Value); }
_ZN7llvm_ks14MCObjectWriter9writeLE32Ej:
  133|    397|  void writeLE32(uint32_t Value) {
  134|    397|    support::endian::Writer<support::little>(*OS).write(Value);
  135|    397|  }
_ZN7llvm_ks14MCObjectWriter7write32Ej:
  160|    397|  void write32(uint32_t Value) {
  161|    397|    if (IsLittleEndian)
  ------------------
  |  Branch (161:9): [True: 397, False: 0]
  ------------------
  162|    397|      writeLE32(Value);
  163|      0|    else
  164|      0|      writeBE32(Value);
  165|    397|  }
_ZN7llvm_ks14MCObjectWriter10WriteZerosEj:
  174|  6.08k|  void WriteZeros(unsigned N) {
  175|  6.08k|    const char Zeros[16] = {0};
  176|       |
  177|  6.08k|    for (unsigned i = 0, e = N / 16; i != e; ++i)
  ------------------
  |  Branch (177:38): [True: 0, False: 6.08k]
  ------------------
  178|      0|      *OS << StringRef(Zeros, 16);
  179|       |
  180|  6.08k|    *OS << StringRef(Zeros, N % 16);
  181|  6.08k|  }
_ZN7llvm_ks14MCObjectWriter10writeBytesERKNS_15SmallVectorImplIcEEj:
  184|  5.41k|                  unsigned ZeroFillSize = 0) {
  185|  5.41k|    writeBytes(StringRef(ByteVec.data(), ByteVec.size()), ZeroFillSize);
  186|  5.41k|  }
_ZN7llvm_ks14MCObjectWriter10writeBytesENS_9StringRefEj:
  188|  2.49M|  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.49M|    assert(
  ------------------
  |  Branch (191:5): [True: 2.49M, False: 0]
  |  Branch (191:5): [True: 0, False: 0]
  |  Branch (191:5): [True: 2.49M, Folded]
  |  Branch (191:5): [True: 2.49M, False: 0]
  ------------------
  192|  2.49M|        (ZeroFillSize == 0 || Str.size() <= ZeroFillSize) &&
  193|  2.49M|        "data size greater than fill size, unexpected large write will occur");
  194|  2.49M|    *OS << Str;
  195|  2.49M|    if (ZeroFillSize)
  ------------------
  |  Branch (195:9): [True: 0, False: 2.49M]
  ------------------
  196|      0|      WriteZeros(ZeroFillSize - Str.size());
  197|  2.49M|  }

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

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

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

_ZNK7llvm_ks11MCAsmParser8getLexerEv:
   93|  12.1M|  const MCAsmLexer &getLexer() const {
   94|  12.1M|    return const_cast<MCAsmParser*>(this)->getLexer();
   95|  12.1M|  }
_ZNK7llvm_ks11MCAsmParser15getTargetParserEv:
  102|  1.28M|  MCTargetAsmParser &getTargetParser() const { return *TargetParser; }

_ZN7llvm_ks20MCAsmParserExtension10getContextEv:
   54|  32.8k|  MCContext &getContext() { return getParser().getContext(); }
_ZN7llvm_ks20MCAsmParserExtension8getLexerEv:
   56|   614k|  MCAsmLexer &getLexer() { return getParser().getLexer(); }
_ZN7llvm_ks20MCAsmParserExtension9getParserEv:
   61|  1.70M|  MCAsmParser &getParser() { return *Parser; }
_ZN7llvm_ks20MCAsmParserExtension11getStreamerEv:
   67|  9.46k|  MCStreamer &getStreamer() { return getParser().getStreamer(); }
_ZN7llvm_ks20MCAsmParserExtension7WarningENS_5SMLocERKNS_5TwineE:
   68|    640|  bool Warning(SMLoc L, const Twine &Msg) {
   69|    640|    return getParser().Warning(L, Msg);
   70|    640|  }
_ZN7llvm_ks20MCAsmParserExtension5ErrorENS_5SMLocERKNS_5TwineE:
   71|  2.48k|  bool Error(SMLoc L, const Twine &Msg) {
   72|  2.48k|    return getParser().Error(L, Msg);
   73|  2.48k|  }
_ZN7llvm_ks20MCAsmParserExtension8TokErrorERKNS_5TwineE:
   77|    161|  bool TokError(const Twine &Msg) {
   78|    161|    return getParser().TokError(Msg);
   79|    161|  }
_ZN7llvm_ks20MCAsmParserExtension3LexEv:
   81|  19.7k|  const AsmToken &Lex() { return getParser().Lex(); }
_ZNK7llvm_ks20MCAsmParserExtension21HasBracketExpressionsEv:
   85|  1.00k|  bool HasBracketExpressions() const { return BracketExpressionsSupported; }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_18parseDirectiveDescES5_S6_EEEEbPS0_S5_S6_:
   36|     29|                              SMLoc DirectiveLoc) {
   37|     29|    T *Obj = static_cast<T*>(Target);
   38|     29|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|     29|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_18parseDirectiveLsymES5_S6_EEEEbPS0_S5_S6_:
   36|     31|                              SMLoc DirectiveLoc) {
   37|     31|    T *Obj = static_cast<T*>(Target);
   38|     31|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|     31|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_24parseDirectiveDumpOrLoadES5_S6_EEEEbPS0_S5_S6_:
   36|    645|                              SMLoc DirectiveLoc) {
   37|    645|    T *Obj = static_cast<T*>(Target);
   38|    645|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    645|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_21parseDirectiveSectionES5_S6_EEEEbPS0_S5_S6_:
   36|  8.55k|                              SMLoc DirectiveLoc) {
   37|  8.55k|    T *Obj = static_cast<T*>(Target);
   38|  8.55k|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|  8.55k|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_18parseDirectiveTBSSES5_S6_EEEEbPS0_S5_S6_:
   36|    232|                              SMLoc DirectiveLoc) {
   37|    232|    T *Obj = static_cast<T*>(Target);
   38|    232|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    232|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_24parseSectionDirectiveBssES5_S6_EEEEbPS0_S5_S6_:
   36|    326|                              SMLoc DirectiveLoc) {
   37|    326|    T *Obj = static_cast<T*>(Target);
   38|    326|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    326|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_26parseSectionDirectiveConstES5_S6_EEEEbPS0_S5_S6_:
   36|     75|                              SMLoc DirectiveLoc) {
   37|     75|    T *Obj = static_cast<T*>(Target);
   38|     75|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|     75|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_32parseSectionDirectiveConstructorES5_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_25parseSectionDirectiveDataES5_S6_EEEEbPS0_S5_S6_:
   36|    638|                              SMLoc DirectiveLoc) {
   37|    638|    T *Obj = static_cast<T*>(Target);
   38|    638|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    638|  }
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|      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_26parseSectionDirectiveIdentES5_S6_EEEEbPS0_S5_S6_:
   36|    246|                              SMLoc DirectiveLoc) {
   37|    246|    T *Obj = static_cast<T*>(Target);
   38|    246|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    246|  }

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

_ZN7llvm_ks20ParseInstructionInfoC2EPNS_15SmallVectorImplINS_10AsmRewriteEEE:
   81|   111k|    : AsmRewrites(rewrites) {}
_ZNK7llvm_ks17MCTargetAsmParser20getAvailableFeaturesEv:
  129|   238k|  uint64_t getAvailableFeatures() const { return AvailableFeatures; }
_ZN7llvm_ks17MCTargetAsmParser20setAvailableFeaturesEm:
  131|  12.6k|  void setAvailableFeatures(uint64_t Value) { AvailableFeatures = Value; }
_ZNK7llvm_ks17MCTargetAsmParser16getTargetOptionsEv:
  137|  12.7k|  MCTargetOptions getTargetOptions() const { return MCOptions; }
_ZN7llvm_ks17MCTargetAsmParser16ParseInstructionERNS_20ParseInstructionInfoENS_9StringRefENS_8AsmTokenERNS_15SmallVectorImplINSt3__110unique_ptrINS_18MCParsedAsmOperandENS6_14default_deleteIS8_EEEEEERj:
  165|   111k|                                AsmToken Token, OperandVector &Operands, unsigned int &ErrorCode) {
  166|   111k|    return ParseInstruction(Info, Name, Token.getLoc(), Operands, ErrorCode);
  167|   111k|  }
_ZN7llvm_ks17MCTargetAsmParser25checkTargetMatchPredicateERNS_6MCInstE:
  206|  3.39k|  virtual unsigned checkTargetMatchPredicate(MCInst &Inst) {
  207|  3.39k|    return Match_Success;
  208|  3.39k|  }
_ZN7llvm_ks17MCTargetAsmParser20equalIsAsmAssignmentEv:
  214|   222k|  virtual bool equalIsAsmAssignment() { return true; };
_ZN7llvm_ks17MCTargetAsmParser7isLabelERNS_8AsmTokenERb:
  216|    346|  virtual bool isLabel(AsmToken &Token, bool &valid) { valid = true; return true; };
_ZN7llvm_ks17MCTargetAsmParser19applyModifierToExprEPKNS_6MCExprENS_15MCSymbolRefExpr11VariantKindERNS_9MCContextE:
  220|  9.73k|                                            MCContext &Ctx) {
  221|  9.73k|    return nullptr;
  222|  9.73k|  }
_ZN7llvm_ks17MCTargetAsmParser13onLabelParsedEPNS_8MCSymbolE:
  224|    180|  virtual void onLabelParsed(MCSymbol *Symbol) { }

_ZNK7llvm_ks14MCRegisterInfo16DwarfLLVMRegPairltES1_:
  145|  76.0k|    bool operator<(DwarfLLVMRegPair RHS) const { return FromReg < RHS.FromReg; }
_ZN7llvm_ks14MCRegisterInfo18InitMCRegisterInfoEPKNS_14MCRegisterDescEjjjPKNS_15MCRegisterClassEjPA2_KtjPS7_PKjPKcSE_SA_jPKNS0_17SubRegCoveredBitsESA_:
  256|  12.6k|                          const uint16_t *RET) {
  257|  12.6k|    Desc = D;
  258|  12.6k|    NumRegs = NR;
  259|  12.6k|    RAReg = RA;
  260|  12.6k|    PCReg = PC;
  261|  12.6k|    Classes = C;
  262|  12.6k|    DiffLists = DL;
  263|  12.6k|    RegUnitMaskSequences = RUMS;
  264|  12.6k|    RegStrings = Strings;
  265|  12.6k|    RegClassStrings = ClassStrings;
  266|  12.6k|    NumClasses = NC;
  267|  12.6k|    RegUnitRoots = RURoots;
  268|  12.6k|    NumRegUnits = NRU;
  269|  12.6k|    SubRegIndices = SubIndices;
  270|  12.6k|    NumSubRegIndices = NumIndices;
  271|  12.6k|    SubRegIdxRanges = SubIdxRanges;
  272|  12.6k|    RegEncodingTable = RET;
  273|  12.6k|  }
_ZN7llvm_ks14MCRegisterInfo22mapLLVMRegsToDwarfRegsEPKNS0_16DwarfLLVMRegPairEjb:
  279|  25.3k|                              bool isEH) {
  280|  25.3k|    if (isEH) {
  ------------------
  |  Branch (280:9): [True: 12.6k, False: 12.6k]
  ------------------
  281|  12.6k|      EHL2DwarfRegs = Map;
  282|  12.6k|      EHL2DwarfRegsSize = Size;
  283|  12.6k|    } else {
  284|  12.6k|      L2DwarfRegs = Map;
  285|  12.6k|      L2DwarfRegsSize = Size;
  286|  12.6k|    }
  287|  25.3k|  }
_ZN7llvm_ks14MCRegisterInfo22mapDwarfRegsToLLVMRegsEPKNS0_16DwarfLLVMRegPairEjb:
  293|  25.3k|                              bool isEH) {
  294|  25.3k|    if (isEH) {
  ------------------
  |  Branch (294:9): [True: 12.6k, False: 12.6k]
  ------------------
  295|  12.6k|      EHDwarf2LRegs = Map;
  296|  12.6k|      EHDwarf2LRegsSize = Size;
  297|  12.6k|    } else {
  298|  12.6k|      Dwarf2LRegs = Map;
  299|  12.6k|      Dwarf2LRegsSize = Size;
  300|  12.6k|    }
  301|  25.3k|  }
_ZNK7llvm_ks14MCRegisterInfo16getEncodingValueEj:
  418|  2.80k|  uint16_t getEncodingValue(unsigned RegNo) const {
  419|  2.80k|    assert(RegNo < NumRegs &&
  ------------------
  |  Branch (419:5): [True: 2.80k, False: 0]
  |  Branch (419:5): [True: 2.80k, Folded]
  |  Branch (419:5): [True: 2.80k, False: 0]
  ------------------
  420|  2.80k|           "Attempting to get encoding for invalid register number!");
  421|  2.80k|    return RegEncodingTable[RegNo];
  422|  2.80k|  }

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

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

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

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

_ZNK7llvm_ks15MCSubtargetInfo15getTargetTripleEv:
   54|   915k|  const Triple &getTargetTriple() const { return TargetTriple; }
_ZNK7llvm_ks15MCSubtargetInfo14getFeatureBitsEv:
   63|  12.6k|  const FeatureBitset& getFeatureBits() const {
   64|  12.6k|    return FeatureBits;
   65|  12.6k|  }

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

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

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

_ZNK7llvm_ks7MCValue11getConstantEv:
   46|   602k|  int64_t getConstant() const { return Cst; }
_ZNK7llvm_ks7MCValue7getSymAEv:
   47|   353k|  const MCSymbolRefExpr *getSymA() const { return SymA; }
_ZNK7llvm_ks7MCValue7getSymBEv:
   48|   305k|  const MCSymbolRefExpr *getSymB() const { return SymB; }
_ZNK7llvm_ks7MCValue10isAbsoluteEv:
   52|   438k|  bool isAbsolute() const { return !SymA && !SymB; }
  ------------------
  |  Branch (52:36): [True: 186k, False: 251k]
  |  Branch (52:45): [True: 178k, False: 8.67k]
  ------------------
_ZN7llvm_ks7MCValue3getEPKNS_15MCSymbolRefExprES3_lj:
   64|   367k|                     int64_t Val = 0, uint32_t RefKind = 0) {
   65|   367k|    MCValue R;
   66|   367k|    R.Cst = Val;
   67|   367k|    R.SymA = SymA;
   68|   367k|    R.SymB = SymB;
   69|   367k|    R.RefKind = RefKind;
   70|   367k|    return R;
   71|   367k|  }
_ZN7llvm_ks7MCValue3getEl:
   73|   237k|  static MCValue get(int64_t Val) {
   74|   237k|    MCValue R;
   75|   237k|    R.Cst = Val;
   76|   237k|    R.SymA = nullptr;
   77|   237k|    R.SymB = nullptr;
   78|   237k|    R.RefKind = 0;
   79|   237k|    return R;
   80|   237k|  }

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

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

_ZN7llvm_ks13FeatureBitsetC2Ev:
   37|  40.6k|  FeatureBitset() : bitset() {}
_ZN7llvm_ks13FeatureBitsetC2ESt16initializer_listIjE:
   41|  1.44k|  FeatureBitset(std::initializer_list<unsigned> Init) : bitset() {
   42|  1.44k|    for (auto I : Init)
  ------------------
  |  Branch (42:17): [True: 3.58k, False: 1.44k]
  ------------------
   43|  3.58k|      set(I);
   44|  1.44k|  }
_ZNK7llvm_ks18SubtargetFeatureKVltENS_9StringRefE:
   59|  50.6k|  bool operator<(StringRef S) const {
   60|  50.6k|    return StringRef(Key) < S;
   61|  50.6k|  }
_ZNK7llvm_ks18SubtargetFeatureKVltERKS0_:
   64|   278k|  bool operator<(const SubtargetFeatureKV &Other) const {
   65|   278k|    return StringRef(Key) < StringRef(Other.Key);
   66|   278k|  }

_ZN7llvm_ks7alignOfINS_12MCSectionELFEEEjv:
  106|   101k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14MCSectionMachOEEEjv:
  106|    660|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIPNS_8MCSymbolEEEEEjv:
  106|  22.4k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIbEEEEjv:
  106|   210k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIjEEEEjv:
  106|   137k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIPNS_14MCSectionMachOEEEEEjv:
  106|    247|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS5_NS_9StringRefENS_5SMLocEEEEEEEEjv:
  106|   836k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
AsmParser.cpp:_ZN7llvm_ks7alignOfINS_14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEEEEEjv:
  106|  1.54M|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
AsmParser.cpp:_ZN7llvm_ks7alignOfINS_14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEEEEEjv:
  106|    583|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_8MCSymbol18NameEntryStorageTyEEEjv:
  106|   210k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }

_ZN7llvm_ks15MallocAllocator8AllocateEmm:
   94|  2.57M|                                                size_t /*Alignment*/) {
   95|  2.57M|    return malloc(Size);
   96|  2.57M|  }
_ZN7llvm_ks15MallocAllocator10DeallocateEPKvm:
  101|  2.57M|  void Deallocate(const void *Ptr, size_t /*Size*/) {
  102|  2.57M|    free(const_cast<void *>(Ptr));
  103|  2.57M|  }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE8AllocateEmm:
  209|  1.75M|  Allocate(size_t Size, size_t Alignment) {
  210|  1.75M|    assert(Alignment > 0 && "0-byte alignnment is not allowed. Use 1 instead.");
  ------------------
  |  Branch (210:5): [True: 1.75M, False: 0]
  |  Branch (210:5): [True: 1.75M, Folded]
  |  Branch (210:5): [True: 1.75M, False: 0]
  ------------------
  211|       |
  212|       |    // Keep track of how many bytes we've allocated.
  213|  1.75M|    BytesAllocated += Size;
  214|       |
  215|  1.75M|    size_t Adjustment = alignmentAdjustment(CurPtr, Alignment);
  216|  1.75M|    assert(Adjustment + Size >= Size && "Adjustment + Size must not overflow");
  ------------------
  |  Branch (216:5): [True: 1.75M, False: 0]
  |  Branch (216:5): [True: 1.75M, Folded]
  |  Branch (216:5): [True: 1.75M, False: 0]
  ------------------
  217|       |
  218|       |    // Check if we have enough space.
  219|  1.75M|    if (Adjustment + Size <= size_t(End - CurPtr)) {
  ------------------
  |  Branch (219:9): [True: 1.70M, False: 54.4k]
  ------------------
  220|  1.70M|      char *AlignedPtr = CurPtr + Adjustment;
  221|  1.70M|      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|  1.70M|      __msan_allocated_memory(AlignedPtr, Size);
  226|       |      // Similarly, tell ASan about this space.
  227|  1.70M|      __asan_unpoison_memory_region(AlignedPtr, Size);
  228|  1.70M|      return AlignedPtr;
  229|  1.70M|    }
  230|       |
  231|       |    // If Size is really big, allocate a separate slab for it.
  232|  54.4k|    size_t PaddedSize = Size + Alignment - 1;
  233|  54.4k|    if (PaddedSize > SizeThreshold) {
  ------------------
  |  Branch (233:9): [True: 6, False: 54.4k]
  ------------------
  234|      6|      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|      6|      __asan_poison_memory_region(NewSlab, PaddedSize);
  238|      6|      CustomSizedSlabs.push_back(std::make_pair(NewSlab, PaddedSize));
  239|       |
  240|      6|      uintptr_t AlignedAddr = alignAddr(NewSlab, Alignment);
  241|      6|      assert(AlignedAddr + Size <= (uintptr_t)NewSlab + PaddedSize);
  ------------------
  |  Branch (241:7): [True: 6, False: 0]
  ------------------
  242|      6|      char *AlignedPtr = (char*)AlignedAddr;
  243|      6|      __msan_allocated_memory(AlignedPtr, Size);
  244|      6|      __asan_unpoison_memory_region(AlignedPtr, Size);
  245|      6|      return AlignedPtr;
  246|      6|    }
  247|       |
  248|       |    // Otherwise, start a new slab and try again.
  249|  54.4k|    StartNewSlab();
  250|  54.4k|    uintptr_t AlignedAddr = alignAddr(CurPtr, Alignment);
  251|  54.4k|    assert(AlignedAddr + Size <= (uintptr_t)End &&
  ------------------
  |  Branch (251:5): [True: 54.4k, False: 0]
  |  Branch (251:5): [True: 54.4k, Folded]
  |  Branch (251:5): [True: 54.4k, False: 0]
  ------------------
  252|  54.4k|           "Unable to allocate memory!");
  253|  54.4k|    char *AlignedPtr = (char*)AlignedAddr;
  254|  54.4k|    CurPtr = AlignedPtr + Size;
  255|  54.4k|    __msan_allocated_memory(AlignedPtr, Size);
  256|  54.4k|    __asan_unpoison_memory_region(AlignedPtr, Size);
  257|  54.4k|    return AlignedPtr;
  258|  54.4k|  }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE12StartNewSlabEv:
  319|  54.4k|  void StartNewSlab() {
  320|  54.4k|    size_t AllocatedSlabSize = computeSlabSize(Slabs.size());
  321|       |
  322|  54.4k|    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|  54.4k|    __asan_poison_memory_region(NewSlab, AllocatedSlabSize);
  326|       |
  327|  54.4k|    Slabs.push_back(NewSlab);
  328|  54.4k|    CurPtr = (char *)(NewSlab);
  329|  54.4k|    End = ((char *)NewSlab) + AllocatedSlabSize;
  330|  54.4k|  }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE15computeSlabSizeEj:
  309|   159k|  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|   159k|    return SlabSize * ((size_t)1 << std::min<size_t>(30, SlabIdx / 128));
  315|   159k|  }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEC2Ev:
  145|  76.0k|      : CurPtr(nullptr), End(nullptr), BytesAllocated(0), Allocator() {}
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_13MCSectionCOFFEEC2Ev:
  367|  12.6k|  SpecificBumpPtrAllocator() : Allocator() {}
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_12MCSectionELFEEC2Ev:
  367|  12.6k|  SpecificBumpPtrAllocator() : Allocator() {}
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_14MCSectionMachOEEC2Ev:
  367|  12.6k|  SpecificBumpPtrAllocator() : Allocator() {}
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_15MCSubtargetInfoEEC2Ev:
  367|  12.6k|  SpecificBumpPtrAllocator() : Allocator() {}
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EED2Ev:
  164|  76.0k|  ~BumpPtrAllocatorImpl() {
  165|  76.0k|    DeallocateSlabs(Slabs.begin(), Slabs.end());
  166|  76.0k|    DeallocateCustomSizedSlabs();
  167|  76.0k|  }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE15DeallocateSlabsEPPvS4_:
  334|   114k|                       SmallVectorImpl<void *>::iterator E) {
  335|   168k|    for (; I != E; ++I) {
  ------------------
  |  Branch (335:12): [True: 54.4k, False: 114k]
  ------------------
  336|  54.4k|      size_t AllocatedSlabSize =
  337|  54.4k|          computeSlabSize(std::distance(Slabs.begin(), I));
  338|  54.4k|      Allocator.Deallocate(*I, AllocatedSlabSize);
  339|  54.4k|    }
  340|   114k|  }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE26DeallocateCustomSizedSlabsEv:
  343|   190k|  void DeallocateCustomSizedSlabs() {
  344|   190k|    for (auto &PtrAndSize : CustomSizedSlabs) {
  ------------------
  |  Branch (344:27): [True: 6, False: 190k]
  ------------------
  345|      6|      void *Ptr = PtrAndSize.first;
  346|      6|      size_t Size = PtrAndSize.second;
  347|      6|      Allocator.Deallocate(Ptr, Size);
  348|      6|    }
  349|   190k|  }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_13MCSectionCOFFEED2Ev:
  370|  12.6k|  ~SpecificBumpPtrAllocator() { DestroyAll(); }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_12MCSectionELFEED2Ev:
  370|  12.6k|  ~SpecificBumpPtrAllocator() { DestroyAll(); }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_14MCSectionMachOEED2Ev:
  370|  12.6k|  ~SpecificBumpPtrAllocator() { DestroyAll(); }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE10DeallocateEPKvm:
  263|   233k|  void Deallocate(const void *Ptr, size_t Size) {
  264|   233k|    __asan_poison_memory_region(Ptr, Size);
  265|   233k|  }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_15MCSubtargetInfoEED2Ev:
  370|  12.6k|  ~SpecificBumpPtrAllocator() { DestroyAll(); }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_13MCSectionCOFFEE10DestroyAllEv:
  380|  25.3k|  void DestroyAll() {
  381|  25.3k|    auto DestroyElements = [](char *Begin, char *End) {
  382|  25.3k|      assert(Begin == (char*)alignAddr(Begin, alignOf<T>()));
  383|  25.3k|      for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  384|  25.3k|        reinterpret_cast<T *>(Ptr)->~T();
  385|  25.3k|    };
  386|       |
  387|  25.3k|    for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E;
  ------------------
  |  Branch (387:71): [True: 0, False: 25.3k]
  ------------------
  388|  25.3k|         ++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|  25.3k|    for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
  ------------------
  |  Branch (398:27): [True: 0, False: 25.3k]
  ------------------
  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|  25.3k|    Allocator.Reset();
  405|  25.3k|  }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_12MCSectionELFEE10DestroyAllEv:
  380|  25.3k|  void DestroyAll() {
  381|  25.3k|    auto DestroyElements = [](char *Begin, char *End) {
  382|  25.3k|      assert(Begin == (char*)alignAddr(Begin, alignOf<T>()));
  383|  25.3k|      for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  384|  25.3k|        reinterpret_cast<T *>(Ptr)->~T();
  385|  25.3k|    };
  386|       |
  387|  76.0k|    for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E;
  ------------------
  |  Branch (387:71): [True: 50.6k, False: 25.3k]
  ------------------
  388|  50.6k|         ++I) {
  389|  50.6k|      size_t AllocatedSlabSize = BumpPtrAllocator::computeSlabSize(
  390|  50.6k|          std::distance(Allocator.Slabs.begin(), I));
  391|  50.6k|      char *Begin = (char*)alignAddr(*I, alignOf<T>());
  392|  50.6k|      char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr
  ------------------
  |  Branch (392:19): [True: 25.3k, False: 25.3k]
  ------------------
  393|  50.6k|                                               : (char *)*I + AllocatedSlabSize;
  394|       |
  395|  50.6k|      DestroyElements(Begin, End);
  396|  50.6k|    }
  397|       |
  398|  25.3k|    for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
  ------------------
  |  Branch (398:27): [True: 0, False: 25.3k]
  ------------------
  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|  25.3k|    Allocator.Reset();
  405|  25.3k|  }
_ZZN7llvm_ks24SpecificBumpPtrAllocatorINS_12MCSectionELFEE10DestroyAllEvENKUlPcS3_E_clES3_S3_:
  381|  50.6k|    auto DestroyElements = [](char *Begin, char *End) {
  382|  50.6k|      assert(Begin == (char*)alignAddr(Begin, alignOf<T>()));
  ------------------
  |  Branch (382:7): [True: 50.6k, False: 0]
  ------------------
  383|   601k|      for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  ------------------
  |  Branch (383:31): [True: 550k, False: 50.6k]
  ------------------
  384|   550k|        reinterpret_cast<T *>(Ptr)->~T();
  385|  50.6k|    };
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_14MCSectionMachOEE10DestroyAllEv:
  380|  25.3k|  void DestroyAll() {
  381|  25.3k|    auto DestroyElements = [](char *Begin, char *End) {
  382|  25.3k|      assert(Begin == (char*)alignAddr(Begin, alignOf<T>()));
  383|  25.3k|      for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  384|  25.3k|        reinterpret_cast<T *>(Ptr)->~T();
  385|  25.3k|    };
  386|       |
  387|  25.6k|    for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E;
  ------------------
  |  Branch (387:71): [True: 330, False: 25.3k]
  ------------------
  388|  25.3k|         ++I) {
  389|    330|      size_t AllocatedSlabSize = BumpPtrAllocator::computeSlabSize(
  390|    330|          std::distance(Allocator.Slabs.begin(), I));
  391|    330|      char *Begin = (char*)alignAddr(*I, alignOf<T>());
  392|    330|      char *End = *I == Allocator.Slabs.back() ? Allocator.CurPtr
  ------------------
  |  Branch (392:19): [True: 330, False: 0]
  ------------------
  393|    330|                                               : (char *)*I + AllocatedSlabSize;
  394|       |
  395|    330|      DestroyElements(Begin, End);
  396|    330|    }
  397|       |
  398|  25.3k|    for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
  ------------------
  |  Branch (398:27): [True: 0, False: 25.3k]
  ------------------
  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|  25.3k|    Allocator.Reset();
  405|  25.3k|  }
_ZZN7llvm_ks24SpecificBumpPtrAllocatorINS_14MCSectionMachOEE10DestroyAllEvENKUlPcS3_E_clES3_S3_:
  381|    330|    auto DestroyElements = [](char *Begin, char *End) {
  382|    330|      assert(Begin == (char*)alignAddr(Begin, alignOf<T>()));
  ------------------
  |  Branch (382:7): [True: 330, False: 0]
  ------------------
  383|    577|      for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  ------------------
  |  Branch (383:31): [True: 247, False: 330]
  ------------------
  384|    247|        reinterpret_cast<T *>(Ptr)->~T();
  385|    330|    };
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_15MCSubtargetInfoEE10DestroyAllEv:
  380|  25.3k|  void DestroyAll() {
  381|  25.3k|    auto DestroyElements = [](char *Begin, char *End) {
  382|  25.3k|      assert(Begin == (char*)alignAddr(Begin, alignOf<T>()));
  383|  25.3k|      for (char *Ptr = Begin; Ptr + sizeof(T) <= End; Ptr += sizeof(T))
  384|  25.3k|        reinterpret_cast<T *>(Ptr)->~T();
  385|  25.3k|    };
  386|       |
  387|  25.3k|    for (auto I = Allocator.Slabs.begin(), E = Allocator.Slabs.end(); I != E;
  ------------------
  |  Branch (387:71): [True: 0, False: 25.3k]
  ------------------
  388|  25.3k|         ++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|  25.3k|    for (auto &PtrAndSize : Allocator.CustomSizedSlabs) {
  ------------------
  |  Branch (398:27): [True: 0, False: 25.3k]
  ------------------
  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|  25.3k|    Allocator.Reset();
  405|  25.3k|  }
_ZN7llvm_ks20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EE5ResetEv:
  189|   114k|  void Reset() {
  190|       |    // Deallocate all but the first slab, and deallocate all custom-sized slabs.
  191|   114k|    DeallocateCustomSizedSlabs();
  192|   114k|    CustomSizedSlabs.clear();
  193|       |
  194|   114k|    if (Slabs.empty())
  ------------------
  |  Branch (194:9): [True: 75.6k, False: 38.3k]
  ------------------
  195|  75.6k|      return;
  196|       |
  197|       |    // Reset the state.
  198|  38.3k|    BytesAllocated = 0;
  199|  38.3k|    CurPtr = (char *)Slabs.front();
  200|  38.3k|    End = CurPtr + SlabSize;
  201|       |
  202|  38.3k|    __asan_poison_memory_region(*Slabs.begin(), computeSlabSize(0));
  203|  38.3k|    DeallocateSlabs(std::next(Slabs.begin()), Slabs.end());
  204|  38.3k|    Slabs.erase(std::next(Slabs.begin()), Slabs.end());
  205|  38.3k|  }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_14MCSectionMachOEE8AllocateEm:
  408|    247|  T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }
_ZN7llvm_ks13AllocatorBaseINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE8AllocateINS_14MCSectionMachOEEEPT_m:
   76|    247|  template <typename T> T *Allocate(size_t Num = 1) {
   77|    247|    return static_cast<T *>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment));
   78|    247|  }
_ZN7llvm_ks13AllocatorBaseINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE8AllocateEmm:
   46|   551k|  void *Allocate(size_t Size, size_t Alignment) {
   47|   551k|#ifdef __clang__
   48|   551k|    static_assert(static_cast<void *(AllocatorBase::*)(size_t, size_t)>(
   49|   551k|                      &AllocatorBase::Allocate) !=
   50|   551k|                      static_cast<void *(DerivedT::*)(size_t, size_t)>(
   51|   551k|                          &DerivedT::Allocate),
   52|   551k|                  "Class derives from AllocatorBase without implementing the "
   53|   551k|                  "core Allocate(size_t, size_t) overload!");
   54|   551k|#endif
   55|   551k|    return static_cast<DerivedT *>(this)->Allocate(Size, Alignment);
   56|   551k|  }
_ZN7llvm_ks24SpecificBumpPtrAllocatorINS_12MCSectionELFEE8AllocateEm:
  408|   550k|  T *Allocate(size_t num = 1) { return Allocator.Allocate<T>(num); }
_ZN7llvm_ks13AllocatorBaseINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE8AllocateINS_12MCSectionELFEEEPT_m:
   76|   550k|  template <typename T> T *Allocate(size_t Num = 1) {
   77|   550k|    return static_cast<T *>(Allocate(Num * sizeof(T), AlignOf<T>::Alignment));
   78|   550k|  }

_ZN7llvm_ks4castINS_11MCSymbolELFENS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  83.8k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  83.8k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 83.8k, False: 0]
  |  Branch (237:3): [True: 83.8k, Folded]
  |  Branch (237:3): [True: 83.8k, False: 0]
  ------------------
  238|  83.8k|  return cast_convert_val<X, Y*,
  239|  83.8k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  83.8k|}
_ZN7llvm_ks3isaINS_11MCSymbolELFEPNS_8MCSymbolEEEbRKT0_:
  132|  91.8k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  91.8k|  return isa_impl_wrap<X, const Y,
  134|  91.8k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  91.8k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPNS_8MCSymbolEPKS2_E4doitERS4_:
  111|  91.8k|  static bool doit(const From &Val) {
  112|  91.8k|    return isa_impl_wrap<To, SimpleFrom,
  113|  91.8k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  91.8k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  91.8k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEPKNS_8MCSymbolES4_E4doitERKS4_:
  121|   108k|  static bool doit(const FromTy &Val) {
  122|   108k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   108k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEPKNS_8MCSymbolEE4doitES4_:
   94|   108k|  static inline bool doit(const From *Val) {
   95|   108k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 108k, False: 0]
  |  Branch (95:5): [True: 108k, Folded]
  |  Branch (95:5): [True: 108k, False: 0]
  ------------------
   96|   108k|    return isa_impl<To, From>::doit(*Val);
   97|   108k|  }
_ZN7llvm_ks8isa_implINS_11MCSymbolELFENS_8MCSymbolEvE4doitERKS2_:
   55|   186k|  static inline bool doit(const From &Val) {
   56|   186k|    return To::classof(&Val);
   57|   186k|  }
_ZN7llvm_ks13simplify_typeIKPNS_8MCSymbolEE18getSimplifiedValueERS3_:
   45|  91.8k|  static RetType getSimplifiedValue(const From& Val) {
   46|  91.8k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  91.8k|  }
_ZN7llvm_ks13simplify_typeIPNS_8MCSymbolEE18getSimplifiedValueERS2_:
   36|  91.8k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPNS_8MCSymbolES3_E4doitERKS3_:
  200|  83.8k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  83.8k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  83.8k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  83.8k|    return Res2;
  204|  83.8k|  }
_ZN7llvm_ks12cast_or_nullINS_11MCSymbolELFENS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  267|  20.8k|cast_or_null(Y *Val) {
  268|  20.8k|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 12.9k, False: 7.95k]
  ------------------
  269|  20.8k|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 7.95k, False: 0]
  |  Branch (269:3): [True: 7.95k, Folded]
  |  Branch (269:3): [True: 7.95k, False: 0]
  ------------------
  270|  7.95k|  return cast<X>(Val);
  271|  7.95k|}
_ZN7llvm_ks4castINS_11MCSymbolELFES1_EENS_10cast_rettyIT_PT0_E8ret_typeES5_:
  236|  1.03k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  1.03k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 1.03k, False: 0]
  |  Branch (237:3): [True: 1.03k, Folded]
  |  Branch (237:3): [True: 1.03k, False: 0]
  ------------------
  238|  1.03k|  return cast_convert_val<X, Y*,
  239|  1.03k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  1.03k|}
_ZN7llvm_ks3isaINS_11MCSymbolELFEPS1_EEbRKT0_:
  132|  1.03k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  1.03k|  return isa_impl_wrap<X, const Y,
  134|  1.03k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  1.03k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPS1_PKS1_E4doitERS3_:
  111|  1.03k|  static bool doit(const From &Val) {
  112|  1.03k|    return isa_impl_wrap<To, SimpleFrom,
  113|  1.03k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  1.03k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  1.03k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEPKS1_S3_E4doitERKS3_:
  121|  1.03k|  static bool doit(const FromTy &Val) {
  122|  1.03k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  1.03k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEPKS1_E4doitES3_:
   94|  1.03k|  static inline bool doit(const From *Val) {
   95|  1.03k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 1.03k, False: 0]
  |  Branch (95:5): [True: 1.03k, Folded]
  |  Branch (95:5): [True: 1.03k, False: 0]
  ------------------
   96|  1.03k|    return isa_impl<To, From>::doit(*Val);
   97|  1.03k|  }
_ZN7llvm_ks8isa_implINS_11MCSymbolELFES1_vE4doitERKS1_:
   64|  1.03k|  static inline bool doit(const From &) { return true; }
_ZN7llvm_ks13simplify_typeIKPNS_11MCSymbolELFEE18getSimplifiedValueERS3_:
   45|  1.03k|  static RetType getSimplifiedValue(const From& Val) {
   46|  1.03k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  1.03k|  }
_ZN7llvm_ks13simplify_typeIPNS_11MCSymbolELFEE18getSimplifiedValueERS2_:
   36|  1.03k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPS1_S2_E4doitERKS2_:
  200|  1.03k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  1.03k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  1.03k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  1.03k|    return Res2;
  204|  1.03k|  }
_ZN7llvm_ks4castINS_12MCTargetExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|      6|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|      6|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 6, False: 0]
  |  Branch (237:3): [True: 6, Folded]
  |  Branch (237:3): [True: 6, False: 0]
  ------------------
  238|      6|  return cast_convert_val<X, Y*,
  239|      6|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|      6|}
_ZN7llvm_ks3isaINS_12MCTargetExprEPKNS_6MCExprEEEbRKT0_:
  132|      6|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|      6|  return isa_impl_wrap<X, const Y,
  134|      6|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|      6|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCTargetExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|      6|  static bool doit(const From &Val) {
  112|      6|    return isa_impl_wrap<To, SimpleFrom,
  113|      6|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|      6|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|      6|  }
_ZN7llvm_ks13isa_impl_wrapINS_12MCTargetExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|      6|  static bool doit(const FromTy &Val) {
  122|      6|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|      6|  }
_ZN7llvm_ks11isa_impl_clINS_12MCTargetExprEPKNS_6MCExprEE4doitES4_:
   94|      6|  static inline bool doit(const From *Val) {
   95|      6|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 6, False: 0]
  |  Branch (95:5): [True: 6, Folded]
  |  Branch (95:5): [True: 6, False: 0]
  ------------------
   96|      6|    return isa_impl<To, From>::doit(*Val);
   97|      6|  }
_ZN7llvm_ks8isa_implINS_12MCTargetExprENS_6MCExprEvE4doitERKS2_:
   55|      9|  static inline bool doit(const From &Val) {
   56|      9|    return To::classof(&Val);
   57|      9|  }
_ZN7llvm_ks13simplify_typeIKPKNS_6MCExprEE18getSimplifiedValueERS4_:
   45|  1.32M|  static RetType getSimplifiedValue(const From& Val) {
   46|  1.32M|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  1.32M|  }
_ZN7llvm_ks13simplify_typeIPKNS_6MCExprEE18getSimplifiedValueERS3_:
   36|  1.32M|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_12MCTargetExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|      6|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|      6|    typename cast_retty<To, FromTy>::ret_type Res2
  202|      6|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|      6|    return Res2;
  204|      6|  }
_ZN7llvm_ks4castINS_12MCBinaryExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   332k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   332k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 332k, False: 0]
  |  Branch (237:3): [True: 332k, Folded]
  |  Branch (237:3): [True: 332k, False: 0]
  ------------------
  238|   332k|  return cast_convert_val<X, Y*,
  239|   332k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   332k|}
_ZN7llvm_ks3isaINS_12MCBinaryExprEPKNS_6MCExprEEEbRKT0_:
  132|   332k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   332k|  return isa_impl_wrap<X, const Y,
  134|   332k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   332k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCBinaryExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   332k|  static bool doit(const From &Val) {
  112|   332k|    return isa_impl_wrap<To, SimpleFrom,
  113|   332k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   332k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   332k|  }
_ZN7llvm_ks13isa_impl_wrapINS_12MCBinaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   332k|  static bool doit(const FromTy &Val) {
  122|   332k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   332k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCBinaryExprEPKNS_6MCExprEE4doitES4_:
   94|   332k|  static inline bool doit(const From *Val) {
   95|   332k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 332k, False: 0]
  |  Branch (95:5): [True: 332k, Folded]
  |  Branch (95:5): [True: 332k, False: 0]
  ------------------
   96|   332k|    return isa_impl<To, From>::doit(*Val);
   97|   332k|  }
_ZN7llvm_ks8isa_implINS_12MCBinaryExprENS_6MCExprEvE4doitERKS2_:
   55|   426k|  static inline bool doit(const From &Val) {
   56|   426k|    return To::classof(&Val);
   57|   426k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCBinaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   332k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   332k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   332k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   332k|    return Res2;
  204|   332k|  }
_ZN7llvm_ks4castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   329k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   329k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 329k, False: 0]
  |  Branch (237:3): [True: 329k, Folded]
  |  Branch (237:3): [True: 329k, False: 0]
  ------------------
  238|   329k|  return cast_convert_val<X, Y*,
  239|   329k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   329k|}
_ZN7llvm_ks3isaINS_15MCSymbolRefExprEPKNS_6MCExprEEEbRKT0_:
  132|   336k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   336k|  return isa_impl_wrap<X, const Y,
  134|   336k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   336k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   336k|  static bool doit(const From &Val) {
  112|   336k|    return isa_impl_wrap<To, SimpleFrom,
  113|   336k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   336k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   336k|  }
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   336k|  static bool doit(const FromTy &Val) {
  122|   336k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   336k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCSymbolRefExprEPKNS_6MCExprEE4doitES4_:
   94|   336k|  static inline bool doit(const From *Val) {
   95|   336k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 336k, False: 0]
  |  Branch (95:5): [True: 336k, Folded]
  |  Branch (95:5): [True: 336k, False: 0]
  ------------------
   96|   336k|    return isa_impl<To, From>::doit(*Val);
   97|   336k|  }
_ZN7llvm_ks8isa_implINS_15MCSymbolRefExprENS_6MCExprEvE4doitERKS2_:
   55|   436k|  static inline bool doit(const From &Val) {
   56|   436k|    return To::classof(&Val);
   57|   436k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCSymbolRefExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   329k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   329k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   329k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   329k|    return Res2;
  204|   329k|  }
_ZN7llvm_ks4castINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  78.6k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  78.6k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 78.6k, False: 0]
  |  Branch (230:3): [True: 78.6k, Folded]
  |  Branch (230:3): [True: 78.6k, False: 0]
  ------------------
  231|  78.6k|  return cast_convert_val<X, Y,
  232|  78.6k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  78.6k|}
_ZN7llvm_ks3isaINS_11MCSymbolELFENS_8MCSymbolEEEbRKT0_:
  132|  78.6k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  78.6k|  return isa_impl_wrap<X, const Y,
  134|  78.6k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  78.6k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKNS_8MCSymbolES3_E4doitERS3_:
  121|  78.6k|  static bool doit(const FromTy &Val) {
  122|  78.6k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  78.6k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEKNS_8MCSymbolEE4doitERS3_:
   74|  78.6k|  static inline bool doit(const From &Val) {
   75|  78.6k|    return isa_impl<To, From>::doit(Val);
   76|  78.6k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEKNS_8MCSymbolES3_E4doitERS3_:
  200|  78.6k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  78.6k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  78.6k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  78.6k|    return Res2;
  204|  78.6k|  }
_ZN7llvm_ks4castINS_11MCUnaryExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   126k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   126k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 126k, False: 0]
  |  Branch (237:3): [True: 126k, Folded]
  |  Branch (237:3): [True: 126k, False: 0]
  ------------------
  238|   126k|  return cast_convert_val<X, Y*,
  239|   126k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   126k|}
_ZN7llvm_ks3isaINS_11MCUnaryExprEPKNS_6MCExprEEEbRKT0_:
  132|   126k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   126k|  return isa_impl_wrap<X, const Y,
  134|   126k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   126k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   126k|  static bool doit(const From &Val) {
  112|   126k|    return isa_impl_wrap<To, SimpleFrom,
  113|   126k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   126k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   126k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   126k|  static bool doit(const FromTy &Val) {
  122|   126k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   126k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCUnaryExprEPKNS_6MCExprEE4doitES4_:
   94|   126k|  static inline bool doit(const From *Val) {
   95|   126k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 126k, False: 0]
  |  Branch (95:5): [True: 126k, Folded]
  |  Branch (95:5): [True: 126k, False: 0]
  ------------------
   96|   126k|    return isa_impl<To, From>::doit(*Val);
   97|   126k|  }
_ZN7llvm_ks8isa_implINS_11MCUnaryExprENS_6MCExprEvE4doitERKS2_:
   55|   168k|  static inline bool doit(const From &Val) {
   56|   168k|    return To::classof(&Val);
   57|   168k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCUnaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   126k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   126k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   126k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   126k|    return Res2;
  204|   126k|  }
_ZN7llvm_ks13simplify_typeIKPNS_10MCFragmentEE18getSimplifiedValueERS3_:
   45|  96.3M|  static RetType getSimplifiedValue(const From& Val) {
   46|  96.3M|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  96.3M|  }
_ZN7llvm_ks13simplify_typeIPNS_10MCFragmentEE18getSimplifiedValueERS2_:
   36|  96.3M|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks4castINS_14MCDataFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  48.0M|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  48.0M|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 48.0M, False: 0]
  |  Branch (237:3): [True: 48.0M, Folded]
  |  Branch (237:3): [True: 48.0M, False: 0]
  ------------------
  238|  48.0M|  return cast_convert_val<X, Y*,
  239|  48.0M|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  48.0M|}
_ZN7llvm_ks3isaINS_14MCDataFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  96.2M|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  96.2M|  return isa_impl_wrap<X, const Y,
  134|  96.2M|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  96.2M|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  96.2M|  static bool doit(const From &Val) {
  112|  96.2M|    return isa_impl_wrap<To, SimpleFrom,
  113|  96.2M|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  96.2M|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  96.2M|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  96.2M|  static bool doit(const FromTy &Val) {
  122|  96.2M|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  96.2M|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  96.2M|  static inline bool doit(const From *Val) {
   95|  96.2M|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 96.2M, False: 0]
  |  Branch (95:5): [True: 96.2M, Folded]
  |  Branch (95:5): [True: 96.2M, False: 0]
  ------------------
   96|  96.2M|    return isa_impl<To, From>::doit(*Val);
   97|  96.2M|  }
_ZN7llvm_ks8isa_implINS_14MCDataFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  96.2M|  static inline bool doit(const From &Val) {
   56|  96.2M|    return To::classof(&Val);
   57|  96.2M|  }
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  48.0M|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  48.0M|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  48.0M|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  48.0M|    return Res2;
  204|  48.0M|  }
_ZN7llvm_ks8dyn_castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  297|  7.66k|dyn_cast(Y *Val) {
  298|  7.66k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 5.02k, False: 2.64k]
  ------------------
  299|  7.66k|}
_ZN7llvm_ks8isa_implINS_14MCConstantExprENS_6MCExprEvE4doitERKS2_:
   55|   521k|  static inline bool doit(const From &Val) {
   56|   521k|    return To::classof(&Val);
   57|   521k|  }
_ZN7llvm_ks4castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  99.6k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  99.6k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 99.6k, False: 0]
  |  Branch (230:3): [True: 99.6k, Folded]
  |  Branch (230:3): [True: 99.6k, False: 0]
  ------------------
  231|  99.6k|  return cast_convert_val<X, Y,
  232|  99.6k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  99.6k|}
_ZN7llvm_ks3isaINS_15MCSymbolRefExprENS_6MCExprEEEbRKT0_:
  132|  99.6k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  99.6k|  return isa_impl_wrap<X, const Y,
  134|  99.6k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  99.6k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEKNS_6MCExprES3_E4doitERS3_:
  121|  99.6k|  static bool doit(const FromTy &Val) {
  122|  99.6k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  99.6k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCSymbolRefExprEKNS_6MCExprEE4doitERS3_:
   74|  99.6k|  static inline bool doit(const From &Val) {
   75|  99.6k|    return isa_impl<To, From>::doit(Val);
   76|  99.6k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCSymbolRefExprEKNS_6MCExprES3_E4doitERS3_:
  200|  99.6k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  99.6k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  99.6k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  99.6k|    return Res2;
  204|  99.6k|  }
_ZN7llvm_ks4castINS_11MCUnaryExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  42.3k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  42.3k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 42.3k, False: 0]
  |  Branch (230:3): [True: 42.3k, Folded]
  |  Branch (230:3): [True: 42.3k, False: 0]
  ------------------
  231|  42.3k|  return cast_convert_val<X, Y,
  232|  42.3k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  42.3k|}
_ZN7llvm_ks3isaINS_11MCUnaryExprENS_6MCExprEEEbRKT0_:
  132|  42.3k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  42.3k|  return isa_impl_wrap<X, const Y,
  134|  42.3k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  42.3k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEKNS_6MCExprES3_E4doitERS3_:
  121|  42.3k|  static bool doit(const FromTy &Val) {
  122|  42.3k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  42.3k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCUnaryExprEKNS_6MCExprEE4doitERS3_:
   74|  42.3k|  static inline bool doit(const From &Val) {
   75|  42.3k|    return isa_impl<To, From>::doit(Val);
   76|  42.3k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCUnaryExprEKNS_6MCExprES3_E4doitERS3_:
  200|  42.3k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  42.3k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  42.3k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  42.3k|    return Res2;
  204|  42.3k|  }
_ZN7llvm_ks4castINS_12MCBinaryExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  93.9k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  93.9k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 93.9k, False: 0]
  |  Branch (230:3): [True: 93.9k, Folded]
  |  Branch (230:3): [True: 93.9k, False: 0]
  ------------------
  231|  93.9k|  return cast_convert_val<X, Y,
  232|  93.9k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  93.9k|}
_ZN7llvm_ks3isaINS_12MCBinaryExprENS_6MCExprEEEbRKT0_:
  132|  93.9k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  93.9k|  return isa_impl_wrap<X, const Y,
  134|  93.9k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  93.9k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCBinaryExprEKNS_6MCExprES3_E4doitERS3_:
  121|  93.9k|  static bool doit(const FromTy &Val) {
  122|  93.9k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  93.9k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCBinaryExprEKNS_6MCExprEE4doitERS3_:
   74|  93.9k|  static inline bool doit(const From &Val) {
   75|  93.9k|    return isa_impl<To, From>::doit(Val);
   76|  93.9k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCBinaryExprEKNS_6MCExprES3_E4doitERS3_:
  200|  93.9k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  93.9k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  93.9k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  93.9k|    return Res2;
  204|  93.9k|  }
_ZN7llvm_ks3isaINS_14MCConstantExprEPKNS_6MCExprEEEbRKT0_:
  132|   521k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   521k|  return isa_impl_wrap<X, const Y,
  134|   521k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   521k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCConstantExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   521k|  static bool doit(const From &Val) {
  112|   521k|    return isa_impl_wrap<To, SimpleFrom,
  113|   521k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   521k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   521k|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCConstantExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   521k|  static bool doit(const FromTy &Val) {
  122|   521k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   521k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCConstantExprEPKNS_6MCExprEE4doitES4_:
   94|   521k|  static inline bool doit(const From *Val) {
   95|   521k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 521k, False: 0]
  |  Branch (95:5): [True: 521k, Folded]
  |  Branch (95:5): [True: 521k, False: 0]
  ------------------
   96|   521k|    return isa_impl<To, From>::doit(*Val);
   97|   521k|  }
_ZN7llvm_ks8dyn_castINS_14MCConstantExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  297|   268k|dyn_cast(Y *Val) {
  298|   268k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 68.7k, False: 200k]
  ------------------
  299|   268k|}
_ZN7llvm_ks4castINS_14MCConstantExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   247k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   247k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 247k, False: 0]
  |  Branch (237:3): [True: 247k, Folded]
  |  Branch (237:3): [True: 247k, False: 0]
  ------------------
  238|   247k|  return cast_convert_val<X, Y*,
  239|   247k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   247k|}
_ZN7llvm_ks16cast_convert_valINS_14MCConstantExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   247k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   247k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   247k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   247k|    return Res2;
  204|   247k|  }
_ZN7llvm_ks4castINS_15MCAlignFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  6.82k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  6.82k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 6.82k, False: 0]
  |  Branch (237:3): [True: 6.82k, Folded]
  |  Branch (237:3): [True: 6.82k, False: 0]
  ------------------
  238|  6.82k|  return cast_convert_val<X, Y*,
  239|  6.82k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  6.82k|}
_ZN7llvm_ks3isaINS_15MCAlignFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  6.82k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  6.82k|  return isa_impl_wrap<X, const Y,
  134|  6.82k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  6.82k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  6.82k|  static bool doit(const From &Val) {
  112|  6.82k|    return isa_impl_wrap<To, SimpleFrom,
  113|  6.82k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  6.82k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  6.82k|  }
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  6.82k|  static bool doit(const FromTy &Val) {
  122|  6.82k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  6.82k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCAlignFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  6.82k|  static inline bool doit(const From *Val) {
   95|  6.82k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 6.82k, False: 0]
  |  Branch (95:5): [True: 6.82k, Folded]
  |  Branch (95:5): [True: 6.82k, False: 0]
  ------------------
   96|  6.82k|    return isa_impl<To, From>::doit(*Val);
   97|  6.82k|  }
_ZN7llvm_ks8isa_implINS_15MCAlignFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  19.8k|  static inline bool doit(const From &Val) {
   56|  19.8k|    return To::classof(&Val);
   57|  19.8k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCAlignFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  6.82k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  6.82k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  6.82k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  6.82k|    return Res2;
  204|  6.82k|  }
_ZN7llvm_ks4castINS_14MCFillFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  1.34k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  1.34k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 1.34k, False: 0]
  |  Branch (237:3): [True: 1.34k, Folded]
  |  Branch (237:3): [True: 1.34k, False: 0]
  ------------------
  238|  1.34k|  return cast_convert_val<X, Y*,
  239|  1.34k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  1.34k|}
_ZN7llvm_ks3isaINS_14MCFillFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  1.34k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  1.34k|  return isa_impl_wrap<X, const Y,
  134|  1.34k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  1.34k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  1.34k|  static bool doit(const From &Val) {
  112|  1.34k|    return isa_impl_wrap<To, SimpleFrom,
  113|  1.34k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  1.34k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  1.34k|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  1.34k|  static bool doit(const FromTy &Val) {
  122|  1.34k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  1.34k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCFillFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  1.34k|  static inline bool doit(const From *Val) {
   95|  1.34k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 1.34k, False: 0]
  |  Branch (95:5): [True: 1.34k, Folded]
  |  Branch (95:5): [True: 1.34k, False: 0]
  ------------------
   96|  1.34k|    return isa_impl<To, From>::doit(*Val);
   97|  1.34k|  }
_ZN7llvm_ks8isa_implINS_14MCFillFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  4.96k|  static inline bool doit(const From &Val) {
   56|  4.96k|    return To::classof(&Val);
   57|  4.96k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCFillFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  1.34k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  1.34k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  1.34k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  1.34k|    return Res2;
  204|  1.34k|  }
_ZN7llvm_ks4castINS_13MCOrgFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  54.4k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  54.4k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 54.4k, False: 0]
  |  Branch (237:3): [True: 54.4k, Folded]
  |  Branch (237:3): [True: 54.4k, False: 0]
  ------------------
  238|  54.4k|  return cast_convert_val<X, Y*,
  239|  54.4k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  54.4k|}
_ZN7llvm_ks3isaINS_13MCOrgFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  54.4k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  54.4k|  return isa_impl_wrap<X, const Y,
  134|  54.4k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  54.4k|}
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  54.4k|  static bool doit(const From &Val) {
  112|  54.4k|    return isa_impl_wrap<To, SimpleFrom,
  113|  54.4k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  54.4k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  54.4k|  }
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  54.4k|  static bool doit(const FromTy &Val) {
  122|  54.4k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  54.4k|  }
_ZN7llvm_ks11isa_impl_clINS_13MCOrgFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  54.4k|  static inline bool doit(const From *Val) {
   95|  54.4k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 54.4k, False: 0]
  |  Branch (95:5): [True: 54.4k, Folded]
  |  Branch (95:5): [True: 54.4k, False: 0]
  ------------------
   96|  54.4k|    return isa_impl<To, From>::doit(*Val);
   97|  54.4k|  }
_ZN7llvm_ks8isa_implINS_13MCOrgFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  64.6k|  static inline bool doit(const From &Val) {
   56|  64.6k|    return To::classof(&Val);
   57|  64.6k|  }
_ZN7llvm_ks16cast_convert_valINS_13MCOrgFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  54.4k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  54.4k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  54.4k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  54.4k|    return Res2;
  204|  54.4k|  }
_ZN7llvm_ks16dyn_cast_or_nullINS_14MCDataFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  320|  49.0M|dyn_cast_or_null(Y *Val) {
  321|  49.0M|  return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (321:11): [True: 48.1M, False: 889k]
  |  Branch (321:18): [True: 48.0M, False: 64.9k]
  ------------------
  322|  49.0M|}
_ZN7llvm_ks4castINS_12MCTargetExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|      3|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|      3|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 3, False: 0]
  |  Branch (230:3): [True: 3, Folded]
  |  Branch (230:3): [True: 3, False: 0]
  ------------------
  231|      3|  return cast_convert_val<X, Y,
  232|      3|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|      3|}
_ZN7llvm_ks3isaINS_12MCTargetExprENS_6MCExprEEEbRKT0_:
  132|      3|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|      3|  return isa_impl_wrap<X, const Y,
  134|      3|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|      3|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCTargetExprEKNS_6MCExprES3_E4doitERS3_:
  121|      3|  static bool doit(const FromTy &Val) {
  122|      3|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|      3|  }
_ZN7llvm_ks11isa_impl_clINS_12MCTargetExprEKNS_6MCExprEE4doitERS3_:
   74|      3|  static inline bool doit(const From &Val) {
   75|      3|    return isa_impl<To, From>::doit(Val);
   76|      3|  }
_ZN7llvm_ks16cast_convert_valINS_12MCTargetExprEKNS_6MCExprES3_E4doitERS3_:
  200|      3|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|      3|    typename cast_retty<To, FromTy>::ret_type Res2
  202|      3|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|      3|    return Res2;
  204|      3|  }
_ZN7llvm_ks4castINS_14MCDataFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  11.6k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  11.6k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 11.6k, False: 0]
  |  Branch (230:3): [True: 11.6k, Folded]
  |  Branch (230:3): [True: 11.6k, False: 0]
  ------------------
  231|  11.6k|  return cast_convert_val<X, Y,
  232|  11.6k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  11.6k|}
_ZN7llvm_ks3isaINS_14MCDataFragmentENS_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_14MCDataFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  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_14MCDataFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  11.6k|  static inline bool doit(const From &Val) {
   75|  11.6k|    return isa_impl<To, From>::doit(Val);
   76|  11.6k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  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_14MCFillFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  3.62k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  3.62k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 3.62k, False: 0]
  |  Branch (230:3): [True: 3.62k, Folded]
  |  Branch (230:3): [True: 3.62k, False: 0]
  ------------------
  231|  3.62k|  return cast_convert_val<X, Y,
  232|  3.62k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  3.62k|}
_ZN7llvm_ks3isaINS_14MCFillFragmentENS_10MCFragmentEEEbRKT0_:
  132|  3.62k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  3.62k|  return isa_impl_wrap<X, const Y,
  134|  3.62k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  3.62k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  3.62k|  static bool doit(const FromTy &Val) {
  122|  3.62k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  3.62k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCFillFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  3.62k|  static inline bool doit(const From &Val) {
   75|  3.62k|    return isa_impl<To, From>::doit(Val);
   76|  3.62k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCFillFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  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_ks4castINS_15MCAlignFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  13.0k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  13.0k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 13.0k, False: 0]
  |  Branch (230:3): [True: 13.0k, Folded]
  |  Branch (230:3): [True: 13.0k, False: 0]
  ------------------
  231|  13.0k|  return cast_convert_val<X, Y,
  232|  13.0k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  13.0k|}
_ZN7llvm_ks3isaINS_15MCAlignFragmentENS_10MCFragmentEEEbRKT0_:
  132|  13.0k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  13.0k|  return isa_impl_wrap<X, const Y,
  134|  13.0k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  13.0k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  13.0k|  static bool doit(const FromTy &Val) {
  122|  13.0k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  13.0k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCAlignFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  13.0k|  static inline bool doit(const From &Val) {
   75|  13.0k|    return isa_impl<To, From>::doit(Val);
   76|  13.0k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCAlignFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  13.0k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  13.0k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  13.0k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  13.0k|    return Res2;
  204|  13.0k|  }
_ZN7llvm_ks4castINS_13MCOrgFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  10.2k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  10.2k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 10.2k, False: 0]
  |  Branch (230:3): [True: 10.2k, Folded]
  |  Branch (230:3): [True: 10.2k, False: 0]
  ------------------
  231|  10.2k|  return cast_convert_val<X, Y,
  232|  10.2k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  10.2k|}
_ZN7llvm_ks3isaINS_13MCOrgFragmentENS_10MCFragmentEEEbRKT0_:
  132|  10.2k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  10.2k|  return isa_impl_wrap<X, const Y,
  134|  10.2k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  10.2k|}
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  10.2k|  static bool doit(const FromTy &Val) {
  122|  10.2k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  10.2k|  }
_ZN7llvm_ks11isa_impl_clINS_13MCOrgFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  10.2k|  static inline bool doit(const From &Val) {
   75|  10.2k|    return isa_impl<To, From>::doit(Val);
   76|  10.2k|  }
_ZN7llvm_ks16cast_convert_valINS_13MCOrgFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  10.2k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  10.2k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  10.2k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  10.2k|    return Res2;
  204|  10.2k|  }
_ZN7llvm_ks3isaINS_17MCEncodedFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  73.0k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  73.0k|  return isa_impl_wrap<X, const Y,
  134|  73.0k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  73.0k|}
_ZN7llvm_ks13isa_impl_wrapINS_17MCEncodedFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  73.0k|  static bool doit(const From &Val) {
  112|  73.0k|    return isa_impl_wrap<To, SimpleFrom,
  113|  73.0k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  73.0k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  73.0k|  }
_ZN7llvm_ks13isa_impl_wrapINS_17MCEncodedFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  73.0k|  static bool doit(const FromTy &Val) {
  122|  73.0k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  73.0k|  }
_ZN7llvm_ks11isa_impl_clINS_17MCEncodedFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  73.0k|  static inline bool doit(const From *Val) {
   95|  73.0k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 73.0k, False: 0]
  |  Branch (95:5): [True: 73.0k, Folded]
  |  Branch (95:5): [True: 73.0k, False: 0]
  ------------------
   96|  73.0k|    return isa_impl<To, From>::doit(*Val);
   97|  73.0k|  }
_ZN7llvm_ks8isa_implINS_17MCEncodedFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  73.0k|  static inline bool doit(const From &Val) {
   56|  73.0k|    return To::classof(&Val);
   57|  73.0k|  }
_ZN7llvm_ks13simplify_typeIKPKNS_9MCSectionEE18getSimplifiedValueERS4_:
   45|  8.12k|  static RetType getSimplifiedValue(const From& Val) {
   46|  8.12k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  8.12k|  }
_ZN7llvm_ks13simplify_typeIPKNS_9MCSectionEE18getSimplifiedValueERS3_:
   36|  8.12k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks8dyn_castINS_17MCEncodedFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  297|  66.0k|dyn_cast(Y *Val) {
  298|  66.0k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 6.99k, False: 59.1k]
  ------------------
  299|  66.0k|}
_ZN7llvm_ks4castINS_17MCEncodedFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  6.99k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  6.99k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 6.99k, False: 0]
  |  Branch (237:3): [True: 6.99k, Folded]
  |  Branch (237:3): [True: 6.99k, False: 0]
  ------------------
  238|  6.99k|  return cast_convert_val<X, Y*,
  239|  6.99k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  6.99k|}
_ZN7llvm_ks16cast_convert_valINS_17MCEncodedFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  6.99k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  6.99k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  6.99k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  6.99k|    return Res2;
  204|  6.99k|  }
_ZN7llvm_ks3isaINS_28MCCompactEncodedInstFragmentEPNS_17MCEncodedFragmentEEEbRKT0_:
  132|  6.99k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  6.99k|  return isa_impl_wrap<X, const Y,
  134|  6.99k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  6.99k|}
_ZN7llvm_ks13isa_impl_wrapINS_28MCCompactEncodedInstFragmentEKPNS_17MCEncodedFragmentEPKS2_E4doitERS4_:
  111|  6.99k|  static bool doit(const From &Val) {
  112|  6.99k|    return isa_impl_wrap<To, SimpleFrom,
  113|  6.99k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  6.99k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  6.99k|  }
_ZN7llvm_ks13isa_impl_wrapINS_28MCCompactEncodedInstFragmentEPKNS_17MCEncodedFragmentES4_E4doitERKS4_:
  121|  6.99k|  static bool doit(const FromTy &Val) {
  122|  6.99k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  6.99k|  }
_ZN7llvm_ks11isa_impl_clINS_28MCCompactEncodedInstFragmentEPKNS_17MCEncodedFragmentEE4doitES4_:
   94|  6.99k|  static inline bool doit(const From *Val) {
   95|  6.99k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 6.99k, False: 0]
  |  Branch (95:5): [True: 6.99k, Folded]
  |  Branch (95:5): [True: 6.99k, False: 0]
  ------------------
   96|  6.99k|    return isa_impl<To, From>::doit(*Val);
   97|  6.99k|  }
_ZN7llvm_ks8isa_implINS_28MCCompactEncodedInstFragmentENS_17MCEncodedFragmentEvE4doitERKS2_:
   55|  6.99k|  static inline bool doit(const From &Val) {
   56|  6.99k|    return To::classof(&Val);
   57|  6.99k|  }
_ZN7llvm_ks13simplify_typeIKPNS_17MCEncodedFragmentEE18getSimplifiedValueERS3_:
   45|  20.9k|  static RetType getSimplifiedValue(const From& Val) {
   46|  20.9k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  20.9k|  }
_ZN7llvm_ks13simplify_typeIPNS_17MCEncodedFragmentEE18getSimplifiedValueERS2_:
   36|  20.9k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks8dyn_castINS_14MCDataFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  297|  6.99k|dyn_cast(Y *Val) {
  298|  6.99k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 6.99k, False: 0]
  ------------------
  299|  6.99k|}
_ZN7llvm_ks3isaINS_14MCDataFragmentEPNS_17MCEncodedFragmentEEEbRKT0_:
  132|  13.9k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  13.9k|  return isa_impl_wrap<X, const Y,
  134|  13.9k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  13.9k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKPNS_17MCEncodedFragmentEPKS2_E4doitERS4_:
  111|  13.9k|  static bool doit(const From &Val) {
  112|  13.9k|    return isa_impl_wrap<To, SimpleFrom,
  113|  13.9k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  13.9k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  13.9k|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEPKNS_17MCEncodedFragmentES4_E4doitERKS4_:
  121|  13.9k|  static bool doit(const FromTy &Val) {
  122|  13.9k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  13.9k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEPKNS_17MCEncodedFragmentEE4doitES4_:
   94|  13.9k|  static inline bool doit(const From *Val) {
   95|  13.9k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 13.9k, False: 0]
  |  Branch (95:5): [True: 13.9k, Folded]
  |  Branch (95:5): [True: 13.9k, False: 0]
  ------------------
   96|  13.9k|    return isa_impl<To, From>::doit(*Val);
   97|  13.9k|  }
_ZN7llvm_ks8isa_implINS_14MCDataFragmentENS_17MCEncodedFragmentEvE4doitERKS2_:
   55|  13.9k|  static inline bool doit(const From &Val) {
   56|  13.9k|    return To::classof(&Val);
   57|  13.9k|  }
_ZN7llvm_ks4castINS_14MCDataFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  6.99k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  6.99k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 6.99k, False: 0]
  |  Branch (237:3): [True: 6.99k, Folded]
  |  Branch (237:3): [True: 6.99k, False: 0]
  ------------------
  238|  6.99k|  return cast_convert_val<X, Y*,
  239|  6.99k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  6.99k|}
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEPNS_17MCEncodedFragmentES3_E4doitERKS3_:
  200|  6.99k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  6.99k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  6.99k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  6.99k|    return Res2;
  204|  6.99k|  }
_ZN7llvm_ks3isaINS_11MCSymbolELFEPKNS_8MCSymbolEEEbRKT0_:
  132|  16.3k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  16.3k|  return isa_impl_wrap<X, const Y,
  134|  16.3k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  16.3k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPKNS_8MCSymbolES4_E4doitERS5_:
  111|  16.3k|  static bool doit(const From &Val) {
  112|  16.3k|    return isa_impl_wrap<To, SimpleFrom,
  113|  16.3k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  16.3k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  16.3k|  }
_ZN7llvm_ks13simplify_typeIKPKNS_8MCSymbolEE18getSimplifiedValueERS4_:
   45|  16.3k|  static RetType getSimplifiedValue(const From& Val) {
   46|  16.3k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  16.3k|  }
_ZN7llvm_ks13simplify_typeIPKNS_8MCSymbolEE18getSimplifiedValueERS3_:
   36|  16.3k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks4castINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|  12.2k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  12.2k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 12.2k, False: 0]
  |  Branch (237:3): [True: 12.2k, Folded]
  |  Branch (237:3): [True: 12.2k, False: 0]
  ------------------
  238|  12.2k|  return cast_convert_val<X, Y*,
  239|  12.2k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  12.2k|}
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPKNS_8MCSymbolES4_E4doitERKS4_:
  200|  12.2k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  12.2k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  12.2k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  12.2k|    return Res2;
  204|  12.2k|  }
_ZN7llvm_ks8dyn_castINS_11SparcMCExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  297|  4.94k|dyn_cast(Y *Val) {
  298|  4.94k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 3, False: 4.94k]
  ------------------
  299|  4.94k|}
_ZN7llvm_ks3isaINS_11SparcMCExprEPKNS_6MCExprEEEbRKT0_:
  132|  4.94k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  4.94k|  return isa_impl_wrap<X, const Y,
  134|  4.94k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  4.94k|}
_ZN7llvm_ks13isa_impl_wrapINS_11SparcMCExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|  4.94k|  static bool doit(const From &Val) {
  112|  4.94k|    return isa_impl_wrap<To, SimpleFrom,
  113|  4.94k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  4.94k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  4.94k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11SparcMCExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|  4.94k|  static bool doit(const FromTy &Val) {
  122|  4.94k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  4.94k|  }
_ZN7llvm_ks11isa_impl_clINS_11SparcMCExprEPKNS_6MCExprEE4doitES4_:
   94|  4.94k|  static inline bool doit(const From *Val) {
   95|  4.94k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 4.94k, False: 0]
  |  Branch (95:5): [True: 4.94k, Folded]
  |  Branch (95:5): [True: 4.94k, False: 0]
  ------------------
   96|  4.94k|    return isa_impl<To, From>::doit(*Val);
   97|  4.94k|  }
_ZN7llvm_ks8isa_implINS_11SparcMCExprENS_6MCExprEvE4doitERKS2_:
   55|  4.94k|  static inline bool doit(const From &Val) {
   56|  4.94k|    return To::classof(&Val);
   57|  4.94k|  }
_ZN7llvm_ks4castINS_11SparcMCExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|      3|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|      3|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 3, False: 0]
  |  Branch (237:3): [True: 3, Folded]
  |  Branch (237:3): [True: 3, False: 0]
  ------------------
  238|      3|  return cast_convert_val<X, Y*,
  239|      3|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|      3|}
_ZN7llvm_ks16cast_convert_valINS_11SparcMCExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|      3|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|      3|    typename cast_retty<To, FromTy>::ret_type Res2
  202|      3|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|      3|    return Res2;
  204|      3|  }
_ZN7llvm_ks4castINS_12MCSectionELFENS_9MCSectionEEENS_10cast_rettyIT_T0_E8ret_typeERS5_:
  229|  12.0k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  12.0k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 12.0k, False: 0]
  |  Branch (230:3): [True: 12.0k, Folded]
  |  Branch (230:3): [True: 12.0k, False: 0]
  ------------------
  231|  12.0k|  return cast_convert_val<X, Y,
  232|  12.0k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  12.0k|}
_ZN7llvm_ks3isaINS_12MCSectionELFENS_9MCSectionEEEbRKT0_:
  132|  12.0k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  12.0k|  return isa_impl_wrap<X, const Y,
  134|  12.0k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  12.0k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEKNS_9MCSectionES3_E4doitERS3_:
  121|  12.0k|  static bool doit(const FromTy &Val) {
  122|  12.0k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  12.0k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCSectionELFEKNS_9MCSectionEE4doitERS3_:
   74|  12.0k|  static inline bool doit(const From &Val) {
   75|  12.0k|    return isa_impl<To, From>::doit(Val);
   76|  12.0k|  }
_ZN7llvm_ks8isa_implINS_12MCSectionELFENS_9MCSectionEvE4doitERKS2_:
   55|  20.1k|  static inline bool doit(const From &Val) {
   56|  20.1k|    return To::classof(&Val);
   57|  20.1k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCSectionELFENS_9MCSectionES2_E4doitERKS2_:
  200|  12.0k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  12.0k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  12.0k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  12.0k|    return Res2;
  204|  12.0k|  }
_ZN7llvm_ks12cast_or_nullINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  267|  4.90k|cast_or_null(Y *Val) {
  268|  4.90k|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 817, False: 4.09k]
  ------------------
  269|  4.90k|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 4.09k, False: 0]
  |  Branch (269:3): [True: 4.09k, Folded]
  |  Branch (269:3): [True: 4.09k, False: 0]
  ------------------
  270|  4.09k|  return cast<X>(Val);
  271|  4.09k|}
_ZN7llvm_ks12cast_or_nullINS_12MCSectionELFEKNS_9MCSectionEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  267|  4.87k|cast_or_null(Y *Val) {
  268|  4.87k|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 817, False: 4.06k]
  ------------------
  269|  4.87k|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 4.06k, False: 0]
  |  Branch (269:3): [True: 4.06k, Folded]
  |  Branch (269:3): [True: 4.06k, False: 0]
  ------------------
  270|  4.06k|  return cast<X>(Val);
  271|  4.06k|}
_ZN7llvm_ks3isaINS_12MCSectionELFEPKNS_9MCSectionEEEbRKT0_:
  132|  8.12k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  8.12k|  return isa_impl_wrap<X, const Y,
  134|  8.12k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  8.12k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEKPKNS_9MCSectionES4_E4doitERS5_:
  111|  8.12k|  static bool doit(const From &Val) {
  112|  8.12k|    return isa_impl_wrap<To, SimpleFrom,
  113|  8.12k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  8.12k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  8.12k|  }
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEPKNS_9MCSectionES4_E4doitERKS4_:
  121|  8.12k|  static bool doit(const FromTy &Val) {
  122|  8.12k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  8.12k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCSectionELFEPKNS_9MCSectionEE4doitES4_:
   94|  8.12k|  static inline bool doit(const From *Val) {
   95|  8.12k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 8.12k, False: 0]
  |  Branch (95:5): [True: 8.12k, Folded]
  |  Branch (95:5): [True: 8.12k, False: 0]
  ------------------
   96|  8.12k|    return isa_impl<To, From>::doit(*Val);
   97|  8.12k|  }
_ZN7llvm_ks4castINS_12MCSectionELFEKNS_9MCSectionEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|  4.06k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  4.06k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 4.06k, False: 0]
  |  Branch (237:3): [True: 4.06k, Folded]
  |  Branch (237:3): [True: 4.06k, False: 0]
  ------------------
  238|  4.06k|  return cast_convert_val<X, Y*,
  239|  4.06k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  4.06k|}
_ZN7llvm_ks16cast_convert_valINS_12MCSectionELFEPKNS_9MCSectionES4_E4doitERKS4_:
  200|  4.06k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  4.06k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  4.06k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  4.06k|    return Res2;
  204|  4.06k|  }

_ZN7llvm_ks7support6endian9byte_swapIjLNS0_10endiannessE1EEET_S4_:
   39|  3.78k|inline value_type byte_swap(value_type value) {
   40|  3.78k|  if (endian != native && sys::IsBigEndianHost != (endian == big))
  ------------------
  |  Branch (40:7): [True: 0, Folded]
  |  Branch (40:27): [Folded, False: 0]
  ------------------
   41|      0|    sys::swapByteOrder(value);
   42|  3.78k|  return value;
   43|  3.78k|}

_ZN7llvm_ks7support6endian6WriterILNS0_10endiannessE1EE5writeIjEEvT_:
   34|  3.78k|  template <typename value_type> void write(value_type Val) {
   35|  3.78k|    Val = byte_swap<value_type, endian>(Val);
   36|  3.78k|    OS.write((const char *)&Val, sizeof(value_type));
   37|  3.78k|  }
_ZN7llvm_ks7support6endian6WriterILNS0_10endiannessE1EEC2ERNS_11raw_ostreamE:
   29|  3.78k|  Writer(raw_ostream &OS) : OS(OS) {}

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

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

_ZN7llvm_ks6isUIntILj32EEEbm:
  302|  1.78k|inline bool isUInt<32>(uint64_t x) {
  303|  1.78k|  return static_cast<uint32_t>(x) == x;
  304|  1.78k|}
_ZN7llvm_ks7isUIntNEjm:
  315|  47.9M|inline bool isUIntN(unsigned N, uint64_t x) {
  316|  47.9M|  return N >= 64 || x < (UINT64_C(1)<<(N));
  ------------------
  |  Branch (316:10): [True: 1.87k, False: 47.9M]
  |  Branch (316:21): [True: 47.9M, False: 5.53k]
  ------------------
  317|  47.9M|}
_ZN7llvm_ks6isIntNEjl:
  321|  5.53k|inline bool isIntN(unsigned N, int64_t x) {
  322|  5.53k|  return N >= 64 || (-(INT64_C(1)<<(N-1)) <= x && x < (INT64_C(1)<<(N-1)));
  ------------------
  |  Branch (322:10): [True: 0, False: 5.53k]
  |  Branch (322:22): [True: 3.47k, False: 2.05k]
  |  Branch (322:51): [True: 2.23k, False: 1.24k]
  ------------------
  323|  5.53k|}
_ZN7llvm_ks13isPowerOf2_32Ej:
  354|     84|inline bool isPowerOf2_32(uint32_t Value) {
  355|     84|  return Value && !(Value & (Value - 1));
  ------------------
  |  Branch (355:10): [True: 84, False: 0]
  |  Branch (355:19): [True: 84, False: 0]
  ------------------
  356|     84|}
_ZN7llvm_ks13isPowerOf2_64Em:
  360|  1.92M|inline bool isPowerOf2_64(uint64_t Value) {
  361|  1.92M|  return Value && !(Value & (Value - int64_t(1L)));
  ------------------
  |  Branch (361:10): [True: 1.92M, False: 8]
  |  Branch (361:19): [True: 1.91M, False: 1.17k]
  ------------------
  362|  1.92M|}
_ZN7llvm_ks7Log2_32Ej:
  468|     84|inline unsigned Log2_32(uint32_t Value) {
  469|     84|  return 31 - countLeadingZeros(Value);
  470|     84|}
_ZN7llvm_ks7Log2_64Em:
  474|      7|inline unsigned Log2_64(uint64_t Value) {
  475|      7|  return 63 - countLeadingZeros(Value);
  476|      7|}
_ZN7llvm_ks9alignAddrEPKvm:
  565|  1.91M|inline uintptr_t alignAddr(const void *Addr, size_t Alignment) {
  566|  1.91M|  assert(Alignment && isPowerOf2_64((uint64_t)Alignment) &&
  ------------------
  |  Branch (566:3): [True: 1.91M, False: 0]
  |  Branch (566:3): [True: 1.91M, False: 0]
  |  Branch (566:3): [True: 1.91M, Folded]
  |  Branch (566:3): [True: 1.91M, False: 0]
  ------------------
  567|  1.91M|         "Alignment is not a power of two!");
  568|       |
  569|  1.91M|  assert((uintptr_t)Addr + Alignment - 1 >= (uintptr_t)Addr);
  ------------------
  |  Branch (569:3): [True: 1.91M, False: 0]
  ------------------
  570|       |
  571|  1.91M|  return (((uintptr_t)Addr + Alignment - 1) & ~(uintptr_t)(Alignment - 1));
  572|  1.91M|}
_ZN7llvm_ks19alignmentAdjustmentEPKvm:
  576|  1.75M|inline size_t alignmentAdjustment(const void *Ptr, size_t Alignment) {
  577|  1.75M|  return alignAddr(Ptr, Alignment) - (uintptr_t)Ptr;
  578|  1.75M|}
_ZN7llvm_ks12NextPowerOf2Em:
  582|  36.5k|inline uint64_t NextPowerOf2(uint64_t A) {
  583|  36.5k|  A |= (A >> 1);
  584|  36.5k|  A |= (A >> 2);
  585|  36.5k|  A |= (A >> 4);
  586|  36.5k|  A |= (A >> 8);
  587|  36.5k|  A |= (A >> 16);
  588|  36.5k|  A |= (A >> 32);
  589|  36.5k|  return A + 1;
  590|  36.5k|}
_ZN7llvm_ks7alignToEmmm:
  619|  38.2k|inline uint64_t alignTo(uint64_t Value, uint64_t Align, uint64_t Skew = 0) {
  620|  38.2k|  Skew %= Align;
  621|  38.2k|  return (Value + Align - 1 - Skew) / Align * Align + Skew;
  622|  38.2k|}
_ZN7llvm_ks17OffsetToAlignmentEmm:
  627|  14.8k|inline uint64_t OffsetToAlignment(uint64_t Value, uint64_t Align) {
  628|  14.8k|  return alignTo(Value, Align) - Value;
  629|  14.8k|}
_ZN7llvm_ks17countLeadingZerosIjEEmT_NS_12ZeroBehaviorE:
  178|     84|std::size_t countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) {
  179|     84|  static_assert(std::numeric_limits<T>::is_integer &&
  180|     84|                    !std::numeric_limits<T>::is_signed,
  181|     84|                "Only unsigned integral types are allowed.");
  182|     84|  return detail::LeadingZerosCounter<T, sizeof(T)>::count(Val, ZB);
  183|     84|}
_ZN7llvm_ks6detail19LeadingZerosCounterIjLm4EE5countEjNS_12ZeroBehaviorE:
  137|     84|  static std::size_t count(T Val, ZeroBehavior ZB) {
  138|     84|    if (ZB != ZB_Undefined && Val == 0)
  ------------------
  |  Branch (138:9): [True: 84, False: 0]
  |  Branch (138:31): [True: 0, False: 84]
  ------------------
  139|      0|      return 32;
  140|       |
  141|     84|#if __has_builtin(__builtin_clz) || LLVM_GNUC_PREREQ(4, 0, 0)
  142|     84|    return __builtin_clz(Val);
  143|       |#elif defined(_MSC_VER)
  144|       |    unsigned long Index;
  145|       |    _BitScanReverse(&Index, Val);
  146|       |    return Index ^ 31;
  147|       |#endif
  148|     84|  }
_ZN7llvm_ks17countLeadingZerosImEEmT_NS_12ZeroBehaviorE:
  178|   700k|std::size_t countLeadingZeros(T Val, ZeroBehavior ZB = ZB_Width) {
  179|   700k|  static_assert(std::numeric_limits<T>::is_integer &&
  180|   700k|                    !std::numeric_limits<T>::is_signed,
  181|   700k|                "Only unsigned integral types are allowed.");
  182|   700k|  return detail::LeadingZerosCounter<T, sizeof(T)>::count(Val, ZB);
  183|   700k|}
_ZN7llvm_ks6detail19LeadingZerosCounterImLm8EE5countEmNS_12ZeroBehaviorE:
  153|   700k|  static std::size_t count(T Val, ZeroBehavior ZB) {
  154|   700k|    if (ZB != ZB_Undefined && Val == 0)
  ------------------
  |  Branch (154:9): [True: 529k, False: 171k]
  |  Branch (154:31): [True: 28.5k, False: 500k]
  ------------------
  155|  28.5k|      return 64;
  156|       |
  157|   671k|#if __has_builtin(__builtin_clzll) || LLVM_GNUC_PREREQ(4, 0, 0)
  158|   671k|    return __builtin_clzll(Val);
  159|       |#elif defined(_MSC_VER)
  160|       |    unsigned long Index;
  161|       |    _BitScanReverse64(&Index, Val);
  162|       |    return Index ^ 63;
  163|       |#endif
  164|   700k|  }
_ZN7llvm_ks18countTrailingZerosImEEmT_NS_12ZeroBehaviorE:
  109|  38.8k|std::size_t countTrailingZeros(T Val, ZeroBehavior ZB = ZB_Width) {
  110|  38.8k|  static_assert(std::numeric_limits<T>::is_integer &&
  111|  38.8k|                    !std::numeric_limits<T>::is_signed,
  112|  38.8k|                "Only unsigned integral types are allowed.");
  113|  38.8k|  return detail::TrailingZerosCounter<T, sizeof(T)>::count(Val, ZB);
  114|  38.8k|}
_ZN7llvm_ks6detail20TrailingZerosCounterImLm8EE5countEmNS_12ZeroBehaviorE:
   84|  38.8k|  static std::size_t count(T Val, ZeroBehavior ZB) {
   85|  38.8k|    if (ZB != ZB_Undefined && Val == 0)
  ------------------
  |  Branch (85:9): [True: 0, False: 38.8k]
  |  Branch (85:31): [True: 0, False: 0]
  ------------------
   86|      0|      return 64;
   87|       |
   88|  38.8k|#if __has_builtin(__builtin_ctzll) || LLVM_GNUC_PREREQ(4, 0, 0)
   89|  38.8k|    return __builtin_ctzll(Val);
   90|       |#elif defined(_MSC_VER)
   91|       |    unsigned long Index;
   92|       |    _BitScanForward64(&Index, Val);
   93|       |    return Index;
   94|       |#endif
   95|  38.8k|  }
_ZN7llvm_ks15countPopulationImEEjT_:
  449|      2|inline unsigned countPopulation(T Value) {
  450|      2|  static_assert(std::numeric_limits<T>::is_integer &&
  451|      2|                    !std::numeric_limits<T>::is_signed,
  452|      2|                "Only unsigned integral types are allowed.");
  453|      2|  return detail::PopulationCounter<T, sizeof(T)>::count(Value);
  454|      2|}
_ZN7llvm_ks6detail17PopulationCounterImLm8EE5countEm:
  431|      2|  static unsigned count(T Value) {
  432|      2|#if __GNUC__ >= 4
  433|      2|    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|      2|  }
_ZN7llvm_ks12findFirstSetImEET_S1_NS_12ZeroBehaviorE:
  192|  38.8k|template <typename T> T findFirstSet(T Val, ZeroBehavior ZB = ZB_Max) {
  193|  38.8k|  if (ZB == ZB_Max && Val == 0)
  ------------------
  |  Branch (193:7): [True: 38.8k, False: 0]
  |  Branch (193:23): [True: 0, False: 38.8k]
  ------------------
  194|      0|    return std::numeric_limits<T>::max();
  195|       |
  196|  38.8k|  return countTrailingZeros(Val, ZB_Undefined);
  197|  38.8k|}
_ZN7llvm_ks11findLastSetImEET_S1_NS_12ZeroBehaviorE:
  206|   171k|template <typename T> T findLastSet(T Val, ZeroBehavior ZB = ZB_Max) {
  207|   171k|  if (ZB == ZB_Max && Val == 0)
  ------------------
  |  Branch (207:7): [True: 171k, False: 0]
  |  Branch (207:23): [True: 0, False: 171k]
  ------------------
  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|   171k|  return countLeadingZeros(Val, ZB_Undefined) ^
  213|   171k|         (std::numeric_limits<T>::digits - 1);
  214|   171k|}

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

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

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

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

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

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

_ZNK7llvm_ks6Target15createMCRegInfoENS_9StringRefE:
  260|  12.6k|  MCRegisterInfo *createMCRegInfo(StringRef TT) const {
  261|  12.6k|    if (!MCRegInfoCtorFn)
  ------------------
  |  Branch (261:9): [True: 0, False: 12.6k]
  ------------------
  262|      0|      return nullptr;
  263|  12.6k|    return MCRegInfoCtorFn(Triple(TT));
  264|  12.6k|  }
_ZNK7llvm_ks6Target15createMCAsmInfoERKNS_14MCRegisterInfoENS_9StringRefE:
  236|  12.6k|                             StringRef TheTriple) const {
  237|  12.6k|    if (!MCAsmInfoCtorFn)
  ------------------
  |  Branch (237:9): [True: 0, False: 12.6k]
  ------------------
  238|      0|      return nullptr;
  239|  12.6k|    return MCAsmInfoCtorFn(MRI, Triple(TheTriple));
  240|  12.6k|  }
_ZNK7llvm_ks6Target17createMCInstrInfoEv:
  244|  12.6k|  MCInstrInfo *createMCInstrInfo() const {
  245|  12.6k|    if (!MCInstrInfoCtorFn)
  ------------------
  |  Branch (245:9): [True: 0, False: 12.6k]
  ------------------
  246|      0|      return nullptr;
  247|  12.6k|    return MCInstrInfoCtorFn();
  248|  12.6k|  }
_ZNK7llvm_ks6Target21createMCSubtargetInfoENS_9StringRefES1_S1_:
  276|  12.6k|                                         StringRef Features) const {
  277|  12.6k|    if (!MCSubtargetInfoCtorFn)
  ------------------
  |  Branch (277:9): [True: 0, False: 12.6k]
  ------------------
  278|      0|      return nullptr;
  279|  12.6k|    return MCSubtargetInfoCtorFn(Triple(TheTriple), CPU, Features);
  280|  12.6k|  }
_ZNK7llvm_ks6Target18createMCAsmBackendERKNS_14MCRegisterInfoENS_9StringRefES4_:
  301|  12.6k|                                   StringRef TheTriple, StringRef CPU) const {
  302|  12.6k|    if (!MCAsmBackendCtorFn)
  ------------------
  |  Branch (302:9): [True: 0, False: 12.6k]
  ------------------
  303|      0|      return nullptr;
  304|  12.6k|    return MCAsmBackendCtorFn(*this, MRI, Triple(TheTriple), CPU);
  305|  12.6k|  }
_ZNK7llvm_ks6Target19createMCCodeEmitterERKNS_11MCInstrInfoERKNS_14MCRegisterInfoERNS_9MCContextE:
  338|  12.6k|                                     MCContext &Ctx) const {
  339|  12.6k|    if (!MCCodeEmitterCtorFn)
  ------------------
  |  Branch (339:9): [True: 0, False: 12.6k]
  ------------------
  340|      0|      return nullptr;
  341|  12.6k|    return MCCodeEmitterCtorFn(II, MRI, Ctx);
  342|  12.6k|  }
_ZNK7llvm_ks6Target22createMCObjectStreamerERKNS_6TripleERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterERKNS_15MCSubtargetInfoEbb:
  356|  12.6k|                                     bool DWARFMustBeAtTheEnd) const {
  357|  12.6k|    MCStreamer *S;
  358|  12.6k|    switch (T.getObjectFormat()) {
  359|      0|    default:
  ------------------
  |  Branch (359:5): [True: 0, False: 12.6k]
  ------------------
  360|      0|      llvm_unreachable("Unknown object format");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  361|  12.6k|    case Triple::ELF:
  ------------------
  |  Branch (361:5): [True: 12.6k, False: 0]
  ------------------
  362|  12.6k|      if (ELFStreamerCtorFn)
  ------------------
  |  Branch (362:11): [True: 0, False: 12.6k]
  ------------------
  363|      0|        S = ELFStreamerCtorFn(T, Ctx, TAB, OS, Emitter, RelaxAll);
  364|  12.6k|      else
  365|  12.6k|        S = createELFStreamer(Ctx, TAB, OS, Emitter, RelaxAll);
  366|  12.6k|      break;
  367|  12.6k|    }
  368|  12.6k|    if (ObjectTargetStreamerCtorFn)
  ------------------
  |  Branch (368:9): [True: 0, False: 12.6k]
  ------------------
  369|      0|      ObjectTargetStreamerCtorFn(*S, STI);
  370|  12.6k|    return S;
  371|  12.6k|  }
_ZNK7llvm_ks6Target17createMCAsmParserERKNS_15MCSubtargetInfoERNS_11MCAsmParserERKNS_11MCInstrInfoERKNS_15MCTargetOptionsE:
  320|  12.6k|                                       const MCTargetOptions &Options) const {
  321|  12.6k|    if (!MCAsmParserCtorFn)
  ------------------
  |  Branch (321:9): [True: 0, False: 12.6k]
  ------------------
  322|      0|      return nullptr;
  323|  12.6k|    return MCAsmParserCtorFn(STI, Parser, MII, Options);
  324|  12.6k|  }
_ZN7llvm_ks6TargetC2Ev:
  198|     46|      : ELFStreamerCtorFn(nullptr), NullTargetStreamerCtorFn(nullptr),
  199|     46|        AsmTargetStreamerCtorFn(nullptr), ObjectTargetStreamerCtorFn(nullptr),
  200|     46|        MCRelocationInfoCtorFn(nullptr) {}
_ZNK7llvm_ks6Target7getNextEv:
  206|   291k|  const Target *getNext() const { return Next; }
_ZNK7llvm_ks6Target7getNameEv:
  209|  25.3k|  const char *getName() const { return Name; }
_ZN7llvm_ks14TargetRegistry8iteratorC2EPNS_6TargetE:
  420|  88.6k|    explicit iterator(Target *T) : Current(T) {}
_ZN7llvm_ks14TargetRegistry8iteratorC2Ev:
  424|  88.6k|    iterator() : Current(nullptr) {}
_ZNK7llvm_ks14TargetRegistry8iteratoreqERKS1_:
  426|   342k|    bool operator==(const iterator &x) const { return Current == x.Current; }
_ZNK7llvm_ks14TargetRegistry8iteratorneERKS1_:
  427|   316k|    bool operator!=(const iterator &x) const { return !operator==(x); }
_ZN7llvm_ks14TargetRegistry8iteratorppEv:
  430|   291k|    iterator &operator++() { // Preincrement
  431|   291k|      assert(Current && "Cannot increment end iterator!");
  ------------------
  |  Branch (431:7): [True: 291k, False: 0]
  |  Branch (431:7): [True: 291k, Folded]
  |  Branch (431:7): [True: 291k, False: 0]
  ------------------
  432|   291k|      Current = Current->getNext();
  433|   291k|      return *this;
  434|   291k|    }
_ZNK7llvm_ks14TargetRegistry8iteratordeEv:
  441|   304k|    const Target &operator*() const {
  442|   304k|      assert(Current && "Cannot dereference end iterator!");
  ------------------
  |  Branch (442:7): [True: 304k, False: 0]
  |  Branch (442:7): [True: 304k, Folded]
  |  Branch (442:7): [True: 304k, False: 0]
  ------------------
  443|   304k|      return *Current;
  444|   304k|    }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
SparcAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_114SparcAsmParserEEC2ERNS_6TargetE:
  900|      3|  RegisterMCAsmParser(Target &T) {
  901|      3|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      3|  }
SparcAsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_114SparcAsmParserEE9AllocatorERKNS_15MCSubtargetInfoERNS_11MCAsmParserERKNS_11MCInstrInfoERKNS_15MCTargetOptionsE:
  907|  12.6k|                                      const MCTargetOptions &Options) {
  908|  12.6k|    return new MCAsmParserImpl(STI, P, MII, Options);
  909|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
X86AsmParser.cpp:_ZN7llvm_ks19RegisterMCAsmParserIN12_GLOBAL__N_112X86AsmParserEEC2ERNS_6TargetE:
  900|      2|  RegisterMCAsmParser(Target &T) {
  901|      2|    TargetRegistry::RegisterMCAsmParser(T, &Allocator);
  902|      2|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }
_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|  12.6k|  static bool getArchMatch(Triple::ArchType Arch) {
  682|  12.6k|    return Arch == TargetArchType;
  683|  12.6k|  }

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

ks_errno:
   42|  8.06k|{
   43|  8.06k|    return (ks_err)ks->errnum;
   44|  8.06k|}
ks_open:
  261|  12.6k|{
  262|  12.6k|    struct ks_struct *ks;
  263|  12.6k|    std::string TripleName = "";
  264|       |
  265|  12.6k|    if (arch < KS_ARCH_MAX) {
  ------------------
  |  Branch (265:9): [True: 12.6k, False: 0]
  ------------------
  266|       |        // LLVM-based architectures
  267|  12.6k|        ks = new (std::nothrow) ks_struct(arch, mode, KS_ERR_OK, KS_OPT_SYNTAX_INTEL);
  268|       |        
  269|  12.6k|        if (!ks) {
  ------------------
  |  Branch (269:13): [True: 0, False: 12.6k]
  ------------------
  270|       |            // memory insufficient
  271|      0|            return KS_ERR_NOMEM;
  272|      0|        }
  273|       |
  274|  12.6k|        switch(arch) {
  275|      0|            default: break;
  ------------------
  |  Branch (275:13): [True: 0, False: 12.6k]
  ------------------
  276|       |
  277|      0|#ifdef LLVM_ENABLE_ARCH_ARM
  278|      0|            case KS_ARCH_ARM:
  ------------------
  |  Branch (278:13): [True: 0, False: 12.6k]
  ------------------
  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: 12.6k]
  ------------------
  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: 12.6k]
  ------------------
  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: 12.6k]
  ------------------
  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|  12.6k|            case KS_ARCH_SPARC:
  ------------------
  |  Branch (367:13): [True: 12.6k, False: 0]
  ------------------
  368|  12.6k|                if ((mode & ~KS_MODE_SPARC_MASK) ||
  ------------------
  |  |   27|  12.6k|#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: 12.6k]
  ------------------
  369|  12.6k|                        !(mode & (KS_MODE_SPARC32|KS_MODE_SPARC64))) {
  ------------------
  |  Branch (369:25): [True: 0, False: 12.6k]
  ------------------
  370|      0|                    delete ks;
  371|      0|                    return KS_ERR_MODE;
  372|      0|                }
  373|  12.6k|                if (mode & KS_MODE_BIG_ENDIAN) {
  ------------------
  |  Branch (373:21): [True: 0, False: 12.6k]
  ------------------
  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|  12.6k|                } else {
  380|       |                    // little endian
  381|  12.6k|                    if (mode & KS_MODE_SPARC64) {
  ------------------
  |  Branch (381:25): [True: 0, False: 12.6k]
  ------------------
  382|       |                        // TripleName = "sparc64el";
  383|       |                        // FIXME
  384|      0|                        delete ks;
  385|      0|                        return KS_ERR_MODE;
  386|      0|                    } else
  387|  12.6k|                        TripleName = "sparcel";
  388|  12.6k|                }
  389|       |
  390|  12.6k|                InitKs(arch, ks, TripleName);
  391|       |
  392|  12.6k|                break;
  393|      0|#endif
  394|       |
  395|      0|#ifdef LLVM_ENABLE_ARCH_RISCV
  396|      0|            case KS_ARCH_RISCV: {
  ------------------
  |  Branch (396:13): [True: 0, False: 12.6k]
  ------------------
  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: 12.6k]
  ------------------
  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: 12.6k]
  ------------------
  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|      0|            case KS_ARCH_X86: {
  ------------------
  |  Branch (476:13): [True: 0, False: 12.6k]
  ------------------
  477|      0|                if ((mode & ~KS_MODE_X86_MASK) ||
  ------------------
  |  |   25|      0|#define KS_MODE_X86_MASK    (KS_MODE_16|KS_MODE_32|KS_MODE_64|KS_MODE_LITTLE_ENDIAN)
  ------------------
  |  Branch (477:21): [True: 0, False: 0]
  ------------------
  478|      0|                        (mode & KS_MODE_BIG_ENDIAN) ||
  ------------------
  |  Branch (478:25): [True: 0, False: 0]
  ------------------
  479|      0|                        !(mode & (KS_MODE_16|KS_MODE_32|KS_MODE_64))) {
  ------------------
  |  Branch (479:25): [True: 0, False: 0]
  ------------------
  480|      0|                    delete ks;
  481|      0|                    return KS_ERR_MODE;
  482|      0|                }
  483|       |
  484|      0|                switch(mode) {
  485|      0|                    default: break;
  ------------------
  |  Branch (485:21): [True: 0, False: 0]
  ------------------
  486|      0|                    case KS_MODE_16:
  ------------------
  |  Branch (486:21): [True: 0, False: 0]
  ------------------
  487|       |                        // FIXME
  488|      0|                        TripleName = "i386-unknown-unknown-code16";
  489|      0|                        break;
  490|      0|                    case KS_MODE_32:
  ------------------
  |  Branch (490:21): [True: 0, False: 0]
  ------------------
  491|       |                        // FIXME
  492|      0|                        TripleName = "i386";
  493|      0|                        break;
  494|      0|                    case KS_MODE_64:
  ------------------
  |  Branch (494:21): [True: 0, False: 0]
  ------------------
  495|       |                        // FIXME
  496|      0|                        TripleName = "x86_64";
  497|      0|                        break;
  498|      0|                }
  499|       |
  500|      0|                InitKs(arch, ks, TripleName);
  501|       |
  502|       |                //ks->init_arch = x86_ks_init;
  503|      0|                break;
  504|      0|            }
  505|      0|#endif
  506|      0|#ifdef LLVM_ENABLE_ARCH_EVM
  507|      0|            case KS_ARCH_EVM: {
  ------------------
  |  Branch (507:13): [True: 0, False: 12.6k]
  ------------------
  508|      0|                *result = ks;
  509|      0|                return KS_ERR_OK;
  510|      0|            }
  511|  12.6k|#endif
  512|  12.6k|        }
  513|       |
  514|  12.6k|        if (TripleName.empty()) {
  ------------------
  |  Branch (514:13): [True: 0, False: 12.6k]
  ------------------
  515|       |            // this arch is not supported
  516|      0|            delete ks;
  517|      0|            return KS_ERR_ARCH;
  518|      0|        }
  519|       |
  520|  12.6k|        *result = ks;
  521|       |
  522|  12.6k|        return KS_ERR_OK;
  523|  12.6k|    } else
  524|      0|        return KS_ERR_ARCH;
  525|  12.6k|}
ks_close:
  530|  12.6k|{
  531|  12.6k|    if (!ks)
  ------------------
  |  Branch (531:9): [True: 0, False: 12.6k]
  ------------------
  532|      0|        return KS_ERR_HANDLE;
  533|       |
  534|  12.6k|    if (ks->arch == KS_ARCH_EVM) {
  ------------------
  |  Branch (534:9): [True: 0, False: 12.6k]
  ------------------
  535|       |        // handle EVM differently
  536|      0|        delete ks;
  537|      0|        return KS_ERR_OK;
  538|      0|    }
  539|       |
  540|       |    // LLVM-based architectures
  541|  12.6k|    delete ks->STI;
  542|  12.6k|    delete ks->MCII;
  543|  12.6k|    delete ks->MAI;
  544|  12.6k|    delete ks->MRI;
  545|  12.6k|    delete ks->MAB;
  546|       |
  547|       |    // finally, free ks itself.
  548|  12.6k|    delete ks;
  549|       |
  550|  12.6k|    return KS_ERR_OK;
  551|  12.6k|}
ks_option:
  556|  12.6k|{
  557|  12.6k|    ks->MAI->setRadix(16);
  558|  12.6k|    switch(type) {
  ------------------
  |  Branch (558:12): [True: 12.6k, False: 0]
  ------------------
  559|  12.6k|        case KS_OPT_SYNTAX:
  ------------------
  |  Branch (559:9): [True: 12.6k, False: 0]
  ------------------
  560|  12.6k|            if (ks->arch != KS_ARCH_X86)
  ------------------
  |  Branch (560:17): [True: 12.6k, False: 0]
  ------------------
  561|  12.6k|                return KS_ERR_OPT_INVALID;
  562|      0|            switch(value) {
  563|      0|                default:
  ------------------
  |  Branch (563:17): [True: 0, False: 0]
  ------------------
  564|      0|                    return KS_ERR_OPT_INVALID;
  565|      0|                case KS_OPT_SYNTAX_RADIX16: // default syntax is Intel
  ------------------
  |  Branch (565:17): [True: 0, False: 0]
  ------------------
  566|      0|                case KS_OPT_SYNTAX_NASM | KS_OPT_SYNTAX_RADIX16:
  ------------------
  |  Branch (566:17): [True: 0, False: 0]
  ------------------
  567|      0|                case KS_OPT_SYNTAX_INTEL | KS_OPT_SYNTAX_RADIX16:
  ------------------
  |  Branch (567:17): [True: 0, False: 0]
  ------------------
  568|      0|                    ks->MAI->setRadix(16);
  569|      0|                case KS_OPT_SYNTAX_NASM:
  ------------------
  |  Branch (569:17): [True: 0, False: 0]
  ------------------
  570|      0|                case KS_OPT_SYNTAX_INTEL:
  ------------------
  |  Branch (570:17): [True: 0, False: 0]
  ------------------
  571|      0|                    ks->syntax = (ks_opt_value)value;
  572|      0|                    ks->MAI->setAssemblerDialect(1);
  573|      0|                    break;
  574|      0|                case KS_OPT_SYNTAX_GAS | KS_OPT_SYNTAX_RADIX16:
  ------------------
  |  Branch (574:17): [True: 0, False: 0]
  ------------------
  575|      0|                case KS_OPT_SYNTAX_ATT | KS_OPT_SYNTAX_RADIX16:
  ------------------
  |  Branch (575:17): [True: 0, False: 0]
  ------------------
  576|      0|                    ks->MAI->setRadix(16);
  577|      0|                case KS_OPT_SYNTAX_GAS:
  ------------------
  |  Branch (577:17): [True: 0, False: 0]
  ------------------
  578|      0|                case KS_OPT_SYNTAX_ATT:
  ------------------
  |  Branch (578:17): [True: 0, False: 0]
  ------------------
  579|      0|                    ks->syntax = (ks_opt_value)value;
  580|      0|                    ks->MAI->setAssemblerDialect(0);
  581|      0|                    break;
  582|      0|            }
  583|       |
  584|      0|            return KS_ERR_OK;
  585|      0|        case KS_OPT_SYM_RESOLVER:
  ------------------
  |  Branch (585:9): [True: 0, False: 12.6k]
  ------------------
  586|      0|            ks->sym_resolver = (ks_sym_resolver)value;
  587|      0|            return KS_ERR_OK;
  588|  12.6k|    }
  589|       |
  590|      0|    return KS_ERR_OPT_INVALID;
  591|  12.6k|}
ks_free:
  596|  4.60k|{
  597|  4.60k|    free(p);
  598|  4.60k|}
ks_asm:
  610|  12.6k|{
  611|  12.6k|    MCCodeEmitter *CE;
  612|  12.6k|    MCStreamer *Streamer;
  613|  12.6k|    unsigned char *encoding;
  614|  12.6k|    SmallString<1024> Msg;
  615|  12.6k|    raw_svector_ostream OS(Msg);
  616|       |
  617|  12.6k|    if (ks->arch == KS_ARCH_EVM) {
  ------------------
  |  Branch (617:9): [True: 0, False: 12.6k]
  ------------------
  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|  12.6k|    *insn = NULL;
  634|  12.6k|    *insn_size = 0;
  635|       |
  636|  12.6k|    MCContext Ctx(ks->MAI, ks->MRI, &ks->MOFI, &ks->SrcMgr, true, address);
  637|  12.6k|    ks->MOFI.InitMCObjectFileInfo(Triple(ks->TripleName), Ctx);
  638|  12.6k|    CE = ks->TheTarget->createMCCodeEmitter(*ks->MCII, *ks->MRI, Ctx);
  639|  12.6k|    if (!CE) {
  ------------------
  |  Branch (639:9): [True: 0, False: 12.6k]
  ------------------
  640|       |        // memory insufficient
  641|      0|        return KS_ERR_NOMEM;
  642|      0|    }
  643|  12.6k|    Streamer = ks->TheTarget->createMCObjectStreamer(
  644|  12.6k|            Triple(ks->TripleName), Ctx, *ks->MAB, OS, CE, *ks->STI, ks->MCOptions.MCRelaxAll,
  645|  12.6k|            /*DWARFMustBeAtTheEnd*/ false);
  646|       |            
  647|  12.6k|    if (!Streamer) {
  ------------------
  |  Branch (647:9): [True: 0, False: 12.6k]
  ------------------
  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|  12.6k|    ErrorOr<std::unique_ptr<MemoryBuffer>> BufferPtr = MemoryBuffer::getMemBuffer(assembly);
  655|  12.6k|    if (BufferPtr.getError()) {
  ------------------
  |  Branch (655:9): [True: 0, False: 12.6k]
  ------------------
  656|      0|        delete Streamer;
  657|      0|        delete CE;
  658|      0|        return KS_ERR_NOMEM;
  659|      0|    }
  660|       |
  661|  12.6k|    ks->SrcMgr.clearBuffers();
  662|  12.6k|    ks->SrcMgr.AddNewSourceBuffer(std::move(*BufferPtr), SMLoc());
  663|       |
  664|  12.6k|    Streamer->setSymResolver((void *)(ks->sym_resolver));
  665|       |
  666|  12.6k|    MCAsmParser *Parser = createMCAsmParser(ks->SrcMgr, Ctx, *Streamer, *ks->MAI);
  667|  12.6k|    if (!Parser) {
  ------------------
  |  Branch (667:9): [True: 0, False: 12.6k]
  ------------------
  668|      0|        delete Streamer;
  669|      0|        delete CE;
  670|       |        // memory insufficient
  671|      0|        return KS_ERR_NOMEM;
  672|      0|    }
  673|  12.6k|    MCTargetAsmParser *TAP = ks->TheTarget->createMCAsmParser(*ks->STI, *Parser, *ks->MCII, ks->MCOptions);
  674|  12.6k|    if (!TAP) { 
  ------------------
  |  Branch (674:9): [True: 0, False: 12.6k]
  ------------------
  675|       |        // memory insufficient
  676|      0|        delete Parser;
  677|      0|        delete Streamer;
  678|      0|        delete CE;
  679|      0|        return KS_ERR_NOMEM;
  680|      0|    }
  681|  12.6k|    TAP->KsSyntax = ks->syntax;
  682|       |
  683|  12.6k|    Parser->setTargetParser(*TAP);
  684|       |
  685|       |    // TODO: optimize this to avoid setting up NASM every time we call ks_asm()
  686|  12.6k|    if (ks->arch == KS_ARCH_X86 && ks->syntax == KS_OPT_SYNTAX_NASM) {
  ------------------
  |  Branch (686:9): [True: 0, False: 12.6k]
  |  Branch (686:36): [True: 0, False: 0]
  ------------------
  687|      0|        Parser->initializeDirectiveKindMap(KS_OPT_SYNTAX_NASM);
  688|      0|        ks->MAI->setCommentString(";");
  689|      0|    }
  690|       |
  691|  12.6k|    *stat_count = Parser->Run(false, address);
  692|       |
  693|       |    // PPC counts empty statement
  694|  12.6k|    if (ks->arch == KS_ARCH_PPC)
  ------------------
  |  Branch (694:9): [True: 0, False: 12.6k]
  ------------------
  695|      0|        *stat_count = *stat_count / 2;
  696|       |
  697|  12.6k|    ks->errnum = Parser->KsError;
  698|       |
  699|  12.6k|    delete TAP;
  700|  12.6k|    delete Parser;
  701|  12.6k|    delete CE;
  702|  12.6k|    delete Streamer;
  703|       |
  704|  12.6k|    if (ks->errnum >= KS_ERR_ASM)
  ------------------
  |  |  103|  12.6k|#define KS_ERR_ASM 128
  ------------------
  |  Branch (704:9): [True: 8.06k, False: 4.60k]
  ------------------
  705|  8.06k|        return -1;
  706|  4.60k|    else {
  707|  4.60k|        *insn_size = Msg.size();
  708|  4.60k|        encoding = (unsigned char *)malloc(*insn_size);
  709|  4.60k|        if (!encoding) {
  ------------------
  |  Branch (709:13): [True: 0, False: 4.60k]
  ------------------
  710|      0|            return KS_ERR_NOMEM;
  711|      0|        }
  712|  4.60k|        memcpy(encoding, Msg.data(), *insn_size);
  713|  4.60k|        *insn = encoding;
  714|  4.60k|        return 0;
  715|  4.60k|    }
  716|  12.6k|}
ks.cpp:_ZL6InitKsiP9ks_structNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  204|  12.6k|{
  205|  12.6k|    static bool initialized = false;
  206|  12.6k|    std::string MCPU = "";
  207|       |
  208|  12.6k|    if (!initialized) {
  ------------------
  |  Branch (208:9): [True: 1, False: 12.6k]
  ------------------
  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|  12.6k|    ks->TripleName = Triple::normalize(TripleName);
  217|  12.6k|    ks->TheTarget = GetTarget(ks->TripleName);
  218|  12.6k|    if (!ks->TheTarget)
  ------------------
  |  Branch (218:9): [True: 0, False: 12.6k]
  ------------------
  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|  12.6k|    Triple TheTriple(ks->TripleName);
  224|       |
  225|  12.6k|    ks->MRI = ks->TheTarget->createMCRegInfo(ks->TripleName);
  226|  12.6k|    assert(ks->MRI && "Unable to create target register info!");
  ------------------
  |  Branch (226:5): [True: 12.6k, False: 0]
  |  Branch (226:5): [True: 12.6k, Folded]
  |  Branch (226:5): [True: 12.6k, 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|  12.6k|    ks->MAI = ks->TheTarget->createMCAsmInfo(*ks->MRI, ks->TripleName);
  239|  12.6k|    assert(ks->MAI && "Unable to create target asm info!");
  ------------------
  |  Branch (239:5): [True: 12.6k, False: 0]
  |  Branch (239:5): [True: 12.6k, Folded]
  |  Branch (239:5): [True: 12.6k, False: 0]
  ------------------
  240|       |
  241|       |    // enable Knights Landing architecture for X86
  242|  12.6k|    if (ks->arch == KS_ARCH_X86)
  ------------------
  |  Branch (242:9): [True: 0, False: 12.6k]
  ------------------
  243|      0|        MCPU = "knl";
  244|       |
  245|  12.6k|    ks->MCII = ks->TheTarget->createMCInstrInfo();
  246|  12.6k|    ks->STI = ks->TheTarget->createMCSubtargetInfo(ks->TripleName, MCPU, ks->FeaturesStr);
  247|  12.6k|    if(ks->TripleName.rfind("riscv",0)==0){
  ------------------
  |  Branch (247:8): [True: 0, False: 12.6k]
  ------------------
  248|      0|        ks->MAB = ks->TheTarget->createMCAsmBackend2(*ks->MRI, ks->TripleName, MCPU, *ks->STI, ks->MCOptions);
  249|  12.6k|    } else {
  250|  12.6k|        ks->MAB = ks->TheTarget->createMCAsmBackend(*ks->MRI, ks->TripleName, MCPU);
  251|  12.6k|    }
  252|  12.6k|    ks->MAB->setArch(arch);
  253|  12.6k|    ks->MCOptions = InitMCTargetOptionsFromFlags();
  254|       |
  255|  12.6k|    return KS_ERR_OK;
  256|  12.6k|}
ks.cpp:_ZL9GetTargetNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE:
  192|  12.6k|{
  193|       |    // Figure out the target triple.
  194|  12.6k|    Triple TheTriple(TripleName);
  195|       |
  196|       |    // Get the target specific parser.
  197|  12.6k|    std::string Error;
  198|       |
  199|  12.6k|    return TargetRegistry::lookupTarget("", TheTriple, Error);
  200|  12.6k|}

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

_ZN7llvm_ks21createELFObjectWriterEPNS_23MCELFObjectTargetWriterERNS_17raw_pwrite_streamEb:
 1271|  12.6k|                                            bool IsLittleEndian) {
 1272|  12.6k|  return new ELFObjectWriter(MOTW, OS, IsLittleEndian);
 1273|  12.6k|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriterC2EPN7llvm_ks23MCELFObjectTargetWriterERNS1_17raw_pwrite_streamEb:
  142|  12.6k|        : MCObjectWriter(OS, IsLittleEndian), TargetObjectWriter(MOTW) {}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriterD2Ev:
  297|  12.6k|{}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter24executePostLayoutBindingERN7llvm_ks11MCAssemblerERKNS1_11MCAsmLayoutE:
  316|  6.46k|                                               const MCAsmLayout &Layout) {
  317|       |  // The presence of symbol versions causes undefined symbols and
  318|       |  // versions declared with @@@ to be renamed.
  319|       |
  320|  63.6k|  for (const MCSymbol &A : Asm.symbols()) {
  ------------------
  |  Branch (320:26): [True: 63.6k, False: 6.46k]
  ------------------
  321|  63.6k|    const auto &Alias = cast<MCSymbolELF>(A);
  322|       |    // Not an alias.
  323|  63.6k|    if (!Alias.isVariable())
  ------------------
  |  Branch (323:9): [True: 62.1k, False: 1.53k]
  ------------------
  324|  62.1k|      continue;
  325|  1.53k|    auto *Ref = dyn_cast<MCSymbolRefExpr>(Alias.getVariableValue());
  326|  1.53k|    if (!Ref)
  ------------------
  |  Branch (326:9): [True: 645, False: 887]
  ------------------
  327|    645|      continue;
  328|    887|    const auto &Symbol = cast<MCSymbolELF>(Ref->getSymbol());
  329|       |
  330|    887|    StringRef AliasName = Alias.getName();
  331|    887|    size_t Pos = AliasName.find('@');
  332|    887|    if (Pos == StringRef::npos)
  ------------------
  |  Branch (332:9): [True: 276, False: 611]
  ------------------
  333|    276|      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|    611|    Alias.setExternal(Symbol.isExternal());
  338|    611|    Alias.setBinding(Symbol.getBinding());
  339|       |
  340|    611|    StringRef Rest = AliasName.substr(Pos);
  341|    611|    if (!Symbol.isUndefined() && !Rest.startswith("@@@"))
  ------------------
  |  Branch (341:9): [True: 299, False: 312]
  |  Branch (341:9): [True: 73, False: 538]
  |  Branch (341:34): [True: 73, False: 226]
  ------------------
  342|     73|      continue;
  343|       |
  344|       |    // FIXME: produce a better error message.
  345|    538|    if (Symbol.isUndefined() && Rest.startswith("@@") &&
  ------------------
  |  Branch (345:9): [True: 312, False: 226]
  |  Branch (345:9): [True: 0, False: 538]
  |  Branch (345:33): [True: 54, False: 258]
  ------------------
  346|     54|        !Rest.startswith("@@@"))
  ------------------
  |  Branch (346:9): [True: 0, False: 54]
  ------------------
  347|      0|      report_fatal_error("A @@ version cannot be undefined");
  348|       |
  349|    538|    Renames.insert(std::make_pair(&Symbol, &Alias));
  350|    538|  }
  351|  6.46k|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter16recordRelocationERN7llvm_ks11MCAssemblerERKNS1_11MCAsmLayoutEPKNS1_10MCFragmentERKNS1_7MCFixupENS1_7MCValueERbRm:
  557|  8.00k|{
  558|  8.00k|  const MCSectionELF &FixupSection = cast<MCSectionELF>(*Fragment->getParent());
  559|  8.00k|  uint64_t C = Target.getConstant();
  560|  8.00k|  bool valid;
  561|  8.00k|  uint64_t FixupOffset = Layout.getFragmentOffset(Fragment, valid) + Fixup.getOffset();
  562|  8.00k|  MCContext &Ctx = Asm.getContext();
  563|       |
  564|  8.00k|  if (const MCSymbolRefExpr *RefB = Target.getSymB()) {
  ------------------
  |  Branch (564:30): [True: 3.83k, False: 4.16k]
  ------------------
  565|  3.83k|    assert(RefB->getKind() == MCSymbolRefExpr::VK_None &&
  ------------------
  |  Branch (565:5): [True: 3.83k, False: 0]
  |  Branch (565:5): [True: 3.83k, Folded]
  |  Branch (565:5): [True: 3.83k, False: 0]
  ------------------
  566|  3.83k|           "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|  3.83k|    if (IsPCRel) {
  ------------------
  |  Branch (575:9): [True: 364, False: 3.47k]
  ------------------
  576|    364|      Ctx.reportError(
  577|    364|          Fixup.getLoc(),
  578|    364|          "No relocation available to represent this relative expression");
  579|    364|      return;
  580|    364|    }
  581|       |
  582|  3.47k|    const auto &SymB = cast<MCSymbolELF>(RefB->getSymbol());
  583|       |
  584|  3.47k|    if (SymB.isUndefined()) {
  ------------------
  |  Branch (584:9): [True: 2.72k, False: 744]
  ------------------
  585|  2.72k|      Ctx.reportError(Fixup.getLoc(),
  586|  2.72k|                      Twine("symbol '") + SymB.getName() +
  587|  2.72k|                          "' can not be undefined in a subtraction expression");
  588|  2.72k|      return;
  589|  2.72k|    }
  590|       |
  591|  3.47k|    assert(!SymB.isAbsolute() && "Should have been folded");
  ------------------
  |  Branch (591:5): [True: 744, False: 0]
  |  Branch (591:5): [True: 744, Folded]
  |  Branch (591:5): [True: 744, False: 0]
  ------------------
  592|    744|    const MCSection &SecB = SymB.getSection();
  593|    744|    if (&SecB != &FixupSection) {
  ------------------
  |  Branch (593:9): [True: 0, False: 744]
  ------------------
  594|      0|      Ctx.reportError(Fixup.getLoc(),
  595|      0|                      "Cannot represent a difference across sections");
  596|      0|      return;
  597|      0|    }
  598|       |
  599|    744|    bool valid;
  600|    744|    uint64_t SymBOffset = Layout.getSymbolOffset(SymB, valid);
  601|    744|    uint64_t K = SymBOffset - FixupOffset;
  602|    744|    IsPCRel = true;
  603|    744|    C -= K;
  604|    744|  }
  605|       |
  606|       |  // We either rejected the fixup or folded B into C at this point.
  607|  4.90k|  const MCSymbolRefExpr *RefA = Target.getSymA();
  608|  4.90k|  const auto *SymA = RefA ? cast<MCSymbolELF>(&RefA->getSymbol()) : nullptr;
  ------------------
  |  Branch (608:22): [True: 4.09k, False: 817]
  ------------------
  609|       |
  610|  4.90k|  bool ViaWeakRef = false;
  611|  4.90k|  if (SymA && SymA->isVariable()) {
  ------------------
  |  Branch (611:7): [True: 4.09k, False: 817]
  |  Branch (611:15): [True: 175, False: 3.91k]
  ------------------
  612|    175|    const MCExpr *Expr = SymA->getVariableValue();
  613|    175|    if (const auto *Inner = dyn_cast<MCSymbolRefExpr>(Expr)) {
  ------------------
  |  Branch (613:21): [True: 116, False: 59]
  ------------------
  614|    116|      if (Inner->getKind() == MCSymbolRefExpr::VK_WEAKREF) {
  ------------------
  |  Branch (614:11): [True: 0, False: 116]
  ------------------
  615|      0|        SymA = cast<MCSymbolELF>(&Inner->getSymbol());
  616|      0|        ViaWeakRef = true;
  617|      0|      }
  618|    116|    }
  619|    175|  }
  620|       |
  621|  4.90k|  unsigned Type = getRelocType(Ctx, Target, Fixup, IsPCRel);
  622|  4.90k|  bool RelocateWithSymbol = shouldRelocateWithSymbol(Asm, RefA, SymA, C, Type);
  623|  4.90k|  if (!RelocateWithSymbol && SymA && !SymA->isUndefined()) {
  ------------------
  |  Branch (623:7): [True: 4.87k, False: 29]
  |  Branch (623:30): [True: 4.06k, False: 817]
  |  Branch (623:38): [True: 4.06k, False: 0]
  ------------------
  624|  4.06k|    bool valid;
  625|  4.06k|    C += Layout.getSymbolOffset(*SymA, valid);
  626|  4.06k|  }
  627|       |
  628|  4.90k|  uint64_t Addend = 0;
  629|  4.90k|  if (hasRelocationAddend()) {
  ------------------
  |  Branch (629:7): [True: 0, False: 4.90k]
  ------------------
  630|      0|    Addend = C;
  631|      0|    C = 0;
  632|      0|  }
  633|       |
  634|  4.90k|  FixedValue = C;
  635|       |
  636|  4.90k|  if (!RelocateWithSymbol) {
  ------------------
  |  Branch (636:7): [True: 4.87k, False: 29]
  ------------------
  637|  4.87k|    const MCSection *SecA =
  638|  4.87k|        (SymA && !SymA->isUndefined()) ? &SymA->getSection() : nullptr;
  ------------------
  |  Branch (638:10): [True: 4.06k, False: 817]
  |  Branch (638:18): [True: 4.06k, False: 0]
  ------------------
  639|  4.87k|    auto *ELFSec = cast_or_null<MCSectionELF>(SecA);
  640|  4.87k|    const auto *SectionSymbol =
  641|  4.87k|        ELFSec ? cast<MCSymbolELF>(ELFSec->getBeginSymbol()) : nullptr;
  ------------------
  |  Branch (641:9): [True: 4.06k, False: 817]
  ------------------
  642|  4.87k|    if (SectionSymbol)
  ------------------
  |  Branch (642:9): [True: 4.06k, False: 817]
  ------------------
  643|  4.06k|      SectionSymbol->setUsedInReloc();
  644|  4.87k|    ELFRelocationEntry Rec(FixupOffset, SectionSymbol, Type, Addend);
  645|  4.87k|    Relocations[&FixupSection].push_back(Rec);
  646|  4.87k|    return;
  647|  4.87k|  }
  648|       |
  649|     29|  if (SymA) {
  ------------------
  |  Branch (649:7): [True: 29, False: 0]
  ------------------
  650|     29|    if (const MCSymbolELF *R = Renames.lookup(SymA))
  ------------------
  |  Branch (650:28): [True: 0, False: 29]
  ------------------
  651|      0|      SymA = R;
  652|       |
  653|     29|    if (ViaWeakRef)
  ------------------
  |  Branch (653:9): [True: 0, False: 29]
  ------------------
  654|      0|      SymA->setIsWeakrefUsedInReloc();
  655|     29|    else
  656|     29|      SymA->setUsedInReloc();
  657|     29|  }
  658|     29|  ELFRelocationEntry Rec(FixupOffset, SymA, Type, Addend);
  659|     29|  Relocations[&FixupSection].push_back(Rec);
  660|     29|  return;
  661|  4.90k|}
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter12getRelocTypeERN7llvm_ks9MCContextERKNS1_7MCValueERKNS1_7MCFixupEb:
  133|  4.90k|                          const MCFixup &Fixup, bool IsPCRel) const {
  134|  4.90k|      return TargetObjectWriter->getRelocType(Ctx, Target, Fixup, IsPCRel);
  135|  4.90k|    }
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter24shouldRelocateWithSymbolERKN7llvm_ks11MCAssemblerEPKNS1_15MCSymbolRefExprEPKNS1_8MCSymbolEmj:
  437|  4.90k|                                               unsigned Type) const {
  438|  4.90k|  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.90k|  if (!RefA)
  ------------------
  |  Branch (441:7): [True: 817, False: 4.09k]
  ------------------
  442|    817|    return false;
  443|       |
  444|  4.09k|  MCSymbolRefExpr::VariantKind Kind = RefA->getKind();
  445|  4.09k|  switch (Kind) {
  446|  4.06k|  default:
  ------------------
  |  Branch (446:3): [True: 4.06k, False: 29]
  ------------------
  447|  4.06k|    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|  4.06k|  case MCSymbolRefExpr::VK_PPC_TOCBASE:
  ------------------
  |  Branch (454:3): [True: 0, False: 4.09k]
  ------------------
  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|     29|  case MCSymbolRefExpr::VK_GOT:
  ------------------
  |  Branch (461:3): [True: 29, False: 4.06k]
  ------------------
  462|     29|  case MCSymbolRefExpr::VK_PLT:
  ------------------
  |  Branch (462:3): [True: 0, False: 4.09k]
  ------------------
  463|     29|  case MCSymbolRefExpr::VK_GOTPCREL:
  ------------------
  |  Branch (463:3): [True: 0, False: 4.09k]
  ------------------
  464|     29|  case MCSymbolRefExpr::VK_Mips_GOT:
  ------------------
  |  Branch (464:3): [True: 0, False: 4.09k]
  ------------------
  465|     29|  case MCSymbolRefExpr::VK_PPC_GOT_LO:
  ------------------
  |  Branch (465:3): [True: 0, False: 4.09k]
  ------------------
  466|     29|  case MCSymbolRefExpr::VK_PPC_GOT_HI:
  ------------------
  |  Branch (466:3): [True: 0, False: 4.09k]
  ------------------
  467|     29|  case MCSymbolRefExpr::VK_PPC_GOT_HA:
  ------------------
  |  Branch (467:3): [True: 0, False: 4.09k]
  ------------------
  468|     29|    return true;
  469|  4.09k|  }
  470|       |
  471|       |  // An undefined symbol is not in any section, so the relocation has to point
  472|       |  // to the symbol itself.
  473|  4.09k|  assert(Sym && "Expected a symbol");
  ------------------
  |  Branch (473:3): [True: 4.06k, False: 0]
  |  Branch (473:3): [True: 4.06k, Folded]
  |  Branch (473:3): [True: 4.06k, False: 0]
  ------------------
  474|  4.06k|  if (Sym->isUndefined())
  ------------------
  |  Branch (474:7): [True: 0, False: 4.06k]
  ------------------
  475|      0|    return true;
  476|       |
  477|  4.06k|  unsigned Binding = Sym->getBinding();
  478|  4.06k|  switch(Binding) {
  479|      0|  default:
  ------------------
  |  Branch (479:3): [True: 0, False: 4.06k]
  ------------------
  480|      0|    llvm_unreachable("Invalid Binding");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  481|  4.06k|  case ELF::STB_LOCAL:
  ------------------
  |  Branch (481:3): [True: 4.06k, False: 0]
  ------------------
  482|  4.06k|    break;
  483|      0|  case ELF::STB_WEAK:
  ------------------
  |  Branch (483:3): [True: 0, False: 4.06k]
  ------------------
  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: 4.06k]
  ------------------
  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|  4.06k|  }
  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|  4.06k|  auto &Sec = cast<MCSectionELF>(Sym->getSection());
  502|  4.06k|  unsigned Flags = Sec.getFlags();
  503|  4.06k|  if (Flags & ELF::SHF_MERGE) {
  ------------------
  |  Branch (503:7): [True: 0, False: 4.06k]
  ------------------
  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|  4.06k|  if (Flags & ELF::SHF_TLS)
  ------------------
  |  Branch (517:7): [True: 0, False: 4.06k]
  ------------------
  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|  4.06k|  if (Asm.isThumbFunc(Sym))
  ------------------
  |  Branch (524:7): [True: 0, False: 4.06k]
  ------------------
  525|      0|    return true;
  526|       |
  527|  4.06k|  if (TargetObjectWriter->needsRelocateWithSymbol(*Sym, Type))
  ------------------
  |  Branch (527:7): [True: 0, False: 4.06k]
  ------------------
  528|      0|    return true;
  529|  4.06k|  return false;
  530|  4.06k|}
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter19hasRelocationAddendEv:
  127|  5.31k|    bool hasRelocationAddend() const {
  128|       |      // Keystone doesn't want relocation addends.
  129|       |      /* return TargetObjectWriter->hasRelocationAddend(); */
  130|  5.31k|      return false;
  131|  5.31k|    }
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter38isSymbolRefDifferenceFullyResolvedImplERKN7llvm_ks11MCAssemblerERKNS1_8MCSymbolERKNS1_10MCFragmentEbb:
 1237|  6.74k|    bool InSet, bool IsPCRel) const {
 1238|  6.74k|  const auto &SymA = cast<MCSymbolELF>(SA);
 1239|  6.74k|  if (IsPCRel) {
  ------------------
  |  Branch (1239:7): [True: 622, False: 6.12k]
  ------------------
 1240|    622|    assert(!InSet);
  ------------------
  |  Branch (1240:5): [True: 622, False: 0]
  ------------------
 1241|    622|    if (::isWeak(SymA))
  ------------------
  |  Branch (1241:9): [True: 0, False: 622]
  ------------------
 1242|      0|      return false;
 1243|    622|  }
 1244|  6.74k|  return MCObjectWriter::isSymbolRefDifferenceFullyResolvedImpl(Asm, SymA, FB,
 1245|  6.74k|                                                                InSet, IsPCRel);
 1246|  6.74k|}
ELFObjectWriter.cpp:_ZL6isWeakRKN7llvm_ks11MCSymbolELFE:
  535|    622|static bool isWeak(const MCSymbolELF &Sym) {
  536|    622|  if (Sym.getType() == ELF::STT_GNU_IFUNC)
  ------------------
  |  Branch (536:7): [True: 0, False: 622]
  ------------------
  537|      0|    return true;
  538|       |
  539|    622|  switch (Sym.getBinding()) {
  540|      0|  default:
  ------------------
  |  Branch (540:3): [True: 0, False: 622]
  ------------------
  541|      0|    llvm_unreachable("Unknown binding");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  542|    622|  case ELF::STB_LOCAL:
  ------------------
  |  Branch (542:3): [True: 622, False: 0]
  ------------------
  543|    622|    return false;
  544|      0|  case ELF::STB_GLOBAL:
  ------------------
  |  Branch (544:3): [True: 0, False: 622]
  ------------------
  545|      0|    return false;
  546|      0|  case ELF::STB_WEAK:
  ------------------
  |  Branch (546:3): [True: 0, False: 622]
  ------------------
  547|      0|  case ELF::STB_GNU_UNIQUE:
  ------------------
  |  Branch (547:3): [True: 0, False: 622]
  ------------------
  548|      0|    return true;
  549|    622|  }
  550|    622|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter11writeObjectERN7llvm_ks11MCAssemblerERKNS1_11MCAsmLayoutE:
 1103|  5.91k|{
 1104|  5.91k|  MCContext &Ctx = Asm.getContext();
 1105|  5.91k|  MCSectionELF *StrtabSection =
 1106|  5.91k|      Ctx.getELFSection(".strtab", ELF::SHT_STRTAB, 0);
 1107|  5.91k|  StringTableIndex = addToSectionTable(StrtabSection);
 1108|       |
 1109|  5.91k|  RevGroupMapTy RevGroupMap;
 1110|  5.91k|  SectionIndexMapTy SectionIndexMap;
 1111|       |
 1112|  5.91k|  std::map<const MCSymbol *, std::vector<const MCSectionELF *>> GroupMembers;
 1113|       |
 1114|       |  // ... then the sections ...
 1115|  5.91k|  SectionOffsetsTy SectionOffsets;
 1116|  5.91k|  std::vector<MCSectionELF *> Groups;
 1117|  5.91k|  std::vector<MCSectionELF *> Relocations;
 1118|  6.08k|  for (MCSection &Sec : Asm) {
  ------------------
  |  Branch (1118:23): [True: 6.08k, False: 5.57k]
  ------------------
 1119|  6.08k|    MCSectionELF &Section = static_cast<MCSectionELF &>(Sec);
 1120|       |
 1121|  6.08k|    align(Section.getAlignment());
 1122|       |
 1123|       |    // Remember the offset into the file for this section.
 1124|  6.08k|    uint64_t SecStart = getStream().tell();
 1125|       |
 1126|  6.08k|    const MCSymbolELF *SignatureSymbol = Section.getGroup();
 1127|  6.08k|    writeSectionData(Asm, Section, Layout);
 1128|  6.08k|    if (Asm.getError())
  ------------------
  |  Branch (1128:9): [True: 345, False: 5.73k]
  ------------------
 1129|    345|        return;
 1130|       |
 1131|  5.73k|    uint64_t SecEnd = getStream().tell();
 1132|  5.73k|    SectionOffsets[&Section] = std::make_pair(SecStart, SecEnd);
 1133|       |
 1134|  5.73k|    MCSectionELF *RelSection = createRelocationSection(Ctx, Section);
 1135|       |
 1136|  5.73k|    if (SignatureSymbol) {
  ------------------
  |  Branch (1136:9): [True: 0, False: 5.73k]
  ------------------
 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|  5.73k|    SectionIndexMap[&Section] = addToSectionTable(&Section);
 1153|  5.73k|    if (RelSection) {
  ------------------
  |  Branch (1153:9): [True: 135, False: 5.60k]
  ------------------
 1154|    135|      SectionIndexMap[RelSection] = addToSectionTable(RelSection);
 1155|    135|      Relocations.push_back(RelSection);
 1156|    135|    }
 1157|  5.73k|  }
 1158|       |
 1159|  5.57k|return;
 1160|       |
 1161|  5.57k|  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|  11.7k|unsigned ELFObjectWriter::addToSectionTable(const MCSectionELF *Sec) {
  241|  11.7k|  SectionTable.push_back(Sec);
  242|  11.7k|  StrTabBuilder.add(Sec->getSectionName());
  243|  11.7k|  return SectionTable.size();
  244|  11.7k|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter5alignEj:
  235|  6.08k|void ELFObjectWriter::align(unsigned Alignment) {
  236|  6.08k|  uint64_t Padding = OffsetToAlignment(getStream().tell(), Alignment);
  237|  6.08k|  WriteZeros(Padding);
  238|  6.08k|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter16writeSectionDataERKN7llvm_ks11MCAssemblerERNS1_9MCSectionERKNS1_11MCAsmLayoutE:
  911|  6.08k|                                       const MCAsmLayout &Layout) {
  912|  6.08k|  MCSectionELF &Section = static_cast<MCSectionELF &>(Sec);
  913|  6.08k|  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|  6.08k|  if (!Asm.getContext().getAsmInfo()->compressDebugSections() ||
  ------------------
  |  Branch (918:7): [True: 6.08k, False: 0]
  |  Branch (918:7): [True: 6.08k, False: 0]
  ------------------
  919|  6.08k|      !SectionName.startswith(".debug_") || SectionName == ".debug_frame") {
  ------------------
  |  Branch (919:7): [True: 0, False: 0]
  |  Branch (919:45): [True: 0, False: 0]
  ------------------
  920|  6.08k|    Asm.writeSectionData(&Section, Layout);
  921|  6.08k|    return;
  922|  6.08k|  }
  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|  5.73k|                                         const MCSectionELF &Sec) {
  886|  5.73k|  if (Relocations[&Sec].empty())
  ------------------
  |  Branch (886:7): [True: 5.60k, False: 135]
  ------------------
  887|  5.60k|    return nullptr;
  888|       |
  889|    135|  const StringRef SectionName = Sec.getSectionName();
  890|    135|  std::string RelaSectionName = hasRelocationAddend() ? ".rela" : ".rel";
  ------------------
  |  Branch (890:33): [True: 0, False: 135]
  ------------------
  891|    135|  RelaSectionName += SectionName;
  892|       |
  893|    135|  unsigned EntrySize;
  894|    135|  if (hasRelocationAddend())
  ------------------
  |  Branch (894:7): [True: 0, False: 135]
  ------------------
  895|      0|    EntrySize = is64Bit() ? sizeof(ELF::Elf64_Rela) : sizeof(ELF::Elf32_Rela);
  ------------------
  |  Branch (895:17): [True: 0, False: 0]
  ------------------
  896|    135|  else
  897|    135|    EntrySize = is64Bit() ? sizeof(ELF::Elf64_Rel) : sizeof(ELF::Elf32_Rel);
  ------------------
  |  Branch (897:17): [True: 0, False: 135]
  ------------------
  898|       |
  899|    135|  unsigned Flags = 0;
  900|    135|  if (Sec.getFlags() & ELF::SHF_GROUP)
  ------------------
  |  Branch (900:7): [True: 0, False: 135]
  ------------------
  901|      0|    Flags = ELF::SHF_GROUP;
  902|       |
  903|    135|  MCSectionELF *RelaSection = Ctx.createELFRelSection(
  904|    135|      RelaSectionName, hasRelocationAddend() ? ELF::SHT_RELA : ELF::SHT_REL,
  ------------------
  |  Branch (904:24): [True: 0, False: 135]
  ------------------
  905|    135|      Flags, EntrySize, Sec.getGroup(), &Sec);
  906|    135|  RelaSection->setAlignment(is64Bit() ? 8 : 4);
  ------------------
  |  Branch (906:29): [True: 0, False: 135]
  ------------------
  907|    135|  return RelaSection;
  908|  5.73k|}
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter7is64BitEv:
  126|    270|    bool is64Bit() const { return TargetObjectWriter->is64Bit(); }

_ZN7llvm_ks12MCAsmBackendC2Ev:
   15|  12.6k|MCAsmBackend::MCAsmBackend() : HasDataInCodeSupport(false) {}
_ZN7llvm_ks12MCAsmBackendD2Ev:
   17|  12.6k|MCAsmBackend::~MCAsmBackend() {}
_ZNK7llvm_ks12MCAsmBackend12getFixupKindENS_9StringRefE:
   19|    162|Optional<MCFixupKind> MCAsmBackend::getFixupKind(StringRef Name) const {
   20|    162|  return None;
   21|    162|}
_ZNK7llvm_ks12MCAsmBackend16getFixupKindInfoENS_11MCFixupKindE:
   23|  23.6k|const MCFixupKindInfo &MCAsmBackend::getFixupKindInfo(MCFixupKind Kind) const {
   24|  23.6k|  static const MCFixupKindInfo Builtins[] = {
   25|  23.6k|      {"FK_Data_1", 0, 8, 0},
   26|  23.6k|      {"FK_Data_2", 0, 16, 0},
   27|  23.6k|      {"FK_Data_4", 0, 32, 0},
   28|  23.6k|      {"FK_Data_8", 0, 64, 0},
   29|  23.6k|      {"FK_PCRel_1", 0, 8, MCFixupKindInfo::FKF_IsPCRel},
   30|  23.6k|      {"FK_PCRel_2", 0, 16, MCFixupKindInfo::FKF_IsPCRel},
   31|  23.6k|      {"FK_PCRel_4", 0, 32, MCFixupKindInfo::FKF_IsPCRel},
   32|  23.6k|      {"FK_PCRel_8", 0, 64, MCFixupKindInfo::FKF_IsPCRel},
   33|  23.6k|      {"FK_GPRel_1", 0, 8, 0},
   34|  23.6k|      {"FK_GPRel_2", 0, 16, 0},
   35|  23.6k|      {"FK_GPRel_4", 0, 32, 0},
   36|  23.6k|      {"FK_GPRel_8", 0, 64, 0},
   37|  23.6k|      {"FK_SecRel_1", 0, 8, 0},
   38|  23.6k|      {"FK_SecRel_2", 0, 16, 0},
   39|  23.6k|      {"FK_SecRel_4", 0, 32, 0},
   40|  23.6k|      {"FK_SecRel_8", 0, 64, 0}};
   41|       |
   42|  23.6k|  assert((size_t)Kind <= array_lengthof(Builtins) && "Unknown fixup kind");
  ------------------
  |  Branch (42:3): [True: 23.6k, False: 0]
  |  Branch (42:3): [True: 23.6k, Folded]
  |  Branch (42:3): [True: 23.6k, False: 0]
  ------------------
   43|  23.6k|  return Builtins[Kind];
   44|  23.6k|}

_ZN7llvm_ks9MCAsmInfoC2Ev:
   25|  12.6k|MCAsmInfo::MCAsmInfo() {
   26|  12.6k|  PointerSize = 4;
   27|  12.6k|  CalleeSaveStackSlotSize = 4;
   28|       |
   29|  12.6k|  IsLittleEndian = true;
   30|  12.6k|  StackGrowsUp = false;
   31|  12.6k|  HasSubsectionsViaSymbols = false;
   32|  12.6k|  HasMachoZeroFillDirective = false;
   33|  12.6k|  HasMachoTBSSDirective = false;
   34|  12.6k|  HasStaticCtorDtorReferenceInStaticMode = false;
   35|  12.6k|  MaxInstLength = 4;
   36|  12.6k|  MinInstAlignment = 1;
   37|  12.6k|  DollarIsPC = false;
   38|  12.6k|  SeparatorString = ";";
   39|  12.6k|  CommentString = "#";
   40|  12.6k|  LabelSuffix = ":";
   41|  12.6k|  UseAssignmentForEHBegin = false;
   42|  12.6k|  NeedsLocalForSize = false;
   43|  12.6k|  PrivateGlobalPrefix = "L";
   44|  12.6k|  PrivateLabelPrefix = PrivateGlobalPrefix;
   45|  12.6k|  LinkerPrivateGlobalPrefix = "";
   46|  12.6k|  InlineAsmStart = "APP";
   47|  12.6k|  InlineAsmEnd = "NO_APP";
   48|  12.6k|  Code16Directive = ".code16";
   49|  12.6k|  Code32Directive = ".code32";
   50|  12.6k|  Code64Directive = ".code64";
   51|  12.6k|  AssemblerDialect = 0;
   52|  12.6k|  AllowAtInName = false;
   53|  12.6k|  SupportsQuotedNames = true;
   54|  12.6k|  UseDataRegionDirectives = false;
   55|  12.6k|  ZeroDirective = "\t.zero\t";
   56|  12.6k|  AsciiDirective = "\t.ascii\t";
   57|  12.6k|  AscizDirective = "\t.asciz\t";
   58|  12.6k|  Data8bitsDirective = "\t.byte\t";
   59|  12.6k|  Data16bitsDirective = "\t.short\t";
   60|  12.6k|  Data32bitsDirective = "\t.long\t";
   61|  12.6k|  Data64bitsDirective = "\t.quad\t";
   62|  12.6k|  SunStyleELFSectionSwitchSyntax = false;
   63|  12.6k|  UsesELFSectionDirectiveForBSS = false;
   64|  12.6k|  AlignmentIsInBytes = true;
   65|  12.6k|  TextAlignFillValue = 0;
   66|  12.6k|  GPRel64Directive = nullptr;
   67|  12.6k|  GPRel32Directive = nullptr;
   68|  12.6k|  GlobalDirective = "\t.globl\t";
   69|  12.6k|  SetDirectiveSuppressesReloc = false;
   70|  12.6k|  HasAggressiveSymbolFolding = true;
   71|  12.6k|  COMMDirectiveAlignmentIsInBytes = true;
   72|  12.6k|  LCOMMDirectiveAlignmentType = LCOMM::NoAlignment;
   73|  12.6k|  HasFunctionAlignment = true;
   74|  12.6k|  HasDotTypeDotSizeDirective = true;
   75|  12.6k|  HasSingleParameterDotFile = true;
   76|  12.6k|  HasIdentDirective = false;
   77|  12.6k|  HasNoDeadStrip = false;
   78|  12.6k|  WeakDirective = "\t.weak\t";
   79|  12.6k|  WeakRefDirective = nullptr;
   80|  12.6k|  HasWeakDefDirective = false;
   81|  12.6k|  HasWeakDefCanBeHiddenDirective = false;
   82|  12.6k|  HasLinkOnceDirective = false;
   83|  12.6k|  HiddenVisibilityAttr = MCSA_Hidden;
   84|  12.6k|  HiddenDeclarationVisibilityAttr = MCSA_Hidden;
   85|  12.6k|  ProtectedVisibilityAttr = MCSA_Protected;
   86|  12.6k|  SupportsDebugInformation = false;
   87|  12.6k|  ExceptionsType = ExceptionHandling::None;
   88|  12.6k|  WinEHEncodingType = WinEH::EncodingType::Invalid;
   89|  12.6k|  DwarfUsesRelocationsAcrossSections = true;
   90|  12.6k|  DwarfFDESymbolsUseAbsDiff = false;
   91|  12.6k|  DwarfRegNumForCFI = false;
   92|  12.6k|  NeedsDwarfSectionOffsetDirective = false;
   93|  12.6k|  UseParensForSymbolVariant = false;
   94|  12.6k|  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|  12.6k|  UseIntegratedAssembler = false;
  109|       |
  110|  12.6k|  CompressDebugSections = false;
  111|  12.6k|}
_ZN7llvm_ks9MCAsmInfoD2Ev:
  113|  12.6k|MCAsmInfo::~MCAsmInfo() {
  114|  12.6k|}

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

_ZN7llvm_ks11MCAssemblerC2ERNS_9MCContextERNS_12MCAsmBackendERNS_13MCCodeEmitterERNS_14MCObjectWriterE:
   48|  12.6k|    : Context(Context_), Backend(Backend_), Emitter(Emitter_), Writer(Writer_),
   49|  12.6k|      BundleAlignSize(0), RelaxAll(false), SubsectionsViaSymbols(false),
   50|  12.6k|      IncrementalLinkerCompatible(false), ELFHeaderEFlags(0) {
   51|  12.6k|  VersionMinInfo.Major = 0; // Major version == 0 for "none specified"
   52|  12.6k|}
_ZN7llvm_ks11MCAssemblerD2Ev:
   54|  12.6k|MCAssembler::~MCAssembler() {
   55|  12.6k|}
_ZN7llvm_ks11MCAssembler15registerSectionERNS_9MCSectionE:
   80|  20.8k|bool MCAssembler::registerSection(MCSection &Section) {
   81|  20.8k|  if (Section.isRegistered())
  ------------------
  |  Branch (81:7): [True: 7.95k, False: 12.9k]
  ------------------
   82|  7.95k|    return false;
   83|  12.9k|  Sections.push_back(&Section);
   84|  12.9k|  Section.setIsRegistered(true);
   85|  12.9k|  return true;
   86|  20.8k|}
_ZNK7llvm_ks11MCAssembler11isThumbFuncEPKNS_8MCSymbolE:
   88|  9.76k|bool MCAssembler::isThumbFunc(const MCSymbol *Symbol) const {
   89|  9.76k|  if (ThumbFuncs.count(Symbol))
  ------------------
  |  Branch (89:7): [True: 0, False: 9.76k]
  ------------------
   90|      0|    return true;
   91|       |
   92|  9.76k|  if (!Symbol->isVariable())
  ------------------
  |  Branch (92:7): [True: 9.37k, False: 389]
  ------------------
   93|  9.37k|    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|    389|  const MCExpr *Expr = Symbol->getVariableValue();
   98|    389|  const MCSymbolRefExpr *Ref = dyn_cast<MCSymbolRefExpr>(Expr);
   99|    389|  if (!Ref)
  ------------------
  |  Branch (99:7): [True: 143, False: 246]
  ------------------
  100|    143|    return false;
  101|       |
  102|    246|  if (Ref->getKind() != MCSymbolRefExpr::VK_None)
  ------------------
  |  Branch (102:7): [True: 0, False: 246]
  ------------------
  103|      0|    return false;
  104|       |
  105|    246|  const MCSymbol &Sym = Ref->getSymbol();
  106|    246|  if (!isThumbFunc(&Sym))
  ------------------
  |  Branch (106:7): [True: 246, False: 0]
  ------------------
  107|    246|    return false;
  108|       |
  109|      0|  ThumbFuncs.insert(Symbol); // Cache it.
  110|      0|  return true;
  111|    246|}
_ZNK7llvm_ks11MCAssembler13evaluateFixupERKNS_11MCAsmLayoutERKNS_7MCFixupEPKNS_10MCFragmentERNS_7MCValueERmRj:
  150|  9.33k|{
  151|  9.33k|  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|  9.33k|  const MCExpr *Expr = Fixup.getValue();
  157|  9.33k|  if (!Expr->evaluateAsRelocatable(Target, &Layout, &Fixup)) {
  ------------------
  |  Branch (157:7): [True: 341, False: 8.99k]
  ------------------
  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|    341|    Value = 0;
  163|    341|    KsError = KS_ERR_ASM_INVALIDOPERAND;
  164|    341|    return false;
  165|    341|  }
  166|       |
  167|  8.99k|  bool IsPCRel = Backend.getFixupKindInfo(
  168|  8.99k|    Fixup.getKind()).Flags & MCFixupKindInfo::FKF_IsPCRel;
  169|       |
  170|  8.99k|  bool IsResolved;
  171|  8.99k|  if (IsPCRel) {
  ------------------
  |  Branch (171:7): [True: 1.17k, False: 7.81k]
  ------------------
  172|  1.17k|    if (Target.getSymB()) {
  ------------------
  |  Branch (172:9): [True: 372, False: 805]
  ------------------
  173|    372|      IsResolved = false;
  174|    805|    } else if (!Target.getSymA()) {
  ------------------
  |  Branch (174:16): [True: 73, False: 732]
  ------------------
  175|     73|      if (getBackend().getArch() == KS_ARCH_X86)
  ------------------
  |  Branch (175:11): [True: 0, False: 73]
  ------------------
  176|      0|          IsResolved = true;
  177|     73|      else
  178|     73|          IsResolved = false;
  179|    732|    } else {
  180|    732|      const MCSymbolRefExpr *A = Target.getSymA();
  181|    732|      const MCSymbol &SA = A->getSymbol();
  182|    732|      if (A->getKind() != MCSymbolRefExpr::VK_None || SA.isUndefined()) {
  ------------------
  |  Branch (182:11): [True: 16, False: 716]
  |  Branch (182:55): [True: 94, False: 622]
  ------------------
  183|    110|        IsResolved = false;
  184|    622|      } else {
  185|    622|        IsResolved = getWriter().isSymbolRefDifferenceFullyResolvedImpl(
  186|    622|            *this, SA, *DF, false, true);
  187|    622|      }
  188|    732|    }
  189|  7.81k|  } else {
  190|  7.81k|    IsResolved = Target.isAbsolute();
  191|  7.81k|  }
  192|       |
  193|  8.99k|  Value = Target.getConstant();
  194|       |
  195|  8.99k|  if (const MCSymbolRefExpr *A = Target.getSymA()) {
  ------------------
  |  Branch (195:30): [True: 6.62k, False: 2.36k]
  ------------------
  196|  6.62k|    const MCSymbol &Sym = A->getSymbol();
  197|  6.62k|    bool valid;
  198|  6.62k|    if (Sym.isDefined()) {
  ------------------
  |  Branch (198:9): [True: 6.43k, False: 189]
  ------------------
  199|  6.43k|      Value += Layout.getSymbolOffset(Sym, valid);
  200|  6.43k|      if (!valid) {
  ------------------
  |  Branch (200:11): [True: 3, False: 6.43k]
  ------------------
  201|      3|        KsError = KS_ERR_ASM_FIXUP_INVALID;
  202|      3|        return false;
  203|      3|      }
  204|  6.43k|    } else {
  205|       |        // a missing symbol. is there any resolver registered?
  206|    189|        if (KsSymResolver) {
  ------------------
  |  Branch (206:13): [True: 0, False: 189]
  ------------------
  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|    189|        } else {
  219|       |            // no resolver registered
  220|    189|            KsError = KS_ERR_ASM_SYMBOL_MISSING;
  221|    189|            return false;
  222|    189|        }
  223|    189|    }
  224|  6.62k|  }
  225|       |
  226|  8.80k|  if (const MCSymbolRefExpr *B = Target.getSymB()) {
  ------------------
  |  Branch (226:30): [True: 3.84k, False: 4.95k]
  ------------------
  227|  3.84k|    const MCSymbol &Sym = B->getSymbol();
  228|  3.84k|    bool valid;
  229|  3.84k|    if (Sym.isDefined()) {
  ------------------
  |  Branch (229:9): [True: 753, False: 3.09k]
  ------------------
  230|    753|      Value -= Layout.getSymbolOffset(Sym, valid);
  231|    753|      if (!valid) {
  ------------------
  |  Branch (231:11): [True: 2, False: 751]
  ------------------
  232|      2|        KsError = KS_ERR_ASM_FIXUP_INVALID;
  233|      2|        return false;
  234|      2|      }
  235|    753|    }
  236|  3.84k|  }
  237|       |
  238|  8.79k|  bool ShouldAlignPC = Backend.getFixupKindInfo(Fixup.getKind()).Flags &
  239|  8.79k|                         MCFixupKindInfo::FKF_IsAlignedDownTo32Bits;
  240|  8.79k|  assert((ShouldAlignPC ? IsPCRel : true) &&
  ------------------
  |  Branch (240:3): [True: 0, False: 8.79k]
  |  Branch (240:3): [True: 8.79k, False: 0]
  |  Branch (240:3): [True: 8.79k, Folded]
  |  Branch (240:3): [True: 8.79k, False: 0]
  ------------------
  241|  8.79k|    "FKF_IsAlignedDownTo32Bits is only allowed on PC-relative fixups!");
  242|       |
  243|  8.79k|  if (IsPCRel) {
  ------------------
  |  Branch (243:7): [True: 1.08k, False: 7.71k]
  ------------------
  244|  1.08k|    bool valid;
  245|  1.08k|    uint64_t Offset = Layout.getFragmentOffset(DF, valid) + Fixup.getOffset();
  246|  1.08k|    if (!valid) {
  ------------------
  |  Branch (246:9): [True: 5, False: 1.07k]
  ------------------
  247|      5|        KsError = KS_ERR_ASM_FRAGMENT_INVALID;
  248|      5|        return false;
  249|      5|    }
  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|  1.07k|    if (ShouldAlignPC) Offset &= ~0x3;
  ------------------
  |  Branch (253:9): [True: 0, False: 1.07k]
  ------------------
  254|  1.07k|    Value -= Offset;
  255|  1.07k|  }
  256|       |
  257|       |  // Let the backend adjust the fixup value if necessary, including whether
  258|       |  // we need a relocation.
  259|  8.79k|  Backend.processFixupValue(*this, Layout, Fixup, DF, Target, Value,
  260|  8.79k|                            IsResolved);
  261|       |
  262|  8.79k|  return IsResolved;
  263|  8.79k|}
_ZNK7llvm_ks11MCAssembler19computeFragmentSizeERKNS_11MCAsmLayoutERKNS_10MCFragmentERb:
  267|  25.8k|{
  268|  25.8k|  valid = true;
  269|  25.8k|  switch (F.getKind()) {
  ------------------
  |  Branch (269:11): [True: 25.8k, False: 0]
  ------------------
  270|  6.23k|  case MCFragment::FT_Data:
  ------------------
  |  Branch (270:3): [True: 6.23k, False: 19.6k]
  ------------------
  271|  6.23k|    return cast<MCDataFragment>(F).getContents().size();
  272|      0|  case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (272:3): [True: 0, False: 25.8k]
  ------------------
  273|      0|    return cast<MCRelaxableFragment>(F).getContents().size();
  274|      0|  case MCFragment::FT_CompactEncodedInst:
  ------------------
  |  Branch (274:3): [True: 0, False: 25.8k]
  ------------------
  275|      0|    return cast<MCCompactEncodedInstFragment>(F).getContents().size();
  276|  2.40k|  case MCFragment::FT_Fill:
  ------------------
  |  Branch (276:3): [True: 2.40k, False: 23.4k]
  ------------------
  277|  2.40k|    return cast<MCFillFragment>(F).getSize();
  278|       |
  279|      0|  case MCFragment::FT_LEB:
  ------------------
  |  Branch (279:3): [True: 0, False: 25.8k]
  ------------------
  280|      0|    return cast<MCLEBFragment>(F).getContents().size();
  281|       |
  282|      0|  case MCFragment::FT_SafeSEH:
  ------------------
  |  Branch (282:3): [True: 0, False: 25.8k]
  ------------------
  283|      0|    return 4;
  284|       |
  285|  8.80k|  case MCFragment::FT_Align: {
  ------------------
  |  Branch (285:3): [True: 8.80k, False: 17.0k]
  ------------------
  286|  8.80k|    const MCAlignFragment &AF = cast<MCAlignFragment>(F);
  287|  8.80k|    unsigned Offset = Layout.getFragmentOffset(&AF, valid);
  288|  8.80k|    if (!valid) {
  ------------------
  |  Branch (288:9): [True: 0, False: 8.80k]
  ------------------
  289|      0|        return 0;
  290|      0|    }
  291|  8.80k|    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|  8.80k|    if (Size > 0 && AF.hasEmitNops()) {
  ------------------
  |  Branch (294:9): [True: 244, False: 8.56k]
  |  Branch (294:21): [True: 84, False: 160]
  ------------------
  295|     84|      while (Size % getBackend().getMinimumNopSize())
  ------------------
  |  Branch (295:14): [True: 0, False: 84]
  ------------------
  296|      0|        Size += AF.getAlignment();
  297|     84|    }
  298|  8.80k|    if (Size > AF.getMaxBytesToEmit())
  ------------------
  |  Branch (298:9): [True: 3, False: 8.80k]
  ------------------
  299|      3|      return 0;
  300|  8.80k|    return Size;
  301|  8.80k|  }
  302|       |
  303|  8.42k|  case MCFragment::FT_Org: {
  ------------------
  |  Branch (303:3): [True: 8.42k, False: 17.4k]
  ------------------
  304|  8.42k|    const MCOrgFragment &OF = cast<MCOrgFragment>(F);
  305|  8.42k|    MCValue Value;
  306|  8.42k|    if (!OF.getOffset().evaluateAsValue(Value, Layout)) {
  ------------------
  |  Branch (306:9): [True: 1.11k, False: 7.31k]
  ------------------
  307|       |      //report_fatal_error("expected assembly-time absolute expression");
  308|  1.11k|      valid = false;
  309|  1.11k|      return 0;
  310|  1.11k|    }
  311|       |
  312|       |    // FIXME: We need a way to communicate this error.
  313|  7.31k|    uint64_t FragmentOffset = Layout.getFragmentOffset(&OF, valid);
  314|  7.31k|    if (!valid) {
  ------------------
  |  Branch (314:9): [True: 0, False: 7.31k]
  ------------------
  315|      0|      return 0;
  316|      0|    }
  317|  7.31k|    int64_t TargetLocation = Value.getConstant();
  318|  7.31k|    if (const MCSymbolRefExpr *A = Value.getSymA()) {
  ------------------
  |  Branch (318:32): [True: 2.89k, False: 4.41k]
  ------------------
  319|  2.89k|      uint64_t Val;
  320|  2.89k|      if (!Layout.getSymbolOffset(A->getSymbol(), Val, valid)) {
  ------------------
  |  Branch (320:11): [True: 438, False: 2.45k]
  ------------------
  321|       |        //report_fatal_error("expected absolute expression");
  322|    438|        valid = false;
  323|    438|        return 0;
  324|    438|      }
  325|  2.45k|      TargetLocation += Val;
  326|  2.45k|    }
  327|  6.87k|    int64_t Size = TargetLocation - FragmentOffset;
  328|  6.87k|    if (Size < 0 || Size >= 0x40000000) {
  ------------------
  |  Branch (328:9): [True: 3.18k, False: 3.69k]
  |  Branch (328:21): [True: 230, False: 3.46k]
  ------------------
  329|       |      //report_fatal_error("invalid .org offset '" + Twine(TargetLocation) +
  330|       |      //                   "' (at offset '" + Twine(FragmentOffset) + "')");
  331|  3.41k|      valid = false;
  332|  3.41k|      return 0;
  333|  3.41k|    }
  334|  3.46k|    return Size;
  335|  6.87k|  }
  336|       |
  337|      0|  case MCFragment::FT_Dwarf:
  ------------------
  |  Branch (337:3): [True: 0, False: 25.8k]
  ------------------
  338|      0|    return cast<MCDwarfLineAddrFragment>(F).getContents().size();
  339|      0|  case MCFragment::FT_DwarfFrame:
  ------------------
  |  Branch (339:3): [True: 0, False: 25.8k]
  ------------------
  340|      0|    return cast<MCDwarfCallFrameFragment>(F).getContents().size();
  341|      0|  case MCFragment::FT_Dummy:
  ------------------
  |  Branch (341:3): [True: 0, False: 25.8k]
  ------------------
  342|      0|    llvm_unreachable("Should not have been added");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  343|  25.8k|  }
  344|       |
  345|      0|  llvm_unreachable("invalid fragment kind");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  346|  25.8k|}
_ZN7llvm_ks11MCAsmLayout14layoutFragmentEPNS_10MCFragmentE:
  349|  23.2k|{
  350|  23.2k|  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|  23.2k|  if (isFragmentValid(F))
  ------------------
  |  Branch (354:7): [True: 0, False: 23.2k]
  ------------------
  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|  23.2k|  if (Prev && !isFragmentValid(Prev))
  ------------------
  |  Branch (361:7): [True: 16.5k, False: 6.63k]
  |  Branch (361:15): [True: 3.67k, False: 12.9k]
  ------------------
  362|  3.67k|      return true;
  363|       |
  364|  19.5k|  bool valid = true;
  365|       |  // Compute fragment offset and size.
  366|  19.5k|  if (Prev)
  ------------------
  |  Branch (366:7): [True: 12.9k, False: 6.63k]
  ------------------
  367|  12.9k|    F->Offset = Prev->Offset + getAssembler().computeFragmentSize(*this, *Prev, valid);
  368|  6.63k|  else
  369|  6.63k|    F->Offset = getAssembler().getContext().getBaseAddress();
  370|  19.5k|  if (!valid) {
  ------------------
  |  Branch (370:7): [True: 4.62k, False: 14.9k]
  ------------------
  371|  4.62k|      return false;
  372|  4.62k|  }
  373|  14.9k|  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|  14.9k|  if (Assembler.isBundlingEnabled() && F->hasInstructions()) {
  ------------------
  |  Branch (402:7): [True: 0, False: 14.9k]
  |  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|  14.9k|  return false;
  428|  14.9k|}
_ZN7llvm_ks11MCAssembler14registerSymbolERKNS_8MCSymbolEPb:
  430|   232k|void MCAssembler::registerSymbol(const MCSymbol &Symbol, bool *Created) {
  431|   232k|  bool New = !Symbol.isRegistered();
  432|   232k|  if (Created)
  ------------------
  |  Branch (432:7): [True: 0, False: 232k]
  ------------------
  433|      0|    *Created = New;
  434|   232k|  if (New) {
  ------------------
  |  Branch (434:7): [True: 80.3k, False: 151k]
  ------------------
  435|  80.3k|    Symbol.setIsRegistered(true);
  436|  80.3k|    Symbols.push_back(&Symbol);
  437|  80.3k|  }
  438|   232k|}
_ZNK7llvm_ks11MCAssembler20writeFragmentPaddingERKNS_10MCFragmentEmPNS_14MCObjectWriterE:
  441|  12.6k|                                       MCObjectWriter *OW) const {
  442|       |  // Should NOP padding be written out before this fragment?
  443|  12.6k|  unsigned BundlePadding = F.getBundlePadding();
  444|  12.6k|  if (BundlePadding > 0) {
  ------------------
  |  Branch (444:7): [True: 0, False: 12.6k]
  ------------------
  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|  12.6k|}
_ZNK7llvm_ks11MCAssembler16writeSectionDataEPKNS_9MCSectionERKNS_11MCAsmLayoutE:
  608|  6.08k|{
  609|       |  // Ignore virtual sections.
  610|  6.08k|  if (Sec->isVirtualSection()) {
  ------------------
  |  Branch (610:7): [True: 13, False: 6.07k]
  ------------------
  611|     13|    assert(Layout.getSectionFileSize(Sec) == 0 && "Invalid size for section!");
  ------------------
  |  Branch (611:5): [True: 13, False: 0]
  |  Branch (611:5): [True: 13, Folded]
  |  Branch (611:5): [True: 13, False: 0]
  ------------------
  612|       |
  613|       |    // Check that contents are only things legal inside a virtual section.
  614|     38|    for (const MCFragment &F : *Sec) {
  ------------------
  |  Branch (614:30): [True: 38, False: 13]
  ------------------
  615|     38|      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: 38]
  ------------------
  617|      0|      case MCFragment::FT_Data: {
  ------------------
  |  Branch (617:7): [True: 0, False: 38]
  ------------------
  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|     19|      case MCFragment::FT_Align:
  ------------------
  |  Branch (634:7): [True: 19, False: 19]
  ------------------
  635|       |        // Check that we aren't trying to write a non-zero value into a virtual
  636|       |        // section.
  637|     19|        assert((cast<MCAlignFragment>(F).getValueSize() == 0 ||
  ------------------
  |  Branch (637:9): [True: 0, False: 19]
  |  Branch (637:9): [True: 19, False: 0]
  |  Branch (637:9): [True: 19, Folded]
  |  Branch (637:9): [True: 19, False: 0]
  ------------------
  638|     19|                cast<MCAlignFragment>(F).getValue() == 0) &&
  639|     19|               "Invalid align in virtual section!");
  640|     19|        break;
  641|     19|      case MCFragment::FT_Fill:
  ------------------
  |  Branch (641:7): [True: 19, False: 19]
  ------------------
  642|     19|        assert((cast<MCFillFragment>(F).getValue() == 0) &&
  ------------------
  |  Branch (642:9): [True: 19, False: 0]
  |  Branch (642:9): [True: 19, Folded]
  |  Branch (642:9): [True: 19, False: 0]
  ------------------
  643|     19|               "Invalid fill in virtual section!");
  644|     19|        break;
  645|     38|      }
  646|     38|    }
  647|       |
  648|     13|    return;
  649|     13|  }
  650|       |
  651|  6.07k|  uint64_t Start = getWriter().getStream().tell();
  652|  6.07k|  (void)Start;
  653|       |
  654|  6.07k|  setError(0);
  655|  6.07k|  for (const MCFragment &F : *Sec)
  ------------------
  |  Branch (655:28): [True: 65.4k, False: 6.07k]
  ------------------
  656|  65.4k|    writeFragment(*this, Layout, F);
  657|       |
  658|       |  //assert(getWriter().getStream().tell() - Start ==
  659|       |  //       Layout.getSectionAddressSize(Sec));
  660|  6.07k|}
_ZN7llvm_ks11MCAssembler11handleFixupERKNS_11MCAsmLayoutERNS_10MCFragmentERKNS_7MCFixupERj:
  664|  9.33k|                                                   const MCFixup &Fixup, unsigned int &KsError) {
  665|       |  // Evaluate the fixup.
  666|  9.33k|  MCValue Target;
  667|  9.33k|  uint64_t FixedValue;
  668|  9.33k|  bool IsPCRel = Backend.getFixupKindInfo(Fixup.getKind()).Flags &
  669|  9.33k|                 MCFixupKindInfo::FKF_IsPCRel;
  670|  9.33k|  if (!evaluateFixup(Layout, Fixup, &F, Target, FixedValue, KsError)) {
  ------------------
  |  Branch (670:7): [True: 8.54k, False: 788]
  ------------------
  671|  8.54k|    if (KsError) {
  ------------------
  |  Branch (671:9): [True: 540, False: 8.00k]
  ------------------
  672|       |        // return a dummy value
  673|    540|        return std::make_pair(0, false);
  674|    540|    }
  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|  8.00k|    if (const MCSymbolRefExpr *RefB = Target.getSymB()) {
  ------------------
  |  Branch (678:32): [True: 3.84k, False: 4.16k]
  ------------------
  679|  3.84k|        if (RefB->getKind() != MCSymbolRefExpr::VK_None) {
  ------------------
  |  Branch (679:13): [True: 5, False: 3.83k]
  ------------------
  680|      5|            KsError = KS_ERR_ASM_FIXUP_INVALID;
  681|       |            // return a dummy value
  682|      5|            return std::make_pair(0, false);
  683|      5|        }
  684|  3.84k|    }
  685|  8.00k|    getWriter().recordRelocation(*this, Layout, &F, Fixup, Target, IsPCRel,
  686|  8.00k|                                 FixedValue);
  687|  8.00k|  }
  688|       |
  689|  8.78k|  return std::make_pair(FixedValue, IsPCRel);
  690|  9.33k|}
_ZN7llvm_ks11MCAssembler6layoutERNS_11MCAsmLayoutERj:
  693|  6.46k|{
  694|  6.46k|  DEBUG_WITH_TYPE("mc-dump", {
  695|  6.46k|      llvm_ks::errs() << "assembler backend - pre-layout\n--\n";
  696|  6.46k|      dump(); });
  697|       |
  698|       |  // Create dummy fragments and assign section ordinals.
  699|  6.46k|  unsigned SectionIndex = 0;
  700|  6.63k|  for (MCSection &Sec : *this) {
  ------------------
  |  Branch (700:23): [True: 6.63k, False: 6.46k]
  ------------------
  701|       |    // Create dummy fragments to eliminate any empty sections, this simplifies
  702|       |    // layout.
  703|  6.63k|    if (Sec.getFragmentList().empty())
  ------------------
  |  Branch (703:9): [True: 0, False: 6.63k]
  ------------------
  704|      0|      new MCDataFragment(&Sec);
  705|       |
  706|  6.63k|    Sec.setOrdinal(SectionIndex++);
  707|  6.63k|  }
  708|       |
  709|       |  // Assign layout order indices to sections and fragments.
  710|  13.1k|  for (unsigned i = 0, e = Layout.getSectionOrder().size(); i != e; ++i) {
  ------------------
  |  Branch (710:61): [True: 6.63k, False: 6.46k]
  ------------------
  711|  6.63k|    MCSection *Sec = Layout.getSectionOrder()[i];
  712|  6.63k|    Sec->setLayoutOrder(i);
  713|       |
  714|  6.63k|    unsigned FragmentIndex = 0;
  715|  6.63k|    for (MCFragment &Frag : *Sec)
  ------------------
  |  Branch (715:27): [True: 67.9k, False: 6.63k]
  ------------------
  716|  67.9k|      Frag.setLayoutOrder(FragmentIndex++);
  717|  6.63k|  }
  718|       |
  719|       |  // Layout until everything fits.
  720|  6.46k|  while (layoutOnce(Layout))
  ------------------
  |  Branch (720:10): [True: 0, False: 6.46k]
  ------------------
  721|      0|    continue;
  722|       |
  723|  6.46k|  DEBUG_WITH_TYPE("mc-dump", {
  724|  6.46k|      llvm_ks::errs() << "assembler backend - post-relaxation\n--\n";
  725|  6.46k|      dump(); });
  726|       |
  727|       |  // Finalize the layout, including fragment lowering.
  728|  6.46k|  finishLayout(Layout);
  729|       |
  730|  6.46k|  DEBUG_WITH_TYPE("mc-dump", {
  731|  6.46k|      llvm_ks::errs() << "assembler backend - final-layout\n--\n";
  732|  6.46k|      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|  6.46k|  getWriter().executePostLayoutBinding(*this, Layout);
  737|       |
  738|       |  // Evaluate and apply the fixups, generating relocation entries as necessary.
  739|  6.63k|  for (MCSection &Sec : *this) {
  ------------------
  |  Branch (739:23): [True: 6.63k, False: 5.91k]
  ------------------
  740|  66.0k|    for (MCFragment &Frag : Sec) {
  ------------------
  |  Branch (740:27): [True: 66.0k, False: 6.08k]
  ------------------
  741|  66.0k|      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|  66.0k|      if (!F || isa<MCCompactEncodedInstFragment>(F))
  ------------------
  |  Branch (746:11): [True: 59.1k, False: 6.99k]
  |  Branch (746:17): [True: 0, False: 6.99k]
  ------------------
  747|  59.1k|        continue;
  748|  6.99k|      ArrayRef<MCFixup> Fixups;
  749|  6.99k|      MutableArrayRef<char> Contents;
  750|  6.99k|      if (auto *FragWithFixups = dyn_cast<MCDataFragment>(F)) {
  ------------------
  |  Branch (750:17): [True: 6.99k, False: 0]
  ------------------
  751|  6.99k|        Fixups = FragWithFixups->getFixups();
  752|  6.99k|        Contents = FragWithFixups->getContents();
  753|  6.99k|      } else if (auto *FragWithFixups = dyn_cast<MCRelaxableFragment>(F)) {
  ------------------
  |  Branch (753:24): [True: 0, False: 0]
  ------------------
  754|      0|        Fixups = FragWithFixups->getFixups();
  755|      0|        Contents = FragWithFixups->getContents();
  756|      0|      } else
  757|      0|        llvm_unreachable("Unknown fragment with fixups!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  758|  9.33k|      for (const MCFixup &Fixup : Fixups) {
  ------------------
  |  Branch (758:33): [True: 9.33k, False: 6.44k]
  ------------------
  759|  9.33k|        uint64_t FixedValue;
  760|  9.33k|        bool IsPCRel;
  761|  9.33k|        std::tie(FixedValue, IsPCRel) = handleFixup(Layout, *F, Fixup, KsError);
  762|  9.33k|        if (KsError)
  ------------------
  |  Branch (762:13): [True: 545, False: 8.78k]
  ------------------
  763|    545|            return;
  764|  8.78k|        getBackend().applyFixup(Fixup, Contents.data(),
  765|  8.78k|                                Contents.size(), FixedValue, IsPCRel, KsError);
  766|  8.78k|        if (KsError)
  ------------------
  |  Branch (766:13): [True: 0, False: 8.78k]
  ------------------
  767|      0|            return;
  768|  8.78k|      }
  769|  6.99k|    }
  770|  6.63k|  }
  771|  6.46k|}
_ZN7llvm_ks11MCAssembler6FinishERj:
  773|  6.46k|void MCAssembler::Finish(unsigned int &KsError) {
  774|       |  // Create the layout object.
  775|  6.46k|  MCAsmLayout Layout(*this);
  776|  6.46k|  layout(Layout, KsError);
  777|       |
  778|       |  // Write the object file.
  779|  6.46k|  if (!KsError) {
  ------------------
  |  Branch (779:7): [True: 5.91k, False: 545]
  ------------------
  780|  5.91k|      getWriter().writeObject(*this, Layout);
  781|  5.91k|      KsError = getError();
  782|  5.91k|  }
  783|  6.46k|}
_ZN7llvm_ks11MCAssembler17layoutSectionOnceERNS_11MCAsmLayoutERNS_9MCSectionE:
  876|  6.63k|{
  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|  6.63k|  MCFragment *FirstRelaxedFragment = nullptr;
  882|       |
  883|       |  // Attempt to relax all the fragments in the section.
  884|  74.6k|  for (MCSection::iterator I = Sec.begin(), IE = Sec.end(); I != IE; ++I) {
  ------------------
  |  Branch (884:61): [True: 67.9k, False: 6.63k]
  ------------------
  885|       |    // Check if this is a fragment that needs relaxation.
  886|  67.9k|    bool RelaxedFrag = false;
  887|  67.9k|    switch(I->getKind()) {
  888|  67.9k|    default:
  ------------------
  |  Branch (888:5): [True: 67.9k, False: 0]
  ------------------
  889|  67.9k|      break;
  890|  67.9k|    case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (890:5): [True: 0, False: 67.9k]
  ------------------
  891|      0|      assert(!getRelaxAll() &&
  ------------------
  |  Branch (891:7): [True: 0, False: 0]
  |  Branch (891:7): [True: 0, Folded]
  |  Branch (891:7): [True: 0, False: 0]
  ------------------
  892|      0|             "Did not expect a MCRelaxableFragment in RelaxAll mode");
  893|      0|      RelaxedFrag = relaxInstruction(Layout, *cast<MCRelaxableFragment>(I));
  894|      0|      break;
  895|      0|    case MCFragment::FT_Dwarf:
  ------------------
  |  Branch (895:5): [True: 0, False: 67.9k]
  ------------------
  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: 67.9k]
  ------------------
  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: 67.9k]
  ------------------
  905|      0|      RelaxedFrag = relaxLEB(Layout, *cast<MCLEBFragment>(I));
  906|      0|      break;
  907|  67.9k|    }
  908|  67.9k|    if (RelaxedFrag && !FirstRelaxedFragment)
  ------------------
  |  Branch (908:9): [True: 0, False: 67.9k]
  |  Branch (908:24): [True: 0, False: 0]
  ------------------
  909|      0|      FirstRelaxedFragment = &*I;
  910|  67.9k|  }
  911|  6.63k|  if (FirstRelaxedFragment) {
  ------------------
  |  Branch (911:7): [True: 0, False: 6.63k]
  ------------------
  912|      0|    Layout.invalidateFragmentsFrom(FirstRelaxedFragment);
  913|      0|    return true;
  914|      0|  }
  915|  6.63k|  return false;
  916|  6.63k|}
_ZN7llvm_ks11MCAssembler10layoutOnceERNS_11MCAsmLayoutE:
  919|  6.46k|{
  920|  6.46k|  bool WasRelaxed = false;
  921|  13.1k|  for (iterator it = begin(), ie = end(); it != ie; ++it) {
  ------------------
  |  Branch (921:43): [True: 6.63k, False: 6.46k]
  ------------------
  922|  6.63k|    MCSection &Sec = *it;
  923|  6.63k|    while (layoutSectionOnce(Layout, Sec))
  ------------------
  |  Branch (923:12): [True: 0, False: 6.63k]
  ------------------
  924|      0|      WasRelaxed = true;
  925|  6.63k|  }
  926|       |
  927|  6.46k|  return WasRelaxed;
  928|  6.46k|}
_ZN7llvm_ks11MCAssembler12finishLayoutERNS_11MCAsmLayoutE:
  930|  6.46k|void MCAssembler::finishLayout(MCAsmLayout &Layout) {
  931|       |  // The layout is done. Mark every fragment as valid.
  932|  13.1k|  for (unsigned int i = 0, n = Layout.getSectionOrder().size(); i != n; ++i) {
  ------------------
  |  Branch (932:65): [True: 6.63k, False: 6.46k]
  ------------------
  933|  6.63k|    bool valid;
  934|  6.63k|    Layout.getFragmentOffset(&*Layout.getSectionOrder()[i]->rbegin(), valid);
  935|  6.63k|  }
  936|  6.46k|}
MCAssembler.cpp:_ZL13writeFragmentRKN7llvm_ks11MCAssemblerERKNS_11MCAsmLayoutERKNS_10MCFragmentE:
  475|  65.4k|{
  476|  65.4k|  if (Asm.getError())
  ------------------
  |  Branch (476:7): [True: 52.4k, False: 12.9k]
  ------------------
  477|  52.4k|      return;
  478|       |
  479|  12.9k|  MCObjectWriter *OW = &Asm.getWriter();
  480|       |
  481|  12.9k|  bool valid;
  482|       |  // FIXME: Embed in fragments instead?
  483|  12.9k|  uint64_t FragmentSize = Asm.computeFragmentSize(Layout, F, valid);
  484|  12.9k|  if (!valid) {
  ------------------
  |  Branch (484:7): [True: 345, False: 12.6k]
  ------------------
  485|    345|      Asm.setError(KS_ERR_ASM_FRAGMENT_INVALID);
  486|    345|      return;
  487|    345|  }
  488|       |
  489|  12.6k|  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|  12.6k|  uint64_t Start = OW->getStream().tell();
  494|  12.6k|  (void) Start;
  495|       |
  496|  12.6k|  switch (F.getKind()) {
  ------------------
  |  Branch (496:11): [True: 12.6k, False: 0]
  ------------------
  497|  4.22k|  case MCFragment::FT_Align: {
  ------------------
  |  Branch (497:3): [True: 4.22k, False: 8.39k]
  ------------------
  498|  4.22k|    const MCAlignFragment &AF = cast<MCAlignFragment>(F);
  499|  4.22k|    assert(AF.getValueSize() && "Invalid virtual align in concrete fragment!");
  ------------------
  |  Branch (499:5): [True: 4.22k, False: 0]
  |  Branch (499:5): [True: 4.22k, Folded]
  |  Branch (499:5): [True: 4.22k, False: 0]
  ------------------
  500|       |
  501|  4.22k|    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|  4.22k|    if (Count * AF.getValueSize() != FragmentSize)
  ------------------
  |  Branch (506:9): [True: 0, False: 4.22k]
  ------------------
  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|  4.22k|    if (AF.hasEmitNops()) {
  ------------------
  |  Branch (516:9): [True: 1.85k, False: 2.36k]
  ------------------
  517|  1.85k|      if (!Asm.getBackend().writeNopData(Count, OW))
  ------------------
  |  Branch (517:11): [True: 0, False: 1.85k]
  ------------------
  518|      0|        report_fatal_error("unable to write nop sequence of " +
  519|      0|                          Twine(Count) + " bytes");
  520|  1.85k|      break;
  521|  1.85k|    }
  522|       |
  523|       |    // Otherwise, write out in multiples of the value size.
  524|  2.96k|    for (uint64_t i = 0; i != Count; ++i) {
  ------------------
  |  Branch (524:26): [True: 602, False: 2.36k]
  ------------------
  525|    602|      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: 602]
  ------------------
  527|    602|      case 1: OW->write8 (uint8_t (AF.getValue())); break;
  ------------------
  |  Branch (527:7): [True: 602, False: 0]
  ------------------
  528|      0|      case 2: OW->write16(uint16_t(AF.getValue())); break;
  ------------------
  |  Branch (528:7): [True: 0, False: 602]
  ------------------
  529|      0|      case 4: OW->write32(uint32_t(AF.getValue())); break;
  ------------------
  |  Branch (529:7): [True: 0, False: 602]
  ------------------
  530|      0|      case 8: OW->write64(uint64_t(AF.getValue())); break;
  ------------------
  |  Branch (530:7): [True: 0, False: 602]
  ------------------
  531|    602|      }
  532|    602|    }
  533|  2.36k|    break;
  534|  2.36k|  }
  535|       |
  536|  5.41k|  case MCFragment::FT_Data: 
  ------------------
  |  Branch (536:3): [True: 5.41k, False: 7.19k]
  ------------------
  537|  5.41k|    OW->writeBytes(cast<MCDataFragment>(F).getContents());
  538|  5.41k|    break;
  539|       |
  540|      0|  case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (540:3): [True: 0, False: 12.6k]
  ------------------
  541|      0|    OW->writeBytes(cast<MCRelaxableFragment>(F).getContents());
  542|      0|    break;
  543|       |
  544|      0|  case MCFragment::FT_CompactEncodedInst:
  ------------------
  |  Branch (544:3): [True: 0, False: 12.6k]
  ------------------
  545|      0|    OW->writeBytes(cast<MCCompactEncodedInstFragment>(F).getContents());
  546|      0|    break;
  547|       |
  548|  1.20k|  case MCFragment::FT_Fill: {
  ------------------
  |  Branch (548:3): [True: 1.20k, False: 11.4k]
  ------------------
  549|  1.20k|    const MCFillFragment &FF = cast<MCFillFragment>(F);
  550|  1.20k|    uint8_t V = FF.getValue();
  551|  1.20k|    const unsigned MaxChunkSize = 16;
  552|  1.20k|    char Data[MaxChunkSize];
  553|  1.20k|    memcpy(Data, &V, 1);
  554|  19.2k|    for (unsigned I = 1; I < MaxChunkSize; ++I)
  ------------------
  |  Branch (554:26): [True: 18.0k, False: 1.20k]
  ------------------
  555|  18.0k|      Data[I] = Data[0];
  556|       |
  557|  1.20k|    uint64_t Size = FF.getSize();
  558|  7.20k|    for (unsigned ChunkSize = MaxChunkSize; ChunkSize; ChunkSize /= 2) {
  ------------------
  |  Branch (558:45): [True: 6.00k, False: 1.20k]
  ------------------
  559|  6.00k|      StringRef Ref(Data, ChunkSize);
  560|  2.49M|      for (uint64_t I = 0, E = Size / ChunkSize; I != E; ++I)
  ------------------
  |  Branch (560:50): [True: 2.48M, False: 6.00k]
  ------------------
  561|  2.48M|        OW->writeBytes(Ref);
  562|  6.00k|      Size = Size % ChunkSize;
  563|  6.00k|    }
  564|  1.20k|    break;
  565|  2.36k|  }
  566|       |
  567|      0|  case MCFragment::FT_LEB: {
  ------------------
  |  Branch (567:3): [True: 0, False: 12.6k]
  ------------------
  568|      0|    const MCLEBFragment &LF = cast<MCLEBFragment>(F);
  569|      0|    OW->writeBytes(LF.getContents());
  570|      0|    break;
  571|  2.36k|  }
  572|       |
  573|      0|  case MCFragment::FT_SafeSEH: {
  ------------------
  |  Branch (573:3): [True: 0, False: 12.6k]
  ------------------
  574|      0|    const MCSafeSEHFragment &SF = cast<MCSafeSEHFragment>(F);
  575|      0|    OW->write32(SF.getSymbol()->getIndex());
  576|      0|    break;
  577|  2.36k|  }
  578|       |
  579|  1.77k|  case MCFragment::FT_Org: {
  ------------------
  |  Branch (579:3): [True: 1.77k, False: 10.8k]
  ------------------
  580|  1.77k|    const MCOrgFragment &OF = cast<MCOrgFragment>(F);
  581|       |
  582|   151M|    for (uint64_t i = 0, e = FragmentSize; i != e; ++i)
  ------------------
  |  Branch (582:44): [True: 151M, False: 1.77k]
  ------------------
  583|   151M|      OW->write8(uint8_t(OF.getValue()));
  584|       |
  585|  1.77k|    break;
  586|  2.36k|  }
  587|       |
  588|      0|  case MCFragment::FT_Dwarf: {
  ------------------
  |  Branch (588:3): [True: 0, False: 12.6k]
  ------------------
  589|      0|    const MCDwarfLineAddrFragment &OF = cast<MCDwarfLineAddrFragment>(F);
  590|      0|    OW->writeBytes(OF.getContents());
  591|      0|    break;
  592|  2.36k|  }
  593|      0|  case MCFragment::FT_DwarfFrame: {
  ------------------
  |  Branch (593:3): [True: 0, False: 12.6k]
  ------------------
  594|      0|    const MCDwarfCallFrameFragment &CF = cast<MCDwarfCallFrameFragment>(F);
  595|      0|    OW->writeBytes(CF.getContents());
  596|      0|    break;
  597|  2.36k|  }
  598|      0|  case MCFragment::FT_Dummy:
  ------------------
  |  Branch (598:3): [True: 0, False: 12.6k]
  ------------------
  599|      0|    llvm_unreachable("Should not have been added");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  600|  12.6k|  }
  601|       |
  602|  12.6k|  assert(OW->getStream().tell() - Start == FragmentSize &&
  ------------------
  |  Branch (602:3): [True: 12.6k, False: 0]
  |  Branch (602:3): [True: 12.6k, Folded]
  |  Branch (602:3): [True: 12.6k, False: 0]
  ------------------
  603|  12.6k|         "The stream should advance by fragment size");
  604|  12.6k|}

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

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

_ZN7llvm_ks23MCELFObjectTargetWriterC2Ebhtbb:
   22|  12.6k|  : OSABI(OSABI_), EMachine(EMachine_),
   23|  12.6k|    HasRelocationAddend(HasRelocationAddend_), Is64Bit(Is64Bit_),
   24|  12.6k|    IsN64(IsN64_){
   25|  12.6k|}

_ZNK7llvm_ks13MCELFStreamer14isBundleLockedEv:
   43|  43.6k|bool MCELFStreamer::isBundleLocked() const {
   44|  43.6k|  return getCurrentSectionOnly()->isBundleLocked();
   45|  43.6k|}
_ZN7llvm_ks13MCELFStreamerD2Ev:
   47|  12.6k|MCELFStreamer::~MCELFStreamer() {
   48|  12.6k|}
_ZN7llvm_ks13MCELFStreamer12InitSectionsEb:
   91|  12.6k|void MCELFStreamer::InitSections(bool NoExecStack) {
   92|  12.6k|  MCContext &Ctx = getContext();
   93|  12.6k|  SwitchSection(Ctx.getObjectFileInfo()->getTextSection());
   94|       |
   95|  12.6k|  if (NoExecStack)
  ------------------
  |  Branch (95:7): [True: 0, False: 12.6k]
  ------------------
   96|      0|    SwitchSection(Ctx.getAsmInfo()->getNonexecutableStackSection(Ctx));
   97|  12.6k|}
_ZN7llvm_ks13MCELFStreamer9EmitLabelEPNS_8MCSymbolE:
   99|  74.7k|void MCELFStreamer::EmitLabel(MCSymbol *S) {
  100|  74.7k|  auto *Symbol = cast<MCSymbolELF>(S);
  101|  74.7k|  assert(Symbol->isUndefined() && "Cannot define a symbol twice!");
  ------------------
  |  Branch (101:3): [True: 74.7k, False: 0]
  |  Branch (101:3): [True: 74.7k, Folded]
  |  Branch (101:3): [True: 74.7k, False: 0]
  ------------------
  102|       |
  103|  74.7k|  MCObjectStreamer::EmitLabel(Symbol);
  104|       |
  105|  74.7k|  const MCSectionELF &Section =
  106|  74.7k|      static_cast<const MCSectionELF &>(*getCurrentSectionOnly());
  107|  74.7k|  if (Section.getFlags() & ELF::SHF_TLS)
  ------------------
  |  Branch (107:7): [True: 289, False: 74.4k]
  ------------------
  108|    289|    Symbol->setType(ELF::STT_TLS);
  109|  74.7k|}
_ZN7llvm_ks13MCELFStreamer13ChangeSectionEPNS_9MCSectionEPKNS_6MCExprE:
  138|  20.8k|                                  const MCExpr *Subsection) {
  139|  20.8k|  MCSection *CurSection = getCurrentSectionOnly();
  140|  20.8k|  if (CurSection && isBundleLocked())
  ------------------
  |  Branch (140:7): [True: 8.22k, False: 12.6k]
  |  Branch (140:21): [True: 0, False: 8.22k]
  ------------------
  141|      0|    report_fatal_error("Unterminated .bundle_lock when changing a section");
  142|       |
  143|  20.8k|  MCAssembler &Asm = getAssembler();
  144|       |  // Ensure the previous section gets aligned if necessary.
  145|  20.8k|  setSectionAlignmentForBundling(Asm, CurSection);
  146|  20.8k|  auto *SectionELF = static_cast<const MCSectionELF *>(Section);
  147|  20.8k|  const MCSymbol *Grp = SectionELF->getGroup();
  148|  20.8k|  if (Grp)
  ------------------
  |  Branch (148:7): [True: 0, False: 20.8k]
  ------------------
  149|      0|    Asm.registerSymbol(*Grp);
  150|       |
  151|  20.8k|  this->MCObjectStreamer::ChangeSection(Section, Subsection);
  152|  20.8k|  MCContext &Ctx = getContext();
  153|  20.8k|  auto *Begin = cast_or_null<MCSymbolELF>(Section->getBeginSymbol());
  154|  20.8k|  if (!Begin) {
  ------------------
  |  Branch (154:7): [True: 12.9k, False: 7.95k]
  ------------------
  155|  12.9k|    Begin = Ctx.getOrCreateSectionSymbol(*SectionELF);
  156|  12.9k|    Section->setBeginSymbol(Begin);
  157|  12.9k|  }
  158|  20.8k|  if (Begin->isUndefined()) {
  ------------------
  |  Branch (158:7): [True: 12.9k, False: 7.95k]
  ------------------
  159|  12.9k|    Asm.registerSymbol(*Begin);
  160|  12.9k|    Begin->setType(ELF::STT_SECTION);
  161|  12.9k|  }
  162|  20.8k|}
_ZN7llvm_ks13MCELFStreamer19EmitSymbolAttributeEPNS_8MCSymbolENS_12MCSymbolAttrE:
  193|    116|bool MCELFStreamer::EmitSymbolAttribute(MCSymbol *S, MCSymbolAttr Attribute) {
  194|    116|  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|    116|  if (Attribute == MCSA_IndirectSymbol) {
  ------------------
  |  Branch (197:7): [True: 0, False: 116]
  ------------------
  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|    116|  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|    116|  switch (Attribute) {
  ------------------
  |  Branch (218:11): [True: 116, False: 0]
  ------------------
  219|      0|  case MCSA_LazyReference:
  ------------------
  |  Branch (219:3): [True: 0, False: 116]
  ------------------
  220|      0|  case MCSA_Reference:
  ------------------
  |  Branch (220:3): [True: 0, False: 116]
  ------------------
  221|      0|  case MCSA_SymbolResolver:
  ------------------
  |  Branch (221:3): [True: 0, False: 116]
  ------------------
  222|      0|  case MCSA_PrivateExtern:
  ------------------
  |  Branch (222:3): [True: 0, False: 116]
  ------------------
  223|      0|  case MCSA_WeakDefinition:
  ------------------
  |  Branch (223:3): [True: 0, False: 116]
  ------------------
  224|      0|  case MCSA_WeakDefAutoPrivate:
  ------------------
  |  Branch (224:3): [True: 0, False: 116]
  ------------------
  225|      0|  case MCSA_Invalid:
  ------------------
  |  Branch (225:3): [True: 0, False: 116]
  ------------------
  226|      0|  case MCSA_IndirectSymbol:
  ------------------
  |  Branch (226:3): [True: 0, False: 116]
  ------------------
  227|      0|    return false;
  228|       |
  229|     18|  case MCSA_NoDeadStrip:
  ------------------
  |  Branch (229:3): [True: 18, False: 98]
  ------------------
  230|       |    // Ignore for now.
  231|     18|    break;
  232|       |
  233|      0|  case MCSA_ELF_TypeGnuUniqueObject:
  ------------------
  |  Branch (233:3): [True: 0, False: 116]
  ------------------
  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|     98|  case MCSA_Global:
  ------------------
  |  Branch (239:3): [True: 98, False: 18]
  ------------------
  240|     98|    Symbol->setBinding(ELF::STB_GLOBAL);
  241|     98|    Symbol->setExternal(true);
  242|     98|    break;
  243|       |
  244|      0|  case MCSA_WeakReference:
  ------------------
  |  Branch (244:3): [True: 0, False: 116]
  ------------------
  245|      0|  case MCSA_Weak:
  ------------------
  |  Branch (245:3): [True: 0, False: 116]
  ------------------
  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: 116]
  ------------------
  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: 116]
  ------------------
  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: 116]
  ------------------
  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: 116]
  ------------------
  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: 116]
  ------------------
  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: 116]
  ------------------
  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: 116]
  ------------------
  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: 116]
  ------------------
  281|      0|    Symbol->setVisibility(ELF::STV_PROTECTED);
  282|      0|    break;
  283|       |
  284|      0|  case MCSA_Hidden:
  ------------------
  |  Branch (284:3): [True: 0, False: 116]
  ------------------
  285|      0|    Symbol->setVisibility(ELF::STV_HIDDEN);
  286|      0|    break;
  287|       |
  288|      0|  case MCSA_Internal:
  ------------------
  |  Branch (288:3): [True: 0, False: 116]
  ------------------
  289|      0|    Symbol->setVisibility(ELF::STV_INTERNAL);
  290|      0|    break;
  291|    116|  }
  292|       |
  293|    116|  return true;
  294|    116|}
_ZN7llvm_ks13MCELFStreamer16EmitCommonSymbolEPNS_8MCSymbolEmj:
  297|  1.03k|                                     unsigned ByteAlignment) {
  298|  1.03k|  auto *Symbol = cast<MCSymbolELF>(S);
  299|  1.03k|  getAssembler().registerSymbol(*Symbol);
  300|       |
  301|  1.03k|  if (!Symbol->isBindingSet()) {
  ------------------
  |  Branch (301:7): [True: 84, False: 954]
  ------------------
  302|     84|    Symbol->setBinding(ELF::STB_GLOBAL);
  303|     84|    Symbol->setExternal(true);
  304|     84|  }
  305|       |
  306|  1.03k|  Symbol->setType(ELF::STT_OBJECT);
  307|       |
  308|  1.03k|  if (Symbol->getBinding() == ELF::STB_LOCAL) {
  ------------------
  |  Branch (308:7): [True: 35, False: 1.00k]
  ------------------
  309|     35|    MCSection &Section = *getAssembler().getContext().getELFSection(
  310|     35|        ".bss", ELF::SHT_NOBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC);
  311|     35|    MCSectionSubPair P = getCurrentSection();
  312|     35|    SwitchSection(&Section);
  313|       |
  314|     35|    EmitValueToAlignment(ByteAlignment, 0, 1, 0);
  315|     35|    EmitLabel(Symbol);
  316|     35|    EmitZeros(Size);
  317|       |
  318|       |    // Update the maximum alignment of the section if necessary.
  319|     35|    if (ByteAlignment > Section.getAlignment())
  ------------------
  |  Branch (319:9): [True: 0, False: 35]
  ------------------
  320|      0|      Section.setAlignment(ByteAlignment);
  321|       |
  322|     35|    SwitchSection(P.first, P.second);
  323|  1.00k|  } else {
  324|  1.00k|    if(Symbol->declareCommon(Size, ByteAlignment))
  ------------------
  |  Branch (324:8): [True: 0, False: 1.00k]
  ------------------
  325|      0|      report_fatal_error("Symbol: " + Symbol->getName() +
  326|      0|                         " redeclared as different type");
  327|  1.00k|  }
  328|       |
  329|  1.03k|  cast<MCSymbolELF>(Symbol)
  330|  1.03k|      ->setSize(MCConstantExpr::create(Size, getContext()));
  331|  1.03k|}
_ZN7llvm_ks13MCELFStreamer21EmitLocalCommonSymbolEPNS_8MCSymbolEmj:
  338|     35|                                          unsigned ByteAlignment) {
  339|     35|  auto *Symbol = cast<MCSymbolELF>(S);
  340|       |  // FIXME: Should this be caught and done earlier?
  341|     35|  getAssembler().registerSymbol(*Symbol);
  342|     35|  Symbol->setBinding(ELF::STB_LOCAL);
  343|     35|  Symbol->setExternal(false);
  344|     35|  EmitCommonSymbol(Symbol, Size, ByteAlignment);
  345|     35|}
_ZN7llvm_ks13MCELFStreamer13EmitValueImplEPKNS_6MCExprEjNS_5SMLocE:
  348|  30.4k|                                  SMLoc Loc) {
  349|  30.4k|  if (isBundleLocked())
  ------------------
  |  Branch (349:7): [True: 0, False: 30.4k]
  ------------------
  350|      0|    report_fatal_error("Emitting values inside a locked bundle is forbidden");
  351|  30.4k|  fixSymbolsInTLSFixups(Value);
  352|  30.4k|  MCObjectStreamer::EmitValueImpl(Value, Size, Loc);
  353|  30.4k|}
_ZN7llvm_ks13MCELFStreamer20EmitValueToAlignmentEjljj:
  358|  4.93k|                                         unsigned MaxBytesToEmit) {
  359|  4.93k|  if (isBundleLocked())
  ------------------
  |  Branch (359:7): [True: 0, False: 4.93k]
  ------------------
  360|      0|    report_fatal_error("Emitting values inside a locked bundle is forbidden");
  361|  4.93k|  MCObjectStreamer::EmitValueToAlignment(ByteAlignment, Value,
  362|  4.93k|                                         ValueSize, MaxBytesToEmit);
  363|  4.93k|}
_ZN7llvm_ks13MCELFStreamer17EmitFileDirectiveENS_9StringRefE:
  368|  10.5k|void MCELFStreamer::EmitFileDirective(StringRef Filename) {
  369|  10.5k|  getAssembler().addFileName(Filename);
  370|  10.5k|}
_ZN7llvm_ks13MCELFStreamer21fixSymbolsInTLSFixupsEPKNS_6MCExprE:
  387|   125k|void MCELFStreamer::fixSymbolsInTLSFixups(const MCExpr *expr) {
  388|   125k|  switch (expr->getKind()) {
  ------------------
  |  Branch (388:11): [True: 125k, False: 0]
  ------------------
  389|      3|  case MCExpr::Target:
  ------------------
  |  Branch (389:3): [True: 3, False: 125k]
  ------------------
  390|      3|    cast<MCTargetExpr>(expr)->fixELFSymbolsInTLSFixups(getAssembler());
  391|      3|    break;
  392|  28.6k|  case MCExpr::Constant:
  ------------------
  |  Branch (392:3): [True: 28.6k, False: 97.3k]
  ------------------
  393|  28.6k|    break;
  394|       |
  395|  42.6k|  case MCExpr::Binary: {
  ------------------
  |  Branch (395:3): [True: 42.6k, False: 83.3k]
  ------------------
  396|  42.6k|    const MCBinaryExpr *be = cast<MCBinaryExpr>(expr);
  397|  42.6k|    fixSymbolsInTLSFixups(be->getLHS());
  398|  42.6k|    fixSymbolsInTLSFixups(be->getRHS());
  399|  42.6k|    break;
  400|      0|  }
  401|       |
  402|  46.5k|  case MCExpr::SymbolRef: {
  ------------------
  |  Branch (402:3): [True: 46.5k, False: 79.4k]
  ------------------
  403|  46.5k|    const MCSymbolRefExpr &symRef = *cast<MCSymbolRefExpr>(expr);
  404|  46.5k|    switch (symRef.getKind()) {
  405|  42.7k|    default:
  ------------------
  |  Branch (405:5): [True: 42.7k, False: 3.86k]
  ------------------
  406|  42.7k|      return;
  407|  42.7k|    case MCSymbolRefExpr::VK_GOTTPOFF:
  ------------------
  |  Branch (407:5): [True: 82, False: 46.4k]
  ------------------
  408|    144|    case MCSymbolRefExpr::VK_INDNTPOFF:
  ------------------
  |  Branch (408:5): [True: 62, False: 46.5k]
  ------------------
  409|    166|    case MCSymbolRefExpr::VK_NTPOFF:
  ------------------
  |  Branch (409:5): [True: 22, False: 46.5k]
  ------------------
  410|    391|    case MCSymbolRefExpr::VK_GOTNTPOFF:
  ------------------
  |  Branch (410:5): [True: 225, False: 46.3k]
  ------------------
  411|    410|    case MCSymbolRefExpr::VK_TLSGD:
  ------------------
  |  Branch (411:5): [True: 19, False: 46.5k]
  ------------------
  412|    501|    case MCSymbolRefExpr::VK_TLSLD:
  ------------------
  |  Branch (412:5): [True: 91, False: 46.4k]
  ------------------
  413|    536|    case MCSymbolRefExpr::VK_TLSLDM:
  ------------------
  |  Branch (413:5): [True: 35, False: 46.5k]
  ------------------
  414|    560|    case MCSymbolRefExpr::VK_TPOFF:
  ------------------
  |  Branch (414:5): [True: 24, False: 46.5k]
  ------------------
  415|    560|    case MCSymbolRefExpr::VK_TPREL:
  ------------------
  |  Branch (415:5): [True: 0, False: 46.5k]
  ------------------
  416|    654|    case MCSymbolRefExpr::VK_DTPOFF:
  ------------------
  |  Branch (416:5): [True: 94, False: 46.4k]
  ------------------
  417|    654|    case MCSymbolRefExpr::VK_DTPREL:
  ------------------
  |  Branch (417:5): [True: 0, False: 46.5k]
  ------------------
  418|    654|    case MCSymbolRefExpr::VK_Mips_TLSGD:
  ------------------
  |  Branch (418:5): [True: 0, False: 46.5k]
  ------------------
  419|    654|    case MCSymbolRefExpr::VK_Mips_GOTTPREL:
  ------------------
  |  Branch (419:5): [True: 0, False: 46.5k]
  ------------------
  420|    654|    case MCSymbolRefExpr::VK_Mips_TPREL_HI:
  ------------------
  |  Branch (420:5): [True: 0, False: 46.5k]
  ------------------
  421|    654|    case MCSymbolRefExpr::VK_Mips_TPREL_LO:
  ------------------
  |  Branch (421:5): [True: 0, False: 46.5k]
  ------------------
  422|    690|    case MCSymbolRefExpr::VK_PPC_DTPMOD:
  ------------------
  |  Branch (422:5): [True: 36, False: 46.5k]
  ------------------
  423|  1.18k|    case MCSymbolRefExpr::VK_PPC_TPREL_LO:
  ------------------
  |  Branch (423:5): [True: 492, False: 46.0k]
  ------------------
  424|  1.22k|    case MCSymbolRefExpr::VK_PPC_TPREL_HI:
  ------------------
  |  Branch (424:5): [True: 41, False: 46.5k]
  ------------------
  425|  1.24k|    case MCSymbolRefExpr::VK_PPC_TPREL_HA:
  ------------------
  |  Branch (425:5): [True: 19, False: 46.5k]
  ------------------
  426|  1.32k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHER:
  ------------------
  |  Branch (426:5): [True: 82, False: 46.4k]
  ------------------
  427|  1.39k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHERA:
  ------------------
  |  Branch (427:5): [True: 72, False: 46.5k]
  ------------------
  428|  1.46k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHEST:
  ------------------
  |  Branch (428:5): [True: 67, False: 46.5k]
  ------------------
  429|  1.47k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHESTA:
  ------------------
  |  Branch (429:5): [True: 10, False: 46.5k]
  ------------------
  430|  2.08k|    case MCSymbolRefExpr::VK_PPC_DTPREL_LO:
  ------------------
  |  Branch (430:5): [True: 614, False: 45.9k]
  ------------------
  431|  2.17k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HI:
  ------------------
  |  Branch (431:5): [True: 91, False: 46.4k]
  ------------------
  432|  2.21k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HA:
  ------------------
  |  Branch (432:5): [True: 41, False: 46.5k]
  ------------------
  433|  2.26k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHER:
  ------------------
  |  Branch (433:5): [True: 49, False: 46.5k]
  ------------------
  434|  2.28k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHERA:
  ------------------
  |  Branch (434:5): [True: 21, False: 46.5k]
  ------------------
  435|  2.30k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHEST:
  ------------------
  |  Branch (435:5): [True: 15, False: 46.5k]
  ------------------
  436|  2.37k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHESTA:
  ------------------
  |  Branch (436:5): [True: 74, False: 46.5k]
  ------------------
  437|  2.46k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL:
  ------------------
  |  Branch (437:5): [True: 85, False: 46.4k]
  ------------------
  438|  2.55k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_LO:
  ------------------
  |  Branch (438:5): [True: 91, False: 46.4k]
  ------------------
  439|  2.59k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_HI:
  ------------------
  |  Branch (439:5): [True: 41, False: 46.5k]
  ------------------
  440|  2.67k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_HA:
  ------------------
  |  Branch (440:5): [True: 82, False: 46.4k]
  ------------------
  441|  2.74k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL:
  ------------------
  |  Branch (441:5): [True: 69, False: 46.5k]
  ------------------
  442|  2.75k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_LO:
  ------------------
  |  Branch (442:5): [True: 12, False: 46.5k]
  ------------------
  443|  2.83k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_HI:
  ------------------
  |  Branch (443:5): [True: 81, False: 46.4k]
  ------------------
  444|  2.90k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_HA:
  ------------------
  |  Branch (444:5): [True: 68, False: 46.5k]
  ------------------
  445|  2.97k|    case MCSymbolRefExpr::VK_PPC_TLS:
  ------------------
  |  Branch (445:5): [True: 66, False: 46.5k]
  ------------------
  446|  3.07k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD:
  ------------------
  |  Branch (446:5): [True: 100, False: 46.4k]
  ------------------
  447|  3.11k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_LO:
  ------------------
  |  Branch (447:5): [True: 40, False: 46.5k]
  ------------------
  448|  3.17k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_HI:
  ------------------
  |  Branch (448:5): [True: 63, False: 46.5k]
  ------------------
  449|  3.48k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_HA:
  ------------------
  |  Branch (449:5): [True: 310, False: 46.2k]
  ------------------
  450|  3.48k|    case MCSymbolRefExpr::VK_PPC_TLSGD:
  ------------------
  |  Branch (450:5): [True: 0, False: 46.5k]
  ------------------
  451|  3.55k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD:
  ------------------
  |  Branch (451:5): [True: 72, False: 46.5k]
  ------------------
  452|  3.63k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_LO:
  ------------------
  |  Branch (452:5): [True: 79, False: 46.5k]
  ------------------
  453|  3.81k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_HI:
  ------------------
  |  Branch (453:5): [True: 176, False: 46.4k]
  ------------------
  454|  3.86k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_HA:
  ------------------
  |  Branch (454:5): [True: 49, False: 46.5k]
  ------------------
  455|  3.86k|    case MCSymbolRefExpr::VK_PPC_TLSLD:
  ------------------
  |  Branch (455:5): [True: 0, False: 46.5k]
  ------------------
  456|  3.86k|      break;
  457|  46.5k|    }
  458|  3.86k|    getAssembler().registerSymbol(symRef.getSymbol());
  459|  3.86k|    cast<MCSymbolELF>(symRef.getSymbol()).setType(ELF::STT_TLS);
  460|  3.86k|    break;
  461|  46.5k|  }
  462|       |
  463|  8.10k|  case MCExpr::Unary:
  ------------------
  |  Branch (463:3): [True: 8.10k, False: 117k]
  ------------------
  464|  8.10k|    fixSymbolsInTLSFixups(cast<MCUnaryExpr>(expr)->getSubExpr());
  465|  8.10k|    break;
  466|   125k|  }
  467|   125k|}
_ZN7llvm_ks13MCELFStreamer14EmitInstToDataERNS_6MCInstERKNS_15MCSubtargetInfoERj:
  481|  3.39k|{
  482|  3.39k|  MCAssembler &Assembler = getAssembler();
  483|  3.39k|  SmallVector<MCFixup, 4> Fixups;
  484|  3.39k|  SmallString<256> Code;
  485|  3.39k|  raw_svector_ostream VecOS(Code);
  486|  3.39k|  Assembler.getEmitter().encodeInstruction(Inst, VecOS, Fixups, STI, KsError);
  487|  3.39k|  if (KsError)
  ------------------
  |  Branch (487:7): [True: 0, False: 3.39k]
  ------------------
  488|      0|      return;
  489|       |
  490|  5.52k|  for (unsigned i = 0, e = Fixups.size(); i != e; ++i)
  ------------------
  |  Branch (490:43): [True: 2.13k, False: 3.39k]
  ------------------
  491|  2.13k|    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|  3.39k|  MCDataFragment *DF;
  509|       |
  510|  3.39k|  if (Assembler.isBundlingEnabled()) {
  ------------------
  |  Branch (510:7): [True: 0, False: 3.39k]
  ------------------
  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|  3.39k|  } else {
  549|  3.39k|    DF = getOrCreateDataFragment();
  550|  3.39k|  }
  551|       |
  552|       |  // Add the fixups and data.
  553|  5.52k|  for (unsigned i = 0, e = Fixups.size(); i != e; ++i) {
  ------------------
  |  Branch (553:43): [True: 2.13k, False: 3.39k]
  ------------------
  554|  2.13k|    Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size());
  555|  2.13k|    DF->getFixups().push_back(Fixups[i]);
  556|  2.13k|  }
  557|  3.39k|  DF->setHasInstructions(true);
  558|  3.39k|  DF->getContents().append(Code.begin(), Code.end());
  559|       |
  560|  3.39k|  if (Assembler.isBundlingEnabled() && Assembler.getRelaxAll()) {
  ------------------
  |  Branch (560:7): [True: 0, False: 3.39k]
  |  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|  3.39k|}
_ZN7llvm_ks13MCELFStreamer10FinishImplEv:
  634|  6.46k|{
  635|       |  // Ensure the last section gets aligned if necessary.
  636|  6.46k|  MCSection *CurSection = getCurrentSectionOnly();
  637|  6.46k|  setSectionAlignmentForBundling(getAssembler(), CurSection);
  638|       |
  639|  6.46k|  EmitFrames(nullptr);
  640|  6.46k|  return this->MCObjectStreamer::FinishImpl();
  641|  6.46k|}
_ZN7llvm_ks17createELFStreamerERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterEb:
  645|  12.6k|                                    bool RelaxAll) {
  646|  12.6k|  MCELFStreamer *S = new MCELFStreamer(Context, MAB, OS, CE);
  647|  12.6k|  if (RelaxAll)
  ------------------
  |  Branch (647:7): [True: 0, False: 12.6k]
  ------------------
  648|      0|    S->getAssembler().setRelaxAll(true);
  649|  12.6k|  return S;
  650|  12.6k|}
MCELFStreamer.cpp:_ZL30setSectionAlignmentForBundlingRKN7llvm_ks11MCAssemblerEPNS_9MCSectionE:
  131|  27.3k|                                           MCSection *Section) {
  132|  27.3k|  if (Section && Assembler.isBundlingEnabled() && Section->hasInstructions() &&
  ------------------
  |  Branch (132:7): [True: 14.6k, False: 12.6k]
  |  Branch (132:18): [True: 0, False: 14.6k]
  |  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|  27.3k|}

_ZN7llvm_ks12MCBinaryExpr6createENS0_6OpcodeEPKNS_6MCExprES4_RNS_9MCContextE:
  133|   192k|                                         const MCExpr *RHS, MCContext &Ctx) {
  134|   192k|  return new (Ctx) MCBinaryExpr(Opc, LHS, RHS);
  135|   192k|}
_ZN7llvm_ks11MCUnaryExpr6createENS0_6OpcodeEPKNS_6MCExprERNS_9MCContextE:
  138|   102k|                                       MCContext &Ctx) {
  139|   102k|  return new (Ctx) MCUnaryExpr(Opc, Expr);
  140|   102k|}
_ZN7llvm_ks14MCConstantExpr6createElRNS_9MCContextE:
  142|   240k|const MCConstantExpr *MCConstantExpr::create(int64_t Value, MCContext &Ctx) {
  143|   240k|  return new (Ctx) MCConstantExpr(Value);
  144|   240k|}
_ZN7llvm_ks15MCSymbolRefExprC2EPKNS_8MCSymbolENS0_11VariantKindEPKNS_9MCAsmInfoE:
  150|   228k|    : MCExpr(MCExpr::SymbolRef), Kind(Kind),
  151|   228k|      UseParensForSymbolVariant(MAI->useParensForSymbolVariant()),
  152|   228k|      HasSubsectionsViaSymbols(MAI->hasSubsectionsViaSymbols()),
  153|   228k|      Symbol(Symbol) {
  154|       |  assert(Symbol);
  ------------------
  |  Branch (154:3): [True: 228k, False: 0]
  ------------------
  155|   228k|}
_ZN7llvm_ks15MCSymbolRefExpr6createEPKNS_8MCSymbolENS0_11VariantKindERNS_9MCContextE:
  159|   228k|                                               MCContext &Ctx) {
  160|   228k|  return new (Ctx) MCSymbolRefExpr(Sym, Kind, Ctx.getAsmInfo());
  161|   228k|}
_ZN7llvm_ks15MCSymbolRefExpr21getVariantKindForNameENS_9StringRefE:
  303|  26.0k|MCSymbolRefExpr::getVariantKindForName(StringRef Name) {
  304|  26.0k|  return StringSwitch<VariantKind>(Name.lower())
  305|  26.0k|    .Case("got", VK_GOT)
  306|  26.0k|    .Case("gotoff", VK_GOTOFF)
  307|  26.0k|    .Case("gotpcrel", VK_GOTPCREL)
  308|  26.0k|    .Case("gottpoff", VK_GOTTPOFF)
  309|  26.0k|    .Case("indntpoff", VK_INDNTPOFF)
  310|  26.0k|    .Case("ntpoff", VK_NTPOFF)
  311|  26.0k|    .Case("gotntpoff", VK_GOTNTPOFF)
  312|  26.0k|    .Case("plt", VK_PLT)
  313|  26.0k|    .Case("tlsgd", VK_TLSGD)
  314|  26.0k|    .Case("tlsld", VK_TLSLD)
  315|  26.0k|    .Case("tlsldm", VK_TLSLDM)
  316|  26.0k|    .Case("tpoff", VK_TPOFF)
  317|  26.0k|    .Case("dtpoff", VK_DTPOFF)
  318|  26.0k|    .Case("tlvp", VK_TLVP)
  319|  26.0k|    .Case("tlvppage", VK_TLVPPAGE)
  320|  26.0k|    .Case("tlvppageoff", VK_TLVPPAGEOFF)
  321|  26.0k|    .Case("page", VK_PAGE)
  322|  26.0k|    .Case("pageoff", VK_PAGEOFF)
  323|  26.0k|    .Case("gotpage", VK_GOTPAGE)
  324|  26.0k|    .Case("gotpageoff", VK_GOTPAGEOFF)
  325|  26.0k|    .Case("imgrel", VK_COFF_IMGREL32)
  326|  26.0k|    .Case("secrel32", VK_SECREL)
  327|  26.0k|    .Case("size", VK_SIZE)
  328|  26.0k|    .Case("l", VK_PPC_LO)
  329|  26.0k|    .Case("h", VK_PPC_HI)
  330|  26.0k|    .Case("ha", VK_PPC_HA)
  331|  26.0k|    .Case("higher", VK_PPC_HIGHER)
  332|  26.0k|    .Case("highera", VK_PPC_HIGHERA)
  333|  26.0k|    .Case("highest", VK_PPC_HIGHEST)
  334|  26.0k|    .Case("highesta", VK_PPC_HIGHESTA)
  335|  26.0k|    .Case("got@l", VK_PPC_GOT_LO)
  336|  26.0k|    .Case("got@h", VK_PPC_GOT_HI)
  337|  26.0k|    .Case("got@ha", VK_PPC_GOT_HA)
  338|  26.0k|    .Case("local", VK_PPC_LOCAL)
  339|  26.0k|    .Case("tocbase", VK_PPC_TOCBASE)
  340|  26.0k|    .Case("toc", VK_PPC_TOC)
  341|  26.0k|    .Case("toc@l", VK_PPC_TOC_LO)
  342|  26.0k|    .Case("toc@h", VK_PPC_TOC_HI)
  343|  26.0k|    .Case("toc@ha", VK_PPC_TOC_HA)
  344|  26.0k|    .Case("tls", VK_PPC_TLS)
  345|  26.0k|    .Case("dtpmod", VK_PPC_DTPMOD)
  346|  26.0k|    .Case("tprel", VK_PPC_TPREL)
  347|  26.0k|    .Case("tprel@l", VK_PPC_TPREL_LO)
  348|  26.0k|    .Case("tprel@h", VK_PPC_TPREL_HI)
  349|  26.0k|    .Case("tprel@ha", VK_PPC_TPREL_HA)
  350|  26.0k|    .Case("tprel@higher", VK_PPC_TPREL_HIGHER)
  351|  26.0k|    .Case("tprel@highera", VK_PPC_TPREL_HIGHERA)
  352|  26.0k|    .Case("tprel@highest", VK_PPC_TPREL_HIGHEST)
  353|  26.0k|    .Case("tprel@highesta", VK_PPC_TPREL_HIGHESTA)
  354|  26.0k|    .Case("dtprel", VK_PPC_DTPREL)
  355|  26.0k|    .Case("dtprel@l", VK_PPC_DTPREL_LO)
  356|  26.0k|    .Case("dtprel@h", VK_PPC_DTPREL_HI)
  357|  26.0k|    .Case("dtprel@ha", VK_PPC_DTPREL_HA)
  358|  26.0k|    .Case("dtprel@higher", VK_PPC_DTPREL_HIGHER)
  359|  26.0k|    .Case("dtprel@highera", VK_PPC_DTPREL_HIGHERA)
  360|  26.0k|    .Case("dtprel@highest", VK_PPC_DTPREL_HIGHEST)
  361|  26.0k|    .Case("dtprel@highesta", VK_PPC_DTPREL_HIGHESTA)
  362|  26.0k|    .Case("got@tprel", VK_PPC_GOT_TPREL)
  363|  26.0k|    .Case("got@tprel@l", VK_PPC_GOT_TPREL_LO)
  364|  26.0k|    .Case("got@tprel@h", VK_PPC_GOT_TPREL_HI)
  365|  26.0k|    .Case("got@tprel@ha", VK_PPC_GOT_TPREL_HA)
  366|  26.0k|    .Case("got@dtprel", VK_PPC_GOT_DTPREL)
  367|  26.0k|    .Case("got@dtprel@l", VK_PPC_GOT_DTPREL_LO)
  368|  26.0k|    .Case("got@dtprel@h", VK_PPC_GOT_DTPREL_HI)
  369|  26.0k|    .Case("got@dtprel@ha", VK_PPC_GOT_DTPREL_HA)
  370|  26.0k|    .Case("got@tlsgd", VK_PPC_GOT_TLSGD)
  371|  26.0k|    .Case("got@tlsgd@l", VK_PPC_GOT_TLSGD_LO)
  372|  26.0k|    .Case("got@tlsgd@h", VK_PPC_GOT_TLSGD_HI)
  373|  26.0k|    .Case("got@tlsgd@ha", VK_PPC_GOT_TLSGD_HA)
  374|  26.0k|    .Case("got@tlsld", VK_PPC_GOT_TLSLD)
  375|  26.0k|    .Case("got@tlsld@l", VK_PPC_GOT_TLSLD_LO)
  376|  26.0k|    .Case("got@tlsld@h", VK_PPC_GOT_TLSLD_HI)
  377|  26.0k|    .Case("got@tlsld@ha", VK_PPC_GOT_TLSLD_HA)
  378|  26.0k|    .Case("gdgot", VK_Hexagon_GD_GOT)
  379|  26.0k|    .Case("gdplt", VK_Hexagon_GD_PLT)
  380|  26.0k|    .Case("iegot", VK_Hexagon_IE_GOT)
  381|  26.0k|    .Case("ie", VK_Hexagon_IE)
  382|  26.0k|    .Case("ldgot", VK_Hexagon_LD_GOT)
  383|  26.0k|    .Case("ldplt", VK_Hexagon_LD_PLT)
  384|  26.0k|    .Case("pcrel", VK_Hexagon_PCREL)
  385|  26.0k|    .Case("none", VK_ARM_NONE)
  386|  26.0k|    .Case("got_prel", VK_ARM_GOT_PREL)
  387|  26.0k|    .Case("target1", VK_ARM_TARGET1)
  388|  26.0k|    .Case("target2", VK_ARM_TARGET2)
  389|  26.0k|    .Case("prel31", VK_ARM_PREL31)
  390|  26.0k|    .Case("sbrel", VK_ARM_SBREL)
  391|  26.0k|    .Case("tlsldo", VK_ARM_TLSLDO)
  392|  26.0k|    .Case("tlscall", VK_ARM_TLSCALL)
  393|  26.0k|    .Case("tlsdesc", VK_ARM_TLSDESC)
  394|  26.0k|    .Default(VK_Invalid);
  395|  26.0k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERl:
  406|   230k|bool MCExpr::evaluateAsAbsolute(int64_t &Res) const {
  407|   230k|  return evaluateAsAbsolute(Res, nullptr, nullptr, nullptr);
  408|   230k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlRKNS_11MCAssemblerE:
  421|  30.4k|bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const {
  422|  30.4k|  return evaluateAsAbsolute(Res, &Asm, nullptr, nullptr);
  423|  30.4k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISB_EENS_6detail12DenseMapPairISB_mEEEE:
  433|   261k|                                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|   261k|  return evaluateAsAbsolute(Res, Asm, Layout, Addrs, Addrs);
  438|   261k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISB_EENS_6detail12DenseMapPairISB_mEEEEb:
  443|   261k|{
  444|   261k|  MCValue Value;
  445|       |
  446|       |  // Fast path constants.
  447|   261k|  if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(this)) {
  ------------------
  |  Branch (447:29): [True: 67.9k, False: 193k]
  ------------------
  448|  67.9k|    Res = CE->getValue();
  449|  67.9k|    return true;
  450|  67.9k|  }
  451|       |
  452|   193k|  bool valid;
  453|   193k|  bool IsRelocatable =
  454|   193k|      evaluateAsRelocatableImpl(Value, Asm, Layout, nullptr, Addrs, InSet, valid);
  455|       |
  456|       |  // Record the current value.
  457|   193k|  Res = Value.getConstant();
  458|       |
  459|   193k|  return IsRelocatable && Value.isAbsolute();
  ------------------
  |  Branch (459:10): [True: 167k, False: 26.4k]
  |  Branch (459:27): [True: 30.2k, False: 136k]
  ------------------
  460|   261k|}
_ZNK7llvm_ks6MCExpr21evaluateAsRelocatableERNS_7MCValueEPKNS_11MCAsmLayoutEPKNS_7MCFixupE:
  606|  9.45k|{
  607|  9.45k|  MCAssembler *Assembler = Layout ? &Layout->getAssembler() : nullptr;
  ------------------
  |  Branch (607:28): [True: 9.33k, False: 119]
  ------------------
  608|  9.45k|  bool valid;
  609|  9.45k|  return evaluateAsRelocatableImpl(Res, Assembler, Layout, Fixup, nullptr,
  610|  9.45k|                                   false, valid);
  611|  9.45k|}
_ZNK7llvm_ks6MCExpr15evaluateAsValueERNS_7MCValueERKNS_11MCAsmLayoutE:
  614|  9.99k|{
  615|  9.99k|  MCAssembler *Assembler = &Layout.getAssembler();
  616|  9.99k|  bool valid;
  617|  9.99k|  return evaluateAsRelocatableImpl(Res, Assembler, &Layout, nullptr, nullptr,
  618|  9.99k|                                   true, valid);
  619|  9.99k|}
_ZNK7llvm_ks6MCExpr25evaluateAsRelocatableImplERNS_7MCValueEPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_7MCFixupEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISF_EENS_6detail12DenseMapPairISF_mEEEEbRb:
  639|   705k|{
  640|   705k|  switch (getKind()) {
  ------------------
  |  Branch (640:11): [True: 705k, False: 0]
  ------------------
  641|      3|  case Target:
  ------------------
  |  Branch (641:3): [True: 3, False: 705k]
  ------------------
  642|      3|    return cast<MCTargetExpr>(this)->evaluateAsRelocatableImpl(Res, Layout,
  643|      3|                                                               Fixup);
  644|       |
  645|   178k|  case Constant:
  ------------------
  |  Branch (645:3): [True: 178k, False: 527k]
  ------------------
  646|   178k|    Res = MCValue::get(cast<MCConstantExpr>(this)->getValue());
  647|   178k|    return true;
  648|       |
  649|   216k|  case SymbolRef: {
  ------------------
  |  Branch (649:3): [True: 216k, False: 489k]
  ------------------
  650|   216k|    const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
  651|   216k|    const MCSymbol &Sym = SRE->getSymbol();
  652|       |
  653|       |    // Evaluate recursively if this is a variable.
  654|   216k|    if (Sym.isVariable() && SRE->getKind() == MCSymbolRefExpr::VK_None &&
  ------------------
  |  Branch (654:9): [True: 5.59k, False: 210k]
  |  Branch (654:29): [True: 5.57k, False: 18]
  ------------------
  655|  5.57k|        canExpand(Sym, InSet)) {
  ------------------
  |  Branch (655:9): [True: 1.74k, False: 3.83k]
  ------------------
  656|  1.74k|      bool IsMachO = SRE->hasSubsectionsViaSymbols();
  657|  1.74k|      bool valid;
  658|  1.74k|      if (Sym.getVariableValue()->evaluateAsRelocatableImpl(
  ------------------
  |  Branch (658:11): [True: 951, False: 789]
  ------------------
  659|  1.74k|              Res, Asm, Layout, Fixup, Addrs, InSet || IsMachO, valid)) {
  ------------------
  |  Branch (659:47): [True: 659, False: 1.08k]
  |  Branch (659:56): [True: 0, False: 1.08k]
  ------------------
  660|    951|        if (!IsMachO)
  ------------------
  |  Branch (660:13): [True: 951, False: 0]
  ------------------
  661|    951|          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|  1.74k|    }
  675|       |
  676|   215k|    Res = MCValue::get(SRE, nullptr, 0);
  677|   215k|    return true;
  678|   216k|  }
  679|       |
  680|  80.0k|  case Unary: {
  ------------------
  |  Branch (680:3): [True: 80.0k, False: 625k]
  ------------------
  681|  80.0k|    const MCUnaryExpr *AUE = cast<MCUnaryExpr>(this);
  682|  80.0k|    MCValue Value;
  683|       |
  684|  80.0k|    bool valid;
  685|  80.0k|    if (!AUE->getSubExpr()->evaluateAsRelocatableImpl(Value, Asm, Layout, Fixup,
  ------------------
  |  Branch (685:9): [True: 1.17k, False: 78.8k]
  ------------------
  686|  80.0k|                                                      Addrs, InSet, valid))
  687|  1.17k|      return false;
  688|       |
  689|  78.8k|    switch (AUE->getOpcode()) {
  ------------------
  |  Branch (689:13): [True: 78.8k, False: 0]
  ------------------
  690|      0|    case MCUnaryExpr::LNot:
  ------------------
  |  Branch (690:5): [True: 0, False: 78.8k]
  ------------------
  691|      0|      if (!Value.isAbsolute())
  ------------------
  |  Branch (691:11): [True: 0, False: 0]
  ------------------
  692|      0|        return false;
  693|      0|      Res = MCValue::get(!Value.getConstant());
  694|      0|      break;
  695|  64.5k|    case MCUnaryExpr::Minus:
  ------------------
  |  Branch (695:5): [True: 64.5k, False: 14.3k]
  ------------------
  696|       |      /// -(a - b + const) ==> (b - a - const)
  697|  64.5k|      if (Value.getSymA() && !Value.getSymB())
  ------------------
  |  Branch (697:11): [True: 13.7k, False: 50.8k]
  |  Branch (697:30): [True: 13.5k, False: 196]
  ------------------
  698|  13.5k|        return false;
  699|  51.0k|      Res = MCValue::get(Value.getSymB(), Value.getSymA(),
  700|  51.0k|                         -Value.getConstant());
  701|  51.0k|      break;
  702|    981|    case MCUnaryExpr::Not:
  ------------------
  |  Branch (702:5): [True: 981, False: 77.8k]
  ------------------
  703|    981|      if (!Value.isAbsolute())
  ------------------
  |  Branch (703:11): [True: 181, False: 800]
  ------------------
  704|    181|        return false;
  705|    800|      Res = MCValue::get(~Value.getConstant());
  706|    800|      break;
  707|  13.3k|    case MCUnaryExpr::Plus:
  ------------------
  |  Branch (707:5): [True: 13.3k, False: 65.4k]
  ------------------
  708|  13.3k|      Res = Value;
  709|  13.3k|      break;
  710|  78.8k|    }
  711|       |
  712|  65.1k|    return true;
  713|  78.8k|  }
  714|       |
  715|   230k|  case Binary: {
  ------------------
  |  Branch (715:3): [True: 230k, False: 475k]
  ------------------
  716|   230k|    const MCBinaryExpr *ABE = cast<MCBinaryExpr>(this);
  717|   230k|    MCValue LHSValue, RHSValue;
  718|   230k|    bool valid;
  719|       |
  720|   230k|    if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup,
  ------------------
  |  Branch (720:9): [True: 50.1k, False: 180k]
  ------------------
  721|   230k|                                                  Addrs, InSet, valid) ||
  722|   180k|        !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup,
  ------------------
  |  Branch (722:9): [True: 5.81k, False: 174k]
  ------------------
  723|   180k|                                                  Addrs, InSet, valid))
  724|  56.0k|      return false;
  725|       |
  726|       |    // We only support a few operations on non-constant expressions, handle
  727|       |    // those first.
  728|   174k|    if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) {
  ------------------
  |  Branch (728:9): [True: 86.4k, False: 88.0k]
  |  Branch (728:35): [True: 29.2k, False: 58.8k]
  ------------------
  729|   115k|      switch (ABE->getOpcode()) {
  730|  8.59k|      default:
  ------------------
  |  Branch (730:7): [True: 8.59k, False: 107k]
  ------------------
  731|  8.59k|        return false;
  732|  91.0k|      case MCBinaryExpr::Sub:
  ------------------
  |  Branch (732:7): [True: 91.0k, False: 24.6k]
  ------------------
  733|       |        // Negate RHS and add.
  734|  91.0k|        return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue,
  735|  91.0k|                                   RHSValue.getSymB(), RHSValue.getSymA(),
  736|  91.0k|                                   -RHSValue.getConstant(), Res, valid);
  737|       |
  738|  16.0k|      case MCBinaryExpr::Add:
  ------------------
  |  Branch (738:7): [True: 16.0k, False: 99.6k]
  ------------------
  739|  16.0k|        return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue,
  740|  16.0k|                                   RHSValue.getSymA(), RHSValue.getSymB(),
  741|  16.0k|                                   RHSValue.getConstant(), Res, valid);
  742|   115k|      }
  743|   115k|    }
  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|  58.8k|    int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant();
  749|  58.8k|    int64_t Result = 0;
  750|  58.8k|    switch (ABE->getOpcode()) {
  ------------------
  |  Branch (750:13): [True: 58.8k, False: 0]
  ------------------
  751|      0|    case MCBinaryExpr::AShr: Result = LHS >> RHS; break;
  ------------------
  |  Branch (751:5): [True: 0, False: 58.8k]
  ------------------
  752|  6.45k|    case MCBinaryExpr::Add:  Result = LHS + RHS; break;
  ------------------
  |  Branch (752:5): [True: 6.45k, False: 52.3k]
  ------------------
  753|    865|    case MCBinaryExpr::And:  Result = LHS & RHS; break;
  ------------------
  |  Branch (753:5): [True: 865, False: 57.9k]
  ------------------
  754|  1.95k|    case MCBinaryExpr::Div:
  ------------------
  |  Branch (754:5): [True: 1.95k, False: 56.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|  1.95k|      if (RHS == 0)
  ------------------
  |  Branch (761:11): [True: 383, False: 1.57k]
  ------------------
  762|    383|        return false;
  763|  1.57k|      Result = LHS / RHS;
  764|  1.57k|      break;
  765|    336|    case MCBinaryExpr::EQ:   Result = LHS == RHS; break;
  ------------------
  |  Branch (765:5): [True: 336, False: 58.4k]
  ------------------
  766|  4.10k|    case MCBinaryExpr::GT:   Result = LHS > RHS; break;
  ------------------
  |  Branch (766:5): [True: 4.10k, False: 54.7k]
  ------------------
  767|  1.42k|    case MCBinaryExpr::GTE:  Result = LHS >= RHS; break;
  ------------------
  |  Branch (767:5): [True: 1.42k, False: 57.4k]
  ------------------
  768|    712|    case MCBinaryExpr::LAnd: Result = LHS && RHS; break;
  ------------------
  |  Branch (768:5): [True: 712, False: 58.1k]
  |  Branch (768:39): [True: 412, False: 300]
  |  Branch (768:46): [True: 401, False: 11]
  ------------------
  769|    398|    case MCBinaryExpr::LOr:  Result = LHS || RHS; break;
  ------------------
  |  Branch (769:5): [True: 398, False: 58.4k]
  |  Branch (769:39): [True: 324, False: 74]
  |  Branch (769:46): [True: 5, False: 69]
  ------------------
  770|    245|    case MCBinaryExpr::LShr: Result = uint64_t(LHS) >> uint64_t(RHS); break;
  ------------------
  |  Branch (770:5): [True: 245, False: 58.5k]
  ------------------
  771|  1.70k|    case MCBinaryExpr::LT:   Result = LHS < RHS; break;
  ------------------
  |  Branch (771:5): [True: 1.70k, False: 57.1k]
  ------------------
  772|    808|    case MCBinaryExpr::LTE:  Result = LHS <= RHS; break;
  ------------------
  |  Branch (772:5): [True: 808, False: 58.0k]
  ------------------
  773|  1.30k|    case MCBinaryExpr::Mod:
  ------------------
  |  Branch (773:5): [True: 1.30k, False: 57.5k]
  ------------------
  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|  1.30k|      if (RHS == 0)
  ------------------
  |  Branch (780:11): [True: 401, False: 907]
  ------------------
  781|    401|        return false;
  782|    907|      Result = LHS % RHS;
  783|    907|      break;
  784|  27.7k|    case MCBinaryExpr::Mul:  Result = LHS * RHS; break;
  ------------------
  |  Branch (784:5): [True: 27.7k, False: 31.1k]
  ------------------
  785|    326|    case MCBinaryExpr::NE:   Result = LHS != RHS; break;
  ------------------
  |  Branch (785:5): [True: 326, False: 58.5k]
  ------------------
  786|    163|    case MCBinaryExpr::Or:   Result = LHS | RHS; break;
  ------------------
  |  Branch (786:5): [True: 163, False: 58.6k]
  ------------------
  787|    139|    case MCBinaryExpr::Shl:  Result = uint64_t(LHS) << uint64_t(RHS); break;
  ------------------
  |  Branch (787:5): [True: 139, False: 58.6k]
  ------------------
  788|  9.33k|    case MCBinaryExpr::Sub:  Result = LHS - RHS; break;
  ------------------
  |  Branch (788:5): [True: 9.33k, False: 49.5k]
  ------------------
  789|    847|    case MCBinaryExpr::Xor:  Result = LHS ^ RHS; break;
  ------------------
  |  Branch (789:5): [True: 847, False: 57.9k]
  ------------------
  790|  58.8k|    }
  791|       |
  792|  58.0k|    Res = MCValue::get(Result);
  793|  58.0k|    return true;
  794|  58.8k|  }
  795|   705k|  }
  796|       |
  797|      0|  llvm_unreachable("Invalid assembly expression kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  798|   705k|}
_ZNK7llvm_ks6MCExpr22findAssociatedFragmentEv:
  800|   188k|MCFragment *MCExpr::findAssociatedFragment() const {
  801|   188k|  switch (getKind()) {
  ------------------
  |  Branch (801:11): [True: 188k, False: 0]
  ------------------
  802|      0|  case Target:
  ------------------
  |  Branch (802:3): [True: 0, False: 188k]
  ------------------
  803|       |    // We never look through target specific expressions.
  804|      0|    return cast<MCTargetExpr>(this)->findAssociatedFragment();
  805|       |
  806|  37.8k|  case Constant:
  ------------------
  |  Branch (806:3): [True: 37.8k, False: 150k]
  ------------------
  807|  37.8k|    return MCSymbol::AbsolutePseudoFragment;
  808|       |
  809|  58.3k|  case SymbolRef: {
  ------------------
  |  Branch (809:3): [True: 58.3k, False: 129k]
  ------------------
  810|  58.3k|    const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
  811|  58.3k|    const MCSymbol &Sym = SRE->getSymbol();
  812|  58.3k|    return Sym.getFragment();
  813|      0|  }
  814|       |
  815|  35.9k|  case Unary:
  ------------------
  |  Branch (815:3): [True: 35.9k, False: 152k]
  ------------------
  816|  35.9k|    return cast<MCUnaryExpr>(this)->getSubExpr()->findAssociatedFragment();
  817|       |
  818|  55.9k|  case Binary: {
  ------------------
  |  Branch (818:3): [True: 55.9k, False: 132k]
  ------------------
  819|  55.9k|    const MCBinaryExpr *BE = cast<MCBinaryExpr>(this);
  820|  55.9k|    MCFragment *LHS_F = BE->getLHS()->findAssociatedFragment();
  821|  55.9k|    MCFragment *RHS_F = BE->getRHS()->findAssociatedFragment();
  822|       |
  823|       |    // If either is absolute, return the other.
  824|  55.9k|    if (LHS_F == MCSymbol::AbsolutePseudoFragment)
  ------------------
  |  Branch (824:9): [True: 10.1k, False: 45.7k]
  ------------------
  825|  10.1k|      return RHS_F;
  826|  45.7k|    if (RHS_F == MCSymbol::AbsolutePseudoFragment)
  ------------------
  |  Branch (826:9): [True: 32.8k, False: 12.8k]
  ------------------
  827|  32.8k|      return LHS_F;
  828|       |
  829|       |    // Not always correct, but probably the best we can do without more context.
  830|  12.8k|    if (BE->getOpcode() == MCBinaryExpr::Sub)
  ------------------
  |  Branch (830:9): [True: 8.71k, False: 4.17k]
  ------------------
  831|  8.71k|      return MCSymbol::AbsolutePseudoFragment;
  832|       |
  833|       |    // Otherwise, return the first non-null fragment.
  834|  4.17k|    return LHS_F ? LHS_F : RHS_F;
  ------------------
  |  Branch (834:12): [True: 107, False: 4.06k]
  ------------------
  835|  12.8k|  }
  836|   188k|  }
  837|       |
  838|      0|  llvm_unreachable("Invalid assembly expression kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  839|   188k|}
MCExpr.cpp:_ZL9canExpandRKN7llvm_ks8MCSymbolEb:
  621|  5.57k|static bool canExpand(const MCSymbol &Sym, bool InSet) {
  622|  5.57k|  const MCExpr *Expr = Sym.getVariableValue();
  623|  5.57k|  const auto *Inner = dyn_cast<MCSymbolRefExpr>(Expr);
  624|  5.57k|  if (Inner) {
  ------------------
  |  Branch (624:7): [True: 3.77k, False: 1.79k]
  ------------------
  625|  3.77k|    if (Inner->getKind() == MCSymbolRefExpr::VK_WEAKREF)
  ------------------
  |  Branch (625:9): [True: 0, False: 3.77k]
  ------------------
  626|      0|      return false;
  627|  3.77k|  }
  628|       |
  629|  5.57k|  if (InSet)
  ------------------
  |  Branch (629:7): [True: 659, False: 4.91k]
  ------------------
  630|    659|    return true;
  631|  4.91k|  return !Sym.isInSection();
  632|  5.57k|}
MCExpr.cpp:_ZL19EvaluateSymbolicAddPKN7llvm_ks11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoIS9_EENS_6detail12DenseMapPairIS9_mEEEEbRKNS_7MCValueEPKNS_15MCSymbolRefExprESN_lRSI_Rb:
  547|   107k|{
  548|       |  // FIXME: This routine (and other evaluation parts) are *incredibly* sloppy
  549|       |  // about dealing with modifiers. This will ultimately bite us, one day.
  550|   107k|  const MCSymbolRefExpr *LHS_A = LHS.getSymA();
  551|   107k|  const MCSymbolRefExpr *LHS_B = LHS.getSymB();
  552|   107k|  int64_t LHS_Cst = LHS.getConstant();
  553|       |
  554|       |  // Fold the result constant immediately.
  555|   107k|  int64_t Result_Cst = LHS_Cst + RHS_Cst;
  556|       |
  557|   107k|  assert((!Layout || Asm) &&
  ------------------
  |  Branch (557:3): [True: 90.4k, False: 16.6k]
  |  Branch (557:3): [True: 16.6k, False: 0]
  |  Branch (557:3): [True: 107k, Folded]
  |  Branch (557:3): [True: 107k, False: 0]
  ------------------
  558|   107k|         "Must have an assembler object if layout is given!");
  559|       |
  560|       |  // If we have a layout, we can fold resolved differences.
  561|   107k|  if (Asm) {
  ------------------
  |  Branch (561:7): [True: 41.6k, False: 65.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|  41.6k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, LHS_B,
  573|  41.6k|                                        Result_Cst, valid);
  574|  41.6k|    if (!valid)
  ------------------
  |  Branch (574:9): [True: 0, False: 41.6k]
  ------------------
  575|      0|        return false;
  576|  41.6k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, RHS_B,
  577|  41.6k|                                        Result_Cst, valid);
  578|  41.6k|    if (!valid)
  ------------------
  |  Branch (578:9): [True: 38, False: 41.5k]
  ------------------
  579|     38|        return false;
  580|  41.5k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, LHS_B,
  581|  41.5k|                                        Result_Cst, valid);
  582|  41.5k|    if (!valid)
  ------------------
  |  Branch (582:9): [True: 70, False: 41.5k]
  ------------------
  583|     70|        return false;
  584|  41.5k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, RHS_B,
  585|  41.5k|                                        Result_Cst, valid);
  586|  41.5k|    if (!valid)
  ------------------
  |  Branch (586:9): [True: 0, False: 41.5k]
  ------------------
  587|      0|        return false;
  588|  41.5k|  }
  589|       |
  590|       |  // We can't represent the addition or subtraction of two symbols.
  591|   107k|  if ((LHS_A && RHS_A) || (LHS_B && RHS_B))
  ------------------
  |  Branch (591:8): [True: 77.7k, False: 29.2k]
  |  Branch (591:17): [True: 3.07k, False: 74.6k]
  |  Branch (591:28): [True: 4.48k, False: 99.4k]
  |  Branch (591:37): [True: 2.55k, False: 1.92k]
  ------------------
  592|  5.62k|    return false;
  593|       |
  594|       |  // At this point, we have at most one additive symbol and one subtractive
  595|       |  // symbol -- find them.
  596|   101k|  const MCSymbolRefExpr *A = LHS_A ? LHS_A : RHS_A;
  ------------------
  |  Branch (596:30): [True: 72.5k, False: 28.8k]
  ------------------
  597|   101k|  const MCSymbolRefExpr *B = LHS_B ? LHS_B : RHS_B;
  ------------------
  |  Branch (597:30): [True: 1.92k, False: 99.4k]
  ------------------
  598|       |
  599|   101k|  Res = MCValue::get(A, B, Result_Cst);
  600|   101k|  return true;
  601|   107k|}
MCExpr.cpp:_ZL35AttemptToFoldSymbolOffsetDifferencePKN7llvm_ks11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoIS9_EENS_6detail12DenseMapPairIS9_mEEEEbRPKNS_15MCSymbolRefExprESL_RlRb:
  466|   166k|    const MCSymbolRefExpr *&B, int64_t &Addend, bool &valid) {
  467|   166k|  valid = true;
  468|   166k|  if (!A || !B)
  ------------------
  |  Branch (468:7): [True: 96.2k, False: 70.1k]
  |  Branch (468:13): [True: 56.4k, False: 13.7k]
  ------------------
  469|   152k|    return;
  470|       |
  471|  13.7k|  const MCSymbol &SA = A->getSymbol();
  472|  13.7k|  const MCSymbol &SB = B->getSymbol();
  473|       |
  474|  13.7k|  if (SA.isUndefined() || SB.isUndefined())
  ------------------
  |  Branch (474:7): [True: 2.02k, False: 11.6k]
  |  Branch (474:27): [True: 5.38k, False: 6.28k]
  ------------------
  475|  7.41k|    return;
  476|       |
  477|  6.28k|  if (!Asm->getWriter().isSymbolRefDifferenceFullyResolved(*Asm, A, B, InSet, valid))
  ------------------
  |  Branch (477:7): [True: 187, False: 6.09k]
  ------------------
  478|    187|    return;
  479|  6.09k|  if (!valid)
  ------------------
  |  Branch (479:7): [True: 0, False: 6.09k]
  ------------------
  480|      0|      return;
  481|       |
  482|  6.09k|  if (SA.getFragment() == SB.getFragment() && !SA.isVariable() &&
  ------------------
  |  Branch (482:7): [True: 5.48k, False: 617]
  |  Branch (482:47): [True: 5.01k, False: 467]
  ------------------
  483|  5.01k|      !SB.isVariable()) {
  ------------------
  |  Branch (483:7): [True: 4.61k, False: 400]
  ------------------
  484|  4.61k|    Addend += (SA.getOffset() - SB.getOffset());
  485|       |
  486|       |    // Pointers to Thumb symbols need to have their low-bit set to allow
  487|       |    // for interworking.
  488|  4.61k|    if (Asm->isThumbFunc(&SA))
  ------------------
  |  Branch (488:9): [True: 0, False: 4.61k]
  ------------------
  489|      0|      Addend |= 1;
  490|       |
  491|       |    // Clear the symbol expr pointers to indicate we have folded these
  492|       |    // operands.
  493|  4.61k|    A = B = nullptr;
  494|  4.61k|    return;
  495|  4.61k|  }
  496|       |
  497|  1.48k|  if (!Layout)
  ------------------
  |  Branch (497:7): [True: 646, False: 838]
  ------------------
  498|    646|    return;
  499|       |
  500|    838|  const MCSection &SecA = *SA.getFragment()->getParent();
  501|    838|  const MCSection &SecB = *SB.getFragment()->getParent();
  502|       |
  503|    838|  if ((&SecA != &SecB) && !Addrs)
  ------------------
  |  Branch (503:7): [True: 0, False: 838]
  |  Branch (503:27): [True: 0, False: 0]
  ------------------
  504|      0|    return;
  505|       |
  506|       |  // Eagerly evaluate.
  507|    838|  bool valid1, valid2;
  508|    838|  Addend += Layout->getSymbolOffset(A->getSymbol(), valid1) -
  509|    838|            Layout->getSymbolOffset(B->getSymbol(), valid2);
  510|    838|  if (Addrs && (&SecA != &SecB))
  ------------------
  |  Branch (510:7): [True: 0, False: 838]
  |  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|    838|  if (Asm->isThumbFunc(&SA))
  ------------------
  |  Branch (515:7): [True: 0, False: 838]
  ------------------
  516|      0|    Addend |= 1;
  517|       |
  518|       |  // Clear the symbol expr pointers to indicate we have folded these
  519|       |  // operands.
  520|    838|  A = B = nullptr;
  521|    838|}

_ZN7llvm_ks11MCAsmLayoutC2ERNS_11MCAssemblerE:
   32|  6.46k|  : Assembler(Asm), LastValidFragment()
   33|  6.46k| {
   34|       |  // Compute the section layout order. Virtual sections must go last.
   35|  6.46k|  for (MCSection &Sec : Asm)
  ------------------
  |  Branch (35:23): [True: 6.63k, False: 6.46k]
  ------------------
   36|  6.63k|    if (!Sec.isVirtualSection())
  ------------------
  |  Branch (36:9): [True: 6.62k, False: 14]
  ------------------
   37|  6.62k|      SectionOrder.push_back(&Sec);
   38|  6.46k|  for (MCSection &Sec : Asm)
  ------------------
  |  Branch (38:23): [True: 6.63k, False: 6.46k]
  ------------------
   39|  6.63k|    if (Sec.isVirtualSection())
  ------------------
  |  Branch (39:9): [True: 14, False: 6.62k]
  ------------------
   40|     14|      SectionOrder.push_back(&Sec);
   41|  6.46k|}
_ZNK7llvm_ks11MCAsmLayout15isFragmentValidEPKNS_10MCFragmentE:
   43|   107k|bool MCAsmLayout::isFragmentValid(const MCFragment *F) const {
   44|   107k|  const MCSection *Sec = F->getParent();
   45|   107k|  const MCFragment *LastValid = LastValidFragment.lookup(Sec);
   46|   107k|  if (!LastValid)
  ------------------
  |  Branch (46:7): [True: 13.2k, False: 93.9k]
  ------------------
   47|  13.2k|    return false;
   48|   107k|  assert(LastValid->getParent() == Sec);
  ------------------
  |  Branch (48:3): [True: 93.9k, False: 0]
  ------------------
   49|  93.9k|  return F->getLayoutOrder() <= LastValid->getLayoutOrder();
   50|  93.9k|}
_ZNK7llvm_ks11MCAsmLayout11ensureValidEPKNS_10MCFragmentE:
   63|  47.8k|{
   64|  47.8k|  MCSection *Sec = F->getParent();
   65|  47.8k|  MCSection::iterator I;
   66|  47.8k|  if (MCFragment *Cur = LastValidFragment[Sec])
  ------------------
  |  Branch (66:19): [True: 41.2k, False: 6.63k]
  ------------------
   67|  41.2k|    I = ++MCSection::iterator(Cur);
   68|  6.63k|  else
   69|  6.63k|    I = Sec->begin();
   70|       |
   71|       |  // Advance the layout position until the fragment is valid.
   72|  67.4k|  while (!isFragmentValid(F)) {
  ------------------
  |  Branch (72:10): [True: 24.1k, False: 43.2k]
  ------------------
   73|       |    //assert(I != Sec->end() && "Layout bookkeeping error");
   74|  24.1k|    if (I == Sec->end())
  ------------------
  |  Branch (74:9): [True: 943, False: 23.2k]
  ------------------
   75|    943|        return false;
   76|  23.2k|    if (const_cast<MCAsmLayout *>(this)->layoutFragment(&*I))
  ------------------
  |  Branch (76:9): [True: 3.67k, False: 19.5k]
  ------------------
   77|  3.67k|        return false;
   78|  19.5k|    ++I;
   79|  19.5k|  }
   80|       |
   81|  43.2k|  return true;
   82|  47.8k|}
_ZNK7llvm_ks11MCAsmLayout17getFragmentOffsetEPKNS_10MCFragmentERb:
   85|  47.8k|{
   86|  47.8k|  valid = true;
   87|  47.8k|  if (!ensureValid(F)) {
  ------------------
  |  Branch (87:7): [True: 4.62k, False: 43.2k]
  ------------------
   88|  4.62k|      valid = false;
   89|  4.62k|      return 0;
   90|  4.62k|  }
   91|       |  //assert(F->Offset != ~UINT64_C(0) && "Address not set!");
   92|  43.2k|  if (F->Offset == ~UINT64_C(0)) {
  ------------------
  |  Branch (92:7): [True: 1, False: 43.2k]
  ------------------
   93|      1|      valid = false;
   94|      1|      return 0;
   95|      1|  }
   96|       |
   97|  43.2k|  return F->Offset;
   98|  43.2k|}
_ZNK7llvm_ks11MCAsmLayout15getSymbolOffsetERKNS_8MCSymbolERmRb:
  156|  2.89k|{
  157|  2.89k|  return getSymbolOffsetImpl(*this, S, false, Val, valid);
  158|  2.89k|}
_ZNK7llvm_ks11MCAsmLayout15getSymbolOffsetERKNS_8MCSymbolERb:
  161|  13.6k|{
  162|  13.6k|  uint64_t Val;
  163|  13.6k|  getSymbolOffsetImpl(*this, S, true, Val, valid);
  164|  13.6k|  return Val;
  165|  13.6k|}
_ZNK7llvm_ks11MCAsmLayout18getSectionFileSizeEPKNS_9MCSectionE:
  212|     13|uint64_t MCAsmLayout::getSectionFileSize(const MCSection *Sec) const {
  213|       |  // Virtual sections have no file size.
  214|     13|  if (Sec->isVirtualSection())
  ------------------
  |  Branch (214:7): [True: 13, False: 0]
  ------------------
  215|     13|    return 0;
  216|       |
  217|       |  // Otherwise, the file size is the same as the address space size.
  218|      0|  return getSectionAddressSize(Sec);
  219|     13|}
_ZN7llvm_ks17ilist_node_traitsINS_10MCFragmentEE10deleteNodeEPS1_:
  264|  69.2k|void ilist_node_traits<MCFragment>::deleteNode(MCFragment *V) {
  265|  69.2k|  V->destroy();
  266|  69.2k|}
_ZN7llvm_ks10MCFragmentC2Ev:
  268|  12.9k|MCFragment::MCFragment() : Kind(FragmentType(~0)), HasInstructions(false),
  269|  12.9k|                           AlignToBundleEnd(false), BundlePadding(0) {
  270|  12.9k|}
_ZN7llvm_ks10MCFragmentD2Ev:
  272|   633k|MCFragment::~MCFragment() { }
_ZN7llvm_ks10MCFragmentC2ENS0_12FragmentTypeEbhPNS_9MCSectionE:
  276|   620k|    : Kind(Kind), HasInstructions(HasInstructions), AlignToBundleEnd(false),
  277|   620k|      BundlePadding(BundlePadding), Parent(Parent), Atom(nullptr),
  278|   620k|      Offset(~UINT64_C(0)) {
  279|   620k|  if (Parent && !isDummy())
  ------------------
  |  Branch (279:7): [True: 551k, False: 69.2k]
  |  Branch (279:17): [True: 0, False: 551k]
  ------------------
  280|      0|    Parent->getFragmentList().push_back(this);
  281|   620k|}
_ZN7llvm_ks10MCFragment7destroyEv:
  283|  69.2k|void MCFragment::destroy() {
  284|       |  // First check if we are the sentinal.
  285|  69.2k|  if (Kind == FragmentType(~0)) {
  ------------------
  |  Branch (285:7): [True: 0, False: 69.2k]
  ------------------
  286|      0|    delete this;
  287|      0|    return;
  288|      0|  }
  289|       |
  290|  69.2k|  switch (Kind) {
  ------------------
  |  Branch (290:11): [True: 69.2k, False: 0]
  ------------------
  291|  4.93k|    case FT_Align:
  ------------------
  |  Branch (291:5): [True: 4.93k, False: 64.3k]
  ------------------
  292|  4.93k|      delete cast<MCAlignFragment>(this);
  293|  4.93k|      return;
  294|  8.51k|    case FT_Data:
  ------------------
  |  Branch (294:5): [True: 8.51k, False: 60.7k]
  ------------------
  295|  8.51k|      delete cast<MCDataFragment>(this);
  296|  8.51k|      return;
  297|      0|    case FT_CompactEncodedInst:
  ------------------
  |  Branch (297:5): [True: 0, False: 69.2k]
  ------------------
  298|      0|      delete cast<MCCompactEncodedInstFragment>(this);
  299|      0|      return;
  300|  1.34k|    case FT_Fill:
  ------------------
  |  Branch (300:5): [True: 1.34k, False: 67.9k]
  ------------------
  301|  1.34k|      delete cast<MCFillFragment>(this);
  302|  1.34k|      return;
  303|      0|    case FT_Relaxable:
  ------------------
  |  Branch (303:5): [True: 0, False: 69.2k]
  ------------------
  304|      0|      delete cast<MCRelaxableFragment>(this);
  305|      0|      return;
  306|  54.4k|    case FT_Org:
  ------------------
  |  Branch (306:5): [True: 54.4k, False: 14.7k]
  ------------------
  307|  54.4k|      delete cast<MCOrgFragment>(this);
  308|  54.4k|      return;
  309|      0|    case FT_Dwarf:
  ------------------
  |  Branch (309:5): [True: 0, False: 69.2k]
  ------------------
  310|      0|      delete cast<MCDwarfLineAddrFragment>(this);
  311|      0|      return;
  312|      0|    case FT_DwarfFrame:
  ------------------
  |  Branch (312:5): [True: 0, False: 69.2k]
  ------------------
  313|      0|      delete cast<MCDwarfCallFrameFragment>(this);
  314|      0|      return;
  315|      0|    case FT_LEB:
  ------------------
  |  Branch (315:5): [True: 0, False: 69.2k]
  ------------------
  316|      0|      delete cast<MCLEBFragment>(this);
  317|      0|      return;
  318|      0|    case FT_SafeSEH:
  ------------------
  |  Branch (318:5): [True: 0, False: 69.2k]
  ------------------
  319|      0|      delete cast<MCSafeSEHFragment>(this);
  320|      0|      return;
  321|      0|    case FT_Dummy:
  ------------------
  |  Branch (321:5): [True: 0, False: 69.2k]
  ------------------
  322|      0|      delete cast<MCDummyFragment>(this);
  323|      0|      return;
  324|  69.2k|  }
  325|  69.2k|}
MCFragment.cpp:_ZL19getSymbolOffsetImplRKN7llvm_ks11MCAsmLayoutERKNS_8MCSymbolEbRmRb:
  119|  16.5k|{
  120|  16.5k|  valid = true;
  121|  16.5k|  if (!S.isVariable())
  ------------------
  |  Branch (121:7): [True: 14.9k, False: 1.57k]
  ------------------
  122|  14.9k|    return getLabelOffset(Layout, S, ReportError, Val);
  123|       |
  124|       |  // If SD is a variable, evaluate it.
  125|  1.57k|  MCValue Target;
  126|  1.57k|  if (!S.getVariableValue()->evaluateAsValue(Target, Layout)) {
  ------------------
  |  Branch (126:7): [True: 103, False: 1.46k]
  ------------------
  127|       |    //report_fatal_error("unable to evaluate offset for variable '" +
  128|       |    //                   S.getName() + "'");
  129|    103|    valid = false;
  130|    103|    return false;
  131|    103|  }
  132|       |
  133|  1.46k|  uint64_t Offset = Target.getConstant();
  134|       |
  135|  1.46k|  const MCSymbolRefExpr *A = Target.getSymA();
  136|  1.46k|  if (A) {
  ------------------
  |  Branch (136:7): [True: 1.24k, False: 226]
  ------------------
  137|  1.24k|    uint64_t ValA;
  138|  1.24k|    if (!getLabelOffset(Layout, A->getSymbol(), ReportError, ValA))
  ------------------
  |  Branch (138:9): [True: 424, False: 818]
  ------------------
  139|    424|      return false;
  140|    818|    Offset += ValA;
  141|    818|  }
  142|       |
  143|  1.04k|  const MCSymbolRefExpr *B = Target.getSymB();
  144|  1.04k|  if (B) {
  ------------------
  |  Branch (144:7): [True: 226, False: 818]
  ------------------
  145|    226|    uint64_t ValB;
  146|    226|    if (!getLabelOffset(Layout, B->getSymbol(), ReportError, ValB))
  ------------------
  |  Branch (146:9): [True: 18, False: 208]
  ------------------
  147|     18|      return false;
  148|    208|    Offset -= ValB;
  149|    208|  }
  150|       |
  151|  1.02k|  Val = Offset;
  152|  1.02k|  return true;
  153|  1.04k|}
MCFragment.cpp:_ZL14getLabelOffsetRKN7llvm_ks11MCAsmLayoutERKNS_8MCSymbolEbRm:
  103|  16.4k|{
  104|  16.4k|  if (!S.getFragment()) {
  ------------------
  |  Branch (104:7): [True: 436, False: 16.0k]
  ------------------
  105|    436|    if (ReportError)
  ------------------
  |  Branch (105:9): [True: 0, False: 436]
  ------------------
  106|      0|      report_fatal_error("unable to evaluate offset to undefined symbol '" +
  107|      0|                         S.getName() + "'");
  108|    436|    return false;
  109|    436|  }
  110|       |
  111|  16.0k|  bool valid;
  112|  16.0k|  Val = Layout.getFragmentOffset(S.getFragment(), valid) + S.getOffset();
  113|       |
  114|  16.0k|  return valid;
  115|  16.4k|}

_ZN7llvm_ks16MCObjectFileInfo23initELFMCObjectFileInfoENS_6TripleE:
  267|  12.6k|void MCObjectFileInfo::initELFMCObjectFileInfo(Triple T) {
  268|  12.6k|  switch (T.getArch()) {
  269|      0|  case Triple::mips:
  ------------------
  |  Branch (269:3): [True: 0, False: 12.6k]
  ------------------
  270|      0|  case Triple::mipsel:
  ------------------
  |  Branch (270:3): [True: 0, False: 12.6k]
  ------------------
  271|      0|    FDECFIEncoding = dwarf::DW_EH_PE_sdata4;
  272|      0|    break;
  273|      0|  case Triple::mips64:
  ------------------
  |  Branch (273:3): [True: 0, False: 12.6k]
  ------------------
  274|      0|  case Triple::mips64el:
  ------------------
  |  Branch (274:3): [True: 0, False: 12.6k]
  ------------------
  275|      0|    FDECFIEncoding = dwarf::DW_EH_PE_sdata8;
  276|      0|    break;
  277|      0|  case Triple::x86_64:
  ------------------
  |  Branch (277:3): [True: 0, False: 12.6k]
  ------------------
  278|      0|    break;
  279|  12.6k|  default:
  ------------------
  |  Branch (279:3): [True: 12.6k, False: 0]
  ------------------
  280|  12.6k|    FDECFIEncoding = dwarf::DW_EH_PE_pcrel | dwarf::DW_EH_PE_sdata4;
  281|  12.6k|    break;
  282|  12.6k|  }
  283|       |
  284|  12.6k|  switch (T.getArch()) {
  285|      0|  case Triple::arm:
  ------------------
  |  Branch (285:3): [True: 0, False: 12.6k]
  ------------------
  286|      0|  case Triple::armeb:
  ------------------
  |  Branch (286:3): [True: 0, False: 12.6k]
  ------------------
  287|      0|  case Triple::thumb:
  ------------------
  |  Branch (287:3): [True: 0, False: 12.6k]
  ------------------
  288|      0|  case Triple::thumbeb:
  ------------------
  |  Branch (288:3): [True: 0, False: 12.6k]
  ------------------
  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: 12.6k]
  ------------------
  293|      0|  case Triple::x86:
  ------------------
  |  Branch (293:3): [True: 0, False: 12.6k]
  ------------------
  294|      0|    break;
  295|      0|  case Triple::x86_64:
  ------------------
  |  Branch (295:3): [True: 0, False: 12.6k]
  ------------------
  296|      0|    break;
  297|      0|  case Triple::aarch64:
  ------------------
  |  Branch (297:3): [True: 0, False: 12.6k]
  ------------------
  298|      0|  case Triple::aarch64_be:
  ------------------
  |  Branch (298:3): [True: 0, False: 12.6k]
  ------------------
  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: 12.6k]
  ------------------
  304|      0|  case Triple::mipsel:
  ------------------
  |  Branch (304:3): [True: 0, False: 12.6k]
  ------------------
  305|      0|  case Triple::mips64:
  ------------------
  |  Branch (305:3): [True: 0, False: 12.6k]
  ------------------
  306|      0|  case Triple::mips64el:
  ------------------
  |  Branch (306:3): [True: 0, False: 12.6k]
  ------------------
  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: 12.6k]
  ------------------
  319|      0|  case Triple::ppc64le:
  ------------------
  |  Branch (319:3): [True: 0, False: 12.6k]
  ------------------
  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|  12.6k|  case Triple::sparcel:
  ------------------
  |  Branch (326:3): [True: 12.6k, False: 0]
  ------------------
  327|  12.6k|  case Triple::sparc:
  ------------------
  |  Branch (327:3): [True: 0, False: 12.6k]
  ------------------
  328|  12.6k|    break;
  329|      0|  case Triple::sparcv9:
  ------------------
  |  Branch (329:3): [True: 0, False: 12.6k]
  ------------------
  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: 12.6k]
  ------------------
  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: 12.6k]
  ------------------
  337|      0|    break;
  338|  12.6k|  }
  339|       |
  340|  12.6k|  unsigned EHSectionType = T.getArch() == Triple::x86_64
  ------------------
  |  Branch (340:28): [True: 0, False: 12.6k]
  ------------------
  341|  12.6k|                               ? ELF::SHT_X86_64_UNWIND
  342|  12.6k|                               : ELF::SHT_PROGBITS;
  343|       |
  344|       |  // Solaris requires different flags for .eh_frame to seemingly every other
  345|       |  // platform.
  346|  12.6k|  unsigned EHSectionFlags = ELF::SHF_ALLOC;
  347|  12.6k|  if (T.isOSSolaris() && T.getArch() != Triple::x86_64)
  ------------------
  |  Branch (347:7): [True: 0, False: 12.6k]
  |  Branch (347:26): [True: 0, False: 0]
  ------------------
  348|      0|    EHSectionFlags |= ELF::SHF_WRITE;
  349|       |
  350|       |  // ELF
  351|  12.6k|  BSSSection = Ctx->getELFSection(".bss", ELF::SHT_NOBITS,
  352|  12.6k|                                  ELF::SHF_WRITE | ELF::SHF_ALLOC);
  353|       |
  354|  12.6k|  TextSection = Ctx->getELFSection(".text", ELF::SHT_PROGBITS,
  355|  12.6k|                                   ELF::SHF_EXECINSTR | ELF::SHF_ALLOC);
  356|       |
  357|  12.6k|  DataSection = Ctx->getELFSection(".data", ELF::SHT_PROGBITS,
  358|  12.6k|                                   ELF::SHF_WRITE | ELF::SHF_ALLOC);
  359|       |
  360|  12.6k|  ReadOnlySection =
  361|  12.6k|      Ctx->getELFSection(".rodata", ELF::SHT_PROGBITS, ELF::SHF_ALLOC);
  362|       |
  363|  12.6k|  TLSDataSection =
  364|  12.6k|      Ctx->getELFSection(".tdata", ELF::SHT_PROGBITS,
  365|  12.6k|                         ELF::SHF_ALLOC | ELF::SHF_TLS | ELF::SHF_WRITE);
  366|       |
  367|  12.6k|  TLSBSSSection = Ctx->getELFSection(
  368|  12.6k|      ".tbss", ELF::SHT_NOBITS, ELF::SHF_ALLOC | ELF::SHF_TLS | ELF::SHF_WRITE);
  369|       |
  370|  12.6k|  DataRelROSection = Ctx->getELFSection(".data.rel.ro", ELF::SHT_PROGBITS,
  371|  12.6k|                                        ELF::SHF_ALLOC | ELF::SHF_WRITE);
  372|       |
  373|  12.6k|  MergeableConst4Section =
  374|  12.6k|      Ctx->getELFSection(".rodata.cst4", ELF::SHT_PROGBITS,
  375|  12.6k|                         ELF::SHF_ALLOC | ELF::SHF_MERGE, 4, "");
  376|       |
  377|  12.6k|  MergeableConst8Section =
  378|  12.6k|      Ctx->getELFSection(".rodata.cst8", ELF::SHT_PROGBITS,
  379|  12.6k|                         ELF::SHF_ALLOC | ELF::SHF_MERGE, 8, "");
  380|       |
  381|  12.6k|  MergeableConst16Section =
  382|  12.6k|      Ctx->getELFSection(".rodata.cst16", ELF::SHT_PROGBITS,
  383|  12.6k|                         ELF::SHF_ALLOC | ELF::SHF_MERGE, 16, "");
  384|       |
  385|  12.6k|  StaticCtorSection = Ctx->getELFSection(".ctors", ELF::SHT_PROGBITS,
  386|  12.6k|                                         ELF::SHF_ALLOC | ELF::SHF_WRITE);
  387|       |
  388|  12.6k|  StaticDtorSection = Ctx->getELFSection(".dtors", ELF::SHT_PROGBITS,
  389|  12.6k|                                         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|  12.6k|  LSDASection = Ctx->getELFSection(".gcc_except_table", ELF::SHT_PROGBITS,
  398|  12.6k|                                   ELF::SHF_ALLOC);
  399|       |
  400|  12.6k|  COFFDebugSymbolsSection = nullptr;
  401|  12.6k|  COFFDebugTypesSection = nullptr;
  402|       |
  403|       |  // Debug Info Sections.
  404|  12.6k|  DwarfAbbrevSection = Ctx->getELFSection(".debug_abbrev", ELF::SHT_PROGBITS, 0,
  405|  12.6k|                                          "section_abbrev");
  406|  12.6k|  DwarfInfoSection =
  407|  12.6k|      Ctx->getELFSection(".debug_info", ELF::SHT_PROGBITS, 0, "section_info");
  408|  12.6k|  DwarfLineSection = Ctx->getELFSection(".debug_line", ELF::SHT_PROGBITS, 0);
  409|  12.6k|  DwarfFrameSection = Ctx->getELFSection(".debug_frame", ELF::SHT_PROGBITS, 0);
  410|  12.6k|  DwarfPubNamesSection =
  411|  12.6k|      Ctx->getELFSection(".debug_pubnames", ELF::SHT_PROGBITS, 0);
  412|  12.6k|  DwarfPubTypesSection =
  413|  12.6k|      Ctx->getELFSection(".debug_pubtypes", ELF::SHT_PROGBITS, 0);
  414|  12.6k|  DwarfGnuPubNamesSection =
  415|  12.6k|      Ctx->getELFSection(".debug_gnu_pubnames", ELF::SHT_PROGBITS, 0);
  416|  12.6k|  DwarfGnuPubTypesSection =
  417|  12.6k|      Ctx->getELFSection(".debug_gnu_pubtypes", ELF::SHT_PROGBITS, 0);
  418|  12.6k|  DwarfStrSection =
  419|  12.6k|      Ctx->getELFSection(".debug_str", ELF::SHT_PROGBITS,
  420|  12.6k|                         ELF::SHF_MERGE | ELF::SHF_STRINGS, 1, "");
  421|  12.6k|  DwarfLocSection = Ctx->getELFSection(".debug_loc", ELF::SHT_PROGBITS, 0);
  422|  12.6k|  DwarfARangesSection =
  423|  12.6k|      Ctx->getELFSection(".debug_aranges", ELF::SHT_PROGBITS, 0);
  424|  12.6k|  DwarfRangesSection =
  425|  12.6k|      Ctx->getELFSection(".debug_ranges", ELF::SHT_PROGBITS, 0, "debug_range");
  426|  12.6k|  DwarfMacinfoSection = Ctx->getELFSection(".debug_macinfo", ELF::SHT_PROGBITS,
  427|  12.6k|                                           0, "debug_macinfo");
  428|       |
  429|       |  // DWARF5 Experimental Debug Info
  430|       |
  431|       |  // Accelerator Tables
  432|  12.6k|  DwarfAccelNamesSection =
  433|  12.6k|      Ctx->getELFSection(".apple_names", ELF::SHT_PROGBITS, 0, "names_begin");
  434|  12.6k|  DwarfAccelObjCSection =
  435|  12.6k|      Ctx->getELFSection(".apple_objc", ELF::SHT_PROGBITS, 0, "objc_begin");
  436|  12.6k|  DwarfAccelNamespaceSection = Ctx->getELFSection(
  437|  12.6k|      ".apple_namespaces", ELF::SHT_PROGBITS, 0, "namespac_begin");
  438|  12.6k|  DwarfAccelTypesSection =
  439|  12.6k|      Ctx->getELFSection(".apple_types", ELF::SHT_PROGBITS, 0, "types_begin");
  440|       |
  441|       |  // Fission Sections
  442|  12.6k|  DwarfInfoDWOSection =
  443|  12.6k|      Ctx->getELFSection(".debug_info.dwo", ELF::SHT_PROGBITS, 0);
  444|  12.6k|  DwarfTypesDWOSection =
  445|  12.6k|      Ctx->getELFSection(".debug_types.dwo", ELF::SHT_PROGBITS, 0);
  446|  12.6k|  DwarfAbbrevDWOSection =
  447|  12.6k|      Ctx->getELFSection(".debug_abbrev.dwo", ELF::SHT_PROGBITS, 0);
  448|  12.6k|  DwarfStrDWOSection =
  449|  12.6k|      Ctx->getELFSection(".debug_str.dwo", ELF::SHT_PROGBITS,
  450|  12.6k|                         ELF::SHF_MERGE | ELF::SHF_STRINGS, 1, "");
  451|  12.6k|  DwarfLineDWOSection =
  452|  12.6k|      Ctx->getELFSection(".debug_line.dwo", ELF::SHT_PROGBITS, 0);
  453|  12.6k|  DwarfLocDWOSection =
  454|  12.6k|      Ctx->getELFSection(".debug_loc.dwo", ELF::SHT_PROGBITS, 0, "skel_loc");
  455|  12.6k|  DwarfStrOffDWOSection =
  456|  12.6k|      Ctx->getELFSection(".debug_str_offsets.dwo", ELF::SHT_PROGBITS, 0);
  457|  12.6k|  DwarfAddrSection =
  458|  12.6k|      Ctx->getELFSection(".debug_addr", ELF::SHT_PROGBITS, 0, "addr_sec");
  459|       |
  460|       |  // DWP Sections
  461|  12.6k|  DwarfCUIndexSection =
  462|  12.6k|      Ctx->getELFSection(".debug_cu_index", ELF::SHT_PROGBITS, 0);
  463|  12.6k|  DwarfTUIndexSection =
  464|  12.6k|      Ctx->getELFSection(".debug_tu_index", ELF::SHT_PROGBITS, 0);
  465|       |
  466|  12.6k|  StackMapSection =
  467|  12.6k|      Ctx->getELFSection(".llvm_stackmaps", ELF::SHT_PROGBITS, ELF::SHF_ALLOC);
  468|       |
  469|  12.6k|  FaultMapSection =
  470|  12.6k|      Ctx->getELFSection(".llvm_faultmaps", ELF::SHT_PROGBITS, ELF::SHF_ALLOC);
  471|       |
  472|  12.6k|  EHFrameSection =
  473|  12.6k|      Ctx->getELFSection(".eh_frame", EHSectionType, EHSectionFlags);
  474|  12.6k|}
_ZN7llvm_ks16MCObjectFileInfo20InitMCObjectFileInfoERKNS_6TripleERNS_9MCContextE:
  715|  12.6k|                                            MCContext &ctx) {
  716|  12.6k|  Ctx = &ctx;
  717|       |
  718|       |  // Common.
  719|  12.6k|  CommDirectiveSupportsAlignment = true;
  720|  12.6k|  SupportsWeakOmittedEHFrame = true;
  721|  12.6k|  SupportsCompactUnwindWithoutEHFrame = false;
  722|  12.6k|  OmitDwarfIfHaveCompactUnwind = false;
  723|       |
  724|  12.6k|  PersonalityEncoding = LSDAEncoding = FDECFIEncoding = TTypeEncoding =
  725|  12.6k|      dwarf::DW_EH_PE_absptr;
  726|       |
  727|  12.6k|  CompactUnwindDwarfEHFrameOnly = 0;
  728|       |
  729|  12.6k|  EHFrameSection = nullptr;             // Created on demand.
  730|  12.6k|  CompactUnwindSection = nullptr;       // Used only by selected targets.
  731|  12.6k|  DwarfAccelNamesSection = nullptr;     // Used only by selected targets.
  732|  12.6k|  DwarfAccelObjCSection = nullptr;      // Used only by selected targets.
  733|  12.6k|  DwarfAccelNamespaceSection = nullptr; // Used only by selected targets.
  734|  12.6k|  DwarfAccelTypesSection = nullptr;     // Used only by selected targets.
  735|       |
  736|  12.6k|  TT = TheTriple;
  737|       |
  738|  12.6k|  switch (TT.getObjectFormat()) {
  ------------------
  |  Branch (738:11): [True: 12.6k, False: 0]
  ------------------
  739|      0|  case Triple::MachO:
  ------------------
  |  Branch (739:3): [True: 0, False: 12.6k]
  ------------------
  740|      0|    Env = IsMachO;
  741|      0|    initMachOMCObjectFileInfo(TT);
  742|      0|    break;
  743|      0|  case Triple::COFF:
  ------------------
  |  Branch (743:3): [True: 0, False: 12.6k]
  ------------------
  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|  12.6k|  case Triple::ELF:
  ------------------
  |  Branch (751:3): [True: 12.6k, False: 0]
  ------------------
  752|  12.6k|    Env = IsELF;
  753|  12.6k|    initELFMCObjectFileInfo(TT);
  754|  12.6k|    break;
  755|      0|  case Triple::UnknownObjectFormat:
  ------------------
  |  Branch (755:3): [True: 0, False: 12.6k]
  ------------------
  756|      0|    report_fatal_error("Cannot initialize MC for unknown object file format.");
  757|      0|    break;
  758|  12.6k|  }
  759|  12.6k|}

_ZN7llvm_ks16MCObjectStreamerC2ERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterE:
   32|  12.6k|    : MCStreamer(Context),
   33|  12.6k|      Assembler(new MCAssembler(Context, TAB, *Emitter_,
   34|  12.6k|                                *TAB.createObjectWriter(OS))),
   35|  12.6k|      EmitEHFrame(true), EmitDebugFrame(false) {}
_ZN7llvm_ks16MCObjectStreamerD2Ev:
   37|  12.6k|MCObjectStreamer::~MCObjectStreamer() {
   38|  12.6k|  delete &Assembler->getWriter();
   39|  12.6k|  delete Assembler;
   40|  12.6k|}
_ZN7llvm_ks16MCObjectStreamer18flushPendingLabelsEPNS_10MCFragmentEm:
   42|  48.1M|void MCObjectStreamer::flushPendingLabels(MCFragment *F, uint64_t FOffset) {
   43|  48.1M|  if (PendingLabels.empty())
  ------------------
  |  Branch (43:7): [True: 48.0M, False: 26.4k]
  ------------------
   44|  48.0M|    return;
   45|  26.4k|  if (!F) {
  ------------------
  |  Branch (45:7): [True: 4.63k, False: 21.8k]
  ------------------
   46|  4.63k|    F = new MCDataFragment();
   47|  4.63k|    MCSection *CurSection = getCurrentSectionOnly();
   48|  4.63k|    CurSection->getFragmentList().insert(CurInsertionPoint, F);
   49|  4.63k|    F->setParent(CurSection);
   50|  4.63k|  }
   51|  42.2k|  for (MCSymbol *Sym : PendingLabels) {
  ------------------
  |  Branch (51:22): [True: 42.2k, False: 26.4k]
  ------------------
   52|  42.2k|    Sym->setFragment(F);
   53|  42.2k|    Sym->setOffset(FOffset);
   54|  42.2k|  }
   55|  26.4k|  PendingLabels.clear();
   56|  26.4k|}
_ZN7llvm_ks16MCObjectStreamer10EmitFramesEPNS_12MCAsmBackendE:
   83|  6.46k|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|  6.46k|}
_ZNK7llvm_ks16MCObjectStreamer18getCurrentFragmentEv:
   96|  49.0M|MCFragment *MCObjectStreamer::getCurrentFragment() const {
   97|  49.0M|  assert(getCurrentSectionOnly() && "No current section!");
  ------------------
  |  Branch (97:3): [True: 49.0M, False: 0]
  |  Branch (97:3): [True: 49.0M, Folded]
  |  Branch (97:3): [True: 49.0M, False: 0]
  ------------------
   98|       |
   99|  49.0M|  if (CurInsertionPoint != getCurrentSectionOnly()->getFragmentList().begin())
  ------------------
  |  Branch (99:7): [True: 48.1M, False: 889k]
  ------------------
  100|  48.1M|    return &*std::prev(CurInsertionPoint);
  101|       |
  102|   889k|  return nullptr;
  103|  49.0M|}
_ZN7llvm_ks16MCObjectStreamer23getOrCreateDataFragmentEv:
  105|  48.0M|MCDataFragment *MCObjectStreamer::getOrCreateDataFragment() {
  106|  48.0M|  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|  48.0M|  if (!F || (Assembler->isBundlingEnabled() && !Assembler->getRelaxAll() &&
  ------------------
  |  Branch (109:7): [True: 3.88k, False: 48.0M]
  |  Branch (109:14): [True: 0, False: 48.0M]
  |  Branch (109:48): [True: 0, False: 0]
  ------------------
  110|  3.88k|             F->hasInstructions())) {
  ------------------
  |  Branch (110:14): [True: 0, False: 0]
  ------------------
  111|  3.88k|    F = new MCDataFragment();
  112|  3.88k|    insert(F);
  113|  3.88k|  }
  114|  48.0M|  return F;
  115|  48.0M|}
_ZN7llvm_ks16MCObjectStreamer15visitUsedSymbolERKNS_8MCSymbolE:
  117|  99.6k|void MCObjectStreamer::visitUsedSymbol(const MCSymbol &Sym) {
  118|  99.6k|  Assembler->registerSymbol(Sym);
  119|  99.6k|}
_ZN7llvm_ks16MCObjectStreamer13EmitValueImplEPKNS_6MCExprEjNS_5SMLocE:
  129|  30.4k|{
  130|  30.4k|  MCStreamer::EmitValueImpl(Value, Size, Loc);
  131|  30.4k|  MCDataFragment *DF = getOrCreateDataFragment();
  132|  30.4k|  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|  30.4k|  int64_t AbsValue;
  149|  30.4k|  bool Error;
  150|  30.4k|  if (Value->evaluateAsAbsolute(AbsValue, getAssembler())) {
  ------------------
  |  Branch (150:7): [True: 7.77k, False: 22.7k]
  ------------------
  151|       |    // TODO: hande Error?
  152|  7.77k|    EmitIntValue(AbsValue, Size, Error);
  153|  7.77k|    return;
  154|  7.77k|  }
  155|  22.7k|  DF->getFixups().push_back(
  156|  22.7k|      MCFixup::create(DF->getContents().size(), Value,
  157|  22.7k|                      MCFixup::getKindForSize(Size, false), Loc));
  158|  22.7k|  DF->getContents().resize(DF->getContents().size() + Size, 0);
  159|  22.7k|}
_ZN7llvm_ks16MCObjectStreamer9EmitLabelEPNS_8MCSymbolE:
  172|  74.7k|void MCObjectStreamer::EmitLabel(MCSymbol *Symbol) {
  173|  74.7k|  MCStreamer::EmitLabel(Symbol);
  174|       |
  175|  74.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|  74.7k|  auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  181|  74.7k|  if (F && !(getAssembler().isBundlingEnabled() &&
  ------------------
  |  Branch (181:7): [True: 21.7k, False: 52.9k]
  |  Branch (181:14): [True: 0, False: 21.7k]
  ------------------
  182|  21.7k|             getAssembler().getRelaxAll())) {
  ------------------
  |  Branch (182:14): [True: 0, False: 0]
  ------------------
  183|  21.7k|    Symbol->setFragment(F);
  184|  21.7k|    Symbol->setOffset(F->getContents().size());
  185|  52.9k|  } else {
  186|  52.9k|    PendingLabels.push_back(Symbol);
  187|  52.9k|  }
  188|  74.7k|}
_ZN7llvm_ks16MCObjectStreamer13ChangeSectionEPNS_9MCSectionEPKNS_6MCExprE:
  214|  20.8k|                                     const MCExpr *Subsection) {
  215|  20.8k|  changeSectionImpl(Section, Subsection);
  216|  20.8k|}
_ZN7llvm_ks16MCObjectStreamer17changeSectionImplEPNS_9MCSectionEPKNS_6MCExprE:
  219|  20.8k|                                         const MCExpr *Subsection) {
  220|  20.8k|  assert(Section && "Cannot switch to a null section!");
  ------------------
  |  Branch (220:3): [True: 20.8k, False: 0]
  |  Branch (220:3): [True: 20.8k, Folded]
  |  Branch (220:3): [True: 20.8k, False: 0]
  ------------------
  221|  20.8k|  flushPendingLabels(nullptr);
  222|       |
  223|  20.8k|  bool Created = getAssembler().registerSection(*Section);
  224|       |
  225|  20.8k|  int64_t IntSubsection = 0;
  226|  20.8k|  if (Subsection &&
  ------------------
  |  Branch (226:7): [True: 0, False: 20.8k]
  ------------------
  227|      0|      !Subsection->evaluateAsAbsolute(IntSubsection, getAssembler()))
  ------------------
  |  Branch (227:7): [True: 0, False: 0]
  ------------------
  228|      0|    report_fatal_error("Cannot evaluate subsection number");
  229|  20.8k|  if (IntSubsection < 0 || IntSubsection > 8192)
  ------------------
  |  Branch (229:7): [True: 0, False: 20.8k]
  |  Branch (229:28): [True: 0, False: 20.8k]
  ------------------
  230|      0|    report_fatal_error("Subsection number out of range");
  231|  20.8k|  CurInsertionPoint =
  232|  20.8k|      Section->getSubsectionInsertionPoint(unsigned(IntSubsection));
  233|  20.8k|  return Created;
  234|  20.8k|}
_ZN7llvm_ks16MCObjectStreamer14EmitAssignmentEPNS_8MCSymbolEPKNS_6MCExprE:
  236|  39.8k|bool MCObjectStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
  237|  39.8k|  getAssembler().registerSymbol(*Symbol);
  238|  39.8k|  return MCStreamer::EmitAssignment(Symbol, Value);
  239|  39.8k|}
_ZN7llvm_ks16MCObjectStreamer15EmitInstructionERNS_6MCInstERKNS_15MCSubtargetInfoERj:
  248|  3.39k|{
  249|  3.39k|  MCStreamer::EmitInstruction(Inst, STI, KsError);
  250|       |
  251|  3.39k|  MCSection *Sec = getCurrentSectionOnly();
  252|  3.39k|  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|  3.39k|  MCAssembler &Assembler = getAssembler();
  261|  3.39k|  if (!Assembler.getBackend().mayNeedRelaxation(Inst)) {
  ------------------
  |  Branch (261:7): [True: 3.39k, False: 0]
  ------------------
  262|  3.39k|    EmitInstToData(Inst, STI, KsError);
  263|  3.39k|    return;
  264|  3.39k|  }
  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|      0|  if (Assembler.getRelaxAll() ||
  ------------------
  |  Branch (271:7): [True: 0, False: 0]
  ------------------
  272|      0|      (Assembler.isBundlingEnabled() && Sec->isBundleLocked())) {
  ------------------
  |  Branch (272:8): [True: 0, False: 0]
  |  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|      0|  EmitInstToFragment(Inst, STI);
  283|      0|}
_ZN7llvm_ks16MCObjectStreamer9EmitBytesENS_9StringRefE:
  428|  47.9M|void MCObjectStreamer::EmitBytes(StringRef Data) {
  429|       |  //MCCVLineEntry::Make(this);
  430|       |  //MCDwarfLineEntry::Make(this, getCurrentSection().first);
  431|  47.9M|  MCDataFragment *DF = getOrCreateDataFragment();
  432|  47.9M|  flushPendingLabels(DF, DF->getContents().size());
  433|  47.9M|  DF->getContents().append(Data.begin(), Data.end());
  434|  47.9M|}
_ZN7llvm_ks16MCObjectStreamer20EmitValueToAlignmentEjljj:
  439|  4.93k|                                            unsigned MaxBytesToEmit) {
  440|  4.93k|  if (MaxBytesToEmit == 0)
  ------------------
  |  Branch (440:7): [True: 3.87k, False: 1.06k]
  ------------------
  441|  3.87k|    MaxBytesToEmit = ByteAlignment;
  442|  4.93k|  insert(new MCAlignFragment(ByteAlignment, Value, ValueSize, MaxBytesToEmit));
  443|       |
  444|       |  // Update the maximum alignment on the current section if necessary.
  445|  4.93k|  MCSection *CurSec = getCurrentSection().first;
  446|  4.93k|  if (ByteAlignment > CurSec->getAlignment())
  ------------------
  |  Branch (446:7): [True: 170, False: 4.76k]
  ------------------
  447|    170|    CurSec->setAlignment(ByteAlignment);
  448|  4.93k|}
_ZN7llvm_ks16MCObjectStreamer17EmitCodeAlignmentEjj:
  451|  1.88k|                                         unsigned MaxBytesToEmit) {
  452|  1.88k|  EmitValueToAlignment(ByteAlignment, 0, 1, MaxBytesToEmit);
  453|  1.88k|  cast<MCAlignFragment>(getCurrentFragment())->setEmitNops(true);
  454|  1.88k|}
_ZN7llvm_ks16MCObjectStreamer17emitValueToOffsetEPKNS_6MCExprEh:
  457|  54.4k|                                         unsigned char Value) {
  458|  54.4k|  insert(new MCOrgFragment(*Offset, Value));
  459|  54.4k|}
_ZN7llvm_ks16MCObjectStreamer18EmitRelocDirectiveERKNS_6MCExprENS_9StringRefEPS2_NS_5SMLocE:
  482|    162|                                          const MCExpr *Expr, SMLoc Loc) {
  483|    162|  int64_t OffsetValue;
  484|    162|  if (!Offset.evaluateAsAbsolute(OffsetValue))
  ------------------
  |  Branch (484:7): [True: 0, False: 162]
  ------------------
  485|      0|    llvm_unreachable("Offset is not absolute");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  486|       |
  487|    162|  if (OffsetValue < 0)
  ------------------
  |  Branch (487:7): [True: 0, False: 162]
  ------------------
  488|      0|    llvm_unreachable("Offset is negative");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  489|       |
  490|    162|  MCDataFragment *DF = getOrCreateDataFragment();
  491|    162|  flushPendingLabels(DF, DF->getContents().size());
  492|       |
  493|    162|  Optional<MCFixupKind> MaybeKind = Assembler->getBackend().getFixupKind(Name);
  494|    162|  if (!MaybeKind.hasValue())
  ------------------
  |  Branch (494:7): [True: 162, False: 0]
  ------------------
  495|    162|    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|    162|}
_ZN7llvm_ks16MCObjectStreamer8EmitFillEmh:
  506|  1.34k|void MCObjectStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue) {
  507|  1.34k|  const MCSection *Sec = getCurrentSection().first;
  508|  1.34k|  (void)Sec;
  509|  1.34k|  assert(Sec && "need a section");
  ------------------
  |  Branch (509:3): [True: 1.34k, False: 0]
  |  Branch (509:3): [True: 1.34k, Folded]
  |  Branch (509:3): [True: 1.34k, False: 0]
  ------------------
  510|  1.34k|  insert(new MCFillFragment(FillValue, NumBytes));
  511|  1.34k|}
_ZN7llvm_ks16MCObjectStreamer10FinishImplEv:
  514|  6.46k|{
  515|  6.46k|  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|  6.46k|  flushPendingLabels(nullptr);
  524|  6.46k|  getAssembler().setSymResolver(getSymResolver());
  525|  6.46k|  getAssembler().Finish(KsError);
  526|       |
  527|  6.46k|  return KsError;
  528|  6.46k|}
_ZN7llvm_ks16MCObjectStreamer22getCurrentFragmentSizeEv:
  530|   934k|uint64_t MCObjectStreamer::getCurrentFragmentSize() {
  531|   934k|  auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  532|   934k|  if (nullptr != F)
  ------------------
  |  Branch (532:7): [True: 37.2k, False: 897k]
  ------------------
  533|  37.2k|      return F->getContents().size();
  534|   897k|  return 0;
  535|   934k|}

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

_ZN7llvm_ks8AsmLexerC2ERKNS_9MCAsmInfoE:
   24|  12.6k|AsmLexer::AsmLexer(const MCAsmInfo &MAI) : MAI(MAI) {
   25|  12.6k|  CurPtr = nullptr;
   26|  12.6k|  isAtStartOfLine = true;
   27|  12.6k|  AllowAtInIdentifier = !StringRef(MAI.getCommentString()).startswith("@");
   28|  12.6k|  defaultRadix = MAI.getRadix();
   29|  12.6k|}
_ZN7llvm_ks8AsmLexerD2Ev:
   31|  12.6k|AsmLexer::~AsmLexer() {
   32|  12.6k|}
_ZN7llvm_ks8AsmLexer9setBufferENS_9StringRefEPKc:
   34|  59.4k|void AsmLexer::setBuffer(StringRef Buf, const char *ptr) {
   35|  59.4k|  CurBuf = Buf;
   36|       |
   37|  59.4k|  if (ptr)
  ------------------
  |  Branch (37:7): [True: 23.3k, False: 36.0k]
  ------------------
   38|  23.3k|    CurPtr = ptr;
   39|  36.0k|  else
   40|  36.0k|    CurPtr = CurBuf.begin();
   41|       |
   42|  59.4k|  TokStart = nullptr;
   43|  59.4k|}
_ZN7llvm_ks8AsmLexer11ReturnErrorEPKcRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
   48|  1.50M|{
   49|       |  //SetError(SMLoc::getFromPointer(Loc), Msg);
   50|       |
   51|  1.50M|  return AsmToken(AsmToken::Error, StringRef(Loc, 0));
   52|  1.50M|}
_ZN7llvm_ks8AsmLexer11getNextCharEv:
   54|  13.0M|int AsmLexer::getNextChar() {
   55|  13.0M|  char CurChar = *CurPtr++;
   56|  13.0M|  switch (CurChar) {
   57|  13.0M|  default:
  ------------------
  |  Branch (57:3): [True: 13.0M, False: 22.8k]
  ------------------
   58|  13.0M|    return (unsigned char)CurChar;
   59|  22.8k|  case 0:
  ------------------
  |  Branch (59:3): [True: 22.8k, False: 13.0M]
  ------------------
   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|  22.8k|    if (CurPtr - 1 != CurBuf.end())
  ------------------
  |  Branch (62:9): [True: 0, False: 22.8k]
  ------------------
   63|      0|      return 0;  // Just whitespace.
   64|       |
   65|       |    // Otherwise, return end of file.
   66|  22.8k|    --CurPtr;  // Another call to lex will return EOF again.
   67|       |    return EOF;
   68|  13.0M|  }
   69|  13.0M|}
_ZN7llvm_ks8AsmLexer15LexFloatLiteralEv:
   76|  24.1k|AsmToken AsmLexer::LexFloatLiteral() {
   77|       |  // Skip the fractional digit sequence.
   78|  24.1k|  while (isdigit(*CurPtr))
  ------------------
  |  Branch (78:10): [True: 0, False: 24.1k]
  ------------------
   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|  24.1k|  if (*CurPtr == 'e' || *CurPtr == 'E') {
  ------------------
  |  Branch (84:7): [True: 1.47k, False: 22.7k]
  |  Branch (84:25): [True: 6.19k, False: 16.5k]
  ------------------
   85|  7.67k|    ++CurPtr;
   86|  7.67k|    if (*CurPtr == '-' || *CurPtr == '+')
  ------------------
  |  Branch (86:9): [True: 1.06k, False: 6.60k]
  |  Branch (86:27): [True: 278, False: 6.32k]
  ------------------
   87|  1.34k|      ++CurPtr;
   88|  27.2k|    while (isdigit(*CurPtr))
  ------------------
  |  Branch (88:12): [True: 19.6k, False: 7.67k]
  ------------------
   89|  19.6k|      ++CurPtr;
   90|  7.67k|  }
   91|       |
   92|  24.1k|  return AsmToken(AsmToken::Real,
   93|  24.1k|                  StringRef(TokStart, CurPtr - TokStart));
   94|  24.1k|}
_ZN7llvm_ks8AsmLexer18LexHexFloatLiteralEb:
  103|  6.92k|{
  104|  6.92k|  assert((*CurPtr == 'p' || *CurPtr == 'P' || *CurPtr == '.') &&
  ------------------
  |  Branch (104:3): [True: 4.70k, False: 2.21k]
  |  Branch (104:3): [True: 1.04k, False: 1.17k]
  |  Branch (104:3): [True: 1.17k, False: 0]
  |  Branch (104:3): [True: 6.92k, Folded]
  |  Branch (104:3): [True: 6.92k, False: 0]
  ------------------
  105|  6.92k|         "unexpected parse state in floating hex");
  106|  6.92k|  bool NoFracDigits = true;
  107|       |
  108|       |  // Skip the fractional part if there is one
  109|  6.92k|  if (*CurPtr == '.') {
  ------------------
  |  Branch (109:7): [True: 1.17k, False: 5.74k]
  ------------------
  110|  1.17k|    ++CurPtr;
  111|       |
  112|  1.17k|    const char *FracStart = CurPtr;
  113|  13.7k|    while (isxdigit(*CurPtr))
  ------------------
  |  Branch (113:12): [True: 12.5k, False: 1.17k]
  ------------------
  114|  12.5k|      ++CurPtr;
  115|       |
  116|  1.17k|    NoFracDigits = CurPtr == FracStart;
  117|  1.17k|  }
  118|       |
  119|  6.92k|  if (NoIntDigits && NoFracDigits)
  ------------------
  |  Branch (119:7): [True: 881, False: 6.04k]
  |  Branch (119:22): [True: 341, False: 540]
  ------------------
  120|    341|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  121|    341|                                 "expected at least one significand digit");
  122|       |
  123|       |  // Make sure we do have some kind of proper exponent part
  124|  6.58k|  if (*CurPtr != 'p' && *CurPtr != 'P')
  ------------------
  |  Branch (124:7): [True: 1.62k, False: 4.96k]
  |  Branch (124:25): [True: 420, False: 1.20k]
  ------------------
  125|    420|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  126|    420|                                 "expected exponent part 'p'");
  127|  6.16k|  ++CurPtr;
  128|       |
  129|  6.16k|  if (*CurPtr == '+' || *CurPtr == '-')
  ------------------
  |  Branch (129:7): [True: 715, False: 5.44k]
  |  Branch (129:25): [True: 3.12k, False: 2.32k]
  ------------------
  130|  3.83k|    ++CurPtr;
  131|       |
  132|       |  // N.b. exponent digits are *not* hex
  133|  6.16k|  const char *ExpStart = CurPtr;
  134|  35.6k|  while (isdigit(*CurPtr))
  ------------------
  |  Branch (134:10): [True: 29.5k, False: 6.16k]
  ------------------
  135|  29.5k|    ++CurPtr;
  136|       |
  137|  6.16k|  if (CurPtr == ExpStart)
  ------------------
  |  Branch (137:7): [True: 130, False: 6.03k]
  ------------------
  138|    130|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  139|    130|                                 "expected at least one exponent digit");
  140|       |
  141|  6.03k|  return AsmToken(AsmToken::Real, StringRef(TokStart, CurPtr - TokStart));
  142|  6.16k|}
_ZN7llvm_ks8AsmLexer13LexIdentifierEv:
  149|  2.50M|AsmToken AsmLexer::LexIdentifier() {
  150|       |  // Check for floating point literals.
  151|  2.50M|  if (CurPtr[-1] == '.' && isdigit(*CurPtr)) {
  ------------------
  |  Branch (151:7): [True: 1.39M, False: 1.11M]
  |  Branch (151:28): [True: 36.4k, False: 1.35M]
  ------------------
  152|       |    // Disambiguate a .1243foo identifier from a floating literal.
  153|   222k|    while (isdigit(*CurPtr))
  ------------------
  |  Branch (153:12): [True: 186k, False: 36.4k]
  ------------------
  154|   186k|      ++CurPtr;
  155|  36.4k|    if (*CurPtr == 'e' || *CurPtr == 'E' ||
  ------------------
  |  Branch (155:9): [True: 1.47k, False: 34.9k]
  |  Branch (155:27): [True: 6.19k, False: 28.7k]
  ------------------
  156|  28.7k|        !IsIdentifierChar(*CurPtr, AllowAtInIdentifier))
  ------------------
  |  Branch (156:9): [True: 16.5k, False: 12.2k]
  ------------------
  157|  24.1k|      return LexFloatLiteral();
  158|  36.4k|  }
  159|       |
  160|  25.2M|  while (IsIdentifierChar(*CurPtr, AllowAtInIdentifier))
  ------------------
  |  Branch (160:10): [True: 22.7M, False: 2.48M]
  ------------------
  161|  22.7M|    ++CurPtr;
  162|       |
  163|       |  // Handle . as a special case.
  164|  2.48M|  if (CurPtr == TokStart+1 && TokStart[0] == '.')
  ------------------
  |  Branch (164:7): [True: 1.08M, False: 1.39M]
  |  Branch (164:31): [True: 157k, False: 928k]
  ------------------
  165|   157k|    return AsmToken(AsmToken::Dot, StringRef(TokStart, 1));
  166|       |
  167|  2.32M|  return AsmToken(AsmToken::Identifier, StringRef(TokStart, CurPtr - TokStart));
  168|  2.48M|}
_ZN7llvm_ks8AsmLexer8LexSlashEv:
  173|  16.1k|{
  174|  16.1k|  switch (*CurPtr) {
  175|    310|  case '*': break; // C style comment.
  ------------------
  |  Branch (175:3): [True: 310, False: 15.8k]
  ------------------
  176|  2.15k|  case '/': return ++CurPtr, LexLineComment();
  ------------------
  |  Branch (176:3): [True: 2.15k, False: 13.9k]
  ------------------
  177|  13.6k|  default:  return AsmToken(AsmToken::Slash, StringRef(CurPtr-1, 1));
  ------------------
  |  Branch (177:3): [True: 13.6k, False: 2.46k]
  ------------------
  178|  16.1k|  }
  179|       |
  180|       |  // C Style comment.
  181|    310|  ++CurPtr;  // skip the star.
  182|    881|  while (1) {
  ------------------
  |  Branch (182:10): [True: 881, Folded]
  ------------------
  183|    881|    int CurChar = getNextChar();
  184|    881|    switch (CurChar) {
  ------------------
  |  Branch (184:13): [True: 572, False: 309]
  ------------------
  185|     37|    case EOF:
  ------------------
  |  Branch (185:5): [True: 37, False: 844]
  ------------------
  186|     37|      return ReturnError(TokStart, "unterminated comment");
  187|    535|    case '*':
  ------------------
  |  Branch (187:5): [True: 535, False: 346]
  ------------------
  188|       |      // End of the comment?
  189|    535|      if (CurPtr[0] != '/') break;
  ------------------
  |  Branch (189:11): [True: 262, False: 273]
  ------------------
  190|       |
  191|    273|      ++CurPtr;   // End the */.
  192|    273|      return LexToken();
  193|    881|    }
  194|    881|  }
  195|    310|}
_ZN7llvm_ks8AsmLexer14LexLineCommentEv:
  199|  7.77k|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|  7.77k|  int CurChar = getNextChar();
  203|   160k|  while (CurChar != '\n' && CurChar != '\r' && CurChar != EOF)
  ------------------
  |  Branch (203:10): [True: 156k, False: 3.48k]
  |  Branch (203:29): [True: 152k, False: 4.14k]
  |  Branch (203:48): [True: 152k, False: 144]
  ------------------
  204|   152k|    CurChar = getNextChar();
  205|       |
  206|  7.77k|  if (CurChar == EOF)
  ------------------
  |  Branch (206:7): [True: 144, False: 7.62k]
  ------------------
  207|    144|    return AsmToken(AsmToken::Eof, StringRef(TokStart, 0));
  208|  7.62k|  return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 0));
  209|  7.77k|}
_ZN7llvm_ks8AsmLexer8LexDigitEv:
  259|   386k|{
  260|       |  // Decimal integer: [1-9][0-9]*
  261|   386k|  if (CurPtr[-1] != '0' || CurPtr[0] == '.') {
  ------------------
  |  Branch (261:7): [True: 337k, False: 49.2k]
  |  Branch (261:28): [True: 2.91k, False: 46.2k]
  ------------------
  262|   339k|    unsigned Radix = doLookAhead(CurPtr, 10);
  263|       |
  264|   339k|    if (defaultRadix == 16)
  ------------------
  |  Branch (264:9): [True: 339k, False: 0]
  ------------------
  265|   339k|      Radix = 16;
  266|       |
  267|   339k|    bool isHex = Radix == 16;
  268|       |    // Check for floating point literals.
  269|   339k|    if (!isHex && (*CurPtr == '.' || *CurPtr == 'e')) {
  ------------------
  |  Branch (269:9): [True: 0, False: 339k]
  |  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|   339k|    StringRef Result(TokStart, CurPtr - TokStart);
  275|       |
  276|   339k|    APInt Value(128, 0, true);
  277|   339k|    if (Result.getAsInteger(Radix, Value))
  ------------------
  |  Branch (277:9): [True: 0, False: 339k]
  ------------------
  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|   339k|    if (defaultRadix != 16) {
  ------------------
  |  Branch (282:9): [True: 0, False: 339k]
  ------------------
  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|   339k|    SkipIgnoredIntegerSuffix(CurPtr);
  290|       |
  291|   339k|    return intToken(Result, Value);
  292|   339k|  }
  293|       |
  294|  46.2k|  if (*CurPtr == 'b') {
  ------------------
  |  Branch (294:7): [True: 1.48k, False: 44.8k]
  ------------------
  295|  1.48k|    ++CurPtr;
  296|       |    // See if we actually have "0b" as part of something like "jmp 0b\n"
  297|  1.48k|    if (!isdigit(CurPtr[0])) {
  ------------------
  |  Branch (297:9): [True: 375, False: 1.10k]
  ------------------
  298|    375|      --CurPtr;
  299|    375|      StringRef Result(TokStart, CurPtr - TokStart);
  300|    375|      return AsmToken(AsmToken::Integer, Result, 0);
  301|    375|    }
  302|  1.10k|    const char *NumStart = CurPtr;
  303|  27.1k|    while (CurPtr[0] == '0' || CurPtr[0] == '1')
  ------------------
  |  Branch (303:12): [True: 25.4k, False: 1.72k]
  |  Branch (303:32): [True: 616, False: 1.10k]
  ------------------
  304|  26.0k|      ++CurPtr;
  305|       |
  306|       |    // Requires at least one binary digit.
  307|  1.10k|    if (CurPtr == NumStart)
  ------------------
  |  Branch (307:9): [True: 306, False: 800]
  ------------------
  308|    306|      return ReturnError(TokStart, "invalid binary number");
  309|       |
  310|    800|    StringRef Result(TokStart, CurPtr - TokStart);
  311|       |
  312|    800|    APInt Value(128, 0, true);
  313|    800|    if (Result.substr(2).getAsInteger(2, Value))
  ------------------
  |  Branch (313:9): [True: 0, False: 800]
  ------------------
  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|    800|    SkipIgnoredIntegerSuffix(CurPtr);
  319|       |
  320|    800|    return intToken(Result, Value);
  321|    800|  }
  322|       |
  323|  44.8k|  if (*CurPtr == 'x' || *CurPtr == 'X') {
  ------------------
  |  Branch (323:7): [True: 9.34k, False: 35.4k]
  |  Branch (323:25): [True: 3.00k, False: 32.4k]
  ------------------
  324|  12.3k|    ++CurPtr;
  325|  12.3k|    const char *NumStart = CurPtr;
  326|   121k|    while (isxdigit(CurPtr[0]))
  ------------------
  |  Branch (326:12): [True: 108k, False: 12.3k]
  ------------------
  327|   108k|      ++CurPtr;
  328|       |
  329|       |    // "0x.0p0" is valid, and "0x0p0" (but not "0xp0" for example, which will be
  330|       |    // diagnosed by LexHexFloatLiteral).
  331|  12.3k|    if (CurPtr[0] == '.' || CurPtr[0] == 'p' || CurPtr[0] == 'P')
  ------------------
  |  Branch (331:9): [True: 1.17k, False: 11.1k]
  |  Branch (331:29): [True: 4.70k, False: 6.47k]
  |  Branch (331:49): [True: 1.04k, False: 5.43k]
  ------------------
  332|  6.92k|      return LexHexFloatLiteral(NumStart == CurPtr);
  333|       |
  334|       |    // Otherwise requires at least one hex digit.
  335|  5.43k|    if (CurPtr == NumStart)
  ------------------
  |  Branch (335:9): [True: 1.88k, False: 3.54k]
  ------------------
  336|  1.88k|      return ReturnError(CurPtr-2, "invalid hexadecimal number");
  337|       |
  338|  3.54k|    APInt Result(128, 0);
  339|  3.54k|    if (StringRef(TokStart, CurPtr - TokStart).getAsInteger(0, Result))
  ------------------
  |  Branch (339:9): [True: 0, False: 3.54k]
  ------------------
  340|      0|      return ReturnError(TokStart, "invalid hexadecimal number");
  341|       |
  342|       |    // Consume the optional [hH].
  343|  3.54k|    if (*CurPtr == 'h' || *CurPtr == 'H')
  ------------------
  |  Branch (343:9): [True: 168, False: 3.37k]
  |  Branch (343:27): [True: 77, False: 3.30k]
  ------------------
  344|    245|      ++CurPtr;
  345|       |
  346|       |    // The darwin/x86 (and x86-64) assembler accepts and ignores ULL and LL
  347|       |    // suffixes on integer literals.
  348|  3.54k|    SkipIgnoredIntegerSuffix(CurPtr);
  349|       |
  350|  3.54k|    return intToken(StringRef(TokStart, CurPtr - TokStart), Result);
  351|  3.54k|  }
  352|       |
  353|       |  // Either octal or hexadecimal.
  354|  32.4k|  APInt Value(128, 0, true);
  355|  32.4k|  unsigned Radix = doLookAhead(CurPtr, 8);
  356|  32.4k|  bool isHex = Radix == 16;
  357|  32.4k|  StringRef Result(TokStart, CurPtr - TokStart);
  358|  32.4k|  if (Result.getAsInteger(Radix, Value))
  ------------------
  |  Branch (358:7): [True: 1.82k, False: 30.6k]
  ------------------
  359|  1.82k|    return ReturnError(TokStart, !isHex ? "invalid octal number" :
  ------------------
  |  Branch (359:34): [True: 1.82k, False: 0]
  ------------------
  360|  1.82k|                       "invalid hexdecimal number");
  361|       |
  362|       |  // Consume the [hH].
  363|  30.6k|  if (Radix == 16)
  ------------------
  |  Branch (363:7): [True: 804, False: 29.8k]
  ------------------
  364|    804|    ++CurPtr;
  365|       |
  366|       |  // The darwin/x86 (and x86-64) assembler accepts and ignores ULL and LL
  367|       |  // suffixes on integer literals.
  368|  30.6k|  SkipIgnoredIntegerSuffix(CurPtr);
  369|       |
  370|  30.6k|  return intToken(Result, Value);
  371|  32.4k|}
_ZN7llvm_ks8AsmLexer14LexSingleQuoteEv:
  375|  3.95k|{
  376|  3.95k|  int CurChar = getNextChar();
  377|       |
  378|  3.95k|  if (CurChar == '\\')
  ------------------
  |  Branch (378:7): [True: 1.10k, False: 2.85k]
  ------------------
  379|  1.10k|    CurChar = getNextChar();
  380|       |
  381|  3.95k|  if (CurChar == EOF)
  ------------------
  |  Branch (381:7): [True: 33, False: 3.92k]
  ------------------
  382|     33|    return ReturnError(TokStart, "unterminated single quote");
  383|       |
  384|  3.92k|  CurChar = getNextChar();
  385|       |
  386|  3.92k|  if (CurChar != '\'')
  ------------------
  |  Branch (386:7): [True: 2.04k, False: 1.87k]
  ------------------
  387|  2.04k|    return ReturnError(TokStart, "single quote way too long");
  388|       |
  389|       |  // The idea here being that 'c' is basically just an integral
  390|       |  // constant.
  391|  1.87k|  StringRef Res = StringRef(TokStart,CurPtr - TokStart);
  392|  1.87k|  long long Value;
  393|       |
  394|  1.87k|  if (Res.startswith("\'\\")) {
  ------------------
  |  Branch (394:7): [True: 951, False: 926]
  ------------------
  395|    951|    char theChar = Res[2];
  396|    951|    switch (theChar) {
  397|    487|      default: Value = theChar; break;
  ------------------
  |  Branch (397:7): [True: 487, False: 464]
  ------------------
  398|     83|      case '\'': Value = '\''; break;
  ------------------
  |  Branch (398:7): [True: 83, False: 868]
  ------------------
  399|     70|      case 't': Value = '\t'; break;
  ------------------
  |  Branch (399:7): [True: 70, False: 881]
  ------------------
  400|    232|      case 'n': Value = '\n'; break;
  ------------------
  |  Branch (400:7): [True: 232, False: 719]
  ------------------
  401|     79|      case 'b': Value = '\b'; break;
  ------------------
  |  Branch (401:7): [True: 79, False: 872]
  ------------------
  402|    951|    }
  403|    951|  } else
  404|    926|    Value = TokStart[1];
  405|       |
  406|  1.87k|  return AsmToken(AsmToken::Integer, Res, Value);
  407|  1.87k|}
_ZN7llvm_ks8AsmLexer8LexQuoteEv:
  412|  43.4k|{
  413|  43.4k|  int CurChar = getNextChar();
  414|       |  // TODO: does gas allow multiline string constants?
  415|   434k|  while (CurChar != '"') {
  ------------------
  |  Branch (415:10): [True: 390k, False: 43.2k]
  ------------------
  416|   390k|    if (CurChar == '\\') {
  ------------------
  |  Branch (416:9): [True: 17.3k, False: 373k]
  ------------------
  417|       |      // Allow \", etc.
  418|  17.3k|      CurChar = getNextChar();
  419|  17.3k|    }
  420|       |
  421|   390k|    if (CurChar == EOF)
  ------------------
  |  Branch (421:9): [True: 177, False: 390k]
  ------------------
  422|    177|      return ReturnError(TokStart, "unterminated string constant");
  423|       |
  424|   390k|    CurChar = getNextChar();
  425|   390k|  }
  426|       |
  427|  43.2k|  return AsmToken(AsmToken::String, StringRef(TokStart, CurPtr - TokStart));
  428|  43.4k|}
_ZN7llvm_ks8AsmLexer22LexUntilEndOfStatementEv:
  430|  8.53k|StringRef AsmLexer::LexUntilEndOfStatement() {
  431|  8.53k|  TokStart = CurPtr;
  432|       |
  433|   150k|  while (!isAtStartOfComment(CurPtr) &&     // Start of line comment.
  ------------------
  |  Branch (433:10): [True: 150k, False: 2]
  ------------------
  434|   150k|         !isAtStatementSeparator(CurPtr) && // End of statement marker.
  ------------------
  |  Branch (434:10): [True: 150k, False: 179]
  ------------------
  435|   150k|         *CurPtr != '\n' && *CurPtr != '\r' &&
  ------------------
  |  Branch (435:10): [True: 149k, False: 492]
  |  Branch (435:29): [True: 142k, False: 7.71k]
  ------------------
  436|   142k|         (*CurPtr != 0 || CurPtr != CurBuf.end())) {
  ------------------
  |  Branch (436:11): [True: 142k, False: 148]
  |  Branch (436:27): [True: 0, False: 148]
  ------------------
  437|   142k|    ++CurPtr;
  438|   142k|  }
  439|  8.53k|  return StringRef(TokStart, CurPtr-TokStart);
  440|  8.53k|}
_ZN7llvm_ks8AsmLexer17LexUntilEndOfLineEv:
  442|   601k|StringRef AsmLexer::LexUntilEndOfLine() {
  443|   601k|  TokStart = CurPtr;
  444|       |
  445|  1.67M|  while (*CurPtr != '\n' && *CurPtr != '\r' &&
  ------------------
  |  Branch (445:10): [True: 1.13M, False: 542k]
  |  Branch (445:29): [True: 1.07M, False: 58.8k]
  ------------------
  446|  1.07M|         (*CurPtr != 0 || CurPtr != CurBuf.end())) {
  ------------------
  |  Branch (446:11): [True: 1.07M, False: 67]
  |  Branch (446:27): [True: 0, False: 67]
  ------------------
  447|  1.07M|    ++CurPtr;
  448|  1.07M|  }
  449|   601k|  return StringRef(TokStart, CurPtr-TokStart);
  450|   601k|}
_ZN7llvm_ks8AsmLexer10peekTokensENS_15MutableArrayRefINS_8AsmTokenEEEb:
  454|  6.98k|{
  455|  6.98k|  const char *SavedTokStart = TokStart;
  456|  6.98k|  const char *SavedCurPtr = CurPtr;
  457|  6.98k|  bool SavedAtStartOfLine = isAtStartOfLine;
  458|  6.98k|  bool SavedSkipSpace = SkipSpace;
  459|       |
  460|  6.98k|  std::string SavedErr = getErr();
  461|  6.98k|  SMLoc SavedErrLoc = getErrLoc();
  462|       |
  463|  6.98k|  SkipSpace = ShouldSkipSpace;
  464|       |
  465|  6.98k|  size_t ReadCount;
  466|  13.9k|  for (ReadCount = 0; ReadCount < Buf.size(); ++ReadCount) {
  ------------------
  |  Branch (466:23): [True: 6.98k, False: 6.97k]
  ------------------
  467|  6.98k|    AsmToken Token = LexToken();
  468|       |
  469|  6.98k|    Buf[ReadCount] = Token;
  470|       |
  471|  6.98k|    if (Token.is(AsmToken::Eof))
  ------------------
  |  Branch (471:9): [True: 4, False: 6.97k]
  ------------------
  472|      4|      break;
  473|  6.98k|  }
  474|       |
  475|  6.98k|  SetError(SavedErrLoc, SavedErr);
  476|       |
  477|  6.98k|  SkipSpace = SavedSkipSpace;
  478|  6.98k|  isAtStartOfLine = SavedAtStartOfLine;
  479|  6.98k|  CurPtr = SavedCurPtr;
  480|  6.98k|  TokStart = SavedTokStart;
  481|       |
  482|  6.98k|  return ReadCount;
  483|  6.98k|}
_ZN7llvm_ks8AsmLexer18isAtStartOfCommentEPKc:
  485|  12.5M|bool AsmLexer::isAtStartOfComment(const char *Ptr) {
  486|  12.5M|  const char *CommentString = MAI.getCommentString();
  487|       |
  488|  12.5M|  if (CommentString[1] == '\0')
  ------------------
  |  Branch (488:7): [True: 12.5M, False: 0]
  ------------------
  489|  12.5M|    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|  12.5M|bool AsmLexer::isAtStatementSeparator(const char *Ptr) {
  499|  12.5M|  return strncmp(Ptr, MAI.getSeparatorString(),
  500|  12.5M|                 strlen(MAI.getSeparatorString())) == 0;
  501|  12.5M|}
_ZN7llvm_ks8AsmLexer8LexTokenEv:
  504|  12.4M|{
  505|  12.4M|  TokStart = CurPtr;
  506|       |  // This always consumes at least one character.
  507|  12.4M|  int CurChar = getNextChar();
  508|       |
  509|  12.4M|  if (isAtStartOfComment(TokStart)) {
  ------------------
  |  Branch (509:7): [True: 5.61k, False: 12.4M]
  ------------------
  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|  5.61k|    if (CurChar == '#' && isAtStartOfLine)
  ------------------
  |  Branch (513:9): [True: 0, False: 5.61k]
  |  Branch (513:27): [True: 0, False: 0]
  ------------------
  514|      0|      return AsmToken(AsmToken::Hash, StringRef(TokStart, 1));
  515|  5.61k|    isAtStartOfLine = true;
  516|  5.61k|    return LexLineComment();
  517|  5.61k|  }
  518|  12.4M|  if (isAtStatementSeparator(TokStart)) {
  ------------------
  |  Branch (518:7): [True: 4.53M, False: 7.87M]
  ------------------
  519|  4.53M|    CurPtr += strlen(MAI.getSeparatorString()) - 1;
  520|  4.53M|    return AsmToken(AsmToken::EndOfStatement,
  521|  4.53M|                    StringRef(TokStart, strlen(MAI.getSeparatorString())));
  522|  4.53M|  }
  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.87M|  if (CurChar == EOF && !isAtStartOfLine) {
  ------------------
  |  Branch (526:7): [True: 22.4k, False: 7.84M]
  |  Branch (526:25): [True: 11.3k, False: 11.1k]
  ------------------
  527|  11.3k|    isAtStartOfLine = true;
  528|  11.3k|    return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 1));
  529|  11.3k|  }
  530|       |
  531|  7.86M|  isAtStartOfLine = false;
  532|  7.86M|  switch (CurChar) {
  533|  4.00M|  default:
  ------------------
  |  Branch (533:3): [True: 4.00M, False: 3.85M]
  ------------------
  534|       |    // Handle identifier: [a-zA-Z_.][a-zA-Z0-9_$.@]*
  535|  4.00M|    if (isalpha(CurChar) || CurChar == '_' || CurChar == '.')
  ------------------
  |  Branch (535:9): [True: 589k, False: 3.41M]
  |  Branch (535:29): [True: 521k, False: 2.89M]
  |  Branch (535:47): [True: 1.39M, False: 1.50M]
  ------------------
  536|  2.50M|      return LexIdentifier();
  537|       |
  538|       |    // Unknown character, emit an error.
  539|  1.50M|    return ReturnError(TokStart, "invalid character in input");
  540|  11.1k|  case EOF: return AsmToken(AsmToken::Eof, StringRef(TokStart, 0));
  ------------------
  |  Branch (540:3): [True: 11.1k, False: 7.84M]
  ------------------
  541|      0|  case 0:
  ------------------
  |  Branch (541:3): [True: 0, False: 7.86M]
  ------------------
  542|  97.5k|  case ' ':
  ------------------
  |  Branch (542:3): [True: 97.5k, False: 7.76M]
  ------------------
  543|   206k|  case '\t':
  ------------------
  |  Branch (543:3): [True: 108k, False: 7.75M]
  ------------------
  544|   206k|    if (SkipSpace) {
  ------------------
  |  Branch (544:9): [True: 206k, False: 0]
  ------------------
  545|       |      // Ignore whitespace.
  546|   206k|      return LexToken();
  547|   206k|    } 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|   848k|  case '\n': // FALL THROUGH.
  ------------------
  |  Branch (555:3): [True: 848k, False: 7.01M]
  ------------------
  556|  1.12M|  case '\r':
  ------------------
  |  Branch (556:3): [True: 274k, False: 7.58M]
  ------------------
  557|  1.12M|    isAtStartOfLine = true;
  558|  1.12M|    return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 1));
  559|  26.5k|  case ':': return AsmToken(AsmToken::Colon, StringRef(TokStart, 1));
  ------------------
  |  Branch (559:3): [True: 26.5k, False: 7.83M]
  ------------------
  560|  60.3k|  case '+': return AsmToken(AsmToken::Plus, StringRef(TokStart, 1));
  ------------------
  |  Branch (560:3): [True: 60.3k, False: 7.80M]
  ------------------
  561|   362k|  case '-': return AsmToken(AsmToken::Minus, StringRef(TokStart, 1));
  ------------------
  |  Branch (561:3): [True: 362k, False: 7.49M]
  ------------------
  562|  5.81k|  case '~': return AsmToken(AsmToken::Tilde, StringRef(TokStart, 1));
  ------------------
  |  Branch (562:3): [True: 5.81k, False: 7.85M]
  ------------------
  563|   119k|  case '(': return AsmToken(AsmToken::LParen, StringRef(TokStart, 1));
  ------------------
  |  Branch (563:3): [True: 119k, False: 7.74M]
  ------------------
  564|  5.42k|  case ')': return AsmToken(AsmToken::RParen, StringRef(TokStart, 1));
  ------------------
  |  Branch (564:3): [True: 5.42k, False: 7.85M]
  ------------------
  565|  70.9k|  case '[': return AsmToken(AsmToken::LBrac, StringRef(TokStart, 1));
  ------------------
  |  Branch (565:3): [True: 70.9k, False: 7.78M]
  ------------------
  566|  3.17k|  case ']': return AsmToken(AsmToken::RBrac, StringRef(TokStart, 1));
  ------------------
  |  Branch (566:3): [True: 3.17k, False: 7.85M]
  ------------------
  567|  5.93k|  case '{': return AsmToken(AsmToken::LCurly, StringRef(TokStart, 1));
  ------------------
  |  Branch (567:3): [True: 5.93k, False: 7.85M]
  ------------------
  568|  2.10k|  case '}': return AsmToken(AsmToken::RCurly, StringRef(TokStart, 1));
  ------------------
  |  Branch (568:3): [True: 2.10k, False: 7.85M]
  ------------------
  569|  35.5k|  case '*': return AsmToken(AsmToken::Star, StringRef(TokStart, 1));
  ------------------
  |  Branch (569:3): [True: 35.5k, False: 7.82M]
  ------------------
  570|   143k|  case ',': return AsmToken(AsmToken::Comma, StringRef(TokStart, 1));
  ------------------
  |  Branch (570:3): [True: 143k, False: 7.71M]
  ------------------
  571|  49.0k|  case '$': return AsmToken(AsmToken::Dollar, StringRef(TokStart, 1));
  ------------------
  |  Branch (571:3): [True: 49.0k, False: 7.81M]
  ------------------
  572|  83.1k|  case '@': return AsmToken(AsmToken::At, StringRef(TokStart, 1));
  ------------------
  |  Branch (572:3): [True: 83.1k, False: 7.77M]
  ------------------
  573|  9.05k|  case '\\': return AsmToken(AsmToken::BackSlash, StringRef(TokStart, 1));
  ------------------
  |  Branch (573:3): [True: 9.05k, False: 7.85M]
  ------------------
  574|   250k|  case '=':
  ------------------
  |  Branch (574:3): [True: 250k, False: 7.60M]
  ------------------
  575|   250k|    if (*CurPtr == '=')
  ------------------
  |  Branch (575:9): [True: 609, False: 250k]
  ------------------
  576|    609|      return ++CurPtr, AsmToken(AsmToken::EqualEqual, StringRef(TokStart, 2));
  577|   250k|    return AsmToken(AsmToken::Equal, StringRef(TokStart, 1));
  578|  73.1k|  case '|':
  ------------------
  |  Branch (578:3): [True: 73.1k, False: 7.78M]
  ------------------
  579|  73.1k|    if (*CurPtr == '|')
  ------------------
  |  Branch (579:9): [True: 35.2k, False: 37.9k]
  ------------------
  580|  35.2k|      return ++CurPtr, AsmToken(AsmToken::PipePipe, StringRef(TokStart, 2));
  581|  37.9k|    return AsmToken(AsmToken::Pipe, StringRef(TokStart, 1));
  582|  3.65k|  case '^': return AsmToken(AsmToken::Caret, StringRef(TokStart, 1));
  ------------------
  |  Branch (582:3): [True: 3.65k, False: 7.85M]
  ------------------
  583|  13.8k|  case '&':
  ------------------
  |  Branch (583:3): [True: 13.8k, False: 7.84M]
  ------------------
  584|  13.8k|    if (*CurPtr == '&')
  ------------------
  |  Branch (584:9): [True: 1.44k, False: 12.4k]
  ------------------
  585|  1.44k|      return ++CurPtr, AsmToken(AsmToken::AmpAmp, StringRef(TokStart, 2));
  586|  12.4k|    return AsmToken(AsmToken::Amp, StringRef(TokStart, 1));
  587|      0|  case '!':
  ------------------
  |  Branch (587:3): [True: 0, False: 7.86M]
  ------------------
  588|      0|    if (*CurPtr == '=')
  ------------------
  |  Branch (588:9): [True: 0, False: 0]
  ------------------
  589|      0|      return ++CurPtr, AsmToken(AsmToken::ExclaimEqual, StringRef(TokStart, 2));
  590|      0|    return AsmToken(AsmToken::Exclaim, StringRef(TokStart, 1));
  591|  23.0k|  case '%': return AsmToken(AsmToken::Percent, StringRef(TokStart, 1));
  ------------------
  |  Branch (591:3): [True: 23.0k, False: 7.83M]
  ------------------
  592|  16.1k|  case '/': return LexSlash();
  ------------------
  |  Branch (592:3): [True: 16.1k, False: 7.84M]
  ------------------
  593|   648k|  case '#': return AsmToken(AsmToken::Hash, StringRef(TokStart, 1));
  ------------------
  |  Branch (593:3): [True: 648k, False: 7.21M]
  ------------------
  594|  3.95k|  case '\'': return LexSingleQuote();
  ------------------
  |  Branch (594:3): [True: 3.95k, False: 7.85M]
  ------------------
  595|  43.4k|  case '"': return LexQuote();
  ------------------
  |  Branch (595:3): [True: 43.4k, False: 7.81M]
  ------------------
  596|   188k|  case '0': case '1': case '2': case '3': case '4':
  ------------------
  |  Branch (596:3): [True: 49.2k, False: 7.81M]
  |  Branch (596:13): [True: 85.2k, False: 7.77M]
  |  Branch (596:23): [True: 32.6k, False: 7.82M]
  |  Branch (596:33): [True: 10.9k, False: 7.84M]
  |  Branch (596:43): [True: 10.6k, False: 7.84M]
  ------------------
  597|   386k|  case '5': case '6': case '7': case '8': case '9':
  ------------------
  |  Branch (597:3): [True: 16.0k, False: 7.84M]
  |  Branch (597:13): [True: 123k, False: 7.73M]
  |  Branch (597:23): [True: 29.6k, False: 7.83M]
  |  Branch (597:33): [True: 14.3k, False: 7.84M]
  |  Branch (597:43): [True: 14.4k, False: 7.84M]
  ------------------
  598|   386k|    return LexDigit();
  599|  30.9k|  case '<':
  ------------------
  |  Branch (599:3): [True: 30.9k, False: 7.82M]
  ------------------
  600|  30.9k|    switch (*CurPtr) {
  601|    993|    case '<': return ++CurPtr, AsmToken(AsmToken::LessLess,
  ------------------
  |  Branch (601:5): [True: 993, False: 29.9k]
  ------------------
  602|    993|                                        StringRef(TokStart, 2));
  603|    783|    case '=': return ++CurPtr, AsmToken(AsmToken::LessEqual,
  ------------------
  |  Branch (603:5): [True: 783, False: 30.1k]
  ------------------
  604|    783|                                        StringRef(TokStart, 2));
  605|    538|    case '>': return ++CurPtr, AsmToken(AsmToken::LessGreater,
  ------------------
  |  Branch (605:5): [True: 538, False: 30.3k]
  ------------------
  606|    538|                                        StringRef(TokStart, 2));
  607|  28.6k|    default: return AsmToken(AsmToken::Less, StringRef(TokStart, 1));
  ------------------
  |  Branch (607:5): [True: 28.6k, False: 2.31k]
  ------------------
  608|  30.9k|    }
  609|  35.0k|  case '>':
  ------------------
  |  Branch (609:3): [True: 35.0k, False: 7.82M]
  ------------------
  610|  35.0k|    switch (*CurPtr) {
  611|    491|    case '>': return ++CurPtr, AsmToken(AsmToken::GreaterGreater,
  ------------------
  |  Branch (611:5): [True: 491, False: 34.5k]
  ------------------
  612|    491|                                        StringRef(TokStart, 2));
  613|  2.05k|    case '=': return ++CurPtr, AsmToken(AsmToken::GreaterEqual,
  ------------------
  |  Branch (613:5): [True: 2.05k, False: 33.0k]
  ------------------
  614|  2.05k|                                        StringRef(TokStart, 2));
  615|  32.5k|    default: return AsmToken(AsmToken::Greater, StringRef(TokStart, 1));
  ------------------
  |  Branch (615:5): [True: 32.5k, False: 2.54k]
  ------------------
  616|  35.0k|    }
  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.86M|  }
  623|  7.86M|}
AsmLexer.cpp:_ZL16IsIdentifierCharcb:
  145|  25.2M|static bool IsIdentifierChar(char c, bool AllowAt) {
  146|  25.2M|  return isalnum(c) || c == '_' || c == '$' || c == '.' ||
  ------------------
  |  Branch (146:10): [True: 21.5M, False: 3.73M]
  |  Branch (146:24): [True: 331k, False: 3.40M]
  |  Branch (146:36): [True: 514k, False: 2.89M]
  |  Branch (146:48): [True: 347k, False: 2.54M]
  ------------------
  147|  2.54M|         (c == '@' && AllowAt) || c == '?';
  ------------------
  |  Branch (147:11): [True: 40.6k, False: 2.50M]
  |  Branch (147:23): [True: 40.6k, False: 0]
  |  Branch (147:35): [True: 2.94k, False: 2.49M]
  ------------------
  148|  25.2M|}
AsmLexer.cpp:_ZL11doLookAheadRPKcj:
  223|   372k|static unsigned doLookAhead(const char *&CurPtr, unsigned DefaultRadix) {
  224|   372k|  const char *FirstHex = nullptr;
  225|   372k|  const char *LookAhead = CurPtr;
  226|  1.17M|  while (1) {
  ------------------
  |  Branch (226:10): [True: 1.17M, Folded]
  ------------------
  227|  1.17M|    if (isdigit(*LookAhead)) {
  ------------------
  |  Branch (227:9): [True: 774k, False: 395k]
  ------------------
  228|   774k|      ++LookAhead;
  229|   774k|    } else if (isxdigit(*LookAhead)) {
  ------------------
  |  Branch (229:16): [True: 23.4k, False: 372k]
  ------------------
  230|  23.4k|      if (!FirstHex)
  ------------------
  |  Branch (230:11): [True: 15.3k, False: 8.17k]
  ------------------
  231|  15.3k|        FirstHex = LookAhead;
  232|  23.4k|      ++LookAhead;
  233|   372k|    } else {
  234|   372k|      break;
  235|   372k|    }
  236|  1.17M|  }
  237|   372k|  bool isHex = *LookAhead == 'h' || *LookAhead == 'H';
  ------------------
  |  Branch (237:16): [True: 892, False: 371k]
  |  Branch (237:37): [True: 2.22k, False: 369k]
  ------------------
  238|   372k|  CurPtr = isHex || !FirstHex ? LookAhead : FirstHex;
  ------------------
  |  Branch (238:12): [True: 3.11k, False: 369k]
  |  Branch (238:21): [True: 354k, False: 15.2k]
  ------------------
  239|   372k|  if (isHex)
  ------------------
  |  Branch (239:7): [True: 3.11k, False: 369k]
  ------------------
  240|  3.11k|    return 16;
  241|   369k|  return DefaultRadix;
  242|   372k|}
AsmLexer.cpp:_ZL24SkipIgnoredIntegerSuffixRPKc:
  211|   374k|static void SkipIgnoredIntegerSuffix(const char *&CurPtr) {
  212|       |  // Skip ULL, UL, U, L and LL suffices.
  213|   374k|  if (CurPtr[0] == 'U')
  ------------------
  |  Branch (213:7): [True: 343, False: 374k]
  ------------------
  214|    343|    ++CurPtr;
  215|   374k|  if (CurPtr[0] == 'L')
  ------------------
  |  Branch (215:7): [True: 659, False: 374k]
  ------------------
  216|    659|    ++CurPtr;
  217|   374k|  if (CurPtr[0] == 'L')
  ------------------
  |  Branch (217:7): [True: 418, False: 374k]
  ------------------
  218|    418|    ++CurPtr;
  219|   374k|}
AsmLexer.cpp:_ZL8intTokenN7llvm_ks9StringRefERNS_5APIntE:
  245|   374k|{
  246|   374k|  if (Value.isIntN(64))
  ------------------
  |  Branch (246:7): [True: 371k, False: 3.84k]
  ------------------
  247|   371k|    return AsmToken(AsmToken::Integer, Ref, Value);
  248|  3.84k|  return AsmToken(AsmToken::BigNum, Ref, Value);
  249|   374k|}

_ZN7llvm_ks13MCParserUtils25parseAssignmentExpressionENS_9StringRefEbRNS_11MCAsmParserERPNS_8MCSymbolERPKNS_6MCExprE:
 6074|   222k|{
 6075|   222k|  MCAsmLexer &Lexer = Parser.getLexer();
 6076|       |
 6077|       |  // FIXME: Use better location, we should use proper tokens.
 6078|       |  //SMLoc EqualLoc = Lexer.getLoc();
 6079|       |
 6080|   222k|  if (Parser.parseExpression(Value)) {
  ------------------
  |  Branch (6080:7): [True: 147k, False: 75.1k]
  ------------------
 6081|       |    //Parser.TokError("missing expression");
 6082|   147k|    Parser.eatToEndOfStatement();
 6083|   147k|    return true;
 6084|   147k|  }
 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|  75.1k|  if (Lexer.isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (6090:7): [True: 5.43k, False: 69.7k]
  ------------------
 6091|       |    //return Parser.TokError("unexpected token in assignment");
 6092|  5.43k|    return true;
 6093|       |
 6094|       |  // Eat the end of statement marker.
 6095|  69.7k|  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|  69.7k|  Sym = Parser.getContext().lookupSymbol(Name);
 6100|  69.7k|  if (Sym) {
  ------------------
  |  Branch (6100:7): [True: 40.0k, False: 29.6k]
  ------------------
 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|  40.0k|    if (isSymbolUsedInExpression(Sym, Value))
  ------------------
  |  Branch (6105:9): [True: 246, False: 39.8k]
  ------------------
 6106|       |      //return Parser.Error(EqualLoc, "Recursive use of '" + Name + "'");
 6107|    246|      return true;
 6108|  39.8k|    else if (Sym->isUndefined(/*SetUsed*/ false) && !Sym->isUsed() &&
  ------------------
  |  Branch (6108:14): [True: 32.5k, False: 7.33k]
  |  Branch (6108:53): [True: 32.2k, False: 244]
  ------------------
 6109|  32.2k|             !Sym->isVariable())
  ------------------
  |  Branch (6109:14): [True: 154, False: 32.1k]
  ------------------
 6110|    154|      ; // Allow redefinitions of undefined symbols only used in directives.
 6111|  39.6k|    else if (Sym->isVariable() && !Sym->isUsed() && allow_redef)
  ------------------
  |  Branch (6111:14): [True: 39.4k, False: 202]
  |  Branch (6111:35): [True: 38.0k, False: 1.39k]
  |  Branch (6111:53): [True: 38.0k, False: 0]
  ------------------
 6112|  38.0k|      ; // Allow redefinitions of variables that haven't yet been used.
 6113|  1.60k|    else if (!Sym->isUndefined() && (!Sym->isVariable() || !allow_redef))
  ------------------
  |  Branch (6113:14): [True: 1.35k, False: 244]
  |  Branch (6113:38): [True: 202, False: 1.15k]
  |  Branch (6113:60): [True: 0, False: 1.15k]
  ------------------
 6114|       |      //return Parser.Error(EqualLoc, "redefinition of '" + Name + "'");
 6115|    202|      return true;
 6116|  1.39k|    else if (!Sym->isVariable())
  ------------------
  |  Branch (6116:14): [True: 0, False: 1.39k]
  ------------------
 6117|       |      //return Parser.Error(EqualLoc, "invalid assignment to '" + Name + "'");
 6118|      0|      return true;
 6119|  1.39k|    else if (!isa<MCConstantExpr>(Sym->getVariableValue()))
  ------------------
  |  Branch (6119:14): [True: 1.36k, False: 36]
  ------------------
 6120|       |      //return Parser.Error(EqualLoc,
 6121|       |      //                    "invalid reassignment of non-absolute variable '" +
 6122|       |      //                        Name + "'");
 6123|  1.36k|      return true;
 6124|  40.0k|  } else if (Name == ".") {
  ------------------
  |  Branch (6124:14): [True: 27.9k, False: 1.64k]
  ------------------
 6125|  27.9k|    Parser.getStreamer().emitValueToOffset(Value, 0);
 6126|  27.9k|    return false;
 6127|  27.9k|  } else {
 6128|  1.64k|    if (Name.empty()) {
  ------------------
  |  Branch (6128:9): [True: 70, False: 1.57k]
  ------------------
 6129|     70|        return true;
 6130|     70|    }
 6131|  1.57k|    Sym = Parser.getContext().getOrCreateSymbol(Name);
 6132|  1.57k|  }
 6133|       |
 6134|  39.8k|  Sym->setRedefinable(allow_redef);
 6135|       |
 6136|  39.8k|  return false;
 6137|  69.7k|}
_ZN7llvm_ks17createMCAsmParserERNS_9SourceMgrERNS_9MCContextERNS_10MCStreamerERKNS_9MCAsmInfoE:
 6144|  12.6k|                                     MCStreamer &Out, const MCAsmInfo &MAI) {
 6145|  12.6k|  return new AsmParser(SM, C, Out, MAI);
 6146|  12.6k|}
AsmParser.cpp:_ZN7llvm_ks13MCParserUtilsL24isSymbolUsedInExpressionEPKNS_8MCSymbolEPKNS_6MCExprE:
 6046|   181k|static bool isSymbolUsedInExpression(const MCSymbol *Sym, const MCExpr *Value) {
 6047|   181k|  switch (Value->getKind()) {
  ------------------
  |  Branch (6047:11): [True: 181k, False: 0]
  ------------------
 6048|  52.2k|  case MCExpr::Binary: {
  ------------------
  |  Branch (6048:3): [True: 52.2k, False: 129k]
  ------------------
 6049|  52.2k|    const MCBinaryExpr *BE = static_cast<const MCBinaryExpr *>(Value);
 6050|  52.2k|    return isSymbolUsedInExpression(Sym, BE->getLHS()) ||
  ------------------
  |  Branch (6050:12): [True: 205, False: 51.9k]
  ------------------
 6051|  51.9k|           isSymbolUsedInExpression(Sym, BE->getRHS());
  ------------------
  |  Branch (6051:12): [True: 14, False: 51.9k]
  ------------------
 6052|      0|  }
 6053|      0|  case MCExpr::Target:
  ------------------
  |  Branch (6053:3): [True: 0, False: 181k]
  ------------------
 6054|  37.9k|  case MCExpr::Constant:
  ------------------
  |  Branch (6054:3): [True: 37.9k, False: 143k]
  ------------------
 6055|  37.9k|    return false;
 6056|  55.8k|  case MCExpr::SymbolRef: {
  ------------------
  |  Branch (6056:3): [True: 55.8k, False: 125k]
  ------------------
 6057|  55.8k|    const MCSymbol &S =
 6058|  55.8k|        static_cast<const MCSymbolRefExpr *>(Value)->getSymbol();
 6059|  55.8k|    if (S.isVariable())
  ------------------
  |  Branch (6059:9): [True: 1.72k, False: 54.1k]
  ------------------
 6060|  1.72k|      return isSymbolUsedInExpression(Sym, S.getVariableValue());
 6061|  54.1k|    return &S == Sym;
 6062|  55.8k|  }
 6063|  35.2k|  case MCExpr::Unary:
  ------------------
  |  Branch (6063:3): [True: 35.2k, False: 146k]
  ------------------
 6064|  35.2k|    return isSymbolUsedInExpression(
 6065|  35.2k|        Sym, static_cast<const MCUnaryExpr *>(Value)->getSubExpr());
 6066|   181k|  }
 6067|       |
 6068|      0|  llvm_unreachable("Unknown expr kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 6069|   181k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParserC2ERN7llvm_ks9SourceMgrERNS1_9MCContextERNS1_10MCStreamerERKNS1_9MCAsmInfoE:
  545|  12.6k|    : Lexer(MAI), Ctx(Ctx), Out(Out), MAI(MAI), SrcMgr(SM),
  546|  12.6k|      PlatformParser(nullptr), CurBuffer(SM.getMainFileID()),
  547|  12.6k|      MacrosEnabledFlag(true), HadError(false), CppHashLineNumber(0),
  548|  12.6k|      AssemblerDialect(~0U), IsDarwin(false), ParsingInlineAsm(false),
  549|  12.6k|      NasmDefaultRel(false) {
  550|       |  // Save the old handler.
  551|  12.6k|  SavedDiagHandler = SrcMgr.getDiagHandler();
  552|  12.6k|  SavedDiagContext = SrcMgr.getDiagContext();
  553|       |  // Set our own handler which calls the saved handler.
  554|  12.6k|  SrcMgr.setDiagHandler(DiagHandler, this);
  555|  12.6k|  Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer());
  556|       |
  557|       |  // Initialize the platform / file format parser.
  558|  12.6k|  PlatformParser.reset(createDarwinAsmParser());
  559|  12.6k|  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|  12.6k|  PlatformParser->Initialize(*this);
  576|  12.6k|  initializeDirectiveKindMap(0);
  577|       |
  578|  12.6k|  NumOfMacroInstantiations = 0;
  579|  12.6k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser11DiagHandlerERKN7llvm_ks12SMDiagnosticEPv:
 2025|  29.2k|void AsmParser::DiagHandler(const SMDiagnostic &Diag, void *Context) {
 2026|  29.2k|  const AsmParser *Parser = static_cast<const AsmParser *>(Context);
 2027|  29.2k|  raw_ostream &OS = errs();
 2028|       |
 2029|  29.2k|  const SourceMgr &DiagSrcMgr = *Diag.getSourceMgr();
 2030|  29.2k|  SMLoc DiagLoc = Diag.getLoc();
 2031|  29.2k|  unsigned DiagBuf = DiagSrcMgr.FindBufferContainingLoc(DiagLoc);
 2032|  29.2k|  unsigned CppHashBuf =
 2033|  29.2k|      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|  29.2k|  unsigned DiagCurBuffer = DiagSrcMgr.FindBufferContainingLoc(DiagLoc);
 2038|  29.2k|  if (!Parser->SavedDiagHandler && DiagCurBuffer &&
  ------------------
  |  Branch (2038:7): [True: 29.2k, False: 0]
  |  Branch (2038:36): [True: 26.4k, False: 2.85k]
  ------------------
 2039|  26.4k|      DiagCurBuffer != DiagSrcMgr.getMainFileID()) {
  ------------------
  |  Branch (2039:7): [True: 17.1k, False: 9.26k]
  ------------------
 2040|  17.1k|    SMLoc ParentIncludeLoc = DiagSrcMgr.getParentIncludeLoc(DiagCurBuffer);
 2041|  17.1k|    DiagSrcMgr.PrintIncludeStack(ParentIncludeLoc, OS);
 2042|  17.1k|  }
 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|  29.2k|  if (!Parser->CppHashLineNumber || &DiagSrcMgr != &Parser->SrcMgr ||
  ------------------
  |  Branch (2047:7): [True: 28.1k, False: 1.09k]
  |  Branch (2047:37): [True: 0, False: 1.09k]
  ------------------
 2048|  28.4k|      DiagBuf != CppHashBuf) {
  ------------------
  |  Branch (2048:7): [True: 222, False: 876]
  ------------------
 2049|  28.4k|    if (Parser->SavedDiagHandler)
  ------------------
  |  Branch (2049:9): [True: 0, False: 28.4k]
  ------------------
 2050|      0|      Parser->SavedDiagHandler(Diag, Parser->SavedDiagContext);
 2051|  28.4k|    else
 2052|  28.4k|      Diag.print(nullptr, OS);
 2053|  28.4k|    return;
 2054|  28.4k|  }
 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|    876|  const std::string &Filename = Parser->CppHashFilename;
 2060|       |
 2061|    876|  int DiagLocLineNo = DiagSrcMgr.FindLineNumber(DiagLoc, DiagBuf);
 2062|    876|  int CppHashLocLineNo =
 2063|    876|      Parser->SrcMgr.FindLineNumber(Parser->CppHashLoc, CppHashBuf);
 2064|    876|  int LineNo =
 2065|    876|      Parser->CppHashLineNumber - 1 + (DiagLocLineNo - CppHashLocLineNo);
 2066|       |
 2067|    876|  SMDiagnostic NewDiag(*Diag.getSourceMgr(), Diag.getLoc(), Filename, LineNo,
 2068|    876|                       Diag.getColumnNo(), Diag.getKind(), Diag.getMessage(),
 2069|    876|                       Diag.getLineContents(), Diag.getRanges());
 2070|       |
 2071|    876|  if (Parser->SavedDiagHandler)
  ------------------
  |  Branch (2071:7): [True: 0, False: 876]
  ------------------
 2072|      0|    Parser->SavedDiagHandler(NewDiag, Parser->SavedDiagContext);
 2073|    876|  else
 2074|    876|    NewDiag.print(nullptr, OS);
 2075|    876|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParserD2Ev:
  581|  12.6k|AsmParser::~AsmParser() {
  582|  12.6k|  assert((HadError || ActiveMacros.empty()) &&
  ------------------
  |  Branch (582:3): [True: 669, False: 12.0k]
  |  Branch (582:3): [True: 12.0k, False: 0]
  |  Branch (582:3): [True: 12.6k, Folded]
  |  Branch (582:3): [True: 12.6k, False: 0]
  ------------------
  583|  12.6k|         "Unexpected active macro instantiation!");
  584|       |    
  585|       |  // Restore the saved diagnostics handler and context for use during
  586|       |  // finalization
  587|  12.6k|  SrcMgr.setDiagHandler(SavedDiagHandler, SavedDiagContext);  
  588|  12.6k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19addDirectiveHandlerEN7llvm_ks9StringRefENSt3__14pairIPNS1_20MCAsmParserExtensionEPFbS6_S2_NS1_5SMLocEEEE:
  197|   836k|                           ExtensionDirectiveHandler Handler) override {
  198|   836k|    ExtensionDirectiveMap[Directive] = Handler;
  199|   836k|  }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser8getLexerEv:
  210|  15.0M|  MCAsmLexer &getLexer() override { return Lexer; }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser10getContextEv:
  211|  1.04M|  MCContext &getContext() override { return Ctx; }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser11getStreamerEv:
  212|  49.0M|  MCStreamer &getStreamer() override { return Out; }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser3RunEbmb:
  675|  12.6k|{
  676|       |  // count number of statement
  677|  12.6k|  size_t count = 0;
  678|       |
  679|       |  // Create the initial section, if requested.
  680|  12.6k|  if (!NoInitialTextSection)
  ------------------
  |  Branch (680:7): [True: 12.6k, False: 0]
  ------------------
  681|  12.6k|    Out.InitSections(false);
  682|       |
  683|       |  // Prime the lexer.
  684|  12.6k|  Lex();
  685|  12.6k|  if (!Lexer.isNot(AsmToken::Error)) {
  ------------------
  |  Branch (685:7): [True: 110, False: 12.5k]
  ------------------
  686|    110|    KsError = KS_ERR_ASM_TOKEN_INVALID;
  687|    110|    return 0;
  688|    110|  }
  689|       |
  690|  12.5k|  HadError = false;
  691|  12.5k|  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|  12.5k|  if (getContext().getGenDwarfForAssembly()) {
  ------------------
  |  Branch (695:7): [True: 0, False: 12.5k]
  ------------------
  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.27M|  while (Lexer.isNot(AsmToken::Eof)) {
  ------------------
  |  Branch (710:10): [True: 7.26M, False: 7.39k]
  ------------------
  711|  7.26M|    ParseStatementInfo Info;
  712|  7.26M|    if (!parseStatement(Info, nullptr, Address)) {
  ------------------
  |  Branch (712:9): [True: 6.01M, False: 1.24M]
  ------------------
  713|  6.01M|      count++;
  714|  6.01M|      continue;
  715|  6.01M|    }
  716|       |
  717|       |    //printf(">> 222 error = %u\n", Info.KsError);
  718|  1.24M|    if (!KsError) {
  ------------------
  |  Branch (718:9): [True: 5.17k, False: 1.24M]
  ------------------
  719|  5.17k|        KsError = Info.KsError;
  720|  5.17k|        return 0;
  721|  5.17k|    }
  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|  1.24M|  }
  729|       |
  730|  7.39k|  if (TheCondState.TheCond != StartingCondState.TheCond ||
  ------------------
  |  Branch (730:7): [True: 755, False: 6.63k]
  ------------------
  731|  6.63k|      TheCondState.Ignore != StartingCondState.Ignore) {
  ------------------
  |  Branch (731:7): [True: 0, False: 6.63k]
  ------------------
  732|       |    //return TokError("unmatched .ifs or .elses");
  733|    755|    KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
  734|    755|    return 0;
  735|    755|  }
  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|  6.63k|  if (!NoFinalize && MAI.hasSubsectionsViaSymbols()) {
  ------------------
  |  Branch (741:7): [True: 6.63k, False: 0]
  |  Branch (741:22): [True: 0, False: 6.63k]
  ------------------
  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|  6.63k|  if (!KsError) {
  ------------------
  |  Branch (761:7): [True: 5.08k, False: 1.55k]
  ------------------
  762|  5.08k|      if (!HadError && !NoFinalize)
  ------------------
  |  Branch (762:11): [True: 4.91k, False: 172]
  |  Branch (762:24): [True: 4.91k, False: 0]
  ------------------
  763|  4.91k|          KsError = Out.Finish();
  764|  5.08k|  } else
  765|  1.55k|      Out.Finish();
  766|       |
  767|       |  //return HadError || getContext().hadError();
  768|  6.63k|  return count;
  769|  6.63k|}
AsmParser.cpp:_ZN12_GLOBAL__N_118ParseStatementInfoC2Ev:
  114|  7.26M|  ParseStatementInfo() : KsError(0), Opcode(~0U), ParseError(false), AsmRewrites(nullptr) {}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser14parseStatementERNS_18ParseStatementInfoEPN7llvm_ks23MCAsmParserSemaCallbackERm:
 1449|  7.26M|{
 1450|  7.26M|  KsError = 0;
 1451|  7.26M|  if (Lexer.is(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (1451:7): [True: 5.17M, False: 2.08M]
  ------------------
 1452|  5.17M|    Out.AddBlankLine();
 1453|  5.17M|    Lex();
 1454|  5.17M|    return false;
 1455|  5.17M|  }
 1456|       |
 1457|       |  // Statements always start with an identifier or are a full line comment.
 1458|  2.08M|  AsmToken ID = getTok();
 1459|       |  //printf(">>> parseStatement:ID = %s\n", ID.getString().str().c_str());
 1460|  2.08M|  SMLoc IDLoc = ID.getLoc();
 1461|  2.08M|  StringRef IDVal;
 1462|  2.08M|  int64_t LocalLabelVal = -1;
 1463|       |  // A full line comment is a '#' as the first token.
 1464|  2.08M|  if (Lexer.is(AsmToken::Hash))
  ------------------
  |  Branch (1464:7): [True: 633k, False: 1.45M]
  ------------------
 1465|   633k|    return parseCppHashLineFilenameComment(IDLoc);
 1466|       |
 1467|       |  // Allow an integer followed by a ':' as a directional local label.
 1468|  1.45M|  if (Lexer.is(AsmToken::Integer)) {
  ------------------
  |  Branch (1468:7): [True: 888, False: 1.45M]
  ------------------
 1469|    888|    bool valid;
 1470|    888|    LocalLabelVal = getTok().getIntVal(valid);
 1471|    888|    if (!valid) {
  ------------------
  |  Branch (1471:9): [True: 0, False: 888]
  ------------------
 1472|      0|        return true;
 1473|      0|    }
 1474|    888|    if (LocalLabelVal < 0) {
  ------------------
  |  Branch (1474:9): [True: 148, False: 740]
  ------------------
 1475|    148|      if (!TheCondState.Ignore) {
  ------------------
  |  Branch (1475:11): [True: 66, False: 82]
  ------------------
 1476|       |        // return TokError("unexpected token at start of statement");
 1477|     66|        Info.KsError = KS_ERR_ASM_STAT_TOKEN;
 1478|     66|        return true;
 1479|     66|      }
 1480|     82|      IDVal = "";
 1481|    740|    } else {
 1482|    740|      IDVal = getTok().getString();
 1483|    740|      Lex(); // Consume the integer token to be used as an identifier token.
 1484|    740|      if (Lexer.getKind() != AsmToken::Colon) {
  ------------------
  |  Branch (1484:11): [True: 570, False: 170]
  ------------------
 1485|    570|        if (!TheCondState.Ignore) {
  ------------------
  |  Branch (1485:13): [True: 399, False: 171]
  ------------------
 1486|       |          // return TokError("unexpected token at start of statement");
 1487|    399|          Info.KsError = KS_ERR_ASM_STAT_TOKEN;
 1488|    399|          return true;
 1489|    399|        }
 1490|    570|      }
 1491|    740|    }
 1492|  1.45M|  } else if (Lexer.is(AsmToken::Dot)) {
  ------------------
  |  Branch (1492:14): [True: 60.4k, False: 1.39M]
  ------------------
 1493|       |    // Treat '.' as a valid identifier in this context.
 1494|  60.4k|    Lex();
 1495|  60.4k|    IDVal = ".";
 1496|  1.39M|  } else if (Lexer.is(AsmToken::LCurly)) {
  ------------------
  |  Branch (1496:14): [True: 2.34k, False: 1.39M]
  ------------------
 1497|       |    // Treat '{' as a valid identifier in this context.
 1498|  2.34k|    Lex();
 1499|  2.34k|    IDVal = "{";
 1500|  1.39M|  } else if (Lexer.is(AsmToken::RCurly)) {
  ------------------
  |  Branch (1500:14): [True: 518, False: 1.38M]
  ------------------
 1501|       |    // Treat '}' as a valid identifier in this context.
 1502|    518|    Lex();
 1503|    518|    IDVal = "}";
 1504|  1.38M|  } else if (KsSyntax == KS_OPT_SYNTAX_NASM && Lexer.is(AsmToken::LBrac)) {
  ------------------
  |  Branch (1504:14): [True: 0, False: 1.38M]
  |  Branch (1504:48): [True: 0, False: 0]
  ------------------
 1505|       |    // [bits xx]
 1506|      0|    Lex();
 1507|      0|    ID = Lexer.getTok();
 1508|      0|    if (ID.getString().lower() == "bits") {
  ------------------
  |  Branch (1508:9): [True: 0, False: 0]
  ------------------
 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|      0|    } else {
 1517|      0|        Info.KsError = KS_ERR_ASM_DIRECTIVE_ID;
 1518|      0|        return true;
 1519|      0|    }
 1520|  1.38M|  } else if (KsSyntax == KS_OPT_SYNTAX_NASM && isNasmDirective(ID.getString())) {
  ------------------
  |  Branch (1520:14): [True: 0, False: 1.38M]
  |  Branch (1520:14): [True: 0, False: 1.38M]
  |  Branch (1520:48): [True: 0, False: 0]
  ------------------
 1521|      0|      Lex();
 1522|      0|      IDVal = ID.getString();
 1523|  1.38M|  } else if (parseIdentifier(IDVal)) {
  ------------------
  |  Branch (1523:14): [True: 43.9k, False: 1.34M]
  ------------------
 1524|  43.9k|    if (!TheCondState.Ignore) {
  ------------------
  |  Branch (1524:9): [True: 42.7k, False: 1.21k]
  ------------------
 1525|       |      // return TokError("unexpected token at start of statement");
 1526|  42.7k|      Info.KsError = KS_ERR_ASM_STAT_TOKEN;
 1527|  42.7k|      return true;
 1528|  42.7k|    }
 1529|  1.21k|    IDVal = "";
 1530|  1.21k|  }
 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|  1.41M|  StringMap<DirectiveKind>::const_iterator DirKindIt =
 1537|  1.41M|      DirectiveKindMap.find(IDVal.lower());
 1538|  1.41M|  DirectiveKind DirKind = (DirKindIt == DirectiveKindMap.end())
  ------------------
  |  Branch (1538:27): [True: 1.16M, False: 245k]
  ------------------
 1539|  1.41M|                              ? DK_NO_DIRECTIVE
 1540|  1.41M|                              : DirKindIt->getValue();
 1541|  1.41M|  switch (DirKind) {
 1542|  1.28M|  default:
  ------------------
  |  Branch (1542:3): [True: 1.28M, False: 126k]
  ------------------
 1543|  1.28M|    break;
 1544|  1.28M|  case DK_IF:
  ------------------
  |  Branch (1544:3): [True: 2.02k, False: 1.40M]
  ------------------
 1545|  2.35k|  case DK_IFEQ:
  ------------------
  |  Branch (1545:3): [True: 330, False: 1.41M]
  ------------------
 1546|  2.43k|  case DK_IFGE:
  ------------------
  |  Branch (1546:3): [True: 85, False: 1.41M]
  ------------------
 1547|  2.88k|  case DK_IFGT:
  ------------------
  |  Branch (1547:3): [True: 450, False: 1.41M]
  ------------------
 1548|  3.46k|  case DK_IFLE:
  ------------------
  |  Branch (1548:3): [True: 581, False: 1.41M]
  ------------------
 1549|  3.72k|  case DK_IFLT:
  ------------------
  |  Branch (1549:3): [True: 258, False: 1.41M]
  ------------------
 1550|  3.86k|  case DK_IFNE:
  ------------------
  |  Branch (1550:3): [True: 137, False: 1.41M]
  ------------------
 1551|  3.86k|    return parseDirectiveIf(IDLoc, DirKind);
 1552|    698|  case DK_IFB:
  ------------------
  |  Branch (1552:3): [True: 698, False: 1.41M]
  ------------------
 1553|    698|    return parseDirectiveIfb(IDLoc, true);
 1554|  2.61k|  case DK_IFNB:
  ------------------
  |  Branch (1554:3): [True: 2.61k, False: 1.40M]
  ------------------
 1555|  2.61k|    return parseDirectiveIfb(IDLoc, false);
 1556|    922|  case DK_IFC:
  ------------------
  |  Branch (1556:3): [True: 922, False: 1.41M]
  ------------------
 1557|    922|    return parseDirectiveIfc(IDLoc, true);
 1558|     35|  case DK_IFEQS:
  ------------------
  |  Branch (1558:3): [True: 35, False: 1.41M]
  ------------------
 1559|     35|    return parseDirectiveIfeqs(IDLoc, true);
 1560|   114k|  case DK_IFNC:
  ------------------
  |  Branch (1560:3): [True: 114k, False: 1.29M]
  ------------------
 1561|   114k|    return parseDirectiveIfc(IDLoc, false);
 1562|    749|  case DK_IFNES:
  ------------------
  |  Branch (1562:3): [True: 749, False: 1.41M]
  ------------------
 1563|    749|    return parseDirectiveIfeqs(IDLoc, false);
 1564|    470|  case DK_IFDEF:
  ------------------
  |  Branch (1564:3): [True: 470, False: 1.41M]
  ------------------
 1565|    470|    return parseDirectiveIfdef(IDLoc, true);
 1566|    475|  case DK_IFNDEF:
  ------------------
  |  Branch (1566:3): [True: 475, False: 1.41M]
  ------------------
 1567|    475|  case DK_IFNOTDEF:
  ------------------
  |  Branch (1567:3): [True: 0, False: 1.41M]
  ------------------
 1568|    475|    return parseDirectiveIfdef(IDLoc, false);
 1569|    837|  case DK_ELSEIF:
  ------------------
  |  Branch (1569:3): [True: 837, False: 1.41M]
  ------------------
 1570|    837|    return parseDirectiveElseIf(IDLoc);
 1571|    756|  case DK_ELSE:
  ------------------
  |  Branch (1571:3): [True: 756, False: 1.41M]
  ------------------
 1572|    756|    return parseDirectiveElse(IDLoc);
 1573|    526|  case DK_ENDIF:
  ------------------
  |  Branch (1573:3): [True: 526, False: 1.41M]
  ------------------
 1574|    526|    return parseDirectiveEndIf(IDLoc);
 1575|  1.41M|  }
 1576|       |
 1577|       |  // Ignore the statement if in the middle of inactive conditional
 1578|       |  // (e.g. ".if 0").
 1579|  1.28M|  if (TheCondState.Ignore) {
  ------------------
  |  Branch (1579:7): [True: 2.50k, False: 1.28M]
  ------------------
 1580|  2.50k|    eatToEndOfStatement();
 1581|  2.50k|    return false;
 1582|  2.50k|  }
 1583|       |
 1584|       |  // FIXME: Recurse on local labels?
 1585|       |
 1586|       |  // See what kind of statement we have.
 1587|  1.28M|  switch (Lexer.getKind()) {
 1588|    346|  case AsmToken::Colon: {
  ------------------
  |  Branch (1588:3): [True: 346, False: 1.28M]
  ------------------
 1589|    346|    bool valid;
 1590|    346|    if (!getTargetParser().isLabel(ID, valid))
  ------------------
  |  Branch (1590:9): [True: 0, False: 346]
  ------------------
 1591|      0|      break;
 1592|    346|    if (!valid) {
  ------------------
  |  Branch (1592:9): [True: 0, False: 346]
  ------------------
 1593|      0|        Info.KsError = KS_ERR_ASM_LABEL_INVALID;
 1594|      0|        return true;
 1595|      0|    }
 1596|    346|    checkForValidSection();
 1597|       |
 1598|       |    // identifier ':'   -> Label.
 1599|    346|    Lex();
 1600|       |
 1601|       |    // Diagnose attempt to use '.' as a label.
 1602|    346|    if (IDVal == ".") {
  ------------------
  |  Branch (1602:9): [True: 93, False: 253]
  ------------------
 1603|       |      //return Error(IDLoc, "invalid use of pseudo-symbol '.' as a label");
 1604|     93|      KsError = KS_ERR_ASM_INVALIDOPERAND;
 1605|     93|      return true;
 1606|     93|    }
 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|    253|    MCSymbol *Sym;
 1614|    253|    if (LocalLabelVal == -1) {
  ------------------
  |  Branch (1614:9): [True: 189, False: 64]
  ------------------
 1615|    189|      if (ParsingInlineAsm && SI) {
  ------------------
  |  Branch (1615:11): [True: 0, False: 189]
  |  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|    189|      if (IDVal.empty()) {
  ------------------
  |  Branch (1624:11): [True: 1, False: 188]
  ------------------
 1625|      1|          return true;
 1626|      1|      }
 1627|    188|      Sym = getContext().getOrCreateSymbol(IDVal);
 1628|    188|    } else {
 1629|     64|      bool valid;
 1630|     64|      Sym = Ctx.createDirectionalLocalSymbol(LocalLabelVal, valid);
 1631|     64|      if (!valid) {
  ------------------
  |  Branch (1631:11): [True: 64, False: 0]
  ------------------
 1632|     64|          Info.KsError = KS_ERR_ASM_LABEL_INVALID;
 1633|     64|          return true;
 1634|     64|      }
 1635|     64|    }
 1636|       |
 1637|    188|    Sym->redefineIfPossible();
 1638|       |
 1639|    188|    if (!Sym->isUndefined() || Sym->isVariable()) {
  ------------------
  |  Branch (1639:9): [True: 8, False: 180]
  |  Branch (1639:32): [True: 0, False: 180]
  ------------------
 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|    180|    if (!ParsingInlineAsm)
  ------------------
  |  Branch (1646:9): [True: 180, False: 0]
  ------------------
 1647|    180|      Out.EmitLabel(Sym);
 1648|       |
 1649|    180|    getTargetParser().onLabelParsed(Sym);
 1650|       |
 1651|       |    // Consume any end of statement token, if present, to avoid spurious
 1652|       |    // AddBlankLine calls().
 1653|    180|    if (Lexer.is(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (1653:9): [True: 48, False: 132]
  ------------------
 1654|     48|      Lex();
 1655|     48|      if (Lexer.is(AsmToken::Eof))
  ------------------
  |  Branch (1655:11): [True: 30, False: 18]
  ------------------
 1656|     30|        return false;
 1657|     48|    }
 1658|       |
 1659|    150|    return false;
 1660|    180|  }
 1661|       |
 1662|   222k|  case AsmToken::Equal:
  ------------------
  |  Branch (1662:3): [True: 222k, False: 1.05M]
  ------------------
 1663|   222k|    if (!getTargetParser().equalIsAsmAssignment())
  ------------------
  |  Branch (1663:9): [True: 0, False: 222k]
  ------------------
 1664|      0|      break;
 1665|       |    // identifier '=' ... -> assignment statement
 1666|   222k|    Lex();
 1667|       |
 1668|   222k|    if (parseAssignment(IDVal, true)) {
  ------------------
  |  Branch (1668:9): [True: 154k, False: 67.7k]
  ------------------
 1669|   154k|        Info.KsError = KS_ERR_ASM_DIRECTIVE_EQU;
 1670|   154k|        return true;
 1671|   154k|    }
 1672|  67.7k|    return false;
 1673|       |
 1674|  1.05M|  default: // Normal instruction or directive.
  ------------------
  |  Branch (1674:3): [True: 1.05M, False: 222k]
  ------------------
 1675|  1.05M|    break;
 1676|  1.28M|  }
 1677|       |
 1678|       |  // If macros are enabled, check to see if this is a macro instantiation.
 1679|  1.05M|  if (areMacrosEnabled())
  ------------------
  |  Branch (1679:7): [True: 1.05M, False: 0]
  ------------------
 1680|  1.05M|    if (const MCAsmMacro *M = lookupMacro(IDVal)) {
  ------------------
  |  Branch (1680:27): [True: 22.5k, False: 1.03M]
  ------------------
 1681|  22.5k|      return handleMacroEntry(M, IDLoc);
 1682|  22.5k|    }
 1683|       |
 1684|       |  // Otherwise, we have a normal instruction or directive.
 1685|  1.03M|  if (isDirective(IDVal)) {
  ------------------
  |  Branch (1685:7): [True: 925k, False: 111k]
  ------------------
 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|   925k|      uint64_t BytesInFragment = getStreamer().getCurrentFragmentSize();
 1700|   925k|      if (!getTargetParser().ParseDirective(ID)){
  ------------------
  |  Branch (1700:11): [True: 8.84k, False: 916k]
  ------------------
 1701|       |        // increment the address for the next statement if the directive
 1702|       |        // has emitted any value to the streamer.
 1703|  8.84k|        Address += getStreamer().getCurrentFragmentSize() - BytesInFragment;
 1704|  8.84k|        return false;
 1705|  8.84k|        }
 1706|       |
 1707|       |    // Next, check the extension directive map to see if any extension has
 1708|       |    // registered itself to parse this directive.
 1709|   916k|    std::pair<MCAsmParserExtension *, DirectiveHandler> Handler =
 1710|   916k|        ExtensionDirectiveMap.lookup(IDVal);
 1711|   916k|    if (Handler.first)
  ------------------
  |  Branch (1711:9): [True: 10.7k, False: 905k]
  ------------------
 1712|  10.7k|      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|   905k|    switch (DirKind) {
 1717|   787k|    default:
  ------------------
  |  Branch (1717:5): [True: 787k, False: 118k]
  ------------------
 1718|   787k|      break;
 1719|   787k|    case DK_SET:
  ------------------
  |  Branch (1719:5): [True: 1.26k, False: 904k]
  ------------------
 1720|  1.26k|    case DK_EQU:
  ------------------
  |  Branch (1720:5): [True: 1, False: 905k]
  ------------------
 1721|  1.26k|      return parseDirectiveSet(IDVal, true);
 1722|      0|    case DK_EQUIV:
  ------------------
  |  Branch (1722:5): [True: 0, False: 905k]
  ------------------
 1723|      0|      return parseDirectiveSet(IDVal, false);
 1724|    177|    case DK_ASCII:
  ------------------
  |  Branch (1724:5): [True: 177, False: 905k]
  ------------------
 1725|    177|      return parseDirectiveAscii(IDVal, false);
 1726|    171|    case DK_ASCIZ:
  ------------------
  |  Branch (1726:5): [True: 171, False: 905k]
  ------------------
 1727|    635|    case DK_STRING:
  ------------------
  |  Branch (1727:5): [True: 464, False: 905k]
  ------------------
 1728|    635|      return parseDirectiveAscii(IDVal, true);
 1729|    306|    case DK_BYTE:
  ------------------
  |  Branch (1729:5): [True: 306, False: 905k]
  ------------------
 1730|    306|      return parseDirectiveValue(1, Info.KsError);
 1731|    105|    case DK_SHORT:
  ------------------
  |  Branch (1731:5): [True: 105, False: 905k]
  ------------------
 1732|    108|    case DK_VALUE:
  ------------------
  |  Branch (1732:5): [True: 3, False: 905k]
  ------------------
 1733|    293|    case DK_2BYTE:
  ------------------
  |  Branch (1733:5): [True: 185, False: 905k]
  ------------------
 1734|    293|      return parseDirectiveValue(2, Info.KsError);
 1735|    106|    case DK_LONG:
  ------------------
  |  Branch (1735:5): [True: 106, False: 905k]
  ------------------
 1736|    846|    case DK_INT:
  ------------------
  |  Branch (1736:5): [True: 740, False: 905k]
  ------------------
 1737|  1.06k|    case DK_4BYTE:
  ------------------
  |  Branch (1737:5): [True: 216, False: 905k]
  ------------------
 1738|  1.06k|      return parseDirectiveValue(4, Info.KsError);
 1739|     13|    case DK_QUAD:
  ------------------
  |  Branch (1739:5): [True: 13, False: 905k]
  ------------------
 1740|    234|    case DK_8BYTE:
  ------------------
  |  Branch (1740:5): [True: 221, False: 905k]
  ------------------
 1741|    234|      return parseDirectiveValue(8, Info.KsError);
 1742|    289|    case DK_OCTA:
  ------------------
  |  Branch (1742:5): [True: 289, False: 905k]
  ------------------
 1743|    289|      return parseDirectiveOctaValue(Info.KsError);
 1744|     71|    case DK_SINGLE:
  ------------------
  |  Branch (1744:5): [True: 71, False: 905k]
  ------------------
 1745|  1.58k|    case DK_FLOAT:
  ------------------
  |  Branch (1745:5): [True: 1.51k, False: 904k]
  ------------------
 1746|  1.58k|      return parseDirectiveRealValue(APFloat::IEEEsingle);
 1747|      0|    case DK_DOUBLE:
  ------------------
  |  Branch (1747:5): [True: 0, False: 905k]
  ------------------
 1748|      0|      return parseDirectiveRealValue(APFloat::IEEEdouble);
 1749|  9.82k|    case DK_ALIGN: {
  ------------------
  |  Branch (1749:5): [True: 9.82k, False: 896k]
  ------------------
 1750|  9.82k|      bool IsPow2 = !getContext().getAsmInfo()->getAlignmentIsInBytes();
 1751|  9.82k|      return parseDirectiveAlign(IsPow2, /*ExprSize=*/1);
 1752|     71|    }
 1753|    103|    case DK_ALIGN32: {
  ------------------
  |  Branch (1753:5): [True: 103, False: 905k]
  ------------------
 1754|    103|      bool IsPow2 = !getContext().getAsmInfo()->getAlignmentIsInBytes();
 1755|    103|      return parseDirectiveAlign(IsPow2, /*ExprSize=*/4);
 1756|     71|    }
 1757|    145|    case DK_BALIGN:
  ------------------
  |  Branch (1757:5): [True: 145, False: 905k]
  ------------------
 1758|    145|      return parseDirectiveAlign(/*IsPow2=*/false, /*ExprSize=*/1);
 1759|     66|    case DK_BALIGNW:
  ------------------
  |  Branch (1759:5): [True: 66, False: 905k]
  ------------------
 1760|     66|      return parseDirectiveAlign(/*IsPow2=*/false, /*ExprSize=*/2);
 1761|     94|    case DK_BALIGNL:
  ------------------
  |  Branch (1761:5): [True: 94, False: 905k]
  ------------------
 1762|     94|      return parseDirectiveAlign(/*IsPow2=*/false, /*ExprSize=*/4);
 1763|      0|    case DK_P2ALIGN:
  ------------------
  |  Branch (1763:5): [True: 0, False: 905k]
  ------------------
 1764|      0|      return parseDirectiveAlign(/*IsPow2=*/true, /*ExprSize=*/1);
 1765|      0|    case DK_P2ALIGNW:
  ------------------
  |  Branch (1765:5): [True: 0, False: 905k]
  ------------------
 1766|      0|      return parseDirectiveAlign(/*IsPow2=*/true, /*ExprSize=*/2);
 1767|      0|    case DK_P2ALIGNL:
  ------------------
  |  Branch (1767:5): [True: 0, False: 905k]
  ------------------
 1768|      0|      return parseDirectiveAlign(/*IsPow2=*/true, /*ExprSize=*/4);
 1769|  26.8k|    case DK_ORG:
  ------------------
  |  Branch (1769:5): [True: 26.8k, False: 879k]
  ------------------
 1770|  26.8k|      return parseDirectiveOrg();
 1771|  4.34k|    case DK_FILL:
  ------------------
  |  Branch (1771:5): [True: 4.34k, False: 901k]
  ------------------
 1772|  4.34k|      return parseDirectiveFill();
 1773|  1.82k|    case DK_ZERO:
  ------------------
  |  Branch (1773:5): [True: 1.82k, False: 904k]
  ------------------
 1774|  1.82k|      return parseDirectiveZero();
 1775|      0|    case DK_EXTERN:
  ------------------
  |  Branch (1775:5): [True: 0, False: 905k]
  ------------------
 1776|      0|      eatToEndOfStatement(); // .extern is the default, ignore it.
 1777|      0|      return false;
 1778|    106|    case DK_GLOBL:
  ------------------
  |  Branch (1778:5): [True: 106, False: 905k]
  ------------------
 1779|    106|    case DK_GLOBAL:
  ------------------
  |  Branch (1779:5): [True: 0, False: 905k]
  ------------------
 1780|    106|      return parseDirectiveSymbolAttribute(MCSA_Global);
 1781|      0|    case DK_LAZY_REFERENCE:
  ------------------
  |  Branch (1781:5): [True: 0, False: 905k]
  ------------------
 1782|      0|      return parseDirectiveSymbolAttribute(MCSA_LazyReference);
 1783|      0|    case DK_NO_DEAD_STRIP:
  ------------------
  |  Branch (1783:5): [True: 0, False: 905k]
  ------------------
 1784|      0|      return parseDirectiveSymbolAttribute(MCSA_NoDeadStrip);
 1785|      0|    case DK_SYMBOL_RESOLVER:
  ------------------
  |  Branch (1785:5): [True: 0, False: 905k]
  ------------------
 1786|      0|      return parseDirectiveSymbolAttribute(MCSA_SymbolResolver);
 1787|      0|    case DK_PRIVATE_EXTERN:
  ------------------
  |  Branch (1787:5): [True: 0, False: 905k]
  ------------------
 1788|      0|      return parseDirectiveSymbolAttribute(MCSA_PrivateExtern);
 1789|      0|    case DK_REFERENCE:
  ------------------
  |  Branch (1789:5): [True: 0, False: 905k]
  ------------------
 1790|      0|      return parseDirectiveSymbolAttribute(MCSA_Reference);
 1791|      0|    case DK_WEAK_DEFINITION:
  ------------------
  |  Branch (1791:5): [True: 0, False: 905k]
  ------------------
 1792|      0|      return parseDirectiveSymbolAttribute(MCSA_WeakDefinition);
 1793|      0|    case DK_WEAK_REFERENCE:
  ------------------
  |  Branch (1793:5): [True: 0, False: 905k]
  ------------------
 1794|      0|      return parseDirectiveSymbolAttribute(MCSA_WeakReference);
 1795|      0|    case DK_WEAK_DEF_CAN_BE_HIDDEN:
  ------------------
  |  Branch (1795:5): [True: 0, False: 905k]
  ------------------
 1796|      0|      return parseDirectiveSymbolAttribute(MCSA_WeakDefAutoPrivate);
 1797|  1.43k|    case DK_COMM:
  ------------------
  |  Branch (1797:5): [True: 1.43k, False: 904k]
  ------------------
 1798|  1.44k|    case DK_COMMON:
  ------------------
  |  Branch (1798:5): [True: 10, False: 905k]
  ------------------
 1799|  1.44k|      return parseDirectiveComm(/*IsLocal=*/false);
 1800|    482|    case DK_LCOMM:
  ------------------
  |  Branch (1800:5): [True: 482, False: 905k]
  ------------------
 1801|    482|      return parseDirectiveComm(/*IsLocal=*/true);
 1802|     11|    case DK_ABORT:
  ------------------
  |  Branch (1802:5): [True: 11, False: 905k]
  ------------------
 1803|     11|      return parseDirectiveAbort();
 1804|    172|    case DK_INCLUDE:
  ------------------
  |  Branch (1804:5): [True: 172, False: 905k]
  ------------------
 1805|    172|      return parseDirectiveInclude();
 1806|      0|    case DK_INCBIN:
  ------------------
  |  Branch (1806:5): [True: 0, False: 905k]
  ------------------
 1807|      0|      return parseDirectiveIncbin();
 1808|      1|    case DK_CODE16:
  ------------------
  |  Branch (1808:5): [True: 1, False: 905k]
  ------------------
 1809|      1|    case DK_CODE16GCC:
  ------------------
  |  Branch (1809:5): [True: 0, False: 905k]
  ------------------
 1810|       |      // return TokError(Twine(IDVal) + " not supported yet");
 1811|      1|      Info.KsError = KS_ERR_ASM_UNSUPPORTED;
 1812|      1|      return true;
 1813|  13.2k|    case DK_REPT:
  ------------------
  |  Branch (1813:5): [True: 13.2k, False: 892k]
  ------------------
 1814|  13.2k|      return parseDirectiveRept(IDLoc, IDVal);
 1815|  1.52k|    case DK_IRP:
  ------------------
  |  Branch (1815:5): [True: 1.52k, False: 904k]
  ------------------
 1816|  1.52k|      return parseDirectiveIrp(IDLoc);
 1817|  2.89k|    case DK_IRPC:
  ------------------
  |  Branch (1817:5): [True: 2.89k, False: 903k]
  ------------------
 1818|  2.89k|      return parseDirectiveIrpc(IDLoc);
 1819|  2.42k|    case DK_ENDR:
  ------------------
  |  Branch (1819:5): [True: 2.42k, False: 903k]
  ------------------
 1820|  2.42k|      return parseDirectiveEndr(IDLoc);
 1821|      0|    case DK_BUNDLE_ALIGN_MODE:
  ------------------
  |  Branch (1821:5): [True: 0, False: 905k]
  ------------------
 1822|      0|      return parseDirectiveBundleAlignMode();
 1823|      0|    case DK_BUNDLE_LOCK:
  ------------------
  |  Branch (1823:5): [True: 0, False: 905k]
  ------------------
 1824|      0|      return parseDirectiveBundleLock();
 1825|      0|    case DK_BUNDLE_UNLOCK:
  ------------------
  |  Branch (1825:5): [True: 0, False: 905k]
  ------------------
 1826|      0|      return parseDirectiveBundleUnlock();
 1827|      0|    case DK_SLEB128:
  ------------------
  |  Branch (1827:5): [True: 0, False: 905k]
  ------------------
 1828|      0|      return parseDirectiveLEB128(true);
 1829|      0|    case DK_ULEB128:
  ------------------
  |  Branch (1829:5): [True: 0, False: 905k]
  ------------------
 1830|      0|      return parseDirectiveLEB128(false);
 1831|     96|    case DK_SPACE:
  ------------------
  |  Branch (1831:5): [True: 96, False: 905k]
  ------------------
 1832|    833|    case DK_SKIP:
  ------------------
  |  Branch (1832:5): [True: 737, False: 905k]
  ------------------
 1833|    833|      return parseDirectiveSpace(IDVal);
 1834|  13.1k|    case DK_FILE:
  ------------------
  |  Branch (1834:5): [True: 13.1k, False: 892k]
  ------------------
 1835|  13.1k|      return parseDirectiveFile(IDLoc);
 1836|  4.73k|    case DK_LINE:
  ------------------
  |  Branch (1836:5): [True: 4.73k, False: 901k]
  ------------------
 1837|  4.73k|      return parseDirectiveLine();
 1838|    329|    case DK_LOC:
  ------------------
  |  Branch (1838:5): [True: 329, False: 905k]
  ------------------
 1839|    329|      return parseDirectiveLoc();
 1840|      0|    case DK_STABS:
  ------------------
  |  Branch (1840:5): [True: 0, False: 905k]
  ------------------
 1841|      0|      return parseDirectiveStabs();
 1842|      0|    case DK_CV_FILE:
  ------------------
  |  Branch (1842:5): [True: 0, False: 905k]
  ------------------
 1843|      0|      return parseDirectiveCVFile();
 1844|      0|    case DK_CV_LOC:
  ------------------
  |  Branch (1844:5): [True: 0, False: 905k]
  ------------------
 1845|      0|      return parseDirectiveCVLoc();
 1846|      0|    case DK_CV_LINETABLE:
  ------------------
  |  Branch (1846:5): [True: 0, False: 905k]
  ------------------
 1847|      0|      return parseDirectiveCVLinetable();
 1848|      0|    case DK_CV_INLINE_LINETABLE:
  ------------------
  |  Branch (1848:5): [True: 0, False: 905k]
  ------------------
 1849|      0|      return parseDirectiveCVInlineLinetable();
 1850|      0|    case DK_CV_STRINGTABLE:
  ------------------
  |  Branch (1850:5): [True: 0, False: 905k]
  ------------------
 1851|      0|      return parseDirectiveCVStringTable();
 1852|      0|    case DK_CV_FILECHECKSUMS:
  ------------------
  |  Branch (1852:5): [True: 0, False: 905k]
  ------------------
 1853|      0|      return parseDirectiveCVFileChecksums();
 1854|      0|    case DK_CFI_SECTIONS:
  ------------------
  |  Branch (1854:5): [True: 0, False: 905k]
  ------------------
 1855|      0|      return parseDirectiveCFISections();
 1856|      0|    case DK_CFI_STARTPROC:
  ------------------
  |  Branch (1856:5): [True: 0, False: 905k]
  ------------------
 1857|      0|      return parseDirectiveCFIStartProc();
 1858|      0|    case DK_CFI_ENDPROC:
  ------------------
  |  Branch (1858:5): [True: 0, False: 905k]
  ------------------
 1859|      0|      return parseDirectiveCFIEndProc();
 1860|      0|    case DK_CFI_DEF_CFA:
  ------------------
  |  Branch (1860:5): [True: 0, False: 905k]
  ------------------
 1861|      0|      return parseDirectiveCFIDefCfa(IDLoc);
 1862|      0|    case DK_CFI_DEF_CFA_OFFSET:
  ------------------
  |  Branch (1862:5): [True: 0, False: 905k]
  ------------------
 1863|      0|      return parseDirectiveCFIDefCfaOffset();
 1864|      0|    case DK_CFI_ADJUST_CFA_OFFSET:
  ------------------
  |  Branch (1864:5): [True: 0, False: 905k]
  ------------------
 1865|      0|      return parseDirectiveCFIAdjustCfaOffset();
 1866|      0|    case DK_CFI_DEF_CFA_REGISTER:
  ------------------
  |  Branch (1866:5): [True: 0, False: 905k]
  ------------------
 1867|      0|      return parseDirectiveCFIDefCfaRegister(IDLoc);
 1868|      0|    case DK_CFI_OFFSET:
  ------------------
  |  Branch (1868:5): [True: 0, False: 905k]
  ------------------
 1869|      0|      return parseDirectiveCFIOffset(IDLoc);
 1870|      0|    case DK_CFI_REL_OFFSET:
  ------------------
  |  Branch (1870:5): [True: 0, False: 905k]
  ------------------
 1871|      0|      return parseDirectiveCFIRelOffset(IDLoc);
 1872|      0|    case DK_CFI_PERSONALITY:
  ------------------
  |  Branch (1872:5): [True: 0, False: 905k]
  ------------------
 1873|      0|      return parseDirectiveCFIPersonalityOrLsda(true);
 1874|      0|    case DK_CFI_LSDA:
  ------------------
  |  Branch (1874:5): [True: 0, False: 905k]
  ------------------
 1875|      0|      return parseDirectiveCFIPersonalityOrLsda(false);
 1876|      0|    case DK_CFI_REMEMBER_STATE:
  ------------------
  |  Branch (1876:5): [True: 0, False: 905k]
  ------------------
 1877|      0|      return parseDirectiveCFIRememberState();
 1878|      0|    case DK_CFI_RESTORE_STATE:
  ------------------
  |  Branch (1878:5): [True: 0, False: 905k]
  ------------------
 1879|      0|      return parseDirectiveCFIRestoreState();
 1880|      0|    case DK_CFI_SAME_VALUE:
  ------------------
  |  Branch (1880:5): [True: 0, False: 905k]
  ------------------
 1881|      0|      return parseDirectiveCFISameValue(IDLoc);
 1882|      0|    case DK_CFI_RESTORE:
  ------------------
  |  Branch (1882:5): [True: 0, False: 905k]
  ------------------
 1883|      0|      return parseDirectiveCFIRestore(IDLoc);
 1884|      0|    case DK_CFI_ESCAPE:
  ------------------
  |  Branch (1884:5): [True: 0, False: 905k]
  ------------------
 1885|      0|      return parseDirectiveCFIEscape();
 1886|      0|    case DK_CFI_SIGNAL_FRAME:
  ------------------
  |  Branch (1886:5): [True: 0, False: 905k]
  ------------------
 1887|      0|      return parseDirectiveCFISignalFrame();
 1888|      0|    case DK_CFI_UNDEFINED:
  ------------------
  |  Branch (1888:5): [True: 0, False: 905k]
  ------------------
 1889|      0|      return parseDirectiveCFIUndefined(IDLoc);
 1890|      0|    case DK_CFI_REGISTER:
  ------------------
  |  Branch (1890:5): [True: 0, False: 905k]
  ------------------
 1891|      0|      return parseDirectiveCFIRegister(IDLoc);
 1892|      0|    case DK_CFI_WINDOW_SAVE:
  ------------------
  |  Branch (1892:5): [True: 0, False: 905k]
  ------------------
 1893|      0|      return parseDirectiveCFIWindowSave();
 1894|      0|    case DK_MACROS_ON:
  ------------------
  |  Branch (1894:5): [True: 0, False: 905k]
  ------------------
 1895|      0|    case DK_MACROS_OFF:
  ------------------
  |  Branch (1895:5): [True: 0, False: 905k]
  ------------------
 1896|      0|      return parseDirectiveMacrosOnOff(IDVal);
 1897|  3.00k|    case DK_MACRO:
  ------------------
  |  Branch (1897:5): [True: 3.00k, False: 902k]
  ------------------
 1898|  3.00k|      return parseDirectiveMacro(IDLoc);
 1899|      0|    case DK_EXITM:
  ------------------
  |  Branch (1899:5): [True: 0, False: 905k]
  ------------------
 1900|      0|      return parseDirectiveExitMacro(IDVal);
 1901|    556|    case DK_ENDM:
  ------------------
  |  Branch (1901:5): [True: 556, False: 905k]
  ------------------
 1902|  21.2k|    case DK_ENDMACRO:
  ------------------
  |  Branch (1902:5): [True: 20.7k, False: 885k]
  ------------------
 1903|  21.2k|      return parseDirectiveEndMacro(IDVal);
 1904|     24|    case DK_PURGEM:
  ------------------
  |  Branch (1904:5): [True: 24, False: 905k]
  ------------------
 1905|     24|      return parseDirectivePurgeMacro(IDLoc);
 1906|  1.96k|    case DK_END:
  ------------------
  |  Branch (1906:5): [True: 1.96k, False: 904k]
  ------------------
 1907|  1.96k|      return parseDirectiveEnd(IDLoc);
 1908|     89|    case DK_ERR:
  ------------------
  |  Branch (1908:5): [True: 89, False: 905k]
  ------------------
 1909|     89|      return parseDirectiveError(IDLoc, false);
 1910|    229|    case DK_ERROR:
  ------------------
  |  Branch (1910:5): [True: 229, False: 905k]
  ------------------
 1911|    229|      return parseDirectiveError(IDLoc, true);
 1912|    378|    case DK_WARNING:
  ------------------
  |  Branch (1912:5): [True: 378, False: 905k]
  ------------------
 1913|    378|      return parseDirectiveWarning(IDLoc);
 1914|    966|    case DK_RELOC:
  ------------------
  |  Branch (1914:5): [True: 966, False: 905k]
  ------------------
 1915|    966|      return parseDirectiveReloc(IDLoc);
 1916|      0|    case DK_NASM_BITS:
  ------------------
  |  Branch (1916:5): [True: 0, False: 905k]
  ------------------
 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: 905k]
  ------------------
 1924|      0|      return parseNasmDirectiveUse32();
 1925|      0|    case DK_NASM_DEFAULT:
  ------------------
  |  Branch (1925:5): [True: 0, False: 905k]
  ------------------
 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|   905k|    }
 1933|       |
 1934|       |    //return Error(IDLoc, "unknown directive");
 1935|   787k|    KsError = KS_ERR_ASM_DIRECTIVE_UNKNOWN;
 1936|   787k|    return true;
 1937|   905k|  }
 1938|       |
 1939|       |  // __asm _emit or __asm __emit
 1940|   111k|  if (ParsingInlineAsm && (IDVal == "_emit" || IDVal == "__emit" ||
  ------------------
  |  Branch (1940:7): [True: 0, False: 111k]
  |  Branch (1940:7): [True: 0, False: 111k]
  |  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|   111k|  if (ParsingInlineAsm && (IDVal == "align" || IDVal == "ALIGN"))
  ------------------
  |  Branch (1945:7): [True: 0, False: 111k]
  |  Branch (1945:7): [True: 0, False: 111k]
  |  Branch (1945:28): [True: 0, False: 0]
  |  Branch (1945:48): [True: 0, False: 0]
  ------------------
 1946|      0|    return parseDirectiveMSAlign(IDLoc, Info);
 1947|       |
 1948|   111k|  if (ParsingInlineAsm && (IDVal == "even"))
  ------------------
  |  Branch (1948:7): [True: 0, False: 111k]
  |  Branch (1948:7): [True: 0, False: 111k]
  |  Branch (1948:27): [True: 0, False: 0]
  ------------------
 1949|      0|    Info.AsmRewrites->emplace_back(AOK_EVEN, IDLoc, 4);
 1950|   111k|  checkForValidSection();
 1951|       |
 1952|       |  // Canonicalize the opcode to lower case.
 1953|   111k|  std::string OpcodeStr = IDVal.lower();
 1954|   111k|  ParseInstructionInfo IInfo(Info.AsmRewrites);
 1955|       |  //printf(">> Going to ParseInstruction()\n");
 1956|   111k|  bool HadError = getTargetParser().ParseInstruction(IInfo, OpcodeStr, ID,
 1957|   111k|                                                     Info.ParsedOperands, Info.KsError);
 1958|   111k|  Info.ParseError = HadError;
 1959|       |
 1960|       |  // If parsing succeeded, match the instruction.
 1961|   111k|  if (!HadError) {
  ------------------
  |  Branch (1961:7): [True: 5.46k, False: 105k]
  ------------------
 1962|  5.46k|    uint64_t ErrorInfo;
 1963|       |    //printf(">> Going to MatchAndEmitInstruction()\n");
 1964|  5.46k|    return getTargetParser().MatchAndEmitInstruction(IDLoc, Info.Opcode,
 1965|  5.46k|                                              Info.ParsedOperands, Out,
 1966|  5.46k|                                              ErrorInfo, ParsingInlineAsm,
 1967|  5.46k|                                              Info.KsError, Address);
 1968|  5.46k|  }
 1969|       |
 1970|   105k|  return true;
 1971|   111k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser31parseCppHashLineFilenameCommentEN7llvm_ks5SMLocE:
 1986|   633k|bool AsmParser::parseCppHashLineFilenameComment(SMLoc L) {
 1987|   633k|  Lex(); // Eat the hash token.
 1988|       |
 1989|   633k|  if (getLexer().isNot(AsmToken::Integer)) {
  ------------------
  |  Branch (1989:7): [True: 627k, False: 5.89k]
  ------------------
 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|   627k|    eatToEndOfLine();
 1993|   627k|    return false;
 1994|   627k|  }
 1995|       |
 1996|  5.89k|  bool valid;
 1997|  5.89k|  int64_t LineNumber = getTok().getIntVal(valid);
 1998|  5.89k|  if (!valid) {
  ------------------
  |  Branch (1998:7): [True: 0, False: 5.89k]
  ------------------
 1999|      0|      return true;
 2000|      0|  }
 2001|  5.89k|  Lex();
 2002|       |
 2003|  5.89k|  if (getLexer().isNot(AsmToken::String)) {
  ------------------
  |  Branch (2003:7): [True: 5.69k, False: 201]
  ------------------
 2004|  5.69k|    eatToEndOfLine();
 2005|  5.69k|    return false;
 2006|  5.69k|  }
 2007|       |
 2008|    201|  StringRef Filename = getTok().getString();
 2009|       |  // Get rid of the enclosing quotes.
 2010|    201|  Filename = Filename.substr(1, Filename.size() - 2);
 2011|       |
 2012|       |  // Save the SMLoc, Filename and LineNumber for later use by diagnostics.
 2013|    201|  CppHashLoc = L;
 2014|    201|  CppHashFilename = Filename;
 2015|    201|  CppHashLineNumber = LineNumber;
 2016|    201|  CppHashBuf = CurBuffer;
 2017|       |
 2018|       |  // Ignore any trailing characters, they're just comment.
 2019|    201|  eatToEndOfLine();
 2020|    201|  return false;
 2021|  5.89k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser14eatToEndOfLineEv:
 1976|   633k|{
 1977|   633k|  if (!Lexer.is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (1977:7): [True: 601k, False: 31.5k]
  ------------------
 1978|   601k|    Lexer.LexUntilEndOfLine();
 1979|       |  // Eat EOL.
 1980|   633k|  Lex();
 1981|   633k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser16parseDirectiveIfEN7llvm_ks5SMLocENS0_13DirectiveKindE:
 4909|  3.86k|{
 4910|  3.86k|  TheCondStack.push_back(TheCondState);
 4911|  3.86k|  TheCondState.TheCond = AsmCond::IfCond;
 4912|  3.86k|  if (TheCondState.Ignore) {
  ------------------
  |  Branch (4912:7): [True: 400, False: 3.46k]
  ------------------
 4913|    400|    eatToEndOfStatement();
 4914|  3.46k|  } else {
 4915|  3.46k|    int64_t ExprValue;
 4916|  3.46k|    if (parseAbsoluteExpression(ExprValue)) {
  ------------------
  |  Branch (4916:9): [True: 1.63k, False: 1.82k]
  ------------------
 4917|  1.63k|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4918|  1.63k|      return true;
 4919|  1.63k|    }
 4920|       |
 4921|  1.82k|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4921:9): [True: 419, False: 1.40k]
  ------------------
 4922|       |      //return TokError("unexpected token in '.if' directive");
 4923|    419|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4924|    419|      return true;
 4925|    419|    }
 4926|       |
 4927|  1.40k|    Lex();
 4928|       |
 4929|  1.40k|    switch (DirKind) {
 4930|      0|    default:
  ------------------
  |  Branch (4930:5): [True: 0, False: 1.40k]
  ------------------
 4931|      0|      llvm_unreachable("unsupported directive");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 4932|    158|    case DK_IF:
  ------------------
  |  Branch (4932:5): [True: 158, False: 1.24k]
  ------------------
 4933|    265|    case DK_IFNE:
  ------------------
  |  Branch (4933:5): [True: 107, False: 1.29k]
  ------------------
 4934|    265|      break;
 4935|    300|    case DK_IFEQ:
  ------------------
  |  Branch (4935:5): [True: 300, False: 1.10k]
  ------------------
 4936|    300|      ExprValue = ExprValue == 0;
 4937|    300|      break;
 4938|     83|    case DK_IFGE:
  ------------------
  |  Branch (4938:5): [True: 83, False: 1.32k]
  ------------------
 4939|     83|      ExprValue = ExprValue >= 0;
 4940|     83|      break;
 4941|    282|    case DK_IFGT:
  ------------------
  |  Branch (4941:5): [True: 282, False: 1.12k]
  ------------------
 4942|    282|      ExprValue = ExprValue > 0;
 4943|    282|      break;
 4944|    399|    case DK_IFLE:
  ------------------
  |  Branch (4944:5): [True: 399, False: 1.00k]
  ------------------
 4945|    399|      ExprValue = ExprValue <= 0;
 4946|    399|      break;
 4947|     77|    case DK_IFLT:
  ------------------
  |  Branch (4947:5): [True: 77, False: 1.32k]
  ------------------
 4948|     77|      ExprValue = ExprValue < 0;
 4949|     77|      break;
 4950|  1.40k|    }
 4951|       |
 4952|  1.40k|    TheCondState.CondMet = ExprValue;
 4953|  1.40k|    TheCondState.Ignore = !TheCondState.CondMet;
 4954|  1.40k|  }
 4955|       |
 4956|  1.80k|  return false;
 4957|  3.86k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveIfbEN7llvm_ks5SMLocEb:
 4962|  3.31k|{
 4963|  3.31k|  TheCondStack.push_back(TheCondState);
 4964|  3.31k|  TheCondState.TheCond = AsmCond::IfCond;
 4965|       |
 4966|  3.31k|  if (TheCondState.Ignore) {
  ------------------
  |  Branch (4966:7): [True: 357, False: 2.95k]
  ------------------
 4967|    357|    eatToEndOfStatement();
 4968|  2.95k|  } else {
 4969|  2.95k|    StringRef Str = parseStringToEndOfStatement();
 4970|       |
 4971|  2.95k|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4971:9): [True: 1, False: 2.95k]
  ------------------
 4972|       |      //return TokError("unexpected token in '.ifb' directive");
 4973|      1|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4974|      1|      return true;
 4975|      1|    }
 4976|       |
 4977|  2.95k|    Lex();
 4978|       |
 4979|  2.95k|    TheCondState.CondMet = ExpectBlank == Str.empty();
 4980|  2.95k|    TheCondState.Ignore = !TheCondState.CondMet;
 4981|  2.95k|  }
 4982|       |
 4983|  3.30k|  return false;
 4984|  3.31k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveIfcEN7llvm_ks5SMLocEb:
 4990|   115k|{
 4991|   115k|  TheCondStack.push_back(TheCondState);
 4992|   115k|  TheCondState.TheCond = AsmCond::IfCond;
 4993|       |
 4994|   115k|  if (TheCondState.Ignore) {
  ------------------
  |  Branch (4994:7): [True: 239, False: 115k]
  ------------------
 4995|    239|    eatToEndOfStatement();
 4996|   115k|  } else {
 4997|   115k|    StringRef Str1 = parseStringToComma();
 4998|       |
 4999|   115k|    if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (4999:9): [True: 110k, False: 4.98k]
  ------------------
 5000|       |      //return TokError("unexpected token in '.ifc' directive");
 5001|   110k|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5002|   110k|      return true;
 5003|   110k|    }
 5004|       |
 5005|  4.98k|    Lex();
 5006|       |
 5007|  4.98k|    StringRef Str2 = parseStringToEndOfStatement();
 5008|       |
 5009|  4.98k|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5009:9): [True: 1, False: 4.98k]
  ------------------
 5010|       |      //return TokError("unexpected token in '.ifc' directive");
 5011|      1|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5012|      1|      return true;
 5013|      1|    }
 5014|       |
 5015|  4.98k|    Lex();
 5016|       |
 5017|  4.98k|    TheCondState.CondMet = ExpectEqual == (Str1.trim() == Str2.trim());
 5018|  4.98k|    TheCondState.Ignore = !TheCondState.CondMet;
 5019|  4.98k|  }
 5020|       |
 5021|  5.22k|  return false;
 5022|   115k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseStringToCommaEv:
  802|   115k|StringRef AsmParser::parseStringToComma() {
  803|   115k|  const char *Start = getTok().getLoc().getPointer();
  804|       |
  805|  2.13M|  while (Lexer.isNot(AsmToken::EndOfStatement) &&
  ------------------
  |  Branch (805:10): [True: 2.02M, False: 110k]
  ------------------
  806|  2.02M|         Lexer.isNot(AsmToken::Comma) && Lexer.isNot(AsmToken::Eof))
  ------------------
  |  Branch (806:10): [True: 2.02M, False: 4.98k]
  |  Branch (806:42): [True: 2.02M, False: 0]
  ------------------
  807|  2.02M|    Lex();
  808|       |
  809|   115k|  const char *End = getTok().getLoc().getPointer();
  810|   115k|  return StringRef(Start, End - Start);
  811|   115k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveIfeqsEN7llvm_ks5SMLocEb:
 5027|    784|{
 5028|    784|  if (Lexer.isNot(AsmToken::String)) {
  ------------------
  |  Branch (5028:7): [True: 61, False: 723]
  ------------------
 5029|       |    //if (ExpectEqual)
 5030|       |    //  TokError("expected string parameter for '.ifeqs' directive");
 5031|       |    //else
 5032|       |    //  TokError("expected string parameter for '.ifnes' directive");
 5033|     61|    eatToEndOfStatement();
 5034|     61|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5035|     61|    return true;
 5036|     61|  }
 5037|       |
 5038|    723|  bool valid;
 5039|    723|  StringRef String1 = getTok().getStringContents(valid);
 5040|    723|  if (!valid) {
  ------------------
  |  Branch (5040:7): [True: 0, False: 723]
  ------------------
 5041|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5042|      0|      return true;
 5043|      0|  }
 5044|       |
 5045|    723|  Lex();
 5046|       |
 5047|    723|  if (Lexer.isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (5047:7): [True: 10, False: 713]
  ------------------
 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|    713|  Lex();
 5057|       |
 5058|    713|  if (Lexer.isNot(AsmToken::String)) {
  ------------------
  |  Branch (5058:7): [True: 103, False: 610]
  ------------------
 5059|       |    //if (ExpectEqual)
 5060|       |    //  TokError("expected string parameter for '.ifeqs' directive");
 5061|       |    //else
 5062|       |    //  TokError("expected string parameter for '.ifnes' directive");
 5063|    103|    eatToEndOfStatement();
 5064|    103|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5065|    103|    return true;
 5066|    103|  }
 5067|       |
 5068|    610|  StringRef String2 = getTok().getStringContents(valid);
 5069|    610|  if (!valid) {
  ------------------
  |  Branch (5069:7): [True: 0, False: 610]
  ------------------
 5070|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5071|      0|      return true;
 5072|      0|  }
 5073|       |
 5074|    610|  Lex();
 5075|       |
 5076|    610|  TheCondStack.push_back(TheCondState);
 5077|    610|  TheCondState.TheCond = AsmCond::IfCond;
 5078|    610|  TheCondState.CondMet = ExpectEqual == (String1 == String2);
 5079|    610|  TheCondState.Ignore = !TheCondState.CondMet;
 5080|       |
 5081|    610|  return false;
 5082|    610|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveIfdefEN7llvm_ks5SMLocEb:
 5086|    945|bool AsmParser::parseDirectiveIfdef(SMLoc DirectiveLoc, bool expect_defined) {
 5087|    945|  StringRef Name;
 5088|    945|  TheCondStack.push_back(TheCondState);
 5089|    945|  TheCondState.TheCond = AsmCond::IfCond;
 5090|       |
 5091|    945|  if (TheCondState.Ignore) {
  ------------------
  |  Branch (5091:7): [True: 407, False: 538]
  ------------------
 5092|    407|    eatToEndOfStatement();
 5093|    538|  } else {
 5094|    538|    if (parseIdentifier(Name)) {
  ------------------
  |  Branch (5094:9): [True: 206, False: 332]
  ------------------
 5095|       |      //return TokError("expected identifier after '.ifdef'");
 5096|    206|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5097|    206|      return true;
 5098|    206|    }
 5099|       |
 5100|    332|    Lex();
 5101|       |
 5102|    332|    MCSymbol *Sym = getContext().lookupSymbol(Name);
 5103|       |
 5104|    332|    if (expect_defined)
  ------------------
  |  Branch (5104:9): [True: 21, False: 311]
  ------------------
 5105|     21|      TheCondState.CondMet = (Sym && !Sym->isUndefined());
  ------------------
  |  Branch (5105:31): [True: 15, False: 6]
  |  Branch (5105:38): [True: 14, False: 1]
  ------------------
 5106|    311|    else
 5107|    311|      TheCondState.CondMet = (!Sym || Sym->isUndefined());
  ------------------
  |  Branch (5107:31): [True: 232, False: 79]
  |  Branch (5107:39): [True: 78, False: 1]
  ------------------
 5108|    332|    TheCondState.Ignore = !TheCondState.CondMet;
 5109|    332|  }
 5110|       |
 5111|    739|  return false;
 5112|    945|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser20parseDirectiveElseIfEN7llvm_ks5SMLocE:
 5117|    837|{
 5118|    837|  if (TheCondState.TheCond != AsmCond::IfCond &&
  ------------------
  |  Branch (5118:7): [True: 491, False: 346]
  ------------------
 5119|    491|      TheCondState.TheCond != AsmCond::ElseIfCond) {
  ------------------
  |  Branch (5119:7): [True: 149, False: 342]
  ------------------
 5120|       |    //Error(DirectiveLoc, "Encountered a .elseif that doesn't follow a .if or "
 5121|       |    //                    " an .elseif");
 5122|    149|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5123|    149|    return true;
 5124|    149|  }
 5125|       |
 5126|    688|  TheCondState.TheCond = AsmCond::ElseIfCond;
 5127|       |
 5128|    688|  bool LastIgnoreState = false;
 5129|    688|  if (!TheCondStack.empty())
  ------------------
  |  Branch (5129:7): [True: 688, False: 0]
  ------------------
 5130|    688|    LastIgnoreState = TheCondStack.back().Ignore;
 5131|    688|  if (LastIgnoreState || TheCondState.CondMet) {
  ------------------
  |  Branch (5131:7): [True: 361, False: 327]
  |  Branch (5131:26): [True: 226, False: 101]
  ------------------
 5132|    587|    TheCondState.Ignore = true;
 5133|    587|    eatToEndOfStatement();
 5134|    587|  } else {
 5135|    101|    int64_t ExprValue;
 5136|    101|    if (parseAbsoluteExpression(ExprValue)) {
  ------------------
  |  Branch (5136:9): [True: 20, False: 81]
  ------------------
 5137|     20|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5138|     20|      return true;
 5139|     20|    }
 5140|       |
 5141|     81|    if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (5141:9): [True: 2, False: 79]
  ------------------
 5142|       |      //return TokError("unexpected token in '.elseif' directive");
 5143|      2|      return true;
 5144|       |
 5145|     79|    Lex();
 5146|     79|    TheCondState.CondMet = ExprValue;
 5147|     79|    TheCondState.Ignore = !TheCondState.CondMet;
 5148|     79|  }
 5149|       |
 5150|    666|  return false;
 5151|    688|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveElseEN7llvm_ks5SMLocE:
 5156|    756|{
 5157|    756|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5157:7): [True: 87, False: 669]
  ------------------
 5158|       |    //return TokError("unexpected token in '.else' directive");
 5159|     87|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5160|     87|    return true;
 5161|     87|  }
 5162|       |
 5163|    669|  Lex();
 5164|       |
 5165|    669|  if (TheCondState.TheCond != AsmCond::IfCond &&
  ------------------
  |  Branch (5165:7): [True: 362, False: 307]
  ------------------
 5166|    362|      TheCondState.TheCond != AsmCond::ElseIfCond) {
  ------------------
  |  Branch (5166:7): [True: 84, False: 278]
  ------------------
 5167|       |    //Error(DirectiveLoc, "Encountered a .else that doesn't follow a .if or an "
 5168|       |    //                    ".elseif");
 5169|     84|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5170|     84|    return true;
 5171|     84|  }
 5172|    585|  TheCondState.TheCond = AsmCond::ElseCond;
 5173|    585|  bool LastIgnoreState = false;
 5174|    585|  if (!TheCondStack.empty())
  ------------------
  |  Branch (5174:7): [True: 585, False: 0]
  ------------------
 5175|    585|    LastIgnoreState = TheCondStack.back().Ignore;
 5176|    585|  if (LastIgnoreState || TheCondState.CondMet)
  ------------------
  |  Branch (5176:7): [True: 354, False: 231]
  |  Branch (5176:26): [True: 16, False: 215]
  ------------------
 5177|    370|    TheCondState.Ignore = true;
 5178|    215|  else
 5179|    215|    TheCondState.Ignore = false;
 5180|       |
 5181|    585|  return false;
 5182|    669|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveEndIfEN7llvm_ks5SMLocE:
 5332|    526|{
 5333|    526|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5333:7): [True: 86, False: 440]
  ------------------
 5334|       |    //return TokError("unexpected token in '.endif' directive");
 5335|     86|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5336|     86|    return true;
 5337|     86|  }
 5338|       |
 5339|    440|  Lex();
 5340|       |
 5341|    440|  if ((TheCondState.TheCond == AsmCond::NoCond) || TheCondStack.empty()) {
  ------------------
  |  Branch (5341:7): [True: 201, False: 239]
  |  Branch (5341:52): [True: 0, False: 239]
  ------------------
 5342|       |    //Error(DirectiveLoc, "Encountered a .endif that doesn't follow a .if or "
 5343|       |    //                    ".else");
 5344|    201|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5345|    201|    return true;
 5346|    201|  }
 5347|    239|  if (!TheCondStack.empty()) {
  ------------------
  |  Branch (5347:7): [True: 239, False: 0]
  ------------------
 5348|    239|    TheCondState = TheCondStack.back();
 5349|    239|    TheCondStack.pop_back();
 5350|    239|  }
 5351|       |
 5352|    239|  return false;
 5353|    440|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser15parseAssignmentEN7llvm_ks9StringRefEbb:
 2518|   222k|                                bool NoDeadStrip) {
 2519|   222k|  MCSymbol *Sym;
 2520|   222k|  const MCExpr *Value;
 2521|   222k|  if (MCParserUtils::parseAssignmentExpression(Name, allow_redef, *this, Sym,
  ------------------
  |  Branch (2521:7): [True: 155k, False: 67.8k]
  ------------------
 2522|   222k|                                               Value)) {
 2523|   155k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2524|   155k|    return true;
 2525|   155k|  }
 2526|       |
 2527|  67.8k|  if (!Sym) {
  ------------------
  |  Branch (2527:7): [True: 27.9k, False: 39.8k]
  ------------------
 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|  27.9k|    return false;
 2532|  27.9k|  }
 2533|       |
 2534|       |  // Do the assignment.
 2535|  39.8k|  if (!Out.EmitAssignment(Sym, Value)) {
  ------------------
  |  Branch (2535:7): [True: 113, False: 39.7k]
  ------------------
 2536|    113|    KsError = KS_ERR_ASM_DIRECTIVE_ID;
 2537|    113|    return true;
 2538|    113|  }
 2539|  39.7k|  if (NoDeadStrip)
  ------------------
  |  Branch (2539:7): [True: 18, False: 39.7k]
  ------------------
 2540|     18|    Out.EmitSymbolAttribute(Sym, MCSA_NoDeadStrip);
 2541|       |
 2542|  39.7k|  return false;
 2543|  39.8k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser16areMacrosEnabledEv:
  280|  1.05M|  bool areMacrosEnabled() {return MacrosEnabledFlag;}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser11lookupMacroEN7llvm_ks9StringRefE:
 2446|  1.06M|const MCAsmMacro *AsmParser::lookupMacro(StringRef Name) {
 2447|  1.06M|  StringMap<MCAsmMacro>::iterator I = MacroMap.find(Name);
 2448|  1.06M|  return (I == MacroMap.end()) ? nullptr : &I->getValue();
  ------------------
  |  Branch (2448:10): [True: 1.03M, False: 24.4k]
  ------------------
 2449|  1.06M|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser16handleMacroEntryEPKNS_10MCAsmMacroEN7llvm_ks5SMLocE:
 2458|  22.5k|{
 2459|       |  // Arbitrarily limit macro nesting depth, to match 'as'. We can eliminate
 2460|       |  // this, although we should protect against infinite loops.
 2461|  22.5k|  if (ActiveMacros.size() == 20) {
  ------------------
  |  Branch (2461:7): [True: 1.03k, False: 21.5k]
  ------------------
 2462|       |    // return TokError("macros cannot be nested more than 20 levels deep");
 2463|  1.03k|    KsError = KS_ERR_ASM_MACRO_LEVELS_EXCEED;
 2464|  1.03k|    return true;
 2465|  1.03k|  }
 2466|       |
 2467|  21.5k|  MCAsmMacroArguments A;
 2468|  21.5k|  if (parseMacroArguments(M, A)) {
  ------------------
  |  Branch (2468:7): [True: 393, False: 21.1k]
  ------------------
 2469|    393|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2470|    393|    return true;
 2471|    393|  }
 2472|       |
 2473|       |  // Macro instantiation is lexical, unfortunately. We construct a new buffer
 2474|       |  // to hold the macro body with substitutions.
 2475|  21.1k|  SmallString<256> Buf;
 2476|  21.1k|  StringRef Body = M->Body;
 2477|  21.1k|  raw_svector_ostream OS(Buf);
 2478|       |
 2479|  21.1k|  if (expandMacro(OS, Body, M->Parameters, A, true, getTok().getLoc())) {
  ------------------
  |  Branch (2479:7): [True: 0, False: 21.1k]
  ------------------
 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|  21.1k|  OS << ".endmacro\n";
 2487|       |
 2488|  21.1k|  std::unique_ptr<MemoryBuffer> Instantiation =
 2489|  21.1k|      MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
 2490|       |
 2491|       |  // Create the macro instantiation object and add to the current macro
 2492|       |  // instantiation stack.
 2493|  21.1k|  MacroInstantiation *MI = new MacroInstantiation(
 2494|  21.1k|      NameLoc, CurBuffer, getTok().getLoc(), TheCondStack.size());
 2495|  21.1k|  ActiveMacros.push_back(MI);
 2496|       |
 2497|  21.1k|  ++NumOfMacroInstantiations;
 2498|       |
 2499|       |  // Jump to the macro instantiation and prime the lexer.
 2500|  21.1k|  CurBuffer = SrcMgr.AddNewSourceBuffer(std::move(Instantiation), SMLoc());
 2501|  21.1k|  Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer());
 2502|  21.1k|  Lex();
 2503|       |
 2504|  21.1k|  return false;
 2505|  21.1k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseMacroArgumentsEPKNS_10MCAsmMacroERNSt3__16vectorINS5_IN7llvm_ks8AsmTokenENS4_9allocatorIS7_EEEENS8_ISA_EEEE:
 2337|  25.3k|{
 2338|  25.3k|  const unsigned NParameters = M ? M->Parameters.size() : 0;
  ------------------
  |  Branch (2338:32): [True: 21.5k, False: 3.83k]
  ------------------
 2339|  25.3k|  bool NamedParametersFound = false;
 2340|  25.3k|  SmallVector<SMLoc, 4> FALocs;
 2341|       |
 2342|  25.3k|  A.resize(NParameters);
 2343|  25.3k|  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|  25.3k|  bool HasVararg = NParameters ? M->Parameters.back().Vararg : false;
  ------------------
  |  Branch (2348:20): [True: 2.17k, False: 23.1k]
  ------------------
 2349|  66.8k|  for (unsigned Parameter = 0; !NParameters || Parameter < NParameters;
  ------------------
  |  Branch (2349:32): [True: 63.2k, False: 3.58k]
  |  Branch (2349:48): [True: 3.53k, False: 52]
  ------------------
 2350|  66.7k|       ++Parameter) {
 2351|       |    //SMLoc IDLoc = Lexer.getLoc();
 2352|  66.7k|    MCAsmMacroParameter FA;
 2353|       |
 2354|  66.7k|    if (Lexer.is(AsmToken::Identifier) && Lexer.peekTok().is(AsmToken::Equal)) {
  ------------------
  |  Branch (2354:9): [True: 6.98k, False: 59.7k]
  |  Branch (2354:9): [True: 1.05k, False: 65.7k]
  |  Branch (2354:43): [True: 1.05k, False: 5.92k]
  ------------------
 2355|  1.05k|      if (parseIdentifier(FA.Name)) {
  ------------------
  |  Branch (2355:11): [True: 0, False: 1.05k]
  ------------------
 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.05k|      if (!Lexer.is(AsmToken::Equal)) {
  ------------------
  |  Branch (2362:11): [True: 0, False: 1.05k]
  ------------------
 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.05k|      Lex();
 2369|       |
 2370|  1.05k|      NamedParametersFound = true;
 2371|  1.05k|    }
 2372|       |
 2373|  66.7k|    if (NamedParametersFound && FA.Name.empty()) {
  ------------------
  |  Branch (2373:9): [True: 1.13k, False: 65.6k]
  |  Branch (2373:33): [True: 78, False: 1.05k]
  ------------------
 2374|       |      //Error(IDLoc, "cannot mix positional and keyword arguments");
 2375|     78|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2376|     78|      eatToEndOfStatement();
 2377|     78|      return true;
 2378|     78|    }
 2379|       |
 2380|  66.6k|    bool Vararg = HasVararg && Parameter == (NParameters - 1);
  ------------------
  |  Branch (2380:19): [True: 0, False: 66.6k]
  |  Branch (2380:32): [True: 0, False: 0]
  ------------------
 2381|  66.6k|    if (parseMacroArgument(FA.Value, Vararg)) {
  ------------------
  |  Branch (2381:9): [True: 379, False: 66.3k]
  ------------------
 2382|    379|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2383|    379|      return true;
 2384|    379|    }
 2385|       |
 2386|  66.3k|    unsigned PI = Parameter;
 2387|  66.3k|    if (!FA.Name.empty()) {
  ------------------
  |  Branch (2387:9): [True: 1.05k, False: 65.2k]
  ------------------
 2388|  1.05k|      unsigned FAI = 0;
 2389|  3.05k|      for (FAI = 0; FAI < NParameters; ++FAI)
  ------------------
  |  Branch (2389:21): [True: 2.63k, False: 414]
  ------------------
 2390|  2.63k|        if (M->Parameters[FAI].Name == FA.Name)
  ------------------
  |  Branch (2390:13): [True: 637, False: 2.00k]
  ------------------
 2391|    637|          break;
 2392|       |
 2393|  1.05k|      if (FAI >= NParameters) {
  ------------------
  |  Branch (2393:11): [True: 414, False: 637]
  ------------------
 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|    414|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2399|    414|        return true;
 2400|    414|      }
 2401|    637|      PI = FAI;
 2402|    637|    }
 2403|       |
 2404|  65.8k|    if (!FA.Value.empty()) {
  ------------------
  |  Branch (2404:9): [True: 10.7k, False: 55.1k]
  ------------------
 2405|  10.7k|      if (A.size() <= PI)
  ------------------
  |  Branch (2405:11): [True: 9.14k, False: 1.62k]
  ------------------
 2406|  9.14k|        A.resize(PI + 1);
 2407|  10.7k|      A[PI] = FA.Value;
 2408|       |
 2409|  10.7k|      if (FALocs.size() <= PI)
  ------------------
  |  Branch (2409:11): [True: 9.14k, False: 1.62k]
  ------------------
 2410|  9.14k|        FALocs.resize(PI + 1);
 2411|       |
 2412|  10.7k|      FALocs[PI] = Lexer.getLoc();
 2413|  10.7k|    }
 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.8k|    if (Lexer.is(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (2418:9): [True: 24.4k, False: 41.4k]
  ------------------
 2419|  24.4k|      bool Failure = false;
 2420|  36.1k|      for (unsigned FAI = 0; FAI < NParameters; ++FAI) {
  ------------------
  |  Branch (2420:30): [True: 11.7k, False: 24.4k]
  ------------------
 2421|  11.7k|        if (A[FAI].empty()) {
  ------------------
  |  Branch (2421:13): [True: 10.7k, False: 976]
  ------------------
 2422|  10.7k|          if (M->Parameters[FAI].Required) {
  ------------------
  |  Branch (2422:15): [True: 0, False: 10.7k]
  ------------------
 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|  10.7k|          if (!M->Parameters[FAI].Value.empty())
  ------------------
  |  Branch (2430:15): [True: 2.94k, False: 7.79k]
  ------------------
 2431|  2.94k|            A[FAI] = M->Parameters[FAI].Value;
 2432|  10.7k|        }
 2433|  11.7k|      }
 2434|  24.4k|      return Failure;
 2435|  24.4k|    }
 2436|       |
 2437|  41.4k|    if (Lexer.is(AsmToken::Comma))
  ------------------
  |  Branch (2437:9): [True: 41.4k, False: 0]
  ------------------
 2438|  41.4k|      Lex();
 2439|  41.4k|  }
 2440|       |
 2441|       |  // return TokError("too many positional arguments");
 2442|     52|  KsError = KS_ERR_ASM_MACRO_ARGS;
 2443|     52|  return true;
 2444|  25.3k|}
AsmParser.cpp:_ZN12_GLOBAL__N_119MCAsmMacroParameterC2Ev:
   65|  79.5k|  MCAsmMacroParameter() : Required(false), Vararg(false) {}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseMacroArgumentERNSt3__16vectorIN7llvm_ks8AsmTokenENS1_9allocatorIS4_EEEEb:
 2261|  67.1k|{
 2262|       |
 2263|  67.1k|  if (Vararg) {
  ------------------
  |  Branch (2263:7): [True: 0, False: 67.1k]
  ------------------
 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|  67.1k|  unsigned ParenLevel = 0;
 2272|  67.1k|  unsigned AddTokens = 0;
 2273|       |
 2274|       |  // Darwin doesn't use spaces to delmit arguments.
 2275|  67.1k|  AsmLexerSkipSpaceRAII ScopedSkipSpace(Lexer, IsDarwin);
 2276|       |
 2277|   132k|  for (;;) {
 2278|   132k|    if (Lexer.is(AsmToken::Eof) || Lexer.is(AsmToken::Equal)) {
  ------------------
  |  Branch (2278:9): [True: 5, False: 132k]
  |  Branch (2278:36): [True: 0, False: 132k]
  ------------------
 2279|       |      // return TokError("unexpected token in macro instantiation");
 2280|      5|      KsError = KS_ERR_ASM_MACRO_TOKEN;
 2281|      5|      return true;
 2282|      5|    }
 2283|       |
 2284|   132k|    if (ParenLevel == 0 && Lexer.is(AsmToken::Comma))
  ------------------
  |  Branch (2284:9): [True: 118k, False: 14.4k]
  |  Branch (2284:28): [True: 41.6k, False: 76.7k]
  ------------------
 2285|  41.6k|      break;
 2286|       |
 2287|  91.1k|    if (Lexer.is(AsmToken::Space)) {
  ------------------
  |  Branch (2287:9): [True: 0, False: 91.1k]
  ------------------
 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|  91.1k|    if (Lexer.is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (2310:9): [True: 25.5k, False: 65.5k]
  ------------------
 2311|  25.5k|      break;
 2312|       |
 2313|       |    // Adjust the current parentheses level.
 2314|  65.5k|    if (Lexer.is(AsmToken::LParen))
  ------------------
  |  Branch (2314:9): [True: 3.30k, False: 62.2k]
  ------------------
 2315|  3.30k|      ++ParenLevel;
 2316|  62.2k|    else if (Lexer.is(AsmToken::RParen) && ParenLevel)
  ------------------
  |  Branch (2316:14): [True: 3.10k, False: 59.1k]
  |  Branch (2316:44): [True: 997, False: 2.11k]
  ------------------
 2317|    997|      --ParenLevel;
 2318|       |
 2319|       |    // Append the token to the current argument list.
 2320|  65.5k|    MA.push_back(getTok());
 2321|  65.5k|    if (AddTokens)
  ------------------
  |  Branch (2321:9): [True: 0, False: 65.5k]
  ------------------
 2322|      0|      AddTokens--;
 2323|  65.5k|    Lex();
 2324|  65.5k|  }
 2325|       |
 2326|  67.1k|  if (ParenLevel != 0) {
  ------------------
  |  Branch (2326:7): [True: 385, False: 66.8k]
  ------------------
 2327|       |    // return TokError("unbalanced parentheses in macro argument");
 2328|    385|    KsError = KS_ERR_ASM_MACRO_PAREN;
 2329|    385|    return true;
 2330|    385|  }
 2331|  66.8k|  return false;
 2332|  67.1k|}
AsmParser.cpp:_ZN12_GLOBAL__N_121AsmLexerSkipSpaceRAIIC2ERN7llvm_ks8AsmLexerEb:
 2247|  67.1k|  AsmLexerSkipSpaceRAII(AsmLexer &Lexer, bool SkipSpace) : Lexer(Lexer) {
 2248|  67.1k|    Lexer.setSkipSpace(SkipSpace);
 2249|  67.1k|  }
AsmParser.cpp:_ZN12_GLOBAL__N_121AsmLexerSkipSpaceRAIID2Ev:
 2251|  67.1k|  ~AsmLexerSkipSpaceRAII() {
 2252|  67.1k|    Lexer.setSkipSpace(true);
 2253|  67.1k|  }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser11expandMacroERN7llvm_ks19raw_svector_ostreamENS1_9StringRefENS1_8ArrayRefINS_19MCAsmMacroParameterEEENS5_INSt3__16vectorINS1_8AsmTokenENS8_9allocatorISA_EEEEEEbNS1_5SMLocE:
 2090|  7.60M|{
 2091|  7.60M|  unsigned NParameters = Parameters.size();
 2092|  7.60M|  bool HasVararg = NParameters ? Parameters.back().Vararg : false;
  ------------------
  |  Branch (2092:20): [True: 25.7k, False: 7.57M]
  ------------------
 2093|  7.60M|  if ((!IsDarwin || NParameters != 0) && NParameters != A.size())
  ------------------
  |  Branch (2093:8): [True: 0, False: 7.60M]
  |  Branch (2093:21): [True: 25.7k, False: 7.57M]
  |  Branch (2093:42): [True: 0, False: 25.7k]
  ------------------
 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|  7.62M|  while (!Body.empty()) {
  ------------------
  |  Branch (2099:10): [True: 5.12M, False: 2.50M]
  ------------------
 2100|       |    // Scan for the next substitution.
 2101|  5.12M|    std::size_t End = Body.size(), Pos = 0;
 2102|  41.4M|    for (; Pos != End; ++Pos) {
  ------------------
  |  Branch (2102:12): [True: 36.3M, False: 5.10M]
  ------------------
 2103|       |      // Check for a substitution or escape.
 2104|  36.3M|      if (IsDarwin && !NParameters) {
  ------------------
  |  Branch (2104:11): [True: 36.3M, False: 0]
  |  Branch (2104:23): [True: 34.4M, False: 1.93M]
  ------------------
 2105|       |        // This macro has no parameters, look for $0, $1, etc.
 2106|  34.4M|        if (Body[Pos] != '$' || Pos + 1 == End)
  ------------------
  |  Branch (2106:13): [True: 33.8M, False: 566k]
  |  Branch (2106:33): [True: 0, False: 566k]
  ------------------
 2107|  33.8M|          continue;
 2108|       |
 2109|   566k|        char Next = Body[Pos + 1];
 2110|   566k|        if (Next == '$' || Next == 'n' ||
  ------------------
  |  Branch (2110:13): [True: 4.60k, False: 561k]
  |  Branch (2110:28): [True: 665, False: 561k]
  ------------------
 2111|   561k|            isdigit(static_cast<unsigned char>(Next)))
  ------------------
  |  Branch (2111:13): [True: 5.82k, False: 555k]
  ------------------
 2112|  11.1k|          break;
 2113|  1.93M|      } else {
 2114|       |        // This macro has parameters, look for \foo, \bar, etc.
 2115|  1.93M|        if (Body[Pos] == '\\' && Pos + 1 != End)
  ------------------
  |  Branch (2115:13): [True: 12.3k, False: 1.91M]
  |  Branch (2115:34): [True: 12.3k, False: 0]
  ------------------
 2116|  12.3k|          break;
 2117|  1.93M|      }
 2118|  36.3M|    }
 2119|       |
 2120|       |    // Add the prefix.
 2121|  5.12M|    OS << Body.slice(0, Pos);
 2122|       |
 2123|       |    // Check if we reached the end.
 2124|  5.12M|    if (Pos == End)
  ------------------
  |  Branch (2124:9): [True: 5.10M, False: 23.4k]
  ------------------
 2125|  5.10M|      break;
 2126|       |
 2127|  23.4k|    if (IsDarwin && !NParameters) {
  ------------------
  |  Branch (2127:9): [True: 23.4k, False: 0]
  |  Branch (2127:21): [True: 11.1k, False: 12.3k]
  ------------------
 2128|  11.1k|      switch (Body[Pos + 1]) {
 2129|       |      // $$ => $
 2130|  4.60k|      case '$':
  ------------------
  |  Branch (2130:7): [True: 4.60k, False: 6.49k]
  ------------------
 2131|  4.60k|        OS << '$';
 2132|  4.60k|        break;
 2133|       |
 2134|       |      // $n => number of arguments
 2135|    665|      case 'n':
  ------------------
  |  Branch (2135:7): [True: 665, False: 10.4k]
  ------------------
 2136|    665|        OS << A.size();
 2137|    665|        break;
 2138|       |
 2139|       |      // $[0-9] => argument
 2140|  5.82k|      default: {
  ------------------
  |  Branch (2140:7): [True: 5.82k, False: 5.27k]
  ------------------
 2141|       |        // Missing arguments are ignored.
 2142|  5.82k|        unsigned Index = Body[Pos + 1] - '0';
 2143|  5.82k|        if (Index >= A.size())
  ------------------
  |  Branch (2143:13): [True: 5.18k, False: 641]
  ------------------
 2144|  5.18k|          break;
 2145|       |
 2146|       |        // Otherwise substitute with the token values, with spaces eliminated.
 2147|    641|        for (const AsmToken &Token : A[Index])
  ------------------
  |  Branch (2147:36): [True: 3.10k, False: 641]
  ------------------
 2148|  3.10k|          OS << Token.getString();
 2149|    641|        break;
 2150|  5.82k|      }
 2151|  11.1k|      }
 2152|  11.1k|      Pos += 2;
 2153|  12.3k|    } else {
 2154|  12.3k|      unsigned I = Pos + 1;
 2155|       |
 2156|       |      // Check for the \@ pseudo-variable.
 2157|  12.3k|      if (EnableAtPseudoVariable && Body[I] == '@' && I + 1 != End)
  ------------------
  |  Branch (2157:11): [True: 12.3k, False: 0]
  |  Branch (2157:37): [True: 1.09k, False: 11.2k]
  |  Branch (2157:55): [True: 1.09k, False: 0]
  ------------------
 2158|  1.09k|        ++I;
 2159|  11.2k|      else
 2160|  26.4k|        while (isIdentifierChar(Body[I]) && I + 1 != End)
  ------------------
  |  Branch (2160:16): [True: 15.1k, False: 11.2k]
  |  Branch (2160:45): [True: 15.1k, False: 0]
  ------------------
 2161|  15.1k|          ++I;
 2162|       |
 2163|  12.3k|      const char *Begin = Body.data() + Pos + 1;
 2164|  12.3k|      StringRef Argument(Begin, I - (Pos + 1));
 2165|  12.3k|      unsigned Index = 0;
 2166|       |
 2167|  12.3k|      if (Argument == "@") {
  ------------------
  |  Branch (2167:11): [True: 1.09k, False: 11.2k]
  ------------------
 2168|  1.09k|        OS << NumOfMacroInstantiations;
 2169|  1.09k|        Pos += 2;
 2170|  11.2k|      } else {
 2171|  21.4k|        for (; Index < NParameters; ++Index)
  ------------------
  |  Branch (2171:16): [True: 12.4k, False: 9.04k]
  ------------------
 2172|  12.4k|          if (Parameters[Index].Name == Argument)
  ------------------
  |  Branch (2172:15): [True: 2.24k, False: 10.1k]
  ------------------
 2173|  2.24k|            break;
 2174|       |
 2175|  11.2k|        if (Index == NParameters) {
  ------------------
  |  Branch (2175:13): [True: 9.04k, False: 2.24k]
  ------------------
 2176|  9.04k|          if (Body[Pos + 1] == '(' && Body[Pos + 2] == ')')
  ------------------
  |  Branch (2176:15): [True: 1.54k, False: 7.49k]
  |  Branch (2176:39): [True: 1.29k, False: 256]
  ------------------
 2177|  1.29k|            Pos += 3;
 2178|  7.74k|          else {
 2179|  7.74k|            OS << '\\' << Argument;
 2180|  7.74k|            Pos = I;
 2181|  7.74k|          }
 2182|  9.04k|        } else {
 2183|  2.24k|          bool VarargParameter = HasVararg && Index == (NParameters - 1);
  ------------------
  |  Branch (2183:34): [True: 0, False: 2.24k]
  |  Branch (2183:47): [True: 0, False: 0]
  ------------------
 2184|  2.24k|          for (const AsmToken &Token : A[Index])
  ------------------
  |  Branch (2184:38): [True: 4.63k, False: 2.24k]
  ------------------
 2185|       |            // We expect no quotes around the string's contents when
 2186|       |            // parsing for varargs.
 2187|  4.63k|            if (Token.getKind() != AsmToken::String || VarargParameter)
  ------------------
  |  Branch (2187:17): [True: 3.06k, False: 1.56k]
  |  Branch (2187:56): [True: 0, False: 1.56k]
  ------------------
 2188|  3.06k|              OS << Token.getString();
 2189|  1.56k|            else {
 2190|  1.56k|              bool valid;
 2191|  1.56k|              OS << Token.getStringContents(valid);
 2192|  1.56k|              if (!valid) {
  ------------------
  |  Branch (2192:19): [True: 0, False: 1.56k]
  ------------------
 2193|      0|                  return true;
 2194|      0|              }
 2195|  1.56k|            }
 2196|       |
 2197|  2.24k|          Pos += 1 + Argument.size();
 2198|  2.24k|        }
 2199|  11.2k|      }
 2200|  12.3k|    }
 2201|       |    // Update the scan point.
 2202|  23.4k|    Body = Body.substr(Pos);
 2203|  23.4k|  }
 2204|       |
 2205|  7.60M|  return false;
 2206|  7.60M|}
AsmParser.cpp:_ZL16isIdentifierCharc:
 2081|  37.1k|static bool isIdentifierChar(char c) {
 2082|  37.1k|  return isalnum(static_cast<unsigned char>(c)) || c == '_' || c == '$' ||
  ------------------
  |  Branch (2082:10): [True: 13.2k, False: 23.8k]
  |  Branch (2082:52): [True: 535, False: 23.3k]
  |  Branch (2082:64): [True: 6.14k, False: 17.2k]
  ------------------
 2083|  17.2k|         c == '.';
  ------------------
  |  Branch (2083:10): [True: 292, False: 16.9k]
  ------------------
 2084|  37.1k|}
AsmParser.cpp:_ZN12_GLOBAL__N_118MacroInstantiationC2EN7llvm_ks5SMLocEiS2_m:
 2210|  23.3k|    : InstantiationLoc(IL), ExitBuffer(EB), ExitLoc(EL),
 2211|  23.3k|      CondStackDepth(CondStackDepth) {}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser11isDirectiveEN7llvm_ks9StringRefE:
 1435|  1.03M|{
 1436|  1.03M|    if (KsSyntax == KS_OPT_SYNTAX_NASM)
  ------------------
  |  Branch (1436:9): [True: 0, False: 1.03M]
  ------------------
 1437|      0|        return isNasmDirective(IDVal);
 1438|  1.03M|    else // Directives start with "."
 1439|  1.03M|        return (!IDVal.empty() && IDVal[0] == '.' && IDVal != ".");
  ------------------
  |  Branch (1439:17): [True: 1.01M, False: 24.9k]
  |  Branch (1439:35): [True: 952k, False: 59.3k]
  |  Branch (1439:54): [True: 925k, False: 26.8k]
  ------------------
 1440|  1.03M|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveSetEN7llvm_ks9StringRefEb:
 2594|  1.26k|bool AsmParser::parseDirectiveSet(StringRef IDVal, bool allow_redef) {
 2595|  1.26k|  StringRef Name;
 2596|       |
 2597|  1.26k|  if (parseIdentifier(Name)) {
  ------------------
  |  Branch (2597:7): [True: 241, False: 1.02k]
  ------------------
 2598|       |    // return TokError("expected identifier after '" + Twine(IDVal) + "'");
 2599|    241|    KsError = KS_ERR_ASM_DIRECTIVE_ID;
 2600|    241|    return true;
 2601|    241|  }
 2602|       |
 2603|  1.02k|  if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (2603:7): [True: 545, False: 476]
  ------------------
 2604|       |    // return TokError("unexpected token in '" + Twine(IDVal) + "'");
 2605|    545|    KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2606|    545|    return true;
 2607|    545|  }
 2608|    476|  Lex();
 2609|       |
 2610|    476|  return parseAssignment(Name, allow_redef, true);
 2611|  1.02k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveAsciiEN7llvm_ks9StringRefEb:
 2692|    812|{
 2693|    812|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (2693:7): [True: 590, False: 222]
  ------------------
 2694|    590|    checkForValidSection();
 2695|       |
 2696|    805|    for (;;) {
 2697|    805|      if (getLexer().isNot(AsmToken::String)) {
  ------------------
  |  Branch (2697:11): [True: 391, False: 414]
  ------------------
 2698|       |        // return TokError("expected string in '" + Twine(IDVal) + "' directive");
 2699|    391|        KsError = KS_ERR_ASM_DIRECTIVE_STR;
 2700|    391|        return true;
 2701|    391|      }
 2702|       |
 2703|    414|      std::string Data;
 2704|    414|      if (parseEscapedString(Data)) {
  ------------------
  |  Branch (2704:11): [True: 21, False: 393]
  ------------------
 2705|     21|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2706|     21|        return true;
 2707|     21|      }
 2708|       |
 2709|    393|      getStreamer().EmitBytes(Data);
 2710|    393|      if (ZeroTerminated)
  ------------------
  |  Branch (2710:11): [True: 376, False: 17]
  ------------------
 2711|    376|        getStreamer().EmitBytes(StringRef("\0", 1));
 2712|       |
 2713|    393|      Lex();
 2714|       |
 2715|    393|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (2715:11): [True: 95, False: 298]
  ------------------
 2716|     95|        break;
 2717|       |
 2718|    298|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (2718:11): [True: 83, False: 215]
  ------------------
 2719|       |        // return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
 2720|     83|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2721|     83|        return true;
 2722|     83|      }
 2723|    215|      Lex();
 2724|    215|    }
 2725|    590|  }
 2726|       |
 2727|    317|  Lex();
 2728|    317|  return false;
 2729|    812|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveValueEjRj:
 2808|  1.89k|{
 2809|  1.89k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (2809:7): [True: 1.33k, False: 557]
  ------------------
 2810|  1.33k|    checkForValidSection();
 2811|       |
 2812|  5.58k|    for (;;) {
 2813|  5.58k|      const MCExpr *Value;
 2814|  5.58k|      SMLoc ExprLoc = getLexer().getLoc();
 2815|  5.58k|      if (parseExpression(Value)) {
  ------------------
  |  Branch (2815:11): [True: 379, False: 5.20k]
  ------------------
 2816|    379|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2817|    379|        return true;
 2818|    379|      }
 2819|       |
 2820|       |      // Special case constant expressions to match code generator.
 2821|  5.20k|      if (const MCConstantExpr *MCE = dyn_cast<MCConstantExpr>(Value)) {
  ------------------
  |  Branch (2821:33): [True: 573, False: 4.63k]
  ------------------
 2822|    573|        assert(Size <= 8 && "Invalid size");
  ------------------
  |  Branch (2822:9): [True: 573, False: 0]
  |  Branch (2822:9): [True: 573, Folded]
  |  Branch (2822:9): [True: 573, False: 0]
  ------------------
 2823|    573|        uint64_t IntValue = MCE->getValue();
 2824|    573|        if (!isUIntN(8 * Size, IntValue) && !isIntN(8 * Size, IntValue)) {
  ------------------
  |  Branch (2824:13): [True: 269, False: 304]
  |  Branch (2824:45): [True: 81, False: 188]
  ------------------
 2825|       |            // return Error(ExprLoc, "literal value out of range for directive");
 2826|     81|            KsError = KS_ERR_ASM_DIRECTIVE_VALUE_RANGE;
 2827|     81|            return true;
 2828|     81|        }
 2829|    492|        bool Error;
 2830|    492|        getStreamer().EmitIntValue(IntValue, Size, Error);
 2831|    492|        if (Error) {
  ------------------
  |  Branch (2831:13): [True: 0, False: 492]
  ------------------
 2832|      0|            KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2833|      0|            return true;
 2834|      0|        }
 2835|    492|      } else
 2836|  4.63k|        getStreamer().EmitValue(Value, Size, ExprLoc);
 2837|       |
 2838|  5.12k|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (2838:11): [True: 698, False: 4.42k]
  ------------------
 2839|    698|        break;
 2840|       |
 2841|       |      // FIXME: Improve diagnostic.
 2842|  4.42k|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (2842:11): [True: 180, False: 4.24k]
  ------------------
 2843|       |        // return TokError("unexpected token in directive");
 2844|    180|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2845|    180|        return true;
 2846|    180|      }
 2847|  4.24k|      Lex();
 2848|  4.24k|    }
 2849|  1.33k|  }
 2850|       |
 2851|  1.25k|  Lex();
 2852|  1.25k|  return false;
 2853|  1.89k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser15parseExpressionERPKN7llvm_ks6MCExprE:
 1076|   199k|bool AsmParser::parseExpression(const MCExpr *&Res) {
 1077|   199k|  SMLoc EndLoc;
 1078|   199k|  return parseExpression(Res, EndLoc);
 1079|   199k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser23parseDirectiveOctaValueERj:
 2858|    289|{
 2859|    289|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (2859:7): [True: 95, False: 194]
  ------------------
 2860|     95|    checkForValidSection();
 2861|       |
 2862|    900|    for (;;) {
 2863|    900|      if (Lexer.getKind() == AsmToken::Error) {
  ------------------
  |  Branch (2863:11): [True: 1, False: 899]
  ------------------
 2864|      1|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2865|      1|        return true;
 2866|      1|      }
 2867|    899|      if (Lexer.getKind() != AsmToken::Integer &&
  ------------------
  |  Branch (2867:11): [True: 309, False: 590]
  ------------------
 2868|    309|          Lexer.getKind() != AsmToken::BigNum) {
  ------------------
  |  Branch (2868:11): [True: 12, False: 297]
  ------------------
 2869|       |        // return TokError("unknown token in expression");
 2870|     12|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2871|     12|        return true;
 2872|     12|      }
 2873|       |
 2874|       |      // SMLoc ExprLoc = getLexer().getLoc();
 2875|    887|      bool valid;
 2876|    887|      APInt IntValue = getTok().getAPIntVal(valid);
 2877|    887|      if (!valid) {
  ------------------
  |  Branch (2877:11): [True: 0, False: 887]
  ------------------
 2878|      0|          KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2879|      0|          return true;
 2880|      0|      }
 2881|    887|      Lex();
 2882|       |
 2883|    887|      uint64_t hi, lo;
 2884|    887|      if (IntValue.isIntN(64)) {
  ------------------
  |  Branch (2884:11): [True: 590, False: 297]
  ------------------
 2885|    590|        hi = 0;
 2886|    590|        lo = IntValue.getZExtValue();
 2887|    590|      } else if (IntValue.isIntN(128)) {
  ------------------
  |  Branch (2887:18): [True: 292, False: 5]
  ------------------
 2888|       |        // It might actually have more than 128 bits, but the top ones are zero.
 2889|    292|        hi = IntValue.getHiBits(IntValue.getBitWidth() - 64).getZExtValue();
 2890|    292|        lo = IntValue.getLoBits(64).getZExtValue();
 2891|    292|      } else {
 2892|       |        // return Error(ExprLoc, "literal value out of range for directive");
 2893|      5|        KsError = KS_ERR_ASM_DIRECTIVE_VALUE_RANGE;
 2894|      5|        return true;
 2895|      5|      }
 2896|       |
 2897|    882|      bool Error;
 2898|    882|      if (MAI.isLittleEndian()) {
  ------------------
  |  Branch (2898:11): [True: 882, False: 0]
  ------------------
 2899|    882|        getStreamer().EmitIntValue(lo, 8, Error);
 2900|    882|        getStreamer().EmitIntValue(hi, 8, Error);
 2901|    882|      } else {
 2902|      0|        getStreamer().EmitIntValue(hi, 8, Error);
 2903|      0|        getStreamer().EmitIntValue(lo, 8, Error);
 2904|      0|      }
 2905|       |
 2906|    882|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (2906:11): [True: 63, False: 819]
  ------------------
 2907|     63|        break;
 2908|       |
 2909|       |      // FIXME: Improve diagnostic.
 2910|    819|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (2910:11): [True: 14, False: 805]
  ------------------
 2911|       |        // return TokError("unexpected token in directive");
 2912|     14|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2913|     14|        return true;
 2914|     14|      }
 2915|    805|      Lex();
 2916|    805|    }
 2917|     95|  }
 2918|       |
 2919|    257|  Lex();
 2920|    257|  return false;
 2921|    289|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser23parseDirectiveRealValueERKN7llvm_ks12fltSemanticsE:
 2926|  1.58k|{
 2927|  1.58k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (2927:7): [True: 1.29k, False: 287]
  ------------------
 2928|  1.29k|    checkForValidSection();
 2929|       |
 2930|  4.73k|    for (;;) {
 2931|       |      // We don't truly support arithmetic on floating point expressions, so we
 2932|       |      // have to manually parse unary prefixes.
 2933|  4.73k|      bool IsNeg = false;
 2934|  4.73k|      if (getLexer().is(AsmToken::Minus)) {
  ------------------
  |  Branch (2934:11): [True: 940, False: 3.79k]
  ------------------
 2935|    940|        Lex();
 2936|    940|        IsNeg = true;
 2937|  3.79k|      } else if (getLexer().is(AsmToken::Plus))
  ------------------
  |  Branch (2937:18): [True: 670, False: 3.12k]
  ------------------
 2938|    670|        Lex();
 2939|       |
 2940|  4.73k|      if (getLexer().isNot(AsmToken::Integer) &&
  ------------------
  |  Branch (2940:11): [True: 1.74k, False: 2.99k]
  ------------------
 2941|  1.74k|          getLexer().isNot(AsmToken::Real) &&
  ------------------
  |  Branch (2941:11): [True: 1.41k, False: 331]
  ------------------
 2942|  1.41k|          getLexer().isNot(AsmToken::Identifier)) {
  ------------------
  |  Branch (2942:11): [True: 130, False: 1.28k]
  ------------------
 2943|       |        // return TokError("unexpected token in directive");
 2944|    130|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2945|    130|        return true;
 2946|    130|      }
 2947|       |
 2948|       |      // Convert to an APFloat.
 2949|  4.60k|      APFloat Value(Semantics);
 2950|  4.60k|      StringRef IDVal = getTok().getString();
 2951|  4.60k|      if (getLexer().is(AsmToken::Identifier)) {
  ------------------
  |  Branch (2951:11): [True: 1.28k, False: 3.32k]
  ------------------
 2952|  1.28k|        if (!IDVal.compare_lower("infinity") || !IDVal.compare_lower("inf"))
  ------------------
  |  Branch (2952:13): [True: 27, False: 1.25k]
  |  Branch (2952:13): [True: 399, False: 882]
  |  Branch (2952:49): [True: 372, False: 882]
  ------------------
 2953|    399|          Value = APFloat::getInf(Semantics);
 2954|    882|        else if (!IDVal.compare_lower("nan"))
  ------------------
  |  Branch (2954:18): [True: 373, False: 509]
  ------------------
 2955|    373|          Value = APFloat::getNaN(Semantics, false, ~0);
 2956|    509|        else {
 2957|       |          // return TokError("invalid floating point literal");
 2958|    509|          KsError = KS_ERR_ASM_DIRECTIVE_FPOINT;
 2959|    509|          return true;
 2960|    509|        }
 2961|  3.32k|      } else if (Value.convertFromString(IDVal, APFloat::rmNearestTiesToEven) ==
  ------------------
  |  Branch (2961:18): [True: 6, False: 3.32k]
  ------------------
 2962|  3.32k|                 APFloat::opInvalidOp) {
 2963|       |        // return TokError("invalid floating point literal");
 2964|      6|        KsError = KS_ERR_ASM_DIRECTIVE_FPOINT;
 2965|      6|        return true;
 2966|      6|      }
 2967|  4.09k|      if (IsNeg)
  ------------------
  |  Branch (2967:11): [True: 856, False: 3.23k]
  ------------------
 2968|    856|        Value.changeSign();
 2969|       |
 2970|       |      // Consume the numeric token.
 2971|  4.09k|      Lex();
 2972|       |
 2973|       |      // Emit the value as an integer.
 2974|  4.09k|      APInt AsInt = Value.bitcastToAPInt();
 2975|  4.09k|      bool Error;
 2976|  4.09k|      getStreamer().EmitIntValue(AsInt.getLimitedValue(),
 2977|  4.09k|                                 AsInt.getBitWidth() / 8, Error);
 2978|  4.09k|      if (Error) {
  ------------------
  |  Branch (2978:11): [True: 0, False: 4.09k]
  ------------------
 2979|      0|          KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2980|      0|          return true;
 2981|      0|      }
 2982|       |
 2983|  4.09k|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (2983:11): [True: 97, False: 3.99k]
  ------------------
 2984|     97|        break;
 2985|       |
 2986|  3.99k|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (2986:11): [True: 552, False: 3.44k]
  ------------------
 2987|       |        // return TokError("unexpected token in directive");
 2988|    552|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 2989|    552|        return true;
 2990|    552|      }
 2991|  3.44k|      Lex();
 2992|  3.44k|    }
 2993|  1.29k|  }
 2994|       |
 2995|    384|  Lex();
 2996|    384|  return false;
 2997|  1.58k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveAlignEbj:
 3170|  10.2k|{
 3171|  10.2k|  checkForValidSection();
 3172|       |
 3173|       |  //SMLoc AlignmentLoc = getLexer().getLoc();
 3174|  10.2k|  int64_t Alignment;
 3175|  10.2k|  if (parseAbsoluteExpression(Alignment)) {
  ------------------
  |  Branch (3175:7): [True: 333, False: 9.89k]
  ------------------
 3176|    333|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3177|    333|    return true;
 3178|    333|  }
 3179|       |
 3180|  9.89k|  SMLoc MaxBytesLoc;
 3181|  9.89k|  bool HasFillExpr = false;
 3182|  9.89k|  int64_t FillExpr = 0;
 3183|  9.89k|  int64_t MaxBytesToFill = 0;
 3184|  9.89k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3184:7): [True: 7.88k, False: 2.01k]
  ------------------
 3185|  7.88k|    if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (3185:9): [True: 401, False: 7.48k]
  ------------------
 3186|       |      // return TokError("unexpected token in directive");
 3187|    401|      KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3188|    401|      return true;
 3189|    401|    }
 3190|  7.48k|    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|  7.48k|    if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (3195:9): [True: 7.24k, False: 246]
  ------------------
 3196|  7.24k|      HasFillExpr = true;
 3197|  7.24k|      if (parseAbsoluteExpression(FillExpr)) {
  ------------------
  |  Branch (3197:11): [True: 1.09k, False: 6.14k]
  ------------------
 3198|  1.09k|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3199|  1.09k|        return true;
 3200|  1.09k|      }
 3201|  7.24k|    }
 3202|       |
 3203|  6.38k|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3203:9): [True: 4.72k, False: 1.66k]
  ------------------
 3204|  4.72k|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (3204:11): [True: 670, False: 4.05k]
  ------------------
 3205|       |        // return TokError("unexpected token in directive");
 3206|    670|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3207|    670|        return true;
 3208|    670|      }
 3209|  4.05k|      Lex();
 3210|       |
 3211|  4.05k|      MaxBytesLoc = getLexer().getLoc();
 3212|  4.05k|      if (parseAbsoluteExpression(MaxBytesToFill)) {
  ------------------
  |  Branch (3212:11): [True: 1.50k, False: 2.54k]
  ------------------
 3213|  1.50k|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3214|  1.50k|        return true;
 3215|  1.50k|      }
 3216|       |
 3217|  2.54k|      if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3217:11): [True: 320, False: 2.22k]
  ------------------
 3218|       |        // return TokError("unexpected token in directive");
 3219|    320|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3220|    320|        return true;
 3221|    320|      }
 3222|  2.54k|    }
 3223|  6.38k|  }
 3224|       |
 3225|  5.90k|  Lex();
 3226|       |
 3227|  5.90k|  if (!HasFillExpr)
  ------------------
  |  Branch (3227:7): [True: 2.24k, False: 3.65k]
  ------------------
 3228|  2.24k|    FillExpr = 0;
 3229|       |
 3230|       |  // Compute alignment in bytes.
 3231|  5.90k|  if (IsPow2) {
  ------------------
  |  Branch (3231:7): [True: 0, False: 5.90k]
  ------------------
 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|  5.90k|  } 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|  5.90k|    if (Alignment == 0)
  ------------------
  |  Branch (3243:9): [True: 341, False: 5.56k]
  ------------------
 3244|    341|      Alignment = 1;
 3245|  5.90k|    if (!isPowerOf2_64(Alignment)) {
  ------------------
  |  Branch (3245:9): [True: 1.00k, False: 4.90k]
  ------------------
 3246|       |      //Error(AlignmentLoc, "alignment must be a power of 2");
 3247|  1.00k|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3248|  1.00k|      return true;
 3249|  1.00k|    }
 3250|  5.90k|  }
 3251|       |
 3252|       |  // Diagnose non-sensical max bytes to align.
 3253|  4.90k|  if (MaxBytesLoc.isValid()) {
  ------------------
  |  Branch (3253:7): [True: 2.20k, False: 2.70k]
  ------------------
 3254|  2.20k|    if (MaxBytesToFill < 1) {
  ------------------
  |  Branch (3254:9): [True: 292, False: 1.90k]
  ------------------
 3255|       |      //Error(MaxBytesLoc, "alignment directive can never be satisfied in this "
 3256|       |      //                   "many bytes, ignoring maximum bytes expression");
 3257|    292|      MaxBytesToFill = 0;
 3258|    292|    }
 3259|       |
 3260|  2.20k|    if (MaxBytesToFill >= Alignment) {
  ------------------
  |  Branch (3260:9): [True: 843, False: 1.35k]
  ------------------
 3261|    843|      Warning(MaxBytesLoc, "maximum bytes expression exceeds alignment and "
 3262|    843|                           "has no effect");
 3263|    843|      MaxBytesToFill = 0;
 3264|    843|    }
 3265|  2.20k|  }
 3266|       |
 3267|       |  // Check whether we should use optimal code alignment for this .align
 3268|       |  // directive.
 3269|  4.90k|  const MCSection *Section = getStreamer().getCurrentSection().first;
 3270|  4.90k|  assert(Section && "must have section to emit alignment");
  ------------------
  |  Branch (3270:3): [True: 4.90k, False: 0]
  |  Branch (3270:3): [True: 4.90k, Folded]
  |  Branch (3270:3): [True: 4.90k, False: 0]
  ------------------
 3271|  4.90k|  bool UseCodeAlign = Section->UseCodeAlign();
 3272|  4.90k|  if ((!HasFillExpr || Lexer.getMAI().getTextAlignFillValue() == FillExpr) &&
  ------------------
  |  Branch (3272:8): [True: 1.32k, False: 3.58k]
  |  Branch (3272:24): [True: 639, False: 2.94k]
  ------------------
 3273|  1.96k|      ValueSize == 1 && UseCodeAlign) {
  ------------------
  |  Branch (3273:7): [True: 1.94k, False: 19]
  |  Branch (3273:25): [True: 1.88k, False: 56]
  ------------------
 3274|  1.88k|    getStreamer().EmitCodeAlignment(Alignment, MaxBytesToFill);
 3275|  3.01k|  } else {
 3276|       |    // FIXME: Target specific behavior about how the "extra" bytes are filled.
 3277|  3.01k|    getStreamer().EmitValueToAlignment(Alignment, FillExpr, ValueSize,
 3278|  3.01k|                                       MaxBytesToFill);
 3279|  3.01k|  }
 3280|       |
 3281|  4.90k|  return false;
 3282|  4.90k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveOrgEv:
 3131|  26.8k|bool AsmParser::parseDirectiveOrg() {
 3132|  26.8k|  checkForValidSection();
 3133|       |
 3134|  26.8k|  const MCExpr *Offset;
 3135|  26.8k|  if (parseExpression(Offset)) {
  ------------------
  |  Branch (3135:7): [True: 226, False: 26.6k]
  ------------------
 3136|    226|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3137|    226|    return true;
 3138|    226|  }
 3139|       |
 3140|       |  // Parse optional fill expression.
 3141|  26.6k|  int64_t FillExpr = 0;
 3142|  26.6k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3142:7): [True: 167, False: 26.4k]
  ------------------
 3143|    167|    if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (3143:9): [True: 86, False: 81]
  ------------------
 3144|       |      // return TokError("unexpected token in '.org' directive");
 3145|     86|      KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3146|     86|      return true;
 3147|     86|    }
 3148|     81|    Lex();
 3149|       |
 3150|     81|    if (parseAbsoluteExpression(FillExpr)) {
  ------------------
  |  Branch (3150:9): [True: 24, False: 57]
  ------------------
 3151|     24|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3152|     24|      return true;
 3153|     24|    }
 3154|       |
 3155|     57|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3155:9): [True: 22, False: 35]
  ------------------
 3156|       |      // return TokError("unexpected token in '.org' directive");
 3157|     22|      KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3158|     22|      return true;
 3159|     22|    }
 3160|     57|  }
 3161|       |
 3162|  26.5k|  Lex();
 3163|  26.5k|  getStreamer().emitValueToOffset(Offset, FillExpr);
 3164|  26.5k|  return false;
 3165|  26.6k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveFillEv:
 3036|  4.34k|{
 3037|  4.34k|  checkForValidSection();
 3038|       |
 3039|  4.34k|  SMLoc RepeatLoc = getLexer().getLoc();
 3040|  4.34k|  int64_t NumValues;
 3041|  4.34k|  if (parseAbsoluteExpression(NumValues)) {
  ------------------
  |  Branch (3041:7): [True: 329, False: 4.01k]
  ------------------
 3042|    329|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3043|    329|    return true;
 3044|    329|  }
 3045|       |
 3046|  4.01k|  if (NumValues < 0) {
  ------------------
  |  Branch (3046:7): [True: 2.76k, False: 1.25k]
  ------------------
 3047|  2.76k|    Warning(RepeatLoc,
 3048|  2.76k|            "'.fill' directive with negative repeat count has no effect");
 3049|  2.76k|    NumValues = 0;
 3050|  2.76k|  }
 3051|       |
 3052|  4.01k|  int64_t FillSize = 1;
 3053|  4.01k|  int64_t FillExpr = 0;
 3054|       |
 3055|  4.01k|  SMLoc SizeLoc, ExprLoc;
 3056|  4.01k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3056:7): [True: 3.69k, False: 320]
  ------------------
 3057|  3.69k|    if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (3057:9): [True: 246, False: 3.45k]
  ------------------
 3058|       |      // return TokError("unexpected token in '.fill' directive");
 3059|    246|      KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3060|    246|      return true;
 3061|    246|    }
 3062|  3.45k|    Lex();
 3063|       |
 3064|  3.45k|    SizeLoc = getLexer().getLoc();
 3065|  3.45k|    if (parseAbsoluteExpression(FillSize)) {
  ------------------
  |  Branch (3065:9): [True: 775, False: 2.67k]
  ------------------
 3066|    775|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3067|    775|      return true;
 3068|    775|    }
 3069|       |
 3070|  2.67k|    if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3070:9): [True: 2.02k, False: 658]
  ------------------
 3071|  2.02k|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (3071:11): [True: 57, False: 1.96k]
  ------------------
 3072|       |        // return TokError("unexpected token in '.fill' directive");
 3073|     57|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3074|     57|        return true;
 3075|     57|      }
 3076|  1.96k|      Lex();
 3077|       |
 3078|  1.96k|      ExprLoc = getLexer().getLoc();
 3079|  1.96k|      if (parseAbsoluteExpression(FillExpr)) {
  ------------------
  |  Branch (3079:11): [True: 1.13k, False: 828]
  ------------------
 3080|  1.13k|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3081|  1.13k|        return true;
 3082|  1.13k|      }
 3083|       |
 3084|    828|      if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3084:11): [True: 25, False: 803]
  ------------------
 3085|       |        // return TokError("unexpected token in '.fill' directive");
 3086|     25|        KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3087|     25|        return true;
 3088|     25|      }
 3089|       |
 3090|    803|      Lex();
 3091|    803|    }
 3092|  2.67k|  }
 3093|       |
 3094|  1.78k|  if (FillSize < 0) {
  ------------------
  |  Branch (3094:7): [True: 515, False: 1.26k]
  ------------------
 3095|    515|    Warning(SizeLoc, "'.fill' directive with negative size has no effect");
 3096|    515|    NumValues = 0;
 3097|    515|  }
 3098|  1.78k|  if (FillSize > 8) {
  ------------------
  |  Branch (3098:7): [True: 814, False: 967]
  ------------------
 3099|    814|    Warning(SizeLoc, "'.fill' directive with size greater than 8 has been truncated to 8");
 3100|    814|    FillSize = 8;
 3101|    814|  }
 3102|       |
 3103|  1.78k|  if (!isUInt<32>(FillExpr) && FillSize > 4)
  ------------------
  |  Branch (3103:7): [True: 723, False: 1.05k]
  |  Branch (3103:32): [True: 496, False: 227]
  ------------------
 3104|    496|    Warning(ExprLoc, "'.fill' directive pattern has been truncated to 32-bits");
 3105|       |
 3106|  1.78k|  if (NumValues > 0) {
  ------------------
  |  Branch (3106:7): [True: 417, False: 1.36k]
  ------------------
 3107|    417|    int64_t NonZeroFillSize = FillSize > 4 ? 4 : FillSize;
  ------------------
  |  Branch (3107:31): [True: 121, False: 296]
  ------------------
 3108|    417|    FillExpr &= ~0ULL >> (64 - NonZeroFillSize * 8);
 3109|    417|    bool Error;
 3110|  42.4M|    for (uint64_t i = 0, e = NumValues; i != e; ++i) {
  ------------------
  |  Branch (3110:41): [True: 42.4M, False: 356]
  ------------------
 3111|  42.4M|      getStreamer().EmitIntValue(FillExpr, NonZeroFillSize, Error);
 3112|  42.4M|      if (Error) {
  ------------------
  |  Branch (3112:11): [True: 61, False: 42.4M]
  ------------------
 3113|     61|          KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3114|     61|          return true;
 3115|     61|      }
 3116|  42.4M|      if (NonZeroFillSize < FillSize) {
  ------------------
  |  Branch (3116:11): [True: 5.49M, False: 36.9M]
  ------------------
 3117|  5.49M|        getStreamer().EmitIntValue(0, FillSize - NonZeroFillSize, Error);
 3118|  5.49M|        if (Error) {
  ------------------
  |  Branch (3118:13): [True: 0, False: 5.49M]
  ------------------
 3119|      0|            KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3120|      0|            return true;
 3121|      0|        }
 3122|  5.49M|      }
 3123|  42.4M|    }
 3124|    417|  }
 3125|       |
 3126|  1.72k|  return false;
 3127|  1.78k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveZeroEv:
 3002|  1.82k|{
 3003|  1.82k|  checkForValidSection();
 3004|       |
 3005|  1.82k|  int64_t NumBytes;
 3006|  1.82k|  if (parseAbsoluteExpression(NumBytes)) {
  ------------------
  |  Branch (3006:7): [True: 262, False: 1.56k]
  ------------------
 3007|    262|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3008|    262|    return true;
 3009|    262|  }
 3010|       |
 3011|  1.56k|  int64_t Val = 0;
 3012|  1.56k|  if (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (3012:7): [True: 1.18k, False: 379]
  ------------------
 3013|  1.18k|    Lex();
 3014|  1.18k|    if (parseAbsoluteExpression(Val)) {
  ------------------
  |  Branch (3014:9): [True: 272, False: 913]
  ------------------
 3015|    272|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3016|    272|      return true;
 3017|    272|    }
 3018|  1.18k|  }
 3019|       |
 3020|  1.29k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3020:7): [True: 239, False: 1.05k]
  ------------------
 3021|       |    // return TokError("unexpected token in '.zero' directive");
 3022|    239|    KsError = KS_ERR_ASM_DIRECTIVE_TOKEN;
 3023|    239|    return true;
 3024|    239|  }
 3025|       |
 3026|  1.05k|  Lex();
 3027|       |
 3028|  1.05k|  getStreamer().EmitFill(NumBytes, Val);
 3029|       |
 3030|  1.05k|  return false;
 3031|  1.29k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser29parseDirectiveSymbolAttributeEN7llvm_ks12MCSymbolAttrE:
 4650|    106|{
 4651|    106|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4651:7): [True: 87, False: 19]
  ------------------
 4652|    124|    for (;;) {
 4653|    124|      StringRef Name;
 4654|       |      //SMLoc Loc = getTok().getLoc();
 4655|       |
 4656|    124|      if (parseIdentifier(Name)) {
  ------------------
  |  Branch (4656:11): [True: 17, False: 107]
  ------------------
 4657|       |        //return Error(Loc, "expected identifier in directive");
 4658|     17|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4659|     17|        return true;
 4660|     17|      }
 4661|       |
 4662|    107|      if (Name.empty()) {
  ------------------
  |  Branch (4662:11): [True: 0, False: 107]
  ------------------
 4663|      0|          KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4664|      0|          return true;
 4665|      0|      }
 4666|    107|      MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
 4667|       |
 4668|       |      // Assembler local symbols don't make any sense here. Complain loudly.
 4669|    107|      if (Sym->isTemporary()) {
  ------------------
  |  Branch (4669:11): [True: 9, False: 98]
  ------------------
 4670|       |        //return Error(Loc, "non-local symbol required in directive");
 4671|      9|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4672|      9|        return true;
 4673|      9|      }
 4674|       |
 4675|     98|      if (!getStreamer().EmitSymbolAttribute(Sym, Attr)) {
  ------------------
  |  Branch (4675:11): [True: 0, False: 98]
  ------------------
 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|     98|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (4681:11): [True: 20, False: 78]
  ------------------
 4682|     20|        break;
 4683|       |
 4684|     78|      if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (4684:11): [True: 41, False: 37]
  ------------------
 4685|       |        //return TokError("unexpected token in directive");
 4686|     41|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4687|     41|        return true;
 4688|     41|      }
 4689|     37|      Lex();
 4690|     37|    }
 4691|     87|  }
 4692|       |
 4693|     39|  Lex();
 4694|     39|  return false;
 4695|    106|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveCommEb:
 4700|  1.92k|{
 4701|  1.92k|  checkForValidSection();
 4702|       |
 4703|       |  //SMLoc IDLoc = getLexer().getLoc();
 4704|  1.92k|  StringRef Name;
 4705|  1.92k|  if (parseIdentifier(Name)) {
  ------------------
  |  Branch (4705:7): [True: 89, False: 1.83k]
  ------------------
 4706|       |    //return TokError("expected identifier in directive");
 4707|     89|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4708|     89|    return true;
 4709|     89|  }
 4710|       |
 4711|  1.83k|  if (Name.empty()) {
  ------------------
  |  Branch (4711:7): [True: 10, False: 1.82k]
  ------------------
 4712|     10|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4713|     10|      return true;
 4714|     10|  }
 4715|       |  // Handle the identifier as the key symbol.
 4716|  1.82k|  MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
 4717|       |
 4718|  1.82k|  if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (4718:7): [True: 138, False: 1.68k]
  ------------------
 4719|       |    //return TokError("unexpected token in directive");
 4720|    138|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4721|    138|    return true;
 4722|    138|  }
 4723|  1.68k|  Lex();
 4724|       |
 4725|  1.68k|  int64_t Size;
 4726|       |  //SMLoc SizeLoc = getLexer().getLoc();
 4727|  1.68k|  if (parseAbsoluteExpression(Size)) {
  ------------------
  |  Branch (4727:7): [True: 36, False: 1.65k]
  ------------------
 4728|     36|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4729|     36|    return true;
 4730|     36|  }
 4731|       |
 4732|  1.65k|  int64_t Pow2Alignment = 0;
 4733|  1.65k|  SMLoc Pow2AlignmentLoc;
 4734|  1.65k|  if (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (4734:7): [True: 236, False: 1.41k]
  ------------------
 4735|    236|    Lex();
 4736|    236|    Pow2AlignmentLoc = getLexer().getLoc();
 4737|    236|    if (parseAbsoluteExpression(Pow2Alignment)) {
  ------------------
  |  Branch (4737:9): [True: 25, False: 211]
  ------------------
 4738|     25|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4739|     25|      return true;
 4740|     25|    }
 4741|       |
 4742|    211|    LCOMM::LCOMMType LCOMM = Lexer.getMAI().getLCOMMDirectiveAlignmentType();
 4743|    211|    if (IsLocal && LCOMM == LCOMM::NoAlignment) {
  ------------------
  |  Branch (4743:9): [True: 20, False: 191]
  |  Branch (4743:20): [True: 20, False: 0]
  ------------------
 4744|       |      //return Error(Pow2AlignmentLoc, "alignment not supported on this target");
 4745|     20|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4746|     20|      return true;
 4747|     20|    }
 4748|       |
 4749|       |    // If this target takes alignments in bytes (not log) validate and convert.
 4750|    191|    if ((!IsLocal && Lexer.getMAI().getCOMMDirectiveAlignmentIsInBytes()) ||
  ------------------
  |  Branch (4750:10): [True: 191, False: 0]
  |  Branch (4750:22): [True: 191, False: 0]
  ------------------
 4751|    191|        (IsLocal && LCOMM == LCOMM::ByteAlignment)) {
  ------------------
  |  Branch (4751:10): [True: 0, False: 0]
  |  Branch (4751:21): [True: 0, False: 0]
  ------------------
 4752|    191|      if (!isPowerOf2_64(Pow2Alignment)) {
  ------------------
  |  Branch (4752:11): [True: 184, False: 7]
  ------------------
 4753|       |        //return Error(Pow2AlignmentLoc, "alignment must be a power of 2");
 4754|    184|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4755|    184|        return true;
 4756|    184|      }
 4757|      7|      Pow2Alignment = Log2_64(Pow2Alignment);
 4758|      7|    }
 4759|    191|  }
 4760|       |
 4761|  1.42k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4761:7): [True: 44, False: 1.38k]
  ------------------
 4762|       |    //return TokError("unexpected token in '.comm' or '.lcomm' directive");
 4763|     44|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4764|     44|    return true;
 4765|     44|  }
 4766|       |
 4767|  1.38k|  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.38k|  if (Size < 0) {
  ------------------
  |  Branch (4771:7): [True: 84, False: 1.29k]
  ------------------
 4772|       |    //return Error(SizeLoc, "invalid '.comm' or '.lcomm' directive size, can't "
 4773|       |    //                      "be less than zero");
 4774|     84|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4775|     84|    return true;
 4776|     84|  }
 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.29k|  if (Pow2Alignment < 0) {
  ------------------
  |  Branch (4781:7): [True: 0, False: 1.29k]
  ------------------
 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.29k|  if (!Sym->isUndefined()) {
  ------------------
  |  Branch (4788:7): [True: 258, False: 1.03k]
  ------------------
 4789|       |    //return Error(IDLoc, "invalid symbol redefinition");
 4790|    258|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4791|    258|    return true;
 4792|    258|  }
 4793|       |
 4794|       |  // Create the Symbol as a common or local common with Size and Pow2Alignment
 4795|  1.03k|  if (IsLocal) {
  ------------------
  |  Branch (4795:7): [True: 35, False: 1.00k]
  ------------------
 4796|     35|    getStreamer().EmitLocalCommonSymbol(Sym, Size, 1 << Pow2Alignment);
 4797|     35|    return false;
 4798|     35|  }
 4799|       |
 4800|  1.00k|  getStreamer().EmitCommonSymbol(Sym, Size, 1 << Pow2Alignment);
 4801|  1.00k|  return false;
 4802|  1.03k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveAbortEv:
 4807|     11|{
 4808|       |  // FIXME: Use loc from directive.
 4809|       |  //SMLoc Loc = getLexer().getLoc();
 4810|       |
 4811|     11|  StringRef Str = parseStringToEndOfStatement();
 4812|     11|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4812:7): [True: 1, False: 10]
  ------------------
 4813|       |    //return TokError("unexpected token in '.abort' directive");
 4814|      1|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4815|      1|    return true;
 4816|      1|  }
 4817|       |
 4818|     10|  Lex();
 4819|       |
 4820|     10|  if (Str.empty()) {
  ------------------
  |  Branch (4820:7): [True: 10, False: 0]
  ------------------
 4821|       |    //Error(Loc, ".abort detected. Assembly stopping.");
 4822|     10|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4823|     10|    return true;
 4824|     10|  } else {
 4825|       |    //Error(Loc, ".abort '" + Str + "' detected. Assembly stopping.");
 4826|      0|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4827|      0|    return true;
 4828|      0|  }
 4829|       |
 4830|       |  // FIXME: Actually abort assembly here.
 4831|       |
 4832|      0|  return false;
 4833|     10|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser21parseDirectiveIncludeEv:
 4838|    172|{
 4839|    172|  if (getLexer().isNot(AsmToken::String)) {
  ------------------
  |  Branch (4839:7): [True: 87, False: 85]
  ------------------
 4840|       |    //return TokError("expected string in '.include' directive");
 4841|     87|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4842|     87|    return true;
 4843|     87|  }
 4844|       |
 4845|       |  // Allow the strings to have escaped octal character sequence.
 4846|     85|  std::string Filename;
 4847|     85|  if (parseEscapedString(Filename)) {
  ------------------
  |  Branch (4847:7): [True: 9, False: 76]
  ------------------
 4848|      9|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4849|      9|    return true;
 4850|      9|  }
 4851|       |  //SMLoc IncludeLoc = getLexer().getLoc();
 4852|     76|  Lex();
 4853|       |
 4854|     76|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4854:7): [True: 71, False: 5]
  ------------------
 4855|       |    //return TokError("unexpected token in '.include' directive");
 4856|     71|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4857|     71|    return true;
 4858|     71|  }
 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|      5|  if (enterIncludeFile(Filename)) {
  ------------------
  |  Branch (4862:7): [True: 5, False: 0]
  ------------------
 4863|       |    //Error(IncludeLoc, "Could not find include file '" + Filename + "'");
 4864|      5|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4865|      5|    return true;
 4866|      5|  }
 4867|       |
 4868|      0|  return false;
 4869|      5|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser16enterIncludeFileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  622|      5|bool AsmParser::enterIncludeFile(const std::string &Filename) {
  623|      5|  std::string IncludedFile;
  624|      5|  unsigned NewBuf =
  625|      5|      SrcMgr.AddIncludeFile(Filename, Lexer.getLoc(), IncludedFile);
  626|      5|  if (!NewBuf)
  ------------------
  |  Branch (626:7): [True: 5, False: 0]
  ------------------
  627|      5|    return true;
  628|       |
  629|      0|  CurBuffer = NewBuf;
  630|      0|  Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer());
  631|      0|  return false;
  632|      5|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveReptEN7llvm_ks5SMLocENS1_9StringRefE:
 5563|  13.2k|{
 5564|  13.2k|  const MCExpr *CountExpr;
 5565|       |  //SMLoc CountLoc = getTok().getLoc();
 5566|  13.2k|  if (parseExpression(CountExpr)) {
  ------------------
  |  Branch (5566:7): [True: 7.25k, False: 6.01k]
  ------------------
 5567|  7.25k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5568|  7.25k|    return true;
 5569|  7.25k|  }
 5570|       |
 5571|  6.01k|  int64_t Count;
 5572|  6.01k|  if (!CountExpr->evaluateAsAbsolute(Count)) {
  ------------------
  |  Branch (5572:7): [True: 4.13k, False: 1.87k]
  ------------------
 5573|  4.13k|    eatToEndOfStatement();
 5574|       |    //return Error(CountLoc, "unexpected token in '" + Dir + "' directive");
 5575|  4.13k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5576|  4.13k|    return true;
 5577|  4.13k|  }
 5578|       |
 5579|  1.87k|  if (Count < 0) {
  ------------------
  |  Branch (5579:7): [True: 731, False: 1.14k]
  ------------------
 5580|       |    //return Error(CountLoc, "Count is negative");
 5581|    731|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5582|    731|    return true;
 5583|    731|  }
 5584|       |
 5585|  1.14k|  if (Lexer.isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5585:7): [True: 281, False: 864]
  ------------------
 5586|       |    //return TokError("unexpected token in '" + Dir + "' directive");
 5587|    281|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5588|    281|    return true;
 5589|    281|  }
 5590|       |
 5591|       |  // Eat the end of statement.
 5592|    864|  Lex();
 5593|       |
 5594|       |  // Lex the rept definition.
 5595|    864|  MCAsmMacro *M = parseMacroLikeBody(DirectiveLoc);
 5596|    864|  if (!M) {
  ------------------
  |  Branch (5596:7): [True: 36, False: 828]
  ------------------
 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|    828|  SmallString<256> Buf;
 5604|    828|  raw_svector_ostream OS(Buf);
 5605|  7.55M|  while (Count--) {
  ------------------
  |  Branch (5605:10): [True: 7.55M, False: 828]
  ------------------
 5606|       |    // Note that the AtPseudoVariable is disabled for instantiations of .rep(t).
 5607|  7.55M|    if (expandMacro(OS, M->Body, None, None, false, getTok().getLoc())) {
  ------------------
  |  Branch (5607:9): [True: 0, False: 7.55M]
  ------------------
 5608|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5609|      0|      return true;
 5610|      0|    }
 5611|  7.55M|  }
 5612|    828|  instantiateMacroLikeBody(M, DirectiveLoc, OS);
 5613|       |
 5614|    828|  return false;
 5615|    828|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseMacroLikeBodyEN7llvm_ks5SMLocE:
 5498|  2.55k|MCAsmMacro *AsmParser::parseMacroLikeBody(SMLoc DirectiveLoc) {
 5499|  2.55k|  AsmToken EndToken, StartToken = getTok();
 5500|       |
 5501|  2.55k|  unsigned NestLevel = 0;
 5502|  6.26k|  for (;;) {
 5503|       |    // Check whether we have reached the end of the file.
 5504|  6.26k|    if (getLexer().is(AsmToken::Eof)) {
  ------------------
  |  Branch (5504:9): [True: 175, False: 6.08k]
  ------------------
 5505|       |      //Error(DirectiveLoc, "no matching '.endr' in definition");
 5506|    175|      return nullptr;
 5507|    175|    }
 5508|       |
 5509|  6.08k|    if (Lexer.is(AsmToken::Identifier) &&
  ------------------
  |  Branch (5509:9): [True: 4.89k, False: 1.19k]
  |  Branch (5509:9): [True: 245, False: 5.84k]
  ------------------
 5510|  4.89k|        (getTok().getIdentifier() == ".rept")) {
  ------------------
  |  Branch (5510:9): [True: 245, False: 4.65k]
  ------------------
 5511|    245|      ++NestLevel;
 5512|    245|    }
 5513|       |
 5514|       |    // Otherwise, check whether we have reached the .endr.
 5515|  6.08k|    if (Lexer.is(AsmToken::Identifier) && getTok().getIdentifier() == ".endr") {
  ------------------
  |  Branch (5515:9): [True: 4.89k, False: 1.19k]
  |  Branch (5515:9): [True: 2.41k, False: 3.67k]
  |  Branch (5515:43): [True: 2.41k, False: 2.48k]
  ------------------
 5516|  2.41k|      if (NestLevel == 0) {
  ------------------
  |  Branch (5516:11): [True: 2.37k, False: 34]
  ------------------
 5517|  2.37k|        EndToken = getTok();
 5518|  2.37k|        Lex();
 5519|  2.37k|        if (Lexer.isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5519:13): [True: 111, False: 2.26k]
  ------------------
 5520|       |          //TokError("unexpected token in '.endr' directive");
 5521|    111|          return nullptr;
 5522|    111|        }
 5523|  2.26k|        break;
 5524|  2.37k|      }
 5525|     34|      --NestLevel;
 5526|     34|    }
 5527|       |
 5528|       |    // Otherwise, scan till the end of the statement.
 5529|  3.71k|    eatToEndOfStatement();
 5530|  3.71k|  }
 5531|       |
 5532|  2.26k|  const char *BodyStart = StartToken.getLoc().getPointer();
 5533|  2.26k|  const char *BodyEnd = EndToken.getLoc().getPointer();
 5534|  2.26k|  StringRef Body = StringRef(BodyStart, BodyEnd - BodyStart);
 5535|       |
 5536|       |  // We Are Anonymous.
 5537|  2.26k|  MacroLikeBodies.emplace_back(StringRef(), Body, MCAsmMacroParameters());
 5538|  2.26k|  return &MacroLikeBodies.back();
 5539|  2.55k|}
AsmParser.cpp:_ZN12_GLOBAL__N_110MCAsmMacroC2EN7llvm_ks9StringRefES2_NSt3__16vectorINS_19MCAsmMacroParameterENS3_9allocatorIS5_EEEE:
   77|  2.85k|      : Name(N), Body(B), Parameters(std::move(P)) {}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser24instantiateMacroLikeBodyEPNS_10MCAsmMacroEN7llvm_ks5SMLocERNS3_19raw_svector_ostreamE:
 5542|  2.26k|                                         raw_svector_ostream &OS) {
 5543|  2.26k|  OS << ".endr\n";
 5544|       |
 5545|  2.26k|  std::unique_ptr<MemoryBuffer> Instantiation =
 5546|  2.26k|      MemoryBuffer::getMemBufferCopy(OS.str(), "<instantiation>");
 5547|       |
 5548|       |  // Create the macro instantiation object and add to the current macro
 5549|       |  // instantiation stack.
 5550|  2.26k|  MacroInstantiation *MI = new MacroInstantiation(
 5551|  2.26k|      DirectiveLoc, CurBuffer, getTok().getLoc(), TheCondStack.size());
 5552|  2.26k|  ActiveMacros.push_back(MI);
 5553|       |
 5554|       |  // Jump to the macro instantiation and prime the lexer.
 5555|  2.26k|  CurBuffer = SrcMgr.AddNewSourceBuffer(std::move(Instantiation), SMLoc());
 5556|  2.26k|  Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer());
 5557|  2.26k|  Lex();
 5558|  2.26k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveIrpEN7llvm_ks5SMLocE:
 5620|  1.52k|{
 5621|  1.52k|  MCAsmMacroParameter Parameter;
 5622|       |
 5623|  1.52k|  if (parseIdentifier(Parameter.Name)) {
  ------------------
  |  Branch (5623:7): [True: 47, False: 1.48k]
  ------------------
 5624|       |    //return TokError("expected identifier in '.irp' directive");
 5625|     47|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5626|     47|    return true;
 5627|     47|  }
 5628|       |
 5629|  1.48k|  if (Lexer.isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (5629:7): [True: 103, False: 1.37k]
  ------------------
 5630|       |    //return TokError("expected comma in '.irp' directive");
 5631|    103|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5632|    103|    return true;
 5633|    103|  }
 5634|       |
 5635|  1.37k|  Lex();
 5636|       |
 5637|  1.37k|  MCAsmMacroArguments A;
 5638|  1.37k|  if (parseMacroArguments(nullptr, A)) {
  ------------------
  |  Branch (5638:7): [True: 86, False: 1.29k]
  ------------------
 5639|     86|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5640|     86|    return true;
 5641|     86|  }
 5642|       |
 5643|       |  // Eat the end of statement.
 5644|  1.29k|  Lex();
 5645|       |
 5646|       |  // Lex the irp definition.
 5647|  1.29k|  MCAsmMacro *M = parseMacroLikeBody(DirectiveLoc);
 5648|  1.29k|  if (!M) {
  ------------------
  |  Branch (5648:7): [True: 169, False: 1.12k]
  ------------------
 5649|    169|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5650|    169|    return true;
 5651|    169|  }
 5652|       |
 5653|       |  // Macro instantiation is lexical, unfortunately. We construct a new buffer
 5654|       |  // to hold the macro body with substitutions.
 5655|  1.12k|  SmallString<256> Buf;
 5656|  1.12k|  raw_svector_ostream OS(Buf);
 5657|       |
 5658|  9.21k|  for (const MCAsmMacroArgument &Arg : A) {
  ------------------
  |  Branch (5658:38): [True: 9.21k, False: 1.12k]
  ------------------
 5659|       |    // Note that the AtPseudoVariable is enabled for instantiations of .irp.
 5660|       |    // This is undocumented, but GAS seems to support it.
 5661|  9.21k|    if (expandMacro(OS, M->Body, Parameter, Arg, true, getTok().getLoc())) {
  ------------------
  |  Branch (5661:9): [True: 0, False: 9.21k]
  ------------------
 5662|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5663|      0|      return true;
 5664|      0|    }
 5665|  9.21k|  }
 5666|       |
 5667|  1.12k|  instantiateMacroLikeBody(M, DirectiveLoc, OS);
 5668|       |
 5669|  1.12k|  return false;
 5670|  1.12k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveIrpcEN7llvm_ks5SMLocE:
 5675|  2.89k|{
 5676|  2.89k|  MCAsmMacroParameter Parameter;
 5677|       |
 5678|  2.89k|  if (parseIdentifier(Parameter.Name)) {
  ------------------
  |  Branch (5678:7): [True: 211, False: 2.68k]
  ------------------
 5679|       |    //return TokError("expected identifier in '.irpc' directive");
 5680|    211|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5681|    211|    return true;
 5682|    211|  }
 5683|       |
 5684|  2.68k|  if (Lexer.isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (5684:7): [True: 230, False: 2.45k]
  ------------------
 5685|       |    //return TokError("expected comma in '.irpc' directive");
 5686|    230|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5687|    230|    return true;
 5688|    230|  }
 5689|       |
 5690|  2.45k|  Lex();
 5691|       |
 5692|  2.45k|  MCAsmMacroArguments A;
 5693|  2.45k|  if (parseMacroArguments(nullptr, A)) {
  ------------------
  |  Branch (5693:7): [True: 444, False: 2.01k]
  ------------------
 5694|    444|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5695|    444|    return true;
 5696|    444|  }
 5697|       |
 5698|  2.01k|  if (A.size() != 1 || A.front().size() != 1) {
  ------------------
  |  Branch (5698:7): [True: 798, False: 1.21k]
  |  Branch (5698:24): [True: 814, False: 398]
  ------------------
 5699|       |    //return TokError("unexpected token in '.irpc' directive");
 5700|  1.61k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5701|  1.61k|    return true;
 5702|  1.61k|  }
 5703|       |
 5704|       |  // Eat the end of statement.
 5705|    398|  Lex();
 5706|       |
 5707|       |  // Lex the irpc definition.
 5708|    398|  MCAsmMacro *M = parseMacroLikeBody(DirectiveLoc);
 5709|    398|  if (!M) {
  ------------------
  |  Branch (5709:7): [True: 81, False: 317]
  ------------------
 5710|     81|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5711|     81|    return true;
 5712|     81|  }
 5713|       |
 5714|       |  // Macro instantiation is lexical, unfortunately. We construct a new buffer
 5715|       |  // to hold the macro body with substitutions.
 5716|    317|  SmallString<256> Buf;
 5717|    317|  raw_svector_ostream OS(Buf);
 5718|       |
 5719|    317|  StringRef Values = A.front().front().getString();
 5720|  15.0k|  for (std::size_t I = 0, End = Values.size(); I != End; ++I) {
  ------------------
  |  Branch (5720:48): [True: 14.7k, False: 317]
  ------------------
 5721|  14.7k|    MCAsmMacroArgument Arg;
 5722|  14.7k|    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|  14.7k|    if (expandMacro(OS, M->Body, Parameter, Arg, true, getTok().getLoc())) {
  ------------------
  |  Branch (5726:9): [True: 0, False: 14.7k]
  ------------------
 5727|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5728|      0|      return true;
 5729|      0|    }
 5730|  14.7k|  }
 5731|       |
 5732|    317|  instantiateMacroLikeBody(M, DirectiveLoc, OS);
 5733|       |
 5734|    317|  return false;
 5735|    317|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveEndrEN7llvm_ks5SMLocE:
 5738|  2.42k|{
 5739|  2.42k|  if (ActiveMacros.empty()) {
  ------------------
  |  Branch (5739:7): [True: 101, False: 2.32k]
  ------------------
 5740|       |    //return TokError("unmatched '.endr' directive");
 5741|    101|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5742|    101|    return true;
 5743|    101|  }
 5744|       |
 5745|       |  // The only .repl that should get here are the ones created by
 5746|       |  // instantiateMacroLikeBody.
 5747|  2.42k|  assert(getLexer().is(AsmToken::EndOfStatement));
  ------------------
  |  Branch (5747:3): [True: 2.32k, False: 0]
  ------------------
 5748|       |
 5749|  2.32k|  handleMacroExit();
 5750|  2.32k|  return false;
 5751|  2.32k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser15handleMacroExitEv:
 2507|  23.3k|void AsmParser::handleMacroExit() {
 2508|       |  // Jump to the EndOfStatement we should return to, and consume it.
 2509|  23.3k|  jumpToLoc(ActiveMacros.back()->ExitLoc, ActiveMacros.back()->ExitBuffer);
 2510|  23.3k|  Lex();
 2511|       |
 2512|       |  // Pop the instantiation entry.
 2513|  23.3k|  delete ActiveMacros.back();
 2514|  23.3k|  ActiveMacros.pop_back();
 2515|  23.3k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser9jumpToLocEN7llvm_ks5SMLocEj:
  649|  23.3k|void AsmParser::jumpToLoc(SMLoc Loc, unsigned InBuffer) {
  650|  23.3k|  CurBuffer = InBuffer ? InBuffer : SrcMgr.FindBufferContainingLoc(Loc);
  ------------------
  |  Branch (650:15): [True: 23.3k, False: 0]
  ------------------
  651|  23.3k|  Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer)->getBuffer(),
  652|  23.3k|                  Loc.getPointer());
  653|  23.3k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveSpaceEN7llvm_ks9StringRefE:
 4574|    833|{
 4575|    833|  checkForValidSection();
 4576|       |
 4577|    833|  int64_t NumBytes;
 4578|    833|  if (parseAbsoluteExpression(NumBytes)) {
  ------------------
  |  Branch (4578:7): [True: 40, False: 793]
  ------------------
 4579|     40|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4580|     40|    return true;
 4581|     40|  }
 4582|       |
 4583|    793|  int64_t FillExpr = 0;
 4584|    793|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4584:7): [True: 272, False: 521]
  ------------------
 4585|    272|    if (getLexer().isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (4585:9): [True: 218, False: 54]
  ------------------
 4586|       |      //return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
 4587|    218|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4588|    218|      return true;
 4589|    218|    }
 4590|     54|    Lex();
 4591|       |
 4592|     54|    if (parseAbsoluteExpression(FillExpr))
  ------------------
  |  Branch (4592:9): [True: 10, False: 44]
  ------------------
 4593|     10|      return true;
 4594|       |
 4595|     44|    if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (4595:9): [True: 2, False: 42]
  ------------------
 4596|       |      //return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
 4597|      2|      return true;
 4598|     44|  }
 4599|       |
 4600|    563|  Lex();
 4601|       |
 4602|    563|  if (NumBytes <= 0) {
  ------------------
  |  Branch (4602:7): [True: 305, False: 258]
  ------------------
 4603|       |    //return TokError("invalid number of bytes in '" + Twine(IDVal) +
 4604|       |    //                "' directive");
 4605|    305|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4606|    305|    return true;
 4607|    305|  }
 4608|       |
 4609|       |  // FIXME: Sometimes the fill expr is 'nop' if it isn't supplied, instead of 0.
 4610|    258|  getStreamer().EmitFill(NumBytes, FillExpr);
 4611|       |
 4612|    258|  return false;
 4613|    563|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveFileEN7llvm_ks5SMLocE:
 3288|  13.1k|{
 3289|       |  // FIXME: I'm not sure what this is.
 3290|  13.1k|  int64_t FileNumber = -1;
 3291|       |  //SMLoc FileNumberLoc = getLexer().getLoc();
 3292|  13.1k|  if (getLexer().is(AsmToken::Integer)) {
  ------------------
  |  Branch (3292:7): [True: 442, False: 12.7k]
  ------------------
 3293|    442|    bool valid;
 3294|    442|    FileNumber = getTok().getIntVal(valid);
 3295|    442|    if (!valid) {
  ------------------
  |  Branch (3295:9): [True: 0, False: 442]
  ------------------
 3296|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3297|      0|        return true;
 3298|      0|    }
 3299|    442|    Lex();
 3300|       |
 3301|    442|    if (FileNumber < 1) {
  ------------------
  |  Branch (3301:9): [True: 78, False: 364]
  ------------------
 3302|       |      //return TokError("file number less than one");
 3303|     78|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3304|     78|      return true;
 3305|     78|    }
 3306|    442|  }
 3307|       |
 3308|  13.0k|  if (getLexer().isNot(AsmToken::String)) {
  ------------------
  |  Branch (3308:7): [True: 2.26k, False: 10.8k]
  ------------------
 3309|       |    //return TokError("unexpected token in '.file' directive");
 3310|  2.26k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3311|  2.26k|    return true;
 3312|  2.26k|  }
 3313|       |
 3314|       |  // Usually the directory and filename together, otherwise just the directory.
 3315|       |  // Allow the strings to have escaped octal character sequence.
 3316|  10.8k|  std::string Path = getTok().getString();
 3317|  10.8k|  if (parseEscapedString(Path))
  ------------------
  |  Branch (3317:7): [True: 154, False: 10.6k]
  ------------------
 3318|    154|    return true;
 3319|  10.6k|  Lex();
 3320|       |
 3321|  10.6k|  StringRef Directory;
 3322|  10.6k|  StringRef Filename;
 3323|  10.6k|  std::string FilenameData;
 3324|  10.6k|  if (getLexer().is(AsmToken::String)) {
  ------------------
  |  Branch (3324:7): [True: 46, False: 10.6k]
  ------------------
 3325|     46|    if (FileNumber == -1)
  ------------------
  |  Branch (3325:9): [True: 5, False: 41]
  ------------------
 3326|       |      //return TokError("explicit path specified, but no file number");
 3327|      5|      return true;
 3328|     41|    if (parseEscapedString(FilenameData))
  ------------------
  |  Branch (3328:9): [True: 4, False: 37]
  ------------------
 3329|      4|      return true;
 3330|     37|    Filename = FilenameData;
 3331|     37|    Directory = Path;
 3332|     37|    Lex();
 3333|  10.6k|  } else {
 3334|  10.6k|    Filename = Path;
 3335|  10.6k|  }
 3336|       |
 3337|  10.6k|  if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (3337:7): [True: 54, False: 10.6k]
  ------------------
 3338|       |    //return TokError("unexpected token in '.file' directive");
 3339|     54|    return true;
 3340|       |
 3341|  10.6k|  if (FileNumber == -1)
  ------------------
  |  Branch (3341:7): [True: 10.5k, False: 50]
  ------------------
 3342|  10.5k|    getStreamer().EmitFileDirective(Filename);
 3343|     50|  else {
 3344|     50|    if (getContext().getGenDwarfForAssembly())
  ------------------
  |  Branch (3344:9): [True: 0, False: 50]
  ------------------
 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|     50|    if (getStreamer().EmitDwarfFileDirective(FileNumber, Directory, Filename) ==
  ------------------
  |  Branch (3350:9): [True: 50, False: 0]
  ------------------
 3351|     50|        0)
 3352|       |      //Error(FileNumberLoc, "file number already allocated");
 3353|     50|      return true;
 3354|     50|  }
 3355|       |
 3356|  10.5k|  return false;
 3357|  10.6k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseDirectiveLineEv:
 3362|  4.73k|{
 3363|  4.73k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3363:7): [True: 1.92k, False: 2.81k]
  ------------------
 3364|  1.92k|    if (getLexer().isNot(AsmToken::Integer)) {
  ------------------
  |  Branch (3364:9): [True: 133, False: 1.78k]
  ------------------
 3365|       |      //return TokError("unexpected token in '.line' directive");
 3366|    133|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3367|    133|      return true;
 3368|    133|    }
 3369|       |
 3370|  1.78k|    bool valid;
 3371|  1.78k|    int64_t LineNumber = getTok().getIntVal(valid);
 3372|  1.78k|    if (!valid) {
  ------------------
  |  Branch (3372:9): [True: 0, False: 1.78k]
  ------------------
 3373|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3374|      0|        return true;
 3375|      0|    }
 3376|  1.78k|    (void)LineNumber;
 3377|  1.78k|    Lex();
 3378|       |
 3379|       |    // FIXME: Do something with the .line.
 3380|  1.78k|  }
 3381|       |
 3382|  4.60k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (3382:7): [True: 40, False: 4.56k]
  ------------------
 3383|       |    //return TokError("unexpected token in '.line' directive");
 3384|     40|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3385|     40|    return true;
 3386|     40|  }
 3387|       |
 3388|  4.56k|  return false;
 3389|  4.60k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveLocEv:
 3399|    329|{
 3400|    329|  if (getLexer().isNot(AsmToken::Integer)) {
  ------------------
  |  Branch (3400:7): [True: 256, False: 73]
  ------------------
 3401|       |    //return TokError("unexpected token in '.loc' directive");
 3402|    256|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3403|    256|    return true;
 3404|    256|  }
 3405|     73|  bool valid;
 3406|     73|  int64_t FileNumber = getTok().getIntVal(valid);
 3407|     73|  if (!valid) {
  ------------------
  |  Branch (3407:7): [True: 0, False: 73]
  ------------------
 3408|      0|      return true;
 3409|      0|  }
 3410|     73|  if (FileNumber < 1) {
  ------------------
  |  Branch (3410:7): [True: 3, False: 70]
  ------------------
 3411|       |    //return TokError("file number less than one in '.loc' directive");
 3412|      3|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3413|      3|    return true;
 3414|      3|  }
 3415|     70|  if (!getContext().isValidDwarfFileNumber(FileNumber)) {
  ------------------
  |  Branch (3415:7): [True: 70, False: 0]
  ------------------
 3416|       |    //return TokError("unassigned file number in '.loc' directive");
 3417|     70|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 3418|     70|    return true;
 3419|     70|  }
 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_19AsmParser19parseDirectiveMacroEN7llvm_ks5SMLocE:
 4166|  3.00k|{
 4167|  3.00k|  StringRef Name;
 4168|  3.00k|  if (parseIdentifier(Name)) {
  ------------------
  |  Branch (4168:7): [True: 85, False: 2.91k]
  ------------------
 4169|       |    //return TokError("expected identifier in '.macro' directive");
 4170|     85|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4171|     85|    return true;
 4172|     85|  }
 4173|       |
 4174|  2.91k|  if (getLexer().is(AsmToken::Comma))
  ------------------
  |  Branch (4174:7): [True: 791, False: 2.12k]
  ------------------
 4175|    791|    Lex();
 4176|       |
 4177|  2.91k|  MCAsmMacroParameters Parameters;
 4178|  11.0k|  while (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4178:10): [True: 8.31k, False: 2.74k]
  ------------------
 4179|       |
 4180|  8.31k|    if (!Parameters.empty() && Parameters.back().Vararg) {
  ------------------
  |  Branch (4180:9): [True: 6.94k, False: 1.36k]
  |  Branch (4180:32): [True: 0, False: 6.94k]
  ------------------
 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|  8.31k|    MCAsmMacroParameter Parameter;
 4189|  8.31k|    if (parseIdentifier(Parameter.Name)) {
  ------------------
  |  Branch (4189:9): [True: 75, False: 8.24k]
  ------------------
 4190|       |      //return TokError("expected identifier in '.macro' directive");
 4191|     75|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4192|     75|      return true;
 4193|     75|    }
 4194|       |
 4195|  8.24k|    if (Lexer.is(AsmToken::Colon)) {
  ------------------
  |  Branch (4195:9): [True: 91, False: 8.14k]
  ------------------
 4196|     91|      Lex();  // consume ':'
 4197|       |
 4198|     91|      SMLoc QualLoc;
 4199|     91|      StringRef Qualifier;
 4200|       |
 4201|     91|      QualLoc = Lexer.getLoc();
 4202|     91|      if (parseIdentifier(Qualifier)) {
  ------------------
  |  Branch (4202:11): [True: 68, False: 23]
  ------------------
 4203|       |        //return Error(QualLoc, "missing parameter qualifier for "
 4204|       |        //             "'" + Parameter.Name + "' in macro '" + Name + "'");
 4205|     68|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4206|     68|        return true;
 4207|     68|      }
 4208|       |
 4209|     23|      if (Qualifier == "req")
  ------------------
  |  Branch (4209:11): [True: 0, False: 23]
  ------------------
 4210|      0|        Parameter.Required = true;
 4211|     23|      else if (Qualifier == "vararg")
  ------------------
  |  Branch (4211:16): [True: 0, False: 23]
  ------------------
 4212|      0|        Parameter.Vararg = true;
 4213|     23|      else {
 4214|       |        //return Error(QualLoc, Qualifier + " is not a valid parameter qualifier "
 4215|       |        //             "for '" + Parameter.Name + "' in macro '" + Name + "'");
 4216|     23|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4217|     23|        return true;
 4218|     23|      }
 4219|     23|    }
 4220|       |
 4221|  8.14k|    if (getLexer().is(AsmToken::Equal)) {
  ------------------
  |  Branch (4221:9): [True: 500, False: 7.64k]
  ------------------
 4222|    500|      Lex();
 4223|       |
 4224|    500|      SMLoc ParamLoc;
 4225|       |
 4226|    500|      ParamLoc = Lexer.getLoc();
 4227|    500|      if (parseMacroArgument(Parameter.Value, /*Vararg=*/false )) {
  ------------------
  |  Branch (4227:11): [True: 11, False: 489]
  ------------------
 4228|     11|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4229|     11|        return true;
 4230|     11|      }
 4231|       |
 4232|    489|      if (Parameter.Required)
  ------------------
  |  Branch (4232:11): [True: 0, False: 489]
  ------------------
 4233|      0|        Warning(ParamLoc, "pointless default value for required parameter "
 4234|      0|                "'" + Parameter.Name + "' in macro '" + Name + "'");
 4235|    489|    }
 4236|       |
 4237|  8.13k|    Parameters.push_back(std::move(Parameter));
 4238|       |
 4239|  8.13k|    if (getLexer().is(AsmToken::Comma))
  ------------------
  |  Branch (4239:9): [True: 3.42k, False: 4.71k]
  ------------------
 4240|  3.42k|      Lex();
 4241|  8.13k|  }
 4242|       |
 4243|       |  // Eat the end of statement.
 4244|  2.74k|  Lex();
 4245|       |
 4246|  2.74k|  AsmToken EndToken, StartToken = getTok();
 4247|  2.74k|  unsigned MacroDepth = 0;
 4248|       |
 4249|       |  // Lex the macro definition.
 4250|  9.36k|  for (;;) {
 4251|       |    // Check whether we have reached the end of the file.
 4252|  9.36k|    if (getLexer().is(AsmToken::Eof)) {
  ------------------
  |  Branch (4252:9): [True: 111, False: 9.25k]
  ------------------
 4253|       |      //return Error(DirectiveLoc, "no matching '.endmacro' in definition");
 4254|    111|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4255|    111|      return true;
 4256|    111|    }
 4257|       |
 4258|       |    // Otherwise, check whether we have reach the .endmacro.
 4259|  9.25k|    if (getLexer().is(AsmToken::Identifier)) {
  ------------------
  |  Branch (4259:9): [True: 6.59k, False: 2.65k]
  ------------------
 4260|  6.59k|      if (getTok().getIdentifier() == ".endm" ||
  ------------------
  |  Branch (4260:11): [True: 2.88k, False: 3.70k]
  |  Branch (4260:11): [True: 3.08k, False: 3.51k]
  ------------------
 4261|  3.70k|          getTok().getIdentifier() == ".endmacro") {
  ------------------
  |  Branch (4261:11): [True: 197, False: 3.51k]
  ------------------
 4262|  3.08k|        if (MacroDepth == 0) { // Outermost macro.
  ------------------
  |  Branch (4262:13): [True: 2.62k, False: 454]
  ------------------
 4263|  2.62k|          EndToken = getTok();
 4264|  2.62k|          Lex();
 4265|  2.62k|          if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4265:15): [True: 182, False: 2.44k]
  ------------------
 4266|       |            //return TokError("unexpected token in '" + EndToken.getIdentifier() +
 4267|       |            //                "' directive");
 4268|    182|            KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4269|    182|            return true;
 4270|    182|          }
 4271|  2.44k|          break;
 4272|  2.62k|        } else {
 4273|       |          // Otherwise we just found the end of an inner macro.
 4274|    454|          --MacroDepth;
 4275|    454|        }
 4276|  3.51k|      } else if (getTok().getIdentifier() == ".macro") {
  ------------------
  |  Branch (4276:18): [True: 465, False: 3.04k]
  ------------------
 4277|       |        // We allow nested macros. Those aren't instantiated until the outermost
 4278|       |        // macro is expanded so just ignore them for now.
 4279|    465|        ++MacroDepth;
 4280|    465|      }
 4281|  6.59k|    }
 4282|       |
 4283|       |    // Otherwise, scan til the end of the statement.
 4284|  6.62k|    eatToEndOfStatement();
 4285|  6.62k|  }
 4286|       |
 4287|  2.44k|  if (lookupMacro(Name)) {
  ------------------
  |  Branch (4287:7): [True: 1.86k, False: 583]
  ------------------
 4288|       |    //return Error(DirectiveLoc, "macro '" + Name + "' is already defined");
 4289|  1.86k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4290|  1.86k|    return true;
 4291|  1.86k|  }
 4292|       |
 4293|    583|  const char *BodyStart = StartToken.getLoc().getPointer();
 4294|    583|  const char *BodyEnd = EndToken.getLoc().getPointer();
 4295|    583|  StringRef Body = StringRef(BodyStart, BodyEnd - BodyStart);
 4296|    583|  checkForBadMacro(DirectiveLoc, Name, Body, Parameters);
 4297|    583|  defineMacro(Name, MCAsmMacro(Name, Body, std::move(Parameters)));
 4298|    583|  return false;
 4299|  2.44k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser16checkForBadMacroEN7llvm_ks5SMLocENS1_9StringRefES3_NS1_8ArrayRefINS_19MCAsmMacroParameterEEE:
 4317|    583|                                 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|    583|  unsigned NParameters = Parameters.size();
 4321|    583|  if (NParameters == 0)
  ------------------
  |  Branch (4321:7): [True: 165, False: 418]
  ------------------
 4322|    165|    return;
 4323|       |
 4324|    418|  bool NamedParametersFound = false;
 4325|    418|  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.14k|  while (!Body.empty()) {
  ------------------
  |  Branch (4330:10): [True: 6.97k, False: 170]
  ------------------
 4331|       |    // Scan for the next possible parameter.
 4332|  6.97k|    std::size_t End = Body.size(), Pos = 0;
 4333|  33.2k|    for (; Pos != End; ++Pos) {
  ------------------
  |  Branch (4333:12): [True: 32.9k, False: 248]
  ------------------
 4334|       |      // Check for a substitution or escape.
 4335|       |      // This macro is defined with parameters, look for \foo, \bar, etc.
 4336|  32.9k|      if (Body[Pos] == '\\' && Pos + 1 != End)
  ------------------
  |  Branch (4336:11): [True: 5.62k, False: 27.3k]
  |  Branch (4336:32): [True: 5.62k, False: 0]
  ------------------
 4337|  5.62k|        break;
 4338|       |
 4339|       |      // This macro should have parameters, but look for $0, $1, ..., $n too.
 4340|  27.3k|      if (Body[Pos] != '$' || Pos + 1 == End)
  ------------------
  |  Branch (4340:11): [True: 25.1k, False: 2.21k]
  |  Branch (4340:31): [True: 0, False: 2.21k]
  ------------------
 4341|  25.1k|        continue;
 4342|  2.21k|      char Next = Body[Pos + 1];
 4343|  2.21k|      if (Next == '$' || Next == 'n' ||
  ------------------
  |  Branch (4343:11): [True: 420, False: 1.79k]
  |  Branch (4343:26): [True: 518, False: 1.28k]
  ------------------
 4344|  1.28k|          isdigit(static_cast<unsigned char>(Next)))
  ------------------
  |  Branch (4344:11): [True: 162, False: 1.11k]
  ------------------
 4345|  1.10k|        break;
 4346|  2.21k|    }
 4347|       |
 4348|       |    // Check if we reached the end.
 4349|  6.97k|    if (Pos == End)
  ------------------
  |  Branch (4349:9): [True: 248, False: 6.72k]
  ------------------
 4350|    248|      break;
 4351|       |
 4352|  6.72k|    if (Body[Pos] == '$') {
  ------------------
  |  Branch (4352:9): [True: 1.10k, False: 5.62k]
  ------------------
 4353|  1.10k|      switch (Body[Pos + 1]) {
 4354|       |      // $$ => $
 4355|    420|      case '$':
  ------------------
  |  Branch (4355:7): [True: 420, False: 680]
  ------------------
 4356|    420|        break;
 4357|       |
 4358|       |      // $n => number of arguments
 4359|    518|      case 'n':
  ------------------
  |  Branch (4359:7): [True: 518, False: 582]
  ------------------
 4360|    518|        PositionalParametersFound = true;
 4361|    518|        break;
 4362|       |
 4363|       |      // $[0-9] => argument
 4364|    162|      default: {
  ------------------
  |  Branch (4364:7): [True: 162, False: 938]
  ------------------
 4365|    162|        PositionalParametersFound = true;
 4366|    162|        break;
 4367|      0|      }
 4368|  1.10k|      }
 4369|  1.10k|      Pos += 2;
 4370|  5.62k|    } else {
 4371|  5.62k|      unsigned I = Pos + 1;
 4372|  10.7k|      while (isIdentifierChar(Body[I]) && I + 1 != End)
  ------------------
  |  Branch (4372:14): [True: 5.07k, False: 5.62k]
  |  Branch (4372:43): [True: 5.07k, False: 0]
  ------------------
 4373|  5.07k|        ++I;
 4374|       |
 4375|  5.62k|      const char *Begin = Body.data() + Pos + 1;
 4376|  5.62k|      StringRef Argument(Begin, I - (Pos + 1));
 4377|  5.62k|      unsigned Index = 0;
 4378|  15.4k|      for (; Index < NParameters; ++Index)
  ------------------
  |  Branch (4378:14): [True: 9.93k, False: 5.51k]
  ------------------
 4379|  9.93k|        if (Parameters[Index].Name == Argument)
  ------------------
  |  Branch (4379:13): [True: 112, False: 9.82k]
  ------------------
 4380|    112|          break;
 4381|       |
 4382|  5.62k|      if (Index == NParameters) {
  ------------------
  |  Branch (4382:11): [True: 5.51k, False: 112]
  ------------------
 4383|  5.51k|        if (Body[Pos + 1] == '(' && Body[Pos + 2] == ')')
  ------------------
  |  Branch (4383:13): [True: 526, False: 4.98k]
  |  Branch (4383:37): [True: 110, False: 416]
  ------------------
 4384|    110|          Pos += 3;
 4385|  5.40k|        else {
 4386|  5.40k|          Pos = I;
 4387|  5.40k|        }
 4388|  5.51k|      } else {
 4389|    112|        NamedParametersFound = true;
 4390|    112|        Pos += 1 + Argument.size();
 4391|    112|      }
 4392|  5.62k|    }
 4393|       |    // Update the scan point.
 4394|  6.72k|    Body = Body.substr(Pos);
 4395|  6.72k|  }
 4396|       |
 4397|    418|  if (!NamedParametersFound && PositionalParametersFound)
  ------------------
  |  Branch (4397:7): [True: 369, False: 49]
  |  Branch (4397:32): [True: 44, False: 325]
  ------------------
 4398|     44|    Warning(DirectiveLoc, "macro defined with named parameters which are not "
 4399|     44|                          "used in macro body, possible positional parameter "
 4400|     44|                          "found in body which will have no effect");
 4401|    418|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser11defineMacroEN7llvm_ks9StringRefENS_10MCAsmMacroE:
 2451|    583|void AsmParser::defineMacro(StringRef Name, MCAsmMacro Macro) {
 2452|    583|  MacroMap.insert(std::make_pair(Name, std::move(Macro)));
 2453|    583|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser26isInsideMacroInstantiationEv:
  297|  21.1k|  bool isInsideMacroInstantiation() {return !ActiveMacros.empty();}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser22parseDirectiveEndMacroEN7llvm_ks9StringRefE:
 4434|  21.2k|{
 4435|  21.2k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4435:7): [True: 71, False: 21.1k]
  ------------------
 4436|       |    //return TokError("unexpected token in '" + Directive + "' directive");
 4437|     71|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4438|     71|    return true;
 4439|     71|  }
 4440|       |
 4441|       |  // If we are inside a macro instantiation, terminate the current
 4442|       |  // instantiation.
 4443|  21.1k|  if (isInsideMacroInstantiation()) {
  ------------------
  |  Branch (4443:7): [True: 21.0k, False: 132]
  ------------------
 4444|  21.0k|    handleMacroExit();
 4445|  21.0k|    return false;
 4446|  21.0k|  }
 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|    132|  KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4453|    132|  return true;
 4454|  21.1k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser24parseDirectivePurgeMacroEN7llvm_ks5SMLocE:
 4459|     24|{
 4460|     24|  StringRef Name;
 4461|     24|  if (parseIdentifier(Name)) {
  ------------------
  |  Branch (4461:7): [True: 3, False: 21]
  ------------------
 4462|       |    //return TokError("expected identifier in '.purgem' directive");
 4463|      3|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4464|      3|    return true;
 4465|      3|  }
 4466|       |
 4467|     21|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (4467:7): [True: 11, False: 10]
  ------------------
 4468|       |    //return TokError("unexpected token in '.purgem' directive");
 4469|     11|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4470|     11|    return true;
 4471|     11|  }
 4472|       |
 4473|     10|  if (!lookupMacro(Name)) {
  ------------------
  |  Branch (4473:7): [True: 10, False: 0]
  ------------------
 4474|       |    //return Error(DirectiveLoc, "macro '" + Name + "' is not defined");
 4475|     10|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 4476|     10|    return true;
 4477|     10|  }
 4478|       |
 4479|      0|  undefineMacro(Name);
 4480|      0|  return false;
 4481|     10|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser17parseDirectiveEndEN7llvm_ks5SMLocE:
 5187|  1.96k|{
 5188|  1.96k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5188:7): [True: 1.95k, False: 16]
  ------------------
 5189|       |    //return TokError("unexpected token in '.end' directive");
 5190|  1.95k|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5191|  1.95k|    return true;
 5192|  1.95k|  }
 5193|       |
 5194|     16|  Lex();
 5195|       |
 5196|    240|  while (Lexer.isNot(AsmToken::Eof))
  ------------------
  |  Branch (5196:10): [True: 224, False: 16]
  ------------------
 5197|    224|    Lex();
 5198|       |
 5199|     16|  return false;
 5200|  1.96k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveErrorEN7llvm_ks5SMLocEb:
 5206|    318|{
 5207|    318|  if (!TheCondStack.empty()) {
  ------------------
  |  Branch (5207:7): [True: 90, False: 228]
  ------------------
 5208|     90|    if (TheCondStack.back().Ignore) {
  ------------------
  |  Branch (5208:9): [True: 0, False: 90]
  ------------------
 5209|      0|      eatToEndOfStatement();
 5210|      0|      return false;
 5211|      0|    }
 5212|     90|  }
 5213|       |
 5214|    318|  if (!WithMessage) {
  ------------------
  |  Branch (5214:7): [True: 89, False: 229]
  ------------------
 5215|       |    //return Error(L, ".err encountered");
 5216|     89|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5217|     89|    return true;
 5218|     89|  }
 5219|       |
 5220|    229|  StringRef Message = ".error directive invoked in source file";
 5221|    229|  if (Lexer.isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5221:7): [True: 226, False: 3]
  ------------------
 5222|    226|    if (Lexer.isNot(AsmToken::String)) {
  ------------------
  |  Branch (5222:9): [True: 89, False: 137]
  ------------------
 5223|       |      //TokError(".error argument must be a string");
 5224|     89|      eatToEndOfStatement();
 5225|     89|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5226|     89|      return true;
 5227|     89|    }
 5228|       |
 5229|    137|    bool valid;
 5230|    137|    Message = getTok().getStringContents(valid);
 5231|    137|    if (!valid) {
  ------------------
  |  Branch (5231:9): [True: 0, False: 137]
  ------------------
 5232|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5233|      0|        return true;
 5234|      0|    }
 5235|    137|    Lex();
 5236|    137|  }
 5237|       |
 5238|       |  //Error(L, Message);
 5239|    140|  KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5240|    140|  return true;
 5241|    229|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser21parseDirectiveWarningEN7llvm_ks5SMLocE:
 5246|    378|{
 5247|    378|  if (!TheCondStack.empty()) {
  ------------------
  |  Branch (5247:7): [True: 128, False: 250]
  ------------------
 5248|    128|    if (TheCondStack.back().Ignore) {
  ------------------
  |  Branch (5248:9): [True: 1, False: 127]
  ------------------
 5249|      1|      eatToEndOfStatement();
 5250|      1|      return false;
 5251|      1|    }
 5252|    128|  }
 5253|       |
 5254|    377|  StringRef Message = ".warning directive invoked in source file";
 5255|    377|  if (Lexer.isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (5255:7): [True: 173, False: 204]
  ------------------
 5256|    173|    if (Lexer.isNot(AsmToken::String)) {
  ------------------
  |  Branch (5256:9): [True: 141, False: 32]
  ------------------
 5257|       |      //TokError(".warning argument must be a string");
 5258|    141|      eatToEndOfStatement();
 5259|    141|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5260|    141|      return true;
 5261|    141|    }
 5262|       |
 5263|     32|    bool valid;
 5264|     32|    Message = getTok().getStringContents(valid);
 5265|     32|    if (!valid) {
  ------------------
  |  Branch (5265:9): [True: 0, False: 32]
  ------------------
 5266|      0|        KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 5267|      0|        return true;
 5268|      0|    }
 5269|     32|    Lex();
 5270|     32|  }
 5271|       |
 5272|    236|  Warning(L, Message);
 5273|    236|  return false;
 5274|    377|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parseDirectiveRelocEN7llvm_ks5SMLocE:
 2734|    966|{
 2735|    966|  const MCExpr *Offset;
 2736|    966|  const MCExpr *Expr = nullptr;
 2737|       |
 2738|       |  //SMLoc OffsetLoc = Lexer.getTok().getLoc();
 2739|    966|  if (parseExpression(Offset)) {
  ------------------
  |  Branch (2739:7): [True: 91, False: 875]
  ------------------
 2740|     91|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2741|     91|    return true;
 2742|     91|  }
 2743|       |
 2744|       |  // We can only deal with constant expressions at the moment.
 2745|    875|  int64_t OffsetValue;
 2746|    875|  if (!Offset->evaluateAsAbsolute(OffsetValue)) {
  ------------------
  |  Branch (2746:7): [True: 157, False: 718]
  ------------------
 2747|       |    //return Error(OffsetLoc, "expression is not a constant value");
 2748|    157|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2749|    157|    return true;
 2750|    157|  }
 2751|       |
 2752|    718|  if (OffsetValue < 0) {
  ------------------
  |  Branch (2752:7): [True: 159, False: 559]
  ------------------
 2753|       |    //return Error(OffsetLoc, "expression is negative");
 2754|    159|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2755|    159|    return true;
 2756|    159|  }
 2757|       |
 2758|    559|  if (Lexer.isNot(AsmToken::Comma)) {
  ------------------
  |  Branch (2758:7): [True: 288, False: 271]
  ------------------
 2759|       |    // return TokError("expected comma");
 2760|    288|    KsError = KS_ERR_ASM_DIRECTIVE_COMMA;
 2761|    288|    return true;
 2762|    288|  }
 2763|    271|  Lexer.Lex();
 2764|       |
 2765|    271|  if (Lexer.isNot(AsmToken::Identifier)) {
  ------------------
  |  Branch (2765:7): [True: 18, False: 253]
  ------------------
 2766|       |    // return TokError("expected relocation name");
 2767|     18|    KsError = KS_ERR_ASM_DIRECTIVE_RELOC_NAME;
 2768|     18|    return true;
 2769|     18|  }
 2770|       |  //SMLoc NameLoc = Lexer.getTok().getLoc();
 2771|    253|  StringRef Name = Lexer.getTok().getIdentifier();
 2772|    253|  Lexer.Lex();
 2773|       |
 2774|    253|  if (Lexer.is(AsmToken::Comma)) {
  ------------------
  |  Branch (2774:7): [True: 130, False: 123]
  ------------------
 2775|    130|    Lexer.Lex();
 2776|       |    //SMLoc ExprLoc = Lexer.getLoc();
 2777|    130|    if (parseExpression(Expr)) {
  ------------------
  |  Branch (2777:9): [True: 11, False: 119]
  ------------------
 2778|     11|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2779|     11|      return true;
 2780|     11|    }
 2781|       |
 2782|    119|    MCValue Value;
 2783|    119|    if (!Expr->evaluateAsRelocatable(Value, nullptr, nullptr)) {
  ------------------
  |  Branch (2783:9): [True: 10, False: 109]
  ------------------
 2784|       |      //return Error(ExprLoc, "expression must be relocatable");
 2785|     10|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2786|     10|      return true;
 2787|     10|    }
 2788|    119|  }
 2789|       |
 2790|    232|  if (Lexer.isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (2790:7): [True: 70, False: 162]
  ------------------
 2791|       |    // return TokError("unexpected token in .reloc directive");
 2792|     70|    KsError = KS_ERR_ASM_DIRECTIVE_RELOC_TOKEN;
 2793|     70|    return true;
 2794|     70|  }
 2795|       |
 2796|    162|  if (getStreamer().EmitRelocDirective(*Offset, Name, Expr, DirectiveLoc)) {
  ------------------
  |  Branch (2796:7): [True: 162, False: 0]
  ------------------
 2797|       |    //return Error(NameLoc, "unknown relocation name");
 2798|    162|    KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2799|    162|    return true;
 2800|    162|  }
 2801|       |
 2802|      0|  return false;
 2803|    162|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser4NoteEN7llvm_ks5SMLocERKNS1_5TwineENS1_8ArrayRefINS1_7SMRangeEEE:
  600|     14|void AsmParser::Note(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
  601|     14|  printMessage(L, SourceMgr::DK_Note, Msg, Ranges);
  602|     14|  printMacroInstantiations();
  603|     14|}
AsmParser.cpp:_ZNK12_GLOBAL__N_19AsmParser12printMessageEN7llvm_ks5SMLocENS1_9SourceMgr8DiagKindERKNS1_5TwineENS1_8ArrayRefINS1_7SMRangeEEE:
  316|  26.1k|                    ArrayRef<SMRange> Ranges = None) const {
  317|  26.1k|    SrcMgr.PrintMessage(Loc, Kind, Msg, Ranges);
  318|  26.1k|  }
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser24printMacroInstantiationsEv:
  590|  9.02k|void AsmParser::printMacroInstantiations() {
  591|       |  // Print the active macro instantiation stack.
  592|  9.02k|  for (std::vector<MacroInstantiation *>::const_reverse_iterator
  593|  9.02k|           it = ActiveMacros.rbegin(),
  594|  9.02k|           ie = ActiveMacros.rend();
  595|  26.1k|       it != ie; ++it)
  ------------------
  |  Branch (595:8): [True: 17.1k, False: 9.02k]
  ------------------
  596|  17.1k|    printMessage((*it)->InstantiationLoc, SourceMgr::DK_Note,
  597|  17.1k|                 "while in macro instantiation");
  598|  9.02k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser7WarningEN7llvm_ks5SMLocERKNS1_5TwineENS1_8ArrayRefINS1_7SMRangeEEE:
  605|  6.36k|bool AsmParser::Warning(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
  606|  6.36k|  if(getTargetParser().getTargetOptions().MCNoWarn)
  ------------------
  |  Branch (606:6): [True: 0, False: 6.36k]
  ------------------
  607|      0|    return false;
  608|  6.36k|  if (getTargetParser().getTargetOptions().MCFatalWarnings)
  ------------------
  |  Branch (608:7): [True: 0, False: 6.36k]
  ------------------
  609|      0|    return Error(L, Msg, Ranges);
  610|  6.36k|  printMessage(L, SourceMgr::DK_Warning, Msg, Ranges);
  611|  6.36k|  printMacroInstantiations();
  612|  6.36k|  return false;
  613|  6.36k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser5ErrorEN7llvm_ks5SMLocERKNS1_5TwineENS1_8ArrayRefINS1_7SMRangeEEE:
  615|  2.64k|bool AsmParser::Error(SMLoc L, const Twine &Msg, ArrayRef<SMRange> Ranges) {
  616|  2.64k|  HadError = true;
  617|  2.64k|  printMessage(L, SourceMgr::DK_Error, Msg, Ranges);
  618|  2.64k|  printMacroInstantiations();
  619|  2.64k|  return true;
  620|  2.64k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser3LexEv:
  655|  12.2M|const AsmToken &AsmParser::Lex() {
  656|  12.2M|  const AsmToken *tok = &Lexer.Lex();
  657|       |
  658|  12.2M|  if (tok->is(AsmToken::Eof)) {
  ------------------
  |  Branch (658:7): [True: 11.2k, False: 12.1M]
  ------------------
  659|       |    // If this is the end of an included file, pop the parent file off the
  660|       |    // include stack.
  661|  11.2k|    SMLoc ParentIncludeLoc = SrcMgr.getParentIncludeLoc(CurBuffer);
  662|  11.2k|    if (ParentIncludeLoc != SMLoc()) {
  ------------------
  |  Branch (662:9): [True: 0, False: 11.2k]
  ------------------
  663|      0|      jumpToLoc(ParentIncludeLoc);
  664|      0|      tok = &Lexer.Lex();   // qq
  665|      0|    }
  666|  11.2k|  }
  667|       |
  668|       |  //if (tok->is(AsmToken::Error))
  669|       |  //  Error(Lexer.getErrLoc(), Lexer.getErr());
  670|       |
  671|  12.2M|  return *tok;
  672|  12.2M|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser15parseIdentifierERN7llvm_ks9StringRefE:
 2549|  1.60M|{
 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.60M|  if (Lexer.is(AsmToken::Dollar) || Lexer.is(AsmToken::At)) {
  ------------------
  |  Branch (2555:7): [True: 46.0k, False: 1.55M]
  |  Branch (2555:37): [True: 18.2k, False: 1.53M]
  ------------------
 2556|  64.2k|    SMLoc PrefixLoc = getLexer().getLoc();
 2557|       |
 2558|       |    // Consume the prefix character, and check for a following identifier.
 2559|  64.2k|    Lex();
 2560|  64.2k|    if (Lexer.isNot(AsmToken::Identifier)) {
  ------------------
  |  Branch (2560:9): [True: 51.6k, False: 12.6k]
  ------------------
 2561|  51.6k|      KsError = KS_ERR_ASM_MACRO_INVALID;
 2562|  51.6k|      return true;
 2563|  51.6k|    }
 2564|       |
 2565|       |    // We have a '$' or '@' followed by an identifier, make sure they are adjacent.
 2566|  12.6k|    if (PrefixLoc.getPointer() + 1 != getTok().getLoc().getPointer()) {
  ------------------
  |  Branch (2566:9): [True: 43, False: 12.6k]
  ------------------
 2567|     43|      KsError = KS_ERR_ASM_MACRO_INVALID;
 2568|     43|      return true;
 2569|     43|    }
 2570|       |
 2571|       |    // Construct the joined identifier and consume the token.
 2572|  12.6k|    Res =
 2573|  12.6k|        StringRef(PrefixLoc.getPointer(), getTok().getIdentifier().size() + 1);
 2574|  12.6k|    Lex();
 2575|  12.6k|    return false;
 2576|  12.6k|  }
 2577|       |
 2578|  1.53M|  if (Lexer.isNot(AsmToken::Identifier) && Lexer.isNot(AsmToken::String)) {
  ------------------
  |  Branch (2578:7): [True: 30.1k, False: 1.50M]
  |  Branch (2578:44): [True: 2.27k, False: 27.9k]
  ------------------
 2579|  2.27k|    KsError = KS_ERR_ASM_MACRO_INVALID;
 2580|  2.27k|    return true;
 2581|  2.27k|  }
 2582|       |
 2583|  1.53M|  Res = getTok().getIdentifier();
 2584|       |
 2585|  1.53M|  Lex(); // Consume the identifier token.
 2586|       |
 2587|  1.53M|  return false;
 2588|  1.53M|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser27parseStringToEndOfStatementEv:
  792|  7.95k|StringRef AsmParser::parseStringToEndOfStatement() {
  793|  7.95k|  const char *Start = getTok().getLoc().getPointer();
  794|       |
  795|  52.4k|  while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof))
  ------------------
  |  Branch (795:10): [True: 44.4k, False: 7.94k]
  |  Branch (795:51): [True: 44.4k, False: 3]
  ------------------
  796|  44.4k|    Lex();
  797|       |
  798|  7.95k|  const char *End = getTok().getLoc().getPointer();
  799|  7.95k|  return StringRef(Start, End - Start);
  800|  7.95k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18parseEscapedStringERNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
 2614|  11.3k|{
 2615|  11.3k|  if (!getLexer().is(AsmToken::String)) {
  ------------------
  |  Branch (2615:7): [True: 0, False: 11.3k]
  ------------------
 2616|      0|      KsError = KS_ERR_ASM_ESC_STR;
 2617|      0|      return true;
 2618|      0|  }
 2619|       |
 2620|  11.3k|  Data = "";
 2621|  11.3k|  bool valid;
 2622|  11.3k|  StringRef Str = getTok().getStringContents(valid);
 2623|  11.3k|  if (!valid) {
  ------------------
  |  Branch (2623:7): [True: 0, False: 11.3k]
  ------------------
 2624|      0|      KsError = KS_ERR_ASM_DIRECTIVE_INVALID;
 2625|      0|      return true;
 2626|      0|  }
 2627|       |
 2628|   307k|  for (unsigned i = 0, e = Str.size(); i != e; ++i) {
  ------------------
  |  Branch (2628:40): [True: 296k, False: 11.1k]
  ------------------
 2629|   296k|    if (Str[i] != '\\') {
  ------------------
  |  Branch (2629:9): [True: 280k, False: 16.0k]
  ------------------
 2630|   280k|      Data += Str[i];
 2631|   280k|      continue;
 2632|   280k|    }
 2633|       |
 2634|       |    // Recognize escaped characters. Note that this escape semantics currently
 2635|       |    // loosely follows Darwin 'as'. Notably, it doesn't support hex escapes.
 2636|  16.0k|    ++i;
 2637|  16.0k|    if (i == e) {
  ------------------
  |  Branch (2637:9): [True: 0, False: 16.0k]
  ------------------
 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|  16.0k|    if ((unsigned)(Str[i] - '0') <= 7) {
  ------------------
  |  Branch (2644:9): [True: 2.35k, False: 13.7k]
  ------------------
 2645|       |      // Consume up to three octal characters.
 2646|  2.35k|      unsigned Value = Str[i] - '0';
 2647|       |
 2648|  2.35k|      if (i + 1 != e && ((unsigned)(Str[i + 1] - '0')) <= 7) {
  ------------------
  |  Branch (2648:11): [True: 2.22k, False: 136]
  |  Branch (2648:25): [True: 1.36k, False: 860]
  ------------------
 2649|  1.36k|        ++i;
 2650|  1.36k|        Value = Value * 8 + (Str[i] - '0');
 2651|       |
 2652|  1.36k|        if (i + 1 != e && ((unsigned)(Str[i + 1] - '0')) <= 7) {
  ------------------
  |  Branch (2652:13): [True: 1.17k, False: 187]
  |  Branch (2652:27): [True: 413, False: 763]
  ------------------
 2653|    413|          ++i;
 2654|    413|          Value = Value * 8 + (Str[i] - '0');
 2655|    413|        }
 2656|  1.36k|      }
 2657|       |
 2658|  2.35k|      if (Value > 255) {
  ------------------
  |  Branch (2658:11): [True: 58, False: 2.30k]
  ------------------
 2659|       |        // return TokError("invalid octal escape sequence (out of range)");
 2660|     58|        KsError = KS_ERR_ASM_ESC_BACKSLASH;
 2661|     58|        return true;
 2662|     58|      }
 2663|       |
 2664|  2.30k|      Data += (unsigned char)Value;
 2665|  2.30k|      continue;
 2666|  2.35k|    }
 2667|       |
 2668|       |    // Otherwise recognize individual escapes.
 2669|  13.7k|    switch (Str[i]) {
 2670|    130|    default:
  ------------------
  |  Branch (2670:5): [True: 130, False: 13.5k]
  ------------------
 2671|       |      // Just reject invalid escape sequences for now.
 2672|       |      // return TokError("invalid escape sequence (unrecognized character)");
 2673|    130|      KsError = KS_ERR_ASM_ESC_SEQUENCE;
 2674|    130|      return true;
 2675|       |
 2676|    979|    case 'b': Data += '\b'; break;
  ------------------
  |  Branch (2676:5): [True: 979, False: 12.7k]
  ------------------
 2677|    467|    case 'f': Data += '\f'; break;
  ------------------
  |  Branch (2677:5): [True: 467, False: 13.2k]
  ------------------
 2678|    128|    case 'n': Data += '\n'; break;
  ------------------
  |  Branch (2678:5): [True: 128, False: 13.5k]
  ------------------
 2679|    298|    case 'r': Data += '\r'; break;
  ------------------
  |  Branch (2679:5): [True: 298, False: 13.4k]
  ------------------
 2680|    662|    case 't': Data += '\t'; break;
  ------------------
  |  Branch (2680:5): [True: 662, False: 13.0k]
  ------------------
 2681|    482|    case '"': Data += '"'; break;
  ------------------
  |  Branch (2681:5): [True: 482, False: 13.2k]
  ------------------
 2682|  10.5k|    case '\\': Data += '\\'; break;
  ------------------
  |  Branch (2682:5): [True: 10.5k, False: 3.14k]
  ------------------
 2683|  13.7k|    }
 2684|  13.7k|  }
 2685|       |
 2686|  11.1k|  return false;
 2687|  11.3k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19eatToEndOfStatementEv:
  783|   273k|{
  784|   611k|  while (Lexer.isNot(AsmToken::EndOfStatement) && Lexer.isNot(AsmToken::Eof))
  ------------------
  |  Branch (784:10): [True: 338k, False: 273k]
  |  Branch (784:51): [True: 338k, False: 51]
  ------------------
  785|   338k|    Lex();
  786|       |
  787|       |  // Eat EOL.
  788|   273k|  if (Lexer.is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (788:7): [True: 273k, False: 51]
  ------------------
  789|   273k|    Lex();
  790|   273k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser15parseExpressionERPKN7llvm_ks6MCExprERNS1_5SMLocE:
 1145|   558k|bool AsmParser::parseExpression(const MCExpr *&Res, SMLoc &EndLoc) {
 1146|       |  // Parse the expression.
 1147|   558k|  Res = nullptr;
 1148|   558k|  if (parsePrimaryExpr(Res, EndLoc) || parseBinOpRHS(1, Res, EndLoc))
  ------------------
  |  Branch (1148:7): [True: 349k, False: 208k]
  |  Branch (1148:40): [True: 8.32k, False: 200k]
  ------------------
 1149|   358k|    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|   200k|  if (Lexer.getKind() == AsmToken::At) {
  ------------------
  |  Branch (1154:7): [True: 14.4k, False: 185k]
  ------------------
 1155|  14.4k|    Lex();
 1156|       |
 1157|  14.4k|    if (Lexer.isNot(AsmToken::Identifier)) {
  ------------------
  |  Branch (1157:9): [True: 4.80k, False: 9.63k]
  ------------------
 1158|       |      // return TokError("unexpected symbol modifier following '@'");
 1159|  4.80k|      KsError = KS_ERR_ASM_SYMBOL_MODIFIER;
 1160|  4.80k|      return true;
 1161|  4.80k|    }
 1162|       |
 1163|  9.63k|    MCSymbolRefExpr::VariantKind Variant =
 1164|  9.63k|        MCSymbolRefExpr::getVariantKindForName(getTok().getIdentifier());
 1165|  9.63k|    if (Variant == MCSymbolRefExpr::VK_Invalid) {
  ------------------
  |  Branch (1165:9): [True: 8.16k, False: 1.46k]
  ------------------
 1166|       |      // return TokError("invalid variant '" + getTok().getIdentifier() + "'");
 1167|  8.16k|      KsError = KS_ERR_ASM_VARIANT_INVALID;
 1168|  8.16k|      return true;
 1169|  8.16k|    }
 1170|       |
 1171|  1.46k|    const MCExpr *ModifiedRes = applyModifierToExpr(Res, Variant);
 1172|  1.46k|    if (!ModifiedRes) {
  ------------------
  |  Branch (1172:9): [True: 1.18k, False: 278]
  ------------------
 1173|       |      // return TokError("invalid modifier '" + getTok().getIdentifier() +
 1174|       |      //                 "' (no symbols present)");
 1175|  1.18k|      KsError = KS_ERR_ASM_VARIANT_INVALID;
 1176|  1.18k|      return true;
 1177|  1.18k|    }
 1178|       |
 1179|    278|    Res = ModifiedRes;
 1180|    278|    Lex();
 1181|    278|  }
 1182|       |
 1183|       |  // Try to constant fold it up front, if possible.
 1184|   185k|  int64_t Value;
 1185|   185k|  if (Res->evaluateAsAbsolute(Value))
  ------------------
  |  Branch (1185:7): [True: 54.1k, False: 131k]
  ------------------
 1186|  54.1k|    Res = MCConstantExpr::create(Value, getContext());
 1187|       |
 1188|   185k|  return false;
 1189|   200k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser13parseBinOpRHSEjRPKN7llvm_ks6MCExprERNS1_5SMLocE:
 1400|   219k|                              SMLoc &EndLoc) {
 1401|   408k|  while (1) {
  ------------------
  |  Branch (1401:10): [True: 408k, Folded]
  ------------------
 1402|   408k|    MCBinaryExpr::Opcode Kind = MCBinaryExpr::Add;
 1403|   408k|    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|   408k|    if (TokPrec < Precedence)
  ------------------
  |  Branch (1407:9): [True: 210k, False: 198k]
  ------------------
 1408|   210k|      return false;
 1409|       |
 1410|   198k|    Lex();
 1411|       |
 1412|       |    // Eat the next primary expression.
 1413|   198k|    const MCExpr *RHS;
 1414|   198k|    if (parsePrimaryExpr(RHS, EndLoc))
  ------------------
  |  Branch (1414:9): [True: 8.32k, False: 189k]
  ------------------
 1415|  8.32k|      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|   189k|    MCBinaryExpr::Opcode Dummy;
 1420|   189k|    unsigned NextTokPrec = getBinOpPrecedence(Lexer.getKind(), Dummy);
 1421|   189k|    if (TokPrec < NextTokPrec && parseBinOpRHS(TokPrec + 1, RHS, EndLoc))
  ------------------
  |  Branch (1421:9): [True: 10.8k, False: 179k]
  |  Branch (1421:34): [True: 815, False: 10.0k]
  ------------------
 1422|    815|      return true;
 1423|       |
 1424|       |    // Merge LHS and RHS according to operator.
 1425|   189k|    Res = MCBinaryExpr::create(Kind, Res, RHS, getContext());
 1426|   189k|  }
 1427|   219k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser18getBinOpPrecedenceEN7llvm_ks8AsmToken9TokenKindERNS1_12MCBinaryExpr6OpcodeE:
 1391|   598k|                                       MCBinaryExpr::Opcode &Kind) {
 1392|   598k|  bool ShouldUseLogicalShr = MAI.shouldUseLogicalShr();
 1393|   598k|  return IsDarwin ? getDarwinBinOpPrecedence(K, Kind, ShouldUseLogicalShr)
  ------------------
  |  Branch (1393:10): [True: 598k, False: 0]
  ------------------
 1394|   598k|                  : getGNUBinOpPrecedence(K, Kind, ShouldUseLogicalShr);
 1395|   598k|}
AsmParser.cpp:_ZL24getDarwinBinOpPrecedenceN7llvm_ks8AsmToken9TokenKindERNS_12MCBinaryExpr6OpcodeEb:
 1238|   598k|                                         bool ShouldUseLogicalShr) {
 1239|   598k|  switch (K) {
 1240|   287k|  default:
  ------------------
  |  Branch (1240:3): [True: 287k, False: 310k]
  ------------------
 1241|   287k|    return 0; // not a binop.
 1242|       |
 1243|       |  // Lowest Precedence: &&, ||
 1244|  1.23k|  case AsmToken::AmpAmp:
  ------------------
  |  Branch (1244:3): [True: 1.23k, False: 597k]
  ------------------
 1245|  1.23k|    Kind = MCBinaryExpr::LAnd;
 1246|  1.23k|    return 1;
 1247|    805|  case AsmToken::PipePipe:
  ------------------
  |  Branch (1247:3): [True: 805, False: 597k]
  ------------------
 1248|    805|    Kind = MCBinaryExpr::LOr;
 1249|    805|    return 1;
 1250|       |
 1251|       |  // Low Precedence: |, &, ^
 1252|       |  //
 1253|       |  // FIXME: gas seems to support '!' as an infix operator?
 1254|  1.95k|  case AsmToken::Pipe:
  ------------------
  |  Branch (1254:3): [True: 1.95k, False: 596k]
  ------------------
 1255|  1.95k|    Kind = MCBinaryExpr::Or;
 1256|  1.95k|    return 2;
 1257|  1.61k|  case AsmToken::Caret:
  ------------------
  |  Branch (1257:3): [True: 1.61k, False: 596k]
  ------------------
 1258|  1.61k|    Kind = MCBinaryExpr::Xor;
 1259|  1.61k|    return 2;
 1260|  8.93k|  case AsmToken::Amp:
  ------------------
  |  Branch (1260:3): [True: 8.93k, False: 589k]
  ------------------
 1261|  8.93k|    Kind = MCBinaryExpr::And;
 1262|  8.93k|    return 2;
 1263|       |
 1264|       |  // Low Intermediate Precedence: ==, !=, <>, <, <=, >, >=
 1265|    414|  case AsmToken::EqualEqual:
  ------------------
  |  Branch (1265:3): [True: 414, False: 597k]
  ------------------
 1266|    414|    Kind = MCBinaryExpr::EQ;
 1267|    414|    return 3;
 1268|      0|  case AsmToken::ExclaimEqual:
  ------------------
  |  Branch (1268:3): [True: 0, False: 598k]
  ------------------
 1269|    655|  case AsmToken::LessGreater:
  ------------------
  |  Branch (1269:3): [True: 655, False: 597k]
  ------------------
 1270|    655|    Kind = MCBinaryExpr::NE;
 1271|    655|    return 3;
 1272|  4.61k|  case AsmToken::Less:
  ------------------
  |  Branch (1272:3): [True: 4.61k, False: 593k]
  ------------------
 1273|  4.61k|    Kind = MCBinaryExpr::LT;
 1274|  4.61k|    return 3;
 1275|  1.40k|  case AsmToken::LessEqual:
  ------------------
  |  Branch (1275:3): [True: 1.40k, False: 596k]
  ------------------
 1276|  1.40k|    Kind = MCBinaryExpr::LTE;
 1277|  1.40k|    return 3;
 1278|  9.21k|  case AsmToken::Greater:
  ------------------
  |  Branch (1278:3): [True: 9.21k, False: 589k]
  ------------------
 1279|  9.21k|    Kind = MCBinaryExpr::GT;
 1280|  9.21k|    return 3;
 1281|  3.36k|  case AsmToken::GreaterEqual:
  ------------------
  |  Branch (1281:3): [True: 3.36k, False: 594k]
  ------------------
 1282|  3.36k|    Kind = MCBinaryExpr::GTE;
 1283|  3.36k|    return 3;
 1284|       |
 1285|       |  // Intermediate Precedence: <<, >>
 1286|    534|  case AsmToken::LessLess:
  ------------------
  |  Branch (1286:3): [True: 534, False: 597k]
  ------------------
 1287|    534|    Kind = MCBinaryExpr::Shl;
 1288|    534|    return 4;
 1289|    494|  case AsmToken::GreaterGreater:
  ------------------
  |  Branch (1289:3): [True: 494, False: 597k]
  ------------------
 1290|    494|    Kind = ShouldUseLogicalShr ? MCBinaryExpr::LShr : MCBinaryExpr::AShr;
  ------------------
  |  Branch (1290:12): [True: 494, False: 0]
  ------------------
 1291|    494|    return 4;
 1292|       |
 1293|       |  // High Intermediate Precedence: +, -
 1294|  45.9k|  case AsmToken::Plus:
  ------------------
  |  Branch (1294:3): [True: 45.9k, False: 552k]
  ------------------
 1295|  45.9k|    Kind = MCBinaryExpr::Add;
 1296|  45.9k|    return 5;
 1297|   166k|  case AsmToken::Minus:
  ------------------
  |  Branch (1297:3): [True: 166k, False: 431k]
  ------------------
 1298|   166k|    Kind = MCBinaryExpr::Sub;
 1299|   166k|    return 5;
 1300|       |
 1301|       |  // Highest Precedence: *, /, %
 1302|  55.1k|  case AsmToken::Star:
  ------------------
  |  Branch (1302:3): [True: 55.1k, False: 543k]
  ------------------
 1303|  55.1k|    Kind = MCBinaryExpr::Mul;
 1304|  55.1k|    return 6;
 1305|  4.63k|  case AsmToken::Slash:
  ------------------
  |  Branch (1305:3): [True: 4.63k, False: 593k]
  ------------------
 1306|  4.63k|    Kind = MCBinaryExpr::Div;
 1307|  4.63k|    return 6;
 1308|  2.87k|  case AsmToken::Percent:
  ------------------
  |  Branch (1308:3): [True: 2.87k, False: 595k]
  ------------------
 1309|  2.87k|    Kind = MCBinaryExpr::Mod;
 1310|  2.87k|    return 6;
 1311|   598k|  }
 1312|   598k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19applyModifierToExprEPKN7llvm_ks6MCExprENS1_15MCSymbolRefExpr11VariantKindE:
 1083|  9.73k|                               MCSymbolRefExpr::VariantKind Variant) {
 1084|       |  // Ask the target implementation about this expression first.
 1085|  9.73k|  const MCExpr *NewE = getTargetParser().applyModifierToExpr(E, Variant, Ctx);
 1086|  9.73k|  if (NewE)
  ------------------
  |  Branch (1086:7): [True: 0, False: 9.73k]
  ------------------
 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|  9.73k|  switch (E->getKind()) {
  ------------------
  |  Branch (1090:11): [True: 9.73k, False: 0]
  ------------------
 1091|      0|  case MCExpr::Target:
  ------------------
  |  Branch (1091:3): [True: 0, False: 9.73k]
  ------------------
 1092|  1.62k|  case MCExpr::Constant:
  ------------------
  |  Branch (1092:3): [True: 1.62k, False: 8.11k]
  ------------------
 1093|  1.62k|    return nullptr;
 1094|       |
 1095|  2.82k|  case MCExpr::SymbolRef: {
  ------------------
  |  Branch (1095:3): [True: 2.82k, False: 6.91k]
  ------------------
 1096|  2.82k|    const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(E);
 1097|       |
 1098|  2.82k|    if (SRE->getKind() != MCSymbolRefExpr::VK_None) {
  ------------------
  |  Branch (1098:9): [True: 222, False: 2.60k]
  ------------------
 1099|       |      //TokError("invalid variant on expression '" + getTok().getIdentifier() +
 1100|       |      //         "' (already modified)");
 1101|    222|      return E;
 1102|    222|    }
 1103|       |
 1104|  2.60k|    return MCSymbolRefExpr::create(&SRE->getSymbol(), Variant, getContext());
 1105|  2.82k|  }
 1106|       |
 1107|  2.31k|  case MCExpr::Unary: {
  ------------------
  |  Branch (1107:3): [True: 2.31k, False: 7.42k]
  ------------------
 1108|  2.31k|    const MCUnaryExpr *UE = cast<MCUnaryExpr>(E);
 1109|  2.31k|    const MCExpr *Sub = applyModifierToExpr(UE->getSubExpr(), Variant);
 1110|  2.31k|    if (!Sub)
  ------------------
  |  Branch (1110:9): [True: 1.41k, False: 899]
  ------------------
 1111|  1.41k|      return nullptr;
 1112|    899|    return MCUnaryExpr::create(UE->getOpcode(), Sub, getContext());
 1113|  2.31k|  }
 1114|       |
 1115|  2.97k|  case MCExpr::Binary: {
  ------------------
  |  Branch (1115:3): [True: 2.97k, False: 6.76k]
  ------------------
 1116|  2.97k|    const MCBinaryExpr *BE = cast<MCBinaryExpr>(E);
 1117|  2.97k|    const MCExpr *LHS = applyModifierToExpr(BE->getLHS(), Variant);
 1118|  2.97k|    const MCExpr *RHS = applyModifierToExpr(BE->getRHS(), Variant);
 1119|       |
 1120|  2.97k|    if (!LHS && !RHS)
  ------------------
  |  Branch (1120:9): [True: 100, False: 2.87k]
  |  Branch (1120:17): [True: 62, False: 38]
  ------------------
 1121|     62|      return nullptr;
 1122|       |
 1123|  2.91k|    if (!LHS)
  ------------------
  |  Branch (1123:9): [True: 38, False: 2.87k]
  ------------------
 1124|     38|      LHS = BE->getLHS();
 1125|  2.91k|    if (!RHS)
  ------------------
  |  Branch (1125:9): [True: 335, False: 2.58k]
  ------------------
 1126|    335|      RHS = BE->getRHS();
 1127|       |
 1128|  2.91k|    return MCBinaryExpr::create(BE->getOpcode(), LHS, RHS, getContext());
 1129|  2.97k|  }
 1130|  9.73k|  }
 1131|       |
 1132|      0|  llvm_unreachable("Invalid expression kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 1133|  9.73k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser16parsePrimaryExprERPKN7llvm_ks6MCExprERNS1_5SMLocE:
 1072|   756k|{
 1073|   756k|  return parsePrimaryExprAux(Res, EndLoc, 0);
 1074|   756k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser19parsePrimaryExprAuxERPKN7llvm_ks6MCExprERNS1_5SMLocEj:
  848|   915k|{
  849|   915k|  if (depth > 0x100) {
  ------------------
  |  Branch (849:7): [True: 1, False: 915k]
  ------------------
  850|      1|    KsError = KS_ERR_ASM_EXPR_TOKEN;
  851|      1|    return true;
  852|      1|  }
  853|   915k|  SMLoc FirstTokenLoc = getLexer().getLoc();
  854|   915k|  AsmToken::TokenKind FirstTokenKind = Lexer.getKind();
  855|   915k|  switch (FirstTokenKind) {
  856|   220k|  default:
  ------------------
  |  Branch (856:3): [True: 220k, False: 695k]
  ------------------
  857|       |    //return TokError("unknown token in expression");
  858|   220k|    KsError = KS_ERR_ASM_EXPR_TOKEN;
  859|   220k|    return true;
  860|       |  // If we have an error assume that we've already handled it.
  861|  3.98k|  case AsmToken::Error:
  ------------------
  |  Branch (861:3): [True: 3.98k, False: 911k]
  ------------------
  862|  3.98k|    return true;
  863|      0|  case AsmToken::Exclaim:
  ------------------
  |  Branch (863:3): [True: 0, False: 915k]
  ------------------
  864|      0|    Lex(); // Eat the operator.
  865|      0|    if (parsePrimaryExprAux(Res, EndLoc, depth+1))
  ------------------
  |  Branch (865:9): [True: 0, False: 0]
  ------------------
  866|      0|      return true;
  867|      0|    Res = MCUnaryExpr::createLNot(Res, getContext());
  868|      0|    return false;
  869|  3.32k|  case AsmToken::Dollar:
  ------------------
  |  Branch (869:3): [True: 3.32k, False: 912k]
  ------------------
  870|  15.2k|  case AsmToken::At:
  ------------------
  |  Branch (870:3): [True: 11.8k, False: 903k]
  ------------------
  871|  15.5k|  case AsmToken::String:
  ------------------
  |  Branch (871:3): [True: 320, False: 915k]
  ------------------
  872|   169k|  case AsmToken::Identifier: {
  ------------------
  |  Branch (872:3): [True: 154k, False: 761k]
  ------------------
  873|   169k|    StringRef Identifier;
  874|   169k|    if (parseIdentifier(Identifier)) {
  ------------------
  |  Branch (874:9): [True: 8.84k, False: 160k]
  ------------------
  875|  8.84k|      if (FirstTokenKind == AsmToken::Dollar) {
  ------------------
  |  Branch (875:11): [True: 3.27k, False: 5.56k]
  ------------------
  876|  3.27k|        if (Lexer.getMAI().getDollarIsPC()) {
  ------------------
  |  Branch (876:13): [True: 0, False: 3.27k]
  ------------------
  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|  3.27k|        KsError = KS_ERR_ASM_INVALIDOPERAND;
  888|  3.27k|        return true;
  889|  3.27k|      }
  890|  8.84k|    }
  891|       |    // Parse symbol variant
  892|   166k|    std::pair<StringRef, StringRef> Split;
  893|   166k|    if (!MAI.useParensForSymbolVariant()) {
  ------------------
  |  Branch (893:9): [True: 166k, False: 0]
  ------------------
  894|   166k|      if (FirstTokenKind == AsmToken::String) {
  ------------------
  |  Branch (894:11): [True: 320, False: 166k]
  ------------------
  895|    320|        if (Lexer.is(AsmToken::At)) {
  ------------------
  |  Branch (895:13): [True: 68, False: 252]
  ------------------
  896|     68|          Lexer.Lex(); // eat @
  897|       |          //SMLoc AtLoc = getLexer().getLoc();
  898|     68|          StringRef VName;
  899|     68|          if (parseIdentifier(VName)) {
  ------------------
  |  Branch (899:15): [True: 5, False: 63]
  ------------------
  900|       |            //return Error(AtLoc, "expected symbol variant after '@'");
  901|      5|            KsError = KS_ERR_ASM_INVALIDOPERAND;
  902|      5|            return true;
  903|      5|          }
  904|       |
  905|     63|          Split = std::make_pair(Identifier, VName);
  906|     63|        }
  907|   166k|      } else {
  908|   166k|        Split = Identifier.split('@');
  909|   166k|      }
  910|   166k|    } 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|   166k|    EndLoc = SMLoc::getFromPointer(Identifier.end());
  925|       |
  926|       |    // This is a symbol reference.
  927|   166k|    StringRef SymbolName = Identifier;
  928|   166k|    MCSymbolRefExpr::VariantKind Variant = MCSymbolRefExpr::VK_None;
  929|       |
  930|       |    // Lookup the symbol variant if used.
  931|   166k|    if (Split.second.size()) {
  ------------------
  |  Branch (931:9): [True: 14.9k, False: 151k]
  ------------------
  932|  14.9k|      Variant = MCSymbolRefExpr::getVariantKindForName(Split.second);
  933|  14.9k|      if (Variant != MCSymbolRefExpr::VK_Invalid) {
  ------------------
  |  Branch (933:11): [True: 7.42k, False: 7.52k]
  ------------------
  934|  7.42k|        SymbolName = Split.first;
  935|  7.52k|      } else if (MAI.doesAllowAtInName() && !MAI.useParensForSymbolVariant()) {
  ------------------
  |  Branch (935:18): [True: 0, False: 7.52k]
  |  Branch (935:45): [True: 0, False: 0]
  ------------------
  936|      0|        Variant = MCSymbolRefExpr::VK_None;
  937|  7.52k|      } else {
  938|       |        //return Error(SMLoc::getFromPointer(Split.second.begin()),
  939|       |        //             "invalid variant '" + Split.second + "'");
  940|  7.52k|        KsError = KS_ERR_ASM_INVALIDOPERAND;
  941|  7.52k|        return true;
  942|  7.52k|      }
  943|  14.9k|    }
  944|       |
  945|   158k|    if (SymbolName.empty()) {
  ------------------
  |  Branch (945:9): [True: 5.63k, False: 153k]
  ------------------
  946|  5.63k|        return true;
  947|  5.63k|    }
  948|   153k|    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|   153k|    if (Sym->isVariable() &&
  ------------------
  |  Branch (952:9): [True: 3.52k, False: 149k]
  |  Branch (952:9): [True: 568, False: 152k]
  ------------------
  953|  3.52k|        isa<MCConstantExpr>(Sym->getVariableValue(/*SetUsed*/ false))) {
  ------------------
  |  Branch (953:9): [True: 568, False: 2.95k]
  ------------------
  954|    568|      if (Variant) {
  ------------------
  |  Branch (954:11): [True: 69, False: 499]
  ------------------
  955|       |        //return Error(EndLoc, "unexpected modifier on variable reference");
  956|     69|        KsError = KS_ERR_ASM_INVALIDOPERAND;
  957|     69|        return true;
  958|     69|      }
  959|       |
  960|    499|      Res = Sym->getVariableValue(/*SetUsed*/ false);
  961|    499|      return false;
  962|    568|    }
  963|       |
  964|       |    // Otherwise create a symbol ref.
  965|   152k|    Res = MCSymbolRefExpr::create(Sym, Variant, getContext());
  966|   152k|    return false;
  967|   153k|  }
  968|  2.48k|  case AsmToken::BigNum:
  ------------------
  |  Branch (968:3): [True: 2.48k, False: 913k]
  ------------------
  969|       |    // return TokError("literal value out of range for directive");
  970|  2.48k|    KsError = KS_ERR_ASM_DIRECTIVE_VALUE_RANGE;
  971|  2.48k|    return true;
  972|   158k|  case AsmToken::Integer: {
  ------------------
  |  Branch (972:3): [True: 158k, False: 757k]
  ------------------
  973|       |    //SMLoc Loc = getTok().getLoc();
  974|   158k|    bool valid;
  975|   158k|    int64_t IntVal = getTok().getIntVal(valid);
  976|   158k|    if (!valid) {
  ------------------
  |  Branch (976:9): [True: 0, False: 158k]
  ------------------
  977|      0|        return true;
  978|      0|    }
  979|   158k|    Res = MCConstantExpr::create(IntVal, getContext());
  980|   158k|    EndLoc = Lexer.getTok().getEndLoc();
  981|   158k|    Lex(); // Eat token.
  982|       |    // Look for 'b' or 'f' following an Integer as a directional label
  983|   158k|    if (Lexer.getKind() == AsmToken::Identifier) {
  ------------------
  |  Branch (983:9): [True: 8.38k, False: 150k]
  ------------------
  984|  8.38k|      StringRef IDVal = getTok().getString();
  985|       |      // Lookup the symbol variant if used.
  986|  8.38k|      std::pair<StringRef, StringRef> Split = IDVal.split('@');
  987|  8.38k|      MCSymbolRefExpr::VariantKind Variant = MCSymbolRefExpr::VK_None;
  988|  8.38k|      if (Split.first.size() != IDVal.size()) {
  ------------------
  |  Branch (988:11): [True: 1.46k, False: 6.91k]
  ------------------
  989|  1.46k|        Variant = MCSymbolRefExpr::getVariantKindForName(Split.second);
  990|  1.46k|        if (Variant == MCSymbolRefExpr::VK_Invalid) {
  ------------------
  |  Branch (990:13): [True: 1.44k, False: 24]
  ------------------
  991|       |          // return TokError("invalid variant '" + Split.second + "'");
  992|  1.44k|          KsError = KS_ERR_ASM_VARIANT_INVALID;
  993|  1.44k|          return true;
  994|  1.44k|        }
  995|     24|        IDVal = Split.first;
  996|     24|      }
  997|  6.94k|      if (IDVal == "f" || IDVal == "b") {
  ------------------
  |  Branch (997:11): [True: 615, False: 6.32k]
  |  Branch (997:11): [True: 668, False: 6.27k]
  |  Branch (997:27): [True: 53, False: 6.27k]
  ------------------
  998|    668|        bool valid;
  999|    668|        MCSymbol *Sym =
 1000|    668|            Ctx.getDirectionalLocalSymbol(IntVal, IDVal == "b", valid);
 1001|    668|        if (!valid)
  ------------------
  |  Branch (1001:13): [True: 668, False: 0]
  ------------------
 1002|    668|            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|  6.94k|    }
 1013|   156k|    return false;
 1014|   158k|  }
 1015|  26.8k|  case AsmToken::Real: {
  ------------------
  |  Branch (1015:3): [True: 26.8k, False: 888k]
  ------------------
 1016|  26.8k|    APFloat RealVal(APFloat::IEEEdouble, getTok().getString());
 1017|  26.8k|    uint64_t IntVal = RealVal.bitcastToAPInt().getZExtValue();
 1018|  26.8k|    Res = MCConstantExpr::create(IntVal, getContext());
 1019|  26.8k|    EndLoc = Lexer.getTok().getEndLoc();
 1020|  26.8k|    Lex(); // Eat token.
 1021|  26.8k|    return false;
 1022|   158k|  }
 1023|  61.6k|  case AsmToken::Dot: {
  ------------------
  |  Branch (1023:3): [True: 61.6k, False: 854k]
  ------------------
 1024|       |    // This is a '.' reference, which references the current PC.  Emit a
 1025|       |    // temporary label to the streamer and refer to it.
 1026|  61.6k|    MCSymbol *Sym = Ctx.createTempSymbol();
 1027|  61.6k|    Out.EmitLabel(Sym);
 1028|  61.6k|    Res = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None, getContext());
 1029|  61.6k|    EndLoc = Lexer.getTok().getEndLoc();
 1030|  61.6k|    Lex(); // Eat identifier.
 1031|  61.6k|    return false;
 1032|   158k|  }
 1033|   112k|  case AsmToken::LParen:
  ------------------
  |  Branch (1033:3): [True: 112k, False: 803k]
  ------------------
 1034|   112k|    Lex(); // Eat the '('.
 1035|   112k|    return parseParenExpr(Res, EndLoc);
 1036|  1.00k|  case AsmToken::LBrac:
  ------------------
  |  Branch (1036:3): [True: 1.00k, False: 914k]
  ------------------
 1037|  1.00k|    if (!PlatformParser->HasBracketExpressions()) {
  ------------------
  |  Branch (1037:9): [True: 1.00k, False: 0]
  ------------------
 1038|       |      // return TokError("brackets expression not supported on this target");
 1039|  1.00k|      KsError = KS_ERR_ASM_EXPR_BRACKET;
 1040|  1.00k|      return true;
 1041|  1.00k|    }
 1042|      0|    Lex(); // Eat the '['.
 1043|      0|    return parseBracketExpr(Res, EndLoc);
 1044|   141k|  case AsmToken::Minus:
  ------------------
  |  Branch (1044:3): [True: 141k, False: 774k]
  ------------------
 1045|   141k|    Lex(); // Eat the operator.
 1046|   141k|    if (parsePrimaryExprAux(Res, EndLoc, depth+1))
  ------------------
  |  Branch (1046:9): [True: 51.8k, False: 89.5k]
  ------------------
 1047|  51.8k|      return true;
 1048|  89.5k|    Res = MCUnaryExpr::createMinus(Res, getContext());
 1049|  89.5k|    return false;
 1050|  14.4k|  case AsmToken::Plus:
  ------------------
  |  Branch (1050:3): [True: 14.4k, False: 901k]
  ------------------
 1051|  14.4k|    Lex(); // Eat the operator.
 1052|  14.4k|    if (parsePrimaryExprAux(Res, EndLoc, depth+1))
  ------------------
  |  Branch (1052:9): [True: 3.82k, False: 10.5k]
  ------------------
 1053|  3.82k|      return true;
 1054|  10.5k|    Res = MCUnaryExpr::createPlus(Res, getContext());
 1055|  10.5k|    return false;
 1056|  3.30k|  case AsmToken::Tilde:
  ------------------
  |  Branch (1056:3): [True: 3.30k, False: 912k]
  ------------------
 1057|  3.30k|    Lex(); // Eat the operator.
 1058|  3.30k|    if (parsePrimaryExprAux(Res, EndLoc, depth+1))
  ------------------
  |  Branch (1058:9): [True: 2.21k, False: 1.09k]
  ------------------
 1059|  2.21k|      return true;
 1060|  1.09k|    Res = MCUnaryExpr::createNot(Res, getContext());
 1061|  1.09k|    return false;
 1062|   915k|  }
 1063|   915k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser14parseParenExprERPKN7llvm_ks6MCExprERNS1_5SMLocE:
  818|   112k|bool AsmParser::parseParenExpr(const MCExpr *&Res, SMLoc &EndLoc) {
  819|   112k|  if (parseExpression(Res))
  ------------------
  |  Branch (819:7): [True: 108k, False: 3.77k]
  ------------------
  820|   108k|    return true;
  821|  3.77k|  if (Lexer.isNot(AsmToken::RParen))
  ------------------
  |  Branch (821:7): [True: 3.52k, False: 241]
  ------------------
  822|       |    //return TokError("expected ')' in parentheses expression");
  823|  3.52k|    return true;
  824|    241|  EndLoc = Lexer.getTok().getEndLoc();
  825|    241|  Lex();
  826|    241|  return false;
  827|  3.77k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser20parseParenExpressionERPKN7llvm_ks6MCExprERNS1_5SMLocE:
 1191|      9|bool AsmParser::parseParenExpression(const MCExpr *&Res, SMLoc &EndLoc) {
 1192|      9|  Res = nullptr;
 1193|      9|  return parseParenExpr(Res, EndLoc) || parseBinOpRHS(1, Res, EndLoc);
  ------------------
  |  Branch (1193:10): [True: 3, False: 6]
  |  Branch (1193:41): [True: 0, False: 6]
  ------------------
 1194|      9|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser23parseAbsoluteExpressionERl:
 1220|  40.9k|bool AsmParser::parseAbsoluteExpression(int64_t &Res) {
 1221|  40.9k|  const MCExpr *Expr;
 1222|       |
 1223|       |  //SMLoc StartLoc = Lexer.getLoc();
 1224|  40.9k|  if (parseExpression(Expr))
  ------------------
  |  Branch (1224:7): [True: 2.97k, False: 37.9k]
  ------------------
 1225|  2.97k|    return true;
 1226|       |
 1227|  37.9k|  if (!Expr->evaluateAsAbsolute(Res)) {
  ------------------
  |  Branch (1227:7): [True: 4.56k, False: 33.4k]
  ------------------
 1228|       |    //return Error(StartLoc, "expected absolute expression");
 1229|  4.56k|    KsError = KS_ERR_ASM_INVALIDOPERAND;
 1230|  4.56k|    return true;
 1231|  4.56k|  }
 1232|       |
 1233|  33.4k|  return false;
 1234|  37.9k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser20checkForValidSectionEv:
  772|   160k|{
  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|   160k|}
AsmParser.cpp:_ZN12_GLOBAL__N_19AsmParser26initializeDirectiveKindMapEi:
 5356|  12.6k|{
 5357|  12.6k|    KsSyntax = syntax;
 5358|  12.6k|    if (syntax == KS_OPT_SYNTAX_NASM) {
  ------------------
  |  Branch (5358:9): [True: 0, False: 12.6k]
  ------------------
 5359|       |        // NASM syntax
 5360|      0|        DirectiveKindMap.clear();
 5361|      0|        DirectiveKindMap["db"] = DK_BYTE;
 5362|      0|        DirectiveKindMap["dw"] = DK_SHORT;
 5363|      0|        DirectiveKindMap["dd"] = DK_INT;
 5364|      0|        DirectiveKindMap["dq"] = DK_QUAD;
 5365|      0|        DirectiveKindMap["use16"] = DK_CODE16;
 5366|      0|        DirectiveKindMap["use32"] = DK_NASM_USE32;
 5367|      0|        DirectiveKindMap["global"] = DK_GLOBAL;
 5368|      0|        DirectiveKindMap["bits"] = DK_NASM_BITS;
 5369|      0|        DirectiveKindMap["default"] = DK_NASM_DEFAULT;
 5370|  12.6k|    } else {
 5371|       |        // default LLVM syntax
 5372|  12.6k|        DirectiveKindMap.clear();
 5373|  12.6k|        DirectiveKindMap[".set"] = DK_SET;
 5374|  12.6k|        DirectiveKindMap[".equ"] = DK_EQU;
 5375|  12.6k|        DirectiveKindMap[".equiv"] = DK_EQUIV;
 5376|  12.6k|        DirectiveKindMap[".ascii"] = DK_ASCII;
 5377|  12.6k|        DirectiveKindMap[".asciz"] = DK_ASCIZ;
 5378|  12.6k|        DirectiveKindMap[".string"] = DK_STRING;
 5379|  12.6k|        DirectiveKindMap[".byte"] = DK_BYTE;
 5380|  12.6k|        DirectiveKindMap[".short"] = DK_SHORT;
 5381|  12.6k|        DirectiveKindMap[".value"] = DK_VALUE;
 5382|  12.6k|        DirectiveKindMap[".2byte"] = DK_2BYTE;
 5383|  12.6k|        DirectiveKindMap[".long"] = DK_LONG;
 5384|  12.6k|        DirectiveKindMap[".int"] = DK_INT;
 5385|  12.6k|        DirectiveKindMap[".4byte"] = DK_4BYTE;
 5386|  12.6k|        DirectiveKindMap[".quad"] = DK_QUAD;
 5387|  12.6k|        DirectiveKindMap[".8byte"] = DK_8BYTE;
 5388|  12.6k|        DirectiveKindMap[".octa"] = DK_OCTA;
 5389|  12.6k|        DirectiveKindMap[".single"] = DK_SINGLE;
 5390|  12.6k|        DirectiveKindMap[".float"] = DK_FLOAT;
 5391|  12.6k|        DirectiveKindMap[".double"] = DK_DOUBLE;
 5392|  12.6k|        DirectiveKindMap[".align"] = DK_ALIGN;
 5393|  12.6k|        DirectiveKindMap[".align32"] = DK_ALIGN32;
 5394|  12.6k|        DirectiveKindMap[".balign"] = DK_BALIGN;
 5395|  12.6k|        DirectiveKindMap[".balignw"] = DK_BALIGNW;
 5396|  12.6k|        DirectiveKindMap[".balignl"] = DK_BALIGNL;
 5397|  12.6k|        DirectiveKindMap[".p2align"] = DK_P2ALIGN;
 5398|  12.6k|        DirectiveKindMap[".p2alignw"] = DK_P2ALIGNW;
 5399|  12.6k|        DirectiveKindMap[".p2alignl"] = DK_P2ALIGNL;
 5400|  12.6k|        DirectiveKindMap[".org"] = DK_ORG;
 5401|  12.6k|        DirectiveKindMap[".fill"] = DK_FILL;
 5402|  12.6k|        DirectiveKindMap[".zero"] = DK_ZERO;
 5403|  12.6k|        DirectiveKindMap[".extern"] = DK_EXTERN;
 5404|  12.6k|        DirectiveKindMap[".globl"] = DK_GLOBL;
 5405|  12.6k|        DirectiveKindMap[".global"] = DK_GLOBAL;
 5406|  12.6k|        DirectiveKindMap[".lazy_reference"] = DK_LAZY_REFERENCE;
 5407|  12.6k|        DirectiveKindMap[".no_dead_strip"] = DK_NO_DEAD_STRIP;
 5408|  12.6k|        DirectiveKindMap[".symbol_resolver"] = DK_SYMBOL_RESOLVER;
 5409|  12.6k|        DirectiveKindMap[".private_extern"] = DK_PRIVATE_EXTERN;
 5410|  12.6k|        DirectiveKindMap[".reference"] = DK_REFERENCE;
 5411|  12.6k|        DirectiveKindMap[".weak_definition"] = DK_WEAK_DEFINITION;
 5412|  12.6k|        DirectiveKindMap[".weak_reference"] = DK_WEAK_REFERENCE;
 5413|  12.6k|        DirectiveKindMap[".weak_def_can_be_hidden"] = DK_WEAK_DEF_CAN_BE_HIDDEN;
 5414|  12.6k|        DirectiveKindMap[".comm"] = DK_COMM;
 5415|  12.6k|        DirectiveKindMap[".common"] = DK_COMMON;
 5416|  12.6k|        DirectiveKindMap[".lcomm"] = DK_LCOMM;
 5417|  12.6k|        DirectiveKindMap[".abort"] = DK_ABORT;
 5418|  12.6k|        DirectiveKindMap[".include"] = DK_INCLUDE;
 5419|  12.6k|        DirectiveKindMap[".incbin"] = DK_INCBIN;
 5420|  12.6k|        DirectiveKindMap[".code16"] = DK_CODE16;
 5421|  12.6k|        DirectiveKindMap[".code16gcc"] = DK_CODE16GCC;
 5422|  12.6k|        DirectiveKindMap[".rept"] = DK_REPT;
 5423|  12.6k|        DirectiveKindMap[".rep"] = DK_REPT;
 5424|  12.6k|        DirectiveKindMap[".irp"] = DK_IRP;
 5425|  12.6k|        DirectiveKindMap[".irpc"] = DK_IRPC;
 5426|  12.6k|        DirectiveKindMap[".endr"] = DK_ENDR;
 5427|  12.6k|        DirectiveKindMap[".bundle_align_mode"] = DK_BUNDLE_ALIGN_MODE;
 5428|  12.6k|        DirectiveKindMap[".bundle_lock"] = DK_BUNDLE_LOCK;
 5429|  12.6k|        DirectiveKindMap[".bundle_unlock"] = DK_BUNDLE_UNLOCK;
 5430|  12.6k|        DirectiveKindMap[".if"] = DK_IF;
 5431|  12.6k|        DirectiveKindMap[".ifeq"] = DK_IFEQ;
 5432|  12.6k|        DirectiveKindMap[".ifge"] = DK_IFGE;
 5433|  12.6k|        DirectiveKindMap[".ifgt"] = DK_IFGT;
 5434|  12.6k|        DirectiveKindMap[".ifle"] = DK_IFLE;
 5435|  12.6k|        DirectiveKindMap[".iflt"] = DK_IFLT;
 5436|  12.6k|        DirectiveKindMap[".ifne"] = DK_IFNE;
 5437|  12.6k|        DirectiveKindMap[".ifb"] = DK_IFB;
 5438|  12.6k|        DirectiveKindMap[".ifnb"] = DK_IFNB;
 5439|  12.6k|        DirectiveKindMap[".ifc"] = DK_IFC;
 5440|  12.6k|        DirectiveKindMap[".ifeqs"] = DK_IFEQS;
 5441|  12.6k|        DirectiveKindMap[".ifnc"] = DK_IFNC;
 5442|  12.6k|        DirectiveKindMap[".ifnes"] = DK_IFNES;
 5443|  12.6k|        DirectiveKindMap[".ifdef"] = DK_IFDEF;
 5444|  12.6k|        DirectiveKindMap[".ifndef"] = DK_IFNDEF;
 5445|  12.6k|        DirectiveKindMap[".ifnotdef"] = DK_IFNOTDEF;
 5446|  12.6k|        DirectiveKindMap[".elseif"] = DK_ELSEIF;
 5447|  12.6k|        DirectiveKindMap[".else"] = DK_ELSE;
 5448|  12.6k|        DirectiveKindMap[".end"] = DK_END;
 5449|  12.6k|        DirectiveKindMap[".endif"] = DK_ENDIF;
 5450|  12.6k|        DirectiveKindMap[".skip"] = DK_SKIP;
 5451|  12.6k|        DirectiveKindMap[".space"] = DK_SPACE;
 5452|  12.6k|        DirectiveKindMap[".file"] = DK_FILE;
 5453|  12.6k|        DirectiveKindMap[".line"] = DK_LINE;
 5454|  12.6k|        DirectiveKindMap[".loc"] = DK_LOC;
 5455|  12.6k|        DirectiveKindMap[".stabs"] = DK_STABS;
 5456|  12.6k|        DirectiveKindMap[".cv_file"] = DK_CV_FILE;
 5457|  12.6k|        DirectiveKindMap[".cv_loc"] = DK_CV_LOC;
 5458|  12.6k|        DirectiveKindMap[".cv_linetable"] = DK_CV_LINETABLE;
 5459|  12.6k|        DirectiveKindMap[".cv_inline_linetable"] = DK_CV_INLINE_LINETABLE;
 5460|  12.6k|        DirectiveKindMap[".cv_stringtable"] = DK_CV_STRINGTABLE;
 5461|  12.6k|        DirectiveKindMap[".cv_filechecksums"] = DK_CV_FILECHECKSUMS;
 5462|  12.6k|        DirectiveKindMap[".sleb128"] = DK_SLEB128;
 5463|  12.6k|        DirectiveKindMap[".uleb128"] = DK_ULEB128;
 5464|  12.6k|        DirectiveKindMap[".cfi_sections"] = DK_CFI_SECTIONS;
 5465|  12.6k|        DirectiveKindMap[".cfi_startproc"] = DK_CFI_STARTPROC;
 5466|  12.6k|        DirectiveKindMap[".cfi_endproc"] = DK_CFI_ENDPROC;
 5467|  12.6k|        DirectiveKindMap[".cfi_def_cfa"] = DK_CFI_DEF_CFA;
 5468|  12.6k|        DirectiveKindMap[".cfi_def_cfa_offset"] = DK_CFI_DEF_CFA_OFFSET;
 5469|  12.6k|        DirectiveKindMap[".cfi_adjust_cfa_offset"] = DK_CFI_ADJUST_CFA_OFFSET;
 5470|  12.6k|        DirectiveKindMap[".cfi_def_cfa_register"] = DK_CFI_DEF_CFA_REGISTER;
 5471|  12.6k|        DirectiveKindMap[".cfi_offset"] = DK_CFI_OFFSET;
 5472|  12.6k|        DirectiveKindMap[".cfi_rel_offset"] = DK_CFI_REL_OFFSET;
 5473|  12.6k|        DirectiveKindMap[".cfi_personality"] = DK_CFI_PERSONALITY;
 5474|  12.6k|        DirectiveKindMap[".cfi_lsda"] = DK_CFI_LSDA;
 5475|  12.6k|        DirectiveKindMap[".cfi_remember_state"] = DK_CFI_REMEMBER_STATE;
 5476|  12.6k|        DirectiveKindMap[".cfi_restore_state"] = DK_CFI_RESTORE_STATE;
 5477|  12.6k|        DirectiveKindMap[".cfi_same_value"] = DK_CFI_SAME_VALUE;
 5478|  12.6k|        DirectiveKindMap[".cfi_restore"] = DK_CFI_RESTORE;
 5479|  12.6k|        DirectiveKindMap[".cfi_escape"] = DK_CFI_ESCAPE;
 5480|  12.6k|        DirectiveKindMap[".cfi_signal_frame"] = DK_CFI_SIGNAL_FRAME;
 5481|  12.6k|        DirectiveKindMap[".cfi_undefined"] = DK_CFI_UNDEFINED;
 5482|  12.6k|        DirectiveKindMap[".cfi_register"] = DK_CFI_REGISTER;
 5483|  12.6k|        DirectiveKindMap[".cfi_window_save"] = DK_CFI_WINDOW_SAVE;
 5484|  12.6k|        DirectiveKindMap[".macros_on"] = DK_MACROS_ON;
 5485|  12.6k|        DirectiveKindMap[".macros_off"] = DK_MACROS_OFF;
 5486|  12.6k|        DirectiveKindMap[".macro"] = DK_MACRO;
 5487|  12.6k|        DirectiveKindMap[".exitm"] = DK_EXITM;
 5488|  12.6k|        DirectiveKindMap[".endm"] = DK_ENDM;
 5489|  12.6k|        DirectiveKindMap[".endmacro"] = DK_ENDMACRO;
 5490|  12.6k|        DirectiveKindMap[".purgem"] = DK_PURGEM;
 5491|  12.6k|        DirectiveKindMap[".err"] = DK_ERR;
 5492|  12.6k|        DirectiveKindMap[".error"] = DK_ERROR;
 5493|  12.6k|        DirectiveKindMap[".warning"] = DK_WARNING;
 5494|  12.6k|        DirectiveKindMap[".reloc"] = DK_RELOC;
 5495|  12.6k|    }
 5496|  12.6k|}

_ZN7llvm_ks21createDarwinAsmParserEv:
  964|  12.6k|MCAsmParserExtension *createDarwinAsmParser() {
  965|  12.6k|  return new DarwinAsmParser;
  966|  12.6k|}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParserC2Ev:
   47|  12.6k|  DarwinAsmParser() {}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser10InitializeERN7llvm_ks11MCAsmParserE:
   49|  12.6k|  void Initialize(MCAsmParser &Parser) override {
   50|       |    // Call the base implementation.
   51|  12.6k|    this->MCAsmParserExtension::Initialize(Parser);
   52|       |
   53|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveDesc>(".desc");
   54|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveIndirectSymbol>(
   55|  12.6k|      ".indirect_symbol");
   56|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveLsym>(".lsym");
   57|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveSubsectionsViaSymbols>(
   58|  12.6k|      ".subsections_via_symbols");
   59|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveDumpOrLoad>(".dump");
   60|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveDumpOrLoad>(".load");
   61|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveSection>(".section");
   62|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectivePushSection>(
   63|  12.6k|      ".pushsection");
   64|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectivePopSection>(
   65|  12.6k|      ".popsection");
   66|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectivePrevious>(".previous");
   67|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveSecureLogUnique>(
   68|  12.6k|      ".secure_log_unique");
   69|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveSecureLogReset>(
   70|  12.6k|      ".secure_log_reset");
   71|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveTBSS>(".tbss");
   72|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveZerofill>(".zerofill");
   73|       |
   74|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveDataRegion>(
   75|  12.6k|      ".data_region");
   76|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveDataRegionEnd>(
   77|  12.6k|      ".end_data_region");
   78|       |
   79|       |    // Special section directives.
   80|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveBss>(".bss");
   81|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveConst>(".const");
   82|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveConstData>(
   83|  12.6k|      ".const_data");
   84|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveConstructor>(
   85|  12.6k|      ".constructor");
   86|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveCString>(
   87|  12.6k|      ".cstring");
   88|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveData>(".data");
   89|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveDestructor>(
   90|  12.6k|      ".destructor");
   91|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveDyld>(".dyld");
   92|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveFVMLibInit0>(
   93|  12.6k|      ".fvmlib_init0");
   94|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveFVMLibInit1>(
   95|  12.6k|      ".fvmlib_init1");
   96|  12.6k|    addDirectiveHandler<
   97|  12.6k|      &DarwinAsmParser::parseSectionDirectiveLazySymbolPointers>(
   98|  12.6k|        ".lazy_symbol_pointer");
   99|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseDirectiveLinkerOption>(
  100|  12.6k|      ".linker_option");
  101|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveLiteral16>(
  102|  12.6k|      ".literal16");
  103|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveLiteral4>(
  104|  12.6k|      ".literal4");
  105|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveLiteral8>(
  106|  12.6k|      ".literal8");
  107|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveModInitFunc>(
  108|  12.6k|      ".mod_init_func");
  109|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveModTermFunc>(
  110|  12.6k|      ".mod_term_func");
  111|  12.6k|    addDirectiveHandler<
  112|  12.6k|      &DarwinAsmParser::parseSectionDirectiveNonLazySymbolPointers>(
  113|  12.6k|        ".non_lazy_symbol_pointer");
  114|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCCatClsMeth>(
  115|  12.6k|      ".objc_cat_cls_meth");
  116|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCCatInstMeth>(
  117|  12.6k|      ".objc_cat_inst_meth");
  118|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCCategory>(
  119|  12.6k|      ".objc_category");
  120|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCClass>(
  121|  12.6k|      ".objc_class");
  122|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCClassNames>(
  123|  12.6k|      ".objc_class_names");
  124|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCClassVars>(
  125|  12.6k|      ".objc_class_vars");
  126|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCClsMeth>(
  127|  12.6k|      ".objc_cls_meth");
  128|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCClsRefs>(
  129|  12.6k|      ".objc_cls_refs");
  130|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCInstMeth>(
  131|  12.6k|      ".objc_inst_meth");
  132|  12.6k|    addDirectiveHandler<
  133|  12.6k|      &DarwinAsmParser::parseSectionDirectiveObjCInstanceVars>(
  134|  12.6k|        ".objc_instance_vars");
  135|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCMessageRefs>(
  136|  12.6k|      ".objc_message_refs");
  137|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCMetaClass>(
  138|  12.6k|      ".objc_meta_class");
  139|  12.6k|    addDirectiveHandler<
  140|  12.6k|      &DarwinAsmParser::parseSectionDirectiveObjCMethVarNames>(
  141|  12.6k|        ".objc_meth_var_names");
  142|  12.6k|    addDirectiveHandler<
  143|  12.6k|      &DarwinAsmParser::parseSectionDirectiveObjCMethVarTypes>(
  144|  12.6k|        ".objc_meth_var_types");
  145|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCModuleInfo>(
  146|  12.6k|      ".objc_module_info");
  147|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCProtocol>(
  148|  12.6k|      ".objc_protocol");
  149|  12.6k|    addDirectiveHandler<
  150|  12.6k|      &DarwinAsmParser::parseSectionDirectiveObjCSelectorStrs>(
  151|  12.6k|        ".objc_selector_strs");
  152|  12.6k|    addDirectiveHandler<
  153|  12.6k|      &DarwinAsmParser::parseSectionDirectiveObjCStringObject>(
  154|  12.6k|        ".objc_string_object");
  155|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveObjCSymbols>(
  156|  12.6k|      ".objc_symbols");
  157|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectivePICSymbolStub>(
  158|  12.6k|      ".picsymbol_stub");
  159|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveStaticConst>(
  160|  12.6k|      ".static_const");
  161|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveStaticData>(
  162|  12.6k|      ".static_data");
  163|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveSymbolStub>(
  164|  12.6k|      ".symbol_stub");
  165|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveTData>(".tdata");
  166|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveText>(".text");
  167|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveThreadInitFunc>(
  168|  12.6k|      ".thread_init_func");
  169|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveTLV>(".tlv");
  170|       |
  171|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseSectionDirectiveIdent>(".ident");
  172|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseVersionMin>(
  173|  12.6k|      ".watchos_version_min");
  174|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseVersionMin>(".tvos_version_min");
  175|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseVersionMin>(".ios_version_min");
  176|  12.6k|    addDirectiveHandler<&DarwinAsmParser::parseVersionMin>(
  177|  12.6k|      ".macosx_version_min");
  178|       |
  179|  12.6k|    LastVersionMinDirective = SMLoc();
  180|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_18parseDirectiveDescEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser18parseDirectiveDescEN7llvm_ks9StringRefENS1_5SMLocE:
  413|     29|bool DarwinAsmParser::parseDirectiveDesc(StringRef, SMLoc) {
  414|     29|  StringRef Name;
  415|     29|  if (getParser().parseIdentifier(Name))
  ------------------
  |  Branch (415:7): [True: 13, False: 16]
  ------------------
  416|     13|    return TokError("expected identifier in directive");
  417|       |
  418|       |  // Handle the identifier as the key symbol.
  419|     16|  MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  420|       |
  421|     16|  if (getLexer().isNot(AsmToken::Comma))
  ------------------
  |  Branch (421:7): [True: 3, False: 13]
  ------------------
  422|      3|    return TokError("unexpected token in '.desc' directive");
  423|     13|  Lex();
  424|       |
  425|     13|  int64_t DescValue;
  426|     13|  if (getParser().parseAbsoluteExpression(DescValue))
  ------------------
  |  Branch (426:7): [True: 11, False: 2]
  ------------------
  427|     11|    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|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_18parseDirectiveLsymEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser18parseDirectiveLsymEN7llvm_ks9StringRefENS1_5SMLocE:
  525|     31|bool DarwinAsmParser::parseDirectiveLsym(StringRef, SMLoc) {
  526|     31|  StringRef Name;
  527|     31|  if (getParser().parseIdentifier(Name))
  ------------------
  |  Branch (527:7): [True: 13, False: 18]
  ------------------
  528|     13|    return TokError("expected identifier in directive");
  529|       |
  530|       |  // Handle the identifier as the key symbol.
  531|     18|  MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  532|       |
  533|     18|  if (getLexer().isNot(AsmToken::Comma))
  ------------------
  |  Branch (533:7): [True: 4, False: 14]
  ------------------
  534|      4|    return TokError("unexpected token in '.lsym' directive");
  535|     14|  Lex();
  536|       |
  537|     14|  const MCExpr *Value;
  538|     14|  if (getParser().parseExpression(Value))
  ------------------
  |  Branch (538:7): [True: 11, False: 3]
  ------------------
  539|     11|    return true;
  540|       |
  541|      3|  if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (541:7): [True: 1, False: 2]
  ------------------
  542|      1|    return TokError("unexpected token in '.lsym' directive");
  543|       |
  544|      2|  Lex();
  545|       |
  546|       |  // We don't currently support this directive.
  547|       |  //
  548|       |  // FIXME: Diagnostic location!
  549|      2|  (void) Sym;
  550|      2|  return TokError("directive '.lsym' is unsupported");
  551|      3|}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_35parseDirectiveSubsectionsViaSymbolsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_24parseDirectiveDumpOrLoadEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  25.3k|  void addDirectiveHandler(StringRef Directive) {
   35|  25.3k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  25.3k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  25.3k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  25.3k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser24parseDirectiveDumpOrLoadEN7llvm_ks9StringRefENS1_5SMLocE:
  476|    645|                                               SMLoc IDLoc) {
  477|    645|  bool IsDump = Directive == ".dump";
  478|    645|  if (getLexer().isNot(AsmToken::String))
  ------------------
  |  Branch (478:7): [True: 2, False: 643]
  ------------------
  479|      2|    return TokError("expected string in '.dump' or '.load' directive");
  480|       |
  481|    643|  Lex();
  482|       |
  483|    643|  if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (483:7): [True: 3, False: 640]
  ------------------
  484|      3|    return TokError("unexpected token in '.dump' or '.load' directive");
  485|       |
  486|    640|  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|    640|  if (IsDump)
  ------------------
  |  Branch (490:7): [True: 476, False: 164]
  ------------------
  491|    476|    return Warning(IDLoc, "ignoring directive .dump for now");
  492|    164|  else
  493|    164|    return Warning(IDLoc, "ignoring directive .load for now");
  494|    640|}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_21parseDirectiveSectionEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser21parseDirectiveSectionEN7llvm_ks9StringRefENS1_5SMLocE:
  555|  8.55k|bool DarwinAsmParser::parseDirectiveSection(StringRef, SMLoc) {
  556|  8.55k|  SMLoc Loc = getLexer().getLoc();
  557|       |
  558|  8.55k|  StringRef SectionName;
  559|  8.55k|  if (getParser().parseIdentifier(SectionName))
  ------------------
  |  Branch (559:7): [True: 10, False: 8.54k]
  ------------------
  560|     10|    return Error(Loc, "expected identifier after '.section' directive");
  561|       |
  562|       |  // Verify there is a following comma.
  563|  8.54k|  if (!getLexer().is(AsmToken::Comma))
  ------------------
  |  Branch (563:7): [True: 6, False: 8.53k]
  ------------------
  564|      6|    return TokError("unexpected token in '.section' directive");
  565|       |
  566|  8.53k|  std::string SectionSpec = SectionName;
  567|  8.53k|  SectionSpec += ",";
  568|       |
  569|       |  // Add all the tokens until the end of the line, ParseSectionSpecifier will
  570|       |  // handle this.
  571|  8.53k|  StringRef EOL = getLexer().LexUntilEndOfStatement();
  572|  8.53k|  SectionSpec.append(EOL.begin(), EOL.end());
  573|       |
  574|  8.53k|  Lex();
  575|  8.53k|  if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (575:7): [True: 2, False: 8.53k]
  ------------------
  576|      2|    return TokError("unexpected token in '.section' directive");
  577|  8.53k|  Lex();
  578|       |
  579|       |
  580|  8.53k|  StringRef Segment, Section;
  581|  8.53k|  unsigned StubSize;
  582|  8.53k|  unsigned TAA;
  583|  8.53k|  bool TAAParsed;
  584|  8.53k|  std::string ErrorStr =
  585|  8.53k|    MCSectionMachO::ParseSectionSpecifier(SectionSpec, Segment, Section,
  586|  8.53k|                                          TAA, TAAParsed, StubSize);
  587|       |
  588|  8.53k|  if (!ErrorStr.empty())
  ------------------
  |  Branch (588:7): [True: 107, False: 8.42k]
  ------------------
  589|    107|    return Error(Loc, ErrorStr.c_str());
  590|       |
  591|       |  // Issue a warning if the target is not powerpc and Section is a *coal* section.
  592|  8.42k|  Triple TT = getParser().getContext().getObjectFileInfo()->getTargetTriple();
  593|  8.42k|  Triple::ArchType ArchTy = TT.getArch();
  594|       |
  595|  8.42k|  if (ArchTy != Triple::ppc && ArchTy != Triple::ppc64) {
  ------------------
  |  Branch (595:7): [True: 8.42k, False: 0]
  |  Branch (595:32): [True: 8.42k, False: 0]
  ------------------
  596|  8.42k|    StringRef NonCoalSection = StringSwitch<StringRef>(Section)
  597|  8.42k|                                   .Case("__textcoal_nt", "__text")
  598|  8.42k|                                   .Case("__const_coal", "__const")
  599|  8.42k|                                   .Case("__datacoal_nt", "__data")
  600|  8.42k|                                   .Default(Section);
  601|       |
  602|  8.42k|    if (!Section.equals(NonCoalSection)) {
  ------------------
  |  Branch (602:9): [True: 14, False: 8.41k]
  ------------------
  603|     14|      StringRef SectionVal(Loc.getPointer());
  604|     14|      size_t B = SectionVal.find(',') + 1, E = SectionVal.find(',', B);
  605|     14|      SMLoc BLoc = SMLoc::getFromPointer(SectionVal.data() + B);
  606|     14|      SMLoc ELoc = SMLoc::getFromPointer(SectionVal.data() + E);
  607|     14|      getParser().Warning(Loc, "section \"" + Section + "\" is deprecated",
  608|     14|                          SMRange(BLoc, ELoc));
  609|     14|      getParser().Note(Loc, "change section name to \"" + NonCoalSection +
  610|     14|                       "\"", SMRange(BLoc, ELoc));
  611|     14|    }
  612|  8.42k|  }
  613|       |
  614|       |  // FIXME: Arch specific.
  615|  8.42k|  bool isText = Segment == "__TEXT";  // FIXME: Hack.
  616|  8.42k|  getStreamer().SwitchSection(getContext().getMachOSection(
  617|  8.42k|      Segment, Section, TAA, StubSize,
  618|  8.42k|      isText ? SectionKind::getText() : SectionKind::getData()));
  ------------------
  |  Branch (618:7): [True: 0, False: 8.42k]
  ------------------
  619|  8.42k|  return false;
  620|  8.53k|}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_25parseDirectivePushSectionEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_24parseDirectivePopSectionEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_22parseDirectivePreviousEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_29parseDirectiveSecureLogUniqueEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_28parseDirectiveSecureLogResetEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_18parseDirectiveTBSSEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser18parseDirectiveTBSSEN7llvm_ks9StringRefENS1_5SMLocE:
  721|    232|bool DarwinAsmParser::parseDirectiveTBSS(StringRef, SMLoc) {
  722|    232|  SMLoc IDLoc = getLexer().getLoc();
  723|    232|  StringRef Name;
  724|    232|  if (getParser().parseIdentifier(Name))
  ------------------
  |  Branch (724:7): [True: 89, False: 143]
  ------------------
  725|     89|    return TokError("expected identifier in directive");
  726|       |
  727|       |  // Handle the identifier as the key symbol.
  728|    143|  MCSymbol *Sym = getContext().getOrCreateSymbol(Name);
  729|       |
  730|    143|  if (getLexer().isNot(AsmToken::Comma))
  ------------------
  |  Branch (730:7): [True: 7, False: 136]
  ------------------
  731|      7|    return TokError("unexpected token in directive");
  732|    136|  Lex();
  733|       |
  734|    136|  int64_t Size;
  735|    136|  SMLoc SizeLoc = getLexer().getLoc();
  736|    136|  if (getParser().parseAbsoluteExpression(Size))
  ------------------
  |  Branch (736:7): [True: 19, False: 117]
  ------------------
  737|     19|    return true;
  738|       |
  739|    117|  int64_t Pow2Alignment = 0;
  740|    117|  SMLoc Pow2AlignmentLoc;
  741|    117|  if (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (741:7): [True: 63, False: 54]
  ------------------
  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|    111|  if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (748:7): [True: 4, False: 107]
  ------------------
  749|      4|    return TokError("unexpected token in '.tbss' directive");
  750|       |
  751|    107|  Lex();
  752|       |
  753|    107|  if (Size < 0)
  ------------------
  |  Branch (753:7): [True: 51, False: 56]
  ------------------
  754|     51|    return Error(SizeLoc, "invalid '.tbss' directive size, can't be less than"
  755|     51|                 "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|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_24parseDirectiveDataRegionEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_27parseDirectiveDataRegionEndEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_24parseSectionDirectiveBssEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser24parseSectionDirectiveBssEN7llvm_ks9StringRefENS1_5SMLocE:
  200|    326|  bool parseSectionDirectiveBss(StringRef, SMLoc) {
  201|    326|    return parseSectionSwitch("__DATA", "__bss");
  202|    326|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser18parseSectionSwitchEPKcS2_jjj:
  386|  1.04k|                                         unsigned StubSize) {
  387|  1.04k|  if (getLexer().isNot(AsmToken::EndOfStatement))
  ------------------
  |  Branch (387:7): [True: 10, False: 1.03k]
  ------------------
  388|     10|    return TokError("unexpected token in section switching directive");
  389|  1.03k|  Lex();
  390|       |
  391|       |  // FIXME: Arch specific.
  392|  1.03k|  bool isText = TAA & MachO::S_ATTR_PURE_INSTRUCTIONS;
  393|  1.03k|  getStreamer().SwitchSection(getContext().getMachOSection(
  394|  1.03k|      Segment, Section, TAA, StubSize,
  395|  1.03k|      isText ? SectionKind::getText() : SectionKind::getData()));
  ------------------
  |  Branch (395:7): [True: 0, False: 1.03k]
  ------------------
  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|  1.03k|  if (Align)
  ------------------
  |  Branch (405:7): [True: 0, False: 1.03k]
  ------------------
  406|      0|    getStreamer().EmitValueToAlignment(Align);
  407|       |
  408|  1.03k|  return false;
  409|  1.04k|}
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_26parseSectionDirectiveConstEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser26parseSectionDirectiveConstEN7llvm_ks9StringRefENS1_5SMLocE:
  204|     75|  bool parseSectionDirectiveConst(StringRef, SMLoc) {
  205|     75|    return parseSectionSwitch("__TEXT", "__const");
  206|     75|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_30parseSectionDirectiveConstDataEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveConstructorEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser32parseSectionDirectiveConstructorEN7llvm_ks9StringRefENS1_5SMLocE:
  226|      1|  bool parseSectionDirectiveConstructor(StringRef, SMLoc) {
  227|      1|    return parseSectionSwitch("__TEXT","__constructor");
  228|      1|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_28parseSectionDirectiveCStringEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_25parseSectionDirectiveDataEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser25parseSectionDirectiveDataEN7llvm_ks9StringRefENS1_5SMLocE:
  250|    638|  bool parseSectionDirectiveData(StringRef, SMLoc) {
  251|    638|    return parseSectionSwitch("__DATA", "__data");
  252|    638|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_31parseSectionDirectiveDestructorEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_25parseSectionDirectiveDyldEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
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|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveFVMLibInit1EN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_39parseSectionDirectiveLazySymbolPointersEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_26parseDirectiveLinkerOptionEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_30parseSectionDirectiveLiteral16EN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_29parseSectionDirectiveLiteral4EN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_29parseSectionDirectiveLiteral8EN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveModInitFuncEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveModTermFuncEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_42parseSectionDirectiveNonLazySymbolPointersEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_35parseSectionDirectiveObjCCatClsMethEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_36parseSectionDirectiveObjCCatInstMethEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_33parseSectionDirectiveObjCCategoryEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_30parseSectionDirectiveObjCClassEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_35parseSectionDirectiveObjCClassNamesEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_34parseSectionDirectiveObjCClassVarsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveObjCClsMethEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveObjCClsRefsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_33parseSectionDirectiveObjCInstMethEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_37parseSectionDirectiveObjCInstanceVarsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_36parseSectionDirectiveObjCMessageRefsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_34parseSectionDirectiveObjCMetaClassEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_37parseSectionDirectiveObjCMethVarNamesEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_37parseSectionDirectiveObjCMethVarTypesEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_35parseSectionDirectiveObjCModuleInfoEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_33parseSectionDirectiveObjCProtocolEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_37parseSectionDirectiveObjCSelectorStrsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_37parseSectionDirectiveObjCStringObjectEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveObjCSymbolsEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_34parseSectionDirectivePICSymbolStubEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_32parseSectionDirectiveStaticConstEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_31parseSectionDirectiveStaticDataEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_31parseSectionDirectiveSymbolStubEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_26parseSectionDirectiveTDataEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
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|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
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|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_24parseSectionDirectiveTLVEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser24parseSectionDirectiveTLVEN7llvm_ks9StringRefENS1_5SMLocE:
  364|      1|  bool parseSectionDirectiveTLV(StringRef, SMLoc) {
  365|      1|    return parseSectionSwitch("__DATA", "__thread_vars",
  366|      1|                              MachO::S_THREAD_LOCAL_VARIABLES);
  367|      1|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_26parseSectionDirectiveIdentEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  12.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  12.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  12.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  12.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  12.6k|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser26parseSectionDirectiveIdentEN7llvm_ks9StringRefENS1_5SMLocE:
  368|    246|  bool parseSectionDirectiveIdent(StringRef, SMLoc) {
  369|       |    // Darwin silently ignores the .ident directive.
  370|    246|    getParser().eatToEndOfStatement();
  371|    246|    return false;
  372|    246|  }
DarwinAsmParser.cpp:_ZN12_GLOBAL__N_115DarwinAsmParser19addDirectiveHandlerIXadL_ZNS0_15parseVersionMinEN7llvm_ks9StringRefENS2_5SMLocEEEEEvS3_:
   34|  50.6k|  void addDirectiveHandler(StringRef Directive) {
   35|  50.6k|    MCAsmParser::ExtensionDirectiveHandler Handler = std::make_pair(
   36|  50.6k|        this, HandleDirective<DarwinAsmParser, HandlerMethod>);
   37|  50.6k|    getParser().addDirectiveHandler(Directive, Handler);
   38|  50.6k|  }

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

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

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

_ZN7llvm_ks17MCTargetAsmParserC2ERKNS_15MCTargetOptionsERKNS_15MCSubtargetInfoE:
   16|  12.6k|  : AvailableFeatures(0),AvailableFeaturesFB(), ParsingInlineAsm(false), MCOptions(MCOptions),
   17|  12.6k|    STI(&STI)
   18|  12.6k|{
   19|  12.6k|}
_ZN7llvm_ks17MCTargetAsmParserD2Ev:
   21|  12.6k|MCTargetAsmParser::~MCTargetAsmParser() {
   22|  12.6k|}
_ZNK7llvm_ks17MCTargetAsmParser6getSTIEv:
   30|   931k|const MCSubtargetInfo &MCTargetAsmParser::getSTI() const {
   31|   931k|  return *STI;
   32|   931k|}

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

_ZN7llvm_ks9MCSectionC2ENS0_14SectionVariantENS_11SectionKindEPNS_8MCSymbolE:
   23|   551k|    : Begin(Begin), BundleGroupBeforeFirstInst(false), HasInstructions(false),
   24|   551k|      IsRegistered(false), DummyFragment(this), Variant(V), Kind(K) {}
_ZNK7llvm_ks9MCSection8hasEndedEv:
   32|  20.8k|bool MCSection::hasEnded() const { return End && End->isInSection(); }
  ------------------
  |  Branch (32:43): [True: 0, False: 20.8k]
  |  Branch (32:50): [True: 0, False: 0]
  ------------------
_ZN7llvm_ks9MCSectionD2Ev:
   34|   551k|MCSection::~MCSection() {
   35|   551k|}
_ZN7llvm_ks9MCSection27getSubsectionInsertionPointEj:
   57|  20.8k|MCSection::getSubsectionInsertionPoint(unsigned Subsection) {
   58|  20.8k|  if (Subsection == 0 && SubsectionFragmentMap.empty())
  ------------------
  |  Branch (58:7): [True: 20.8k, False: 0]
  |  Branch (58:26): [True: 20.8k, False: 0]
  ------------------
   59|  20.8k|    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|  20.8k|}
_ZN7llvm_ks9MCSection5beginEv:
  103|  32.6k|MCSection::iterator MCSection::begin() { return Fragments.begin(); }
_ZN7llvm_ks9MCSection3endEv:
  105|  71.0k|MCSection::iterator MCSection::end() { return Fragments.end(); }
_ZN7llvm_ks9MCSection6rbeginEv:
  107|  6.63k|MCSection::reverse_iterator MCSection::rbegin() { return Fragments.rbegin(); }

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

_ZN7llvm_ks14MCSectionMachOC2ENS_9StringRefES1_jjNS_11SectionKindEPNS_8MCSymbolE:
   75|    247|    : MCSection(SV_MachO, K, Begin), TypeAndAttributes(TAA),
   76|    247|      Reserved2(reserved2) {
   77|    247|  assert(Segment.size() <= 16 && Section.size() <= 16 &&
  ------------------
  |  Branch (77:3): [True: 247, False: 0]
  |  Branch (77:3): [True: 247, False: 0]
  |  Branch (77:3): [True: 247, Folded]
  |  Branch (77:3): [True: 247, False: 0]
  ------------------
   78|    247|         "Segment or section string too long");
   79|  4.19k|  for (unsigned i = 0; i != 16; ++i) {
  ------------------
  |  Branch (79:24): [True: 3.95k, False: 247]
  ------------------
   80|  3.95k|    if (i < Segment.size())
  ------------------
  |  Branch (80:9): [True: 971, False: 2.98k]
  ------------------
   81|    971|      SegmentName[i] = Segment[i];
   82|  2.98k|    else
   83|  2.98k|      SegmentName[i] = 0;
   84|       |
   85|  3.95k|    if (i < Section.size())
  ------------------
  |  Branch (85:9): [True: 1.94k, False: 2.00k]
  ------------------
   86|  1.94k|      SectionName[i] = Section[i];
   87|  2.00k|    else
   88|  2.00k|      SectionName[i] = 0;
   89|  3.95k|  }
   90|    247|}
_ZNK7llvm_ks14MCSectionMachO12UseCodeAlignEv:
  156|     57|bool MCSectionMachO::UseCodeAlign() const {
  157|     57|  return hasAttribute(MachO::S_ATTR_PURE_INSTRUCTIONS);
  158|     57|}
_ZNK7llvm_ks14MCSectionMachO16isVirtualSectionEv:
  160|    477|bool MCSectionMachO::isVirtualSection() const {
  161|    477|  return (getType() == MachO::S_ZEROFILL ||
  ------------------
  |  Branch (161:11): [True: 0, False: 477]
  ------------------
  162|    477|          getType() == MachO::S_GB_ZEROFILL ||
  ------------------
  |  Branch (162:11): [True: 0, False: 477]
  ------------------
  163|    477|          getType() == MachO::S_THREAD_LOCAL_ZEROFILL);
  ------------------
  |  Branch (163:11): [True: 0, False: 477]
  ------------------
  164|    477|}
_ZN7llvm_ks14MCSectionMachO21ParseSectionSpecifierENS_9StringRefERS1_S2_RjRbS3_:
  176|  8.53k|                                                  unsigned  &StubSize) { // Out.
  177|  8.53k|  TAAParsed = false;
  178|       |
  179|  8.53k|  SmallVector<StringRef, 5> SplitSpec;
  180|  8.53k|  Spec.split(SplitSpec, ',');
  181|       |  // Remove leading and trailing whitespace.
  182|  8.53k|  auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef {
  183|  8.53k|    return SplitSpec.size() > Idx ? SplitSpec[Idx].trim() : StringRef();
  184|  8.53k|  };
  185|  8.53k|  Segment = GetEmptyOrTrim(0);
  186|  8.53k|  Section = GetEmptyOrTrim(1);
  187|  8.53k|  StringRef SectionType = GetEmptyOrTrim(2);
  188|  8.53k|  StringRef Attrs = GetEmptyOrTrim(3);
  189|  8.53k|  StringRef StubSizeStr = GetEmptyOrTrim(4);
  190|       |
  191|       |  // Verify that the segment is present and not too long.
  192|  8.53k|  if (Segment.empty() || Segment.size() > 16)
  ------------------
  |  Branch (192:7): [True: 1, False: 8.53k]
  |  Branch (192:26): [True: 6, False: 8.52k]
  ------------------
  193|      7|    return "mach-o section specifier requires a segment whose length is "
  194|      7|           "between 1 and 16 characters";
  195|       |
  196|       |  // Verify that the section is present and not too long.
  197|  8.52k|  if (Section.empty())
  ------------------
  |  Branch (197:7): [True: 12, False: 8.51k]
  ------------------
  198|     12|    return "mach-o section specifier requires a segment and section "
  199|     12|           "separated by a comma";
  200|       |
  201|  8.51k|  if (Section.size() > 16)
  ------------------
  |  Branch (201:7): [True: 25, False: 8.49k]
  ------------------
  202|     25|    return "mach-o section specifier requires a section whose length is "
  203|     25|           "between 1 and 16 characters";
  204|       |
  205|       |  // If there is no comma after the section, we're done.
  206|  8.49k|  TAA = 0;
  207|  8.49k|  StubSize = 0;
  208|  8.49k|  if (SectionType.empty())
  ------------------
  |  Branch (208:7): [True: 8.42k, False: 65]
  ------------------
  209|  8.42k|    return "";
  210|       |
  211|       |  // Figure out which section type it is.
  212|     65|  auto TypeDescriptor = std::find_if(
  213|     65|      std::begin(SectionTypeDescriptors), std::end(SectionTypeDescriptors),
  214|     65|      [&](decltype(*SectionTypeDescriptors) &Descriptor) {
  215|     65|        return Descriptor.AssemblerName &&
  216|     65|               SectionType == Descriptor.AssemblerName;
  217|     65|      });
  218|       |
  219|       |  // If we didn't find the section type, reject it.
  220|     65|  if (TypeDescriptor == std::end(SectionTypeDescriptors))
  ------------------
  |  Branch (220:7): [True: 42, False: 23]
  ------------------
  221|     42|    return "mach-o section specifier uses an unknown section type";
  222|       |
  223|       |  // Remember the TypeID.
  224|     23|  TAA = TypeDescriptor - std::begin(SectionTypeDescriptors);
  225|     23|  TAAParsed = true;
  226|       |
  227|       |  // If we have no comma after the section type, there are no attributes.
  228|     23|  if (Attrs.empty()) {
  ------------------
  |  Branch (228:7): [True: 1, False: 22]
  ------------------
  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|     22|  SmallVector<StringRef, 1> SectionAttrs;
  238|     22|  Attrs.split(SectionAttrs, '+', /*MaxSplit=*/-1, /*KeepEmpty=*/false);
  239|       |
  240|     22|  for (StringRef &SectionAttr : SectionAttrs) {
  ------------------
  |  Branch (240:31): [True: 21, False: 1]
  ------------------
  241|     21|    auto AttrDescriptorI = std::find_if(
  242|     21|        std::begin(SectionAttrDescriptors), std::end(SectionAttrDescriptors),
  243|     21|        [&](decltype(*SectionAttrDescriptors) &Descriptor) {
  244|     21|          return Descriptor.AssemblerName &&
  245|     21|                 SectionAttr.trim() == Descriptor.AssemblerName;
  246|     21|        });
  247|     21|    if (AttrDescriptorI == std::end(SectionAttrDescriptors))
  ------------------
  |  Branch (247:9): [True: 21, False: 0]
  ------------------
  248|     21|      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: 1, False: 0]
  ------------------
  255|       |    // S_SYMBOL_STUBS always require a symbol stub size specifier.
  256|      1|    if (TAA == MachO::S_SYMBOL_STUBS)
  ------------------
  |  Branch (256:9): [True: 0, False: 1]
  ------------------
  257|      0|      return "mach-o section specifier of type 'symbol_stubs' requires a size "
  258|      0|      "specifier";
  259|      1|    return "";
  260|      1|  }
  261|       |
  262|       |  // If we have a stub size spec, we must have a sectiontype of S_SYMBOL_STUBS.
  263|      0|  if ((TAA & MachO::SECTION_TYPE) != MachO::S_SYMBOL_STUBS)
  ------------------
  |  Branch (263:7): [True: 0, False: 0]
  ------------------
  264|      0|    return "mach-o section specifier cannot have a stub size specified because "
  265|      0|           "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|  42.6k|  auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef {
  183|  42.6k|    return SplitSpec.size() > Idx ? SplitSpec[Idx].trim() : StringRef();
  ------------------
  |  Branch (183:12): [True: 28.3k, False: 14.3k]
  ------------------
  184|  42.6k|  };
MCSectionMachO.cpp:_ZZN7llvm_ks14MCSectionMachO21ParseSectionSpecifierENS_9StringRefERS1_S2_RjRbS3_ENK3$_1clERK3$_0:
  214|  1.01k|      [&](decltype(*SectionTypeDescriptors) &Descriptor) {
  215|  1.01k|        return Descriptor.AssemblerName &&
  ------------------
  |  Branch (215:16): [True: 827, False: 185]
  ------------------
  216|    827|               SectionType == Descriptor.AssemblerName;
  ------------------
  |  Branch (216:16): [True: 23, False: 804]
  ------------------
  217|  1.01k|      });
MCSectionMachO.cpp:_ZZN7llvm_ks14MCSectionMachO21ParseSectionSpecifierENS_9StringRefERS1_S2_RjRbS3_ENK3$_2clERK3$_1:
  243|    231|        [&](decltype(*SectionAttrDescriptors) &Descriptor) {
  244|    231|          return Descriptor.AssemblerName &&
  ------------------
  |  Branch (244:18): [True: 168, False: 63]
  ------------------
  245|    168|                 SectionAttr.trim() == Descriptor.AssemblerName;
  ------------------
  |  Branch (245:18): [True: 0, False: 168]
  ------------------
  246|    231|        });

_ZN7llvm_ks10MCStreamerC2ERNS_9MCContextE:
   46|  12.6k|    : Context(Ctx), CurrentWinFrameInfo(nullptr) {
   47|  12.6k|  SectionStack.push_back(std::pair<MCSectionSubPair, MCSectionSubPair>());
   48|  12.6k|}
_ZN7llvm_ks10MCStreamerD2Ev:
   50|  12.6k|MCStreamer::~MCStreamer() {
   51|  12.6k|  for (unsigned i = 0; i < getNumWinFrameInfos(); ++i)
  ------------------
  |  Branch (51:24): [True: 0, False: 12.6k]
  ------------------
   52|      0|    delete WinFrameInfos[i];
   53|  12.6k|}
_ZN7llvm_ks10MCStreamer12EmitIntValueEmjRb:
   82|  47.9M|{
   83|  47.9M|  Error = false;
   84|       |  //assert(1 <= Size && Size <= 8 && "Invalid size");
   85|  47.9M|  if (1 > Size || Size > 8) {
  ------------------
  |  Branch (85:7): [True: 61, False: 47.9M]
  |  Branch (85:19): [True: 0, False: 47.9M]
  ------------------
   86|     61|      Error = true;
   87|     61|      return;
   88|     61|  }
   89|       |  //assert((isUIntN(8 * Size, Value) || isIntN(8 * Size, Value)) &&
   90|       |  //       "Invalid size");
   91|  47.9M|  if (!isUIntN(8 * Size, Value) && !isIntN(8 * Size, Value)) {
  ------------------
  |  Branch (91:7): [True: 5.26k, False: 47.9M]
  |  Branch (91:36): [True: 3.21k, False: 2.05k]
  ------------------
   92|  3.21k|      Error = true;
   93|  3.21k|      return;
   94|  3.21k|  }
   95|  47.9M|  char buf[8];
   96|  47.9M|  const bool isLittleEndian = Context.getAsmInfo()->isLittleEndian();
   97|   128M|  for (unsigned i = 0; i != Size; ++i) {
  ------------------
  |  Branch (97:24): [True: 80.9M, False: 47.9M]
  ------------------
   98|  80.9M|    unsigned index = isLittleEndian ? i : (Size - i - 1);
  ------------------
  |  Branch (98:22): [True: 80.9M, False: 0]
  ------------------
   99|  80.9M|    buf[i] = uint8_t(Value >> (index * 8));
  100|  80.9M|  }
  101|  47.9M|  EmitBytes(StringRef(buf, Size));
  102|  47.9M|}
_ZN7llvm_ks10MCStreamer9EmitValueEPKNS_6MCExprEjNS_5SMLocE:
  122|  30.4k|void MCStreamer::EmitValue(const MCExpr *Value, unsigned Size, SMLoc Loc) {
  123|  30.4k|  EmitValueImpl(Value, Size, Loc);
  124|  30.4k|}
_ZN7llvm_ks10MCStreamer9EmitZerosEm:
  154|     35|void MCStreamer::EmitZeros(uint64_t NumBytes) {
  155|     35|  EmitFill(NumBytes, 0);
  156|     35|}
_ZN7llvm_ks10MCStreamer22EmitDwarfFileDirectiveEjNS_9StringRefES1_j:
  160|     50|                                            StringRef Filename, unsigned CUID) {
  161|     50|  return getContext().getDwarfFile(Directory, Filename, FileNo, CUID);
  162|     50|}
_ZN7llvm_ks10MCStreamer9EmitLabelEPNS_8MCSymbolE:
  232|  74.7k|void MCStreamer::EmitLabel(MCSymbol *Symbol) {
  233|  74.7k|  assert(!Symbol->isVariable() && "Cannot emit a variable symbol!");
  ------------------
  |  Branch (233:3): [True: 74.7k, False: 0]
  |  Branch (233:3): [True: 74.7k, Folded]
  |  Branch (233:3): [True: 74.7k, False: 0]
  ------------------
  234|  74.7k|  assert(getCurrentSection().first && "Cannot emit before setting section!");
  ------------------
  |  Branch (234:3): [True: 74.7k, False: 0]
  |  Branch (234:3): [True: 74.7k, Folded]
  |  Branch (234:3): [True: 74.7k, False: 0]
  ------------------
  235|  74.7k|  assert(!Symbol->getFragment() && "Unexpected fragment on symbol data!");
  ------------------
  |  Branch (235:3): [True: 74.7k, False: 0]
  |  Branch (235:3): [True: 74.7k, Folded]
  |  Branch (235:3): [True: 74.7k, False: 0]
  ------------------
  236|  74.7k|  Symbol->setFragment(&getCurrentSectionOnly()->getDummyFragment());
  237|       |
  238|  74.7k|  MCTargetStreamer *TS = getTargetStreamer();
  239|  74.7k|  if (TS)
  ------------------
  |  Branch (239:7): [True: 0, False: 74.7k]
  ------------------
  240|      0|    TS->emitLabel(Symbol);
  241|  74.7k|}
_ZN7llvm_ks10MCStreamer6FinishEv:
  625|  6.46k|unsigned int MCStreamer::Finish() {
  626|  6.46k|  if (!DwarfFrameInfos.empty() && !DwarfFrameInfos.back().End)
  ------------------
  |  Branch (626:7): [True: 0, False: 6.46k]
  |  Branch (626:35): [True: 0, False: 0]
  ------------------
  627|      0|    report_fatal_error("Unfinished frame!");
  628|       |
  629|  6.46k|  MCTargetStreamer *TS = getTargetStreamer();
  630|  6.46k|  if (TS)
  ------------------
  |  Branch (630:7): [True: 0, False: 6.46k]
  ------------------
  631|      0|    TS->finish();
  632|       |
  633|  6.46k|  return FinishImpl();
  634|  6.46k|}
_ZN7llvm_ks10MCStreamer14EmitAssignmentEPNS_8MCSymbolEPKNS_6MCExprE:
  636|  39.8k|bool MCStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
  637|  39.8k|  visitUsedExpr(*Value);
  638|  39.8k|  bool valid;
  639|  39.8k|  Symbol->setVariableValue(Value, valid);
  640|  39.8k|  if (!valid)
  ------------------
  |  Branch (640:7): [True: 113, False: 39.7k]
  ------------------
  641|    113|      return false;
  642|       |
  643|  39.7k|  MCTargetStreamer *TS = getTargetStreamer();
  644|  39.7k|  if (TS)
  ------------------
  |  Branch (644:7): [True: 0, False: 39.7k]
  ------------------
  645|      0|    TS->emitAssignment(Symbol, Value);
  646|       |
  647|  39.7k|  return true;
  648|  39.8k|}
_ZN7llvm_ks10MCStreamer13visitUsedExprERKNS_6MCExprE:
  653|   302k|void MCStreamer::visitUsedExpr(const MCExpr &Expr) {
  654|   302k|  switch (Expr.getKind()) {
  ------------------
  |  Branch (654:11): [True: 302k, False: 0]
  ------------------
  655|      3|  case MCExpr::Target:
  ------------------
  |  Branch (655:3): [True: 3, False: 302k]
  ------------------
  656|      3|    cast<MCTargetExpr>(Expr).visitUsedExpr(*this);
  657|      3|    break;
  658|       |
  659|  66.7k|  case MCExpr::Constant:
  ------------------
  |  Branch (659:3): [True: 66.7k, False: 235k]
  ------------------
  660|  66.7k|    break;
  661|       |
  662|  93.9k|  case MCExpr::Binary: {
  ------------------
  |  Branch (662:3): [True: 93.9k, False: 208k]
  ------------------
  663|  93.9k|    const MCBinaryExpr &BE = cast<MCBinaryExpr>(Expr);
  664|  93.9k|    visitUsedExpr(*BE.getLHS());
  665|  93.9k|    visitUsedExpr(*BE.getRHS());
  666|  93.9k|    break;
  667|      0|  }
  668|       |
  669|  99.6k|  case MCExpr::SymbolRef:
  ------------------
  |  Branch (669:3): [True: 99.6k, False: 203k]
  ------------------
  670|  99.6k|    visitUsedSymbol(cast<MCSymbolRefExpr>(Expr).getSymbol());
  671|  99.6k|    break;
  672|       |
  673|  42.3k|  case MCExpr::Unary:
  ------------------
  |  Branch (673:3): [True: 42.3k, False: 260k]
  ------------------
  674|  42.3k|    visitUsedExpr(*cast<MCUnaryExpr>(Expr).getSubExpr());
  675|  42.3k|    break;
  676|   302k|  }
  677|   302k|}
_ZN7llvm_ks10MCStreamer15EmitInstructionERNS_6MCInstERKNS_15MCSubtargetInfoERj:
  681|  3.39k|                                 unsigned int &KsError) {
  682|       |  // Scan for values.
  683|  10.8k|  for (unsigned i = Inst.getNumOperands(); i--;)
  ------------------
  |  Branch (683:44): [True: 7.47k, False: 3.39k]
  ------------------
  684|  7.47k|    if (Inst.getOperand(i).isExpr())
  ------------------
  |  Branch (684:9): [True: 2.13k, False: 5.33k]
  ------------------
  685|  2.13k|      visitUsedExpr(*Inst.getOperand(i).getExpr());
  686|  3.39k|}
_ZN7llvm_ks10MCStreamer13EmitValueImplEPKNS_6MCExprEjNS_5SMLocE:
  723|  30.4k|void MCStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size, SMLoc Loc) {
  724|  30.4k|  visitUsedExpr(*Value);
  725|  30.4k|}
_ZN7llvm_ks10MCStreamer13SwitchSectionEPNS_9MCSectionEPKNS_6MCExprE:
  739|  22.2k|void MCStreamer::SwitchSection(MCSection *Section, const MCExpr *Subsection) {
  740|  22.2k|  assert(Section && "Cannot switch to a null section!");
  ------------------
  |  Branch (740:3): [True: 22.2k, False: 0]
  |  Branch (740:3): [True: 22.2k, Folded]
  |  Branch (740:3): [True: 22.2k, False: 0]
  ------------------
  741|  22.2k|  MCSectionSubPair curSection = SectionStack.back().first;
  742|  22.2k|  SectionStack.back().second = curSection;
  743|  22.2k|  if (MCSectionSubPair(Section, Subsection) != curSection) {
  ------------------
  |  Branch (743:7): [True: 20.8k, False: 1.31k]
  ------------------
  744|  20.8k|    ChangeSection(Section, Subsection);
  745|  20.8k|    SectionStack.back().first = MCSectionSubPair(Section, Subsection);
  746|  20.8k|    assert(!Section->hasEnded() && "Section already ended");
  ------------------
  |  Branch (746:5): [True: 20.8k, False: 0]
  |  Branch (746:5): [True: 20.8k, Folded]
  |  Branch (746:5): [True: 20.8k, False: 0]
  ------------------
  747|  20.8k|    MCSymbol *Sym = Section->getBeginSymbol();
  748|  20.8k|    if (Sym && !Sym->isInSection())
  ------------------
  |  Branch (748:9): [True: 20.8k, False: 0]
  |  Branch (748:16): [True: 12.9k, False: 7.95k]
  ------------------
  749|  12.9k|      EmitLabel(Sym);
  750|  20.8k|  }
  751|  22.2k|}

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

_ZN7llvm_ks8MCSymbolnwEmPKNS_14StringMapEntryIbEERNS_9MCContextE:
   26|   210k|                             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|   210k|  size_t Size = s + (Name ? sizeof(NameEntryStorageTy) : 0);
  ------------------
  |  Branch (29:22): [True: 210k, 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|   210k|  static_assert((unsigned)AlignOf<MCSymbol>::Alignment <=
   35|   210k|                AlignOf<NameEntryStorageTy>::Alignment,
   36|   210k|                "Bad alignment of MCSymbol");
   37|   210k|  void *Storage = Ctx.allocate(Size, alignOf<NameEntryStorageTy>());
   38|   210k|  NameEntryStorageTy *Start = static_cast<NameEntryStorageTy*>(Storage);
   39|   210k|  NameEntryStorageTy *End = Start + (Name ? 1 : 0);
  ------------------
  |  Branch (39:38): [True: 210k, False: 0]
  ------------------
   40|   210k|  return End;
   41|   210k|}
_ZN7llvm_ks8MCSymbol16setVariableValueEPKNS_6MCExprERb:
   43|  39.8k|void MCSymbol::setVariableValue(const MCExpr *Value, bool &valid) {
   44|  39.8k|  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|  39.8k|  if (IsUsed || !Value || (SymbolContents != SymContentsUnset &&
  ------------------
  |  Branch (50:7): [True: 36, False: 39.8k]
  |  Branch (50:17): [True: 0, False: 39.8k]
  |  Branch (50:28): [True: 38.1k, False: 1.65k]
  ------------------
   51|  38.1k|              SymbolContents != SymContentsVariable)) {
  ------------------
  |  Branch (51:15): [True: 77, False: 38.0k]
  ------------------
   52|    113|      valid = false;
   53|    113|      return;
   54|    113|  }
   55|  39.7k|  this->Value = Value;
   56|  39.7k|  SymbolContents = SymContentsVariable;
   57|  39.7k|  setUndefined();
   58|  39.7k|}

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

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

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

_ZN7llvm_ks17SubtargetFeaturesC2ENS_9StringRefE:
  120|  12.6k|SubtargetFeatures::SubtargetFeatures(StringRef Initial) {
  121|       |  // Break up string into separate features
  122|  12.6k|  Split(Features, Initial);
  123|  12.6k|}
_ZN7llvm_ks17SubtargetFeatures14getFeatureBitsENS_9StringRefENS_8ArrayRefINS_18SubtargetFeatureKVEEES4_:
  225|  12.6k|                                  ArrayRef<SubtargetFeatureKV> FeatureTable) {
  226|       |
  227|  12.6k|  if (CPUTable.empty() || FeatureTable.empty())
  ------------------
  |  Branch (227:7): [True: 0, False: 12.6k]
  |  Branch (227:27): [True: 0, False: 12.6k]
  ------------------
  228|      0|    return FeatureBitset();
  229|       |
  230|  12.6k|#ifndef NDEBUG
  231|  12.6k|  assert(std::is_sorted(std::begin(CPUTable), std::end(CPUTable)) &&
  ------------------
  |  Branch (231:3): [True: 12.6k, False: 0]
  |  Branch (231:3): [True: 12.6k, Folded]
  |  Branch (231:3): [True: 12.6k, False: 0]
  ------------------
  232|  12.6k|         "CPU table is not sorted");
  233|  12.6k|  assert(std::is_sorted(std::begin(FeatureTable), std::end(FeatureTable)) &&
  ------------------
  |  Branch (233:3): [True: 12.6k, False: 0]
  |  Branch (233:3): [True: 12.6k, Folded]
  |  Branch (233:3): [True: 12.6k, False: 0]
  ------------------
  234|  12.6k|         "CPU features table is not sorted");
  235|  12.6k|#endif
  236|       |  // Resulting bits
  237|  12.6k|  FeatureBitset Bits;
  238|       |
  239|       |  // Check if help is needed
  240|  12.6k|  if (CPU == "help")
  ------------------
  |  Branch (240:7): [True: 0, False: 12.6k]
  ------------------
  241|      0|    Help(CPUTable, FeatureTable);
  242|       |
  243|       |  // Find CPU entry if CPU name is specified.
  244|  12.6k|  else if (!CPU.empty()) {
  ------------------
  |  Branch (244:12): [True: 12.6k, False: 0]
  ------------------
  245|  12.6k|    const SubtargetFeatureKV *CPUEntry = Find(CPU, CPUTable);
  246|       |
  247|       |    // If there is a match
  248|  12.6k|    if (CPUEntry) {
  ------------------
  |  Branch (248:9): [True: 12.6k, False: 0]
  ------------------
  249|       |      // Set base feature bits
  250|  12.6k|      Bits = CPUEntry->Value;
  251|       |
  252|       |      // Set the feature implied by this CPU feature, if any.
  253|  88.6k|      for (auto &FE : FeatureTable) {
  ------------------
  |  Branch (253:21): [True: 88.6k, False: 12.6k]
  ------------------
  254|  88.6k|        if ((CPUEntry->Value & FE.Value).any())
  ------------------
  |  Branch (254:13): [True: 0, False: 88.6k]
  ------------------
  255|      0|          SetImpliedBits(Bits, &FE, FeatureTable);
  256|  88.6k|      }
  257|  12.6k|    } else {
  258|      0|      errs() << "'" << CPU
  259|      0|             << "' is not a recognized processor for this target"
  260|      0|             << " (ignoring processor)\n";
  261|      0|    }
  262|  12.6k|  }
  263|       |
  264|       |  // Iterate through each feature
  265|  12.6k|  for (auto &Feature : Features) {
  ------------------
  |  Branch (265:22): [True: 0, False: 12.6k]
  ------------------
  266|       |    // Check for help
  267|      0|    if (Feature == "+help")
  ------------------
  |  Branch (267:9): [True: 0, False: 0]
  ------------------
  268|      0|      Help(CPUTable, FeatureTable);
  269|       |
  270|      0|    ApplyFeatureFlag(Bits, Feature, FeatureTable);
  271|      0|  }
  272|       |
  273|  12.6k|  return Bits;
  274|  12.6k|}
SubtargetFeature.cpp:_ZL5SplitRNSt3__16vectorINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEEEN7llvm_ks9StringRefE:
   57|  12.6k|static void Split(std::vector<std::string> &V, StringRef S) {
   58|  12.6k|  SmallVector<StringRef, 3> Tmp;
   59|  12.6k|  S.split(Tmp, ',', -1, false /* KeepEmpty */);
   60|  12.6k|  V.assign(Tmp.begin(), Tmp.end());
   61|  12.6k|}
SubtargetFeature.cpp:_ZL4FindN7llvm_ks9StringRefENS_8ArrayRefINS_18SubtargetFeatureKVEEE:
   74|  12.6k|                                      ArrayRef<SubtargetFeatureKV> A) {
   75|       |  // Binary search the array
   76|  12.6k|  auto F = std::lower_bound(A.begin(), A.end(), S);
   77|       |  // If not found then return NULL
   78|  12.6k|  if (F == A.end() || StringRef(F->Key) != S) return nullptr;
  ------------------
  |  Branch (78:7): [True: 0, False: 12.6k]
  |  Branch (78:7): [True: 0, False: 12.6k]
  |  Branch (78:23): [True: 0, False: 12.6k]
  ------------------
   79|       |  // Return the found array item
   80|  12.6k|  return F;
   81|  12.6k|}

_Z16interpretDecimalPKcS0_P11decimalInfo:
  277|  24.9k|{
  278|  24.9k|  StringRef::iterator dot = end;
  279|  24.9k|  StringRef::iterator p = skipLeadingZeroesAndAnyDot (begin, end, &dot);
  280|  24.9k|  APFloat::opStatus fp;
  281|       |
  282|  24.9k|  D->firstSigDigit = p;
  283|  24.9k|  D->exponent = 0;
  284|  24.9k|  D->normalizedExponent = 0;
  285|       |
  286|   172k|  for (; p != end; ++p) {
  ------------------
  |  Branch (286:10): [True: 154k, False: 17.9k]
  ------------------
  287|   154k|    if (*p == '.') {
  ------------------
  |  Branch (287:9): [True: 0, False: 154k]
  ------------------
  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|   154k|    if (decDigitValue(*p) >= 10U)
  ------------------
  |  Branch (295:9): [True: 6.93k, False: 147k]
  ------------------
  296|  6.93k|      break;
  297|   154k|  }
  298|       |
  299|  24.9k|  if (p != end) {
  ------------------
  |  Branch (299:7): [True: 6.93k, False: 17.9k]
  ------------------
  300|       |    //assert((*p == 'e' || *p == 'E') && "Invalid character in significand");
  301|  6.93k|    if (*p != 'e' && *p != 'E')
  ------------------
  |  Branch (301:9): [True: 5.71k, False: 1.21k]
  |  Branch (301:22): [True: 2, False: 5.71k]
  ------------------
  302|      2|        return APFloat::opInvalidOp;
  303|       |    //assert(p != begin && "Significand has no digits");
  304|  6.92k|    if (p == begin)
  ------------------
  |  Branch (304:9): [True: 0, False: 6.92k]
  ------------------
  305|      0|        return APFloat::opInvalidOp;
  306|       |    //assert((dot == end || p - begin != 1) && "Significand has no digits");
  307|  6.92k|    if (dot != end && p - begin == 1)
  ------------------
  |  Branch (307:9): [True: 6.91k, False: 11]
  |  Branch (307:23): [True: 0, False: 6.91k]
  ------------------
  308|      0|        return APFloat::opInvalidOp;
  309|       |
  310|       |    /* p points to the first non-digit in the string */
  311|  6.92k|    D->exponent = readExponent(p + 1, end, fp); // qq
  312|  6.92k|    if (fp)
  ------------------
  |  Branch (312:9): [True: 477, False: 6.45k]
  ------------------
  313|    477|        return fp;
  314|       |
  315|       |    /* Implied decimal point?  */
  316|  6.45k|    if (dot == end)
  ------------------
  |  Branch (316:9): [True: 7, False: 6.44k]
  ------------------
  317|      7|      dot = p;
  318|  6.45k|  }
  319|       |
  320|       |  /* If number is all zeroes accept any exponent.  */
  321|  24.4k|  if (p != D->firstSigDigit) {
  ------------------
  |  Branch (321:7): [True: 22.8k, False: 1.55k]
  ------------------
  322|       |    /* Drop insignificant trailing zeroes.  */
  323|  22.8k|    if (p != begin) {
  ------------------
  |  Branch (323:9): [True: 22.8k, False: 0]
  ------------------
  324|  22.8k|      do
  325|  22.8k|        do
  326|  30.5k|          p--;
  327|  30.5k|        while (p != begin && *p == '0');
  ------------------
  |  Branch (327:16): [True: 29.2k, False: 1.29k]
  |  Branch (327:30): [True: 7.68k, False: 21.5k]
  ------------------
  328|  22.8k|      while (p != begin && *p == '.');
  ------------------
  |  Branch (328:14): [True: 21.5k, False: 1.29k]
  |  Branch (328:28): [True: 0, False: 21.5k]
  ------------------
  329|  22.8k|    }
  330|       |
  331|       |    /* Adjust the exponents for any decimal point.  */
  332|  22.8k|    D->exponent += static_cast<APFloat::ExponentType>((dot - p) - (dot > p));
  333|  22.8k|    D->normalizedExponent = (D->exponent +
  334|  22.8k|              static_cast<APFloat::ExponentType>((p - D->firstSigDigit)
  335|  22.8k|                                      - (dot > D->firstSigDigit && dot < p)));
  ------------------
  |  Branch (335:42): [True: 2.24k, False: 20.6k]
  |  Branch (335:68): [True: 0, False: 2.24k]
  ------------------
  336|  22.8k|  }
  337|       |
  338|  24.4k|  D->lastSigDigit = p;
  339|       |
  340|  24.4k|  return APFloat::opOK;
  341|  24.9k|}
_ZN7llvm_ks7APFloat10initializeEPKNS_12fltSemanticsE:
  614|  77.4k|{
  615|  77.4k|  unsigned int count;
  616|       |
  617|  77.4k|  semantics = ourSemantics;
  618|  77.4k|  count = partCount();
  619|  77.4k|  if (count > 1)
  ------------------
  |  Branch (619:7): [True: 2.00k, False: 75.3k]
  ------------------
  620|  2.00k|    significand.parts = new integerPart[count];
  621|  77.4k|}
_ZN7llvm_ks7APFloat15freeSignificandEv:
  625|  78.1k|{
  626|  78.1k|  if (needsCleanup())
  ------------------
  |  Branch (626:7): [True: 2.00k, False: 76.1k]
  ------------------
  627|  2.00k|    delete [] significand.parts;
  628|  78.1k|}
_ZN7llvm_ks7APFloat7makeNaNEbbPKNS_5APIntE:
  656|    373|{
  657|    373|  category = fcNaN;
  658|    373|  sign = Negative;
  659|       |
  660|    373|  integerPart *significand = significandParts();
  661|    373|  unsigned numParts = partCount();
  662|       |
  663|       |  // Set the significand bits to the fill.
  664|    373|  if (!fill || fill->getNumWords() < numParts)
  ------------------
  |  Branch (664:7): [True: 0, False: 373]
  |  Branch (664:16): [True: 0, False: 373]
  ------------------
  665|      0|    APInt::tcSet(significand, 0, numParts);
  666|    373|  if (fill) {
  ------------------
  |  Branch (666:7): [True: 373, False: 0]
  ------------------
  667|    373|    APInt::tcAssign(significand, fill->getRawData(),
  668|    373|                    std::min(fill->getNumWords(), numParts));
  669|       |
  670|       |    // Zero out the excess bits of the significand.
  671|    373|    unsigned bitsToPreserve = semantics->precision - 1;
  672|    373|    unsigned part = bitsToPreserve / 64;
  673|    373|    bitsToPreserve %= 64;
  674|    373|    significand[part] &= ((1ULL << bitsToPreserve) - 1);
  675|    373|    for (part++; part != numParts; ++part)
  ------------------
  |  Branch (675:18): [True: 0, False: 373]
  ------------------
  676|      0|      significand[part] = 0;
  677|    373|  }
  678|       |
  679|    373|  unsigned QNaNBit = semantics->precision - 2;
  680|       |
  681|    373|  if (SNaN) {
  ------------------
  |  Branch (681:7): [True: 0, False: 373]
  ------------------
  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|    373|  } else {
  691|       |    // We always have to set the QNaN bit to make it a QNaN.
  692|    373|    APInt::tcSetBit(significand, QNaNBit);
  693|    373|  }
  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|    373|  if (semantics == &APFloat::x87DoubleExtended)
  ------------------
  |  Branch (698:7): [True: 0, False: 373]
  ------------------
  699|      0|    APInt::tcSetBit(significand, QNaNBit + 1);
  700|    373|}
_ZN7llvm_ks7APFloat7makeNaNERKNS_12fltSemanticsEbbPKNS_5APIntE:
  703|    373|                         const APInt *fill) {
  704|    373|  APFloat value(Sem, uninitialized);
  705|    373|  value.makeNaN(SNaN, Negative, fill);
  706|    373|  return value;
  707|    373|}
_ZN7llvm_ks7APFloataSEOS0_:
  724|    772|APFloat::operator=(APFloat &&rhs) {
  725|    772|  freeSignificand();
  726|       |
  727|    772|  semantics = rhs.semantics;
  728|    772|  significand = rhs.significand;
  729|    772|  exponent = rhs.exponent;
  730|    772|  category = rhs.category;
  731|    772|  sign = rhs.sign;
  732|       |
  733|    772|  rhs.semantics = &Bogus;
  734|    772|  return *this;
  735|    772|}
_ZN7llvm_ks7APFloatC2ERKNS_12fltSemanticsE:
  842|  27.2k|APFloat::APFloat(const fltSemantics &ourSemantics) {
  843|  27.2k|  initialize(&ourSemantics);
  844|  27.2k|  category = fcZero;
  845|  27.2k|  sign = false;
  846|  27.2k|}
_ZN7llvm_ks7APFloatC2ERKNS_12fltSemanticsENS0_16uninitializedTagE:
  848|  23.3k|APFloat::APFloat(const fltSemantics &ourSemantics, uninitializedTag tag) {
  849|       |  // Allocates storage if necessary but does not initialize it.
  850|  23.3k|  initialize(&ourSemantics);
  851|  23.3k|}
_ZN7llvm_ks7APFloatC2ERKNS_12fltSemanticsENS_9StringRefE:
  853|  26.8k|APFloat::APFloat(const fltSemantics &ourSemantics, StringRef text) {
  854|  26.8k|  initialize(&ourSemantics);
  855|  26.8k|  convertFromString(text, rmNearestTiesToEven);
  856|  26.8k|}
_ZN7llvm_ks7APFloatD2Ev:
  868|  77.4k|{
  869|  77.4k|  freeSignificand();
  870|  77.4k|}
_ZNK7llvm_ks7APFloat9partCountEv:
  879|   926k|{
  880|   926k|  return partCountForBits(semantics->precision + 1);
  881|   926k|}
_ZNK7llvm_ks7APFloat16significandPartsEv:
  906|   135k|{
  907|   135k|  return const_cast<APFloat *>(this)->significandParts();
  908|   135k|}
_ZN7llvm_ks7APFloat16significandPartsEv:
  912|   447k|{
  913|   447k|  if (partCount() > 1)
  ------------------
  |  Branch (913:7): [True: 13.3k, False: 433k]
  ------------------
  914|  13.3k|    return significand.parts;
  915|   433k|  else
  916|   433k|    return &significand.part;
  917|   447k|}
_ZN7llvm_ks7APFloat15zeroSignificandEv:
  921|  5.56k|{
  922|  5.56k|  APInt::tcSet(significandParts(), 0, partCount());
  923|  5.56k|}
_ZN7llvm_ks7APFloat20incrementSignificandEv:
  928|  15.7k|{
  929|  15.7k|  integerPart carry;
  930|       |
  931|  15.7k|  carry = APInt::tcIncrement(significandParts(), partCount());
  932|       |
  933|       |  /* Our callers should never cause us to overflow.  */
  934|  15.7k|  assert(carry == 0);
  ------------------
  |  Branch (934:3): [True: 15.7k, False: 0]
  ------------------
  935|  15.7k|  (void)carry;
  936|  15.7k|}
_ZN7llvm_ks7APFloat19multiplySignificandERKS0_PS1_:
  973|  6.65k|{
  974|  6.65k|  unsigned int omsb;        // One, not zero, based MSB.
  975|  6.65k|  unsigned int partsCount, newPartsCount, precision;
  976|  6.65k|  integerPart *lhsSignificand;
  977|  6.65k|  integerPart scratch[4];
  978|  6.65k|  integerPart *fullSignificand;
  979|  6.65k|  lostFraction lost_fraction;
  980|  6.65k|  bool ignored;
  981|       |
  982|  6.65k|  assert(semantics == rhs.semantics);
  ------------------
  |  Branch (982:3): [True: 6.65k, False: 0]
  ------------------
  983|       |
  984|  6.65k|  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.65k|  newPartsCount = partCountForBits(precision * 2 + 1);
  989|       |
  990|  6.65k|  if (newPartsCount > 4)
  ------------------
  |  Branch (990:7): [True: 0, False: 6.65k]
  ------------------
  991|      0|    fullSignificand = new integerPart[newPartsCount];
  992|  6.65k|  else
  993|  6.65k|    fullSignificand = scratch;
  994|       |
  995|  6.65k|  lhsSignificand = significandParts();
  996|  6.65k|  partsCount = partCount();
  997|       |
  998|  6.65k|  APInt::tcFullMultiply(fullSignificand, lhsSignificand,
  999|  6.65k|                        rhs.significandParts(), partsCount, partsCount);
 1000|       |
 1001|  6.65k|  lost_fraction = lfExactlyZero;
 1002|  6.65k|  omsb = APInt::tcMSB(fullSignificand, newPartsCount) + 1;
 1003|  6.65k|  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.65k|  exponent += 2;
 1016|       |
 1017|  6.65k|  if (addend && addend->isNonZero()) {
  ------------------
  |  Branch (1017:7): [True: 0, False: 6.65k]
  |  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.65k|  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.65k|  if (omsb > precision) {
  ------------------
  |  Branch (1081:7): [True: 6.65k, False: 0]
  ------------------
 1082|  6.65k|    unsigned int bits, significantParts;
 1083|  6.65k|    lostFraction lf;
 1084|       |
 1085|  6.65k|    bits = omsb - precision;
 1086|  6.65k|    significantParts = partCountForBits(omsb);
 1087|  6.65k|    lf = shiftRight(fullSignificand, significantParts, bits);
 1088|  6.65k|    lost_fraction = combineLostFractions(lf, lost_fraction);
 1089|  6.65k|    exponent += bits;
 1090|  6.65k|  }
 1091|       |
 1092|  6.65k|  APInt::tcAssign(lhsSignificand, fullSignificand, partsCount);
 1093|       |
 1094|  6.65k|  if (newPartsCount > 4)
  ------------------
  |  Branch (1094:7): [True: 0, False: 6.65k]
  ------------------
 1095|      0|    delete [] fullSignificand;
 1096|       |
 1097|  6.65k|  return lost_fraction;
 1098|  6.65k|}
_ZN7llvm_ks7APFloat17divideSignificandERKS0_:
 1103|  15.9k|{
 1104|  15.9k|  unsigned int bit, i, partsCount;
 1105|  15.9k|  const integerPart *rhsSignificand;
 1106|  15.9k|  integerPart *lhsSignificand, *dividend, *divisor;
 1107|  15.9k|  integerPart scratch[4];
 1108|  15.9k|  lostFraction lost_fraction;
 1109|       |
 1110|  15.9k|  assert(semantics == rhs.semantics);
  ------------------
  |  Branch (1110:3): [True: 15.9k, False: 0]
  ------------------
 1111|       |
 1112|  15.9k|  lhsSignificand = significandParts();
 1113|  15.9k|  rhsSignificand = rhs.significandParts();
 1114|  15.9k|  partsCount = partCount();
 1115|       |
 1116|  15.9k|  if (partsCount > 2)
  ------------------
  |  Branch (1116:7): [True: 421, False: 15.5k]
  ------------------
 1117|    421|    dividend = new integerPart[partsCount * 2];
 1118|  15.5k|  else
 1119|  15.5k|    dividend = scratch;
 1120|       |
 1121|  15.9k|  divisor = dividend + partsCount;
 1122|       |
 1123|       |  /* Copy the dividend and divisor as they will be modified in-place.  */
 1124|  39.3k|  for (i = 0; i < partsCount; i++) {
  ------------------
  |  Branch (1124:15): [True: 23.4k, False: 15.9k]
  ------------------
 1125|  23.4k|    dividend[i] = lhsSignificand[i];
 1126|  23.4k|    divisor[i] = rhsSignificand[i];
 1127|  23.4k|    lhsSignificand[i] = 0;
 1128|  23.4k|  }
 1129|       |
 1130|  15.9k|  exponent -= rhs.exponent;
 1131|       |
 1132|  15.9k|  unsigned int precision = semantics->precision;
 1133|       |
 1134|       |  /* Normalize the divisor.  */
 1135|  15.9k|  bit = precision - APInt::tcMSB(divisor, partsCount) - 1;
 1136|  15.9k|  if (bit) {
  ------------------
  |  Branch (1136:7): [True: 0, False: 15.9k]
  ------------------
 1137|      0|    exponent += bit;
 1138|      0|    APInt::tcShiftLeft(divisor, partsCount, bit);
 1139|      0|  }
 1140|       |
 1141|       |  /* Normalize the dividend.  */
 1142|  15.9k|  bit = precision - APInt::tcMSB(dividend, partsCount) - 1;
 1143|  15.9k|  if (bit) {
  ------------------
  |  Branch (1143:7): [True: 0, False: 15.9k]
  ------------------
 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|  15.9k|  if (APInt::tcCompare(dividend, divisor, partsCount) < 0) {
  ------------------
  |  Branch (1151:7): [True: 10.5k, False: 5.37k]
  ------------------
 1152|  10.5k|    exponent--;
 1153|  10.5k|    APInt::tcShiftLeft(dividend, partsCount, 1);
 1154|  10.5k|    assert(APInt::tcCompare(dividend, divisor, partsCount) >= 0);
  ------------------
  |  Branch (1154:5): [True: 10.5k, False: 0]
  ------------------
 1155|  10.5k|  }
 1156|       |
 1157|       |  /* Long division.  */
 1158|  1.49M|  for (bit = precision; bit; bit -= 1) {
  ------------------
  |  Branch (1158:25): [True: 1.48M, False: 15.9k]
  ------------------
 1159|  1.48M|    if (APInt::tcCompare(dividend, divisor, partsCount) >= 0) {
  ------------------
  |  Branch (1159:9): [True: 701k, False: 782k]
  ------------------
 1160|   701k|      APInt::tcSubtract(dividend, divisor, 0, partsCount);
 1161|   701k|      APInt::tcSetBit(lhsSignificand, bit - 1);
 1162|   701k|    }
 1163|       |
 1164|  1.48M|    APInt::tcShiftLeft(dividend, partsCount, 1);
 1165|  1.48M|  }
 1166|       |
 1167|       |  /* Figure out the lost fraction.  */
 1168|  15.9k|  int cmp = APInt::tcCompare(dividend, divisor, partsCount);
 1169|       |
 1170|  15.9k|  if (cmp > 0)
  ------------------
  |  Branch (1170:7): [True: 4.55k, False: 11.4k]
  ------------------
 1171|  4.55k|    lost_fraction = lfMoreThanHalf;
 1172|  11.4k|  else if (cmp == 0)
  ------------------
  |  Branch (1172:12): [True: 0, False: 11.4k]
  ------------------
 1173|      0|    lost_fraction = lfExactlyHalf;
 1174|  11.4k|  else if (APInt::tcIsZero(dividend, partsCount))
  ------------------
  |  Branch (1174:12): [True: 1.36k, False: 10.0k]
  ------------------
 1175|  1.36k|    lost_fraction = lfExactlyZero;
 1176|  10.0k|  else
 1177|  10.0k|    lost_fraction = lfLessThanHalf;
 1178|       |
 1179|  15.9k|  if (partsCount > 2)
  ------------------
  |  Branch (1179:7): [True: 421, False: 15.5k]
  ------------------
 1180|    421|    delete [] dividend;
 1181|       |
 1182|  15.9k|  return lost_fraction;
 1183|  15.9k|}
_ZNK7llvm_ks7APFloat14significandMSBEv:
 1187|  88.1k|{
 1188|  88.1k|  return APInt::tcMSB(significandParts(), partCount());
 1189|  88.1k|}
_ZN7llvm_ks7APFloat21shiftSignificandRightEj:
 1200|  4.70k|{
 1201|       |  /* Our exponent should not overflow.  */
 1202|  4.70k|  assert((ExponentType) (exponent + bits) >= exponent);
  ------------------
  |  Branch (1202:3): [True: 4.70k, False: 0]
  ------------------
 1203|       |
 1204|  4.70k|  exponent += bits;
 1205|       |
 1206|  4.70k|  return shiftRight(significandParts(), partCount(), bits);
 1207|  4.70k|}
_ZN7llvm_ks7APFloat20shiftSignificandLeftEj:
 1212|  39.3k|{
 1213|  39.3k|  assert(bits < semantics->precision);
  ------------------
  |  Branch (1213:3): [True: 39.3k, False: 0]
  ------------------
 1214|       |
 1215|  39.3k|  if (bits) {
  ------------------
  |  Branch (1215:7): [True: 39.3k, False: 0]
  ------------------
 1216|  39.3k|    unsigned int partsCount = partCount();
 1217|       |
 1218|  39.3k|    APInt::tcShiftLeft(significandParts(), partsCount, bits);
 1219|  39.3k|    exponent -= bits;
 1220|       |
 1221|       |    assert(!APInt::tcIsZero(significandParts(), partsCount));
  ------------------
  |  Branch (1221:5): [True: 39.3k, False: 0]
  ------------------
 1222|  39.3k|  }
 1223|  39.3k|}
_ZN7llvm_ks7APFloat14handleOverflowENS0_12roundingModeE:
 1254|  1.31k|{
 1255|       |  /* Infinity?  */
 1256|  1.31k|  if (rounding_mode == rmNearestTiesToEven ||
  ------------------
  |  Branch (1256:7): [True: 1.31k, 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.31k|      (rounding_mode == rmTowardNegative && sign)) {
  ------------------
  |  Branch (1259:8): [True: 0, False: 0]
  |  Branch (1259:45): [True: 0, False: 0]
  ------------------
 1260|  1.31k|    category = fcInfinity;
 1261|  1.31k|    return (opStatus) (opOverflow | opInexact);
 1262|  1.31k|  }
 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.31k|}
_ZNK7llvm_ks7APFloat17roundAwayFromZeroENS0_12roundingModeENS_12lostFractionEj:
 1282|  25.6k|{
 1283|       |  /* NaNs and infinities should not have lost fractions.  */
 1284|  25.6k|  assert(isFiniteNonZero() || category == fcZero);
  ------------------
  |  Branch (1284:3): [True: 25.6k, False: 0]
  |  Branch (1284:3): [True: 0, False: 0]
  |  Branch (1284:3): [True: 25.6k, False: 0]
  ------------------
 1285|       |
 1286|       |  /* Current callers never pass this so we don't handle it.  */
 1287|  25.6k|  assert(lost_fraction != lfExactlyZero);
  ------------------
  |  Branch (1287:3): [True: 25.6k, False: 0]
  ------------------
 1288|       |
 1289|  25.6k|  switch (rounding_mode) {
  ------------------
  |  Branch (1289:11): [True: 25.6k, False: 0]
  ------------------
 1290|      0|  case rmNearestTiesToAway:
  ------------------
  |  Branch (1290:3): [True: 0, False: 25.6k]
  ------------------
 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|  25.6k|  case rmNearestTiesToEven:
  ------------------
  |  Branch (1293:3): [True: 25.6k, False: 0]
  ------------------
 1294|  25.6k|    if (lost_fraction == lfMoreThanHalf)
  ------------------
  |  Branch (1294:9): [True: 15.6k, False: 10.0k]
  ------------------
 1295|  15.6k|      return true;
 1296|       |
 1297|       |    /* Our zeroes don't have a significand to test.  */
 1298|  10.0k|    if (lost_fraction == lfExactlyHalf && category != fcZero)
  ------------------
  |  Branch (1298:9): [True: 238, False: 9.76k]
  |  Branch (1298:43): [True: 238, False: 0]
  ------------------
 1299|    238|      return APInt::tcExtractBit(significandParts(), bit);
 1300|       |
 1301|  9.76k|    return false;
 1302|       |
 1303|      0|  case rmTowardZero:
  ------------------
  |  Branch (1303:3): [True: 0, False: 25.6k]
  ------------------
 1304|      0|    return false;
 1305|       |
 1306|      0|  case rmTowardPositive:
  ------------------
  |  Branch (1306:3): [True: 0, False: 25.6k]
  ------------------
 1307|      0|    return !sign;
 1308|       |
 1309|      0|  case rmTowardNegative:
  ------------------
  |  Branch (1309:3): [True: 0, False: 25.6k]
  ------------------
 1310|      0|    return sign;
 1311|  25.6k|  }
 1312|      0|  llvm_unreachable("Invalid rounding mode found");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 1313|  25.6k|}
_ZN7llvm_ks7APFloat9normalizeENS0_12roundingModeENS_12lostFractionE:
 1318|  72.3k|{
 1319|  72.3k|  unsigned int omsb;                /* One, not zero, based MSB.  */
 1320|  72.3k|  int exponentChange;
 1321|       |
 1322|  72.3k|  if (!isFiniteNonZero())
  ------------------
  |  Branch (1322:7): [True: 0, False: 72.3k]
  ------------------
 1323|      0|    return opOK;
 1324|       |
 1325|       |  /* Before rounding normalize the exponent of fcNormal numbers.  */
 1326|  72.3k|  omsb = significandMSB() + 1;
 1327|       |
 1328|  72.3k|  if (omsb) {
  ------------------
  |  Branch (1328:7): [True: 71.5k, False: 851]
  ------------------
 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|  71.5k|    exponentChange = omsb - semantics->precision;
 1333|       |
 1334|       |    /* If the resulting exponent is too high, overflow according to
 1335|       |       the rounding mode.  */
 1336|  71.5k|    if (exponent + exponentChange > semantics->maxExponent)
  ------------------
  |  Branch (1336:9): [True: 385, False: 71.1k]
  ------------------
 1337|    385|      return handleOverflow(rounding_mode);
 1338|       |
 1339|       |    /* Subnormal numbers have exponent minExponent, and their MSB
 1340|       |       is forced based on that.  */
 1341|  71.1k|    if (exponent + exponentChange < semantics->minExponent)
  ------------------
  |  Branch (1341:9): [True: 2.01k, False: 69.1k]
  ------------------
 1342|  2.01k|      exponentChange = semantics->minExponent - exponent;
 1343|       |
 1344|       |    /* Shifting left is easy as we don't lose precision.  */
 1345|  71.1k|    if (exponentChange < 0) {
  ------------------
  |  Branch (1345:9): [True: 39.3k, False: 31.7k]
  ------------------
 1346|  39.3k|      assert(lost_fraction == lfExactlyZero);
  ------------------
  |  Branch (1346:7): [True: 39.3k, False: 0]
  ------------------
 1347|       |
 1348|  39.3k|      shiftSignificandLeft(-exponentChange);
 1349|       |
 1350|  39.3k|      return opOK;
 1351|  39.3k|    }
 1352|       |
 1353|  31.7k|    if (exponentChange > 0) {
  ------------------
  |  Branch (1353:9): [True: 4.44k, False: 27.3k]
  ------------------
 1354|  4.44k|      lostFraction lf;
 1355|       |
 1356|       |      /* Shift right and capture any new lost fraction.  */
 1357|  4.44k|      lf = shiftSignificandRight(exponentChange);
 1358|       |
 1359|  4.44k|      lost_fraction = combineLostFractions(lf, lost_fraction);
 1360|       |
 1361|       |      /* Keep OMSB up-to-date.  */
 1362|  4.44k|      if (omsb > (unsigned) exponentChange)
  ------------------
  |  Branch (1362:11): [True: 2.55k, False: 1.88k]
  ------------------
 1363|  2.55k|        omsb -= exponentChange;
 1364|  1.88k|      else
 1365|  1.88k|        omsb = 0;
 1366|  4.44k|    }
 1367|  31.7k|  }
 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|  32.6k|  if (lost_fraction == lfExactlyZero) {
  ------------------
  |  Branch (1374:7): [True: 6.99k, False: 25.6k]
  ------------------
 1375|       |    /* Canonicalize zeroes.  */
 1376|  6.99k|    if (omsb == 0)
  ------------------
  |  Branch (1376:9): [True: 403, False: 6.58k]
  ------------------
 1377|    403|      category = fcZero;
 1378|       |
 1379|  6.99k|    return opOK;
 1380|  6.99k|  }
 1381|       |
 1382|       |  /* Increment the significand if we're rounding away from zero.  */
 1383|  25.6k|  if (roundAwayFromZero(rounding_mode, lost_fraction, 0)) {
  ------------------
  |  Branch (1383:7): [True: 15.7k, False: 9.88k]
  ------------------
 1384|  15.7k|    if (omsb == 0)
  ------------------
  |  Branch (1384:9): [True: 65, False: 15.7k]
  ------------------
 1385|     65|      exponent = semantics->minExponent;
 1386|       |
 1387|  15.7k|    incrementSignificand();
 1388|  15.7k|    omsb = significandMSB() + 1;
 1389|       |
 1390|       |    /* Did the significand increment overflow?  */
 1391|  15.7k|    if (omsb == (unsigned) semantics->precision + 1) {
  ------------------
  |  Branch (1391:9): [True: 266, False: 15.5k]
  ------------------
 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|    266|      if (exponent == semantics->maxExponent) {
  ------------------
  |  Branch (1395:11): [True: 1, False: 265]
  ------------------
 1396|      1|        category = fcInfinity;
 1397|       |
 1398|      1|        return (opStatus) (opOverflow | opInexact);
 1399|      1|      }
 1400|       |
 1401|    265|      shiftSignificandRight(1);
 1402|       |
 1403|    265|      return opInexact;
 1404|    266|    }
 1405|  15.7k|  }
 1406|       |
 1407|       |  /* The normal case - we were and are not denormal, and any
 1408|       |     significand increment above didn't overflow.  */
 1409|  25.3k|  if (omsb == semantics->precision)
  ------------------
  |  Branch (1409:7): [True: 22.9k, False: 2.46k]
  ------------------
 1410|  22.9k|    return opInexact;
 1411|       |
 1412|       |  /* We have a non-zero denormal.  */
 1413|  25.3k|  assert(omsb < semantics->precision);
  ------------------
  |  Branch (1413:3): [True: 2.46k, False: 0]
  ------------------
 1414|       |
 1415|       |  /* Canonicalize zeroes.  */
 1416|  2.46k|  if (omsb == 0)
  ------------------
  |  Branch (1416:7): [True: 2.27k, False: 192]
  ------------------
 1417|  2.27k|    category = fcZero;
 1418|       |
 1419|       |  /* The fcZero case is a denormal that underflowed to zero.  */
 1420|  2.46k|  return (opStatus) (opUnderflow | opInexact);
 1421|  2.46k|}
_ZN7llvm_ks7APFloat10changeSignEv:
 1677|    856|{
 1678|       |  /* Look mummy, this one's easy.  */
 1679|    856|  sign = !sign;
 1680|    856|}
_ZN7llvm_ks7APFloat24convertFromUnsignedPartsEPKmjNS0_12roundingModeE:
 2297|  45.2k|{
 2298|  45.2k|  unsigned int omsb, precision, dstCount;
 2299|  45.2k|  integerPart *dst;
 2300|  45.2k|  lostFraction lost_fraction;
 2301|       |
 2302|  45.2k|  category = fcNormal;
 2303|  45.2k|  omsb = APInt::tcMSB(src, srcCount) + 1;
 2304|  45.2k|  dst = significandParts();
 2305|  45.2k|  dstCount = partCount();
 2306|  45.2k|  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|  45.2k|  if (precision <= omsb) {
  ------------------
  |  Branch (2310:7): [True: 5.86k, False: 39.3k]
  ------------------
 2311|  5.86k|    exponent = omsb - 1;
 2312|  5.86k|    lost_fraction = lostFractionThroughTruncation(src, srcCount,
 2313|  5.86k|                                                  omsb - precision);
 2314|  5.86k|    APInt::tcExtract(dst, dstCount, src, precision, omsb - precision);
 2315|  39.3k|  } else {
 2316|  39.3k|    exponent = precision - 1;
 2317|  39.3k|    lost_fraction = lfExactlyZero;
 2318|  39.3k|    APInt::tcExtract(dst, dstCount, src, omsb, 0);
 2319|  39.3k|  }
 2320|       |
 2321|  45.2k|  return normalize(rounding_mode, lost_fraction);
 2322|  45.2k|}
_ZN7llvm_ks7APFloat28convertFromHexadecimalStringENS_9StringRefENS0_12roundingModeE:
 2391|  5.22k|{
 2392|  5.22k|  lostFraction lost_fraction = lfExactlyZero;
 2393|       |
 2394|  5.22k|  category = fcNormal;
 2395|  5.22k|  zeroSignificand();
 2396|  5.22k|  exponent = 0;
 2397|       |
 2398|  5.22k|  integerPart *significand = significandParts();
 2399|  5.22k|  unsigned partsCount = partCount();
 2400|  5.22k|  unsigned bitPos = partsCount * integerPartWidth;
 2401|  5.22k|  bool computedTrailingFraction = false;
 2402|       |
 2403|       |  // Skip leading zeroes and any (hexa)decimal point.
 2404|  5.22k|  StringRef::iterator begin = s.begin();
 2405|  5.22k|  StringRef::iterator end = s.end();
 2406|  5.22k|  StringRef::iterator dot;
 2407|  5.22k|  StringRef::iterator p = skipLeadingZeroesAndAnyDot(begin, end, &dot);
 2408|  5.22k|  StringRef::iterator firstSignificantDigit = p;
 2409|       |
 2410|  55.2k|  while (p != end) {
  ------------------
  |  Branch (2410:10): [True: 55.2k, False: 0]
  ------------------
 2411|  55.2k|    integerPart hex_value;
 2412|       |
 2413|  55.2k|    if (*p == '.') {
  ------------------
  |  Branch (2413:9): [True: 214, False: 55.0k]
  ------------------
 2414|    214|      assert(dot == end && "String contains multiple dots");
  ------------------
  |  Branch (2414:7): [True: 214, False: 0]
  |  Branch (2414:7): [True: 214, Folded]
  |  Branch (2414:7): [True: 214, False: 0]
  ------------------
 2415|    214|      dot = p++;
 2416|    214|      continue;
 2417|    214|    }
 2418|       |
 2419|  55.0k|    hex_value = hexDigitValue(*p);
 2420|  55.0k|    if (hex_value == -1U)
  ------------------
  |  Branch (2420:9): [True: 5.22k, False: 49.7k]
  ------------------
 2421|  5.22k|      break;
 2422|       |
 2423|  49.7k|    p++;
 2424|       |
 2425|       |    // Store the number while we have space.
 2426|  49.7k|    if (bitPos) {
  ------------------
  |  Branch (2426:9): [True: 28.1k, False: 21.6k]
  ------------------
 2427|  28.1k|      bitPos -= 4;
 2428|  28.1k|      hex_value <<= bitPos % integerPartWidth;
 2429|  28.1k|      significand[bitPos / integerPartWidth] |= hex_value;
 2430|  28.1k|    } else if (!computedTrailingFraction) {
  ------------------
  |  Branch (2430:16): [True: 1.22k, False: 20.4k]
  ------------------
 2431|  1.22k|      lost_fraction = trailingHexadecimalFraction(p, end, hex_value);
 2432|  1.22k|      computedTrailingFraction = true;
 2433|  1.22k|    }
 2434|  49.7k|  }
 2435|       |
 2436|       |  /* Hex floats require an exponent but not a hexadecimal point.  */
 2437|  5.22k|  assert(p != end && "Hex strings require an exponent");
  ------------------
  |  Branch (2437:3): [True: 5.22k, False: 0]
  |  Branch (2437:3): [True: 5.22k, Folded]
  |  Branch (2437:3): [True: 5.22k, False: 0]
  ------------------
 2438|  5.22k|  assert((*p == 'p' || *p == 'P') && "Invalid character in significand");
  ------------------
  |  Branch (2438:3): [True: 4.49k, False: 738]
  |  Branch (2438:3): [True: 738, False: 0]
  |  Branch (2438:3): [True: 5.22k, Folded]
  |  Branch (2438:3): [True: 5.22k, False: 0]
  ------------------
 2439|  5.22k|  assert(p != begin && "Significand has no digits");
  ------------------
  |  Branch (2439:3): [True: 5.22k, False: 0]
  |  Branch (2439:3): [True: 5.22k, Folded]
  |  Branch (2439:3): [True: 5.22k, False: 0]
  ------------------
 2440|  5.22k|  assert((dot == end || p - begin != 1) && "Significand has no digits");
  ------------------
  |  Branch (2440:3): [True: 4.79k, False: 432]
  |  Branch (2440:3): [True: 432, False: 0]
  |  Branch (2440:3): [True: 5.22k, Folded]
  |  Branch (2440:3): [True: 5.22k, False: 0]
  ------------------
 2441|       |
 2442|       |  /* Ignore the exponent if we are zero.  */
 2443|  5.22k|  if (p != firstSignificantDigit) {
  ------------------
  |  Branch (2443:7): [True: 4.82k, False: 403]
  ------------------
 2444|  4.82k|    int expAdjustment;
 2445|       |
 2446|       |    /* Implicit hexadecimal point?  */
 2447|  4.82k|    if (dot == end)
  ------------------
  |  Branch (2447:9): [True: 4.45k, False: 376]
  ------------------
 2448|  4.45k|      dot = p;
 2449|       |
 2450|       |    /* Calculate the exponent adjustment implicit in the number of
 2451|       |       significant digits.  */
 2452|  4.82k|    expAdjustment = static_cast<int>(dot - firstSignificantDigit);
 2453|  4.82k|    if (expAdjustment < 0)
  ------------------
  |  Branch (2453:9): [True: 162, False: 4.66k]
  ------------------
 2454|    162|      expAdjustment++;
 2455|  4.82k|    expAdjustment = expAdjustment * 4 - 1;
 2456|       |
 2457|       |    /* Adjust for writing the significand starting at the most
 2458|       |       significant nibble.  */
 2459|  4.82k|    expAdjustment += semantics->precision;
 2460|  4.82k|    expAdjustment -= partsCount * integerPartWidth;
 2461|       |
 2462|       |    /* Adjust for the given exponent.  */
 2463|  4.82k|    exponent = totalExponent(p + 1, end, expAdjustment);
 2464|  4.82k|  }
 2465|       |
 2466|  5.22k|  return normalize(rounding_mode, lost_fraction);
 2467|  5.22k|}
_ZN7llvm_ks7APFloat28roundSignificandWithExponentEPKmjiNS0_12roundingModeE:
 2473|  21.6k|{
 2474|  21.6k|  unsigned int parts, pow5PartCount;
 2475|  21.6k|  fltSemantics calcSemantics = { 32767, -32767, 0, 0 };
 2476|  21.6k|  integerPart pow5Parts[maxPowerOfFiveParts];
 2477|  21.6k|  bool isNearest;
 2478|       |
 2479|  21.6k|  isNearest = (rounding_mode == rmNearestTiesToEven ||
  ------------------
  |  Branch (2479:16): [True: 21.6k, False: 0]
  ------------------
 2480|      0|               rounding_mode == rmNearestTiesToAway);
  ------------------
  |  Branch (2480:16): [True: 0, False: 0]
  ------------------
 2481|       |
 2482|  21.6k|  parts = partCountForBits(semantics->precision + 11);
 2483|       |
 2484|       |  /* Calculate pow(5, abs(exp)).  */
 2485|  21.6k|  pow5PartCount = powerOf5(pow5Parts, exp >= 0 ? exp: -exp);
  ------------------
  |  Branch (2485:39): [True: 6.63k, False: 14.9k]
  ------------------
 2486|       |
 2487|  22.6k|  for (;; parts *= 2) {
 2488|  22.6k|    opStatus sigStatus, powStatus;
 2489|  22.6k|    unsigned int excessPrecision, truncatedBits;
 2490|       |
 2491|  22.6k|    calcSemantics.precision = parts * integerPartWidth - 1;
 2492|  22.6k|    excessPrecision = calcSemantics.precision - semantics->precision;
 2493|  22.6k|    truncatedBits = excessPrecision;
 2494|       |
 2495|  22.6k|    APFloat decSig = APFloat::getZero(calcSemantics, sign);
 2496|  22.6k|    APFloat pow5(calcSemantics);
 2497|       |
 2498|  22.6k|    sigStatus = decSig.convertFromUnsignedParts(decSigParts, sigPartCount,
 2499|  22.6k|                                                rmNearestTiesToEven);
 2500|  22.6k|    powStatus = pow5.convertFromUnsignedParts(pow5Parts, pow5PartCount,
 2501|  22.6k|                                              rmNearestTiesToEven);
 2502|       |    /* Add exp, as 10^n = 5^n * 2^n.  */
 2503|  22.6k|    decSig.exponent += exp;
 2504|       |
 2505|  22.6k|    lostFraction calcLostFraction;
 2506|  22.6k|    integerPart HUerr, HUdistance;
 2507|  22.6k|    unsigned int powHUerr;
 2508|       |
 2509|  22.6k|    if (exp >= 0) {
  ------------------
  |  Branch (2509:9): [True: 6.65k, False: 15.9k]
  ------------------
 2510|       |      /* multiplySignificand leaves the precision-th bit set to 1.  */
 2511|  6.65k|      calcLostFraction = decSig.multiplySignificand(pow5, nullptr);
 2512|  6.65k|      powHUerr = powStatus != opOK;
 2513|  15.9k|    } else {
 2514|  15.9k|      calcLostFraction = decSig.divideSignificand(pow5);
 2515|       |      /* Denormal numbers have less precision.  */
 2516|  15.9k|      if (decSig.exponent < semantics->minExponent) {
  ------------------
  |  Branch (2516:11): [True: 242, False: 15.7k]
  ------------------
 2517|    242|        excessPrecision += (semantics->minExponent - decSig.exponent);
 2518|    242|        truncatedBits = excessPrecision;
 2519|    242|        if (excessPrecision > calcSemantics.precision)
  ------------------
  |  Branch (2519:13): [True: 50, False: 192]
  ------------------
 2520|     50|          excessPrecision = calcSemantics.precision;
 2521|    242|      }
 2522|       |      /* Extra half-ulp lost in reciprocal of exponent.  */
 2523|  15.9k|      powHUerr = (powStatus == opOK && calcLostFraction == lfExactlyZero) ? 0:2;
  ------------------
  |  Branch (2523:19): [True: 14.7k, False: 1.24k]
  |  Branch (2523:40): [True: 1.34k, False: 13.3k]
  ------------------
 2524|  15.9k|    }
 2525|       |
 2526|       |    /* Both multiplySignificand and divideSignificand return the
 2527|       |       result with the integer bit set.  */
 2528|  22.6k|    assert(APInt::tcExtractBit
  ------------------
  |  Branch (2528:5): [True: 22.6k, False: 0]
  ------------------
 2529|  22.6k|           (decSig.significandParts(), calcSemantics.precision - 1) == 1);
 2530|       |
 2531|  22.6k|    HUerr = HUerrBound(calcLostFraction != lfExactlyZero, sigStatus != opOK,
 2532|  22.6k|                       powHUerr);
 2533|  22.6k|    HUdistance = 2 * ulpsFromBoundary(decSig.significandParts(),
 2534|  22.6k|                                      excessPrecision, isNearest);
 2535|       |
 2536|       |    /* Are we guaranteed to round correctly if we truncate?  */
 2537|  22.6k|    if (HUdistance >= HUerr) {
  ------------------
  |  Branch (2537:9): [True: 21.6k, False: 1.00k]
  ------------------
 2538|  21.6k|      APInt::tcExtract(significandParts(), partCount(), decSig.significandParts(),
 2539|  21.6k|                       calcSemantics.precision - excessPrecision,
 2540|  21.6k|                       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|  21.6k|      exponent = (decSig.exponent + semantics->precision
 2545|  21.6k|                  - (calcSemantics.precision - excessPrecision));
 2546|  21.6k|      calcLostFraction = lostFractionThroughTruncation(decSig.significandParts(),
 2547|  21.6k|                                                       decSig.partCount(),
 2548|  21.6k|                                                       truncatedBits);
 2549|  21.6k|      return normalize(rounding_mode, calcLostFraction);
 2550|  21.6k|    }
 2551|  22.6k|  }
 2552|  21.6k|}
_ZN7llvm_ks7APFloat24convertFromDecimalStringENS_9StringRefENS0_12roundingModeE:
 2556|  24.9k|{
 2557|  24.9k|  decimalInfo D;
 2558|  24.9k|  opStatus fs;
 2559|       |
 2560|       |  /* Scan the text.  */
 2561|  24.9k|  StringRef::iterator p = str.begin();
 2562|  24.9k|  fs = interpretDecimal(p, str.end(), &D);
 2563|  24.9k|  if (fs != opOK)
  ------------------
  |  Branch (2563:7): [True: 479, False: 24.4k]
  ------------------
 2564|    479|      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|  24.4k|  if (D.firstSigDigit == str.end() || decDigitValue(*D.firstSigDigit) >= 10U) {
  ------------------
  |  Branch (2590:7): [True: 1.46k, False: 22.9k]
  |  Branch (2590:39): [True: 88, False: 22.8k]
  ------------------
 2591|  1.55k|    category = fcZero;
 2592|  1.55k|    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|  22.8k|  } else if (D.normalizedExponent - 1 > INT_MAX / 42039) {
  ------------------
  |  Branch (2596:14): [True: 510, False: 22.3k]
  ------------------
 2597|    510|    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|  22.3k|  } else if (D.normalizedExponent - 1 < INT_MIN / 42039 ||
  ------------------
  |  Branch (2603:14): [True: 44, False: 22.3k]
  ------------------
 2604|  22.3k|             (D.normalizedExponent + 1) * 28738 <=
  ------------------
  |  Branch (2604:14): [True: 289, False: 22.0k]
  ------------------
 2605|  22.3k|               8651 * (semantics->minExponent - (int) semantics->precision)) {
 2606|       |    /* Underflow to zero and round.  */
 2607|    333|    category = fcNormal;
 2608|    333|    zeroSignificand();
 2609|    333|    fs = normalize(rounding_mode, lfLessThanHalf);
 2610|       |
 2611|       |  /* We can finally safely perform the max-exponent check. */
 2612|  22.0k|  } else if ((D.normalizedExponent - 1) * 42039
  ------------------
  |  Branch (2612:14): [True: 419, False: 21.6k]
  ------------------
 2613|  22.0k|             >= 12655 * semantics->maxExponent) {
 2614|       |    /* Overflow and round.  */
 2615|    419|    fs = handleOverflow(rounding_mode);
 2616|  21.6k|  } else {
 2617|  21.6k|    integerPart *decSignificand;
 2618|  21.6k|    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|  21.6k|    partCount = static_cast<unsigned int>(D.lastSigDigit - D.firstSigDigit) + 1;
 2625|  21.6k|    partCount = partCountForBits(1 + 196 * partCount / 59);
 2626|  21.6k|    decSignificand = new integerPart[partCount + 1];
 2627|  21.6k|    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|  26.9k|    do {
 2634|  26.9k|      integerPart decValue, val, multiplier;
 2635|       |
 2636|  26.9k|      val = 0;
 2637|  26.9k|      multiplier = 1;
 2638|       |
 2639|   143k|      do {
 2640|   143k|        if (*p == '.') {
  ------------------
  |  Branch (2640:13): [True: 19.3k, False: 124k]
  ------------------
 2641|  19.3k|          p++;
 2642|  19.3k|          if (p == str.end()) {
  ------------------
  |  Branch (2642:15): [True: 0, False: 19.3k]
  ------------------
 2643|      0|            break;
 2644|      0|          }
 2645|  19.3k|        }
 2646|   143k|        decValue = decDigitValue(*p++);
 2647|   143k|        assert(decValue < 10U && "Invalid character in significand");
  ------------------
  |  Branch (2647:9): [True: 143k, False: 0]
  |  Branch (2647:9): [True: 143k, Folded]
  |  Branch (2647:9): [True: 143k, False: 0]
  ------------------
 2648|   143k|        multiplier *= 10;
 2649|   143k|        val = val * 10 + decValue;
 2650|       |        /* The maximum number that can be multiplied by ten with any
 2651|       |           digit added without overflowing an integerPart.  */
 2652|   143k|      } while (p <= D.lastSigDigit && multiplier <= (~ (integerPart) 0 - 9) / 10);
  ------------------
  |  Branch (2652:16): [True: 122k, False: 21.6k]
  |  Branch (2652:39): [True: 117k, False: 5.30k]
  ------------------
 2653|       |
 2654|       |      /* Multiply out the current part.  */
 2655|  26.9k|      APInt::tcMultiplyPart(decSignificand, decSignificand, multiplier, val,
 2656|  26.9k|                            partCount, partCount + 1, false);
 2657|       |
 2658|       |      /* If we used another part (likely but not guaranteed), increase
 2659|       |         the count.  */
 2660|  26.9k|      if (decSignificand[partCount])
  ------------------
  |  Branch (2660:11): [True: 26.4k, False: 507]
  ------------------
 2661|  26.4k|        partCount++;
 2662|  26.9k|    } while (p <= D.lastSigDigit);
  ------------------
  |  Branch (2662:14): [True: 5.30k, False: 21.6k]
  ------------------
 2663|       |
 2664|  21.6k|    category = fcNormal;
 2665|  21.6k|    fs = roundSignificandWithExponent(decSignificand, partCount,
 2666|  21.6k|                                      D.exponent, rounding_mode);
 2667|       |
 2668|  21.6k|    delete [] decSignificand;
 2669|  21.6k|  }
 2670|       |
 2671|  24.4k|  return fs;
 2672|  24.4k|}
_ZN7llvm_ks7APFloat25convertFromStringSpecialsENS_9StringRefE:
 2675|  30.1k|APFloat::convertFromStringSpecials(StringRef str) {
 2676|  30.1k|  if (str.equals("inf") || str.equals("INFINITY")) {
  ------------------
  |  Branch (2676:7): [True: 0, False: 30.1k]
  |  Branch (2676:7): [True: 0, False: 30.1k]
  |  Branch (2676:28): [True: 0, False: 30.1k]
  ------------------
 2677|      0|    makeInf(false);
 2678|      0|    return true;
 2679|      0|  }
 2680|       |
 2681|  30.1k|  if (str.equals("-inf") || str.equals("-INFINITY")) {
  ------------------
  |  Branch (2681:7): [True: 0, False: 30.1k]
  |  Branch (2681:7): [True: 0, False: 30.1k]
  |  Branch (2681:29): [True: 0, False: 30.1k]
  ------------------
 2682|      0|    makeInf(true);
 2683|      0|    return true;
 2684|      0|  }
 2685|       |
 2686|  30.1k|  if (str.equals("nan") || str.equals("NaN")) {
  ------------------
  |  Branch (2686:7): [True: 0, False: 30.1k]
  |  Branch (2686:7): [True: 0, False: 30.1k]
  |  Branch (2686:28): [True: 0, False: 30.1k]
  ------------------
 2687|      0|    makeNaN(false, false);
 2688|      0|    return true;
 2689|      0|  }
 2690|       |
 2691|  30.1k|  if (str.equals("-nan") || str.equals("-NaN")) {
  ------------------
  |  Branch (2691:7): [True: 0, False: 30.1k]
  |  Branch (2691:7): [True: 0, False: 30.1k]
  |  Branch (2691:29): [True: 0, False: 30.1k]
  ------------------
 2692|      0|    makeNaN(false, true);
 2693|      0|    return true;
 2694|      0|  }
 2695|       |
 2696|  30.1k|  return false;
 2697|  30.1k|}
_ZN7llvm_ks7APFloat17convertFromStringENS_9StringRefENS0_12roundingModeE:
 2701|  30.1k|{
 2702|  30.1k|  assert(!str.empty() && "Invalid string length");
  ------------------
  |  Branch (2702:3): [True: 30.1k, False: 0]
  |  Branch (2702:3): [True: 30.1k, Folded]
  |  Branch (2702:3): [True: 30.1k, False: 0]
  ------------------
 2703|       |
 2704|       |  // Handle special cases.
 2705|  30.1k|  if (convertFromStringSpecials(str))
  ------------------
  |  Branch (2705:7): [True: 0, False: 30.1k]
  ------------------
 2706|      0|    return opOK;
 2707|       |
 2708|       |  /* Handle a leading minus sign.  */
 2709|  30.1k|  StringRef::iterator p = str.begin();
 2710|  30.1k|  size_t slen = str.size();
 2711|  30.1k|  sign = *p == '-' ? 1 : 0;
  ------------------
  |  Branch (2711:10): [True: 0, False: 30.1k]
  ------------------
 2712|  30.1k|  if (*p == '-' || *p == '+') {
  ------------------
  |  Branch (2712:7): [True: 0, False: 30.1k]
  |  Branch (2712:20): [True: 0, False: 30.1k]
  ------------------
 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|  30.1k|  if (slen >= 2 && p[0] == '0' && (p[1] == 'x' || p[1] == 'X')) {
  ------------------
  |  Branch (2718:7): [True: 28.3k, False: 1.74k]
  |  Branch (2718:20): [True: 5.90k, False: 22.4k]
  |  Branch (2718:36): [True: 4.64k, False: 1.25k]
  |  Branch (2718:51): [True: 587, False: 672]
  ------------------
 2719|  5.22k|    assert(slen - 2 && "Invalid string");
  ------------------
  |  Branch (2719:5): [True: 5.22k, False: 0]
  |  Branch (2719:5): [True: 5.22k, Folded]
  |  Branch (2719:5): [True: 5.22k, False: 0]
  ------------------
 2720|  5.22k|    return convertFromHexadecimalString(StringRef(p + 2, slen - 2),
 2721|  5.22k|                                        rounding_mode);
 2722|  5.22k|  }
 2723|       |
 2724|  24.9k|  return convertFromDecimalString(StringRef(p, slen), rounding_mode);
 2725|  30.1k|}
_ZNK7llvm_ks7APFloat27convertDoubleAPFloatToAPIntEv:
 3048|  26.8k|{
 3049|  26.8k|  assert(semantics == (const llvm_ks::fltSemantics*)&IEEEdouble);
  ------------------
  |  Branch (3049:3): [True: 26.8k, False: 0]
  ------------------
 3050|  26.8k|  assert(partCount()==1);
  ------------------
  |  Branch (3050:3): [True: 26.8k, False: 0]
  ------------------
 3051|       |
 3052|  26.8k|  uint64_t myexponent, mysignificand;
 3053|       |
 3054|  26.8k|  if (isFiniteNonZero()) {
  ------------------
  |  Branch (3054:7): [True: 22.0k, False: 4.74k]
  ------------------
 3055|  22.0k|    myexponent = exponent+1023; //bias
 3056|  22.0k|    mysignificand = *significandParts();
 3057|  22.0k|    if (myexponent==1 && !(mysignificand & 0x10000000000000LL))
  ------------------
  |  Branch (3057:9): [True: 253, False: 21.8k]
  |  Branch (3057:26): [True: 166, False: 87]
  ------------------
 3058|    166|      myexponent = 0;   // denormal
 3059|  22.0k|  } else if (category==fcZero) {
  ------------------
  |  Branch (3059:14): [True: 3.37k, False: 1.37k]
  ------------------
 3060|  3.37k|    myexponent = 0;
 3061|  3.37k|    mysignificand = 0;
 3062|  3.37k|  } else if (category==fcInfinity) {
  ------------------
  |  Branch (3062:14): [True: 1.37k, False: 0]
  ------------------
 3063|  1.37k|    myexponent = 0x7ff;
 3064|  1.37k|    mysignificand = 0;
 3065|  1.37k|  } else {
 3066|      0|    assert(category == fcNaN && "Unknown category!");
  ------------------
  |  Branch (3066:5): [True: 0, False: 0]
  |  Branch (3066:5): [True: 0, Folded]
  |  Branch (3066:5): [True: 0, False: 0]
  ------------------
 3067|      0|    myexponent = 0x7ff;
 3068|      0|    mysignificand = *significandParts();
 3069|      0|  }
 3070|       |
 3071|  26.8k|  return APInt(64, ((((uint64_t)(sign & 1) << 63) |
 3072|  26.8k|                     ((myexponent & 0x7ff) <<  52) |
 3073|  26.8k|                     (mysignificand & 0xfffffffffffffLL))));
 3074|  26.8k|}
_ZNK7llvm_ks7APFloat26convertFloatAPFloatToAPIntEv:
 3078|  4.09k|{
 3079|  4.09k|  assert(semantics == (const llvm_ks::fltSemantics*)&IEEEsingle);
  ------------------
  |  Branch (3079:3): [True: 4.09k, False: 0]
  ------------------
 3080|  4.09k|  assert(partCount()==1);
  ------------------
  |  Branch (3080:3): [True: 4.09k, False: 0]
  ------------------
 3081|       |
 3082|  4.09k|  uint32_t myexponent, mysignificand;
 3083|       |
 3084|  4.09k|  if (isFiniteNonZero()) {
  ------------------
  |  Branch (3084:7): [True: 2.45k, False: 1.63k]
  ------------------
 3085|  2.45k|    myexponent = exponent+127; //bias
 3086|  2.45k|    mysignificand = (uint32_t)*significandParts();
 3087|  2.45k|    if (myexponent == 1 && !(mysignificand & 0x800000))
  ------------------
  |  Branch (3087:9): [True: 46, False: 2.41k]
  |  Branch (3087:28): [True: 26, False: 20]
  ------------------
 3088|     26|      myexponent = 0;   // denormal
 3089|  2.45k|  } else if (category==fcZero) {
  ------------------
  |  Branch (3089:14): [True: 859, False: 775]
  ------------------
 3090|    859|    myexponent = 0;
 3091|    859|    mysignificand = 0;
 3092|    859|  } else if (category==fcInfinity) {
  ------------------
  |  Branch (3092:14): [True: 402, False: 373]
  ------------------
 3093|    402|    myexponent = 0xff;
 3094|    402|    mysignificand = 0;
 3095|    402|  } else {
 3096|    373|    assert(category == fcNaN && "Unknown category!");
  ------------------
  |  Branch (3096:5): [True: 373, False: 0]
  |  Branch (3096:5): [True: 373, Folded]
  |  Branch (3096:5): [True: 373, False: 0]
  ------------------
 3097|    373|    myexponent = 0xff;
 3098|    373|    mysignificand = (uint32_t)*significandParts();
 3099|    373|  }
 3100|       |
 3101|  4.09k|  return APInt(32, (((sign&1) << 31) | ((myexponent&0xff) << 23) |
 3102|  4.09k|                    (mysignificand & 0x7fffff)));
 3103|  4.09k|}
_ZNK7llvm_ks7APFloat14bitcastToAPIntEv:
 3140|  30.8k|{
 3141|  30.8k|  if (semantics == (const llvm_ks::fltSemantics*)&IEEEhalf)
  ------------------
  |  Branch (3141:7): [True: 0, False: 30.8k]
  ------------------
 3142|      0|    return convertHalfAPFloatToAPInt();
 3143|       |
 3144|  30.8k|  if (semantics == (const llvm_ks::fltSemantics*)&IEEEsingle)
  ------------------
  |  Branch (3144:7): [True: 4.09k, False: 26.8k]
  ------------------
 3145|  4.09k|    return convertFloatAPFloatToAPInt();
 3146|       |
 3147|  26.8k|  if (semantics == (const llvm_ks::fltSemantics*)&IEEEdouble)
  ------------------
  |  Branch (3147:7): [True: 26.8k, False: 0]
  ------------------
 3148|  26.8k|    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|    399|APFloat::makeInf(bool Negative) {
 3969|    399|  category = fcInfinity;
 3970|    399|  sign = Negative;
 3971|    399|  exponent = semantics->maxExponent + 1;
 3972|    399|  APInt::tcSet(significandParts(), 0, partCount());
 3973|    399|}
_ZN7llvm_ks7APFloat8makeZeroEb:
 3976|  22.6k|APFloat::makeZero(bool Negative) {
 3977|  22.6k|  category = fcZero;
 3978|  22.6k|  sign = Negative;
 3979|  22.6k|  exponent = semantics->minExponent-1;
 3980|  22.6k|  APInt::tcSet(significandParts(), 0, partCount());  
 3981|  22.6k|}
APFloat.cpp:_ZL26skipLeadingZeroesAndAnyDotPKcS0_PS0_:
  236|  30.1k|{
  237|  30.1k|  StringRef::iterator p = begin;
  238|  30.1k|  *dot = end;
  239|  35.9k|  while (p != end && *p == '0')
  ------------------
  |  Branch (239:10): [True: 35.2k, False: 743]
  |  Branch (239:22): [True: 5.85k, False: 29.3k]
  ------------------
  240|  5.85k|    p++;
  241|       |
  242|  30.1k|  if (p != end && *p == '.') {
  ------------------
  |  Branch (242:7): [True: 29.3k, False: 743]
  |  Branch (242:19): [True: 22.1k, False: 7.26k]
  ------------------
  243|  22.1k|    *dot = p++;
  244|       |
  245|  22.1k|    assert(end - begin != 1 && "Significand has no digits");
  ------------------
  |  Branch (245:5): [True: 22.1k, False: 0]
  |  Branch (245:5): [True: 22.1k, Folded]
  |  Branch (245:5): [True: 22.1k, False: 0]
  ------------------
  246|       |
  247|  30.1k|    while (p != end && *p == '0')
  ------------------
  |  Branch (247:12): [True: 29.4k, False: 720]
  |  Branch (247:24): [True: 8.01k, False: 21.4k]
  ------------------
  248|  8.01k|      p++;
  249|  22.1k|  }
  250|       |
  251|  30.1k|  return p;
  252|  30.1k|}
APFloat.cpp:_ZL13decDigitValuej:
  109|   360k|{
  110|   360k|  return c - '0';
  111|   360k|}
APFloat.cpp:_ZL12readExponentPKcS0_RN7llvm_ks7APFloat8opStatusE:
  120|  6.92k|{
  121|  6.92k|  bool isNegative;
  122|  6.92k|  unsigned int absExponent;
  123|  6.92k|  const unsigned int overlargeExponent = 24000;  /* FIXME.  */
  124|  6.92k|  StringRef::iterator p = begin;
  125|       |
  126|  6.92k|  fp = APFloat::opOK;
  127|       |
  128|       |  //assert(p != end && "Exponent has no digits"); // qq
  129|  6.92k|  if (p == end) {
  ------------------
  |  Branch (129:7): [True: 299, False: 6.63k]
  ------------------
  130|    299|      fp = APFloat::opInvalidOp;
  131|    299|      return 0;
  132|    299|  }
  133|       |
  134|  6.63k|  isNegative = (*p == '-');
  135|  6.63k|  if (*p == '-' || *p == '+') {
  ------------------
  |  Branch (135:7): [True: 889, False: 5.74k]
  |  Branch (135:20): [True: 60, False: 5.68k]
  ------------------
  136|    949|    p++;
  137|       |    //assert(p != end && "Exponent has no digits");
  138|    949|    if (p == end) {
  ------------------
  |  Branch (138:9): [True: 174, False: 775]
  ------------------
  139|    174|      fp = APFloat::opInvalidOp;
  140|    174|      return 0;
  141|    174|    }
  142|    949|  }
  143|       |
  144|  6.45k|  absExponent = decDigitValue(*p++);
  145|       |  //assert(absExponent < 10U && "Invalid character in exponent");
  146|  6.45k|  if (absExponent >= 10U) {
  ------------------
  |  Branch (146:7): [True: 3, False: 6.45k]
  ------------------
  147|      3|      fp = APFloat::opInvalidOp;
  148|      3|      return 0;
  149|      3|  }
  150|       |
  151|  18.0k|  for (; p != end; ++p) {
  ------------------
  |  Branch (151:10): [True: 11.9k, False: 6.12k]
  ------------------
  152|  11.9k|    unsigned int value;
  153|       |
  154|  11.9k|    value = decDigitValue(*p);
  155|       |    //assert(value < 10U && "Invalid character in exponent");
  156|  11.9k|    if (value >= 10U) {
  ------------------
  |  Branch (156:9): [True: 1, False: 11.9k]
  ------------------
  157|      1|        fp = APFloat::opInvalidOp;
  158|      1|        return 0;
  159|      1|    }
  160|       |
  161|  11.9k|    value += absExponent * 10;
  162|  11.9k|    if (absExponent >= overlargeExponent) {
  ------------------
  |  Branch (162:9): [True: 332, False: 11.5k]
  ------------------
  163|    332|      absExponent = overlargeExponent;
  164|    332|      p = end;  /* outwit assert below */
  165|    332|      break;
  166|    332|    }
  167|  11.5k|    absExponent = value;
  168|  11.5k|  }
  169|       |
  170|       |  //assert(p == end && "Invalid exponent in exponent");
  171|  6.45k|  if (p != end) {
  ------------------
  |  Branch (171:7): [True: 0, False: 6.45k]
  ------------------
  172|      0|      fp = APFloat::opInvalidOp;
  173|      0|      return 0;
  174|      0|  }
  175|       |
  176|  6.45k|  if (isNegative)
  ------------------
  |  Branch (176:7): [True: 763, False: 5.68k]
  ------------------
  177|    763|    return -(int) absExponent;
  178|  5.68k|  else
  179|  5.68k|    return (int) absExponent;
  180|  6.45k|}
APFloat.cpp:_ZL16partCountForBitsj:
  102|   983k|{
  103|   983k|  return ((bits) + integerPartWidth - 1) / integerPartWidth;
  104|   983k|}
APFloat.cpp:_ZL10shiftRightPmjj:
  401|  11.3k|{
  402|  11.3k|  lostFraction lost_fraction;
  403|       |
  404|  11.3k|  lost_fraction = lostFractionThroughTruncation(dst, parts, bits);
  405|       |
  406|  11.3k|  APInt::tcShiftRight(dst, parts, bits);
  407|       |
  408|  11.3k|  return lost_fraction;
  409|  11.3k|}
APFloat.cpp:_ZL20combineLostFractionsN7llvm_ks12lostFractionES0_:
  415|  11.0k|{
  416|  11.0k|  if (lessSignificant != lfExactlyZero) {
  ------------------
  |  Branch (416:7): [True: 1.05k, False: 10.0k]
  ------------------
  417|  1.05k|    if (moreSignificant == lfExactlyZero)
  ------------------
  |  Branch (417:9): [True: 350, False: 708]
  ------------------
  418|    350|      moreSignificant = lfLessThanHalf;
  419|    708|    else if (moreSignificant == lfExactlyHalf)
  ------------------
  |  Branch (419:14): [True: 39, False: 669]
  ------------------
  420|     39|      moreSignificant = lfMoreThanHalf;
  421|  1.05k|  }
  422|       |
  423|  11.0k|  return moreSignificant;
  424|  11.0k|}
APFloat.cpp:_ZL29lostFractionThroughTruncationPKmjj:
  381|  38.8k|{
  382|  38.8k|  unsigned int lsb;
  383|       |
  384|  38.8k|  lsb = APInt::tcLSB(parts, partCount);
  385|       |
  386|       |  /* Note this is guaranteed true if bits == 0, or LSB == -1U.  */
  387|  38.8k|  if (bits <= lsb)
  ------------------
  |  Branch (387:7): [True: 12.2k, False: 26.5k]
  ------------------
  388|  12.2k|    return lfExactlyZero;
  389|  26.5k|  if (bits == lsb + 1)
  ------------------
  |  Branch (389:7): [True: 352, False: 26.1k]
  ------------------
  390|    352|    return lfExactlyHalf;
  391|  26.1k|  if (bits <= partCount * integerPartWidth &&
  ------------------
  |  Branch (391:7): [True: 24.2k, False: 1.92k]
  ------------------
  392|  24.2k|      APInt::tcExtractBit(parts, bits - 1))
  ------------------
  |  Branch (392:7): [True: 16.1k, False: 8.12k]
  ------------------
  393|  16.1k|    return lfMoreThanHalf;
  394|       |
  395|  10.0k|  return lfLessThanHalf;
  396|  26.1k|}
APFloat.cpp:_ZL27trailingHexadecimalFractionPKcS0_j:
  349|  1.22k|{
  350|  1.22k|  unsigned int hexDigit;
  351|       |
  352|       |  /* If the first trailing digit isn't 0 or 8 we can work out the
  353|       |     fraction immediately.  */
  354|  1.22k|  if (digitValue > 8)
  ------------------
  |  Branch (354:7): [True: 512, False: 715]
  ------------------
  355|    512|    return lfMoreThanHalf;
  356|    715|  else if (digitValue < 8 && digitValue > 0)
  ------------------
  |  Branch (356:12): [True: 587, False: 128]
  |  Branch (356:30): [True: 88, False: 499]
  ------------------
  357|     88|    return lfLessThanHalf;
  358|       |
  359|       |  // Otherwise we need to find the first non-zero digit.
  360|  3.13k|  while (p != end && (*p == '0' || *p == '.'))
  ------------------
  |  Branch (360:10): [True: 3.13k, False: 0]
  |  Branch (360:23): [True: 2.49k, False: 642]
  |  Branch (360:36): [True: 15, False: 627]
  ------------------
  361|  2.50k|    p++;
  362|       |
  363|    627|  assert(p != end && "Invalid trailing hexadecimal fraction!");
  ------------------
  |  Branch (363:3): [True: 627, False: 0]
  |  Branch (363:3): [True: 627, Folded]
  |  Branch (363:3): [True: 627, False: 0]
  ------------------
  364|       |
  365|    627|  hexDigit = hexDigitValue(*p);
  366|       |
  367|       |  /* If we ran off the end it is exactly zero or one-half, otherwise
  368|       |     a little more.  */
  369|    627|  if (hexDigit == -1U)
  ------------------
  |  Branch (369:7): [True: 156, False: 471]
  ------------------
  370|    156|    return digitValue == 0 ? lfExactlyZero: lfExactlyHalf;
  ------------------
  |  Branch (370:12): [True: 133, False: 23]
  ------------------
  371|    471|  else
  372|    471|    return digitValue == 0 ? lfLessThanHalf: lfMoreThanHalf;
  ------------------
  |  Branch (372:12): [True: 366, False: 105]
  ------------------
  373|    627|}
APFloat.cpp:_ZL13totalExponentPKcS0_i:
  187|  4.82k|{
  188|  4.82k|  int unsignedExponent;
  189|  4.82k|  bool negative, overflow;
  190|  4.82k|  int exponent = 0;
  191|       |
  192|  4.82k|  assert(p != end && "Exponent has no digits");
  ------------------
  |  Branch (192:3): [True: 4.82k, False: 0]
  |  Branch (192:3): [True: 4.82k, Folded]
  |  Branch (192:3): [True: 4.82k, False: 0]
  ------------------
  193|       |
  194|  4.82k|  negative = *p == '-';
  195|  4.82k|  if (*p == '-' || *p == '+') {
  ------------------
  |  Branch (195:7): [True: 2.69k, False: 2.13k]
  |  Branch (195:20): [True: 376, False: 1.75k]
  ------------------
  196|  3.06k|    p++;
  197|  3.06k|    assert(p != end && "Exponent has no digits");
  ------------------
  |  Branch (197:5): [True: 3.06k, False: 0]
  |  Branch (197:5): [True: 3.06k, Folded]
  |  Branch (197:5): [True: 3.06k, False: 0]
  ------------------
  198|  3.06k|  }
  199|       |
  200|  4.82k|  unsignedExponent = 0;
  201|  4.82k|  overflow = false;
  202|  24.8k|  for (; p != end; ++p) {
  ------------------
  |  Branch (202:10): [True: 21.1k, False: 3.72k]
  ------------------
  203|  21.1k|    unsigned int value;
  204|       |
  205|  21.1k|    value = decDigitValue(*p);
  206|  21.1k|    assert(value < 10U && "Invalid character in exponent");
  ------------------
  |  Branch (206:5): [True: 21.1k, False: 0]
  |  Branch (206:5): [True: 21.1k, Folded]
  |  Branch (206:5): [True: 21.1k, False: 0]
  ------------------
  207|       |
  208|  21.1k|    unsignedExponent = unsignedExponent * 10 + value;
  209|  21.1k|    if (unsignedExponent > 32767) {
  ------------------
  |  Branch (209:9): [True: 1.09k, False: 20.0k]
  ------------------
  210|  1.09k|      overflow = true;
  211|  1.09k|      break;
  212|  1.09k|    }
  213|  21.1k|  }
  214|       |
  215|  4.82k|  if (exponentAdjustment > 32767 || exponentAdjustment < -32768)
  ------------------
  |  Branch (215:7): [True: 0, False: 4.82k]
  |  Branch (215:37): [True: 0, False: 4.82k]
  ------------------
  216|      0|    overflow = true;
  217|       |
  218|  4.82k|  if (!overflow) {
  ------------------
  |  Branch (218:7): [True: 3.72k, False: 1.09k]
  ------------------
  219|  3.72k|    exponent = unsignedExponent;
  220|  3.72k|    if (negative)
  ------------------
  |  Branch (220:9): [True: 1.74k, False: 1.98k]
  ------------------
  221|  1.74k|      exponent = -exponent;
  222|  3.72k|    exponent += exponentAdjustment;
  223|  3.72k|    if (exponent > 32767 || exponent < -32768)
  ------------------
  |  Branch (223:9): [True: 12, False: 3.71k]
  |  Branch (223:29): [True: 307, False: 3.40k]
  ------------------
  224|    319|      overflow = true;
  225|  3.72k|  }
  226|       |
  227|  4.82k|  if (overflow)
  ------------------
  |  Branch (227:7): [True: 1.41k, False: 3.40k]
  ------------------
  228|  1.41k|    exponent = negative ? -32768: 32767;
  ------------------
  |  Branch (228:16): [True: 1.25k, False: 163]
  ------------------
  229|       |
  230|  4.82k|  return exponent;
  231|  4.82k|}
APFloat.cpp:_ZL8powerOf5Pmj:
  494|  21.6k|{
  495|  21.6k|  static const integerPart firstEightPowers[] = { 1, 5, 25, 125, 625, 3125,
  496|  21.6k|                                                  15625, 78125 };
  497|  21.6k|  integerPart pow5s[maxPowerOfFiveParts * 2 + 5];
  498|  21.6k|  pow5s[0] = 78125 * 5;
  499|       |
  500|  21.6k|  unsigned int partsCount[16] = { 1 };
  501|  21.6k|  integerPart scratch[maxPowerOfFiveParts], *p1, *p2, *pow5;
  502|  21.6k|  unsigned int result;
  503|  21.6k|  assert(power <= maxExponent);
  ------------------
  |  Branch (503:3): [True: 21.6k, False: 0]
  ------------------
  504|       |
  505|  21.6k|  p1 = dst;
  506|  21.6k|  p2 = scratch;
  507|       |
  508|  21.6k|  *p1 = firstEightPowers[power & 7];
  509|  21.6k|  power >>= 3;
  510|       |
  511|  21.6k|  result = 1;
  512|  21.6k|  pow5 = pow5s;
  513|       |
  514|  43.0k|  for (unsigned int n = 0; power; power >>= 1, n++) {
  ------------------
  |  Branch (514:28): [True: 21.4k, False: 21.6k]
  ------------------
  515|  21.4k|    unsigned int pc;
  516|       |
  517|  21.4k|    pc = partsCount[n];
  518|       |
  519|       |    /* Calculate pow(5,pow(2,n+3)) if we haven't yet.  */
  520|  21.4k|    if (pc == 0) {
  ------------------
  |  Branch (520:9): [True: 16.5k, False: 4.90k]
  ------------------
  521|  16.5k|      pc = partsCount[n - 1];
  522|  16.5k|      APInt::tcFullMultiply(pow5, pow5 - pc, pow5 - pc, pc, pc);
  523|  16.5k|      pc *= 2;
  524|  16.5k|      if (pow5[pc - 1] == 0)
  ------------------
  |  Branch (524:11): [True: 11.1k, False: 5.43k]
  ------------------
  525|  11.1k|        pc--;
  526|  16.5k|      partsCount[n] = pc;
  527|  16.5k|    }
  528|       |
  529|  21.4k|    if (power & 1) {
  ------------------
  |  Branch (529:9): [True: 10.9k, False: 10.5k]
  ------------------
  530|  10.9k|      integerPart *tmp;
  531|       |
  532|  10.9k|      APInt::tcFullMultiply(p2, p1, pow5, result, pc);
  533|  10.9k|      result += pc;
  534|  10.9k|      if (p2[result - 1] == 0)
  ------------------
  |  Branch (534:11): [True: 8.45k, False: 2.53k]
  ------------------
  535|  8.45k|        result--;
  536|       |
  537|       |      /* Now result is in p1 with partsCount parts and p2 is scratch
  538|       |         space.  */
  539|  10.9k|      tmp = p1, p1 = p2, p2 = tmp;
  540|  10.9k|    }
  541|       |
  542|  21.4k|    pow5 += pc;
  543|  21.4k|  }
  544|       |
  545|  21.6k|  if (p1 != dst)
  ------------------
  |  Branch (545:7): [True: 2.80k, False: 18.8k]
  ------------------
  546|  2.80k|    APInt::tcAssign(dst, p1, result);
  547|       |
  548|  21.6k|  return result;
  549|  21.6k|}
APFloat.cpp:_ZL10HUerrBoundbjj:
  435|  22.6k|{
  436|  22.6k|  assert(HUerr1 < 2 || HUerr2 < 2 || (HUerr1 + HUerr2 < 8));
  ------------------
  |  Branch (436:3): [True: 22.6k, False: 0]
  |  Branch (436:3): [True: 0, False: 0]
  |  Branch (436:3): [True: 0, False: 0]
  |  Branch (436:3): [True: 22.6k, False: 0]
  ------------------
  437|       |
  438|  22.6k|  if (HUerr1 + HUerr2 == 0)
  ------------------
  |  Branch (438:7): [True: 4.97k, False: 17.6k]
  ------------------
  439|  4.97k|    return inexactMultiply * 2;  /* <= inexactMultiply half-ulps.  */
  440|  17.6k|  else
  441|  17.6k|    return inexactMultiply + 2 * (HUerr1 + HUerr2);
  442|  22.6k|}
APFloat.cpp:_ZL16ulpsFromBoundaryPKmjb:
  449|  22.6k|{
  450|  22.6k|  unsigned int count, partBits;
  451|  22.6k|  integerPart part, boundary;
  452|       |
  453|  22.6k|  assert(bits != 0);
  ------------------
  |  Branch (453:3): [True: 22.6k, False: 0]
  ------------------
  454|       |
  455|  22.6k|  bits--;
  456|  22.6k|  count = bits / integerPartWidth;
  457|  22.6k|  partBits = bits % integerPartWidth + 1;
  458|       |
  459|  22.6k|  part = parts[count] & (~(integerPart) 0 >> (integerPartWidth - partBits));
  460|       |
  461|  22.6k|  if (isNearest)
  ------------------
  |  Branch (461:7): [True: 22.6k, False: 0]
  ------------------
  462|  22.6k|    boundary = (integerPart) 1 << (partBits - 1);
  463|      0|  else
  464|      0|    boundary = 0;
  465|       |
  466|  22.6k|  if (count == 0) {
  ------------------
  |  Branch (466:7): [True: 21.6k, False: 1.00k]
  ------------------
  467|  21.6k|    if (part - boundary <= boundary - part)
  ------------------
  |  Branch (467:9): [True: 12.3k, False: 9.30k]
  ------------------
  468|  12.3k|      return part - boundary;
  469|  9.30k|    else
  470|  9.30k|      return boundary - part;
  471|  21.6k|  }
  472|       |
  473|  1.00k|  if (part == boundary) {
  ------------------
  |  Branch (473:7): [True: 466, False: 536]
  ------------------
  474|  3.22k|    while (--count)
  ------------------
  |  Branch (474:12): [True: 2.80k, False: 423]
  ------------------
  475|  2.80k|      if (parts[count])
  ------------------
  |  Branch (475:11): [True: 43, False: 2.75k]
  ------------------
  476|     43|        return ~(integerPart) 0; /* A lot.  */
  477|       |
  478|    423|    return parts[0];
  479|    536|  } else if (part == boundary - 1) {
  ------------------
  |  Branch (479:14): [True: 441, False: 95]
  ------------------
  480|  2.80k|    while (--count)
  ------------------
  |  Branch (480:12): [True: 2.44k, False: 358]
  ------------------
  481|  2.44k|      if (~parts[count])
  ------------------
  |  Branch (481:11): [True: 83, False: 2.36k]
  ------------------
  482|     83|        return ~(integerPart) 0; /* A lot.  */
  483|       |
  484|    358|    return -parts[0];
  485|    441|  }
  486|       |
  487|     95|  return ~(integerPart) 0; /* A lot.  */
  488|  1.00k|}

_ZN7llvm_ks5APInt12initSlowCaseEjmb:
   77|   376k|void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) {
   78|   376k|  pVal = getClearedMemory(getNumWords());
   79|   376k|  pVal[0] = val;
   80|   376k|  if (isSigned && int64_t(val) < 0)
  ------------------
  |  Branch (80:7): [True: 373k, False: 3.54k]
  |  Branch (80:19): [True: 0, False: 373k]
  ------------------
   81|      0|    for (unsigned i = 1; i < getNumWords(); ++i)
  ------------------
  |  Branch (81:26): [True: 0, False: 0]
  ------------------
   82|      0|      pVal[i] = -1ULL;
   83|   376k|}
_ZN7llvm_ks5APInt12initSlowCaseERKS0_:
   85|   708k|void APInt::initSlowCase(const APInt& that) {
   86|   708k|  pVal = getMemory(getNumWords());
   87|   708k|  memcpy(pVal, that.pVal, getNumWords() * APINT_WORD_SIZE);
   88|   708k|}
_ZN7llvm_ks5APInt14AssignSlowCaseERKS0_:
  123|  1.74k|APInt& APInt::AssignSlowCase(const APInt& RHS) {
  124|       |  // Don't do anything for X = X
  125|  1.74k|  if (this == &RHS)
  ------------------
  |  Branch (125:7): [True: 0, False: 1.74k]
  ------------------
  126|      0|    return *this;
  127|       |
  128|  1.74k|  if (BitWidth == RHS.getBitWidth()) {
  ------------------
  |  Branch (128:7): [True: 190, False: 1.55k]
  ------------------
  129|       |    // assume same bit-width single-word case is already handled
  130|    190|    assert(!isSingleWord());
  ------------------
  |  Branch (130:5): [True: 190, False: 0]
  ------------------
  131|    190|    memcpy(pVal, RHS.pVal, getNumWords() * APINT_WORD_SIZE);
  132|    190|    return *this;
  133|    190|  }
  134|       |
  135|  1.55k|  if (isSingleWord()) {
  ------------------
  |  Branch (135:7): [True: 1.14k, False: 406]
  ------------------
  136|       |    // assume case where both are single words is already handled
  137|  1.14k|    assert(!RHS.isSingleWord());
  ------------------
  |  Branch (137:5): [True: 1.14k, False: 0]
  ------------------
  138|  1.14k|    VAL = 0;
  139|  1.14k|    pVal = getMemory(RHS.getNumWords());
  140|  1.14k|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  141|  1.14k|  } else if (getNumWords() == RHS.getNumWords())
  ------------------
  |  Branch (141:14): [True: 12, False: 394]
  ------------------
  142|     12|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  143|    394|  else if (RHS.isSingleWord()) {
  ------------------
  |  Branch (143:12): [True: 357, False: 37]
  ------------------
  144|    357|    delete [] pVal;
  145|    357|    VAL = RHS.VAL;
  146|    357|  } else {
  147|     37|    delete [] pVal;
  148|     37|    pVal = getMemory(RHS.getNumWords());
  149|     37|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  150|     37|  }
  151|  1.55k|  BitWidth = RHS.BitWidth;
  152|  1.55k|  return clearUnusedBits();
  153|  1.55k|}
_ZN7llvm_ks5APIntaSEm:
  155|   349k|APInt& APInt::operator=(uint64_t RHS) {
  156|   349k|  if (isSingleWord())
  ------------------
  |  Branch (156:7): [True: 0, False: 349k]
  ------------------
  157|      0|    VAL = RHS;
  158|   349k|  else {
  159|   349k|    pVal[0] = RHS;
  160|   349k|    memset(pVal+1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
  161|   349k|  }
  162|   349k|  return clearUnusedBits();
  163|   349k|}
_ZNK7llvm_ks5APInt9getHiBitsEj:
  686|    292|APInt APInt::getHiBits(unsigned numBits) const {
  687|    292|  return APIntOps::lshr(*this, BitWidth - numBits);
  688|    292|}
_ZNK7llvm_ks5APInt9getLoBitsEj:
  691|    292|APInt APInt::getLoBits(unsigned numBits) const {
  692|    292|  return APIntOps::lshr(APIntOps::shl(*this, BitWidth - numBits),
  693|    292|                        BitWidth - numBits);
  694|    292|}
_ZNK7llvm_ks5APInt25countLeadingZerosSlowCaseEv:
  696|   497k|unsigned APInt::countLeadingZerosSlowCase() const {
  697|       |  // Treat the most significand word differently because it might have
  698|       |  // meaningless bits set beyond the precision.
  699|   497k|  unsigned BitsInMSW = BitWidth % APINT_BITS_PER_WORD;
  700|   497k|  integerPart MSWMask;
  701|   497k|  if (BitsInMSW) MSWMask = (integerPart(1) << BitsInMSW) - 1;
  ------------------
  |  Branch (701:7): [True: 2.90k, False: 494k]
  ------------------
  702|   494k|  else {
  703|   494k|    MSWMask = ~integerPart(0);
  704|   494k|    BitsInMSW = APINT_BITS_PER_WORD;
  705|   494k|  }
  706|       |
  707|   497k|  unsigned i = getNumWords();
  708|   497k|  integerPart MSW = pVal[i-1] & MSWMask;
  709|   497k|  if (MSW)
  ------------------
  |  Branch (709:7): [True: 4.42k, False: 492k]
  ------------------
  710|  4.42k|    return llvm_ks::countLeadingZeros(MSW) - (APINT_BITS_PER_WORD - BitsInMSW);
  711|       |
  712|   492k|  unsigned Count = BitsInMSW;
  713|   493k|  for (--i; i > 0u; --i) {
  ------------------
  |  Branch (713:13): [True: 492k, False: 230]
  ------------------
  714|   492k|    if (pVal[i-1] == 0)
  ------------------
  |  Branch (714:9): [True: 238, False: 492k]
  ------------------
  715|    238|      Count += APINT_BITS_PER_WORD;
  716|   492k|    else {
  717|   492k|      Count += llvm_ks::countLeadingZeros(pVal[i-1]);
  718|   492k|      break;
  719|   492k|    }
  720|   492k|  }
  721|   492k|  return Count;
  722|   497k|}
_ZNK7llvm_ks5APInt4zextEj:
  998|  2.90k|APInt APInt::zext(unsigned width) const {
  999|  2.90k|  assert(width > BitWidth && "Invalid APInt ZeroExtend request");
  ------------------
  |  Branch (999:3): [True: 2.90k, False: 0]
  |  Branch (999:3): [True: 2.90k, Folded]
  |  Branch (999:3): [True: 2.90k, False: 0]
  ------------------
 1000|       |
 1001|  2.90k|  if (width <= APINT_BITS_PER_WORD)
  ------------------
  |  Branch (1001:7): [True: 0, False: 2.90k]
  ------------------
 1002|      0|    return APInt(width, VAL);
 1003|       |
 1004|  2.90k|  APInt Result(getMemory(getNumWords(width)), width);
 1005|       |
 1006|       |  // Copy words.
 1007|  2.90k|  unsigned i;
 1008|  8.70k|  for (i = 0; i != getNumWords(); i++)
  ------------------
  |  Branch (1008:15): [True: 5.80k, False: 2.90k]
  ------------------
 1009|  5.80k|    Result.pVal[i] = getRawData()[i];
 1010|       |
 1011|       |  // Zero remaining words.
 1012|  2.90k|  memset(&Result.pVal[i], 0, (Result.getNumWords() - i) * APINT_WORD_SIZE);
 1013|       |
 1014|  2.90k|  return Result;
 1015|  2.90k|}
_ZNK7llvm_ks5APInt4lshrEj:
 1144|    584|APInt APInt::lshr(unsigned shiftAmt) const {
 1145|    584|  if (isSingleWord()) {
  ------------------
  |  Branch (1145:7): [True: 0, False: 584]
  ------------------
 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|    584|  if (shiftAmt >= BitWidth)
  ------------------
  |  Branch (1155:7): [True: 0, False: 584]
  ------------------
 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|    584|  if (shiftAmt == 0)
  ------------------
  |  Branch (1161:7): [True: 0, False: 584]
  ------------------
 1162|      0|    return *this;
 1163|       |
 1164|       |  // Create some space for the result.
 1165|    584|  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|    584|  if (shiftAmt < APINT_BITS_PER_WORD) {
  ------------------
  |  Branch (1168:7): [True: 0, False: 584]
  ------------------
 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|    584|  unsigned wordShift = shiftAmt % APINT_BITS_PER_WORD;
 1177|    584|  unsigned offset = shiftAmt / APINT_BITS_PER_WORD;
 1178|       |
 1179|       |  // If we are shifting whole words, just move whole words
 1180|    584|  if (wordShift == 0) {
  ------------------
  |  Branch (1180:7): [True: 580, False: 4]
  ------------------
 1181|  1.16k|    for (unsigned i = 0; i < getNumWords() - offset; ++i)
  ------------------
  |  Branch (1181:26): [True: 584, False: 580]
  ------------------
 1182|    584|      val[i] = pVal[i+offset];
 1183|  1.16k|    for (unsigned i = getNumWords()-offset; i < getNumWords(); i++)
  ------------------
  |  Branch (1183:45): [True: 580, False: 580]
  ------------------
 1184|    580|      val[i] = 0;
 1185|    580|    APInt Result(val, BitWidth);
 1186|    580|    Result.clearUnusedBits();
 1187|    580|    return Result;
 1188|    580|  }
 1189|       |
 1190|       |  // Shift the low order words
 1191|      4|  unsigned breakWord = getNumWords() - offset -1;
 1192|      8|  for (unsigned i = 0; i < breakWord; ++i)
  ------------------
  |  Branch (1192:24): [True: 4, False: 4]
  ------------------
 1193|      4|    val[i] = (pVal[i+offset] >> wordShift) |
 1194|      4|             (pVal[i+offset+1] << (APINT_BITS_PER_WORD - wordShift));
 1195|       |  // Shift the break word.
 1196|      4|  val[breakWord] = pVal[breakWord+offset] >> wordShift;
 1197|       |
 1198|       |  // Remaining words are 0
 1199|      8|  for (unsigned i = breakWord+1; i < getNumWords(); ++i)
  ------------------
  |  Branch (1199:34): [True: 4, False: 4]
  ------------------
 1200|      4|    val[i] = 0;
 1201|      4|  APInt Result(val, BitWidth);
 1202|      4|  Result.clearUnusedBits();
 1203|      4|  return Result;
 1204|    584|}
_ZNK7llvm_ks5APInt11shlSlowCaseEj:
 1213|  1.13M|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.13M|  if (shiftAmt == BitWidth)
  ------------------
  |  Branch (1217:7): [True: 0, False: 1.13M]
  ------------------
 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.13M|  if (shiftAmt == 0)
  ------------------
  |  Branch (1223:7): [True: 0, False: 1.13M]
  ------------------
 1224|      0|    return *this;
 1225|       |
 1226|       |  // Create some space for the result.
 1227|  1.13M|  uint64_t * val = new uint64_t[getNumWords()];
 1228|       |
 1229|       |  // If we are shifting less than a word, do it the easy way
 1230|  1.13M|  if (shiftAmt < APINT_BITS_PER_WORD) {
  ------------------
  |  Branch (1230:7): [True: 1.13M, False: 292]
  ------------------
 1231|  1.13M|    uint64_t carry = 0;
 1232|  10.6M|    for (unsigned i = 0; i < getNumWords(); i++) {
  ------------------
  |  Branch (1232:26): [True: 9.51M, False: 1.13M]
  ------------------
 1233|  9.51M|      val[i] = pVal[i] << shiftAmt | carry;
 1234|  9.51M|      carry = pVal[i] >> (APINT_BITS_PER_WORD - shiftAmt);
 1235|  9.51M|    }
 1236|  1.13M|    APInt Result(val, BitWidth);
 1237|  1.13M|    Result.clearUnusedBits();
 1238|  1.13M|    return Result;
 1239|  1.13M|  }
 1240|       |
 1241|       |  // Compute some values needed by the remaining shift algorithms
 1242|    292|  unsigned wordShift = shiftAmt % APINT_BITS_PER_WORD;
 1243|    292|  unsigned offset = shiftAmt / APINT_BITS_PER_WORD;
 1244|       |
 1245|       |  // If we are shifting whole words, just move whole words
 1246|    292|  if (wordShift == 0) {
  ------------------
  |  Branch (1246:7): [True: 288, False: 4]
  ------------------
 1247|    576|    for (unsigned i = 0; i < offset; i++)
  ------------------
  |  Branch (1247:26): [True: 288, False: 288]
  ------------------
 1248|    288|      val[i] = 0;
 1249|    576|    for (unsigned i = offset; i < getNumWords(); i++)
  ------------------
  |  Branch (1249:31): [True: 288, False: 288]
  ------------------
 1250|    288|      val[i] = pVal[i-offset];
 1251|    288|    APInt Result(val, BitWidth);
 1252|    288|    Result.clearUnusedBits();
 1253|    288|    return Result;
 1254|    288|  }
 1255|       |
 1256|       |  // Copy whole words from this to Result.
 1257|      4|  unsigned i = getNumWords() - 1;
 1258|      8|  for (; i > offset; --i)
  ------------------
  |  Branch (1258:10): [True: 4, False: 4]
  ------------------
 1259|      4|    val[i] = pVal[i-offset] << wordShift |
 1260|      4|             pVal[i-offset-1] >> (APINT_BITS_PER_WORD - wordShift);
 1261|      4|  val[offset] = pVal[0] << wordShift;
 1262|      8|  for (i = 0; i < offset; ++i)
  ------------------
  |  Branch (1262:15): [True: 4, False: 4]
  ------------------
 1263|      4|    val[i] = 0;
 1264|      4|  APInt Result(val, BitWidth);
 1265|      4|  Result.clearUnusedBits();
 1266|      4|  return Result;
 1267|    292|}
_ZN7llvm_ks5APInt5tcSetEPmmj:
 2307|  62.7k|{
 2308|  62.7k|  unsigned int i;
 2309|       |
 2310|  62.7k|  assert(parts > 0);
  ------------------
  |  Branch (2310:3): [True: 62.7k, False: 0]
  ------------------
 2311|       |
 2312|  62.7k|  dst[0] = part;
 2313|   114k|  for (i = 1; i < parts; i++)
  ------------------
  |  Branch (2313:15): [True: 51.9k, False: 62.7k]
  ------------------
 2314|  51.9k|    dst[i] = 0;
 2315|  62.7k|}
_ZN7llvm_ks5APInt8tcAssignEPmPKmj:
 2320|  76.6k|{
 2321|  76.6k|  unsigned int i;
 2322|       |
 2323|   178k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2323:15): [True: 102k, False: 76.6k]
  ------------------
 2324|   102k|    dst[i] = src[i];
 2325|  76.6k|}
_ZN7llvm_ks5APInt8tcIsZeroEPKmj:
 2330|  50.7k|{
 2331|  50.7k|  unsigned int i;
 2332|       |
 2333|  59.0k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2333:15): [True: 57.6k, False: 1.36k]
  ------------------
 2334|  57.6k|    if (src[i])
  ------------------
  |  Branch (2334:9): [True: 49.3k, False: 8.27k]
  ------------------
 2335|  49.3k|      return false;
 2336|       |
 2337|  1.36k|  return true;
 2338|  50.7k|}
_ZN7llvm_ks5APInt12tcExtractBitEPKmj:
 2343|  47.1k|{
 2344|  47.1k|  return (parts[bit / integerPartWidth] &
 2345|  47.1k|          ((integerPart) 1 << bit % integerPartWidth)) != 0;
 2346|  47.1k|}
_ZN7llvm_ks5APInt8tcSetBitEPmj:
 2351|   701k|{
 2352|   701k|  parts[bit / integerPartWidth] |= (integerPart) 1 << (bit % integerPartWidth);
 2353|   701k|}
_ZN7llvm_ks5APInt5tcLSBEPKmj:
 2367|  38.8k|{
 2368|  38.8k|  unsigned int i, lsb;
 2369|       |
 2370|  43.0k|  for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2370:15): [True: 43.0k, False: 0]
  ------------------
 2371|  43.0k|      if (parts[i] != 0) {
  ------------------
  |  Branch (2371:11): [True: 38.8k, False: 4.22k]
  ------------------
 2372|  38.8k|          lsb = partLSB(parts[i]);
 2373|       |
 2374|  38.8k|          return lsb + i * integerPartWidth;
 2375|  38.8k|      }
 2376|  43.0k|  }
 2377|       |
 2378|      0|  return -1U;
 2379|  38.8k|}
_ZN7llvm_ks5APInt5tcMSBEPKmj:
 2385|   171k|{
 2386|   171k|  unsigned int msb;
 2387|       |
 2388|   175k|  do {
 2389|   175k|    --n;
 2390|       |
 2391|   175k|    if (parts[n] != 0) {
  ------------------
  |  Branch (2391:9): [True: 171k, False: 4.76k]
  ------------------
 2392|   171k|      msb = partMSB(parts[n]);
 2393|       |
 2394|   171k|      return msb + n * integerPartWidth;
 2395|   171k|    }
 2396|   175k|  } while (n);
  ------------------
  |  Branch (2396:12): [True: 3.91k, False: 851]
  ------------------
 2397|       |
 2398|    851|  return -1U;
 2399|   171k|}
_ZN7llvm_ks5APInt9tcExtractEPmjPKmjj:
 2408|  66.8k|{
 2409|  66.8k|  unsigned int firstSrcPart, dstParts, shift, n;
 2410|       |
 2411|  66.8k|  dstParts = (srcBits + integerPartWidth - 1) / integerPartWidth;
 2412|  66.8k|  assert(dstParts <= dstCount);
  ------------------
  |  Branch (2412:3): [True: 66.8k, False: 0]
  ------------------
 2413|       |
 2414|  66.8k|  firstSrcPart = srcLSB / integerPartWidth;
 2415|  66.8k|  tcAssign (dst, src + firstSrcPart, dstParts);
 2416|       |
 2417|  66.8k|  shift = srcLSB % integerPartWidth;
 2418|  66.8k|  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|  66.8k|  n = dstParts * integerPartWidth - shift;
 2424|  66.8k|  if (n < srcBits) {
  ------------------
  |  Branch (2424:7): [True: 4.92k, False: 61.8k]
  ------------------
 2425|  4.92k|    integerPart mask = lowBitMask (srcBits - n);
 2426|  4.92k|    dst[dstParts - 1] |= ((src[firstSrcPart + dstParts] & mask)
 2427|  4.92k|                          << n % integerPartWidth);
 2428|  61.8k|  } else if (n > srcBits) {
  ------------------
  |  Branch (2428:14): [True: 61.5k, False: 343]
  ------------------
 2429|  61.5k|    if (srcBits % integerPartWidth)
  ------------------
  |  Branch (2429:9): [True: 61.4k, False: 115]
  ------------------
 2430|  61.4k|      dst[dstParts - 1] &= lowBitMask (srcBits % integerPartWidth);
 2431|  61.5k|  }
 2432|       |
 2433|       |  /* Clear high parts.  */
 2434|  70.8k|  while (dstParts < dstCount)
  ------------------
  |  Branch (2434:10): [True: 4.03k, False: 66.8k]
  ------------------
 2435|  4.03k|    dst[dstParts++] = 0;
 2436|  66.8k|}
_ZN7llvm_ks5APInt10tcSubtractEPmPKmmj:
 2467|   701k|{
 2468|   701k|  unsigned int i;
 2469|       |
 2470|   701k|  assert(c <= 1);
  ------------------
  |  Branch (2470:3): [True: 701k, False: 0]
  ------------------
 2471|       |
 2472|  17.8M|  for (i = 0; i < parts; i++) {
  ------------------
  |  Branch (2472:15): [True: 17.1M, False: 701k]
  ------------------
 2473|  17.1M|    integerPart l;
 2474|       |
 2475|  17.1M|    l = dst[i];
 2476|  17.1M|    if (c) {
  ------------------
  |  Branch (2476:9): [True: 3.78M, False: 13.3M]
  ------------------
 2477|  3.78M|      dst[i] -= rhs[i] + 1;
 2478|  3.78M|      c = (dst[i] >= l);
 2479|  13.3M|    } else {
 2480|  13.3M|      dst[i] -= rhs[i];
 2481|  13.3M|      c = (dst[i] > l);
 2482|  13.3M|    }
 2483|  17.1M|  }
 2484|       |
 2485|   701k|  return c;
 2486|   701k|}
_ZN7llvm_ks5APInt14tcMultiplyPartEPmPKmmmjjb:
 2512|  85.3k|{
 2513|  85.3k|  unsigned int i, n;
 2514|       |
 2515|       |  /* Otherwise our writes of DST kill our later reads of SRC.  */
 2516|  85.3k|  assert(dst <= src || dst >= src + srcParts);
  ------------------
  |  Branch (2516:3): [True: 41.4k, False: 43.9k]
  |  Branch (2516:3): [True: 43.9k, False: 0]
  |  Branch (2516:3): [True: 85.3k, False: 0]
  ------------------
 2517|  85.3k|  assert(dstParts <= srcParts + 1);
  ------------------
  |  Branch (2517:3): [True: 85.3k, False: 0]
  ------------------
 2518|       |
 2519|       |  /* N loops; minimum of dstParts and srcParts.  */
 2520|  85.3k|  n = dstParts < srcParts ? dstParts: srcParts;
  ------------------
  |  Branch (2520:7): [True: 0, False: 85.3k]
  ------------------
 2521|       |
 2522|   435k|  for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2522:15): [True: 350k, False: 85.3k]
  ------------------
 2523|   350k|    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|   350k|    srcPart = src[i];
 2534|       |
 2535|   350k|    if (multiplier == 0 || srcPart == 0)        {
  ------------------
  |  Branch (2535:9): [True: 34, False: 350k]
  |  Branch (2535:28): [True: 19.8k, False: 330k]
  ------------------
 2536|  19.9k|      low = carry;
 2537|  19.9k|      high = 0;
 2538|   330k|    } else {
 2539|   330k|      low = lowHalf(srcPart) * lowHalf(multiplier);
 2540|   330k|      high = highHalf(srcPart) * highHalf(multiplier);
 2541|       |
 2542|   330k|      mid = lowHalf(srcPart) * highHalf(multiplier);
 2543|   330k|      high += highHalf(mid);
 2544|   330k|      mid <<= integerPartWidth / 2;
 2545|   330k|      if (low + mid < low)
  ------------------
  |  Branch (2545:11): [True: 62.0k, False: 268k]
  ------------------
 2546|  62.0k|        high++;
 2547|   330k|      low += mid;
 2548|       |
 2549|   330k|      mid = highHalf(srcPart) * lowHalf(multiplier);
 2550|   330k|      high += highHalf(mid);
 2551|   330k|      mid <<= integerPartWidth / 2;
 2552|   330k|      if (low + mid < low)
  ------------------
  |  Branch (2552:11): [True: 138k, False: 192k]
  ------------------
 2553|   138k|        high++;
 2554|   330k|      low += mid;
 2555|       |
 2556|       |      /* Now add carry.  */
 2557|   330k|      if (low + carry < low)
  ------------------
  |  Branch (2557:11): [True: 55.5k, False: 274k]
  ------------------
 2558|  55.5k|        high++;
 2559|   330k|      low += carry;
 2560|   330k|    }
 2561|       |
 2562|   350k|    if (add) {
  ------------------
  |  Branch (2562:9): [True: 213k, False: 137k]
  ------------------
 2563|       |      /* And now DST[i], and store the new low part there.  */
 2564|   213k|      if (low + dst[i] < low)
  ------------------
  |  Branch (2564:11): [True: 58.7k, False: 154k]
  ------------------
 2565|  58.7k|        high++;
 2566|   213k|      dst[i] += low;
 2567|   213k|    } else
 2568|   137k|      dst[i] = low;
 2569|       |
 2570|   350k|    carry = high;
 2571|   350k|  }
 2572|       |
 2573|  85.3k|  if (i < dstParts) {
  ------------------
  |  Branch (2573:7): [True: 85.3k, False: 0]
  ------------------
 2574|       |    /* Full multiplication, there is no overflow.  */
 2575|  85.3k|    assert(i + 1 == dstParts);
  ------------------
  |  Branch (2575:5): [True: 85.3k, False: 0]
  ------------------
 2576|  85.3k|    dst[i] = carry;
 2577|  85.3k|    return 0;
 2578|  85.3k|  } 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|  85.3k|}
_ZN7llvm_ks5APInt14tcFullMultiplyEPmPKmS3_jj:
 2627|  34.2k|{
 2628|       |  /* Put the narrower number on the LHS for less loops below.  */
 2629|  34.2k|  if (lhsParts > rhsParts) {
  ------------------
  |  Branch (2629:7): [True: 0, False: 34.2k]
  ------------------
 2630|      0|    return tcFullMultiply (dst, rhs, lhs, rhsParts, lhsParts);
 2631|  34.2k|  } else {
 2632|  34.2k|    unsigned int n;
 2633|       |
 2634|  34.2k|    assert(dst != lhs && dst != rhs);
  ------------------
  |  Branch (2634:5): [True: 34.2k, False: 0]
  |  Branch (2634:5): [True: 34.2k, False: 0]
  |  Branch (2634:5): [True: 34.2k, False: 0]
  ------------------
 2635|       |
 2636|  34.2k|    tcSet(dst, 0, rhsParts);
 2637|       |
 2638|  92.6k|    for (n = 0; n < lhsParts; n++)
  ------------------
  |  Branch (2638:17): [True: 58.4k, False: 34.2k]
  ------------------
 2639|  58.4k|      tcMultiplyPart(&dst[n], rhs, lhs[n], 0, rhsParts, rhsParts + 1, true);
 2640|       |
 2641|  34.2k|    n = lhsParts + rhsParts;
 2642|       |
 2643|  34.2k|    return n - (dst[n - 1] == 0);
 2644|  34.2k|  }
 2645|  34.2k|}
_ZN7llvm_ks5APInt11tcShiftLeftEPmjj:
 2706|  1.53M|{
 2707|  1.53M|  if (count) {
  ------------------
  |  Branch (2707:7): [True: 1.53M, False: 0]
  ------------------
 2708|  1.53M|    unsigned int jump, shift;
 2709|       |
 2710|       |    /* Jump is the inter-part jump; shift is is intra-part shift.  */
 2711|  1.53M|    jump = count / integerPartWidth;
 2712|  1.53M|    shift = count % integerPartWidth;
 2713|       |
 2714|  37.3M|    while (parts > jump) {
  ------------------
  |  Branch (2714:12): [True: 35.8M, False: 1.53M]
  ------------------
 2715|  35.8M|      integerPart part;
 2716|       |
 2717|  35.8M|      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|  35.8M|      part = dst[parts - jump];
 2722|  35.8M|      if (shift) {
  ------------------
  |  Branch (2722:11): [True: 35.8M, False: 533]
  ------------------
 2723|  35.8M|        part <<= shift;
 2724|  35.8M|        if (parts >= jump + 1)
  ------------------
  |  Branch (2724:13): [True: 34.2M, False: 1.53M]
  ------------------
 2725|  34.2M|          part |= dst[parts - jump - 1] >> (integerPartWidth - shift);
 2726|  35.8M|      }
 2727|       |
 2728|  35.8M|      dst[parts] = part;
 2729|  35.8M|    }
 2730|       |
 2731|  1.53M|    while (parts > 0)
  ------------------
  |  Branch (2731:12): [True: 3.90k, False: 1.53M]
  ------------------
 2732|  3.90k|      dst[--parts] = 0;
 2733|  1.53M|  }
 2734|  1.53M|}
_ZN7llvm_ks5APInt12tcShiftRightEPmjj:
 2740|  78.1k|{
 2741|  78.1k|  if (count) {
  ------------------
  |  Branch (2741:7): [True: 38.2k, False: 39.9k]
  ------------------
 2742|  38.2k|    unsigned int i, jump, shift;
 2743|       |
 2744|       |    /* Jump is the inter-part jump; shift is is intra-part shift.  */
 2745|  38.2k|    jump = count / integerPartWidth;
 2746|  38.2k|    shift = count % integerPartWidth;
 2747|       |
 2748|       |    /* Perform the shift.  This leaves the most significant COUNT bits
 2749|       |       of the result at zero.  */
 2750|  88.5k|    for (i = 0; i < parts; i++) {
  ------------------
  |  Branch (2750:17): [True: 50.2k, False: 38.2k]
  ------------------
 2751|  50.2k|      integerPart part;
 2752|       |
 2753|  50.2k|      if (i + jump >= parts) {
  ------------------
  |  Branch (2753:11): [True: 1.91k, False: 48.3k]
  ------------------
 2754|  1.91k|        part = 0;
 2755|  48.3k|      } else {
 2756|  48.3k|        part = dst[i + jump];
 2757|  48.3k|        if (shift) {
  ------------------
  |  Branch (2757:13): [True: 48.3k, False: 0]
  ------------------
 2758|  48.3k|          part >>= shift;
 2759|  48.3k|          if (i + jump + 1 < parts)
  ------------------
  |  Branch (2759:15): [True: 12.1k, False: 36.2k]
  ------------------
 2760|  12.1k|            part |= dst[i + jump + 1] << (integerPartWidth - shift);
 2761|  48.3k|        }
 2762|  48.3k|      }
 2763|       |
 2764|  50.2k|      dst[i] = part;
 2765|  50.2k|    }
 2766|  38.2k|  }
 2767|  78.1k|}
_ZN7llvm_ks5APInt9tcCompareEPKmS2_j:
 2813|  1.52M|{
 2814|  1.53M|  while (parts) {
  ------------------
  |  Branch (2814:10): [True: 1.53M, False: 2.65k]
  ------------------
 2815|  1.53M|      parts--;
 2816|  1.53M|      if (lhs[parts] == rhs[parts])
  ------------------
  |  Branch (2816:11): [True: 7.87k, False: 1.52M]
  ------------------
 2817|  7.87k|        continue;
 2818|       |
 2819|  1.52M|      if (lhs[parts] > rhs[parts])
  ------------------
  |  Branch (2819:11): [True: 718k, False: 804k]
  ------------------
 2820|   718k|        return 1;
 2821|   804k|      else
 2822|   804k|        return -1;
 2823|  1.52M|    }
 2824|       |
 2825|  2.65k|  return 0;
 2826|  1.52M|}
_ZN7llvm_ks5APInt11tcIncrementEPmj:
 2831|  15.7k|{
 2832|  15.7k|  unsigned int i;
 2833|       |
 2834|  15.9k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2834:15): [True: 15.9k, False: 0]
  ------------------
 2835|  15.9k|    if (++dst[i] != 0)
  ------------------
  |  Branch (2835:9): [True: 15.7k, False: 130]
  ------------------
 2836|  15.7k|      break;
 2837|       |
 2838|  15.7k|  return i == parts;
 2839|  15.7k|}
APInt.cpp:_ZL16getClearedMemoryj:
   34|   376k|inline static uint64_t* getClearedMemory(unsigned numWords) {
   35|   376k|  uint64_t * result = new uint64_t[numWords];
   36|   376k|  assert(result && "APInt memory allocation fails!");
  ------------------
  |  Branch (36:3): [True: 376k, False: 0]
  |  Branch (36:3): [True: 376k, Folded]
  |  Branch (36:3): [True: 376k, False: 0]
  ------------------
   37|   376k|  memset(result, 0, numWords * sizeof(uint64_t));
   38|   376k|  return result;
   39|   376k|}
APInt.cpp:_ZL9getMemoryj:
   43|   712k|inline static uint64_t* getMemory(unsigned numWords) {
   44|   712k|  uint64_t * result = new uint64_t[numWords];
   45|   712k|  assert(result && "APInt memory allocation fails!");
  ------------------
  |  Branch (45:3): [True: 712k, False: 0]
  |  Branch (45:3): [True: 712k, Folded]
  |  Branch (45:3): [True: 712k, False: 0]
  ------------------
   46|   712k|  return result;
   47|   712k|}
APInt.cpp:_ZN12_GLOBAL__N_17partLSBEm:
 2298|  38.8k|  {
 2299|  38.8k|    return findFirstSet(value, ZB_Max);
 2300|  38.8k|  }
APInt.cpp:_ZN12_GLOBAL__N_17partMSBEm:
 2290|   171k|  {
 2291|   171k|    return findLastSet(value, ZB_Max);
 2292|   171k|  }
APInt.cpp:_ZN12_GLOBAL__N_110lowBitMaskEj:
 2266|  1.38M|  {
 2267|  1.38M|    assert(bits != 0 && bits <= integerPartWidth);
  ------------------
  |  Branch (2267:5): [True: 1.38M, False: 0]
  |  Branch (2267:5): [True: 1.38M, False: 0]
  |  Branch (2267:5): [True: 1.38M, False: 0]
  ------------------
 2268|       |
 2269|  1.38M|    return ~(integerPart) 0 >> (integerPartWidth - bits);
 2270|  1.38M|  }
APInt.cpp:_ZN12_GLOBAL__N_17lowHalfEm:
 2275|  1.32M|  {
 2276|  1.32M|    return part & lowBitMask(integerPartWidth / 2);
 2277|  1.32M|  }
APInt.cpp:_ZN12_GLOBAL__N_18highHalfEm:
 2282|  1.98M|  {
 2283|  1.98M|    return part >> (integerPartWidth / 2);
 2284|  1.98M|  }

_ZN7llvm_ks12MemoryBufferD2Ev:
   39|  36.0k|MemoryBuffer::~MemoryBuffer() { }
_ZN7llvm_ks12MemoryBuffer4initEPKcS2_b:
   44|  36.0k|                        bool RequiresNullTerminator) {
   45|  36.0k|  assert((!RequiresNullTerminator || BufEnd[0] == 0) &&
  ------------------
  |  Branch (45:3): [True: 0, False: 36.0k]
  |  Branch (45:3): [True: 36.0k, False: 0]
  |  Branch (45:3): [True: 36.0k, Folded]
  |  Branch (45:3): [True: 36.0k, False: 0]
  ------------------
   46|  36.0k|         "Buffer is not null terminated!");
   47|  36.0k|  BufferStart = BufStart;
   48|  36.0k|  BufferEnd = BufEnd;
   49|  36.0k|}
_ZN7llvm_ks12MemoryBuffer12getMemBufferENS_9StringRefES1_b:
  104|  12.6k|                           bool RequiresNullTerminator) {
  105|  12.6k|  auto *Ret = new (NamedBufferAlloc(BufferName))
  106|  12.6k|      MemoryBufferMem(InputData, RequiresNullTerminator);
  107|  12.6k|  return std::unique_ptr<MemoryBuffer>(Ret);
  108|  12.6k|}
_ZN7llvm_ks12MemoryBuffer16getMemBufferCopyENS_9StringRefERKNS_5TwineE:
  117|  23.3k|MemoryBuffer::getMemBufferCopy(StringRef InputData, const Twine &BufferName) {
  118|  23.3k|  std::unique_ptr<MemoryBuffer> Buf =
  119|  23.3k|      getNewUninitMemBuffer(InputData.size(), BufferName);
  120|  23.3k|  if (!Buf)
  ------------------
  |  Branch (120:7): [True: 0, False: 23.3k]
  ------------------
  121|      0|    return nullptr;
  122|  23.3k|  memcpy(const_cast<char*>(Buf->getBufferStart()), InputData.data(),
  123|  23.3k|         InputData.size());
  124|  23.3k|  return Buf;
  125|  23.3k|}
_ZN7llvm_ks12MemoryBuffer21getNewUninitMemBufferEmRKNS_5TwineE:
  128|  23.3k|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|  23.3k|  SmallString<256> NameBuf;
  134|  23.3k|  StringRef NameRef = BufferName.toStringRef(NameBuf);
  135|  23.3k|  size_t AlignedStringLen =
  136|  23.3k|      alignTo(sizeof(MemoryBufferMem) + NameRef.size() + 1, 16);
  137|  23.3k|  size_t RealLen = AlignedStringLen + Size + 1;
  138|  23.3k|  char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow));
  139|  23.3k|  if (!Mem)
  ------------------
  |  Branch (139:7): [True: 0, False: 23.3k]
  ------------------
  140|      0|    return nullptr;
  141|       |
  142|       |  // The name is stored after the class itself.
  143|  23.3k|  CopyStringRef(Mem + sizeof(MemoryBufferMem), NameRef);
  144|       |
  145|       |  // The buffer begins after the name and must be aligned.
  146|  23.3k|  char *Buf = Mem + AlignedStringLen;
  147|  23.3k|  Buf[Size] = 0; // Null terminate buffer.
  148|       |
  149|  23.3k|  auto *Ret = new (Mem) MemoryBufferMem(StringRef(Buf, Size), true);
  150|  23.3k|  return std::unique_ptr<MemoryBuffer>(Ret);
  151|  23.3k|}
_ZN7llvm_ks12MemoryBuffer7getFileERKNS_5TwineElbb:
  247|      5|                      bool RequiresNullTerminator, bool IsVolatileSize) {
  248|      5|  return getFileAux(Filename, FileSize, FileSize, 0,
  249|      5|                    RequiresNullTerminator, IsVolatileSize);
  250|      5|}
MemoryBuffer.cpp:_ZN12_GLOBAL__N_116NamedBufferAllocC2ERKN7llvm_ks5TwineE:
   66|  12.6k|  NamedBufferAlloc(const Twine &Name) : Name(Name) {}
MemoryBuffer.cpp:_ZnwmRKN12_GLOBAL__N_116NamedBufferAllocE:
   70|  12.6k|void *operator new(size_t N, const NamedBufferAlloc &Alloc) {
   71|  12.6k|  SmallString<256> NameBuf;
   72|  12.6k|  StringRef NameRef = Alloc.Name.toStringRef(NameBuf);
   73|       |
   74|  12.6k|  char *Mem = static_cast<char *>(operator new(N + NameRef.size() + 1));
   75|  12.6k|  CopyStringRef(Mem + N, NameRef);
   76|  12.6k|  return Mem;
   77|  12.6k|}
MemoryBuffer.cpp:_ZN12_GLOBAL__N_115MemoryBufferMemC2EN7llvm_ks9StringRefEb:
   83|  36.0k|  MemoryBufferMem(StringRef InputData, bool RequiresNullTerminator) {
   84|  36.0k|    init(InputData.begin(), InputData.end(), RequiresNullTerminator);
   85|  36.0k|  }
MemoryBuffer.cpp:_ZNK12_GLOBAL__N_115MemoryBufferMem19getBufferIdentifierEv:
   87|  26.4k|  const char *getBufferIdentifier() const override {
   88|       |     // The name is stored after the class itself.
   89|  26.4k|    return reinterpret_cast<const char*>(this + 1);
   90|  26.4k|  }
MemoryBuffer.cpp:_ZL13CopyStringRefPcN7llvm_ks9StringRefE:
   57|  36.0k|static void CopyStringRef(char *Memory, StringRef Data) {
   58|  36.0k|  if (!Data.empty())
  ------------------
  |  Branch (58:7): [True: 23.3k, False: 12.6k]
  ------------------
   59|  23.3k|    memcpy(Memory, Data.data(), Data.size());
   60|  36.0k|  Memory[Data.size()] = 0; // Null terminate string.
   61|  36.0k|}
MemoryBuffer.cpp:_ZL10getFileAuxRKN7llvm_ks5TwineElmmbb:
  259|      5|           uint64_t Offset, bool RequiresNullTerminator, bool IsVolatileSize) {
  260|      5|  int FD;
  261|      5|  std::error_code EC = sys::fs::openFileForRead(Filename, FD);
  262|      5|  if (EC)
  ------------------
  |  Branch (262:7): [True: 4, False: 1]
  ------------------
  263|      4|    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|      5|}
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|  12.6k|const_iterator begin(StringRef path) {
  233|  12.6k|  const_iterator i;
  234|  12.6k|  i.Path      = path;
  235|  12.6k|  i.Component = find_first_component(path);
  236|  12.6k|  i.Position  = 0;
  237|  12.6k|  return i;
  238|  12.6k|}
_ZN7llvm_ks3sys4path3endENS_9StringRefE:
  240|  12.6k|const_iterator end(StringRef path) {
  241|  12.6k|  const_iterator i;
  242|  12.6k|  i.Path      = path;
  243|  12.6k|  i.Position  = path.size();
  244|  12.6k|  return i;
  245|  12.6k|}
_ZNK7llvm_ks3sys4path14const_iteratoreqERKS2_:
  300|  12.6k|bool const_iterator::operator==(const const_iterator &RHS) const {
  301|  12.6k|  return Path.begin() == RHS.Path.begin() && Position == RHS.Position;
  ------------------
  |  Branch (301:10): [True: 12.6k, False: 0]
  |  Branch (301:46): [True: 0, False: 12.6k]
  ------------------
  302|  12.6k|}
_ZN7llvm_ks3sys4path14root_directoryENS_9StringRefE:
  409|  12.6k|StringRef root_directory(StringRef path) {
  410|  12.6k|  const_iterator b = begin(path),
  411|  12.6k|                 pos = b,
  412|  12.6k|                 e = end(path);
  413|  12.6k|  if (b != e) {
  ------------------
  |  Branch (413:7): [True: 12.6k, False: 0]
  ------------------
  414|  12.6k|    bool has_net = b->size() > 2 && is_separator((*b)[0]) && (*b)[1] == (*b)[0];
  ------------------
  |  Branch (414:20): [True: 0, False: 12.6k]
  |  Branch (414:37): [True: 0, False: 0]
  |  Branch (414:62): [True: 0, False: 0]
  ------------------
  415|  12.6k|    bool has_drive =
  416|       |#ifdef LLVM_ON_WIN32
  417|       |      b->endswith(":");
  418|       |#else
  419|  12.6k|      false;
  420|  12.6k|#endif
  421|       |
  422|  12.6k|    if ((has_net || has_drive) &&
  ------------------
  |  Branch (422:10): [True: 0, False: 12.6k]
  |  Branch (422:21): [True: 0, False: 12.6k]
  ------------------
  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|  12.6k|    if (!has_net && is_separator((*b)[0])) {
  ------------------
  |  Branch (429:9): [True: 12.6k, False: 0]
  |  Branch (429:21): [True: 12.6k, False: 0]
  ------------------
  430|  12.6k|      return *b;
  431|  12.6k|    }
  432|  12.6k|  }
  433|       |
  434|       |  // No path or no root.
  435|      0|  return StringRef();
  436|  12.6k|}
_ZN7llvm_ks3sys4path12is_separatorEc:
  576|  38.0k|bool is_separator(char value) {
  577|  38.0k|  switch(value) {
  578|       |#ifdef LLVM_ON_WIN32
  579|       |    case '\\': // fall through
  580|       |#endif
  581|  38.0k|    case '/': return true;
  ------------------
  |  Branch (581:5): [True: 38.0k, False: 0]
  ------------------
  582|      0|    default: return false;
  ------------------
  |  Branch (582:5): [True: 0, False: 38.0k]
  ------------------
  583|  38.0k|  }
  584|  38.0k|}
_ZN7llvm_ks3sys4path18has_root_directoryERKNS_5TwineE:
  599|  12.6k|bool has_root_directory(const Twine &path) {
  600|  12.6k|  SmallString<128> path_storage;
  601|  12.6k|  StringRef p = path.toStringRef(path_storage);
  602|       |
  603|  12.6k|  return !root_directory(p).empty();
  604|  12.6k|}
_ZN7llvm_ks3sys4path11is_absoluteERKNS_5TwineE:
  648|  12.6k|bool is_absolute(const Twine &path) {
  649|  12.6k|  SmallString<128> path_storage;
  650|  12.6k|  StringRef p = path.toStringRef(path_storage);
  651|       |
  652|  12.6k|  bool rootDir = has_root_directory(p),
  653|       |#ifdef LLVM_ON_WIN32
  654|       |       rootName = has_root_name(p);
  655|       |#else
  656|  12.6k|       rootName = true;
  657|  12.6k|#endif
  658|       |
  659|  12.6k|  return rootDir && rootName;
  ------------------
  |  Branch (659:10): [True: 12.6k, False: 0]
  |  Branch (659:21): [True: 12.6k, False: 0]
  ------------------
  660|  12.6k|}
Path.cpp:_ZN12_GLOBAL__N_120find_first_componentEN7llvm_ks9StringRefE:
   45|  12.6k|  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|  12.6k|    if (path.empty())
  ------------------
  |  Branch (52:9): [True: 0, False: 12.6k]
  ------------------
   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|  12.6k|    if ((path.size() > 2) &&
  ------------------
  |  Branch (63:9): [True: 12.6k, False: 0]
  ------------------
   64|  12.6k|        is_separator(path[0]) &&
  ------------------
  |  Branch (64:9): [True: 12.6k, False: 0]
  ------------------
   65|  12.6k|        path[0] == path[1] &&
  ------------------
  |  Branch (65:9): [True: 0, False: 12.6k]
  ------------------
   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|  12.6k|    if (is_separator(path[0]))
  ------------------
  |  Branch (73:9): [True: 12.6k, False: 0]
  ------------------
   74|  12.6k|      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|  12.6k|  }

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

_ZN7llvm_ks9SourceMgrD2Ev:
   38|  12.6k|SourceMgr::~SourceMgr() {
   39|       |  // Delete the line # cache if allocated.
   40|  12.6k|  if (LineNoCacheTy *Cache = getCache(LineNoCache))
  ------------------
  |  Branch (40:22): [True: 1.28k, False: 11.3k]
  ------------------
   41|  1.28k|    delete Cache;
   42|  12.6k|}
_ZN7llvm_ks9SourceMgr14AddIncludeFileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_5SMLocERS7_:
   46|      5|                                   std::string &IncludedFile) {
   47|      5|  IncludedFile = Filename;
   48|      5|  ErrorOr<std::unique_ptr<MemoryBuffer>> NewBufOrErr =
   49|      5|    MemoryBuffer::getFile(IncludedFile);
   50|       |
   51|       |  // If the file didn't exist directly, see if it's in an include path.
   52|      5|  for (unsigned i = 0, e = IncludeDirectories.size(); i != e && !NewBufOrErr;
  ------------------
  |  Branch (52:55): [True: 0, False: 5]
  |  Branch (52:65): [True: 0, False: 0]
  ------------------
   53|      5|       ++i) {
   54|      0|    IncludedFile =
   55|      0|        IncludeDirectories[i] + sys::path::get_separator().data() + Filename;
   56|      0|    NewBufOrErr = MemoryBuffer::getFile(IncludedFile);
   57|      0|  }
   58|       |
   59|      5|  if (!NewBufOrErr)
  ------------------
  |  Branch (59:7): [True: 5, False: 0]
  ------------------
   60|      5|    return 0;
   61|       |
   62|      0|  return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc);
   63|      5|}
_ZNK7llvm_ks9SourceMgr23FindBufferContainingLocENS_5SMLocE:
   65|   114k|unsigned SourceMgr::FindBufferContainingLoc(SMLoc Loc) const {
   66|  12.1M|  for (unsigned i = 0, e = Buffers.size(); i != e; ++i)
  ------------------
  |  Branch (66:44): [True: 12.1M, False: 33.8k]
  ------------------
   67|  12.1M|    if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() &&
  ------------------
  |  Branch (67:9): [True: 3.93M, False: 8.18M]
  ------------------
   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|  3.93M|        Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd())
  ------------------
  |  Branch (70:9): [True: 80.3k, False: 3.85M]
  ------------------
   71|  80.3k|      return i + 1;
   72|  33.8k|  return 0;
   73|   114k|}
_ZNK7llvm_ks9SourceMgr16getLineAndColumnENS_5SMLocEj:
   76|  28.1k|SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const {
   77|  28.1k|  if (!BufferID)
  ------------------
  |  Branch (77:7): [True: 0, False: 28.1k]
  ------------------
   78|      0|    BufferID = FindBufferContainingLoc(Loc);
   79|  28.1k|  assert(BufferID && "Invalid Location!");
  ------------------
  |  Branch (79:3): [True: 28.1k, False: 0]
  |  Branch (79:3): [True: 28.1k, Folded]
  |  Branch (79:3): [True: 28.1k, False: 0]
  ------------------
   80|       |
   81|  28.1k|  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|  28.1k|  unsigned LineNo = 1;
   86|       |
   87|  28.1k|  const char *BufStart = Buff->getBufferStart();
   88|  28.1k|  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|  28.1k|  if (LineNoCacheTy *Cache = getCache(LineNoCache))
  ------------------
  |  Branch (93:22): [True: 26.8k, False: 1.28k]
  ------------------
   94|  26.8k|    if (Cache->LastQueryBufferID == BufferID &&
  ------------------
  |  Branch (94:9): [True: 6.35k, False: 20.5k]
  ------------------
   95|  6.35k|        Cache->LastQuery <= Loc.getPointer()) {
  ------------------
  |  Branch (95:9): [True: 5.48k, False: 868]
  ------------------
   96|  5.48k|      Ptr = Cache->LastQuery;
   97|  5.48k|      LineNo = Cache->LineNoOfQuery;
   98|  5.48k|    }
   99|       |
  100|       |  // Scan for the location being queried, keeping track of the number of lines
  101|       |  // we see.
  102|  7.14M|  for (; SMLoc::getFromPointer(Ptr) != Loc; ++Ptr)
  ------------------
  |  Branch (102:10): [True: 7.12M, False: 28.1k]
  ------------------
  103|  7.12M|    if (*Ptr == '\n') ++LineNo;
  ------------------
  |  Branch (103:9): [True: 115k, False: 7.00M]
  ------------------
  104|       |
  105|       |  // Allocate the line number cache if it doesn't exist.
  106|  28.1k|  if (!LineNoCache)
  ------------------
  |  Branch (106:7): [True: 1.28k, False: 26.8k]
  ------------------
  107|  1.28k|    LineNoCache = new LineNoCacheTy();
  108|       |
  109|       |  // Update the line # cache.
  110|  28.1k|  LineNoCacheTy &Cache = *getCache(LineNoCache);
  111|  28.1k|  Cache.LastQueryBufferID = BufferID;
  112|  28.1k|  Cache.LastQuery = Ptr;
  113|  28.1k|  Cache.LineNoOfQuery = LineNo;
  114|       |  
  115|  28.1k|  size_t NewlineOffs = StringRef(BufStart, Ptr-BufStart).find_last_of("\n\r");
  116|  28.1k|  if (NewlineOffs == StringRef::npos) NewlineOffs = ~(size_t)0;
  ------------------
  |  Branch (116:7): [True: 19.5k, False: 8.67k]
  ------------------
  117|  28.1k|  return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs);
  118|  28.1k|}
_ZNK7llvm_ks9SourceMgr17PrintIncludeStackENS_5SMLocERNS_11raw_ostreamE:
  120|  17.1k|void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const {
  121|  17.1k|  if (IncludeLoc == SMLoc()) return;  // Top of stack.
  ------------------
  |  Branch (121:7): [True: 17.1k, 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|  29.2k|                                   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|  29.2k|  SmallVector<std::pair<unsigned, unsigned>, 4> ColRanges;
  142|  29.2k|  std::pair<unsigned, unsigned> LineAndCol;
  143|  29.2k|  const char *BufferID = "<unknown>";
  144|  29.2k|  std::string LineStr;
  145|       |  
  146|  29.2k|  if (Loc.isValid()) {
  ------------------
  |  Branch (146:7): [True: 26.4k, False: 2.85k]
  ------------------
  147|  26.4k|    unsigned CurBuf = FindBufferContainingLoc(Loc);
  148|  26.4k|    assert(CurBuf && "Invalid or unspecified location!");
  ------------------
  |  Branch (148:5): [True: 26.4k, False: 0]
  |  Branch (148:5): [True: 26.4k, Folded]
  |  Branch (148:5): [True: 26.4k, False: 0]
  ------------------
  149|       |
  150|  26.4k|    const MemoryBuffer *CurMB = getMemoryBuffer(CurBuf);
  151|  26.4k|    BufferID = CurMB->getBufferIdentifier();
  152|       |    
  153|       |    // Scan backward to find the start of the line.
  154|  26.4k|    const char *LineStart = Loc.getPointer();
  155|  26.4k|    const char *BufStart = CurMB->getBufferStart();
  156|   593k|    while (LineStart != BufStart && LineStart[-1] != '\n' &&
  ------------------
  |  Branch (156:12): [True: 574k, False: 18.7k]
  |  Branch (156:37): [True: 571k, False: 3.33k]
  ------------------
  157|   571k|           LineStart[-1] != '\r')
  ------------------
  |  Branch (157:12): [True: 566k, False: 4.37k]
  ------------------
  158|   566k|      --LineStart;
  159|       |
  160|       |    // Get the end of the line.
  161|  26.4k|    const char *LineEnd = Loc.getPointer();
  162|  26.4k|    const char *BufEnd = CurMB->getBufferEnd();
  163|   668k|    while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r')
  ------------------
  |  Branch (163:12): [True: 666k, False: 1.96k]
  |  Branch (163:33): [True: 647k, False: 19.0k]
  |  Branch (163:55): [True: 642k, False: 5.40k]
  ------------------
  164|   642k|      ++LineEnd;
  165|  26.4k|    LineStr = std::string(LineStart, LineEnd);
  166|       |
  167|       |    // Convert any ranges to column ranges that only intersect the line of the
  168|       |    // location.
  169|  26.4k|    for (unsigned i = 0, e = Ranges.size(); i != e; ++i) {
  ------------------
  |  Branch (169:45): [True: 28, False: 26.4k]
  ------------------
  170|     28|      SMRange R = Ranges[i];
  171|     28|      if (!R.isValid()) continue;
  ------------------
  |  Branch (171:11): [True: 0, False: 28]
  ------------------
  172|       |      
  173|       |      // If the line doesn't contain any part of the range, then ignore it.
  174|     28|      if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart)
  ------------------
  |  Branch (174:11): [True: 0, False: 28]
  |  Branch (174:45): [True: 0, False: 28]
  ------------------
  175|      0|        continue;
  176|       |     
  177|       |      // Ignore pieces of the range that go onto other lines.
  178|     28|      if (R.Start.getPointer() < LineStart)
  ------------------
  |  Branch (178:11): [True: 0, False: 28]
  ------------------
  179|      0|        R.Start = SMLoc::getFromPointer(LineStart);
  180|     28|      if (R.End.getPointer() > LineEnd)
  ------------------
  |  Branch (180:11): [True: 6, False: 22]
  ------------------
  181|      6|        R.End = SMLoc::getFromPointer(LineEnd);
  182|       |      
  183|       |      // Translate from SMLoc ranges to column ranges.
  184|       |      // FIXME: Handle multibyte characters.
  185|     28|      ColRanges.push_back(std::make_pair(R.Start.getPointer()-LineStart,
  186|     28|                                         R.End.getPointer()-LineStart));
  187|     28|    }
  188|       |
  189|  26.4k|    LineAndCol = getLineAndColumn(Loc, CurBuf);
  190|  26.4k|  }
  191|       |    
  192|  29.2k|  return SMDiagnostic(*this, Loc, BufferID, LineAndCol.first,
  193|  29.2k|                      LineAndCol.second-1, Kind, Msg.str(),
  194|  29.2k|                      LineStr, ColRanges, FixIts);
  195|  29.2k|}
_ZNK7llvm_ks9SourceMgr12PrintMessageERNS_11raw_ostreamERKNS_12SMDiagnosticEb:
  198|  29.2k|                             bool ShowColors) const {
  199|       |  // Report the message with the diagnostic handler if present.
  200|  29.2k|  if (DiagHandler) {
  ------------------
  |  Branch (200:7): [True: 29.2k, False: 0]
  ------------------
  201|  29.2k|    DiagHandler(Diagnostic, DiagContext);
  202|  29.2k|    return;
  203|  29.2k|  }
  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|  29.2k|                             ArrayRef<SMFixIt> FixIts, bool ShowColors) const {
  218|  29.2k|  PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors);
  219|  29.2k|}
_ZNK7llvm_ks9SourceMgr12PrintMessageENS_5SMLocENS0_8DiagKindERKNS_5TwineENS_8ArrayRefINS_7SMRangeEEENS6_INS_7SMFixItEEEb:
  223|  29.2k|                             ArrayRef<SMFixIt> FixIts, bool ShowColors) const {
  224|  29.2k|  PrintMessage(llvm_ks::errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors);
  225|  29.2k|}
_ZN7llvm_ks12SMDiagnosticC2ERKNS_9SourceMgrENS_5SMLocENS_9StringRefEiiNS1_8DiagKindES5_S5_NS_8ArrayRefINSt3__14pairIjjEEEENS7_INS_7SMFixItEEE:
  236|  30.1k|  : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind),
  237|  30.1k|    Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()),
  238|  30.1k|    FixIts(Hints.begin(), Hints.end()) {
  239|  30.1k|  std::sort(FixIts.begin(), FixIts.end());
  240|  30.1k|}
_ZNK7llvm_ks12SMDiagnostic5printEPKcRNS_11raw_ostreamEbb:
  329|  29.2k|                         bool ShowKindLabel) const {
  330|       |  // Display colors only if OS supports colors.
  331|  29.2k|  ShowColors &= S.has_colors();
  332|       |
  333|  29.2k|  if (ShowColors)
  ------------------
  |  Branch (333:7): [True: 29.2k, False: 0]
  ------------------
  334|  29.2k|    S.changeColor(raw_ostream::SAVEDCOLOR, true);
  335|       |
  336|  29.2k|  if (ProgName && ProgName[0])
  ------------------
  |  Branch (336:7): [True: 0, False: 29.2k]
  |  Branch (336:19): [True: 0, False: 0]
  ------------------
  337|      0|    S << ProgName << ": ";
  338|       |
  339|  29.2k|  if (!Filename.empty()) {
  ------------------
  |  Branch (339:7): [True: 20.6k, False: 8.66k]
  ------------------
  340|  20.6k|    if (Filename == "-")
  ------------------
  |  Branch (340:9): [True: 30, False: 20.5k]
  ------------------
  341|     30|      S << "<stdin>";
  342|  20.5k|    else
  343|  20.5k|      S << Filename;
  344|       |
  345|  20.6k|    if (LineNo != -1) {
  ------------------
  |  Branch (345:9): [True: 20.5k, False: 30]
  ------------------
  346|  20.5k|      S << ':' << LineNo;
  347|  20.5k|      if (ColumnNo != -1)
  ------------------
  |  Branch (347:11): [True: 17.7k, False: 2.85k]
  ------------------
  348|  17.7k|        S << ':' << (ColumnNo+1);
  349|  20.5k|    }
  350|  20.6k|    S << ": ";
  351|  20.6k|  }
  352|       |
  353|  29.2k|  if (ShowKindLabel) {
  ------------------
  |  Branch (353:7): [True: 29.2k, False: 0]
  ------------------
  354|  29.2k|    switch (Kind) {
  ------------------
  |  Branch (354:13): [True: 29.2k, False: 0]
  ------------------
  355|  5.73k|    case SourceMgr::DK_Error:
  ------------------
  |  Branch (355:5): [True: 5.73k, False: 23.5k]
  ------------------
  356|  5.73k|      if (ShowColors)
  ------------------
  |  Branch (356:11): [True: 5.73k, False: 0]
  ------------------
  357|  5.73k|        S.changeColor(raw_ostream::RED, true);
  358|  5.73k|      S << "error: ";
  359|  5.73k|      break;
  360|  6.36k|    case SourceMgr::DK_Warning:
  ------------------
  |  Branch (360:5): [True: 6.36k, False: 22.9k]
  ------------------
  361|  6.36k|      if (ShowColors)
  ------------------
  |  Branch (361:11): [True: 6.36k, False: 0]
  ------------------
  362|  6.36k|        S.changeColor(raw_ostream::MAGENTA, true);
  363|  6.36k|      S << "warning: ";
  364|  6.36k|      break;
  365|  17.1k|    case SourceMgr::DK_Note:
  ------------------
  |  Branch (365:5): [True: 17.1k, False: 12.1k]
  ------------------
  366|  17.1k|      if (ShowColors)
  ------------------
  |  Branch (366:11): [True: 17.1k, False: 0]
  ------------------
  367|  17.1k|        S.changeColor(raw_ostream::BLACK, true);
  368|  17.1k|      S << "note: ";
  369|  17.1k|      break;
  370|  29.2k|    }
  371|       |
  372|  29.2k|    if (ShowColors) {
  ------------------
  |  Branch (372:9): [True: 29.2k, False: 0]
  ------------------
  373|  29.2k|      S.resetColor();
  374|  29.2k|      S.changeColor(raw_ostream::SAVEDCOLOR, true);
  375|  29.2k|    }
  376|  29.2k|  }
  377|       |
  378|  29.2k|  S << Message << '\n';
  379|       |
  380|  29.2k|  if (ShowColors)
  ------------------
  |  Branch (380:7): [True: 29.2k, False: 0]
  ------------------
  381|  29.2k|    S.resetColor();
  382|       |
  383|  29.2k|  if (LineNo == -1 || ColumnNo == -1)
  ------------------
  |  Branch (383:7): [True: 30, False: 29.2k]
  |  Branch (383:23): [True: 2.85k, False: 26.3k]
  ------------------
  384|  2.88k|    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|  26.3k|  if (std::find_if(LineContents.begin(), LineContents.end(), isNonASCII) !=
  ------------------
  |  Branch (391:7): [True: 2.84k, False: 23.5k]
  ------------------
  392|  26.3k|      LineContents.end()) {
  393|  2.84k|    printSourceLine(S, LineContents);
  394|  2.84k|    return;
  395|  2.84k|  }
  396|  23.5k|  size_t NumColumns = LineContents.size();
  397|       |
  398|       |  // Build the line with the caret and ranges.
  399|  23.5k|  std::string CaretLine(NumColumns+1, ' ');
  400|       |  
  401|       |  // Expand any ranges.
  402|  23.5k|  for (unsigned r = 0, e = Ranges.size(); r != e; ++r) {
  ------------------
  |  Branch (402:43): [True: 28, False: 23.5k]
  ------------------
  403|     28|    std::pair<unsigned, unsigned> R = Ranges[r];
  404|     28|    std::fill(&CaretLine[R.first],
  405|     28|              &CaretLine[std::min((size_t)R.second, CaretLine.size())],
  406|     28|              '~');
  407|     28|  }
  408|       |
  409|       |  // Add any fix-its.
  410|       |  // FIXME: Find the beginning of the line properly for multibyte characters.
  411|  23.5k|  std::string FixItInsertionLine;
  412|  23.5k|  buildFixItLine(CaretLine, FixItInsertionLine, FixIts,
  413|  23.5k|                 makeArrayRef(Loc.getPointer() - ColumnNo,
  414|  23.5k|                              LineContents.size()));
  415|       |
  416|       |  // Finally, plop on the caret.
  417|  23.5k|  if (unsigned(ColumnNo) <= NumColumns)
  ------------------
  |  Branch (417:7): [True: 23.5k, False: 0]
  ------------------
  418|  23.5k|    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|  23.5k|  CaretLine.erase(CaretLine.find_last_not_of(' ')+1);
  426|       |  
  427|  23.5k|  printSourceLine(S, LineContents);
  428|       |
  429|  23.5k|  if (ShowColors)
  ------------------
  |  Branch (429:7): [True: 23.5k, False: 0]
  ------------------
  430|  23.5k|    S.changeColor(raw_ostream::GREEN, true);
  431|       |
  432|       |  // Print out the caret line, matching tabs in the source line.
  433|   548k|  for (unsigned i = 0, e = CaretLine.size(), OutCol = 0; i != e; ++i) {
  ------------------
  |  Branch (433:58): [True: 525k, False: 23.5k]
  ------------------
  434|   525k|    if (i >= LineContents.size() || LineContents[i] != '\t') {
  ------------------
  |  Branch (434:9): [True: 110, False: 524k]
  |  Branch (434:37): [True: 523k, False: 1.07k]
  ------------------
  435|   524k|      S << CaretLine[i];
  436|   524k|      ++OutCol;
  437|   524k|      continue;
  438|   524k|    }
  439|       |    
  440|       |    // Okay, we have a tab.  Insert the appropriate number of characters.
  441|  6.37k|    do {
  442|  6.37k|      S << CaretLine[i];
  443|  6.37k|      ++OutCol;
  444|  6.37k|    } while ((OutCol % TabStop) != 0);
  ------------------
  |  Branch (444:14): [True: 5.30k, False: 1.07k]
  ------------------
  445|  1.07k|  }
  446|  23.5k|  S << '\n';
  447|       |
  448|  23.5k|  if (ShowColors)
  ------------------
  |  Branch (448:7): [True: 23.5k, False: 0]
  ------------------
  449|  23.5k|    S.resetColor();
  450|       |
  451|       |  // Print out the replacement line, matching tabs in the source line.
  452|  23.5k|  if (FixItInsertionLine.empty())
  ------------------
  |  Branch (452:7): [True: 23.5k, False: 0]
  ------------------
  453|  23.5k|    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|  69.0k|static LineNoCacheTy *getCache(void *Ptr) {
   34|  69.0k|  return (LineNoCacheTy*)Ptr;
   35|  69.0k|}
SourceMgr.cpp:_ZL10isNonASCIIc:
  324|  1.03M|static bool isNonASCII(char c) {
  325|  1.03M|  return c & 0x80;
  326|  1.03M|}
SourceMgr.cpp:_ZL15printSourceLineRN7llvm_ks11raw_ostreamENS_9StringRefE:
  306|  26.3k|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|  1.23M|  for (unsigned i = 0, e = LineContents.size(), OutCol = 0; i != e; ++i) {
  ------------------
  |  Branch (308:61): [True: 1.20M, False: 26.3k]
  ------------------
  309|  1.20M|    if (LineContents[i] != '\t') {
  ------------------
  |  Branch (309:9): [True: 1.20M, False: 3.60k]
  ------------------
  310|  1.20M|      S << LineContents[i];
  311|  1.20M|      ++OutCol;
  312|  1.20M|      continue;
  313|  1.20M|    }
  314|       |
  315|       |    // If we have a tab, emit at least one space, then round up to 8 columns.
  316|  17.8k|    do {
  317|  17.8k|      S << ' ';
  318|  17.8k|      ++OutCol;
  319|  17.8k|    } while ((OutCol % TabStop) != 0);
  ------------------
  |  Branch (319:14): [True: 14.2k, False: 3.60k]
  ------------------
  320|  3.60k|  }
  321|  26.3k|  S << '\n';
  322|  26.3k|}
SourceMgr.cpp:_ZL14buildFixItLineRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES6_N7llvm_ks8ArrayRefINS7_7SMFixItEEENS8_IcEE:
  243|  23.5k|                           ArrayRef<SMFixIt> FixIts, ArrayRef<char> SourceLine){
  244|  23.5k|  if (FixIts.empty())
  ------------------
  |  Branch (244:7): [True: 23.5k, False: 0]
  ------------------
  245|  23.5k|    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|  64.1k|void StringMapImpl::init(unsigned InitSize) {
   37|  64.1k|  assert((InitSize & (InitSize-1)) == 0 &&
  ------------------
  |  Branch (37:3): [True: 64.1k, False: 0]
  |  Branch (37:3): [True: 64.1k, Folded]
  |  Branch (37:3): [True: 64.1k, False: 0]
  ------------------
   38|  64.1k|         "Init Size must be a power of 2 or zero!");
   39|  64.1k|  NumBuckets = InitSize ? InitSize : 16;
  ------------------
  |  Branch (39:16): [True: 64.1k, False: 0]
  ------------------
   40|  64.1k|  NumItems = 0;
   41|  64.1k|  NumTombstones = 0;
   42|       |  
   43|  64.1k|  TheTable = (StringMapEntryBase **)calloc(NumBuckets+1,
   44|  64.1k|                                           sizeof(StringMapEntryBase **) +
   45|  64.1k|                                           sizeof(unsigned));
   46|       |
   47|       |  // Allocate one extra bucket, set it to look filled so the iterators stop at
   48|       |  // end.
   49|  64.1k|  TheTable[NumBuckets] = (StringMapEntryBase*)2;
   50|  64.1k|}
_ZN7llvm_ks13StringMapImpl15LookupBucketForENS_9StringRefE:
   58|  2.98M|unsigned StringMapImpl::LookupBucketFor(StringRef Name) {
   59|  2.98M|  unsigned HTSize = NumBuckets;
   60|  2.98M|  if (HTSize == 0) {  // Hash table unallocated so far?
  ------------------
  |  Branch (60:7): [True: 64.1k, False: 2.91M]
  ------------------
   61|  64.1k|    init(16);
   62|  64.1k|    HTSize = NumBuckets;
   63|  64.1k|  }
   64|  2.98M|  unsigned FullHashValue = HashString(Name);
   65|  2.98M|  unsigned BucketNo = FullHashValue & (HTSize-1);
   66|  2.98M|  unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1);
   67|       |
   68|  2.98M|  unsigned ProbeAmt = 1;
   69|  2.98M|  int FirstTombstone = -1;
   70|  7.01M|  while (1) {
  ------------------
  |  Branch (70:10): [True: 7.01M, Folded]
  ------------------
   71|  7.01M|    StringMapEntryBase *BucketItem = TheTable[BucketNo];
   72|       |    // If we found an empty bucket, this key isn't in the table yet, return it.
   73|  7.01M|    if (LLVM_LIKELY(!BucketItem)) {
  ------------------
  |  |  170|  7.01M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 2.75M, False: 4.26M]
  |  |  ------------------
  ------------------
   74|       |      // If we found a tombstone, we want to reuse the tombstone instead of an
   75|       |      // empty bucket.  This reduces probing.
   76|  2.75M|      if (FirstTombstone != -1) {
  ------------------
  |  Branch (76:11): [True: 0, False: 2.75M]
  ------------------
   77|      0|        HashTable[FirstTombstone] = FullHashValue;
   78|      0|        return FirstTombstone;
   79|      0|      }
   80|       |      
   81|  2.75M|      HashTable[BucketNo] = FullHashValue;
   82|  2.75M|      return BucketNo;
   83|  2.75M|    }
   84|       |    
   85|  4.26M|    if (BucketItem == getTombstoneVal()) {
  ------------------
  |  Branch (85:9): [True: 0, False: 4.26M]
  ------------------
   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|  4.26M|    } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) {
  ------------------
  |  |  170|  4.26M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 229k, False: 4.03M]
  |  |  ------------------
  ------------------
   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|   229k|      char *ItemStr = (char*)BucketItem+ItemSize;
   97|   229k|      if (Name == StringRef(ItemStr, BucketItem->getKeyLength())) {
  ------------------
  |  Branch (97:11): [True: 228k, False: 249]
  ------------------
   98|       |        // We found a match!
   99|   228k|        return BucketNo;
  100|   228k|      }
  101|   229k|    }
  102|       |    
  103|       |    // Okay, we didn't find the item.  Probe to the next bucket.
  104|  4.03M|    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|  4.03M|    ++ProbeAmt;
  109|  4.03M|  }
  110|  2.98M|}
_ZNK7llvm_ks13StringMapImpl7FindKeyENS_9StringRefE:
  116|  3.45M|int StringMapImpl::FindKey(StringRef Key) const {
  117|  3.45M|  unsigned HTSize = NumBuckets;
  118|  3.45M|  if (HTSize == 0) return -1;  // Really empty table?
  ------------------
  |  Branch (118:7): [True: 993k, False: 2.46M]
  ------------------
  119|  2.46M|  unsigned FullHashValue = HashString(Key);
  120|  2.46M|  unsigned BucketNo = FullHashValue & (HTSize-1);
  121|  2.46M|  unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1);
  122|       |
  123|  2.46M|  unsigned ProbeAmt = 1;
  124|  4.23M|  while (1) {
  ------------------
  |  Branch (124:10): [True: 4.23M, Folded]
  ------------------
  125|  4.23M|    StringMapEntryBase *BucketItem = TheTable[BucketNo];
  126|       |    // If we found an empty bucket, this key isn't in the table yet, return.
  127|  4.23M|    if (LLVM_LIKELY(!BucketItem))
  ------------------
  |  |  170|  4.23M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 2.14M, False: 2.09M]
  |  |  ------------------
  ------------------
  128|  2.14M|      return -1;
  129|       |    
  130|  2.09M|    if (BucketItem == getTombstoneVal()) {
  ------------------
  |  Branch (130:9): [True: 0, False: 2.09M]
  ------------------
  131|       |      // Ignore tombstones.
  132|  2.09M|    } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) {
  ------------------
  |  |  170|  2.09M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 320k, False: 1.77M]
  |  |  ------------------
  ------------------
  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|   320k|      char *ItemStr = (char*)BucketItem+ItemSize;
  141|   320k|      if (Key == StringRef(ItemStr, BucketItem->getKeyLength())) {
  ------------------
  |  Branch (141:11): [True: 320k, False: 252]
  ------------------
  142|       |        // We found a match!
  143|   320k|        return BucketNo;
  144|   320k|      }
  145|   320k|    }
  146|       |    
  147|       |    // Okay, we didn't find the item.  Probe to the next bucket.
  148|  1.77M|    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.77M|    ++ProbeAmt;
  153|  1.77M|  }
  154|  2.46M|}
_ZN7llvm_ks13StringMapImpl11RehashTableEj:
  184|  2.75M|unsigned StringMapImpl::RehashTable(unsigned BucketNo) {
  185|  2.75M|  unsigned NewSize;
  186|  2.75M|  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|  2.75M|  if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) {
  ------------------
  |  |  171|  2.75M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 92.8k, False: 2.66M]
  |  |  ------------------
  ------------------
  192|  92.8k|    NewSize = NumBuckets*2;
  193|  2.66M|  } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <=
  ------------------
  |  |  171|  2.66M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 2.66M]
  |  |  ------------------
  ------------------
  194|  2.66M|                           NumBuckets / 8)) {
  195|      0|    NewSize = NumBuckets;
  196|  2.66M|  } else {
  197|  2.66M|    return BucketNo;
  198|  2.66M|  }
  199|       |
  200|  92.8k|  unsigned NewBucketNo = BucketNo;
  201|       |  // Allocate one extra bucket which will always be non-empty.  This allows the
  202|       |  // iterators to stop at end.
  203|  92.8k|  StringMapEntryBase **NewTableArray =
  204|  92.8k|    (StringMapEntryBase **)calloc(NewSize+1, sizeof(StringMapEntryBase *) +
  205|  92.8k|                                             sizeof(unsigned));
  206|  92.8k|  unsigned *NewHashArray = (unsigned *)(NewTableArray + NewSize + 1);
  207|  92.8k|  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|  4.74M|  for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (211:40): [True: 4.64M, False: 92.8k]
  ------------------
  212|  4.64M|    StringMapEntryBase *Bucket = TheTable[I];
  213|  4.64M|    if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (213:9): [True: 3.57M, False: 1.06M]
  |  Branch (213:19): [True: 3.57M, False: 0]
  ------------------
  214|       |      // Fast case, bucket available.
  215|  3.57M|      unsigned FullHash = HashTable[I];
  216|  3.57M|      unsigned NewBucket = FullHash & (NewSize-1);
  217|  3.57M|      if (!NewTableArray[NewBucket]) {
  ------------------
  |  Branch (217:11): [True: 2.79M, False: 782k]
  ------------------
  218|  2.79M|        NewTableArray[FullHash & (NewSize-1)] = Bucket;
  219|  2.79M|        NewHashArray[FullHash & (NewSize-1)] = FullHash;
  220|  2.79M|        if (I == BucketNo)
  ------------------
  |  Branch (220:13): [True: 79.4k, False: 2.71M]
  ------------------
  221|  79.4k|          NewBucketNo = NewBucket;
  222|  2.79M|        continue;
  223|  2.79M|      }
  224|       |      
  225|       |      // Otherwise probe for a spot.
  226|   782k|      unsigned ProbeSize = 1;
  227|  1.13M|      do {
  228|  1.13M|        NewBucket = (NewBucket + ProbeSize++) & (NewSize-1);
  229|  1.13M|      } while (NewTableArray[NewBucket]);
  ------------------
  |  Branch (229:16): [True: 351k, False: 782k]
  ------------------
  230|       |      
  231|       |      // Finally found a slot.  Fill it in.
  232|   782k|      NewTableArray[NewBucket] = Bucket;
  233|   782k|      NewHashArray[NewBucket] = FullHash;
  234|   782k|      if (I == BucketNo)
  ------------------
  |  Branch (234:11): [True: 13.4k, False: 769k]
  ------------------
  235|  13.4k|        NewBucketNo = NewBucket;
  236|   782k|    }
  237|  4.64M|  }
  238|       |  
  239|  92.8k|  free(TheTable);
  240|       |  
  241|  92.8k|  TheTable = NewTableArray;
  242|  92.8k|  NumBuckets = NewSize;
  243|  92.8k|  NumTombstones = 0;
  244|  92.8k|  return NewBucketNo;
  245|  2.75M|}

_ZNK7llvm_ks9StringRef13compare_lowerES0_:
   52|  21.4k|int StringRef::compare_lower(StringRef RHS) const {
   53|  21.4k|  if (int Res = ascii_strncasecmp(Data, RHS.Data, std::min(Length, RHS.Length)))
  ------------------
  |  Branch (53:11): [True: 17.9k, False: 3.54k]
  ------------------
   54|  17.9k|    return Res;
   55|  3.54k|  if (Length == RHS.Length)
  ------------------
  |  Branch (55:7): [True: 3.13k, False: 405]
  ------------------
   56|  3.13k|    return 0;
   57|    405|  return Length < RHS.Length ? -1 : 1;
  ------------------
  |  Branch (57:10): [True: 385, False: 20]
  ------------------
   58|  3.54k|}
_ZNK7llvm_ks9StringRef5lowerEv:
  117|  1.54M|std::string StringRef::lower() const {
  118|  1.54M|  std::string Result(size(), char());
  119|  24.7M|  for (size_type i = 0, e = size(); i != e; ++i) {
  ------------------
  |  Branch (119:37): [True: 23.2M, False: 1.54M]
  ------------------
  120|  23.2M|    Result[i] = ascii_tolower(Data[i]);
  121|  23.2M|  }
  122|  1.54M|  return Result;
  123|  1.54M|}
_ZNK7llvm_ks9StringRef17find_first_not_ofES0_m:
  231|  38.4k|                                                  size_t From) const {
  232|  38.4k|  std::bitset<1 << CHAR_BIT> CharBits;
  233|   269k|  for (size_type i = 0; i != Chars.size(); ++i)
  ------------------
  |  Branch (233:25): [True: 230k, False: 38.4k]
  ------------------
  234|   230k|    CharBits.set((unsigned char)Chars[i]);
  235|       |
  236|  39.3k|  for (size_type i = std::min(From, Length), e = Length; i != e; ++i)
  ------------------
  |  Branch (236:58): [True: 27.4k, False: 11.8k]
  ------------------
  237|  27.4k|    if (!CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (237:9): [True: 26.6k, False: 827]
  ------------------
  238|  26.6k|      return i;
  239|  11.8k|  return npos;
  240|  38.4k|}
_ZNK7llvm_ks9StringRef12find_last_ofES0_m:
  247|  28.1k|                                             size_t From) const {
  248|  28.1k|  std::bitset<1 << CHAR_BIT> CharBits;
  249|  84.5k|  for (size_type i = 0; i != Chars.size(); ++i)
  ------------------
  |  Branch (249:25): [True: 56.3k, False: 28.1k]
  ------------------
  250|  56.3k|    CharBits.set((unsigned char)Chars[i]);
  251|       |
  252|   603k|  for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
  ------------------
  |  Branch (252:58): [True: 583k, False: 19.5k]
  ------------------
  253|   583k|    if (CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (253:9): [True: 8.67k, False: 574k]
  ------------------
  254|  8.67k|      return i;
  255|  19.5k|  return npos;
  256|  28.1k|}
_ZNK7llvm_ks9StringRef16find_last_not_ofES0_m:
  272|  38.4k|                                                 size_t From) const {
  273|  38.4k|  std::bitset<1 << CHAR_BIT> CharBits;
  274|   269k|  for (size_type i = 0, e = Chars.size(); i != e; ++i)
  ------------------
  |  Branch (274:43): [True: 230k, False: 38.4k]
  ------------------
  275|   230k|    CharBits.set((unsigned char)Chars[i]);
  276|       |
  277|  38.7k|  for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
  ------------------
  |  Branch (277:58): [True: 26.8k, False: 11.8k]
  ------------------
  278|  26.8k|    if (!CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (278:9): [True: 26.6k, False: 264]
  ------------------
  279|  26.6k|      return i;
  280|  11.8k|  return npos;
  281|  38.4k|}
_ZNK7llvm_ks9StringRef5splitERNS_15SmallVectorImplIS0_EEcib:
  311|   147k|                      int MaxSplit, bool KeepEmpty) const {
  312|   147k|  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|   179k|  while (MaxSplit-- != 0) {
  ------------------
  |  Branch (318:10): [True: 179k, False: 0]
  ------------------
  319|   179k|    size_t Idx = S.find(Separator);
  320|   179k|    if (Idx == npos)
  ------------------
  |  Branch (320:9): [True: 147k, False: 31.8k]
  ------------------
  321|   147k|      break;
  322|       |
  323|       |    // Push this split.
  324|  31.8k|    if (KeepEmpty || Idx > 0)
  ------------------
  |  Branch (324:9): [True: 31.4k, False: 352]
  |  Branch (324:22): [True: 275, False: 77]
  ------------------
  325|  31.7k|      A.push_back(S.slice(0, Idx));
  326|       |
  327|       |    // Jump forward.
  328|  31.8k|    S = S.slice(Idx + 1, npos);
  329|  31.8k|  }
  330|       |
  331|       |  // Push the tail.
  332|   147k|  if (KeepEmpty || !S.empty())
  ------------------
  |  Branch (332:7): [True: 135k, False: 12.6k]
  |  Branch (332:20): [True: 13, False: 12.6k]
  ------------------
  333|   135k|    A.push_back(S);
  334|   147k|}
_ZN7llvm_ks20getAsUnsignedIntegerENS_9StringRefEjRy:
  379|  2.36k|                                unsigned long long &Result) {
  380|       |  // Autosense radix if not specified.
  381|  2.36k|  if (Radix == 0)
  ------------------
  |  Branch (381:7): [True: 0, False: 2.36k]
  ------------------
  382|      0|    Radix = GetAutoSenseRadix(Str);
  383|       |
  384|       |  // Empty strings (after the radix autosense) are invalid.
  385|  2.36k|  if (Str.empty()) return true;
  ------------------
  |  Branch (385:7): [True: 116, False: 2.24k]
  ------------------
  386|       |
  387|       |  // Parse all the bytes of the string given this radix.  Watch for overflow.
  388|  2.24k|  Result = 0;
  389|  9.27k|  while (!Str.empty()) {
  ------------------
  |  Branch (389:10): [True: 8.12k, False: 1.15k]
  ------------------
  390|  8.12k|    unsigned CharVal;
  391|  8.12k|    if (Str[0] >= '0' && Str[0] <= '9')
  ------------------
  |  Branch (391:9): [True: 8.00k, False: 117]
  |  Branch (391:26): [True: 7.05k, False: 947]
  ------------------
  392|  7.05k|      CharVal = Str[0]-'0';
  393|  1.06k|    else if (Str[0] >= 'a' && Str[0] <= 'z')
  ------------------
  |  Branch (393:14): [True: 563, False: 501]
  |  Branch (393:31): [True: 563, False: 0]
  ------------------
  394|    563|      CharVal = Str[0]-'a'+10;
  395|    501|    else if (Str[0] >= 'A' && Str[0] <= 'Z')
  ------------------
  |  Branch (395:14): [True: 373, False: 128]
  |  Branch (395:31): [True: 369, False: 4]
  ------------------
  396|    369|      CharVal = Str[0]-'A'+10;
  397|    132|    else
  398|    132|      return true;
  399|       |
  400|       |    // If the parsed value is larger than the integer radix, the string is
  401|       |    // invalid.
  402|  7.99k|    if (CharVal >= Radix)
  ------------------
  |  Branch (402:9): [True: 932, False: 7.05k]
  ------------------
  403|    932|      return true;
  404|       |
  405|       |    // Add in this character.
  406|  7.05k|    unsigned long long PrevResult = Result;
  407|  7.05k|    Result = Result*Radix+CharVal;
  408|       |
  409|       |    // Check for overflow by shifting back and seeing if bits were lost.
  410|  7.05k|    if (Result/Radix < PrevResult)
  ------------------
  |  Branch (410:9): [True: 29, False: 7.02k]
  ------------------
  411|     29|      return true;
  412|       |
  413|  7.02k|    Str = Str.substr(1);
  414|  7.02k|  }
  415|       |
  416|  1.15k|  return false;
  417|  2.24k|}
_ZN7llvm_ks18getAsSignedIntegerENS_9StringRefEjRx:
  420|  2.36k|                              long long &Result) {
  421|  2.36k|  unsigned long long ULLVal;
  422|       |
  423|       |  // Handle positive strings first.
  424|  2.36k|  if (Str.empty() || Str.front() != '-') {
  ------------------
  |  Branch (424:7): [True: 116, False: 2.24k]
  |  Branch (424:22): [True: 2.24k, False: 0]
  ------------------
  425|  2.36k|    if (getAsUnsignedInteger(Str, Radix, ULLVal) ||
  ------------------
  |  Branch (425:9): [True: 1.20k, False: 1.15k]
  ------------------
  426|       |        // Check for value so large it overflows a signed value.
  427|  1.15k|        (long long)ULLVal < 0)
  ------------------
  |  Branch (427:9): [True: 2, False: 1.15k]
  ------------------
  428|  1.21k|      return true;
  429|  1.15k|    Result = ULLVal;
  430|  1.15k|    return false;
  431|  2.36k|  }
  432|       |
  433|       |  // Get the positive part of the value.
  434|      0|  if (getAsUnsignedInteger(Str.substr(1), Radix, ULLVal) ||
  ------------------
  |  Branch (434:7): [True: 0, False: 0]
  |  Branch (434:7): [True: 0, False: 0]
  ------------------
  435|       |      // Reject values so large they'd overflow as negative signed, but allow
  436|       |      // "-0".  This negates the unsigned so that the negative isn't undefined
  437|       |      // on signed overflow.
  438|      0|      (long long)-ULLVal > 0)
  ------------------
  |  Branch (438:7): [True: 0, False: 0]
  ------------------
  439|      0|    return true;
  440|       |
  441|      0|  Result = -ULLVal;
  442|      0|  return false;
  443|      0|}
_ZNK7llvm_ks9StringRef12getAsIntegerEjRNS_5APIntE:
  445|   376k|bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const {
  446|   376k|  StringRef Str = *this;
  447|       |
  448|       |  // Autosense radix if not specified.
  449|   376k|  if (Radix == 0)
  ------------------
  |  Branch (449:7): [True: 3.54k, False: 373k]
  ------------------
  450|  3.54k|    Radix = GetAutoSenseRadix(Str);
  451|       |
  452|   376k|  assert(Radix > 1 && Radix <= 36);
  ------------------
  |  Branch (452:3): [True: 376k, False: 0]
  |  Branch (452:3): [True: 376k, False: 0]
  |  Branch (452:3): [True: 376k, False: 0]
  ------------------
  453|       |
  454|       |  // Empty strings (after the radix autosense) are invalid.
  455|   376k|  if (Str.empty()) return true;
  ------------------
  |  Branch (455:7): [True: 0, False: 376k]
  ------------------
  456|       |
  457|       |  // Skip leading zeroes.  This can be a significant improvement if
  458|       |  // it means we don't need > 64 bits.
  459|   448k|  while (!Str.empty() && Str.front() == '0')
  ------------------
  |  Branch (459:10): [True: 420k, False: 27.7k]
  |  Branch (459:26): [True: 71.7k, False: 349k]
  ------------------
  460|  71.7k|    Str = Str.substr(1);
  461|       |
  462|       |  // If it was nothing but zeroes....
  463|   376k|  if (Str.empty()) {
  ------------------
  |  Branch (463:7): [True: 27.7k, False: 349k]
  ------------------
  464|  27.7k|    Result = APInt(64, 0);
  465|  27.7k|    return false;
  466|  27.7k|  }
  467|       |
  468|       |  // (Over-)estimate the required number of bits.
  469|   349k|  unsigned Log2Radix = 0;
  470|  1.73M|  while ((1U << Log2Radix) < Radix) Log2Radix++;
  ------------------
  |  Branch (470:10): [True: 1.38M, False: 349k]
  ------------------
  471|   349k|  bool IsPowerOf2Radix = ((1U << Log2Radix) == Radix);
  472|       |
  473|   349k|  unsigned BitWidth = Log2Radix * Str.size();
  474|   349k|  if (BitWidth < Result.getBitWidth())
  ------------------
  |  Branch (474:7): [True: 345k, False: 3.25k]
  ------------------
  475|   345k|    BitWidth = Result.getBitWidth(); // don't shrink the result
  476|  3.25k|  else if (BitWidth > Result.getBitWidth())
  ------------------
  |  Branch (476:12): [True: 2.90k, False: 355]
  ------------------
  477|  2.90k|    Result = Result.zext(BitWidth);
  478|       |
  479|   349k|  APInt RadixAP, CharAP; // unused unless !IsPowerOf2Radix
  480|   349k|  if (!IsPowerOf2Radix) {
  ------------------
  |  Branch (480:7): [True: 0, False: 349k]
  ------------------
  481|       |    // These must have the same bit-width as Result.
  482|      0|    RadixAP = APInt(BitWidth, Radix);
  483|      0|    CharAP = APInt(BitWidth, 0);
  484|      0|  }
  485|       |
  486|       |  // Parse all the bytes of the string given this radix.
  487|   349k|  Result = 0;
  488|  1.47M|  while (!Str.empty()) {
  ------------------
  |  Branch (488:10): [True: 1.13M, False: 347k]
  ------------------
  489|  1.13M|    unsigned CharVal;
  490|  1.13M|    if (Str[0] >= '0' && Str[0] <= '9')
  ------------------
  |  Branch (490:9): [True: 1.13M, False: 0]
  |  Branch (490:26): [True: 1.09M, False: 35.0k]
  ------------------
  491|  1.09M|      CharVal = Str[0]-'0';
  492|  35.0k|    else if (Str[0] >= 'a' && Str[0] <= 'z')
  ------------------
  |  Branch (492:14): [True: 26.8k, False: 8.27k]
  |  Branch (492:31): [True: 26.8k, False: 0]
  ------------------
  493|  26.8k|      CharVal = Str[0]-'a'+10;
  494|  8.27k|    else if (Str[0] >= 'A' && Str[0] <= 'Z')
  ------------------
  |  Branch (494:14): [True: 8.27k, False: 0]
  |  Branch (494:31): [True: 8.27k, False: 0]
  ------------------
  495|  8.27k|      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.13M|    if (CharVal >= Radix)
  ------------------
  |  Branch (501:9): [True: 1.82k, False: 1.13M]
  ------------------
  502|  1.82k|      return true;
  503|       |
  504|       |    // Add in this character.
  505|  1.13M|    if (IsPowerOf2Radix) {
  ------------------
  |  Branch (505:9): [True: 1.13M, False: 0]
  ------------------
  506|  1.13M|      Result <<= Log2Radix;
  507|  1.13M|      Result |= CharVal;
  508|  1.13M|    } else {
  509|      0|      Result *= RadixAP;
  510|      0|      CharAP = CharVal;
  511|      0|      Result += CharAP;
  512|      0|    }
  513|       |
  514|  1.13M|    Str = Str.substr(1);
  515|  1.13M|  }
  516|       |
  517|   347k|  return false;
  518|   349k|}
_ZN7llvm_ks10hash_valueENS_9StringRefE:
  522|  11.7k|hash_code llvm_ks::hash_value(StringRef S) {
  523|  11.7k|  return hash_combine_range(S.begin(), S.end());
  524|  11.7k|}
StringRef.cpp:_ZL17ascii_strncasecmpPKcS0_m:
   41|  21.4k|static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) {
   42|  28.1k|  for (size_t I = 0; I < Length; ++I) {
  ------------------
  |  Branch (42:22): [True: 24.6k, False: 3.54k]
  ------------------
   43|  24.6k|    unsigned char LHC = ascii_tolower(LHS[I]);
   44|  24.6k|    unsigned char RHC = ascii_tolower(RHS[I]);
   45|  24.6k|    if (LHC != RHC)
  ------------------
  |  Branch (45:9): [True: 17.9k, False: 6.70k]
  ------------------
   46|  17.9k|      return LHC < RHC ? -1 : 1;
  ------------------
  |  Branch (46:14): [True: 8.35k, False: 9.57k]
  ------------------
   47|  24.6k|  }
   48|  3.54k|  return 0;
   49|  21.4k|}
StringRef.cpp:_ZL13ascii_tolowerc:
   23|  23.2M|static char ascii_tolower(char x) {
   24|  23.2M|  if (x >= 'A' && x <= 'Z')
  ------------------
  |  Branch (24:7): [True: 20.9M, False: 2.28M]
  |  Branch (24:19): [True: 9.14M, False: 11.8M]
  ------------------
   25|  9.14M|    return x - 'A' + 'a';
   26|  14.1M|  return x;
   27|  23.2M|}
StringRef.cpp:_ZL17GetAutoSenseRadixRN7llvm_ks9StringRefE:
  353|  3.54k|static unsigned GetAutoSenseRadix(StringRef &Str) {
  354|  3.54k|  if (Str.startswith("0x") || Str.startswith("0X")) {
  ------------------
  |  Branch (354:7): [True: 2.94k, False: 602]
  |  Branch (354:7): [True: 3.54k, False: 0]
  |  Branch (354:31): [True: 602, False: 0]
  ------------------
  355|  3.54k|    Str = Str.substr(2);
  356|  3.54k|    return 16;
  357|  3.54k|  }
  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|   228k|StringRef llvm_ks::ARM::getCanonicalArchName(StringRef Arch) {
  424|   228k|  size_t offset = StringRef::npos;
  425|   228k|  StringRef A = Arch;
  426|   228k|  StringRef Error = "";
  427|       |
  428|       |  // Begins with "arm" / "thumb", move past it.
  429|   228k|  if (A.startswith("arm64"))
  ------------------
  |  Branch (429:7): [True: 0, False: 228k]
  ------------------
  430|      0|    offset = 5;
  431|   228k|  else if (A.startswith("arm"))
  ------------------
  |  Branch (431:12): [True: 0, False: 228k]
  ------------------
  432|      0|    offset = 3;
  433|   228k|  else if (A.startswith("thumb"))
  ------------------
  |  Branch (433:12): [True: 0, False: 228k]
  ------------------
  434|      0|    offset = 5;
  435|   228k|  else if (A.startswith("aarch64")) {
  ------------------
  |  Branch (435:12): [True: 0, False: 228k]
  ------------------
  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|   228k|  if (offset != StringRef::npos && A.substr(offset, 2) == "eb")
  ------------------
  |  Branch (445:7): [True: 0, False: 228k]
  |  Branch (445:7): [True: 0, False: 228k]
  |  Branch (445:36): [True: 0, False: 0]
  ------------------
  446|      0|    offset += 2;
  447|       |  // Or, if it ends with eb ("armv7eb"), chop it off.
  448|   228k|  else if (A.endswith("eb"))
  ------------------
  |  Branch (448:12): [True: 0, False: 228k]
  ------------------
  449|      0|    A = A.substr(0, A.size() - 2);
  450|       |  // Trim the head
  451|   228k|  if (offset != StringRef::npos)
  ------------------
  |  Branch (451:7): [True: 0, False: 228k]
  ------------------
  452|      0|    A = A.substr(offset);
  453|       |
  454|       |  // Empty string means offset reached the end, which means it's valid.
  455|   228k|  if (A.empty())
  ------------------
  |  Branch (455:7): [True: 0, False: 228k]
  ------------------
  456|      0|    return Arch;
  457|       |
  458|       |  // Only match non-marketing names
  459|   228k|  if (offset != StringRef::npos) {
  ------------------
  |  Branch (459:7): [True: 0, False: 228k]
  ------------------
  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|   228k|  return A;
  470|   228k|}
_ZN7llvm_ks3ARM9parseArchENS_9StringRefE:
  491|   114k|unsigned llvm_ks::ARM::parseArch(StringRef Arch) {
  492|   114k|  Arch = getCanonicalArchName(Arch);
  493|   114k|  StringRef Syn = getArchSynonym(Arch);
  494|  3.30M|  for (const auto A : ARCHNames) {
  ------------------
  |  Branch (494:21): [True: 3.30M, False: 114k]
  ------------------
  495|  3.30M|    if (A.getName().endswith(Syn))
  ------------------
  |  Branch (495:9): [True: 0, False: 3.30M]
  ------------------
  496|      0|      return A.ID;
  497|  3.30M|  }
  498|   114k|  return ARM::AK_INVALID;
  499|   114k|}
TargetParser.cpp:_ZNK12_GLOBAL__N_13$_17getNameEv:
   66|  3.30M|  StringRef getName() const { return StringRef(NameCStr, NameLength); }
TargetParser.cpp:_ZL14getArchSynonymN7llvm_ks9StringRefE:
  399|   114k|static StringRef getArchSynonym(StringRef Arch) {
  400|   114k|  return StringSwitch<StringRef>(Arch)
  401|   114k|      .Case("v5", "v5t")
  402|   114k|      .Case("v5e", "v5te")
  403|   114k|      .Case("v6j", "v6")
  404|   114k|      .Case("v6hl", "v6k")
  405|   114k|      .Cases("v6m", "v6sm", "v6s-m", "v6-m")
  406|   114k|      .Cases("v6z", "v6zk", "v6kz")
  407|   114k|      .Cases("v7", "v7a", "v7hl", "v7l", "v7-a")
  408|   114k|      .Case("v7r", "v7-r")
  409|   114k|      .Case("v7m", "v7-m")
  410|   114k|      .Case("v7em", "v7e-m")
  411|   114k|      .Cases("v8", "v8a", "aarch64", "arm64", "v8-a")
  412|   114k|      .Case("v8.1a", "v8.1-a")
  413|   114k|      .Case("v8.2a", "v8.2-a")
  414|   114k|      .Case("v8m.base", "v8-m.base")
  415|   114k|      .Case("v8m.main", "v8-m.main")
  416|   114k|      .Default(Arch);
  417|   114k|}

_ZN7llvm_ks14TargetRegistry7targetsEv:
   21|  88.6k|iterator_range<TargetRegistry::iterator> TargetRegistry::targets() {
   22|  88.6k|  return make_range(iterator(FirstTarget), iterator());
   23|  88.6k|}
_ZN7llvm_ks14TargetRegistry12lookupTargetERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERNS_6TripleERS7_:
   27|  12.6k|                                           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|  12.6k|  const Target *TheTarget = nullptr;
   32|  12.6k|  if (!ArchName.empty()) {
  ------------------
  |  Branch (32:7): [True: 0, False: 12.6k]
  ------------------
   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|  12.6k|  } else {
   50|       |    // Get the target specific parser.
   51|  12.6k|    std::string TempError;
   52|  12.6k|    TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError);
   53|  12.6k|    if (!TheTarget) {
  ------------------
  |  Branch (53:9): [True: 0, False: 12.6k]
  ------------------
   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|  12.6k|  }
   60|       |
   61|  12.6k|  return TheTarget;
   62|  12.6k|}
_ZN7llvm_ks14TargetRegistry12lookupTargetERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEERS7_:
   65|  12.6k|                                           std::string &Error) {
   66|       |  // Provide special warning when no targets are initialized.
   67|  12.6k|  if (targets().begin() == targets().end()) {
  ------------------
  |  Branch (67:7): [True: 0, False: 12.6k]
  ------------------
   68|      0|    Error = "Unable to find target for this triple (no targets are registered)";
   69|      0|    return nullptr;
   70|      0|  }
   71|  12.6k|  Triple::ArchType Arch = Triple(TT).getArch();
   72|  12.6k|  auto ArchMatch = [&](const Target &T) { return T.ArchMatchFn(Arch); };
   73|  12.6k|  auto I = std::find_if(targets().begin(), targets().end(), ArchMatch);
   74|       |
   75|  12.6k|  if (I == targets().end()) {
  ------------------
  |  Branch (75:7): [True: 0, False: 12.6k]
  ------------------
   76|      0|    Error = "No available targets are compatible with this triple.";
   77|      0|    return nullptr;
   78|      0|  }
   79|       |
   80|  12.6k|  auto J = std::find_if(std::next(I), targets().end(), ArchMatch);
   81|  12.6k|  if (J != targets().end()) {
  ------------------
  |  Branch (81:7): [True: 0, False: 12.6k]
  ------------------
   82|      0|    Error = std::string("Cannot choose between targets \"") + I->Name +
   83|      0|            "\" and \"" + J->Name + "\"";
   84|      0|    return nullptr;
   85|      0|  }
   86|       |
   87|  12.6k|  return &*I;
   88|  12.6k|}
_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|   291k|  auto ArchMatch = [&](const Target &T) { return T.ArchMatchFn(Arch); };

_ZN7llvm_ks6TripleC2ERKNS_5TwineE:
  618|   114k|    : Data(Str.str()), Arch(UnknownArch), SubArch(NoSubArch),
  619|   114k|      Vendor(UnknownVendor), OS(UnknownOS), Environment(UnknownEnvironment),
  620|   114k|      ObjectFormat(UnknownObjectFormat) {
  621|       |  // Do minimal parsing by hand here.
  622|   114k|  SmallVector<StringRef, 4> Components;
  623|   114k|  StringRef(Data).split(Components, '-', /*MaxSplit*/ 3);
  624|   114k|  if (Components.size() > 0) {
  ------------------
  |  Branch (624:7): [True: 114k, False: 0]
  ------------------
  625|   114k|    Arch = parseArch(Components[0]);
  626|   114k|    SubArch = parseSubArch(Components[0]);
  627|   114k|    if (Components.size() > 1) {
  ------------------
  |  Branch (627:9): [True: 0, False: 114k]
  ------------------
  628|      0|      Vendor = parseVendor(Components[1]);
  629|      0|      if (Components.size() > 2) {
  ------------------
  |  Branch (629:11): [True: 0, False: 0]
  ------------------
  630|      0|        OS = parseOS(Components[2]);
  631|      0|        if (Components.size() > 3) {
  ------------------
  |  Branch (631:13): [True: 0, False: 0]
  ------------------
  632|      0|          Environment = parseEnvironment(Components[3]);
  633|      0|          ObjectFormat = parseFormat(Components[3]);
  634|      0|        }
  635|      0|      }
  636|      0|    }
  637|   114k|  }
  638|   114k|  if (ObjectFormat == UnknownObjectFormat)
  ------------------
  |  Branch (638:7): [True: 114k, False: 0]
  ------------------
  639|   114k|    ObjectFormat = getDefaultFormat(*this);
  640|   114k|}
_ZN7llvm_ks6Triple9normalizeENS_9StringRefE:
  677|  12.6k|std::string Triple::normalize(StringRef Str) {
  678|  12.6k|  bool IsMinGW32 = false;
  679|  12.6k|  bool IsCygwin = false;
  680|       |
  681|       |  // Parse into components.
  682|  12.6k|  SmallVector<StringRef, 4> Components;
  683|  12.6k|  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|  12.6k|  ArchType Arch = UnknownArch;
  691|  12.6k|  if (Components.size() > 0)
  ------------------
  |  Branch (691:7): [True: 12.6k, False: 0]
  ------------------
  692|  12.6k|    Arch = parseArch(Components[0]);
  693|  12.6k|  VendorType Vendor = UnknownVendor;
  694|  12.6k|  if (Components.size() > 1)
  ------------------
  |  Branch (694:7): [True: 0, False: 12.6k]
  ------------------
  695|      0|    Vendor = parseVendor(Components[1]);
  696|  12.6k|  OSType OS = UnknownOS;
  697|  12.6k|  if (Components.size() > 2) {
  ------------------
  |  Branch (697:7): [True: 0, False: 12.6k]
  ------------------
  698|      0|    OS = parseOS(Components[2]);
  699|      0|    IsCygwin = Components[2].startswith("cygwin");
  700|      0|    IsMinGW32 = Components[2].startswith("mingw");
  701|      0|  }
  702|  12.6k|  EnvironmentType Environment = UnknownEnvironment;
  703|  12.6k|  if (Components.size() > 3)
  ------------------
  |  Branch (703:7): [True: 0, False: 12.6k]
  ------------------
  704|      0|    Environment = parseEnvironment(Components[3]);
  705|  12.6k|  ObjectFormatType ObjectFormat = UnknownObjectFormat;
  706|  12.6k|  if (Components.size() > 4)
  ------------------
  |  Branch (706:7): [True: 0, False: 12.6k]
  ------------------
  707|      0|    ObjectFormat = parseFormat(Components[4]);
  708|       |
  709|       |  // Note which components are already in their final position.  These will not
  710|       |  // be moved.
  711|  12.6k|  bool Found[4];
  712|  12.6k|  Found[0] = Arch != UnknownArch;
  713|  12.6k|  Found[1] = Vendor != UnknownVendor;
  714|  12.6k|  Found[2] = OS != UnknownOS;
  715|  12.6k|  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|  63.3k|  for (unsigned Pos = 0; Pos != array_lengthof(Found); ++Pos) {
  ------------------
  |  Branch (720:26): [True: 50.6k, False: 12.6k]
  ------------------
  721|  50.6k|    if (Found[Pos])
  ------------------
  |  Branch (721:9): [True: 12.6k, False: 38.0k]
  ------------------
  722|  12.6k|      continue; // Already in the canonical position.
  723|       |
  724|  76.0k|    for (unsigned Idx = 0; Idx != Components.size(); ++Idx) {
  ------------------
  |  Branch (724:28): [True: 38.0k, False: 38.0k]
  ------------------
  725|       |      // Do not reparse any components that already matched.
  726|  38.0k|      if (Idx < array_lengthof(Found) && Found[Idx])
  ------------------
  |  Branch (726:11): [True: 38.0k, False: 0]
  |  Branch (726:42): [True: 38.0k, False: 0]
  ------------------
  727|  38.0k|        continue;
  728|       |
  729|       |      // Does this component parse as valid for the target position?
  730|      0|      bool Valid = false;
  731|      0|      StringRef Comp = Components[Idx];
  732|      0|      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: 0]
  ------------------
  734|      0|      case 0:
  ------------------
  |  Branch (734:7): [True: 0, False: 0]
  ------------------
  735|      0|        Arch = parseArch(Comp);
  736|      0|        Valid = Arch != UnknownArch;
  737|      0|        break;
  738|      0|      case 1:
  ------------------
  |  Branch (738:7): [True: 0, False: 0]
  ------------------
  739|      0|        Vendor = parseVendor(Comp);
  740|      0|        Valid = Vendor != UnknownVendor;
  741|      0|        break;
  742|      0|      case 2:
  ------------------
  |  Branch (742:7): [True: 0, False: 0]
  ------------------
  743|      0|        OS = parseOS(Comp);
  744|      0|        IsCygwin = Comp.startswith("cygwin");
  745|      0|        IsMinGW32 = Comp.startswith("mingw");
  746|      0|        Valid = OS != UnknownOS || IsCygwin || IsMinGW32;
  ------------------
  |  Branch (746:17): [True: 0, False: 0]
  |  Branch (746:36): [True: 0, False: 0]
  |  Branch (746:48): [True: 0, False: 0]
  ------------------
  747|      0|        break;
  748|      0|      case 3:
  ------------------
  |  Branch (748:7): [True: 0, False: 0]
  ------------------
  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|      0|      }
  757|      0|      if (!Valid)
  ------------------
  |  Branch (757:11): [True: 0, False: 0]
  ------------------
  758|      0|        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|  38.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|  12.6k|  std::string NormalizedEnvironment;
  817|  12.6k|  if (Environment == Triple::Android && Components[3].startswith("androideabi")) {
  ------------------
  |  Branch (817:7): [True: 0, False: 12.6k]
  |  Branch (817:7): [True: 0, False: 12.6k]
  |  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|  12.6k|  if (OS == Triple::Win32) {
  ------------------
  |  Branch (827:7): [True: 0, False: 12.6k]
  ------------------
  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|  12.6k|  } else if (IsMinGW32) {
  ------------------
  |  Branch (836:14): [True: 0, False: 12.6k]
  ------------------
  837|      0|    Components.resize(4);
  838|      0|    Components[2] = "windows";
  839|      0|    Components[3] = "gnu";
  840|  12.6k|  } else if (IsCygwin) {
  ------------------
  |  Branch (840:14): [True: 0, False: 12.6k]
  ------------------
  841|      0|    Components.resize(4);
  842|      0|    Components[2] = "windows";
  843|      0|    Components[3] = "cygnus";
  844|      0|  }
  845|  12.6k|  if (IsMinGW32 || IsCygwin ||
  ------------------
  |  Branch (845:7): [True: 0, False: 12.6k]
  |  Branch (845:20): [True: 0, False: 12.6k]
  ------------------
  846|  12.6k|      (OS == Triple::Win32 && Environment != UnknownEnvironment)) {
  ------------------
  |  Branch (846:8): [True: 0, False: 12.6k]
  |  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|  12.6k|  std::string Normalized;
  855|  25.3k|  for (unsigned i = 0, e = Components.size(); i != e; ++i) {
  ------------------
  |  Branch (855:47): [True: 12.6k, False: 12.6k]
  ------------------
  856|  12.6k|    if (i) Normalized += '-';
  ------------------
  |  Branch (856:9): [True: 0, False: 12.6k]
  ------------------
  857|  12.6k|    Normalized += Components[i];
  858|  12.6k|  }
  859|  12.6k|  return Normalized;
  860|  12.6k|}
Triple.cpp:_ZL9parseArchN7llvm_ks9StringRefE:
  341|   126k|static Triple::ArchType parseArch(StringRef ArchName) {
  342|   126k|  auto AT = StringSwitch<Triple::ArchType>(ArchName)
  343|   126k|    .Cases("i386", "i486", "i586", "i686", Triple::x86)
  344|       |    // FIXME: Do we need to support these?
  345|   126k|    .Cases("i786", "i886", "i986", Triple::x86)
  346|   126k|    .Cases("amd64", "x86_64", "x86_64h", Triple::x86_64)
  347|   126k|    .Cases("powerpc", "ppc32", Triple::ppc)
  348|   126k|    .Cases("powerpc64", "ppu", "ppc64", Triple::ppc64)
  349|   126k|    .Cases("powerpc64le", "ppc64le", Triple::ppc64le)
  350|   126k|    .Case("xscale", Triple::arm)
  351|   126k|    .Case("xscaleeb", Triple::armeb)
  352|   126k|    .Case("aarch64", Triple::aarch64)
  353|   126k|    .Case("aarch64_be", Triple::aarch64_be)
  354|   126k|    .Case("arm64", Triple::aarch64)
  355|   126k|    .Case("arm", Triple::arm)
  356|   126k|    .Case("armeb", Triple::armeb)
  357|   126k|    .Case("thumb", Triple::thumb)
  358|   126k|    .Case("thumbeb", Triple::thumbeb)
  359|   126k|    .Case("avr", Triple::avr)
  360|   126k|    .Case("msp430", Triple::msp430)
  361|   126k|    .Cases("mips", "mipseb", "mipsallegrex", Triple::mips)
  362|   126k|    .Cases("mipsel", "mipsallegrexel", Triple::mipsel)
  363|   126k|    .Cases("mips64", "mips64eb", Triple::mips64)
  364|   126k|    .Case("mips64el", Triple::mips64el)
  365|   126k|    .Case("r600", Triple::r600)
  366|   126k|    .Case("amdgcn", Triple::amdgcn)
  367|   126k|    .Case("riscv32", Triple::riscv32)
  368|   126k|    .Case("riscv64", Triple::riscv64)
  369|   126k|    .Case("hexagon", Triple::hexagon)
  370|   126k|    .Cases("s390x", "systemz", Triple::systemz)
  371|   126k|    .Case("sparc", Triple::sparc)
  372|   126k|    .Case("sparcel", Triple::sparcel)
  373|   126k|    .Cases("sparcv9", "sparc64", Triple::sparcv9)
  374|   126k|    .Case("tce", Triple::tce)
  375|   126k|    .Case("xcore", Triple::xcore)
  376|   126k|    .Case("nvptx", Triple::nvptx)
  377|   126k|    .Case("nvptx64", Triple::nvptx64)
  378|   126k|    .Case("le32", Triple::le32)
  379|   126k|    .Case("le64", Triple::le64)
  380|   126k|    .Case("amdil", Triple::amdil)
  381|   126k|    .Case("amdil64", Triple::amdil64)
  382|   126k|    .Case("hsail", Triple::hsail)
  383|   126k|    .Case("hsail64", Triple::hsail64)
  384|   126k|    .Case("spir", Triple::spir)
  385|   126k|    .Case("spir64", Triple::spir64)
  386|   126k|    .StartsWith("kalimba", Triple::kalimba)
  387|   126k|    .Case("shave", Triple::shave)
  388|   126k|    .Case("wasm32", Triple::wasm32)
  389|   126k|    .Case("wasm64", Triple::wasm64)
  390|   126k|    .Default(Triple::UnknownArch);
  391|       |
  392|       |  // Some architectures require special parsing logic just to compute the
  393|       |  // ArchType result.
  394|   126k|  if (AT == Triple::UnknownArch) {
  ------------------
  |  Branch (394:7): [True: 0, False: 126k]
  ------------------
  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|   126k|  return AT;
  403|   126k|}
Triple.cpp:_ZL12parseSubArchN7llvm_ks9StringRefE:
  481|   114k|static Triple::SubArchType parseSubArch(StringRef SubArchName) {
  482|   114k|  StringRef ARMSubArch = ARM::getCanonicalArchName(SubArchName);
  483|       |
  484|       |  // For now, this is the small part. Early return.
  485|   114k|  if (ARMSubArch.empty())
  ------------------
  |  Branch (485:7): [True: 0, False: 114k]
  ------------------
  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|   114k|  switch(ARM::parseArch(ARMSubArch)) {
  494|      0|  case ARM::AK_ARMV4:
  ------------------
  |  Branch (494:3): [True: 0, False: 114k]
  ------------------
  495|      0|    return Triple::NoSubArch;
  496|      0|  case ARM::AK_ARMV4T:
  ------------------
  |  Branch (496:3): [True: 0, False: 114k]
  ------------------
  497|      0|    return Triple::ARMSubArch_v4t;
  498|      0|  case ARM::AK_ARMV5T:
  ------------------
  |  Branch (498:3): [True: 0, False: 114k]
  ------------------
  499|      0|    return Triple::ARMSubArch_v5;
  500|      0|  case ARM::AK_ARMV5TE:
  ------------------
  |  Branch (500:3): [True: 0, False: 114k]
  ------------------
  501|      0|  case ARM::AK_IWMMXT:
  ------------------
  |  Branch (501:3): [True: 0, False: 114k]
  ------------------
  502|      0|  case ARM::AK_IWMMXT2:
  ------------------
  |  Branch (502:3): [True: 0, False: 114k]
  ------------------
  503|      0|  case ARM::AK_XSCALE:
  ------------------
  |  Branch (503:3): [True: 0, False: 114k]
  ------------------
  504|      0|  case ARM::AK_ARMV5TEJ:
  ------------------
  |  Branch (504:3): [True: 0, False: 114k]
  ------------------
  505|      0|    return Triple::ARMSubArch_v5te;
  506|      0|  case ARM::AK_ARMV6:
  ------------------
  |  Branch (506:3): [True: 0, False: 114k]
  ------------------
  507|      0|    return Triple::ARMSubArch_v6;
  508|      0|  case ARM::AK_ARMV6K:
  ------------------
  |  Branch (508:3): [True: 0, False: 114k]
  ------------------
  509|      0|  case ARM::AK_ARMV6KZ:
  ------------------
  |  Branch (509:3): [True: 0, False: 114k]
  ------------------
  510|      0|    return Triple::ARMSubArch_v6k;
  511|      0|  case ARM::AK_ARMV6T2:
  ------------------
  |  Branch (511:3): [True: 0, False: 114k]
  ------------------
  512|      0|    return Triple::ARMSubArch_v6t2;
  513|      0|  case ARM::AK_ARMV6M:
  ------------------
  |  Branch (513:3): [True: 0, False: 114k]
  ------------------
  514|      0|    return Triple::ARMSubArch_v6m;
  515|      0|  case ARM::AK_ARMV7A:
  ------------------
  |  Branch (515:3): [True: 0, False: 114k]
  ------------------
  516|      0|  case ARM::AK_ARMV7R:
  ------------------
  |  Branch (516:3): [True: 0, False: 114k]
  ------------------
  517|      0|    return Triple::ARMSubArch_v7;
  518|      0|  case ARM::AK_ARMV7K:
  ------------------
  |  Branch (518:3): [True: 0, False: 114k]
  ------------------
  519|      0|    return Triple::ARMSubArch_v7k;
  520|      0|  case ARM::AK_ARMV7M:
  ------------------
  |  Branch (520:3): [True: 0, False: 114k]
  ------------------
  521|      0|    return Triple::ARMSubArch_v7m;
  522|      0|  case ARM::AK_ARMV7S:
  ------------------
  |  Branch (522:3): [True: 0, False: 114k]
  ------------------
  523|      0|    return Triple::ARMSubArch_v7s;
  524|      0|  case ARM::AK_ARMV7EM:
  ------------------
  |  Branch (524:3): [True: 0, False: 114k]
  ------------------
  525|      0|    return Triple::ARMSubArch_v7em;
  526|      0|  case ARM::AK_ARMV8A:
  ------------------
  |  Branch (526:3): [True: 0, False: 114k]
  ------------------
  527|      0|    return Triple::ARMSubArch_v8;
  528|      0|  case ARM::AK_ARMV8_1A:
  ------------------
  |  Branch (528:3): [True: 0, False: 114k]
  ------------------
  529|      0|    return Triple::ARMSubArch_v8_1a;
  530|      0|  case ARM::AK_ARMV8_2A:
  ------------------
  |  Branch (530:3): [True: 0, False: 114k]
  ------------------
  531|      0|    return Triple::ARMSubArch_v8_2a;
  532|      0|  case ARM::AK_ARMV8MBaseline:
  ------------------
  |  Branch (532:3): [True: 0, False: 114k]
  ------------------
  533|      0|    return Triple::ARMSubArch_v8m_baseline;
  534|      0|  case ARM::AK_ARMV8MMainline:
  ------------------
  |  Branch (534:3): [True: 0, False: 114k]
  ------------------
  535|      0|    return Triple::ARMSubArch_v8m_mainline;
  536|   114k|  default:
  ------------------
  |  Branch (536:3): [True: 114k, False: 0]
  ------------------
  537|   114k|    return Triple::NoSubArch;
  538|   114k|  }
  539|   114k|}
Triple.cpp:_ZL16getDefaultFormatRKN7llvm_ks6TripleE:
  551|   114k|static Triple::ObjectFormatType getDefaultFormat(const Triple &T) {
  552|   114k|  switch (T.getArch()) {
  ------------------
  |  Branch (552:11): [True: 114k, False: 0]
  ------------------
  553|      0|  case Triple::UnknownArch:
  ------------------
  |  Branch (553:3): [True: 0, False: 114k]
  ------------------
  554|      0|  case Triple::aarch64:
  ------------------
  |  Branch (554:3): [True: 0, False: 114k]
  ------------------
  555|      0|  case Triple::arm:
  ------------------
  |  Branch (555:3): [True: 0, False: 114k]
  ------------------
  556|      0|  case Triple::thumb:
  ------------------
  |  Branch (556:3): [True: 0, False: 114k]
  ------------------
  557|      0|  case Triple::x86:
  ------------------
  |  Branch (557:3): [True: 0, False: 114k]
  ------------------
  558|      0|  case Triple::x86_64:
  ------------------
  |  Branch (558:3): [True: 0, False: 114k]
  ------------------
  559|      0|    if (T.isOSDarwin())
  ------------------
  |  Branch (559:9): [True: 0, False: 0]
  ------------------
  560|      0|      return Triple::MachO;
  561|      0|    else if (T.isOSWindows())
  ------------------
  |  Branch (561:14): [True: 0, False: 0]
  ------------------
  562|      0|      return Triple::COFF;
  563|      0|    return Triple::ELF;
  564|       |
  565|      0|  case Triple::aarch64_be:
  ------------------
  |  Branch (565:3): [True: 0, False: 114k]
  ------------------
  566|      0|  case Triple::amdgcn:
  ------------------
  |  Branch (566:3): [True: 0, False: 114k]
  ------------------
  567|      0|  case Triple::amdil:
  ------------------
  |  Branch (567:3): [True: 0, False: 114k]
  ------------------
  568|      0|  case Triple::amdil64:
  ------------------
  |  Branch (568:3): [True: 0, False: 114k]
  ------------------
  569|      0|  case Triple::armeb:
  ------------------
  |  Branch (569:3): [True: 0, False: 114k]
  ------------------
  570|      0|  case Triple::avr:
  ------------------
  |  Branch (570:3): [True: 0, False: 114k]
  ------------------
  571|      0|  case Triple::bpfeb:
  ------------------
  |  Branch (571:3): [True: 0, False: 114k]
  ------------------
  572|      0|  case Triple::bpfel:
  ------------------
  |  Branch (572:3): [True: 0, False: 114k]
  ------------------
  573|      0|  case Triple::hexagon:
  ------------------
  |  Branch (573:3): [True: 0, False: 114k]
  ------------------
  574|      0|  case Triple::hsail:
  ------------------
  |  Branch (574:3): [True: 0, False: 114k]
  ------------------
  575|      0|  case Triple::hsail64:
  ------------------
  |  Branch (575:3): [True: 0, False: 114k]
  ------------------
  576|      0|  case Triple::kalimba:
  ------------------
  |  Branch (576:3): [True: 0, False: 114k]
  ------------------
  577|      0|  case Triple::le32:
  ------------------
  |  Branch (577:3): [True: 0, False: 114k]
  ------------------
  578|      0|  case Triple::le64:
  ------------------
  |  Branch (578:3): [True: 0, False: 114k]
  ------------------
  579|      0|  case Triple::mips:
  ------------------
  |  Branch (579:3): [True: 0, False: 114k]
  ------------------
  580|      0|  case Triple::mips64:
  ------------------
  |  Branch (580:3): [True: 0, False: 114k]
  ------------------
  581|      0|  case Triple::mips64el:
  ------------------
  |  Branch (581:3): [True: 0, False: 114k]
  ------------------
  582|      0|  case Triple::mipsel:
  ------------------
  |  Branch (582:3): [True: 0, False: 114k]
  ------------------
  583|      0|  case Triple::msp430:
  ------------------
  |  Branch (583:3): [True: 0, False: 114k]
  ------------------
  584|      0|  case Triple::nvptx:
  ------------------
  |  Branch (584:3): [True: 0, False: 114k]
  ------------------
  585|      0|  case Triple::nvptx64:
  ------------------
  |  Branch (585:3): [True: 0, False: 114k]
  ------------------
  586|      0|  case Triple::ppc64le:
  ------------------
  |  Branch (586:3): [True: 0, False: 114k]
  ------------------
  587|      0|  case Triple::r600:
  ------------------
  |  Branch (587:3): [True: 0, False: 114k]
  ------------------
  588|      0|  case Triple::riscv32:
  ------------------
  |  Branch (588:3): [True: 0, False: 114k]
  ------------------
  589|      0|  case Triple::riscv64:
  ------------------
  |  Branch (589:3): [True: 0, False: 114k]
  ------------------
  590|      0|  case Triple::shave:
  ------------------
  |  Branch (590:3): [True: 0, False: 114k]
  ------------------
  591|      0|  case Triple::sparc:
  ------------------
  |  Branch (591:3): [True: 0, False: 114k]
  ------------------
  592|   114k|  case Triple::sparcel:
  ------------------
  |  Branch (592:3): [True: 114k, False: 0]
  ------------------
  593|   114k|  case Triple::sparcv9:
  ------------------
  |  Branch (593:3): [True: 0, False: 114k]
  ------------------
  594|   114k|  case Triple::spir:
  ------------------
  |  Branch (594:3): [True: 0, False: 114k]
  ------------------
  595|   114k|  case Triple::spir64:
  ------------------
  |  Branch (595:3): [True: 0, False: 114k]
  ------------------
  596|   114k|  case Triple::systemz:
  ------------------
  |  Branch (596:3): [True: 0, False: 114k]
  ------------------
  597|   114k|  case Triple::tce:
  ------------------
  |  Branch (597:3): [True: 0, False: 114k]
  ------------------
  598|   114k|  case Triple::thumbeb:
  ------------------
  |  Branch (598:3): [True: 0, False: 114k]
  ------------------
  599|   114k|  case Triple::wasm32:
  ------------------
  |  Branch (599:3): [True: 0, False: 114k]
  ------------------
  600|   114k|  case Triple::wasm64:
  ------------------
  |  Branch (600:3): [True: 0, False: 114k]
  ------------------
  601|   114k|  case Triple::xcore:
  ------------------
  |  Branch (601:3): [True: 0, False: 114k]
  ------------------
  602|   114k|    return Triple::ELF;
  603|       |
  604|      0|  case Triple::ppc:
  ------------------
  |  Branch (604:3): [True: 0, False: 114k]
  ------------------
  605|      0|  case Triple::ppc64:
  ------------------
  |  Branch (605:3): [True: 0, False: 114k]
  ------------------
  606|      0|    if (T.isOSDarwin())
  ------------------
  |  Branch (606:9): [True: 0, False: 0]
  ------------------
  607|      0|      return Triple::MachO;
  608|      0|    return Triple::ELF;
  609|   114k|  }
  610|      0|  llvm_unreachable("unknown architecture");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  611|   114k|}

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

_ZNK7llvm_ks3sys2fs11file_status11getUniqueIDEv:
  177|  25.3k|UniqueID file_status::getUniqueID() const {
  178|  25.3k|  return UniqueID(fs_st_dev, fs_st_ino);
  179|  25.3k|}
_ZN7llvm_ks3sys2fs12current_pathERNS_15SmallVectorImplIcEE:
  181|  12.6k|std::error_code current_path(SmallVectorImpl<char> &result) {
  182|  12.6k|  result.clear();
  183|       |
  184|  12.6k|  const char *pwd = ::getenv("PWD");
  185|  12.6k|  llvm_ks::sys::fs::file_status PWDStatus, DotStatus;
  186|  12.6k|  if (pwd && llvm_ks::sys::path::is_absolute(pwd) &&
  ------------------
  |  Branch (186:7): [True: 12.6k, False: 0]
  |  Branch (186:7): [True: 12.6k, False: 0]
  |  Branch (186:14): [True: 12.6k, False: 0]
  ------------------
  187|  12.6k|      !llvm_ks::sys::fs::status(pwd, PWDStatus) &&
  ------------------
  |  Branch (187:7): [True: 12.6k, False: 0]
  ------------------
  188|  12.6k|      !llvm_ks::sys::fs::status(".", DotStatus) &&
  ------------------
  |  Branch (188:7): [True: 12.6k, False: 0]
  ------------------
  189|  12.6k|      PWDStatus.getUniqueID() == DotStatus.getUniqueID()) {
  ------------------
  |  Branch (189:7): [True: 12.6k, False: 0]
  ------------------
  190|  12.6k|    result.append(pwd, pwd + strlen(pwd));
  191|  12.6k|    return std::error_code();
  192|  12.6k|  }
  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|  25.3k|std::error_code status(const Twine &Path, file_status &Result) {
  377|  25.3k|  SmallString<128> PathStorage;
  378|  25.3k|  StringRef P = Path.toNullTerminatedStringRef(PathStorage);
  379|       |
  380|  25.3k|  struct stat Status;
  381|  25.3k|  int StatRet = ::stat(P.begin(), &Status);
  382|  25.3k|  return fillStatus(StatRet, Status, Result);
  383|  25.3k|}
_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|      5|std::error_code openFileForRead(const Twine &Name, int &ResultFD) {
  481|      5|  SmallString<128> Storage;
  482|      5|  StringRef P = Name.toNullTerminatedStringRef(Storage);
  483|      5|  while ((ResultFD = open(P.begin(), O_RDONLY)) < 0) {
  ------------------
  |  Branch (483:10): [True: 4, False: 1]
  ------------------
  484|      4|    if (errno != EINTR)
  ------------------
  |  Branch (484:9): [True: 4, False: 0]
  ------------------
  485|      4|      return std::error_code(errno, std::generic_category());
  486|      4|  }
  487|      1|  return std::error_code();
  488|      5|}
Path.cpp:_ZN7llvm_ks3sys2fsL10fillStatusEiRK4statRNS1_11file_statusE:
  343|  25.3k|                             file_status &Result) {
  344|  25.3k|  if (StatRet != 0) {
  ------------------
  |  Branch (344:7): [True: 0, False: 25.3k]
  ------------------
  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|  25.3k|  file_type Type = file_type::type_unknown;
  354|       |
  355|  25.3k|  if (S_ISDIR(Status.st_mode))
  ------------------
  |  Branch (355:7): [True: 25.3k, False: 0]
  ------------------
  356|  25.3k|    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|  25.3k|  perms Perms = static_cast<perms>(Status.st_mode);
  369|  25.3k|  Result =
  370|  25.3k|      file_status(Type, Perms, Status.st_dev, Status.st_ino, Status.st_mtime,
  371|  25.3k|                  Status.st_uid, Status.st_gid, Status.st_size);
  372|       |
  373|  25.3k|  return std::error_code();
  374|  25.3k|}

_ZN7llvm_ks11raw_ostreamD2Ev:
   64|   292k|raw_ostream::~raw_ostream() {
   65|       |  // raw_ostream's subclasses should take care to flush the buffer
   66|       |  // in their destructors.
   67|   292k|  assert(OutBufCur == OutBufStart &&
  ------------------
  |  Branch (67:3): [True: 292k, False: 0]
  |  Branch (67:3): [True: 292k, Folded]
  |  Branch (67:3): [True: 292k, False: 0]
  ------------------
   68|   292k|         "raw_ostream destructor called with non-empty buffer!");
   69|       |
   70|   292k|  if (BufferMode == InternalBuffer)
  ------------------
  |  Branch (70:7): [True: 0, False: 292k]
  ------------------
   71|      0|    delete [] OutBufStart;
   72|   292k|}
_ZN7llvm_ks11raw_ostream16SetBufferAndModeEPcmNS0_10BufferKindE:
   92|   292k|                                   BufferKind Mode) {
   93|   292k|  assert(((Mode == Unbuffered && !BufferStart && Size == 0) ||
  ------------------
  |  Branch (93:3): [True: 292k, False: 0]
  |  Branch (93:3): [True: 292k, False: 0]
  |  Branch (93:3): [True: 292k, 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: 292k, Folded]
  |  Branch (93:3): [True: 292k, False: 0]
  ------------------
   94|   292k|          (Mode != Unbuffered && BufferStart && Size != 0)) &&
   95|   292k|         "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|   292k|  assert(GetNumBytesInBuffer() == 0 && "Current buffer is non-empty!");
  ------------------
  |  Branch (98:3): [True: 292k, False: 0]
  |  Branch (98:3): [True: 292k, Folded]
  |  Branch (98:3): [True: 292k, False: 0]
  ------------------
   99|       |
  100|   292k|  if (BufferMode == InternalBuffer)
  ------------------
  |  Branch (100:7): [True: 292k, False: 0]
  ------------------
  101|   292k|    delete [] OutBufStart;
  102|   292k|  OutBufStart = BufferStart;
  103|   292k|  OutBufEnd = OutBufStart+Size;
  104|   292k|  OutBufCur = OutBufStart;
  105|   292k|  BufferMode = Mode;
  106|       |
  107|       |  assert(OutBufStart <= OutBufEnd && "Invalid size!");
  ------------------
  |  Branch (107:3): [True: 292k, False: 0]
  |  Branch (107:3): [True: 292k, Folded]
  |  Branch (107:3): [True: 292k, False: 0]
  ------------------
  108|   292k|}
_ZN7llvm_ks11raw_ostreamlsEm:
  110|   101k|raw_ostream &raw_ostream::operator<<(unsigned long N) {
  111|       |  // Zero is a special case.
  112|   101k|  if (N == 0)
  ------------------
  |  Branch (112:7): [True: 5.56k, False: 96.1k]
  ------------------
  113|  5.56k|    return *this << '0';
  114|       |
  115|  96.1k|  char NumberBuffer[20];
  116|  96.1k|  char *EndPtr = NumberBuffer+sizeof(NumberBuffer);
  117|  96.1k|  char *CurPtr = EndPtr;
  118|       |
  119|   329k|  while (N) {
  ------------------
  |  Branch (119:10): [True: 233k, False: 96.1k]
  ------------------
  120|   233k|    *--CurPtr = '0' + char(N % 10);
  121|   233k|    N /= 10;
  122|   233k|  }
  123|  96.1k|  return write(CurPtr, EndPtr-CurPtr);
  124|   101k|}
_ZN7llvm_ks11raw_ostreamlsEl:
  126|  38.3k|raw_ostream &raw_ostream::operator<<(long N) {
  127|  38.3k|  if (N <  0) {
  ------------------
  |  Branch (127:7): [True: 97, False: 38.2k]
  ------------------
  128|     97|    *this << '-';
  129|       |    // Avoid undefined behavior on LONG_MIN with a cast.
  130|     97|    N = -(unsigned long)N;
  131|     97|  }
  132|       |
  133|  38.3k|  return this->operator<<(static_cast<unsigned long>(N));
  134|  38.3k|}
_ZN7llvm_ks11raw_ostream5writeEh:
  278|   153M|raw_ostream &raw_ostream::write(unsigned char C) {
  279|       |  // Group exceptional cases into a single branch.
  280|   153M|  if (LLVM_UNLIKELY(OutBufCur >= OutBufEnd)) {
  ------------------
  |  |  171|   153M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 153M, False: 0]
  |  |  ------------------
  ------------------
  281|   153M|    if (LLVM_UNLIKELY(!OutBufStart)) {
  ------------------
  |  |  171|   153M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 153M, False: 0]
  |  |  ------------------
  ------------------
  282|   153M|      if (BufferMode == Unbuffered) {
  ------------------
  |  Branch (282:11): [True: 153M, False: 0]
  ------------------
  283|   153M|        write_impl(reinterpret_cast<char*>(&C), 1);
  284|   153M|        return *this;
  285|   153M|      }
  286|       |      // Set up a buffer and start over.
  287|      0|      SetBuffered();
  288|      0|      return write(C);
  289|   153M|    }
  290|       |
  291|      0|    flush_nonempty();
  292|      0|  }
  293|       |
  294|      0|  *OutBufCur++ = C;
  295|      0|  return *this;
  296|   153M|}
_ZN7llvm_ks11raw_ostream5writeEPKcm:
  298|  8.22M|raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) {
  299|       |  // Group exceptional cases into a single branch.
  300|  8.22M|  if (LLVM_UNLIKELY(size_t(OutBufEnd - OutBufCur) < Size)) {
  ------------------
  |  |  171|  8.22M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 8.22M, False: 13]
  |  |  ------------------
  ------------------
  301|  8.22M|    if (LLVM_UNLIKELY(!OutBufStart)) {
  ------------------
  |  |  171|  8.22M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 8.22M, False: 0]
  |  |  ------------------
  ------------------
  302|  8.22M|      if (BufferMode == Unbuffered) {
  ------------------
  |  Branch (302:11): [True: 8.22M, False: 0]
  ------------------
  303|  8.22M|        write_impl(Ptr, Size);
  304|  8.22M|        return *this;
  305|  8.22M|      }
  306|       |      // Set up a buffer and start over.
  307|      0|      SetBuffered();
  308|      0|      return write(Ptr, Size);
  309|  8.22M|    }
  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|     13|  copy_to_buffer(Ptr, Size);
  337|       |
  338|     13|  return *this;
  339|  8.22M|}
_ZN7llvm_ks11raw_ostream14copy_to_bufferEPKcm:
  341|     13|void raw_ostream::copy_to_buffer(const char *Ptr, size_t Size) {
  342|     13|  assert(Size <= size_t(OutBufEnd - OutBufCur) && "Buffer overrun!");
  ------------------
  |  Branch (342:3): [True: 13, False: 0]
  |  Branch (342:3): [True: 13, Folded]
  |  Branch (342:3): [True: 13, False: 0]
  ------------------
  343|       |
  344|       |  // Handle short strings specially, memcpy isn't very good at very short
  345|       |  // strings.
  346|     13|  switch (Size) {
  347|      0|  case 4: OutBufCur[3] = Ptr[3]; // FALL THROUGH
  ------------------
  |  Branch (347:3): [True: 0, False: 13]
  ------------------
  348|      0|  case 3: OutBufCur[2] = Ptr[2]; // FALL THROUGH
  ------------------
  |  Branch (348:3): [True: 0, False: 13]
  ------------------
  349|      0|  case 2: OutBufCur[1] = Ptr[1]; // FALL THROUGH
  ------------------
  |  Branch (349:3): [True: 0, False: 13]
  ------------------
  350|      0|  case 1: OutBufCur[0] = Ptr[0]; // FALL THROUGH
  ------------------
  |  Branch (350:3): [True: 0, False: 13]
  ------------------
  351|     13|  case 0: break;
  ------------------
  |  Branch (351:3): [True: 13, False: 0]
  ------------------
  352|      0|  default:
  ------------------
  |  Branch (352:3): [True: 0, False: 13]
  ------------------
  353|      0|    memcpy(OutBufCur, Ptr, Size);
  354|      0|    break;
  355|     13|  }
  356|       |
  357|     13|  OutBufCur += Size;
  358|     13|}
_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|  2.00M|void raw_fd_ostream::write_impl(const char *Ptr, size_t Size) {
  563|  2.00M|  assert(FD >= 0 && "File already closed.");
  ------------------
  |  Branch (563:3): [True: 2.00M, False: 0]
  |  Branch (563:3): [True: 2.00M, Folded]
  |  Branch (563:3): [True: 2.00M, False: 0]
  ------------------
  564|  2.00M|  pos += Size;
  565|       |
  566|  2.00M|#ifndef LLVM_ON_WIN32
  567|  2.00M|  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|  2.00M|  do {
  576|  2.00M|    size_t ChunkSize = Size;
  577|  2.00M|    if (ChunkSize > 32767 && ShouldWriteInChunks)
  ------------------
  |  Branch (577:9): [True: 0, False: 2.00M]
  |  Branch (577:30): [True: 0, False: 0]
  ------------------
  578|      0|        ChunkSize = 32767;
  579|       |
  580|  2.00M|    ssize_t ret = ::write(FD, Ptr, ChunkSize);
  581|       |
  582|  2.00M|    if (ret < 0) {
  ------------------
  |  Branch (582:9): [True: 0, False: 2.00M]
  ------------------
  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|  2.00M|    Ptr += ret;
  607|  2.00M|    Size -= ret;
  608|  2.00M|  } while (Size > 0);
  ------------------
  |  Branch (608:12): [True: 0, False: 2.00M]
  ------------------
  609|  2.00M|}
_ZN7llvm_ks14raw_fd_ostream11changeColorENS_11raw_ostream6ColorsEbb:
  655|   111k|                                         bool bg) {
  656|   111k|  return *this;
  657|   111k|}
_ZN7llvm_ks14raw_fd_ostream10resetColorEv:
  659|  82.1k|raw_ostream &raw_fd_ostream::resetColor() {
  660|  82.1k|  return *this;
  661|  82.1k|}
_ZNK7llvm_ks14raw_fd_ostream10has_colorsEv:
  671|  29.2k|bool raw_fd_ostream::has_colors() const {
  672|  29.2k|  return true;
  673|  29.2k|}
_ZN7llvm_ks4errsEv:
  693|  58.5k|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|  58.5k|  return S;
  697|  58.5k|}
_ZNK7llvm_ks19raw_svector_ostream11current_posEv:
  722|  49.2k|uint64_t raw_svector_ostream::current_pos() const { return OS.size(); }
_ZN7llvm_ks19raw_svector_ostream10write_implEPKcm:
  724|   160M|void raw_svector_ostream::write_impl(const char *Ptr, size_t Size) {
  725|   160M|  OS.append(Ptr, Ptr + Size);
  726|   160M|}

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|  12.6k|                                 [](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|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParserC2ERKN7llvm_ks15MCSubtargetInfoERNS1_11MCAsmParserERKNS1_11MCInstrInfoERKNS1_15MCTargetOptionsE:
   96|  12.6k|      : MCTargetAsmParser(Options, sti), Parser(parser) {
   97|       |    // Initialize the set of available features.
   98|  12.6k|    setAvailableFeatures(ComputeAvailableFeatures(getSTI().getFeatureBits()));
   99|  12.6k|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser13ParseRegisterERjRN7llvm_ks5SMLocES4_S1_:
  575|  17.7k|{
  576|  17.7k|  const AsmToken &Tok = Parser.getTok();
  577|  17.7k|  StartLoc = Tok.getLoc();
  578|  17.7k|  EndLoc = Tok.getEndLoc();
  579|  17.7k|  RegNo = 0;
  580|  17.7k|  if (getLexer().getKind() != AsmToken::Percent)
  ------------------
  |  Branch (580:7): [True: 15.3k, False: 2.38k]
  ------------------
  581|  15.3k|    return false;
  582|  2.38k|  Parser.Lex();
  583|  2.38k|  unsigned regKind = SparcOperand::rk_None;
  584|  2.38k|  if (matchRegisterName(Tok, RegNo, regKind)) {
  ------------------
  |  Branch (584:7): [True: 540, False: 1.84k]
  ------------------
  585|    540|    Parser.Lex();
  586|    540|    return false;
  587|    540|  }
  588|       |
  589|  1.84k|  return Error(StartLoc, "invalid register name");
  590|  2.38k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser17matchRegisterNameERKN7llvm_ks8AsmTokenERjS5_:
  911|  3.39k|{
  912|  3.39k|  int64_t intVal = 0;
  913|  3.39k|  RegNo = 0;
  914|  3.39k|  RegKind = SparcOperand::rk_None;
  915|  3.39k|  if (Tok.is(AsmToken::Identifier)) {
  ------------------
  |  Branch (915:7): [True: 2.62k, False: 772]
  ------------------
  916|  2.62k|    StringRef name = Tok.getString();
  917|       |
  918|       |    // %fp
  919|  2.62k|    if (name.equals("fp")) {
  ------------------
  |  Branch (919:9): [True: 4, False: 2.62k]
  ------------------
  920|      4|      RegNo = Sparc::I6;
  921|      4|      RegKind = SparcOperand::rk_IntReg;
  922|      4|      return true;
  923|      4|    }
  924|       |    // %sp
  925|  2.62k|    if (name.equals("sp")) {
  ------------------
  |  Branch (925:9): [True: 1, False: 2.61k]
  ------------------
  926|      1|      RegNo = Sparc::O6;
  927|      1|      RegKind = SparcOperand::rk_IntReg;
  928|      1|      return true;
  929|      1|    }
  930|       |
  931|  2.61k|    if (name.equals("y")) {
  ------------------
  |  Branch (931:9): [True: 24, False: 2.59k]
  ------------------
  932|     24|      RegNo = Sparc::Y;
  933|     24|      RegKind = SparcOperand::rk_Special;
  934|     24|      return true;
  935|     24|    }
  936|       |
  937|  2.59k|    if (name.substr(0, 3).equals_lower("asr")
  ------------------
  |  Branch (937:9): [True: 50, False: 2.54k]
  |  Branch (937:9): [True: 1, False: 2.59k]
  ------------------
  938|     50|        && !name.substr(3).getAsInteger(10, intVal)
  ------------------
  |  Branch (938:12): [True: 45, False: 5]
  ------------------
  939|     45|        && intVal > 0 && intVal < 32) {
  ------------------
  |  Branch (939:12): [True: 44, False: 1]
  |  Branch (939:26): [True: 1, False: 43]
  ------------------
  940|      1|      RegNo = ASRRegs[intVal];
  941|      1|      RegKind = SparcOperand::rk_Special;
  942|      1|      return true;
  943|      1|    }
  944|       |
  945|       |    // %fprs is an alias of %asr6.
  946|  2.59k|    if (name.equals("fprs")) {
  ------------------
  |  Branch (946:9): [True: 0, False: 2.59k]
  ------------------
  947|      0|      RegNo = ASRRegs[6];
  948|      0|      RegKind = SparcOperand::rk_Special;
  949|      0|      return true;
  950|      0|    }
  951|       |
  952|  2.59k|    if (name.equals("icc")) {
  ------------------
  |  Branch (952:9): [True: 4, False: 2.59k]
  ------------------
  953|      4|      RegNo = Sparc::ICC;
  954|      4|      RegKind = SparcOperand::rk_Special;
  955|      4|      return true;
  956|      4|    }
  957|       |
  958|  2.59k|    if (name.equals("psr")) {
  ------------------
  |  Branch (958:9): [True: 14, False: 2.57k]
  ------------------
  959|     14|      RegNo = Sparc::PSR;
  960|     14|      RegKind = SparcOperand::rk_Special;
  961|     14|      return true;
  962|     14|    }
  963|       |
  964|  2.57k|    if (name.equals("fsr")) {
  ------------------
  |  Branch (964:9): [True: 144, False: 2.43k]
  ------------------
  965|    144|      RegNo = Sparc::FSR;
  966|    144|      RegKind = SparcOperand::rk_Special;
  967|    144|      return true;
  968|    144|    }
  969|       |
  970|  2.43k|    if (name.equals("wim")) {
  ------------------
  |  Branch (970:9): [True: 10, False: 2.42k]
  ------------------
  971|     10|      RegNo = Sparc::WIM;
  972|     10|      RegKind = SparcOperand::rk_Special;
  973|     10|      return true;
  974|     10|    }
  975|       |
  976|  2.42k|    if (name.equals("tbr")) {
  ------------------
  |  Branch (976:9): [True: 1, False: 2.42k]
  ------------------
  977|      1|      RegNo = Sparc::TBR;
  978|      1|      RegKind = SparcOperand::rk_Special;
  979|      1|      return true;
  980|      1|    }
  981|       |
  982|  2.42k|    if (name.equals("xcc")) {
  ------------------
  |  Branch (982:9): [True: 8, False: 2.41k]
  ------------------
  983|       |      // FIXME:: check 64bit.
  984|      8|      RegNo = Sparc::ICC;
  985|      8|      RegKind = SparcOperand::rk_Special;
  986|      8|      return true;
  987|      8|    }
  988|       |
  989|       |    // %fcc0 - %fcc3
  990|  2.41k|    if (name.substr(0, 3).equals_lower("fcc")
  ------------------
  |  Branch (990:9): [True: 42, False: 2.37k]
  |  Branch (990:9): [True: 1, False: 2.41k]
  ------------------
  991|     42|        && !name.substr(3).getAsInteger(10, intVal)
  ------------------
  |  Branch (991:12): [True: 32, False: 10]
  ------------------
  992|     32|        && intVal < 4) {
  ------------------
  |  Branch (992:12): [True: 1, False: 31]
  ------------------
  993|       |      // FIXME: check 64bit and  handle %fcc1 - %fcc3
  994|      1|      RegNo = Sparc::FCC0 + intVal;
  995|      1|      RegKind = SparcOperand::rk_Special;
  996|      1|      return true;
  997|      1|    }
  998|       |
  999|       |    // %g0 - %g7
 1000|  2.41k|    if (name.substr(0, 1).equals_lower("g")
  ------------------
  |  Branch (1000:9): [True: 60, False: 2.35k]
  |  Branch (1000:9): [True: 17, False: 2.39k]
  ------------------
 1001|     60|        && !name.substr(1).getAsInteger(10, intVal)
  ------------------
  |  Branch (1001:12): [True: 41, False: 19]
  ------------------
 1002|     41|        && intVal < 8) {
  ------------------
  |  Branch (1002:12): [True: 17, False: 24]
  ------------------
 1003|     17|      RegNo = IntRegs[intVal];
 1004|     17|      RegKind = SparcOperand::rk_IntReg;
 1005|     17|      return true;
 1006|     17|    }
 1007|       |    // %o0 - %o7
 1008|  2.39k|    if (name.substr(0, 1).equals_lower("o")
  ------------------
  |  Branch (1008:9): [True: 894, False: 1.50k]
  |  Branch (1008:9): [True: 312, False: 2.08k]
  ------------------
 1009|    894|        && !name.substr(1).getAsInteger(10, intVal)
  ------------------
  |  Branch (1009:12): [True: 574, False: 320]
  ------------------
 1010|    574|        && intVal < 8) {
  ------------------
  |  Branch (1010:12): [True: 312, False: 262]
  ------------------
 1011|    312|      RegNo = IntRegs[8 + intVal];
 1012|    312|      RegKind = SparcOperand::rk_IntReg;
 1013|    312|      return true;
 1014|    312|    }
 1015|  2.08k|    if (name.substr(0, 1).equals_lower("l")
  ------------------
  |  Branch (1015:9): [True: 83, False: 2.00k]
  |  Branch (1015:9): [True: 12, False: 2.07k]
  ------------------
 1016|     83|        && !name.substr(1).getAsInteger(10, intVal)
  ------------------
  |  Branch (1016:12): [True: 58, False: 25]
  ------------------
 1017|     58|        && intVal < 8) {
  ------------------
  |  Branch (1017:12): [True: 12, False: 46]
  ------------------
 1018|     12|      RegNo = IntRegs[16 + intVal];
 1019|     12|      RegKind = SparcOperand::rk_IntReg;
 1020|     12|      return true;
 1021|     12|    }
 1022|  2.07k|    if (name.substr(0, 1).equals_lower("i")
  ------------------
  |  Branch (1022:9): [True: 216, False: 1.85k]
  |  Branch (1022:9): [True: 14, False: 2.05k]
  ------------------
 1023|    216|        && !name.substr(1).getAsInteger(10, intVal)
  ------------------
  |  Branch (1023:12): [True: 78, False: 138]
  ------------------
 1024|     78|        && intVal < 8) {
  ------------------
  |  Branch (1024:12): [True: 14, False: 64]
  ------------------
 1025|     14|      RegNo = IntRegs[24 + intVal];
 1026|     14|      RegKind = SparcOperand::rk_IntReg;
 1027|     14|      return true;
 1028|     14|    }
 1029|       |    // %f0 - %f31
 1030|  2.05k|    if (name.substr(0, 1).equals_lower("f")
  ------------------
  |  Branch (1030:9): [True: 589, False: 1.46k]
  |  Branch (1030:9): [True: 218, False: 1.83k]
  ------------------
 1031|    589|        && !name.substr(1, 2).getAsInteger(10, intVal) && intVal < 32) {
  ------------------
  |  Branch (1031:12): [True: 257, False: 332]
  |  Branch (1031:59): [True: 218, False: 39]
  ------------------
 1032|    218|      RegNo = FloatRegs[intVal];
 1033|    218|      RegKind = SparcOperand::rk_FloatReg;
 1034|    218|      return true;
 1035|    218|    }
 1036|       |    // %f32 - %f62
 1037|  1.83k|    if (name.substr(0, 1).equals_lower("f")
  ------------------
  |  Branch (1037:9): [True: 371, False: 1.46k]
  |  Branch (1037:9): [True: 36, False: 1.80k]
  ------------------
 1038|    371|        && !name.substr(1, 2).getAsInteger(10, intVal)
  ------------------
  |  Branch (1038:12): [True: 39, False: 332]
  ------------------
 1039|     39|        && intVal >= 32 && intVal <= 62 && (intVal % 2 == 0)) {
  ------------------
  |  Branch (1039:12): [True: 39, False: 0]
  |  Branch (1039:28): [True: 37, False: 2]
  |  Branch (1039:44): [True: 36, False: 1]
  ------------------
 1040|       |      // FIXME: Check V9
 1041|     36|      RegNo = DoubleRegs[intVal/2];
 1042|     36|      RegKind = SparcOperand::rk_DoubleReg;
 1043|     36|      return true;
 1044|     36|    }
 1045|       |
 1046|       |    // %r0 - %r31
 1047|  1.80k|    if (name.substr(0, 1).equals_lower("r")
  ------------------
  |  Branch (1047:9): [True: 59, False: 1.74k]
  |  Branch (1047:9): [True: 28, False: 1.77k]
  ------------------
 1048|     59|        && !name.substr(1, 2).getAsInteger(10, intVal) && intVal < 31) {
  ------------------
  |  Branch (1048:12): [True: 29, False: 30]
  |  Branch (1048:59): [True: 28, False: 1]
  ------------------
 1049|     28|      RegNo = IntRegs[intVal];
 1050|     28|      RegKind = SparcOperand::rk_IntReg;
 1051|     28|      return true;
 1052|     28|    }
 1053|       |
 1054|  1.77k|    if (name.equals("tpc")) {
  ------------------
  |  Branch (1054:9): [True: 1, False: 1.77k]
  ------------------
 1055|      1|      RegNo = Sparc::TPC;
 1056|      1|      RegKind = SparcOperand::rk_Special;
 1057|      1|      return true;
 1058|      1|    }
 1059|  1.77k|    if (name.equals("tnpc")) {
  ------------------
  |  Branch (1059:9): [True: 1, False: 1.77k]
  ------------------
 1060|      1|      RegNo = Sparc::TNPC;
 1061|      1|      RegKind = SparcOperand::rk_Special;
 1062|      1|      return true;
 1063|      1|    }
 1064|  1.77k|    if (name.equals("tstate")) {
  ------------------
  |  Branch (1064:9): [True: 1, False: 1.77k]
  ------------------
 1065|      1|      RegNo = Sparc::TSTATE;
 1066|      1|      RegKind = SparcOperand::rk_Special;
 1067|      1|      return true;
 1068|      1|    }
 1069|  1.77k|    if (name.equals("tt")) {
  ------------------
  |  Branch (1069:9): [True: 3, False: 1.76k]
  ------------------
 1070|      3|      RegNo = Sparc::TT;
 1071|      3|      RegKind = SparcOperand::rk_Special;
 1072|      3|      return true;
 1073|      3|    }
 1074|  1.76k|    if (name.equals("tick")) {
  ------------------
  |  Branch (1074:9): [True: 1, False: 1.76k]
  ------------------
 1075|      1|      RegNo = Sparc::TICK;
 1076|      1|      RegKind = SparcOperand::rk_Special;
 1077|      1|      return true;
 1078|      1|    }
 1079|  1.76k|    if (name.equals("tba")) {
  ------------------
  |  Branch (1079:9): [True: 1, False: 1.76k]
  ------------------
 1080|      1|      RegNo = Sparc::TBA;
 1081|      1|      RegKind = SparcOperand::rk_Special;
 1082|      1|      return true;
 1083|      1|    }
 1084|  1.76k|    if (name.equals("pstate")) {
  ------------------
  |  Branch (1084:9): [True: 1, False: 1.76k]
  ------------------
 1085|      1|      RegNo = Sparc::PSTATE;
 1086|      1|      RegKind = SparcOperand::rk_Special;
 1087|      1|      return true;
 1088|      1|    }
 1089|  1.76k|    if (name.equals("tl")) {
  ------------------
  |  Branch (1089:9): [True: 1, False: 1.76k]
  ------------------
 1090|      1|      RegNo = Sparc::TL;
 1091|      1|      RegKind = SparcOperand::rk_Special;
 1092|      1|      return true;
 1093|      1|    }
 1094|  1.76k|    if (name.equals("pil")) {
  ------------------
  |  Branch (1094:9): [True: 1, False: 1.76k]
  ------------------
 1095|      1|      RegNo = Sparc::PIL;
 1096|      1|      RegKind = SparcOperand::rk_Special;
 1097|      1|      return true;
 1098|      1|    }
 1099|  1.76k|    if (name.equals("cwp")) {
  ------------------
  |  Branch (1099:9): [True: 1, False: 1.76k]
  ------------------
 1100|      1|      RegNo = Sparc::CWP;
 1101|      1|      RegKind = SparcOperand::rk_Special;
 1102|      1|      return true;
 1103|      1|    }
 1104|  1.76k|    if (name.equals("cansave")) {
  ------------------
  |  Branch (1104:9): [True: 9, False: 1.75k]
  ------------------
 1105|      9|      RegNo = Sparc::CANSAVE;
 1106|      9|      RegKind = SparcOperand::rk_Special;
 1107|      9|      return true;
 1108|      9|    }
 1109|  1.75k|    if (name.equals("canrestore")) {
  ------------------
  |  Branch (1109:9): [True: 1, False: 1.75k]
  ------------------
 1110|      1|      RegNo = Sparc::CANRESTORE;
 1111|      1|      RegKind = SparcOperand::rk_Special;
 1112|      1|      return true;
 1113|      1|    }
 1114|  1.75k|    if (name.equals("cleanwin")) {
  ------------------
  |  Branch (1114:9): [True: 1, False: 1.75k]
  ------------------
 1115|      1|      RegNo = Sparc::CLEANWIN;
 1116|      1|      RegKind = SparcOperand::rk_Special;
 1117|      1|      return true;
 1118|      1|    }
 1119|  1.75k|    if (name.equals("otherwin")) {
  ------------------
  |  Branch (1119:9): [True: 1, False: 1.75k]
  ------------------
 1120|      1|      RegNo = Sparc::OTHERWIN;
 1121|      1|      RegKind = SparcOperand::rk_Special;
 1122|      1|      return true;
 1123|      1|    }
 1124|  1.75k|    if (name.equals("wstate")) {
  ------------------
  |  Branch (1124:9): [True: 1, False: 1.75k]
  ------------------
 1125|      1|      RegNo = Sparc::WSTATE;
 1126|      1|      RegKind = SparcOperand::rk_Special;
 1127|      1|      return true;
 1128|      1|    }
 1129|  1.75k|  }
 1130|  2.52k|  return false;
 1131|  3.39k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser16ParseInstructionERN7llvm_ks20ParseInstructionInfoENS1_9StringRefENS1_5SMLocERNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS7_14default_deleteIS9_EEEEEERj:
  598|   111k|{
  599|       |  // First operand in MCInst is instruction mnemonic.
  600|   111k|  Operands.push_back(SparcOperand::CreateToken(Name, NameLoc));
  601|       |
  602|       |  // apply mnemonic aliases, if any, so that we can parse operands correctly.
  603|   111k|  applyMnemonicAliases(Name, getAvailableFeatures(), 0);
  604|       |
  605|   111k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (605:7): [True: 110k, False: 895]
  ------------------
  606|       |    // Read the first operand.
  607|   110k|    if (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (607:9): [True: 302, False: 109k]
  ------------------
  608|    302|      if (parseBranchModifiers(Operands) != MatchOperand_Success) {
  ------------------
  |  Branch (608:11): [True: 50, False: 252]
  ------------------
  609|       |        // SMLoc Loc = getLexer().getLoc();
  610|     50|        Parser.eatToEndOfStatement();
  611|       |        // return Error(Loc, "unexpected token");
  612|     50|        ErrorCode = KS_ERR_ASM_SPARC_INVALIDOPERAND;
  613|     50|        return true;
  614|     50|      }
  615|    302|    }
  616|   110k|    if (parseOperand(Operands, Name) != MatchOperand_Success) {
  ------------------
  |  Branch (616:9): [True: 102k, False: 7.27k]
  ------------------
  617|       |      // SMLoc Loc = getLexer().getLoc();
  618|   102k|      Parser.eatToEndOfStatement();
  619|       |      // return Error(Loc, "unexpected token");
  620|   102k|      ErrorCode = KS_ERR_ASM_SPARC_INVALIDOPERAND;
  621|   102k|      return true;
  622|   102k|    }
  623|       |
  624|  17.4k|    while (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (624:12): [True: 11.3k, False: 6.01k]
  ------------------
  625|  11.3k|      Parser.Lex(); // Eat the comma.
  626|       |      // Parse and remember the operand.
  627|  11.3k|      if (parseOperand(Operands, Name) != MatchOperand_Success) {
  ------------------
  |  Branch (627:11): [True: 1.26k, False: 10.1k]
  ------------------
  628|       |        // SMLoc Loc = getLexer().getLoc();
  629|  1.26k|        Parser.eatToEndOfStatement();
  630|       |        // return Error(Loc, "unexpected token");
  631|  1.26k|        ErrorCode = KS_ERR_ASM_SPARC_INVALIDOPERAND;
  632|  1.26k|        return true;
  633|  1.26k|      }
  634|  11.3k|    }
  635|  7.27k|  }
  636|  6.91k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (636:7): [True: 1.44k, False: 5.46k]
  ------------------
  637|       |    // SMLoc Loc = getLexer().getLoc();
  638|  1.44k|    Parser.eatToEndOfStatement();
  639|       |    // return Error(Loc, "unexpected token");
  640|  1.44k|    ErrorCode = KS_ERR_ASM_SPARC_INVALIDOPERAND;
  641|  1.44k|    return true;
  642|  1.44k|  }
  643|  5.46k|  Parser.Lex(); // Consume the EndOfStatement.
  644|  5.46k|  return false;
  645|  6.91k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperand11CreateTokenEN7llvm_ks9StringRefENS1_5SMLocE:
  322|   123k|  static std::unique_ptr<SparcOperand> CreateToken(StringRef Str, SMLoc S) {
  323|   123k|    auto Op = make_unique<SparcOperand>(k_Token);
  324|   123k|    Op->Tok.Data = Str.data();
  325|   123k|    Op->Tok.Length = Str.size();
  326|   123k|    Op->StartLoc = S;
  327|   123k|    Op->EndLoc = S;
  328|   123k|    return Op;
  329|   123k|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperandC2ENS0_6KindTyE:
  207|   141k|  SparcOperand(KindTy K) : MCParsedAsmOperand(), Kind(K) {}
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand7isTokenEv:
  209|  6.85k|  bool isToken() const override { return Kind == k_Token; }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand5isImmEv:
  211|  2.93k|  bool isImm() const override { return Kind == k_Immediate; }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand5isRegEv:
  210|  3.19k|  bool isReg() const override { return Kind == k_Register; }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand6getRegEv:
  235|  1.44k|  unsigned getReg() const override {
  236|  1.44k|    assert((Kind == k_Register) && "Invalid access!");
  ------------------
  |  Branch (236:5): [True: 1.44k, False: 0]
  |  Branch (236:5): [True: 1.44k, Folded]
  |  Branch (236:5): [True: 1.44k, False: 0]
  ------------------
  237|  1.44k|    return Reg.RegNum;
  238|  1.44k|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand7isMEMrrEv:
  213|  1.07k|  bool isMEMrr() const { return Kind == k_MemoryReg; }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand7isMEMriEv:
  214|  1.10k|  bool isMEMri() const { return Kind == k_MemoryImm; }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand8getTokenEv:
  230|  5.85k|  StringRef getToken() const {
  231|  5.85k|    assert(Kind == k_Token && "Invalid access!");
  ------------------
  |  Branch (231:5): [True: 5.85k, False: 0]
  |  Branch (231:5): [True: 5.85k, Folded]
  |  Branch (231:5): [True: 5.85k, False: 0]
  ------------------
  232|  5.85k|    return StringRef(Tok.Data, Tok.Length);
  233|  5.85k|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand6getImmEv:
  240|  2.37k|  const MCExpr *getImm() const {
  241|  2.37k|    assert((Kind == k_Immediate) && "Invalid access!");
  ------------------
  |  Branch (241:5): [True: 2.37k, False: 0]
  |  Branch (241:5): [True: 2.37k, Folded]
  |  Branch (241:5): [True: 2.37k, False: 0]
  ------------------
  242|  2.37k|    return Imm.Val;
  243|  2.37k|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand10getMemBaseEv:
  245|    826|  unsigned getMemBase() const {
  246|    826|    assert((Kind == k_MemoryReg || Kind == k_MemoryImm) && "Invalid access!");
  ------------------
  |  Branch (246:5): [True: 796, False: 30]
  |  Branch (246:5): [True: 30, False: 0]
  |  Branch (246:5): [True: 826, Folded]
  |  Branch (246:5): [True: 826, False: 0]
  ------------------
  247|    826|    return Mem.Base;
  248|    826|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand15getMemOffsetRegEv:
  250|  1.59k|  unsigned getMemOffsetReg() const {
  251|  1.59k|    assert((Kind == k_MemoryReg) && "Invalid access!");
  ------------------
  |  Branch (251:5): [True: 1.59k, False: 0]
  |  Branch (251:5): [True: 1.59k, Folded]
  |  Branch (251:5): [True: 1.59k, False: 0]
  ------------------
  252|  1.59k|    return Mem.OffsetReg;
  253|  1.59k|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand9getMemOffEv:
  255|     30|  const MCExpr *getMemOff() const {
  256|     30|    assert((Kind == k_MemoryImm) && "Invalid access!");
  ------------------
  |  Branch (256:5): [True: 30, False: 0]
  |  Branch (256:5): [True: 30, Folded]
  |  Branch (256:5): [True: 30, False: 0]
  ------------------
  257|     30|    return Mem.Off;
  258|     30|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser20parseBranchModifiersERN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEE:
  888|    302|SparcAsmParser::parseBranchModifiers(OperandVector &Operands) {
  889|       |
  890|       |  // parse (,a|,pn|,pt)+
  891|       |
  892|    685|  while (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (892:10): [True: 433, False: 252]
  ------------------
  893|       |
  894|    433|    Parser.Lex(); // Eat the comma
  895|       |
  896|    433|    if (!getLexer().is(AsmToken::Identifier))
  ------------------
  |  Branch (896:9): [True: 50, False: 383]
  ------------------
  897|     50|      return MatchOperand_ParseFail;
  898|    383|    StringRef modName = Parser.getTok().getString();
  899|    383|    if (modName == "a" || modName == "pn" || modName == "pt") {
  ------------------
  |  Branch (899:9): [True: 179, False: 204]
  |  Branch (899:9): [True: 183, False: 200]
  |  Branch (899:27): [True: 4, False: 200]
  |  Branch (899:46): [True: 0, False: 200]
  ------------------
  900|    183|      Operands.push_back(SparcOperand::CreateToken(modName,
  901|    183|                                                   Parser.getTok().getLoc()));
  902|    183|      Parser.Lex(); // eat the identifier.
  903|    183|    }
  904|    383|  }
  905|    252|  return MatchOperand_Success;
  906|    302|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser12parseOperandERN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEENS1_9StringRefE:
  739|   121k|SparcAsmParser::parseOperand(OperandVector &Operands, StringRef Mnemonic) {
  740|       |
  741|   121k|  OperandMatchResultTy ResTy = MatchOperandParserImpl(Operands, Mnemonic);
  742|       |
  743|       |  // If there wasn't a custom match, try the generic matcher below. Otherwise,
  744|       |  // there was a match, but an error occurred, in which case, just return that
  745|       |  // the operand parsing failed.
  746|   121k|  if (ResTy == MatchOperand_Success || ResTy == MatchOperand_ParseFail)
  ------------------
  |  Branch (746:7): [True: 1.03k, False: 120k]
  |  Branch (746:40): [True: 0, False: 120k]
  ------------------
  747|  1.03k|    return ResTy;
  748|       |
  749|   120k|  if (getLexer().is(AsmToken::LBrac)) {
  ------------------
  |  Branch (749:7): [True: 11.9k, False: 108k]
  ------------------
  750|       |    // Memory operand
  751|  11.9k|    Operands.push_back(SparcOperand::CreateToken("[",
  752|  11.9k|                                                 Parser.getTok().getLoc()));
  753|  11.9k|    Parser.Lex(); // Eat the [
  754|       |
  755|  11.9k|    if (Mnemonic == "cas" || Mnemonic == "casx") {
  ------------------
  |  Branch (755:9): [True: 2, False: 11.9k]
  |  Branch (755:9): [True: 2, False: 11.9k]
  |  Branch (755:30): [True: 0, False: 11.9k]
  ------------------
  756|      2|      SMLoc S = Parser.getTok().getLoc();
  757|      2|      if (getLexer().getKind() != AsmToken::Percent)
  ------------------
  |  Branch (757:11): [True: 1, False: 1]
  ------------------
  758|      1|        return MatchOperand_NoMatch;
  759|      1|      Parser.Lex(); // eat %
  760|       |
  761|      1|      unsigned RegNo, RegKind;
  762|      1|      if (!matchRegisterName(Parser.getTok(), RegNo, RegKind))
  ------------------
  |  Branch (762:11): [True: 1, False: 0]
  ------------------
  763|      1|        return MatchOperand_NoMatch;
  764|       |
  765|      0|      Parser.Lex(); // Eat the identifier token.
  766|      0|      SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer()-1);
  767|      0|      Operands.push_back(SparcOperand::CreateReg(RegNo, RegKind, S, E));
  768|      0|      ResTy = MatchOperand_Success;
  769|  11.9k|    } else {
  770|  11.9k|      ResTy = parseMEMOperand(Operands);
  771|  11.9k|    }
  772|       |
  773|  11.9k|    if (ResTy != MatchOperand_Success)
  ------------------
  |  Branch (773:9): [True: 11.6k, False: 329]
  ------------------
  774|  11.6k|      return ResTy;
  775|       |
  776|    329|    if (!getLexer().is(AsmToken::RBrac))
  ------------------
  |  Branch (776:9): [True: 33, False: 296]
  ------------------
  777|     33|      return MatchOperand_ParseFail;
  778|       |
  779|    296|    Operands.push_back(SparcOperand::CreateToken("]",
  780|    296|                                                 Parser.getTok().getLoc()));
  781|    296|    Parser.Lex(); // Eat the ]
  782|       |
  783|       |    // Parse an optional address-space identifier after the address.
  784|    296|    if (getLexer().is(AsmToken::Integer)) {
  ------------------
  |  Branch (784:9): [True: 18, False: 278]
  ------------------
  785|     18|      std::unique_ptr<SparcOperand> Op;
  786|     18|      ResTy = parseSparcAsmOperand(Op, false);
  787|     18|      if (ResTy != MatchOperand_Success || !Op)
  ------------------
  |  Branch (787:11): [True: 1, False: 17]
  |  Branch (787:44): [True: 0, False: 17]
  ------------------
  788|      1|        return MatchOperand_ParseFail;
  789|     17|      Operands.push_back(std::move(Op));
  790|     17|    }
  791|    295|    return MatchOperand_Success;
  792|    296|  }
  793|       |
  794|   108k|  std::unique_ptr<SparcOperand> Op;
  795|       |
  796|   108k|  ResTy = parseSparcAsmOperand(Op, (Mnemonic == "call"));
  797|   108k|  if (ResTy != MatchOperand_Success || !Op)
  ------------------
  |  Branch (797:7): [True: 92.5k, False: 16.0k]
  |  Branch (797:40): [True: 0, False: 16.0k]
  ------------------
  798|  92.5k|    return MatchOperand_ParseFail;
  799|       |
  800|       |  // Push the parsed operand into the list of operands
  801|  16.0k|  Operands.push_back(std::move(Op));
  802|       |
  803|  16.0k|  return MatchOperand_Success;
  804|   108k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperand9CreateRegEjjN7llvm_ks5SMLocES2_:
  332|    295|                                                 SMLoc S, SMLoc E) {
  333|    295|    auto Op = make_unique<SparcOperand>(k_Register);
  334|    295|    Op->Reg.RegNum = RegNum;
  335|    295|    Op->Reg.Kind   = (SparcOperand::RegisterKind)Kind;
  336|    295|    Op->StartLoc = S;
  337|    295|    Op->EndLoc = E;
  338|    295|    return Op;
  339|    295|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser15parseMEMOperandERN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEE:
  700|  17.7k|SparcAsmParser::parseMEMOperand(OperandVector &Operands) {
  701|       |
  702|  17.7k|  SMLoc S, E;
  703|  17.7k|  unsigned BaseReg = 0;
  704|  17.7k|  unsigned int ErrorCode;
  705|       |
  706|  17.7k|  if (ParseRegister(BaseReg, S, E, ErrorCode)) {
  ------------------
  |  Branch (706:7): [True: 1.84k, False: 15.9k]
  ------------------
  707|  1.84k|    return MatchOperand_NoMatch;
  708|  1.84k|  }
  709|       |
  710|  15.9k|  switch (getLexer().getKind()) {
  711|    570|  default: return MatchOperand_NoMatch;
  ------------------
  |  Branch (711:3): [True: 570, False: 15.3k]
  ------------------
  712|       |
  713|    188|  case AsmToken::Comma:
  ------------------
  |  Branch (713:3): [True: 188, False: 15.7k]
  ------------------
  714|    484|  case AsmToken::RBrac:
  ------------------
  |  Branch (714:3): [True: 296, False: 15.6k]
  ------------------
  715|  1.32k|  case AsmToken::EndOfStatement:
  ------------------
  |  Branch (715:3): [True: 840, False: 15.0k]
  ------------------
  716|  1.32k|    Operands.push_back(SparcOperand::CreateMEMr(BaseReg, S, E));
  717|  1.32k|    return MatchOperand_Success;
  718|       |
  719|     35|  case AsmToken:: Plus:
  ------------------
  |  Branch (719:3): [True: 35, False: 15.8k]
  ------------------
  720|     35|    Parser.Lex(); // Eat the '+'
  721|     35|    break;
  722|  13.9k|  case AsmToken::Minus:
  ------------------
  |  Branch (722:3): [True: 13.9k, False: 1.92k]
  ------------------
  723|  13.9k|    break;
  724|  15.9k|  }
  725|       |
  726|  14.0k|  std::unique_ptr<SparcOperand> Offset;
  727|  14.0k|  OperandMatchResultTy ResTy = parseSparcAsmOperand(Offset);
  728|  14.0k|  if (ResTy != MatchOperand_Success || !Offset)
  ------------------
  |  Branch (728:7): [True: 13.9k, False: 42]
  |  Branch (728:40): [True: 0, False: 42]
  ------------------
  729|  13.9k|    return MatchOperand_NoMatch;
  730|       |
  731|     42|  Operands.push_back(
  732|     42|      Offset->isImm() ? SparcOperand::MorphToMEMri(BaseReg, std::move(Offset))
  ------------------
  |  Branch (732:7): [True: 41, False: 1]
  ------------------
  733|     42|                      : SparcOperand::MorphToMEMrr(BaseReg, std::move(Offset)));
  734|       |
  735|     42|  return MatchOperand_Success;
  736|  14.0k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperand10CreateMEMrEjN7llvm_ks5SMLocES2_:
  414|  1.32k|  CreateMEMr(unsigned Base, SMLoc S, SMLoc E) {
  415|  1.32k|    auto Op = make_unique<SparcOperand>(k_MemoryReg);
  416|  1.32k|    Op->Mem.Base = Base;
  417|  1.32k|    Op->Mem.OffsetReg = Sparc::G0;  // always 0
  418|  1.32k|    Op->Mem.Off = nullptr;
  419|  1.32k|    Op->StartLoc = S;
  420|  1.32k|    Op->EndLoc = E;
  421|  1.32k|    return Op;
  422|  1.32k|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperand12MorphToMEMriEjNSt3__110unique_ptrIS0_NS1_14default_deleteIS0_EEEE:
  425|     41|  MorphToMEMri(unsigned Base, std::unique_ptr<SparcOperand> Op) {
  426|     41|    const MCExpr *Imm  = Op->getImm();
  427|     41|    Op->Kind = k_MemoryImm;
  428|     41|    Op->Mem.Base = Base;
  429|     41|    Op->Mem.OffsetReg = 0;
  430|     41|    Op->Mem.Off = Imm;
  431|     41|    return Op;
  432|     41|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperand12MorphToMEMrrEjNSt3__110unique_ptrIS0_NS1_14default_deleteIS0_EEEE:
  404|      1|  MorphToMEMrr(unsigned Base, std::unique_ptr<SparcOperand> Op) {
  405|      1|    unsigned offsetReg = Op->getReg();
  406|      1|    Op->Kind = k_MemoryReg;
  407|      1|    Op->Mem.Base = Base;
  408|      1|    Op->Mem.OffsetReg = offsetReg;
  409|      1|    Op->Mem.Off = nullptr;
  410|      1|    return Op;
  411|      1|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser20parseSparcAsmOperandERNSt3__110unique_ptrINS_12SparcOperandENS1_14default_deleteIS3_EEEEb:
  808|   122k|                                     bool isCall) {
  809|       |
  810|   122k|  SMLoc S = Parser.getTok().getLoc();
  811|   122k|  SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
  812|   122k|  const MCExpr *EVal;
  813|       |
  814|   122k|  Op = nullptr;
  815|   122k|  switch (getLexer().getKind()) {
  816|  1.06k|  default:  break;
  ------------------
  |  Branch (816:3): [True: 1.06k, False: 121k]
  ------------------
  817|       |
  818|  1.06k|  case AsmToken::Percent:
  ------------------
  |  Branch (818:3): [True: 1.01k, False: 121k]
  ------------------
  819|  1.01k|    Parser.Lex(); // Eat the '%'.
  820|  1.01k|    unsigned RegNo;
  821|  1.01k|    unsigned RegKind;
  822|  1.01k|    if (matchRegisterName(Parser.getTok(), RegNo, RegKind)) {
  ------------------
  |  Branch (822:9): [True: 334, False: 676]
  ------------------
  823|    334|      StringRef name = Parser.getTok().getString();
  824|    334|      Parser.Lex(); // Eat the identifier token.
  825|    334|      E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
  826|    334|      switch (RegNo) {
  827|    295|      default:
  ------------------
  |  Branch (827:7): [True: 295, False: 39]
  ------------------
  828|    295|        Op = SparcOperand::CreateReg(RegNo, RegKind, S, E);
  829|    295|        break;
  830|     14|      case Sparc::PSR:
  ------------------
  |  Branch (830:7): [True: 14, False: 320]
  ------------------
  831|     14|        Op = SparcOperand::CreateToken("%psr", S);
  832|     14|        break;
  833|      2|      case Sparc::FSR:
  ------------------
  |  Branch (833:7): [True: 2, False: 332]
  ------------------
  834|      2|        Op = SparcOperand::CreateToken("%fsr", S);
  835|      2|        break;
  836|     10|      case Sparc::WIM:
  ------------------
  |  Branch (836:7): [True: 10, False: 324]
  ------------------
  837|     10|        Op = SparcOperand::CreateToken("%wim", S);
  838|     10|        break;
  839|      1|      case Sparc::TBR:
  ------------------
  |  Branch (839:7): [True: 1, False: 333]
  ------------------
  840|      1|        Op = SparcOperand::CreateToken("%tbr", S);
  841|      1|        break;
  842|     12|      case Sparc::ICC:
  ------------------
  |  Branch (842:7): [True: 12, False: 322]
  ------------------
  843|     12|        if (name == "xcc")
  ------------------
  |  Branch (843:13): [True: 8, False: 4]
  ------------------
  844|      8|          Op = SparcOperand::CreateToken("%xcc", S);
  845|      4|        else
  846|      4|          Op = SparcOperand::CreateToken("%icc", S);
  847|     12|        break;
  848|    334|      }
  849|    334|      break;
  850|    334|    }
  851|    676|    if (matchSparcAsmModifiers(EVal, E)) {
  ------------------
  |  Branch (851:9): [True: 6, False: 670]
  ------------------
  852|      6|      E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
  853|      6|      Op = SparcOperand::CreateImm(EVal, S, E);
  854|      6|    }
  855|    676|    break;
  856|       |
  857|  51.2k|  case AsmToken::Minus:
  ------------------
  |  Branch (857:3): [True: 51.2k, False: 71.4k]
  ------------------
  858|  55.5k|  case AsmToken::Integer:
  ------------------
  |  Branch (858:3): [True: 4.26k, False: 118k]
  ------------------
  859|   107k|  case AsmToken::LParen:
  ------------------
  |  Branch (859:3): [True: 51.6k, False: 71.0k]
  ------------------
  860|   108k|  case AsmToken::Dot:
  ------------------
  |  Branch (860:3): [True: 1.84k, False: 120k]
  ------------------
  861|   108k|    if (!getParser().parseExpression(EVal, E))
  ------------------
  |  Branch (861:9): [True: 4.21k, False: 104k]
  ------------------
  862|  4.21k|      Op = SparcOperand::CreateImm(EVal, S, E);
  863|   108k|    break;
  864|       |
  865|  11.5k|  case AsmToken::Identifier: {
  ------------------
  |  Branch (865:3): [True: 11.5k, False: 111k]
  ------------------
  866|  11.5k|    StringRef Identifier;
  867|  11.5k|    if (!getParser().parseIdentifier(Identifier)) {
  ------------------
  |  Branch (867:9): [True: 11.5k, False: 0]
  ------------------
  868|  11.5k|      E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
  869|  11.5k|      MCSymbol *Sym = getContext().getOrCreateSymbol(Identifier);
  870|       |
  871|  11.5k|      const MCExpr *Res = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None,
  872|  11.5k|                                                  getContext());
  873|       |#if 0
  874|       |      if (isCall &&
  875|       |          getContext().getObjectFileInfo()->getRelocM() == Reloc::PIC_)
  876|       |        Res = SparcMCExpr::create(SparcMCExpr::VK_Sparc_WPLT30, Res,
  877|       |                                  getContext());
  878|       |#endif
  879|  11.5k|      Op = SparcOperand::CreateImm(Res, S, E);
  880|  11.5k|    }
  881|  11.5k|    break;
  882|   107k|  }
  883|   122k|  }
  884|   122k|  return (Op) ? MatchOperand_Success : MatchOperand_ParseFail;
  ------------------
  |  Branch (884:10): [True: 16.1k, False: 106k]
  ------------------
  885|   122k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser22matchSparcAsmModifiersERPKN7llvm_ks6MCExprERNS1_5SMLocE:
 1163|    676|{
 1164|    676|  AsmToken Tok = Parser.getTok();
 1165|    676|  if (!Tok.is(AsmToken::Identifier))
  ------------------
  |  Branch (1165:7): [True: 79, False: 597]
  ------------------
 1166|     79|    return false;
 1167|       |
 1168|    597|  StringRef name = Tok.getString();
 1169|       |
 1170|    597|  SparcMCExpr::VariantKind VK = SparcMCExpr::parseVariantKind(name);
 1171|       |
 1172|    597|  if (VK == SparcMCExpr::VK_Sparc_None)
  ------------------
  |  Branch (1172:7): [True: 576, False: 21]
  ------------------
 1173|    576|    return false;
 1174|       |
 1175|     21|  Parser.Lex(); // Eat the identifier.
 1176|     21|  if (Parser.getTok().getKind() != AsmToken::LParen)
  ------------------
  |  Branch (1176:7): [True: 12, False: 9]
  ------------------
 1177|     12|    return false;
 1178|       |
 1179|      9|  Parser.Lex(); // Eat the LParen token.
 1180|      9|  const MCExpr *subExpr;
 1181|      9|  if (Parser.parseParenExpression(subExpr, EndLoc))
  ------------------
  |  Branch (1181:7): [True: 3, False: 6]
  ------------------
 1182|      3|    return false;
 1183|       |
 1184|      6|  EVal = adjustPICRelocation(VK, subExpr);
 1185|      6|  return true;
 1186|      9|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser19adjustPICRelocationEN7llvm_ks11SparcMCExpr11VariantKindEPKNS1_6MCExprE:
 1136|      6|{
 1137|       |#if 0
 1138|       |  // When in PIC mode, "%lo(...)" and "%hi(...)" behave differently.
 1139|       |  // If the expression refers contains _GLOBAL_OFFSETE_TABLE, it is
 1140|       |  // actually a %pc10 or %pc22 relocation. Otherwise, they are interpreted
 1141|       |  // as %got10 or %got22 relocation.
 1142|       |
 1143|       |  if (getContext().getObjectFileInfo()->getRelocM() == Reloc::PIC_) {
 1144|       |    switch(VK) {
 1145|       |    default: break;
 1146|       |    case SparcMCExpr::VK_Sparc_LO:
 1147|       |      VK = (hasGOTReference(subExpr) ? SparcMCExpr::VK_Sparc_PC10
 1148|       |                                     : SparcMCExpr::VK_Sparc_GOT10);
 1149|       |      break;
 1150|       |    case SparcMCExpr::VK_Sparc_HI:
 1151|       |      VK = (hasGOTReference(subExpr) ? SparcMCExpr::VK_Sparc_PC22
 1152|       |                                     : SparcMCExpr::VK_Sparc_GOT22);
 1153|       |      break;
 1154|       |    }
 1155|       |  }
 1156|       |#endif
 1157|       |
 1158|      6|  return SparcMCExpr::create(VK, subExpr, getContext());
 1159|      6|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperand9CreateImmEPKN7llvm_ks6MCExprENS1_5SMLocES5_:
  342|  15.8k|                                                 SMLoc E) {
  343|  15.8k|    auto Op = make_unique<SparcOperand>(k_Immediate);
  344|  15.8k|    Op->Imm.Val = Val;
  345|  15.8k|    Op->StartLoc = S;
  346|  15.8k|    Op->EndLoc = E;
  347|  15.8k|    return Op;
  348|  15.8k|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser14ParseDirectiveEN7llvm_ks8AsmTokenE:
  649|   925k|{
  650|   925k|  StringRef IDVal = DirectiveID.getString();
  651|       |
  652|   925k|  if (IDVal == ".byte")
  ------------------
  |  Branch (652:7): [True: 685, False: 924k]
  ------------------
  653|    685|    return parseDirectiveWord(1, DirectiveID.getLoc());
  654|       |
  655|   924k|  if (IDVal == ".half")
  ------------------
  |  Branch (655:7): [True: 39, False: 924k]
  ------------------
  656|     39|    return parseDirectiveWord(2, DirectiveID.getLoc());
  657|       |
  658|   924k|  if (IDVal == ".word")
  ------------------
  |  Branch (658:7): [True: 9.06k, False: 915k]
  ------------------
  659|  9.06k|    return parseDirectiveWord(4, DirectiveID.getLoc());
  660|       |
  661|   915k|  if (IDVal == ".nword")
  ------------------
  |  Branch (661:7): [True: 28, False: 915k]
  ------------------
  662|     28|    return parseDirectiveWord(is64Bit() ? 8 : 4, DirectiveID.getLoc());
  ------------------
  |  Branch (662:31): [True: 0, False: 28]
  ------------------
  663|       |
  664|   915k|  if (is64Bit() && IDVal == ".xword")
  ------------------
  |  Branch (664:7): [True: 0, False: 915k]
  |  Branch (664:7): [True: 0, False: 915k]
  |  Branch (664:20): [True: 0, False: 0]
  ------------------
  665|      0|    return parseDirectiveWord(8, DirectiveID.getLoc());
  666|       |
  667|   915k|  if (IDVal == ".register") {
  ------------------
  |  Branch (667:7): [True: 0, False: 915k]
  ------------------
  668|       |    // For now, ignore .register directive.
  669|      0|    Parser.eatToEndOfStatement();
  670|      0|    return false;
  671|      0|  }
  672|       |
  673|       |  // Let the MC layer to handle other directives.
  674|   915k|  return true;
  675|   915k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser18parseDirectiveWordEjN7llvm_ks5SMLocE:
  677|  9.81k|bool SparcAsmParser:: parseDirectiveWord(unsigned Size, SMLoc L) {
  678|  9.81k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (678:7): [True: 9.26k, False: 550]
  ------------------
  679|  26.4k|    for (;;) {
  680|  26.4k|      const MCExpr *Value;
  681|  26.4k|      if (getParser().parseExpression(Value))
  ------------------
  |  Branch (681:11): [True: 550, False: 25.8k]
  ------------------
  682|    550|        return true;
  683|       |
  684|  25.8k|      getParser().getStreamer().EmitValue(Value, Size);
  685|       |
  686|  25.8k|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (686:11): [True: 8.29k, False: 17.5k]
  ------------------
  687|  8.29k|        break;
  688|       |
  689|       |      // FIXME: Improve diagnostic.
  690|  17.5k|      if (getLexer().isNot(AsmToken::Comma))
  ------------------
  |  Branch (690:11): [True: 416, False: 17.1k]
  ------------------
  691|    416|        return Error(L, "unexpected token in directive");
  692|  17.1k|      Parser.Lex();
  693|  17.1k|    }
  694|  9.26k|  }
  695|  8.84k|  Parser.Lex();
  696|  8.84k|  return false;
  697|  9.81k|}
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_114SparcAsmParser7is64BitEv:
   85|   915k|  bool is64Bit() const {
   86|   915k|    return getSTI().getTargetTriple().getArch() == Triple::sparcv9;
   87|   915k|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser23MatchAndEmitInstructionEN7llvm_ks5SMLocERjRNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS5_14default_deleteIS7_EEEEEERNS1_10MCStreamerERmbS3_SF_:
  515|  5.46k|{
  516|  5.46k|  MCInst Inst(Address);
  517|  5.46k|  SmallVector<MCInst, 8> Instructions;
  518|  5.46k|  unsigned MatchResult = MatchInstructionImpl(Operands, Inst, ErrorInfo,
  519|  5.46k|                                              MatchingInlineAsm);
  520|  5.46k|  switch (MatchResult) {
  ------------------
  |  Branch (520:11): [True: 5.46k, False: 0]
  ------------------
  521|  3.39k|  case Match_Success: {
  ------------------
  |  Branch (521:3): [True: 3.39k, False: 2.07k]
  ------------------
  522|  3.39k|    switch (Inst.getOpcode()) {
  523|  3.39k|    default:
  ------------------
  |  Branch (523:5): [True: 3.39k, False: 0]
  ------------------
  524|  3.39k|      Inst.setLoc(IDLoc);
  525|  3.39k|      Instructions.push_back(Inst);
  526|  3.39k|      break;
  527|      0|    case SP::SET:
  ------------------
  |  Branch (527:5): [True: 0, False: 3.39k]
  ------------------
  528|      0|      expandSET(Inst, IDLoc, Instructions);
  529|      0|      break;
  530|  3.39k|    }
  531|       |
  532|  3.39k|    for (MCInst &I : Instructions) {
  ------------------
  |  Branch (532:20): [True: 3.39k, False: 3.39k]
  ------------------
  533|  3.39k|      Out.EmitInstruction(I, getSTI(), ErrorCode);
  534|  3.39k|    }
  535|  3.39k|    if (ErrorCode == 0) {
  ------------------
  |  Branch (535:9): [True: 3.39k, False: 0]
  ------------------
  536|  3.39k|        Address = Inst.getAddress(); // Keystone update address
  537|  3.39k|        return false;
  538|  3.39k|    } else
  539|      0|        return true;
  540|  3.39k|  }
  541|       |
  542|      1|  case Match_MissingFeature:
  ------------------
  |  Branch (542:3): [True: 1, False: 5.46k]
  ------------------
  543|       |    // return Error(IDLoc,
  544|       |    //              "instruction requires a CPU feature not currently enabled");
  545|      1|    ErrorCode = KS_ERR_ASM_SPARC_MISSINGFEATURE;
  546|      1|    return true;
  547|       |
  548|    567|  case Match_InvalidOperand: {
  ------------------
  |  Branch (548:3): [True: 567, False: 4.89k]
  ------------------
  549|       |#if 0
  550|       |    SMLoc ErrorLoc = IDLoc;
  551|       |    if (ErrorInfo != ~0ULL) {
  552|       |      if (ErrorInfo >= Operands.size())
  553|       |        return Error(IDLoc, "too few operands for instruction");
  554|       |
  555|       |      ErrorLoc = ((SparcOperand &)*Operands[ErrorInfo]).getStartLoc();
  556|       |      if (ErrorLoc == SMLoc())
  557|       |        ErrorLoc = IDLoc;
  558|       |    }
  559|       |
  560|       |    return Error(ErrorLoc, "invalid operand for instruction");
  561|       |#endif
  562|    567|    ErrorCode = KS_ERR_ASM_SPARC_INVALIDOPERAND;
  563|    567|    return true;
  564|  3.39k|  }
  565|  1.50k|  case Match_MnemonicFail:
  ------------------
  |  Branch (565:3): [True: 1.50k, False: 3.95k]
  ------------------
  566|       |    // return Error(IDLoc, "invalid instruction mnemonic");
  567|  1.50k|    ErrorCode = KS_ERR_ASM_SPARC_MNEMONICFAIL;
  568|  1.50k|    return true;
  569|  5.46k|  }
  570|      0|  llvm_unreachable("Implement any new match types added!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  571|  5.46k|}
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand14addRegOperandsERN7llvm_ks6MCInstEj:
  283|     20|  void addRegOperands(MCInst &Inst, unsigned N) const {
  284|     20|    assert(N == 1 && "Invalid number of operands!");
  ------------------
  |  Branch (284:5): [True: 20, False: 0]
  |  Branch (284:5): [True: 20, Folded]
  |  Branch (284:5): [True: 20, False: 0]
  ------------------
  285|     20|    Inst.addOperand(MCOperand::createReg(getReg()));
  286|     20|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand14addImmOperandsERN7llvm_ks6MCInstEj:
  288|  2.33k|  void addImmOperands(MCInst &Inst, unsigned N) const {
  289|  2.33k|    assert(N == 1 && "Invalid number of operands!");
  ------------------
  |  Branch (289:5): [True: 2.33k, False: 0]
  |  Branch (289:5): [True: 2.33k, Folded]
  |  Branch (289:5): [True: 2.33k, False: 0]
  ------------------
  290|  2.33k|    const MCExpr *Expr = getImm();
  291|  2.33k|    addExpr(Inst, Expr);
  292|  2.33k|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand7addExprERN7llvm_ks6MCInstEPKNS1_6MCExprE:
  294|  2.36k|  void addExpr(MCInst &Inst, const MCExpr *Expr) const{
  295|       |    // Add as immediate when possible.  Null MCExpr = 0.
  296|  2.36k|    if (!Expr)
  ------------------
  |  Branch (296:9): [True: 0, False: 2.36k]
  ------------------
  297|      0|      Inst.addOperand(MCOperand::createImm(0));
  298|  2.36k|    else if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr))
  ------------------
  |  Branch (298:36): [True: 227, False: 2.13k]
  ------------------
  299|    227|      Inst.addOperand(MCOperand::createImm(CE->getValue()));
  300|  2.13k|    else
  301|  2.13k|      Inst.addOperand(MCOperand::createExpr(Expr));
  302|  2.36k|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand16addMEMriOperandsERN7llvm_ks6MCInstEj:
  313|     30|  void addMEMriOperands(MCInst &Inst, unsigned N) const {
  314|     30|    assert(N == 2 && "Invalid number of operands!");
  ------------------
  |  Branch (314:5): [True: 30, False: 0]
  |  Branch (314:5): [True: 30, Folded]
  |  Branch (314:5): [True: 30, False: 0]
  ------------------
  315|       |
  316|     30|    Inst.addOperand(MCOperand::createReg(getMemBase()));
  317|       |
  318|     30|    const MCExpr *Expr = getMemOff();
  319|     30|    addExpr(Inst, Expr);
  320|     30|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand16addMEMrrOperandsERN7llvm_ks6MCInstEj:
  304|    796|  void addMEMrrOperands(MCInst &Inst, unsigned N) const {
  305|    796|    assert(N == 2 && "Invalid number of operands!");
  ------------------
  |  Branch (305:5): [True: 796, False: 0]
  |  Branch (305:5): [True: 796, Folded]
  |  Branch (305:5): [True: 796, False: 0]
  ------------------
  306|       |
  307|    796|    Inst.addOperand(MCOperand::createReg(getMemBase()));
  308|       |
  309|    796|    assert(getMemOffsetReg() != 0 && "Invalid offset");
  ------------------
  |  Branch (309:5): [True: 796, False: 0]
  |  Branch (309:5): [True: 796, Folded]
  |  Branch (309:5): [True: 796, False: 0]
  ------------------
  310|    796|    Inst.addOperand(MCOperand::createReg(getMemOffsetReg()));
  311|    796|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser26validateTargetOperandClassERN7llvm_ks18MCParsedAsmOperandEj:
 1199|  3.53k|                                                    unsigned Kind) {
 1200|  3.53k|  SparcOperand &Op = (SparcOperand &)GOp;
 1201|  3.53k|  if (Op.isFloatOrDoubleReg()) {
  ------------------
  |  Branch (1201:7): [True: 619, False: 2.91k]
  ------------------
 1202|    619|    switch (Kind) {
 1203|    592|    default: break;
  ------------------
  |  Branch (1203:5): [True: 592, False: 27]
  ------------------
 1204|    592|    case MCK_DFPRegs:
  ------------------
  |  Branch (1204:5): [True: 14, False: 605]
  ------------------
 1205|     14|      if (!Op.isFloatReg() || SparcOperand::MorphToDoubleReg(Op))
  ------------------
  |  Branch (1205:11): [True: 0, False: 14]
  |  Branch (1205:31): [True: 8, False: 6]
  ------------------
 1206|      8|        return MCTargetAsmParser::Match_Success;
 1207|      6|      break;
 1208|     13|    case MCK_QFPRegs:
  ------------------
  |  Branch (1208:5): [True: 13, False: 606]
  ------------------
 1209|     13|      if (SparcOperand::MorphToQuadReg(Op))
  ------------------
  |  Branch (1209:11): [True: 9, False: 4]
  ------------------
 1210|      9|        return MCTargetAsmParser::Match_Success;
 1211|      4|      break;
 1212|    619|    }
 1213|    619|  }
 1214|  3.51k|  if (Op.isIntReg() && Kind == MCK_IntPair) {
  ------------------
  |  Branch (1214:7): [True: 530, False: 2.98k]
  |  Branch (1214:24): [True: 26, False: 504]
  ------------------
 1215|     26|    if (SparcOperand::MorphToIntPairReg(Op))
  ------------------
  |  Branch (1215:9): [True: 9, False: 17]
  ------------------
 1216|      9|      return MCTargetAsmParser::Match_Success;
 1217|     26|  }
 1218|  3.50k|  return Match_InvalidOperand;
 1219|  3.51k|}
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand18isFloatOrDoubleRegEv:
  224|  3.53k|  bool isFloatOrDoubleReg() const {
  225|  3.53k|    return (Kind == k_Register && (Reg.Kind == rk_FloatReg
  ------------------
  |  Branch (225:13): [True: 1.30k, False: 2.23k]
  |  Branch (225:36): [True: 462, False: 842]
  ------------------
  226|    842|                                   || Reg.Kind == rk_DoubleReg));
  ------------------
  |  Branch (226:39): [True: 157, False: 685]
  ------------------
  227|  3.53k|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand10isFloatRegEv:
  220|     14|  bool isFloatReg() const {
  221|     14|    return (Kind == k_Register && Reg.Kind == rk_FloatReg);
  ------------------
  |  Branch (221:13): [True: 14, False: 0]
  |  Branch (221:35): [True: 14, False: 0]
  ------------------
  222|     14|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperand16MorphToDoubleRegERS0_:
  369|     14|  static bool MorphToDoubleReg(SparcOperand &Op) {
  370|     14|    unsigned Reg = Op.getReg();
  371|     14|    assert(Op.Reg.Kind == rk_FloatReg);
  ------------------
  |  Branch (371:5): [True: 14, False: 0]
  ------------------
  372|     14|    unsigned regIdx = Reg - Sparc::F0;
  373|     14|    if (regIdx % 2 || regIdx > 31)
  ------------------
  |  Branch (373:9): [True: 6, False: 8]
  |  Branch (373:23): [True: 0, False: 8]
  ------------------
  374|      6|      return false;
  375|      8|    Op.Reg.RegNum = DoubleRegs[regIdx / 2];
  376|      8|    Op.Reg.Kind = rk_DoubleReg;
  377|      8|    return true;
  378|     14|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperand14MorphToQuadRegERS0_:
  380|     13|  static bool MorphToQuadReg(SparcOperand &Op) {
  381|     13|    unsigned Reg = Op.getReg();
  382|     13|    unsigned regIdx = 0;
  383|     13|    switch (Op.Reg.Kind) {
  384|      0|    default: llvm_unreachable("Unexpected register kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (384:5): [True: 0, False: 13]
  ------------------
  385|      8|    case rk_FloatReg:
  ------------------
  |  Branch (385:5): [True: 8, False: 5]
  ------------------
  386|      8|      regIdx = Reg - Sparc::F0;
  387|      8|      if (regIdx % 4 || regIdx > 31)
  ------------------
  |  Branch (387:11): [True: 2, False: 6]
  |  Branch (387:25): [True: 0, False: 6]
  ------------------
  388|      2|        return false;
  389|      6|      Reg = QuadFPRegs[regIdx / 4];
  390|      6|      break;
  391|      5|    case rk_DoubleReg:
  ------------------
  |  Branch (391:5): [True: 5, False: 8]
  ------------------
  392|      5|      regIdx =  Reg - Sparc::D0;
  393|      5|      if (regIdx % 2 || regIdx > 31)
  ------------------
  |  Branch (393:11): [True: 2, False: 3]
  |  Branch (393:25): [True: 0, False: 3]
  ------------------
  394|      2|        return false;
  395|      3|      Reg = QuadFPRegs[regIdx / 2];
  396|      3|      break;
  397|     13|    }
  398|      9|    Op.Reg.RegNum = Reg;
  399|      9|    Op.Reg.Kind = rk_QuadReg;
  400|      9|    return true;
  401|     13|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand8isIntRegEv:
  216|  3.51k|  bool isIntReg() const {
  217|  3.51k|    return (Kind == k_Register && Reg.Kind == rk_IntReg);
  ------------------
  |  Branch (217:13): [True: 1.28k, False: 2.23k]
  |  Branch (217:35): [True: 530, False: 757]
  ------------------
  218|  3.51k|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperand17MorphToIntPairRegERS0_:
  350|     26|  static bool MorphToIntPairReg(SparcOperand &Op) {
  351|     26|    unsigned Reg = Op.getReg();
  352|     26|    assert(Op.Reg.Kind == rk_IntReg);
  ------------------
  |  Branch (352:5): [True: 26, False: 0]
  ------------------
  353|     26|    unsigned regIdx = 32;
  354|     26|    if (Reg >= Sparc::G0 && Reg <= Sparc::G7)
  ------------------
  |  Branch (354:9): [True: 26, False: 0]
  |  Branch (354:29): [True: 6, False: 20]
  ------------------
  355|      6|      regIdx = Reg - Sparc::G0;
  356|     20|    else if (Reg >= Sparc::O0 && Reg <= Sparc::O7)
  ------------------
  |  Branch (356:14): [True: 9, False: 11]
  |  Branch (356:34): [True: 9, False: 0]
  ------------------
  357|      9|      regIdx = Reg - Sparc::O0 + 8;
  358|     11|    else if (Reg >= Sparc::L0 && Reg <= Sparc::L7)
  ------------------
  |  Branch (358:14): [True: 5, False: 6]
  |  Branch (358:34): [True: 5, False: 0]
  ------------------
  359|      5|      regIdx = Reg - Sparc::L0 + 16;
  360|      6|    else if (Reg >= Sparc::I0 && Reg <= Sparc::I7)
  ------------------
  |  Branch (360:14): [True: 6, False: 0]
  |  Branch (360:34): [True: 6, False: 0]
  ------------------
  361|      6|      regIdx = Reg - Sparc::I0 + 24;
  362|     26|    if (regIdx % 2 || regIdx > 31)
  ------------------
  |  Branch (362:9): [True: 17, False: 9]
  |  Branch (362:23): [True: 0, False: 9]
  ------------------
  363|     17|      return false;
  364|      9|    Op.Reg.RegNum = IntPairRegs[regIdx / 2];
  365|      9|    Op.Reg.Kind = rk_IntPairReg;
  366|      9|    return true;
  367|     26|  }

_ZN7llvm_ks21createSparcAsmBackendERKNS_6TargetERKNS_14MCRegisterInfoERKNS_6TripleENS_9StringRefE:
  302|  12.6k|                                          const Triple &TT, StringRef CPU) {
  303|  12.6k|  return new ELFSparcAsmBackend(T, TT.getOS());
  304|  12.6k|}
SparcAsmBackend.cpp:_ZN12_GLOBAL__N_118ELFSparcAsmBackendC2ERKN7llvm_ks6TargetENS1_6Triple6OSTypeE:
  273|  12.6k|      SparcAsmBackend(T), OSType(OSType) { }
SparcAsmBackend.cpp:_ZN12_GLOBAL__N_115SparcAsmBackendC2ERKN7llvm_ks6TargetE:
  108|  12.6k|        : MCAsmBackend(), TheTarget(T),
  109|  12.6k|          IsLittleEndian(StringRef(TheTarget.getName()) == "sparcel"),
  110|  12.6k|          Is64Bit(StringRef(TheTarget.getName()) == "sparcv9") {}
SparcAsmBackend.cpp:_ZNK12_GLOBAL__N_118ELFSparcAsmBackend18createObjectWriterERN7llvm_ks17raw_pwrite_streamE:
  292|  12.6k|    MCObjectWriter *createObjectWriter(raw_pwrite_stream &OS) const override {
  293|  12.6k|      uint8_t OSABI = MCELFObjectTargetWriter::getOSABI(OSType);
  294|  12.6k|      return createSparcELFObjectWriter(OS, Is64Bit, IsLittleEndian, OSABI);
  295|  12.6k|    }
SparcAsmBackend.cpp:_ZNK12_GLOBAL__N_115SparcAsmBackend16getNumFixupKindsEv:
  112|  3.52k|    unsigned getNumFixupKinds() const override {
  113|  3.52k|      return Sparc::NumTargetFixupKinds;
  114|  3.52k|    }
SparcAsmBackend.cpp:_ZNK12_GLOBAL__N_115SparcAsmBackend16getFixupKindInfoEN7llvm_ks11MCFixupKindE:
  116|  27.1k|    const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override {
  117|  27.1k|      const static MCFixupKindInfo InfosBE[Sparc::NumTargetFixupKinds] = {
  118|       |        // name                    offset bits  flags
  119|  27.1k|        { "fixup_sparc_call30",     2,     30,  MCFixupKindInfo::FKF_IsPCRel },
  120|  27.1k|        { "fixup_sparc_br22",      10,     22,  MCFixupKindInfo::FKF_IsPCRel },
  121|  27.1k|        { "fixup_sparc_br19",      13,     19,  MCFixupKindInfo::FKF_IsPCRel },
  122|  27.1k|        { "fixup_sparc_br16_2",    10,      2,  MCFixupKindInfo::FKF_IsPCRel },
  123|  27.1k|        { "fixup_sparc_br16_14",   18,     14,  MCFixupKindInfo::FKF_IsPCRel },
  124|  27.1k|        { "fixup_sparc_hi22",      10,     22,  0 },
  125|  27.1k|        { "fixup_sparc_lo10",      22,     10,  0 },
  126|  27.1k|        { "fixup_sparc_h44",       10,     22,  0 },
  127|  27.1k|        { "fixup_sparc_m44",       22,     10,  0 },
  128|  27.1k|        { "fixup_sparc_l44",       20,     12,  0 },
  129|  27.1k|        { "fixup_sparc_hh",        10,     22,  0 },
  130|  27.1k|        { "fixup_sparc_hm",        22,     10,  0 },
  131|  27.1k|        { "fixup_sparc_pc22",      10,     22,  MCFixupKindInfo::FKF_IsPCRel },
  132|  27.1k|        { "fixup_sparc_pc10",      22,     10,  MCFixupKindInfo::FKF_IsPCRel },
  133|  27.1k|        { "fixup_sparc_got22",     10,     22,  0 },
  134|  27.1k|        { "fixup_sparc_got10",     22,     10,  0 },
  135|  27.1k|        { "fixup_sparc_wplt30",     2,     30,  MCFixupKindInfo::FKF_IsPCRel },
  136|  27.1k|        { "fixup_sparc_tls_gd_hi22",   10, 22,  0 },
  137|  27.1k|        { "fixup_sparc_tls_gd_lo10",   22, 10,  0 },
  138|  27.1k|        { "fixup_sparc_tls_gd_add",     0,  0,  0 },
  139|  27.1k|        { "fixup_sparc_tls_gd_call",    0,  0,  0 },
  140|  27.1k|        { "fixup_sparc_tls_ldm_hi22",  10, 22,  0 },
  141|  27.1k|        { "fixup_sparc_tls_ldm_lo10",  22, 10,  0 },
  142|  27.1k|        { "fixup_sparc_tls_ldm_add",    0,  0,  0 },
  143|  27.1k|        { "fixup_sparc_tls_ldm_call",   0,  0,  0 },
  144|  27.1k|        { "fixup_sparc_tls_ldo_hix22", 10, 22,  0 },
  145|  27.1k|        { "fixup_sparc_tls_ldo_lox10", 22, 10,  0 },
  146|  27.1k|        { "fixup_sparc_tls_ldo_add",    0,  0,  0 },
  147|  27.1k|        { "fixup_sparc_tls_ie_hi22",   10, 22,  0 },
  148|  27.1k|        { "fixup_sparc_tls_ie_lo10",   22, 10,  0 },
  149|  27.1k|        { "fixup_sparc_tls_ie_ld",      0,  0,  0 },
  150|  27.1k|        { "fixup_sparc_tls_ie_ldx",     0,  0,  0 },
  151|  27.1k|        { "fixup_sparc_tls_ie_add",     0,  0,  0 },
  152|  27.1k|        { "fixup_sparc_tls_le_hix22",   0,  0,  0 },
  153|  27.1k|        { "fixup_sparc_tls_le_lox10",   0,  0,  0 }
  154|  27.1k|      };
  155|       |
  156|  27.1k|      const static MCFixupKindInfo InfosLE[Sparc::NumTargetFixupKinds] = {
  157|       |        // name                    offset bits  flags
  158|  27.1k|        { "fixup_sparc_call30",     0,     30,  MCFixupKindInfo::FKF_IsPCRel },
  159|  27.1k|        { "fixup_sparc_br22",       0,     22,  MCFixupKindInfo::FKF_IsPCRel },
  160|  27.1k|        { "fixup_sparc_br19",       0,     19,  MCFixupKindInfo::FKF_IsPCRel },
  161|  27.1k|        { "fixup_sparc_br16_2",    20,      2,  MCFixupKindInfo::FKF_IsPCRel },
  162|  27.1k|        { "fixup_sparc_br16_14",    0,     14,  MCFixupKindInfo::FKF_IsPCRel },
  163|  27.1k|        { "fixup_sparc_hi22",       0,     22,  0 },
  164|  27.1k|        { "fixup_sparc_lo10",       0,     10,  0 },
  165|  27.1k|        { "fixup_sparc_h44",        0,     22,  0 },
  166|  27.1k|        { "fixup_sparc_m44",        0,     10,  0 },
  167|  27.1k|        { "fixup_sparc_l44",        0,     12,  0 },
  168|  27.1k|        { "fixup_sparc_hh",         0,     22,  0 },
  169|  27.1k|        { "fixup_sparc_hm",         0,     10,  0 },
  170|  27.1k|        { "fixup_sparc_pc22",       0,     22,  MCFixupKindInfo::FKF_IsPCRel },
  171|  27.1k|        { "fixup_sparc_pc10",       0,     10,  MCFixupKindInfo::FKF_IsPCRel },
  172|  27.1k|        { "fixup_sparc_got22",      0,     22,  0 },
  173|  27.1k|        { "fixup_sparc_got10",      0,     10,  0 },
  174|  27.1k|        { "fixup_sparc_wplt30",      0,     30,  MCFixupKindInfo::FKF_IsPCRel },
  175|  27.1k|        { "fixup_sparc_tls_gd_hi22",    0, 22,  0 },
  176|  27.1k|        { "fixup_sparc_tls_gd_lo10",    0, 10,  0 },
  177|  27.1k|        { "fixup_sparc_tls_gd_add",     0,  0,  0 },
  178|  27.1k|        { "fixup_sparc_tls_gd_call",    0,  0,  0 },
  179|  27.1k|        { "fixup_sparc_tls_ldm_hi22",   0, 22,  0 },
  180|  27.1k|        { "fixup_sparc_tls_ldm_lo10",   0, 10,  0 },
  181|  27.1k|        { "fixup_sparc_tls_ldm_add",    0,  0,  0 },
  182|  27.1k|        { "fixup_sparc_tls_ldm_call",   0,  0,  0 },
  183|  27.1k|        { "fixup_sparc_tls_ldo_hix22",  0, 22,  0 },
  184|  27.1k|        { "fixup_sparc_tls_ldo_lox10",  0, 10,  0 },
  185|  27.1k|        { "fixup_sparc_tls_ldo_add",    0,  0,  0 },
  186|  27.1k|        { "fixup_sparc_tls_ie_hi22",    0, 22,  0 },
  187|  27.1k|        { "fixup_sparc_tls_ie_lo10",    0, 10,  0 },
  188|  27.1k|        { "fixup_sparc_tls_ie_ld",      0,  0,  0 },
  189|  27.1k|        { "fixup_sparc_tls_ie_ldx",     0,  0,  0 },
  190|  27.1k|        { "fixup_sparc_tls_ie_add",     0,  0,  0 },
  191|  27.1k|        { "fixup_sparc_tls_le_hix22",   0,  0,  0 },
  192|  27.1k|        { "fixup_sparc_tls_le_lox10",   0,  0,  0 }
  193|  27.1k|      };
  194|       |
  195|  27.1k|      if (Kind < FirstTargetFixupKind)
  ------------------
  |  Branch (195:11): [True: 23.6k, False: 3.52k]
  ------------------
  196|  23.6k|        return MCAsmBackend::getFixupKindInfo(Kind);
  197|       |
  198|  27.1k|      assert(unsigned(Kind - FirstTargetFixupKind) < getNumFixupKinds() &&
  ------------------
  |  Branch (198:7): [True: 3.52k, False: 0]
  |  Branch (198:7): [True: 3.52k, Folded]
  |  Branch (198:7): [True: 3.52k, False: 0]
  ------------------
  199|  3.52k|             "Invalid kind!");
  200|  3.52k|      if (IsLittleEndian)
  ------------------
  |  Branch (200:11): [True: 3.52k, False: 0]
  ------------------
  201|  3.52k|        return InfosLE[Kind - FirstTargetFixupKind];
  202|       |
  203|      0|      return InfosBE[Kind - FirstTargetFixupKind];
  204|  3.52k|    }
SparcAsmBackend.cpp:_ZN12_GLOBAL__N_115SparcAsmBackend17processFixupValueERKN7llvm_ks11MCAssemblerERKNS1_11MCAsmLayoutERKNS1_7MCFixupEPKNS1_10MCFragmentERKNS1_7MCValueERmRb:
  209|  8.79k|                           bool &IsResolved) override {
  210|  8.79k|      switch ((Sparc::Fixups)Fixup.getKind()) {
  211|  8.79k|      default: break;
  ------------------
  |  Branch (211:7): [True: 8.79k, False: 0]
  ------------------
  212|  8.79k|      case Sparc::fixup_sparc_wplt30:
  ------------------
  |  Branch (212:7): [True: 0, False: 8.79k]
  ------------------
  213|      0|        if (Target.getSymA()->getSymbol().isTemporary())
  ------------------
  |  Branch (213:13): [True: 0, False: 0]
  ------------------
  214|      0|          return;
  215|      0|      case Sparc::fixup_sparc_tls_gd_hi22:
  ------------------
  |  Branch (215:7): [True: 0, False: 8.79k]
  ------------------
  216|      0|      case Sparc::fixup_sparc_tls_gd_lo10:
  ------------------
  |  Branch (216:7): [True: 0, False: 8.79k]
  ------------------
  217|      0|      case Sparc::fixup_sparc_tls_gd_add:
  ------------------
  |  Branch (217:7): [True: 0, False: 8.79k]
  ------------------
  218|      0|      case Sparc::fixup_sparc_tls_gd_call:
  ------------------
  |  Branch (218:7): [True: 0, False: 8.79k]
  ------------------
  219|      0|      case Sparc::fixup_sparc_tls_ldm_hi22:
  ------------------
  |  Branch (219:7): [True: 0, False: 8.79k]
  ------------------
  220|      0|      case Sparc::fixup_sparc_tls_ldm_lo10:
  ------------------
  |  Branch (220:7): [True: 0, False: 8.79k]
  ------------------
  221|      0|      case Sparc::fixup_sparc_tls_ldm_add:
  ------------------
  |  Branch (221:7): [True: 0, False: 8.79k]
  ------------------
  222|      0|      case Sparc::fixup_sparc_tls_ldm_call:
  ------------------
  |  Branch (222:7): [True: 0, False: 8.79k]
  ------------------
  223|      0|      case Sparc::fixup_sparc_tls_ldo_hix22:
  ------------------
  |  Branch (223:7): [True: 0, False: 8.79k]
  ------------------
  224|      0|      case Sparc::fixup_sparc_tls_ldo_lox10:
  ------------------
  |  Branch (224:7): [True: 0, False: 8.79k]
  ------------------
  225|      0|      case Sparc::fixup_sparc_tls_ldo_add:
  ------------------
  |  Branch (225:7): [True: 0, False: 8.79k]
  ------------------
  226|      0|      case Sparc::fixup_sparc_tls_ie_hi22:
  ------------------
  |  Branch (226:7): [True: 0, False: 8.79k]
  ------------------
  227|      0|      case Sparc::fixup_sparc_tls_ie_lo10:
  ------------------
  |  Branch (227:7): [True: 0, False: 8.79k]
  ------------------
  228|      0|      case Sparc::fixup_sparc_tls_ie_ld:
  ------------------
  |  Branch (228:7): [True: 0, False: 8.79k]
  ------------------
  229|      0|      case Sparc::fixup_sparc_tls_ie_ldx:
  ------------------
  |  Branch (229:7): [True: 0, False: 8.79k]
  ------------------
  230|      0|      case Sparc::fixup_sparc_tls_ie_add:
  ------------------
  |  Branch (230:7): [True: 0, False: 8.79k]
  ------------------
  231|      0|      case Sparc::fixup_sparc_tls_le_hix22:
  ------------------
  |  Branch (231:7): [True: 0, False: 8.79k]
  ------------------
  232|      0|      case Sparc::fixup_sparc_tls_le_lox10:  IsResolved = false; break;
  ------------------
  |  Branch (232:7): [True: 0, False: 8.79k]
  ------------------
  233|  8.79k|      }
  234|  8.79k|    }
SparcAsmBackend.cpp:_ZNK12_GLOBAL__N_118ELFSparcAsmBackend10applyFixupERKN7llvm_ks7MCFixupEPcjmbRj:
  276|  8.78k|                    uint64_t Value, bool IsPCRel, unsigned int &KsError) const override {
  277|       |
  278|  8.78k|      Value = adjustFixupValue(Fixup.getKind(), Value);
  279|  8.78k|      if (!Value) return;           // Doesn't change encoding.
  ------------------
  |  Branch (279:11): [True: 1.90k, False: 6.88k]
  ------------------
  280|       |
  281|  6.88k|      unsigned Offset = Fixup.getOffset();
  282|       |
  283|       |      // For each byte of the fragment that the fixup touches, mask in the bits
  284|       |      // from the fixup value. The Value has been "split up" into the
  285|       |      // appropriate bitfields above.
  286|  34.4k|      for (unsigned i = 0; i != 4; ++i) {
  ------------------
  |  Branch (286:28): [True: 27.5k, False: 6.88k]
  ------------------
  287|  27.5k|        unsigned Idx = IsLittleEndian ? i : 3 - i;
  ------------------
  |  Branch (287:24): [True: 27.5k, False: 0]
  ------------------
  288|  27.5k|        Data[Offset + Idx] |= uint8_t((Value >> (i * 8)) & 0xff);
  289|  27.5k|      }
  290|  6.88k|    }
SparcAsmBackend.cpp:_ZL16adjustFixupValuejm:
   22|  8.78k|static unsigned adjustFixupValue(unsigned Kind, uint64_t Value) {
   23|  8.78k|  switch (Kind) {
   24|      0|  default:
  ------------------
  |  Branch (24:3): [True: 0, False: 8.78k]
  ------------------
   25|      0|    llvm_unreachable("Unknown fixup kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
   26|     38|  case FK_Data_1:
  ------------------
  |  Branch (26:3): [True: 38, False: 8.75k]
  ------------------
   27|     73|  case FK_Data_2:
  ------------------
  |  Branch (27:3): [True: 35, False: 8.75k]
  ------------------
   28|  7.66k|  case FK_Data_4:
  ------------------
  |  Branch (28:3): [True: 7.58k, False: 1.20k]
  ------------------
   29|  7.71k|  case FK_Data_8:
  ------------------
  |  Branch (29:3): [True: 54, False: 8.73k]
  ------------------
   30|  7.71k|    return Value;
   31|       |
   32|      0|  case Sparc::fixup_sparc_wplt30:
  ------------------
  |  Branch (32:3): [True: 0, False: 8.78k]
  ------------------
   33|      1|  case Sparc::fixup_sparc_call30:
  ------------------
  |  Branch (33:3): [True: 1, False: 8.78k]
  ------------------
   34|      1|    return (Value >> 2) & 0x3fffffff;
   35|       |
   36|  1.07k|  case Sparc::fixup_sparc_br22:
  ------------------
  |  Branch (36:3): [True: 1.07k, False: 7.71k]
  ------------------
   37|  1.07k|    return (Value >> 2) & 0x3fffff;
   38|       |
   39|      0|  case Sparc::fixup_sparc_br19:
  ------------------
  |  Branch (39:3): [True: 0, False: 8.78k]
  ------------------
   40|      0|    return (Value >> 2) & 0x7ffff;
   41|       |
   42|      0|  case Sparc::fixup_sparc_br16_2:
  ------------------
  |  Branch (42:3): [True: 0, False: 8.78k]
  ------------------
   43|      0|    return (Value >> 2) & 0xc000;
   44|       |
   45|      0|  case Sparc::fixup_sparc_br16_14:
  ------------------
  |  Branch (45:3): [True: 0, False: 8.78k]
  ------------------
   46|      0|    return (Value >> 2) & 0x3fff;
   47|       |
   48|      0|  case Sparc::fixup_sparc_pc22:
  ------------------
  |  Branch (48:3): [True: 0, False: 8.78k]
  ------------------
   49|      0|  case Sparc::fixup_sparc_got22:
  ------------------
  |  Branch (49:3): [True: 0, False: 8.78k]
  ------------------
   50|      0|  case Sparc::fixup_sparc_tls_gd_hi22:
  ------------------
  |  Branch (50:3): [True: 0, False: 8.78k]
  ------------------
   51|      0|  case Sparc::fixup_sparc_tls_ldm_hi22:
  ------------------
  |  Branch (51:3): [True: 0, False: 8.78k]
  ------------------
   52|      0|  case Sparc::fixup_sparc_tls_ie_hi22:
  ------------------
  |  Branch (52:3): [True: 0, False: 8.78k]
  ------------------
   53|      0|  case Sparc::fixup_sparc_hi22:
  ------------------
  |  Branch (53:3): [True: 0, False: 8.78k]
  ------------------
   54|      0|    return (Value >> 10) & 0x3fffff;
   55|       |
   56|      0|  case Sparc::fixup_sparc_pc10:
  ------------------
  |  Branch (56:3): [True: 0, False: 8.78k]
  ------------------
   57|      0|  case Sparc::fixup_sparc_got10:
  ------------------
  |  Branch (57:3): [True: 0, False: 8.78k]
  ------------------
   58|      0|  case Sparc::fixup_sparc_tls_gd_lo10:
  ------------------
  |  Branch (58:3): [True: 0, False: 8.78k]
  ------------------
   59|      0|  case Sparc::fixup_sparc_tls_ldm_lo10:
  ------------------
  |  Branch (59:3): [True: 0, False: 8.78k]
  ------------------
   60|      0|  case Sparc::fixup_sparc_tls_ie_lo10:
  ------------------
  |  Branch (60:3): [True: 0, False: 8.78k]
  ------------------
   61|      0|  case Sparc::fixup_sparc_lo10:
  ------------------
  |  Branch (61:3): [True: 0, False: 8.78k]
  ------------------
   62|      0|    return Value & 0x3ff;
   63|       |
   64|      0|  case Sparc::fixup_sparc_tls_ldo_hix22:
  ------------------
  |  Branch (64:3): [True: 0, False: 8.78k]
  ------------------
   65|      0|  case Sparc::fixup_sparc_tls_le_hix22:
  ------------------
  |  Branch (65:3): [True: 0, False: 8.78k]
  ------------------
   66|      0|    return (~Value >> 10) & 0x3fffff;
   67|       |
   68|      0|  case Sparc::fixup_sparc_tls_ldo_lox10:
  ------------------
  |  Branch (68:3): [True: 0, False: 8.78k]
  ------------------
   69|      0|  case Sparc::fixup_sparc_tls_le_lox10:
  ------------------
  |  Branch (69:3): [True: 0, False: 8.78k]
  ------------------
   70|      0|    return (~(~Value & 0x3ff)) & 0x1fff;
   71|       |
   72|      0|  case Sparc::fixup_sparc_h44:
  ------------------
  |  Branch (72:3): [True: 0, False: 8.78k]
  ------------------
   73|      0|    return (Value >> 22) & 0x3fffff;
   74|       |
   75|      0|  case Sparc::fixup_sparc_m44:
  ------------------
  |  Branch (75:3): [True: 0, False: 8.78k]
  ------------------
   76|      0|    return (Value >> 12) & 0x3ff;
   77|       |
   78|      0|  case Sparc::fixup_sparc_l44:
  ------------------
  |  Branch (78:3): [True: 0, False: 8.78k]
  ------------------
   79|      0|    return Value & 0xfff;
   80|       |
   81|      0|  case Sparc::fixup_sparc_hh:
  ------------------
  |  Branch (81:3): [True: 0, False: 8.78k]
  ------------------
   82|      0|    return (Value >> 42) & 0x3fffff;
   83|       |
   84|      1|  case Sparc::fixup_sparc_hm:
  ------------------
  |  Branch (84:3): [True: 1, False: 8.78k]
  ------------------
   85|      1|    return (Value >> 32) & 0x3ff;
   86|       |
   87|      0|  case Sparc::fixup_sparc_tls_gd_add:
  ------------------
  |  Branch (87:3): [True: 0, False: 8.78k]
  ------------------
   88|      0|  case Sparc::fixup_sparc_tls_gd_call:
  ------------------
  |  Branch (88:3): [True: 0, False: 8.78k]
  ------------------
   89|      0|  case Sparc::fixup_sparc_tls_ldm_add:
  ------------------
  |  Branch (89:3): [True: 0, False: 8.78k]
  ------------------
   90|      0|  case Sparc::fixup_sparc_tls_ldm_call:
  ------------------
  |  Branch (90:3): [True: 0, False: 8.78k]
  ------------------
   91|      0|  case Sparc::fixup_sparc_tls_ldo_add:
  ------------------
  |  Branch (91:3): [True: 0, False: 8.78k]
  ------------------
   92|      0|  case Sparc::fixup_sparc_tls_ie_ld:
  ------------------
  |  Branch (92:3): [True: 0, False: 8.78k]
  ------------------
   93|      0|  case Sparc::fixup_sparc_tls_ie_ldx:
  ------------------
  |  Branch (93:3): [True: 0, False: 8.78k]
  ------------------
   94|      0|  case Sparc::fixup_sparc_tls_ie_add:
  ------------------
  |  Branch (94:3): [True: 0, False: 8.78k]
  ------------------
   95|      0|    return 0;
   96|  8.78k|  }
   97|  8.78k|}
SparcAsmBackend.cpp:_ZNK12_GLOBAL__N_115SparcAsmBackend17mayNeedRelaxationERKN7llvm_ks6MCInstE:
  236|  3.39k|    bool mayNeedRelaxation(const MCInst &Inst) const override {
  237|       |      // FIXME.
  238|  3.39k|      return false;
  239|  3.39k|    }
SparcAsmBackend.cpp:_ZNK12_GLOBAL__N_115SparcAsmBackend12writeNopDataEmPN7llvm_ks14MCObjectWriterE:
  256|  1.85k|    bool writeNopData(uint64_t Count, MCObjectWriter *OW) const override {
  257|       |      // Cannot emit NOP with size not multiple of 32 bits.
  258|  1.85k|      if (Count % 4 != 0)
  ------------------
  |  Branch (258:11): [True: 0, False: 1.85k]
  ------------------
  259|      0|        return false;
  260|       |
  261|  1.85k|      uint64_t NumNops = Count / 4;
  262|  2.25k|      for (uint64_t i = 0; i != NumNops; ++i)
  ------------------
  |  Branch (262:28): [True: 397, False: 1.85k]
  ------------------
  263|    397|        OW->write32(0x01000000);
  264|       |
  265|  1.85k|      return true;
  266|  1.85k|    }

_ZN7llvm_ks26createSparcELFObjectWriterERNS_17raw_pwrite_streamEbbh:
  137|  12.6k|                                                 uint8_t OSABI) {
  138|  12.6k|  MCELFObjectTargetWriter *MOTW = new SparcELFObjectWriter(Is64Bit, OSABI);
  139|  12.6k|  return createELFObjectWriter(MOTW, OS, IsLittleEndian);
  140|  12.6k|}
SparcELFObjectWriter.cpp:_ZN12_GLOBAL__N_120SparcELFObjectWriterC2Ebh:
   25|  12.6k|      : MCELFObjectTargetWriter(Is64Bit, OSABI,
   26|  12.6k|                                Is64Bit ?  ELF::EM_SPARCV9 : ELF::EM_SPARC,
  ------------------
  |  Branch (26:33): [True: 0, False: 12.6k]
  ------------------
   27|  12.6k|                                /*HasRelocationAddend*/ true) {}
SparcELFObjectWriter.cpp:_ZNK12_GLOBAL__N_120SparcELFObjectWriter12getRelocTypeERN7llvm_ks9MCContextERKNS1_7MCValueERKNS1_7MCFixupEb:
   44|  4.90k|                                            bool IsPCRel) const {
   45|       |
   46|  4.90k|  if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Fixup.getValue())) {
  ------------------
  |  Branch (46:26): [True: 2, False: 4.90k]
  ------------------
   47|      2|    if (SExpr->getKind() == SparcMCExpr::VK_Sparc_R_DISP32)
  ------------------
  |  Branch (47:9): [True: 0, False: 2]
  ------------------
   48|      0|      return ELF::R_SPARC_DISP32;
   49|      2|  }
   50|       |
   51|  4.90k|  if (IsPCRel) {
  ------------------
  |  Branch (51:7): [True: 833, False: 4.07k]
  ------------------
   52|    833|    switch((unsigned)Fixup.getKind()) {
   53|      0|    default:
  ------------------
  |  Branch (53:5): [True: 0, False: 833]
  ------------------
   54|      0|      llvm_unreachable("Unimplemented fixup -> relocation");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
   55|     14|    case FK_Data_1:                  return ELF::R_SPARC_DISP8;
  ------------------
  |  Branch (55:5): [True: 14, False: 819]
  ------------------
   56|     12|    case FK_Data_2:                  return ELF::R_SPARC_DISP16;
  ------------------
  |  Branch (56:5): [True: 12, False: 821]
  ------------------
   57|    712|    case FK_Data_4:                  return ELF::R_SPARC_DISP32;
  ------------------
  |  Branch (57:5): [True: 712, False: 121]
  ------------------
   58|      6|    case FK_Data_8:                  return ELF::R_SPARC_DISP64;
  ------------------
  |  Branch (58:5): [True: 6, False: 827]
  ------------------
   59|      0|    case Sparc::fixup_sparc_call30:  return ELF::R_SPARC_WDISP30;
  ------------------
  |  Branch (59:5): [True: 0, False: 833]
  ------------------
   60|     89|    case Sparc::fixup_sparc_br22:    return ELF::R_SPARC_WDISP22;
  ------------------
  |  Branch (60:5): [True: 89, False: 744]
  ------------------
   61|      0|    case Sparc::fixup_sparc_br19:    return ELF::R_SPARC_WDISP19;
  ------------------
  |  Branch (61:5): [True: 0, False: 833]
  ------------------
   62|      0|    case Sparc::fixup_sparc_pc22:    return ELF::R_SPARC_PC22;
  ------------------
  |  Branch (62:5): [True: 0, False: 833]
  ------------------
   63|      0|    case Sparc::fixup_sparc_pc10:    return ELF::R_SPARC_PC10;
  ------------------
  |  Branch (63:5): [True: 0, False: 833]
  ------------------
   64|      0|    case Sparc::fixup_sparc_wplt30:  return ELF::R_SPARC_WPLT30;
  ------------------
  |  Branch (64:5): [True: 0, False: 833]
  ------------------
   65|    833|    }
   66|    833|  }
   67|       |
   68|  4.07k|  switch((unsigned)Fixup.getKind()) {
   69|      0|  default:
  ------------------
  |  Branch (69:3): [True: 0, False: 4.07k]
  ------------------
   70|      0|    llvm_unreachable("Unimplemented fixup -> relocation");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
   71|     23|  case FK_Data_1:                return ELF::R_SPARC_8;
  ------------------
  |  Branch (71:3): [True: 23, False: 4.05k]
  ------------------
   72|     21|  case FK_Data_2:                return ((Fixup.getOffset() % 2)
  ------------------
  |  Branch (72:3): [True: 21, False: 4.05k]
  |  Branch (72:42): [True: 0, False: 21]
  ------------------
   73|     21|                                         ? ELF::R_SPARC_UA16
   74|     21|                                         : ELF::R_SPARC_16);
   75|  3.98k|  case FK_Data_4:                return ((Fixup.getOffset() % 4)
  ------------------
  |  Branch (75:3): [True: 3.98k, False: 92]
  |  Branch (75:42): [True: 0, False: 3.98k]
  ------------------
   76|  3.98k|                                         ? ELF::R_SPARC_UA32
   77|  3.98k|                                         : ELF::R_SPARC_32);
   78|     48|  case FK_Data_8:                return ((Fixup.getOffset() % 8)
  ------------------
  |  Branch (78:3): [True: 48, False: 4.02k]
  |  Branch (78:42): [True: 0, False: 48]
  ------------------
   79|     48|                                         ? ELF::R_SPARC_UA64
   80|     48|                                         : ELF::R_SPARC_64);
   81|      0|  case Sparc::fixup_sparc_hi22:  return ELF::R_SPARC_HI22;
  ------------------
  |  Branch (81:3): [True: 0, False: 4.07k]
  ------------------
   82|      0|  case Sparc::fixup_sparc_lo10:  return ELF::R_SPARC_LO10;
  ------------------
  |  Branch (82:3): [True: 0, False: 4.07k]
  ------------------
   83|      0|  case Sparc::fixup_sparc_h44:   return ELF::R_SPARC_H44;
  ------------------
  |  Branch (83:3): [True: 0, False: 4.07k]
  ------------------
   84|      0|  case Sparc::fixup_sparc_m44:   return ELF::R_SPARC_M44;
  ------------------
  |  Branch (84:3): [True: 0, False: 4.07k]
  ------------------
   85|      0|  case Sparc::fixup_sparc_l44:   return ELF::R_SPARC_L44;
  ------------------
  |  Branch (85:3): [True: 0, False: 4.07k]
  ------------------
   86|      0|  case Sparc::fixup_sparc_hh:    return ELF::R_SPARC_HH22;
  ------------------
  |  Branch (86:3): [True: 0, False: 4.07k]
  ------------------
   87|      0|  case Sparc::fixup_sparc_hm:    return ELF::R_SPARC_HM10;
  ------------------
  |  Branch (87:3): [True: 0, False: 4.07k]
  ------------------
   88|      0|  case Sparc::fixup_sparc_got22: return ELF::R_SPARC_GOT22;
  ------------------
  |  Branch (88:3): [True: 0, False: 4.07k]
  ------------------
   89|      0|  case Sparc::fixup_sparc_got10: return ELF::R_SPARC_GOT10;
  ------------------
  |  Branch (89:3): [True: 0, False: 4.07k]
  ------------------
   90|      0|  case Sparc::fixup_sparc_tls_gd_hi22:   return ELF::R_SPARC_TLS_GD_HI22;
  ------------------
  |  Branch (90:3): [True: 0, False: 4.07k]
  ------------------
   91|      0|  case Sparc::fixup_sparc_tls_gd_lo10:   return ELF::R_SPARC_TLS_GD_LO10;
  ------------------
  |  Branch (91:3): [True: 0, False: 4.07k]
  ------------------
   92|      0|  case Sparc::fixup_sparc_tls_gd_add:    return ELF::R_SPARC_TLS_GD_ADD;
  ------------------
  |  Branch (92:3): [True: 0, False: 4.07k]
  ------------------
   93|      0|  case Sparc::fixup_sparc_tls_gd_call:   return ELF::R_SPARC_TLS_GD_CALL;
  ------------------
  |  Branch (93:3): [True: 0, False: 4.07k]
  ------------------
   94|      0|  case Sparc::fixup_sparc_tls_ldm_hi22:  return ELF::R_SPARC_TLS_LDM_HI22;
  ------------------
  |  Branch (94:3): [True: 0, False: 4.07k]
  ------------------
   95|      0|  case Sparc::fixup_sparc_tls_ldm_lo10:  return ELF::R_SPARC_TLS_LDM_LO10;
  ------------------
  |  Branch (95:3): [True: 0, False: 4.07k]
  ------------------
   96|      0|  case Sparc::fixup_sparc_tls_ldm_add:   return ELF::R_SPARC_TLS_LDM_ADD;
  ------------------
  |  Branch (96:3): [True: 0, False: 4.07k]
  ------------------
   97|      0|  case Sparc::fixup_sparc_tls_ldm_call:  return ELF::R_SPARC_TLS_LDM_CALL;
  ------------------
  |  Branch (97:3): [True: 0, False: 4.07k]
  ------------------
   98|      0|  case Sparc::fixup_sparc_tls_ldo_hix22: return ELF::R_SPARC_TLS_LDO_HIX22;
  ------------------
  |  Branch (98:3): [True: 0, False: 4.07k]
  ------------------
   99|      0|  case Sparc::fixup_sparc_tls_ldo_lox10: return ELF::R_SPARC_TLS_LDO_LOX10;
  ------------------
  |  Branch (99:3): [True: 0, False: 4.07k]
  ------------------
  100|      0|  case Sparc::fixup_sparc_tls_ldo_add:   return ELF::R_SPARC_TLS_LDO_ADD;
  ------------------
  |  Branch (100:3): [True: 0, False: 4.07k]
  ------------------
  101|      0|  case Sparc::fixup_sparc_tls_ie_hi22:   return ELF::R_SPARC_TLS_IE_HI22;
  ------------------
  |  Branch (101:3): [True: 0, False: 4.07k]
  ------------------
  102|      0|  case Sparc::fixup_sparc_tls_ie_lo10:   return ELF::R_SPARC_TLS_IE_LO10;
  ------------------
  |  Branch (102:3): [True: 0, False: 4.07k]
  ------------------
  103|      0|  case Sparc::fixup_sparc_tls_ie_ld:     return ELF::R_SPARC_TLS_IE_LD;
  ------------------
  |  Branch (103:3): [True: 0, False: 4.07k]
  ------------------
  104|      0|  case Sparc::fixup_sparc_tls_ie_ldx:    return ELF::R_SPARC_TLS_IE_LDX;
  ------------------
  |  Branch (104:3): [True: 0, False: 4.07k]
  ------------------
  105|      0|  case Sparc::fixup_sparc_tls_ie_add:    return ELF::R_SPARC_TLS_IE_ADD;
  ------------------
  |  Branch (105:3): [True: 0, False: 4.07k]
  ------------------
  106|      0|  case Sparc::fixup_sparc_tls_le_hix22:  return ELF::R_SPARC_TLS_LE_HIX22;
  ------------------
  |  Branch (106:3): [True: 0, False: 4.07k]
  ------------------
  107|      0|  case Sparc::fixup_sparc_tls_le_lox10:  return ELF::R_SPARC_TLS_LE_LOX10;
  ------------------
  |  Branch (107:3): [True: 0, False: 4.07k]
  ------------------
  108|  4.07k|  }
  109|       |
  110|      0|  return ELF::R_SPARC_NONE;
  111|  4.07k|}
SparcELFObjectWriter.cpp:_ZNK12_GLOBAL__N_120SparcELFObjectWriter23needsRelocateWithSymbolERKN7llvm_ks8MCSymbolEj:
  114|  4.06k|                                                 unsigned Type) const {
  115|  4.06k|  switch (Type) {
  116|  4.06k|    default:
  ------------------
  |  Branch (116:5): [True: 4.06k, False: 0]
  ------------------
  117|  4.06k|      return false;
  118|       |
  119|       |    // All relocations that use a GOT need a symbol, not an offset, as
  120|       |    // the offset of the symbol within the section is irrelevant to
  121|       |    // where the GOT entry is. Don't need to list all the TLS entries,
  122|       |    // as they're all marked as requiring a symbol anyways.
  123|      0|    case ELF::R_SPARC_GOT10:
  ------------------
  |  Branch (123:5): [True: 0, False: 4.06k]
  ------------------
  124|      0|    case ELF::R_SPARC_GOT13:
  ------------------
  |  Branch (124:5): [True: 0, False: 4.06k]
  ------------------
  125|      0|    case ELF::R_SPARC_GOT22:
  ------------------
  |  Branch (125:5): [True: 0, False: 4.06k]
  ------------------
  126|      0|    case ELF::R_SPARC_GOTDATA_HIX22:
  ------------------
  |  Branch (126:5): [True: 0, False: 4.06k]
  ------------------
  127|      0|    case ELF::R_SPARC_GOTDATA_LOX10:
  ------------------
  |  Branch (127:5): [True: 0, False: 4.06k]
  ------------------
  128|      0|    case ELF::R_SPARC_GOTDATA_OP_HIX22:
  ------------------
  |  Branch (128:5): [True: 0, False: 4.06k]
  ------------------
  129|      0|    case ELF::R_SPARC_GOTDATA_OP_LOX10:
  ------------------
  |  Branch (129:5): [True: 0, False: 4.06k]
  ------------------
  130|      0|      return true;
  131|  4.06k|  }
  132|  4.06k|}

_ZN7llvm_ks17SparcELFMCAsmInfoC2ERKNS_6TripleE:
   21|  12.6k|SparcELFMCAsmInfo::SparcELFMCAsmInfo(const Triple &TheTriple) {
   22|  12.6k|  bool isV9 = (TheTriple.getArch() == Triple::sparcv9);
   23|  12.6k|  IsLittleEndian = (TheTriple.getArch() == Triple::sparcel);
   24|       |
   25|  12.6k|  if (isV9) {
  ------------------
  |  Branch (25:7): [True: 0, False: 12.6k]
  ------------------
   26|      0|    PointerSize = CalleeSaveStackSlotSize = 8;
   27|      0|  }
   28|       |
   29|  12.6k|  Data16bitsDirective = "\t.half\t";
   30|  12.6k|  Data32bitsDirective = "\t.word\t";
   31|       |  // .xword is only supported by V9.
   32|  12.6k|  Data64bitsDirective = (isV9) ? "\t.xword\t" : nullptr;
  ------------------
  |  Branch (32:25): [True: 0, False: 12.6k]
  ------------------
   33|  12.6k|  ZeroDirective = "\t.skip\t";
   34|  12.6k|  CommentString = "!";
   35|  12.6k|  SupportsDebugInformation = true;
   36|       |
   37|  12.6k|  ExceptionsType = ExceptionHandling::DwarfCFI;
   38|       |
   39|  12.6k|  SunStyleELFSectionSwitchSyntax = true;
   40|  12.6k|  UsesELFSectionDirectiveForBSS = true;
   41|       |
   42|  12.6k|  UseIntegratedAssembler = true;
   43|  12.6k|}

_ZN7llvm_ks24createSparcMCCodeEmitterERKNS_11MCInstrInfoERKNS_14MCRegisterInfoERNS_9MCContextE:
   78|  12.6k|                                              MCContext &Ctx) {
   79|  12.6k|  return new SparcMCCodeEmitter(Ctx);
   80|  12.6k|}
SparcMCCodeEmitter.cpp:_ZN12_GLOBAL__N_118SparcMCCodeEmitterC2ERN7llvm_ks9MCContextE:
   39|  12.6k|  SparcMCCodeEmitter(MCContext &ctx): Ctx(ctx) {}
SparcMCCodeEmitter.cpp:_ZNK12_GLOBAL__N_118SparcMCCodeEmitter17encodeInstructionERN7llvm_ks6MCInstERNS1_11raw_ostreamERNS1_15SmallVectorImplINS1_7MCFixupEEERKNS1_15MCSubtargetInfoERj:
   86|  3.39k|{
   87|  3.39k|  unsigned Bits = getBinaryCodeForInstr(MI, Fixups, STI);
   88|       |
   89|  3.39k|  KsError = 0;
   90|       |
   91|  3.39k|  if (Ctx.getAsmInfo()->isLittleEndian()) {
  ------------------
  |  Branch (91:7): [True: 3.39k, False: 0]
  ------------------
   92|       |    // Output the bits in little-endian byte order.
   93|  3.39k|    support::endian::Writer<support::little>(OS).write<uint32_t>(Bits);
   94|  3.39k|  } else {
   95|       |    // Output the bits in big-endian byte order.
   96|      0|    support::endian::Writer<support::big>(OS).write<uint32_t>(Bits);
   97|      0|  }
   98|  3.39k|  unsigned tlsOpNo = 0;
   99|  3.39k|  switch (MI.getOpcode()) {
  100|  3.39k|  default: break;
  ------------------
  |  Branch (100:3): [True: 3.39k, False: 0]
  ------------------
  101|  3.39k|  case SP::TLS_CALL:   tlsOpNo = 1; break;
  ------------------
  |  Branch (101:3): [True: 0, False: 3.39k]
  ------------------
  102|      0|  case SP::TLS_ADDrr:
  ------------------
  |  Branch (102:3): [True: 0, False: 3.39k]
  ------------------
  103|      0|  case SP::TLS_ADDXrr:
  ------------------
  |  Branch (103:3): [True: 0, False: 3.39k]
  ------------------
  104|      0|  case SP::TLS_LDrr:
  ------------------
  |  Branch (104:3): [True: 0, False: 3.39k]
  ------------------
  105|      0|  case SP::TLS_LDXrr:  tlsOpNo = 3; break;
  ------------------
  |  Branch (105:3): [True: 0, False: 3.39k]
  ------------------
  106|  3.39k|  }
  107|  3.39k|  if (tlsOpNo != 0) {
  ------------------
  |  Branch (107:7): [True: 0, False: 3.39k]
  ------------------
  108|      0|    const MCOperand &MO = MI.getOperand(tlsOpNo);
  109|      0|    uint64_t op = getMachineOpValue(MI, MO, Fixups, STI);
  110|      0|    assert(op == 0 && "Unexpected operand value!");
  ------------------
  |  Branch (110:5): [True: 0, False: 0]
  |  Branch (110:5): [True: 0, Folded]
  |  Branch (110:5): [True: 0, False: 0]
  ------------------
  111|      0|    (void)op; // suppress warning.
  112|      0|  }
  113|       |
  114|       |  // Keystone: update Inst.Address to point to the next instruction
  115|  3.39k|  MI.setAddress(MI.getAddress() + 4);
  116|  3.39k|}
SparcMCCodeEmitter.cpp:_ZNK12_GLOBAL__N_118SparcMCCodeEmitter26getBranchPredTargetOpValueERKN7llvm_ks6MCInstEjRNS1_15SmallVectorImplINS1_7MCFixupEEERKNS1_15MCSubtargetInfoE:
  205|      2|                           const MCSubtargetInfo &STI) const {
  206|      2|  const MCOperand &MO = MI.getOperand(OpNo);
  207|      2|  if (MO.isReg() || MO.isImm())
  ------------------
  |  Branch (207:7): [True: 0, False: 2]
  |  Branch (207:21): [True: 1, False: 1]
  ------------------
  208|      1|    return getMachineOpValue(MI, MO, Fixups, STI);
  209|       |
  210|      1|  Fixups.push_back(MCFixup::create(0, MO.getExpr(),
  211|      1|                                   (MCFixupKind)Sparc::fixup_sparc_br19));
  212|      1|  return 0;
  213|      2|}
SparcMCCodeEmitter.cpp:_ZNK12_GLOBAL__N_118SparcMCCodeEmitter20getCallTargetOpValueERKN7llvm_ks6MCInstEjRNS1_15SmallVectorImplINS1_7MCFixupEEERKNS1_15MCSubtargetInfoE:
  149|     36|                     const MCSubtargetInfo &STI) const {
  150|     36|  const MCOperand &MO = MI.getOperand(OpNo);
  151|       |
  152|     36|  if (MO.isImm())
  ------------------
  |  Branch (152:7): [True: 1, False: 35]
  ------------------
  153|      1|      return MO.getImm() - MI.getAddress();
  154|       |
  155|     35|  if (MO.isReg())
  ------------------
  |  Branch (155:7): [True: 0, False: 35]
  ------------------
  156|      0|    return getMachineOpValue(MI, MO, Fixups, STI);
  157|       |
  158|     35|  if (MI.getOpcode() == SP::TLS_CALL) {
  ------------------
  |  Branch (158:7): [True: 0, False: 35]
  ------------------
  159|       |    // No fixups for __tls_get_addr. Will emit for fixups for tls_symbol in
  160|       |    // encodeInstruction.
  161|      0|#ifndef NDEBUG
  162|       |    // Verify that the callee is actually __tls_get_addr.
  163|      0|    const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(MO.getExpr());
  164|      0|    assert(SExpr && SExpr->getSubExpr()->getKind() == MCExpr::SymbolRef &&
  ------------------
  |  Branch (164:5): [True: 0, False: 0]
  |  Branch (164:5): [True: 0, False: 0]
  |  Branch (164:5): [True: 0, Folded]
  |  Branch (164:5): [True: 0, False: 0]
  ------------------
  165|      0|           "Unexpected expression in TLS_CALL");
  166|      0|    const MCSymbolRefExpr *SymExpr = cast<MCSymbolRefExpr>(SExpr->getSubExpr());
  167|      0|    assert(SymExpr->getSymbol().getName() == "__tls_get_addr" &&
  ------------------
  |  Branch (167:5): [True: 0, False: 0]
  |  Branch (167:5): [True: 0, Folded]
  |  Branch (167:5): [True: 0, False: 0]
  ------------------
  168|      0|           "Unexpected function for TLS_CALL");
  169|      0|#endif
  170|      0|    return 0;
  171|      0|  }
  172|       |
  173|     35|  MCFixupKind fixupKind = (MCFixupKind)Sparc::fixup_sparc_call30;
  174|       |
  175|     35|  if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(MO.getExpr())) {
  ------------------
  |  Branch (175:26): [True: 0, False: 35]
  ------------------
  176|      0|    if (SExpr->getKind() == SparcMCExpr::VK_Sparc_WPLT30)
  ------------------
  |  Branch (176:9): [True: 0, False: 0]
  ------------------
  177|      0|      fixupKind = (MCFixupKind)Sparc::fixup_sparc_wplt30;
  178|      0|  }
  179|       |
  180|     35|  Fixups.push_back(MCFixup::create(0, MO.getExpr(), fixupKind));
  181|       |
  182|     35|  return 0;
  183|     35|}
SparcMCCodeEmitter.cpp:_ZNK12_GLOBAL__N_118SparcMCCodeEmitter22getBranchTargetOpValueERKN7llvm_ks6MCInstEjRNS1_15SmallVectorImplINS1_7MCFixupEEERKNS1_15MCSubtargetInfoE:
  188|  2.23k|                  const MCSubtargetInfo &STI) const {
  189|  2.23k|  const MCOperand &MO = MI.getOperand(OpNo);
  190|       |
  191|  2.23k|  if (MO.isImm())
  ------------------
  |  Branch (191:7): [True: 137, False: 2.10k]
  ------------------
  192|    137|      return (MO.getImm() - MI.getAddress()) / 4;
  193|       |
  194|  2.10k|  if (MO.isReg())
  ------------------
  |  Branch (194:7): [True: 0, False: 2.10k]
  ------------------
  195|      0|    return getMachineOpValue(MI, MO, Fixups, STI);
  196|       |
  197|  2.10k|  Fixups.push_back(MCFixup::create(0, MO.getExpr(),
  198|  2.10k|                                   (MCFixupKind)Sparc::fixup_sparc_br22));
  199|  2.10k|  return 0;
  200|  2.10k|}
SparcMCCodeEmitter.cpp:_ZNK12_GLOBAL__N_118SparcMCCodeEmitter17getMachineOpValueERKN7llvm_ks6MCInstERKNS1_9MCOperandERNS1_15SmallVectorImplINS1_7MCFixupEEERKNS1_15MCSubtargetInfoE:
  123|  5.19k|{
  124|  5.19k|  if (MO.isReg())
  ------------------
  |  Branch (124:7): [True: 2.80k, False: 2.39k]
  ------------------
  125|  2.80k|    return Ctx.getRegisterInfo()->getEncodingValue(MO.getReg());
  126|       |
  127|  2.39k|  if (MO.isImm())
  ------------------
  |  Branch (127:7): [True: 2.39k, False: 1]
  ------------------
  128|  2.39k|    return MO.getImm();
  129|       |
  130|  2.39k|  assert(MO.isExpr());
  ------------------
  |  Branch (130:3): [True: 1, False: 0]
  ------------------
  131|      1|  const MCExpr *Expr = MO.getExpr();
  132|      1|  if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Expr)) {
  ------------------
  |  Branch (132:26): [True: 1, False: 0]
  ------------------
  133|      1|    MCFixupKind Kind = (MCFixupKind)SExpr->getFixupKind();
  134|      1|    Fixups.push_back(MCFixup::create(0, Expr, Kind));
  135|      1|    return 0;
  136|      1|  }
  137|       |
  138|      0|  int64_t Res;
  139|      0|  if (Expr->evaluateAsAbsolute(Res))
  ------------------
  |  Branch (139:7): [True: 0, False: 0]
  ------------------
  140|      0|    return Res;
  141|       |
  142|      0|  llvm_unreachable("Unhandled expression!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  143|      0|  return 0;
  144|      0|}

_ZN7llvm_ks11SparcMCExpr6createENS0_11VariantKindEPKNS_6MCExprERNS_9MCContextE:
   29|      6|                      MCContext &Ctx) {
   30|      6|    return new (Ctx) SparcMCExpr(Kind, Expr);
   31|      6|}
_ZN7llvm_ks11SparcMCExpr16parseVariantKindENS_9StringRefE:
   87|    597|{
   88|    597|  return StringSwitch<SparcMCExpr::VariantKind>(name)
   89|    597|    .Case("lo",  VK_Sparc_LO)
   90|    597|    .Case("hi",  VK_Sparc_HI)
   91|    597|    .Case("h44", VK_Sparc_H44)
   92|    597|    .Case("m44", VK_Sparc_M44)
   93|    597|    .Case("l44", VK_Sparc_L44)
   94|    597|    .Case("hh",  VK_Sparc_HH)
   95|    597|    .Case("hm",  VK_Sparc_HM)
   96|    597|    .Case("pc22",  VK_Sparc_PC22)
   97|    597|    .Case("pc10",  VK_Sparc_PC10)
   98|    597|    .Case("got22", VK_Sparc_GOT22)
   99|    597|    .Case("got10", VK_Sparc_GOT10)
  100|    597|    .Case("r_disp32",   VK_Sparc_R_DISP32)
  101|    597|    .Case("tgd_hi22",   VK_Sparc_TLS_GD_HI22)
  102|    597|    .Case("tgd_lo10",   VK_Sparc_TLS_GD_LO10)
  103|    597|    .Case("tgd_add",    VK_Sparc_TLS_GD_ADD)
  104|    597|    .Case("tgd_call",   VK_Sparc_TLS_GD_CALL)
  105|    597|    .Case("tldm_hi22",  VK_Sparc_TLS_LDM_HI22)
  106|    597|    .Case("tldm_lo10",  VK_Sparc_TLS_LDM_LO10)
  107|    597|    .Case("tldm_add",   VK_Sparc_TLS_LDM_ADD)
  108|    597|    .Case("tldm_call",  VK_Sparc_TLS_LDM_CALL)
  109|    597|    .Case("tldo_hix22", VK_Sparc_TLS_LDO_HIX22)
  110|    597|    .Case("tldo_lox10", VK_Sparc_TLS_LDO_LOX10)
  111|    597|    .Case("tldo_add",   VK_Sparc_TLS_LDO_ADD)
  112|    597|    .Case("tie_hi22",   VK_Sparc_TLS_IE_HI22)
  113|    597|    .Case("tie_lo10",   VK_Sparc_TLS_IE_LO10)
  114|    597|    .Case("tie_ld",     VK_Sparc_TLS_IE_LD)
  115|    597|    .Case("tie_ldx",    VK_Sparc_TLS_IE_LDX)
  116|    597|    .Case("tie_add",    VK_Sparc_TLS_IE_ADD)
  117|    597|    .Case("tle_hix22",  VK_Sparc_TLS_LE_HIX22)
  118|    597|    .Case("tle_lox10",  VK_Sparc_TLS_LE_LOX10)
  119|    597|    .Default(VK_Sparc_None);
  120|    597|}
_ZN7llvm_ks11SparcMCExpr12getFixupKindENS0_11VariantKindE:
  122|      1|Sparc::Fixups SparcMCExpr::getFixupKind(SparcMCExpr::VariantKind Kind) {
  123|      1|  switch (Kind) {
  124|      0|  default: llvm_unreachable("Unhandled SparcMCExpr::VariantKind");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (124:3): [True: 0, False: 1]
  ------------------
  125|      0|  case VK_Sparc_LO:       return Sparc::fixup_sparc_lo10;
  ------------------
  |  Branch (125:3): [True: 0, False: 1]
  ------------------
  126|      0|  case VK_Sparc_HI:       return Sparc::fixup_sparc_hi22;
  ------------------
  |  Branch (126:3): [True: 0, False: 1]
  ------------------
  127|      0|  case VK_Sparc_H44:      return Sparc::fixup_sparc_h44;
  ------------------
  |  Branch (127:3): [True: 0, False: 1]
  ------------------
  128|      0|  case VK_Sparc_M44:      return Sparc::fixup_sparc_m44;
  ------------------
  |  Branch (128:3): [True: 0, False: 1]
  ------------------
  129|      0|  case VK_Sparc_L44:      return Sparc::fixup_sparc_l44;
  ------------------
  |  Branch (129:3): [True: 0, False: 1]
  ------------------
  130|      0|  case VK_Sparc_HH:       return Sparc::fixup_sparc_hh;
  ------------------
  |  Branch (130:3): [True: 0, False: 1]
  ------------------
  131|      1|  case VK_Sparc_HM:       return Sparc::fixup_sparc_hm;
  ------------------
  |  Branch (131:3): [True: 1, False: 0]
  ------------------
  132|      0|  case VK_Sparc_PC22:     return Sparc::fixup_sparc_pc22;
  ------------------
  |  Branch (132:3): [True: 0, False: 1]
  ------------------
  133|      0|  case VK_Sparc_PC10:     return Sparc::fixup_sparc_pc10;
  ------------------
  |  Branch (133:3): [True: 0, False: 1]
  ------------------
  134|      0|  case VK_Sparc_GOT22:    return Sparc::fixup_sparc_got22;
  ------------------
  |  Branch (134:3): [True: 0, False: 1]
  ------------------
  135|      0|  case VK_Sparc_GOT10:    return Sparc::fixup_sparc_got10;
  ------------------
  |  Branch (135:3): [True: 0, False: 1]
  ------------------
  136|      0|  case VK_Sparc_WPLT30:   return Sparc::fixup_sparc_wplt30;
  ------------------
  |  Branch (136:3): [True: 0, False: 1]
  ------------------
  137|      0|  case VK_Sparc_TLS_GD_HI22:   return Sparc::fixup_sparc_tls_gd_hi22;
  ------------------
  |  Branch (137:3): [True: 0, False: 1]
  ------------------
  138|      0|  case VK_Sparc_TLS_GD_LO10:   return Sparc::fixup_sparc_tls_gd_lo10;
  ------------------
  |  Branch (138:3): [True: 0, False: 1]
  ------------------
  139|      0|  case VK_Sparc_TLS_GD_ADD:    return Sparc::fixup_sparc_tls_gd_add;
  ------------------
  |  Branch (139:3): [True: 0, False: 1]
  ------------------
  140|      0|  case VK_Sparc_TLS_GD_CALL:   return Sparc::fixup_sparc_tls_gd_call;
  ------------------
  |  Branch (140:3): [True: 0, False: 1]
  ------------------
  141|      0|  case VK_Sparc_TLS_LDM_HI22:  return Sparc::fixup_sparc_tls_ldm_hi22;
  ------------------
  |  Branch (141:3): [True: 0, False: 1]
  ------------------
  142|      0|  case VK_Sparc_TLS_LDM_LO10:  return Sparc::fixup_sparc_tls_ldm_lo10;
  ------------------
  |  Branch (142:3): [True: 0, False: 1]
  ------------------
  143|      0|  case VK_Sparc_TLS_LDM_ADD:   return Sparc::fixup_sparc_tls_ldm_add;
  ------------------
  |  Branch (143:3): [True: 0, False: 1]
  ------------------
  144|      0|  case VK_Sparc_TLS_LDM_CALL:  return Sparc::fixup_sparc_tls_ldm_call;
  ------------------
  |  Branch (144:3): [True: 0, False: 1]
  ------------------
  145|      0|  case VK_Sparc_TLS_LDO_HIX22: return Sparc::fixup_sparc_tls_ldo_hix22;
  ------------------
  |  Branch (145:3): [True: 0, False: 1]
  ------------------
  146|      0|  case VK_Sparc_TLS_LDO_LOX10: return Sparc::fixup_sparc_tls_ldo_lox10;
  ------------------
  |  Branch (146:3): [True: 0, False: 1]
  ------------------
  147|      0|  case VK_Sparc_TLS_LDO_ADD:   return Sparc::fixup_sparc_tls_ldo_add;
  ------------------
  |  Branch (147:3): [True: 0, False: 1]
  ------------------
  148|      0|  case VK_Sparc_TLS_IE_HI22:   return Sparc::fixup_sparc_tls_ie_hi22;
  ------------------
  |  Branch (148:3): [True: 0, False: 1]
  ------------------
  149|      0|  case VK_Sparc_TLS_IE_LO10:   return Sparc::fixup_sparc_tls_ie_lo10;
  ------------------
  |  Branch (149:3): [True: 0, False: 1]
  ------------------
  150|      0|  case VK_Sparc_TLS_IE_LD:     return Sparc::fixup_sparc_tls_ie_ld;
  ------------------
  |  Branch (150:3): [True: 0, False: 1]
  ------------------
  151|      0|  case VK_Sparc_TLS_IE_LDX:    return Sparc::fixup_sparc_tls_ie_ldx;
  ------------------
  |  Branch (151:3): [True: 0, False: 1]
  ------------------
  152|      0|  case VK_Sparc_TLS_IE_ADD:    return Sparc::fixup_sparc_tls_ie_add;
  ------------------
  |  Branch (152:3): [True: 0, False: 1]
  ------------------
  153|      0|  case VK_Sparc_TLS_LE_HIX22:  return Sparc::fixup_sparc_tls_le_hix22;
  ------------------
  |  Branch (153:3): [True: 0, False: 1]
  ------------------
  154|      0|  case VK_Sparc_TLS_LE_LOX10:  return Sparc::fixup_sparc_tls_le_lox10;
  ------------------
  |  Branch (154:3): [True: 0, False: 1]
  ------------------
  155|      1|  }
  156|      1|}
_ZNK7llvm_ks11SparcMCExpr25evaluateAsRelocatableImplERNS_7MCValueEPKNS_11MCAsmLayoutEPKNS_7MCFixupE:
  161|      3|                                       const MCFixup *Fixup) const {
  162|      3|  return getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup);
  163|      3|}
_ZNK7llvm_ks11SparcMCExpr24fixELFSymbolsInTLSFixupsERNS_11MCAssemblerE:
  194|      3|void SparcMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const {
  195|      3|  switch(getKind()) {
  196|      3|  default: return;
  ------------------
  |  Branch (196:3): [True: 3, False: 0]
  ------------------
  197|      3|  case VK_Sparc_TLS_GD_HI22:
  ------------------
  |  Branch (197:3): [True: 0, False: 3]
  ------------------
  198|      0|  case VK_Sparc_TLS_GD_LO10:
  ------------------
  |  Branch (198:3): [True: 0, False: 3]
  ------------------
  199|      0|  case VK_Sparc_TLS_GD_ADD:
  ------------------
  |  Branch (199:3): [True: 0, False: 3]
  ------------------
  200|      0|  case VK_Sparc_TLS_GD_CALL:
  ------------------
  |  Branch (200:3): [True: 0, False: 3]
  ------------------
  201|      0|  case VK_Sparc_TLS_LDM_HI22:
  ------------------
  |  Branch (201:3): [True: 0, False: 3]
  ------------------
  202|      0|  case VK_Sparc_TLS_LDM_LO10:
  ------------------
  |  Branch (202:3): [True: 0, False: 3]
  ------------------
  203|      0|  case VK_Sparc_TLS_LDM_ADD:
  ------------------
  |  Branch (203:3): [True: 0, False: 3]
  ------------------
  204|      0|  case VK_Sparc_TLS_LDM_CALL:
  ------------------
  |  Branch (204:3): [True: 0, False: 3]
  ------------------
  205|      0|  case VK_Sparc_TLS_LDO_HIX22:
  ------------------
  |  Branch (205:3): [True: 0, False: 3]
  ------------------
  206|      0|  case VK_Sparc_TLS_LDO_LOX10:
  ------------------
  |  Branch (206:3): [True: 0, False: 3]
  ------------------
  207|      0|  case VK_Sparc_TLS_LDO_ADD:
  ------------------
  |  Branch (207:3): [True: 0, False: 3]
  ------------------
  208|      0|  case VK_Sparc_TLS_IE_HI22:
  ------------------
  |  Branch (208:3): [True: 0, False: 3]
  ------------------
  209|      0|  case VK_Sparc_TLS_IE_LO10:
  ------------------
  |  Branch (209:3): [True: 0, False: 3]
  ------------------
  210|      0|  case VK_Sparc_TLS_IE_LD:
  ------------------
  |  Branch (210:3): [True: 0, False: 3]
  ------------------
  211|      0|  case VK_Sparc_TLS_IE_LDX:
  ------------------
  |  Branch (211:3): [True: 0, False: 3]
  ------------------
  212|      0|  case VK_Sparc_TLS_IE_ADD:
  ------------------
  |  Branch (212:3): [True: 0, False: 3]
  ------------------
  213|      0|  case VK_Sparc_TLS_LE_HIX22:
  ------------------
  |  Branch (213:3): [True: 0, False: 3]
  ------------------
  214|      0|  case VK_Sparc_TLS_LE_LOX10: break;
  ------------------
  |  Branch (214:3): [True: 0, False: 3]
  ------------------
  215|      3|  }
  216|      0|  fixELFSymbolsInTLSFixupsImpl(getSubExpr(), Asm);
  217|      0|}
_ZNK7llvm_ks11SparcMCExpr13visitUsedExprERNS_10MCStreamerE:
  219|      3|void SparcMCExpr::visitUsedExpr(MCStreamer &Streamer) const {
  220|      3|  Streamer.visitUsedExpr(*getSubExpr());
  221|      3|}

_ZN7llvm_ks11SparcMCExprC2ENS0_11VariantKindEPKNS_6MCExprE:
   66|      6|      : Kind(Kind), Expr(Expr) {}
_ZNK7llvm_ks11SparcMCExpr7getKindEv:
   79|      5|  VariantKind getKind() const { return Kind; }
_ZNK7llvm_ks11SparcMCExpr10getSubExprEv:
   82|      6|  const MCExpr *getSubExpr() const { return Expr; }
_ZNK7llvm_ks11SparcMCExpr12getFixupKindEv:
   85|      1|  Sparc::Fixups getFixupKind() const { return getFixupKind(Kind); }
_ZN7llvm_ks11SparcMCExpr7classofEPKNS_6MCExprE:
   99|  4.94k|  static bool classof(const MCExpr *E) {
  100|  4.94k|    return E->getKind() == MCExpr::Target;
  101|  4.94k|  }

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|}
SparcMCTargetDesc.cpp:_ZL20createSparcMCAsmInfoRKN7llvm_ks14MCRegisterInfoERKNS_6TripleE:
   36|  12.6k|                                       const Triple &TT) {
   37|  12.6k|  MCAsmInfo *MAI = new SparcELFMCAsmInfo(TT);
   38|  12.6k|  unsigned Reg = MRI.getDwarfRegNum(SP::O6, true);
   39|  12.6k|  MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 0);
   40|  12.6k|  MAI->addInitialFrameState(Inst);
   41|  12.6k|  return MAI;
   42|  12.6k|}
SparcMCTargetDesc.cpp:_ZL22createSparcMCInstrInfov:
   53|  12.6k|static MCInstrInfo *createSparcMCInstrInfo() {
   54|  12.6k|  MCInstrInfo *X = new MCInstrInfo();
   55|  12.6k|  InitSparcMCInstrInfo(X);
   56|  12.6k|  return X;
   57|  12.6k|}
SparcMCTargetDesc.cpp:_ZL25createSparcMCRegisterInfoRKN7llvm_ks6TripleE:
   59|  12.6k|static MCRegisterInfo *createSparcMCRegisterInfo(const Triple &TT) {
   60|  12.6k|  MCRegisterInfo *X = new MCRegisterInfo();
   61|  12.6k|  InitSparcMCRegisterInfo(X, SP::O7);
   62|  12.6k|  return X;
   63|  12.6k|}
SparcMCTargetDesc.cpp:_ZL26createSparcMCSubtargetInfoRKN7llvm_ks6TripleENS_9StringRefES3_:
   66|  12.6k|createSparcMCSubtargetInfo(const Triple &TT, StringRef CPU, StringRef FS) {
   67|  12.6k|  if (CPU.empty())
  ------------------
  |  Branch (67:7): [True: 12.6k, False: 0]
  ------------------
   68|  12.6k|    CPU = (TT.getArch() == Triple::sparcv9) ? "v9" : "v8";
  ------------------
  |  Branch (68:11): [True: 0, False: 12.6k]
  ------------------
   69|  12.6k|  return createSparcMCSubtargetInfoImpl(TT, CPU, FS);
   70|  12.6k|}

SparcAsmParser.cpp:_ZNK12_GLOBAL__N_114SparcAsmParser24ComputeAvailableFeaturesERKN7llvm_ks13FeatureBitsetE:
 1929|  12.6k|ComputeAvailableFeatures(const FeatureBitset& FB) const {
 1930|  12.6k|  uint64_t Features = 0;
 1931|  12.6k|  if ((FB[Sparc::FeatureV9]))
  ------------------
  |  Branch (1931:7): [True: 0, False: 12.6k]
  ------------------
 1932|      0|    Features |= Feature_HasV9;
 1933|  12.6k|  if ((FB[Sparc::FeatureVIS]))
  ------------------
  |  Branch (1933:7): [True: 0, False: 12.6k]
  ------------------
 1934|      0|    Features |= Feature_HasVIS;
 1935|  12.6k|  if ((FB[Sparc::FeatureVIS2]))
  ------------------
  |  Branch (1935:7): [True: 0, False: 12.6k]
  ------------------
 1936|      0|    Features |= Feature_HasVIS2;
 1937|  12.6k|  if ((FB[Sparc::FeatureVIS3]))
  ------------------
  |  Branch (1937:7): [True: 0, False: 12.6k]
  ------------------
 1938|      0|    Features |= Feature_HasVIS3;
 1939|  12.6k|  return Features;
 1940|  12.6k|}
SparcAsmParser.cpp:_ZL20applyMnemonicAliasesRN7llvm_ks9StringRefEmj:
   81|   116k|static void applyMnemonicAliases(StringRef &Mnemonic, uint64_t Features, unsigned VariantID) {
   82|   116k|  switch (VariantID) {
  ------------------
  |  Branch (82:11): [True: 116k, False: 0]
  ------------------
   83|   116k|    case 0:
  ------------------
  |  Branch (83:5): [True: 116k, False: 0]
  ------------------
   84|   116k|      switch (Mnemonic.size()) {
   85|   102k|      default: break;
  ------------------
  |  Branch (85:7): [True: 102k, False: 14.0k]
  ------------------
   86|   102k|      case 4:	 // 3 strings to match.
  ------------------
  |  Branch (86:7): [True: 1.84k, False: 114k]
  ------------------
   87|  1.84k|        switch (Mnemonic[0]) {
   88|    634|        default: break;
  ------------------
  |  Branch (88:9): [True: 634, False: 1.20k]
  ------------------
   89|    908|        case 'a':	 // 1 string to match.
  ------------------
  |  Branch (89:9): [True: 908, False: 932]
  ------------------
   90|    908|          if (memcmp(Mnemonic.data()+1, "ddc", 3))
  ------------------
  |  Branch (90:15): [True: 905, False: 3]
  ------------------
   91|    905|            break;
   92|      3|          if ((Features & Feature_HasV9) == Feature_HasV9)	 // "addc"
  ------------------
  |  Branch (92:15): [True: 0, False: 3]
  ------------------
   93|      0|            Mnemonic = "addx";
   94|      3|          return;
   95|     51|        case 'l':	 // 1 string to match.
  ------------------
  |  Branch (95:9): [True: 51, False: 1.78k]
  ------------------
   96|     51|          if (memcmp(Mnemonic.data()+1, "duw", 3))
  ------------------
  |  Branch (96:15): [True: 48, False: 3]
  ------------------
   97|     48|            break;
   98|      3|          if ((Features & Feature_HasV9) == Feature_HasV9)	 // "lduw"
  ------------------
  |  Branch (98:15): [True: 0, False: 3]
  ------------------
   99|      0|            Mnemonic = "ld";
  100|      3|          return;
  101|    247|        case 's':	 // 1 string to match.
  ------------------
  |  Branch (101:9): [True: 247, False: 1.59k]
  ------------------
  102|    247|          if (memcmp(Mnemonic.data()+1, "ubc", 3))
  ------------------
  |  Branch (102:15): [True: 244, False: 3]
  ------------------
  103|    244|            break;
  104|      3|          if ((Features & Feature_HasV9) == Feature_HasV9)	 // "subc"
  ------------------
  |  Branch (104:15): [True: 0, False: 3]
  ------------------
  105|      0|            Mnemonic = "subx";
  106|      3|          return;
  107|  1.84k|        }
  108|  1.83k|        break;
  109|  1.83k|      case 5:	 // 1 string to match.
  ------------------
  |  Branch (109:7): [True: 311, False: 116k]
  ------------------
  110|    311|        if (memcmp(Mnemonic.data()+0, "lduwa", 5))
  ------------------
  |  Branch (110:13): [True: 308, False: 3]
  ------------------
  111|    308|          break;
  112|      3|        if ((Features & Feature_HasV9) == Feature_HasV9)	 // "lduwa"
  ------------------
  |  Branch (112:13): [True: 0, False: 3]
  ------------------
  113|      0|          Mnemonic = "lda";
  114|      3|        return;
  115|  11.8k|      case 6:	 // 3 strings to match.
  ------------------
  |  Branch (115:7): [True: 11.8k, False: 104k]
  ------------------
  116|  11.8k|        switch (Mnemonic[0]) {
  117|  5.87k|        default: break;
  ------------------
  |  Branch (117:9): [True: 5.87k, False: 6.01k]
  ------------------
  118|  5.87k|        case 'a':	 // 1 string to match.
  ------------------
  |  Branch (118:9): [True: 5.80k, False: 6.08k]
  ------------------
  119|  5.80k|          if (memcmp(Mnemonic.data()+1, "ddccc", 5))
  ------------------
  |  Branch (119:15): [True: 5.80k, False: 3]
  ------------------
  120|  5.80k|            break;
  121|      3|          if ((Features & Feature_HasV9) == Feature_HasV9)	 // "addccc"
  ------------------
  |  Branch (121:15): [True: 0, False: 3]
  ------------------
  122|      0|            Mnemonic = "addxcc";
  123|      3|          return;
  124|    172|        case 'r':	 // 1 string to match.
  ------------------
  |  Branch (124:9): [True: 172, False: 11.7k]
  ------------------
  125|    172|          if (memcmp(Mnemonic.data()+1, "eturn", 5))
  ------------------
  |  Branch (125:15): [True: 169, False: 3]
  ------------------
  126|    169|            break;
  127|      3|          if ((Features & Feature_HasV9) == Feature_HasV9)	 // "return"
  ------------------
  |  Branch (127:15): [True: 0, False: 3]
  ------------------
  128|      0|            Mnemonic = "rett";
  129|      3|          return;
  130|     36|        case 's':	 // 1 string to match.
  ------------------
  |  Branch (130:9): [True: 36, False: 11.8k]
  ------------------
  131|     36|          if (memcmp(Mnemonic.data()+1, "ubccc", 5))
  ------------------
  |  Branch (131:15): [True: 33, False: 3]
  ------------------
  132|     33|            break;
  133|      3|          if ((Features & Feature_HasV9) == Feature_HasV9)	 // "subccc"
  ------------------
  |  Branch (133:15): [True: 0, False: 3]
  ------------------
  134|      0|            Mnemonic = "subxcc";
  135|      3|          return;
  136|  11.8k|        }
  137|  11.8k|        break;
  138|   116k|      }
  139|   116k|    break;
  140|   116k|  }
  141|   116k|  switch (Mnemonic.size()) {
  142|   102k|  default: break;
  ------------------
  |  Branch (142:3): [True: 102k, False: 14.0k]
  ------------------
  143|   102k|  case 4:	 // 3 strings to match.
  ------------------
  |  Branch (143:3): [True: 1.83k, False: 114k]
  ------------------
  144|  1.83k|    switch (Mnemonic[0]) {
  145|    634|    default: break;
  ------------------
  |  Branch (145:5): [True: 634, False: 1.19k]
  ------------------
  146|    905|    case 'a':	 // 1 string to match.
  ------------------
  |  Branch (146:5): [True: 905, False: 926]
  ------------------
  147|    905|      if (memcmp(Mnemonic.data()+1, "ddc", 3))
  ------------------
  |  Branch (147:11): [True: 905, False: 0]
  ------------------
  148|    905|        break;
  149|      0|      if ((Features & Feature_HasV9) == Feature_HasV9)	 // "addc"
  ------------------
  |  Branch (149:11): [True: 0, False: 0]
  ------------------
  150|      0|        Mnemonic = "addx";
  151|      0|      return;
  152|     48|    case 'l':	 // 1 string to match.
  ------------------
  |  Branch (152:5): [True: 48, False: 1.78k]
  ------------------
  153|     48|      if (memcmp(Mnemonic.data()+1, "duw", 3))
  ------------------
  |  Branch (153:11): [True: 48, False: 0]
  ------------------
  154|     48|        break;
  155|      0|      if ((Features & Feature_HasV9) == Feature_HasV9)	 // "lduw"
  ------------------
  |  Branch (155:11): [True: 0, False: 0]
  ------------------
  156|      0|        Mnemonic = "ld";
  157|      0|      return;
  158|    244|    case 's':	 // 1 string to match.
  ------------------
  |  Branch (158:5): [True: 244, False: 1.58k]
  ------------------
  159|    244|      if (memcmp(Mnemonic.data()+1, "ubc", 3))
  ------------------
  |  Branch (159:11): [True: 244, False: 0]
  ------------------
  160|    244|        break;
  161|      0|      if ((Features & Feature_HasV9) == Feature_HasV9)	 // "subc"
  ------------------
  |  Branch (161:11): [True: 0, False: 0]
  ------------------
  162|      0|        Mnemonic = "subx";
  163|      0|      return;
  164|  1.83k|    }
  165|  1.83k|    break;
  166|  1.83k|  case 5:	 // 1 string to match.
  ------------------
  |  Branch (166:3): [True: 308, False: 116k]
  ------------------
  167|    308|    if (memcmp(Mnemonic.data()+0, "lduwa", 5))
  ------------------
  |  Branch (167:9): [True: 308, False: 0]
  ------------------
  168|    308|      break;
  169|      0|    if ((Features & Feature_HasV9) == Feature_HasV9)	 // "lduwa"
  ------------------
  |  Branch (169:9): [True: 0, False: 0]
  ------------------
  170|      0|      Mnemonic = "lda";
  171|      0|    return;
  172|  11.8k|  case 6:	 // 3 strings to match.
  ------------------
  |  Branch (172:3): [True: 11.8k, False: 104k]
  ------------------
  173|  11.8k|    switch (Mnemonic[0]) {
  174|  5.87k|    default: break;
  ------------------
  |  Branch (174:5): [True: 5.87k, False: 6.00k]
  ------------------
  175|  5.87k|    case 'a':	 // 1 string to match.
  ------------------
  |  Branch (175:5): [True: 5.80k, False: 6.08k]
  ------------------
  176|  5.80k|      if (memcmp(Mnemonic.data()+1, "ddccc", 5))
  ------------------
  |  Branch (176:11): [True: 5.80k, False: 0]
  ------------------
  177|  5.80k|        break;
  178|      0|      if ((Features & Feature_HasV9) == Feature_HasV9)	 // "addccc"
  ------------------
  |  Branch (178:11): [True: 0, False: 0]
  ------------------
  179|      0|        Mnemonic = "addxcc";
  180|      0|      return;
  181|    169|    case 'r':	 // 1 string to match.
  ------------------
  |  Branch (181:5): [True: 169, False: 11.7k]
  ------------------
  182|    169|      if (memcmp(Mnemonic.data()+1, "eturn", 5))
  ------------------
  |  Branch (182:11): [True: 169, False: 0]
  ------------------
  183|    169|        break;
  184|      0|      if ((Features & Feature_HasV9) == Feature_HasV9)	 // "return"
  ------------------
  |  Branch (184:11): [True: 0, False: 0]
  ------------------
  185|      0|        Mnemonic = "rett";
  186|      0|      return;
  187|     33|    case 's':	 // 1 string to match.
  ------------------
  |  Branch (187:5): [True: 33, False: 11.8k]
  ------------------
  188|     33|      if (memcmp(Mnemonic.data()+1, "ubccc", 5))
  ------------------
  |  Branch (188:11): [True: 33, False: 0]
  ------------------
  189|     33|        break;
  190|      0|      if ((Features & Feature_HasV9) == Feature_HasV9)	 // "subccc"
  ------------------
  |  Branch (190:11): [True: 0, False: 0]
  ------------------
  191|      0|        Mnemonic = "subxcc";
  192|      0|      return;
  193|  11.8k|    }
  194|  11.8k|    break;
  195|   116k|  }
  196|   116k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser22MatchOperandParserImplERN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEENS1_9StringRefE:
 3872|   121k|                       StringRef Mnemonic) {
 3873|       |  // Get the current feature set.
 3874|   121k|  uint64_t AvailableFeatures = getAvailableFeatures();
 3875|       |
 3876|       |  // Get the next operand index.
 3877|   121k|  unsigned NextOpNum = Operands.size() - 1;
 3878|       |  // Search the table.
 3879|   121k|  auto MnemonicRange =
 3880|   121k|    std::equal_range(std::begin(OperandMatchTable), std::end(OperandMatchTable),
 3881|   121k|                     Mnemonic, LessOpcodeOperand());
 3882|       |
 3883|   121k|  if (MnemonicRange.first == MnemonicRange.second)
  ------------------
  |  Branch (3883:7): [True: 117k, False: 3.69k]
  ------------------
 3884|   117k|    return MatchOperand_NoMatch;
 3885|       |
 3886|  3.69k|  for (const OperandMatchEntry *it = MnemonicRange.first,
 3887|  11.0k|       *ie = MnemonicRange.second; it != ie; ++it) {
  ------------------
  |  Branch (3887:36): [True: 8.41k, False: 2.65k]
  ------------------
 3888|       |    // equal_range guarantees that instruction mnemonic matches.
 3889|  8.41k|    assert(Mnemonic == it->getMnemonic());
  ------------------
  |  Branch (3889:5): [True: 8.41k, False: 0]
  ------------------
 3890|       |
 3891|       |    // check if the available features match
 3892|  8.41k|    if ((AvailableFeatures & it->RequiredFeatures) != it->RequiredFeatures) {
  ------------------
  |  Branch (3892:9): [True: 145, False: 8.27k]
  ------------------
 3893|    145|      continue;
 3894|    145|    }
 3895|       |
 3896|       |    // check if the operand in question has a custom parser.
 3897|  8.27k|    if (!(it->OperandMask & (1 << NextOpNum)))
  ------------------
  |  Branch (3897:9): [True: 2.46k, False: 5.81k]
  ------------------
 3898|  2.46k|      continue;
 3899|       |
 3900|       |    // call custom parse method to handle the operand
 3901|  5.81k|    OperandMatchResultTy Result = tryCustomParseOperand(Operands, it->Class);
 3902|  5.81k|    if (Result != MatchOperand_NoMatch)
  ------------------
  |  Branch (3902:9): [True: 1.03k, False: 4.77k]
  ------------------
 3903|  1.03k|      return Result;
 3904|  5.81k|  }
 3905|       |
 3906|       |  // Okay, we had no match.
 3907|  2.65k|  return MatchOperand_NoMatch;
 3908|  3.69k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_117LessOpcodeOperandclERKNS_17OperandMatchEntryEN7llvm_ks9StringRefE:
 3755|   800k|    bool operator()(const OperandMatchEntry &LHS, StringRef RHS) {
 3756|   800k|      return LHS.getMnemonic()  < RHS;
 3757|   800k|    }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_117LessOpcodeOperandclEN7llvm_ks9StringRefERKNS_17OperandMatchEntryE:
 3758|   646k|    bool operator()(StringRef LHS, const OperandMatchEntry &RHS) {
 3759|   646k|      return LHS < RHS.getMnemonic();
 3760|   646k|    }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_117OperandMatchEntry11getMnemonicEv:
 3747|  1.45M|    StringRef getMnemonic() const {
 3748|  1.45M|      return StringRef(MnemonicTable + Mnemonic + 1,
 3749|  1.45M|                       MnemonicTable[Mnemonic]);
 3750|  1.45M|    }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser21tryCustomParseOperandERN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEEj:
 3857|  5.81k|                      unsigned MCK) {
 3858|       |
 3859|  5.81k|  switch(MCK) {
 3860|  2.93k|  case MCK_MEMri:
  ------------------
  |  Branch (3860:3): [True: 2.93k, False: 2.87k]
  ------------------
 3861|  2.93k|    return parseMEMOperand(Operands);
 3862|  2.87k|  case MCK_MEMrr:
  ------------------
  |  Branch (3862:3): [True: 2.87k, False: 2.93k]
  ------------------
 3863|  2.87k|    return parseMEMOperand(Operands);
 3864|      0|  default:
  ------------------
  |  Branch (3864:3): [True: 0, False: 5.81k]
  ------------------
 3865|      0|    return MatchOperand_NoMatch;
 3866|  5.81k|  }
 3867|      0|  return MatchOperand_NoMatch;
 3868|  5.81k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser20MatchInstructionImplERKN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEERNS1_6MCInstERmbj:
 3620|  5.46k|                     bool matchingInlineAsm, unsigned VariantID) {
 3621|       |  // Eliminate obvious mismatches.
 3622|  5.46k|  if (Operands.size() > 6) {
  ------------------
  |  Branch (3622:7): [True: 47, False: 5.41k]
  ------------------
 3623|     47|    ErrorInfo = 6;
 3624|     47|    return Match_InvalidOperand;
 3625|     47|  }
 3626|       |
 3627|       |  // Get the current feature set.
 3628|  5.41k|  uint64_t AvailableFeatures = getAvailableFeatures();
 3629|       |
 3630|       |  // Get the instruction mnemonic, which is the first token.
 3631|  5.41k|  StringRef Mnemonic = ((SparcOperand&)*Operands[0]).getToken();
 3632|       |
 3633|       |  // Process all MnemonicAliases to remap the mnemonic.
 3634|  5.41k|  applyMnemonicAliases(Mnemonic, AvailableFeatures, VariantID);
 3635|       |
 3636|       |  // Some state to try to produce better error messages.
 3637|  5.41k|  bool HadMatchOtherThanFeatures = false;
 3638|  5.41k|  bool HadMatchOtherThanPredicate = false;
 3639|  5.41k|  unsigned RetCode = Match_InvalidOperand;
 3640|  5.41k|  uint64_t MissingFeatures = ~0ULL;
 3641|       |  // Set ErrorInfo to the operand that mismatches if it is
 3642|       |  // wrong for all instances of the instruction.
 3643|  5.41k|  ErrorInfo = ~0ULL;
 3644|       |  // Find the appropriate table for this asm variant.
 3645|  5.41k|  const MatchEntry *Start, *End;
 3646|  5.41k|  switch (VariantID) {
 3647|      0|  default: llvm_unreachable("invalid variant!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (3647:3): [True: 0, False: 5.41k]
  ------------------
 3648|  5.41k|  case 0: Start = std::begin(MatchTable0); End = std::end(MatchTable0); break;
  ------------------
  |  Branch (3648:3): [True: 5.41k, False: 0]
  ------------------
 3649|  5.41k|  }
 3650|       |  // Search the table.
 3651|  5.41k|  auto MnemonicRange = std::equal_range(Start, End, Mnemonic, LessOpcode());
 3652|       |
 3653|       |  // Return a more specific error code if no mnemonics match.
 3654|  5.41k|  if (MnemonicRange.first == MnemonicRange.second)
  ------------------
  |  Branch (3654:7): [True: 1.50k, False: 3.91k]
  ------------------
 3655|  1.50k|    return Match_MnemonicFail;
 3656|       |
 3657|  3.91k|  for (const MatchEntry *it = MnemonicRange.first, *ie = MnemonicRange.second;
 3658|  8.26k|       it != ie; ++it) {
  ------------------
  |  Branch (3658:8): [True: 7.74k, False: 521]
  ------------------
 3659|       |    // equal_range guarantees that instruction mnemonic matches.
 3660|  7.74k|    assert(Mnemonic == it->getMnemonic());
  ------------------
  |  Branch (3660:5): [True: 7.74k, False: 0]
  ------------------
 3661|  7.74k|    bool OperandsValid = true;
 3662|  11.1k|    for (unsigned i = 0; i != 5; ++i) {
  ------------------
  |  Branch (3662:26): [True: 11.1k, False: 0]
  ------------------
 3663|  11.1k|      auto Formal = static_cast<MatchClassKind>(it->Classes[i]);
 3664|  11.1k|      if (i+1 >= Operands.size()) {
  ------------------
  |  Branch (3664:11): [True: 4.23k, False: 6.87k]
  ------------------
 3665|  4.23k|        OperandsValid = (Formal == InvalidMatchClass);
 3666|  4.23k|        if (!OperandsValid) ErrorInfo = i+1;
  ------------------
  |  Branch (3666:13): [True: 841, False: 3.39k]
  ------------------
 3667|  4.23k|        break;
 3668|  4.23k|      }
 3669|  6.87k|      MCParsedAsmOperand &Actual = *Operands[i+1];
 3670|  6.87k|      unsigned Diag = validateOperandClass(Actual, Formal);
 3671|  6.87k|      if (Diag == Match_Success)
  ------------------
  |  Branch (3671:11): [True: 3.34k, False: 3.53k]
  ------------------
 3672|  3.34k|        continue;
 3673|       |      // If the generic handler indicates an invalid operand
 3674|       |      // failure, check for a special case.
 3675|  3.53k|      if (Diag == Match_InvalidOperand) {
  ------------------
  |  Branch (3675:11): [True: 3.53k, False: 0]
  ------------------
 3676|  3.53k|        Diag = validateTargetOperandClass(Actual, Formal);
 3677|  3.53k|        if (Diag == Match_Success)
  ------------------
  |  Branch (3677:13): [True: 26, False: 3.50k]
  ------------------
 3678|     26|          continue;
 3679|  3.53k|      }
 3680|       |      // If this operand is broken for all of the instances of this
 3681|       |      // mnemonic, keep track of it so we can report loc info.
 3682|       |      // If we already had a match that only failed due to a
 3683|       |      // target predicate, that diagnostic is preferred.
 3684|  3.50k|      if (!HadMatchOtherThanPredicate &&
  ------------------
  |  Branch (3684:11): [True: 3.50k, False: 0]
  ------------------
 3685|  3.50k|          (it == MnemonicRange.first || ErrorInfo <= i+1)) {
  ------------------
  |  Branch (3685:12): [True: 1.33k, False: 2.17k]
  |  Branch (3685:41): [True: 1.94k, False: 237]
  ------------------
 3686|  3.27k|        ErrorInfo = i+1;
 3687|       |        // InvalidOperand is the default. Prefer specificity.
 3688|  3.27k|        if (Diag != Match_InvalidOperand)
  ------------------
  |  Branch (3688:13): [True: 0, False: 3.27k]
  ------------------
 3689|      0|          RetCode = Diag;
 3690|  3.27k|      }
 3691|       |      // Otherwise, just reject this instance of the mnemonic.
 3692|  3.50k|      OperandsValid = false;
 3693|  3.50k|      break;
 3694|  3.53k|    }
 3695|       |
 3696|  7.74k|    if (!OperandsValid) continue;
  ------------------
  |  Branch (3696:9): [True: 4.35k, False: 3.39k]
  ------------------
 3697|  3.39k|    if ((AvailableFeatures & it->RequiredFeatures) != it->RequiredFeatures) {
  ------------------
  |  Branch (3697:9): [True: 1, False: 3.39k]
  ------------------
 3698|      1|      HadMatchOtherThanFeatures = true;
 3699|      1|      uint64_t NewMissingFeatures = it->RequiredFeatures & ~AvailableFeatures;
 3700|      1|      if (countPopulation(NewMissingFeatures) <=
  ------------------
  |  Branch (3700:11): [True: 1, False: 0]
  ------------------
 3701|      1|          countPopulation(MissingFeatures))
 3702|      1|        MissingFeatures = NewMissingFeatures;
 3703|      1|      continue;
 3704|      1|    }
 3705|       |
 3706|  3.39k|    Inst.clear();
 3707|       |
 3708|  3.39k|    if (matchingInlineAsm) {
  ------------------
  |  Branch (3708:9): [True: 0, False: 3.39k]
  ------------------
 3709|      0|      Inst.setOpcode(it->Opcode);
 3710|      0|      convertToMapAndConstraints(it->ConvertFn, Operands);
 3711|      0|      return Match_Success;
 3712|      0|    }
 3713|       |
 3714|       |    // We have selected a definite instruction, convert the parsed
 3715|       |    // operands into the appropriate MCInst.
 3716|  3.39k|    convertToMCInst(it->ConvertFn, Inst, it->Opcode, Operands);
 3717|       |
 3718|       |    // We have a potential match. Check the target predicate to
 3719|       |    // handle any context sensitive constraints.
 3720|  3.39k|    unsigned MatchResult;
 3721|  3.39k|    if ((MatchResult = checkTargetMatchPredicate(Inst)) != Match_Success) {
  ------------------
  |  Branch (3721:9): [True: 0, False: 3.39k]
  ------------------
 3722|      0|      Inst.clear();
 3723|      0|      RetCode = MatchResult;
 3724|      0|      HadMatchOtherThanPredicate = true;
 3725|      0|      continue;
 3726|      0|    }
 3727|       |
 3728|  3.39k|    return Match_Success;
 3729|  3.39k|  }
 3730|       |
 3731|       |  // Okay, we had no match.  Try to return a useful error code.
 3732|    521|  if (HadMatchOtherThanPredicate || !HadMatchOtherThanFeatures)
  ------------------
  |  Branch (3732:7): [True: 0, False: 521]
  |  Branch (3732:37): [True: 520, False: 1]
  ------------------
 3733|    520|    return RetCode;
 3734|       |
 3735|       |  // Missing feature matches return which features were missing
 3736|      1|  ErrorInfo = MissingFeatures;
 3737|      1|  return Match_MissingFeature;
 3738|    521|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_110LessOpcodeclERKNS_10MatchEntryEN7llvm_ks9StringRefE:
 2024|  57.0k|    bool operator()(const MatchEntry &LHS, StringRef RHS) {
 2025|  57.0k|      return LHS.getMnemonic() < RHS;
 2026|  57.0k|    }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_110LessOpcodeclEN7llvm_ks9StringRefERKNS_10MatchEntryE:
 2027|  41.2k|    bool operator()(StringRef LHS, const MatchEntry &RHS) {
 2028|  41.2k|      return LHS < RHS.getMnemonic();
 2029|  41.2k|    }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_110MatchEntry11getMnemonicEv:
 2016|   106k|    StringRef getMnemonic() const {
 2017|   106k|      return StringRef(MnemonicTable + Mnemonic + 1,
 2018|   106k|                       MnemonicTable[Mnemonic]);
 2019|   106k|    }
SparcAsmParser.cpp:_ZL20validateOperandClassRN7llvm_ks18MCParsedAsmOperandEN12_GLOBAL__N_114MatchClassKindE:
 1709|  6.87k|static unsigned validateOperandClass(MCParsedAsmOperand &GOp, MatchClassKind Kind) {
 1710|  6.87k|  SparcOperand &Operand = (SparcOperand&)GOp;
 1711|  6.87k|  if (Kind == InvalidMatchClass)
  ------------------
  |  Branch (1711:7): [True: 21, False: 6.85k]
  ------------------
 1712|     21|    return MCTargetAsmParser::Match_InvalidOperand;
 1713|       |
 1714|  6.85k|  if (Operand.isToken())
  ------------------
  |  Branch (1714:7): [True: 437, False: 6.41k]
  ------------------
 1715|    437|    return isSubclass(matchTokenString(Operand.getToken()), Kind) ?
  ------------------
  |  Branch (1715:12): [True: 49, False: 388]
  ------------------
 1716|     49|             MCTargetAsmParser::Match_Success :
 1717|    437|             MCTargetAsmParser::Match_InvalidOperand;
 1718|       |
 1719|       |  // 'Imm' class
 1720|  6.41k|  if (Kind == MCK_Imm) {
  ------------------
  |  Branch (1720:7): [True: 2.89k, False: 3.52k]
  ------------------
 1721|  2.89k|    if (Operand.isImm())
  ------------------
  |  Branch (1721:9): [True: 2.39k, False: 500]
  ------------------
 1722|  2.39k|      return MCTargetAsmParser::Match_Success;
 1723|  2.89k|  }
 1724|       |
 1725|       |  // 'MEMri' class
 1726|  4.02k|  if (Kind == MCK_MEMri) {
  ------------------
  |  Branch (1726:7): [True: 1.10k, False: 2.92k]
  ------------------
 1727|  1.10k|    if (Operand.isMEMri())
  ------------------
  |  Branch (1727:9): [True: 31, False: 1.07k]
  ------------------
 1728|     31|      return MCTargetAsmParser::Match_Success;
 1729|  1.10k|  }
 1730|       |
 1731|       |  // 'MEMrr' class
 1732|  3.99k|  if (Kind == MCK_MEMrr) {
  ------------------
  |  Branch (1732:7): [True: 1.07k, False: 2.92k]
  ------------------
 1733|  1.07k|    if (Operand.isMEMrr())
  ------------------
  |  Branch (1733:9): [True: 804, False: 268]
  ------------------
 1734|    804|      return MCTargetAsmParser::Match_Success;
 1735|  1.07k|  }
 1736|       |
 1737|  3.19k|  if (Operand.isReg()) {
  ------------------
  |  Branch (1737:7): [True: 1.36k, False: 1.82k]
  ------------------
 1738|  1.36k|    MatchClassKind OpKind;
 1739|  1.36k|    switch (Operand.getReg()) {
 1740|      0|    default: OpKind = InvalidMatchClass; break;
  ------------------
  |  Branch (1740:5): [True: 0, False: 1.36k]
  ------------------
 1741|      0|    case Sparc::FCC0: OpKind = MCK_FCCRegs; break;
  ------------------
  |  Branch (1741:5): [True: 0, False: 1.36k]
  ------------------
 1742|      0|    case Sparc::FCC1: OpKind = MCK_FCCRegs; break;
  ------------------
  |  Branch (1742:5): [True: 0, False: 1.36k]
  ------------------
 1743|      0|    case Sparc::FCC2: OpKind = MCK_FCCRegs; break;
  ------------------
  |  Branch (1743:5): [True: 0, False: 1.36k]
  ------------------
 1744|      0|    case Sparc::FCC3: OpKind = MCK_FCCRegs; break;
  ------------------
  |  Branch (1744:5): [True: 0, False: 1.36k]
  ------------------
 1745|     41|    case Sparc::Y: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1745:5): [True: 41, False: 1.32k]
  ------------------
 1746|      0|    case Sparc::ASR1: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1746:5): [True: 0, False: 1.36k]
  ------------------
 1747|      0|    case Sparc::ASR2: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1747:5): [True: 0, False: 1.36k]
  ------------------
 1748|      0|    case Sparc::ASR3: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1748:5): [True: 0, False: 1.36k]
  ------------------
 1749|      0|    case Sparc::ASR4: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1749:5): [True: 0, False: 1.36k]
  ------------------
 1750|      0|    case Sparc::ASR5: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1750:5): [True: 0, False: 1.36k]
  ------------------
 1751|      0|    case Sparc::ASR6: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1751:5): [True: 0, False: 1.36k]
  ------------------
 1752|      0|    case Sparc::ASR7: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1752:5): [True: 0, False: 1.36k]
  ------------------
 1753|     16|    case Sparc::ASR8: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1753:5): [True: 16, False: 1.35k]
  ------------------
 1754|      0|    case Sparc::ASR9: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1754:5): [True: 0, False: 1.36k]
  ------------------
 1755|      0|    case Sparc::ASR10: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1755:5): [True: 0, False: 1.36k]
  ------------------
 1756|      0|    case Sparc::ASR11: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1756:5): [True: 0, False: 1.36k]
  ------------------
 1757|      0|    case Sparc::ASR12: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1757:5): [True: 0, False: 1.36k]
  ------------------
 1758|      0|    case Sparc::ASR13: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1758:5): [True: 0, False: 1.36k]
  ------------------
 1759|      0|    case Sparc::ASR14: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1759:5): [True: 0, False: 1.36k]
  ------------------
 1760|      0|    case Sparc::ASR15: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1760:5): [True: 0, False: 1.36k]
  ------------------
 1761|      0|    case Sparc::ASR16: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1761:5): [True: 0, False: 1.36k]
  ------------------
 1762|      0|    case Sparc::ASR17: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1762:5): [True: 0, False: 1.36k]
  ------------------
 1763|      0|    case Sparc::ASR18: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1763:5): [True: 0, False: 1.36k]
  ------------------
 1764|      0|    case Sparc::ASR19: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1764:5): [True: 0, False: 1.36k]
  ------------------
 1765|      0|    case Sparc::ASR20: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1765:5): [True: 0, False: 1.36k]
  ------------------
 1766|      0|    case Sparc::ASR21: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1766:5): [True: 0, False: 1.36k]
  ------------------
 1767|      0|    case Sparc::ASR22: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1767:5): [True: 0, False: 1.36k]
  ------------------
 1768|      0|    case Sparc::ASR23: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1768:5): [True: 0, False: 1.36k]
  ------------------
 1769|      0|    case Sparc::ASR24: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1769:5): [True: 0, False: 1.36k]
  ------------------
 1770|      0|    case Sparc::ASR25: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1770:5): [True: 0, False: 1.36k]
  ------------------
 1771|      0|    case Sparc::ASR26: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1771:5): [True: 0, False: 1.36k]
  ------------------
 1772|      0|    case Sparc::ASR27: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1772:5): [True: 0, False: 1.36k]
  ------------------
 1773|      0|    case Sparc::ASR28: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1773:5): [True: 0, False: 1.36k]
  ------------------
 1774|      0|    case Sparc::ASR29: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1774:5): [True: 0, False: 1.36k]
  ------------------
 1775|      0|    case Sparc::ASR30: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1775:5): [True: 0, False: 1.36k]
  ------------------
 1776|      0|    case Sparc::ASR31: OpKind = MCK_ASRRegs; break;
  ------------------
  |  Branch (1776:5): [True: 0, False: 1.36k]
  ------------------
 1777|      0|    case Sparc::TPC: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1777:5): [True: 0, False: 1.36k]
  ------------------
 1778|      0|    case Sparc::TNPC: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1778:5): [True: 0, False: 1.36k]
  ------------------
 1779|      0|    case Sparc::TSTATE: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1779:5): [True: 0, False: 1.36k]
  ------------------
 1780|     16|    case Sparc::TT: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1780:5): [True: 16, False: 1.35k]
  ------------------
 1781|      0|    case Sparc::TICK: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1781:5): [True: 0, False: 1.36k]
  ------------------
 1782|      0|    case Sparc::TBA: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1782:5): [True: 0, False: 1.36k]
  ------------------
 1783|     24|    case Sparc::PSTATE: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1783:5): [True: 24, False: 1.34k]
  ------------------
 1784|     24|    case Sparc::TL: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1784:5): [True: 24, False: 1.34k]
  ------------------
 1785|      0|    case Sparc::PIL: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1785:5): [True: 0, False: 1.36k]
  ------------------
 1786|      0|    case Sparc::CWP: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1786:5): [True: 0, False: 1.36k]
  ------------------
 1787|      0|    case Sparc::CANSAVE: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1787:5): [True: 0, False: 1.36k]
  ------------------
 1788|     16|    case Sparc::CANRESTORE: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1788:5): [True: 16, False: 1.35k]
  ------------------
 1789|      0|    case Sparc::CLEANWIN: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1789:5): [True: 0, False: 1.36k]
  ------------------
 1790|      0|    case Sparc::OTHERWIN: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1790:5): [True: 0, False: 1.36k]
  ------------------
 1791|      0|    case Sparc::WSTATE: OpKind = MCK_PRRegs; break;
  ------------------
  |  Branch (1791:5): [True: 0, False: 1.36k]
  ------------------
 1792|     43|    case Sparc::G0: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1792:5): [True: 43, False: 1.32k]
  ------------------
 1793|     28|    case Sparc::G1: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1793:5): [True: 28, False: 1.33k]
  ------------------
 1794|      1|    case Sparc::G2: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1794:5): [True: 1, False: 1.36k]
  ------------------
 1795|      0|    case Sparc::G3: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1795:5): [True: 0, False: 1.36k]
  ------------------
 1796|     25|    case Sparc::G4: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1796:5): [True: 25, False: 1.34k]
  ------------------
 1797|      7|    case Sparc::G5: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1797:5): [True: 7, False: 1.35k]
  ------------------
 1798|     24|    case Sparc::G6: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1798:5): [True: 24, False: 1.34k]
  ------------------
 1799|     26|    case Sparc::G7: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1799:5): [True: 26, False: 1.34k]
  ------------------
 1800|     28|    case Sparc::O0: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1800:5): [True: 28, False: 1.33k]
  ------------------
 1801|      4|    case Sparc::O1: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1801:5): [True: 4, False: 1.36k]
  ------------------
 1802|     27|    case Sparc::O2: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1802:5): [True: 27, False: 1.33k]
  ------------------
 1803|      0|    case Sparc::O3: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1803:5): [True: 0, False: 1.36k]
  ------------------
 1804|      0|    case Sparc::O4: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1804:5): [True: 0, False: 1.36k]
  ------------------
 1805|      7|    case Sparc::O5: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1805:5): [True: 7, False: 1.35k]
  ------------------
 1806|     33|    case Sparc::O6: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1806:5): [True: 33, False: 1.33k]
  ------------------
 1807|      5|    case Sparc::O7: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1807:5): [True: 5, False: 1.36k]
  ------------------
 1808|     30|    case Sparc::L0: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1808:5): [True: 30, False: 1.33k]
  ------------------
 1809|     28|    case Sparc::L1: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1809:5): [True: 28, False: 1.33k]
  ------------------
 1810|      0|    case Sparc::L2: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1810:5): [True: 0, False: 1.36k]
  ------------------
 1811|      1|    case Sparc::L3: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1811:5): [True: 1, False: 1.36k]
  ------------------
 1812|      0|    case Sparc::L4: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1812:5): [True: 0, False: 1.36k]
  ------------------
 1813|     38|    case Sparc::L5: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1813:5): [True: 38, False: 1.32k]
  ------------------
 1814|     25|    case Sparc::L6: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1814:5): [True: 25, False: 1.34k]
  ------------------
 1815|     29|    case Sparc::L7: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1815:5): [True: 29, False: 1.33k]
  ------------------
 1816|     41|    case Sparc::I0: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1816:5): [True: 41, False: 1.32k]
  ------------------
 1817|      1|    case Sparc::I1: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1817:5): [True: 1, False: 1.36k]
  ------------------
 1818|     31|    case Sparc::I2: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1818:5): [True: 31, False: 1.33k]
  ------------------
 1819|     25|    case Sparc::I3: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1819:5): [True: 25, False: 1.34k]
  ------------------
 1820|      6|    case Sparc::I4: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1820:5): [True: 6, False: 1.36k]
  ------------------
 1821|     19|    case Sparc::I5: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1821:5): [True: 19, False: 1.34k]
  ------------------
 1822|     25|    case Sparc::I6: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1822:5): [True: 25, False: 1.34k]
  ------------------
 1823|      4|    case Sparc::I7: OpKind = MCK_IntRegs; break;
  ------------------
  |  Branch (1823:5): [True: 4, False: 1.36k]
  ------------------
 1824|     38|    case Sparc::F0: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1824:5): [True: 38, False: 1.32k]
  ------------------
 1825|     24|    case Sparc::F1: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1825:5): [True: 24, False: 1.34k]
  ------------------
 1826|     30|    case Sparc::F2: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1826:5): [True: 30, False: 1.33k]
  ------------------
 1827|     33|    case Sparc::F3: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1827:5): [True: 33, False: 1.33k]
  ------------------
 1828|     28|    case Sparc::F4: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1828:5): [True: 28, False: 1.33k]
  ------------------
 1829|     30|    case Sparc::F5: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1829:5): [True: 30, False: 1.33k]
  ------------------
 1830|      5|    case Sparc::F6: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1830:5): [True: 5, False: 1.36k]
  ------------------
 1831|     28|    case Sparc::F7: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1831:5): [True: 28, False: 1.33k]
  ------------------
 1832|     27|    case Sparc::F8: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1832:5): [True: 27, False: 1.33k]
  ------------------
 1833|      6|    case Sparc::F9: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1833:5): [True: 6, False: 1.36k]
  ------------------
 1834|     24|    case Sparc::F10: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1834:5): [True: 24, False: 1.34k]
  ------------------
 1835|      0|    case Sparc::F11: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1835:5): [True: 0, False: 1.36k]
  ------------------
 1836|     30|    case Sparc::F12: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1836:5): [True: 30, False: 1.33k]
  ------------------
 1837|      0|    case Sparc::F13: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1837:5): [True: 0, False: 1.36k]
  ------------------
 1838|      0|    case Sparc::F14: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1838:5): [True: 0, False: 1.36k]
  ------------------
 1839|      0|    case Sparc::F15: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1839:5): [True: 0, False: 1.36k]
  ------------------
 1840|      1|    case Sparc::F16: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1840:5): [True: 1, False: 1.36k]
  ------------------
 1841|      4|    case Sparc::F17: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1841:5): [True: 4, False: 1.36k]
  ------------------
 1842|      3|    case Sparc::F18: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1842:5): [True: 3, False: 1.36k]
  ------------------
 1843|      0|    case Sparc::F19: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1843:5): [True: 0, False: 1.36k]
  ------------------
 1844|      0|    case Sparc::F20: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1844:5): [True: 0, False: 1.36k]
  ------------------
 1845|      0|    case Sparc::F21: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1845:5): [True: 0, False: 1.36k]
  ------------------
 1846|     24|    case Sparc::F22: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1846:5): [True: 24, False: 1.34k]
  ------------------
 1847|     24|    case Sparc::F23: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1847:5): [True: 24, False: 1.34k]
  ------------------
 1848|     30|    case Sparc::F24: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1848:5): [True: 30, False: 1.33k]
  ------------------
 1849|     24|    case Sparc::F25: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1849:5): [True: 24, False: 1.34k]
  ------------------
 1850|      3|    case Sparc::F26: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1850:5): [True: 3, False: 1.36k]
  ------------------
 1851|      0|    case Sparc::F27: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1851:5): [True: 0, False: 1.36k]
  ------------------
 1852|      4|    case Sparc::F28: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1852:5): [True: 4, False: 1.36k]
  ------------------
 1853|     20|    case Sparc::F29: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1853:5): [True: 20, False: 1.34k]
  ------------------
 1854|      3|    case Sparc::F30: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1854:5): [True: 3, False: 1.36k]
  ------------------
 1855|     24|    case Sparc::F31: OpKind = MCK_FPRegs; break;
  ------------------
  |  Branch (1855:5): [True: 24, False: 1.34k]
  ------------------
 1856|      1|    case Sparc::D0: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1856:5): [True: 1, False: 1.36k]
  ------------------
 1857|      0|    case Sparc::D1: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1857:5): [True: 0, False: 1.36k]
  ------------------
 1858|      1|    case Sparc::D2: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1858:5): [True: 1, False: 1.36k]
  ------------------
 1859|      1|    case Sparc::D3: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1859:5): [True: 1, False: 1.36k]
  ------------------
 1860|      0|    case Sparc::D4: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1860:5): [True: 0, False: 1.36k]
  ------------------
 1861|      0|    case Sparc::D5: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1861:5): [True: 0, False: 1.36k]
  ------------------
 1862|      0|    case Sparc::D6: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1862:5): [True: 0, False: 1.36k]
  ------------------
 1863|      1|    case Sparc::D7: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1863:5): [True: 1, False: 1.36k]
  ------------------
 1864|      0|    case Sparc::D8: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1864:5): [True: 0, False: 1.36k]
  ------------------
 1865|      0|    case Sparc::D9: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1865:5): [True: 0, False: 1.36k]
  ------------------
 1866|      0|    case Sparc::D10: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1866:5): [True: 0, False: 1.36k]
  ------------------
 1867|      0|    case Sparc::D11: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1867:5): [True: 0, False: 1.36k]
  ------------------
 1868|      1|    case Sparc::D12: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1868:5): [True: 1, False: 1.36k]
  ------------------
 1869|      1|    case Sparc::D13: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1869:5): [True: 1, False: 1.36k]
  ------------------
 1870|      1|    case Sparc::D14: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1870:5): [True: 1, False: 1.36k]
  ------------------
 1871|      1|    case Sparc::D15: OpKind = MCK_Reg5; break;
  ------------------
  |  Branch (1871:5): [True: 1, False: 1.36k]
  ------------------
 1872|     31|    case Sparc::D16: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1872:5): [True: 31, False: 1.33k]
  ------------------
 1873|     26|    case Sparc::D17: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1873:5): [True: 26, False: 1.34k]
  ------------------
 1874|      1|    case Sparc::D18: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1874:5): [True: 1, False: 1.36k]
  ------------------
 1875|     24|    case Sparc::D19: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1875:5): [True: 24, False: 1.34k]
  ------------------
 1876|      6|    case Sparc::D20: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1876:5): [True: 6, False: 1.36k]
  ------------------
 1877|      2|    case Sparc::D21: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1877:5): [True: 2, False: 1.36k]
  ------------------
 1878|      2|    case Sparc::D22: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1878:5): [True: 2, False: 1.36k]
  ------------------
 1879|      0|    case Sparc::D23: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1879:5): [True: 0, False: 1.36k]
  ------------------
 1880|      0|    case Sparc::D24: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1880:5): [True: 0, False: 1.36k]
  ------------------
 1881|      0|    case Sparc::D25: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1881:5): [True: 0, False: 1.36k]
  ------------------
 1882|     24|    case Sparc::D26: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1882:5): [True: 24, False: 1.34k]
  ------------------
 1883|      0|    case Sparc::D27: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1883:5): [True: 0, False: 1.36k]
  ------------------
 1884|      0|    case Sparc::D28: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1884:5): [True: 0, False: 1.36k]
  ------------------
 1885|     24|    case Sparc::D29: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1885:5): [True: 24, False: 1.34k]
  ------------------
 1886|     17|    case Sparc::D30: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1886:5): [True: 17, False: 1.34k]
  ------------------
 1887|      0|    case Sparc::D31: OpKind = MCK_DFPRegs; break;
  ------------------
  |  Branch (1887:5): [True: 0, False: 1.36k]
  ------------------
 1888|      1|    case Sparc::Q0: OpKind = MCK_Reg7; break;
  ------------------
  |  Branch (1888:5): [True: 1, False: 1.36k]
  ------------------
 1889|      1|    case Sparc::Q1: OpKind = MCK_Reg7; break;
  ------------------
  |  Branch (1889:5): [True: 1, False: 1.36k]
  ------------------
 1890|      1|    case Sparc::Q2: OpKind = MCK_Reg7; break;
  ------------------
  |  Branch (1890:5): [True: 1, False: 1.36k]
  ------------------
 1891|      0|    case Sparc::Q3: OpKind = MCK_Reg7; break;
  ------------------
  |  Branch (1891:5): [True: 0, False: 1.36k]
  ------------------
 1892|      1|    case Sparc::Q4: OpKind = MCK_Reg7; break;
  ------------------
  |  Branch (1892:5): [True: 1, False: 1.36k]
  ------------------
 1893|      0|    case Sparc::Q5: OpKind = MCK_Reg7; break;
  ------------------
  |  Branch (1893:5): [True: 0, False: 1.36k]
  ------------------
 1894|      1|    case Sparc::Q6: OpKind = MCK_Reg7; break;
  ------------------
  |  Branch (1894:5): [True: 1, False: 1.36k]
  ------------------
 1895|      1|    case Sparc::Q7: OpKind = MCK_Reg7; break;
  ------------------
  |  Branch (1895:5): [True: 1, False: 1.36k]
  ------------------
 1896|      1|    case Sparc::Q8: OpKind = MCK_QFPRegs; break;
  ------------------
  |  Branch (1896:5): [True: 1, False: 1.36k]
  ------------------
 1897|      1|    case Sparc::Q9: OpKind = MCK_QFPRegs; break;
  ------------------
  |  Branch (1897:5): [True: 1, False: 1.36k]
  ------------------
 1898|      0|    case Sparc::Q10: OpKind = MCK_QFPRegs; break;
  ------------------
  |  Branch (1898:5): [True: 0, False: 1.36k]
  ------------------
 1899|      0|    case Sparc::Q11: OpKind = MCK_QFPRegs; break;
  ------------------
  |  Branch (1899:5): [True: 0, False: 1.36k]
  ------------------
 1900|      0|    case Sparc::Q12: OpKind = MCK_QFPRegs; break;
  ------------------
  |  Branch (1900:5): [True: 0, False: 1.36k]
  ------------------
 1901|      0|    case Sparc::Q13: OpKind = MCK_QFPRegs; break;
  ------------------
  |  Branch (1901:5): [True: 0, False: 1.36k]
  ------------------
 1902|      0|    case Sparc::Q14: OpKind = MCK_QFPRegs; break;
  ------------------
  |  Branch (1902:5): [True: 0, False: 1.36k]
  ------------------
 1903|      1|    case Sparc::Q15: OpKind = MCK_QFPRegs; break;
  ------------------
  |  Branch (1903:5): [True: 1, False: 1.36k]
  ------------------
 1904|      3|    case Sparc::G0_G1: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1904:5): [True: 3, False: 1.36k]
  ------------------
 1905|      3|    case Sparc::G2_G3: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1905:5): [True: 3, False: 1.36k]
  ------------------
 1906|      3|    case Sparc::G4_G5: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1906:5): [True: 3, False: 1.36k]
  ------------------
 1907|      0|    case Sparc::G6_G7: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1907:5): [True: 0, False: 1.36k]
  ------------------
 1908|      3|    case Sparc::O0_O1: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1908:5): [True: 3, False: 1.36k]
  ------------------
 1909|      3|    case Sparc::O2_O3: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1909:5): [True: 3, False: 1.36k]
  ------------------
 1910|      0|    case Sparc::O4_O5: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1910:5): [True: 0, False: 1.36k]
  ------------------
 1911|      3|    case Sparc::O6_O7: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1911:5): [True: 3, False: 1.36k]
  ------------------
 1912|      0|    case Sparc::L0_L1: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1912:5): [True: 0, False: 1.36k]
  ------------------
 1913|      0|    case Sparc::L2_L3: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1913:5): [True: 0, False: 1.36k]
  ------------------
 1914|      0|    case Sparc::L4_L5: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1914:5): [True: 0, False: 1.36k]
  ------------------
 1915|      3|    case Sparc::L6_L7: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1915:5): [True: 3, False: 1.36k]
  ------------------
 1916|      3|    case Sparc::I0_I1: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1916:5): [True: 3, False: 1.36k]
  ------------------
 1917|      0|    case Sparc::I2_I3: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1917:5): [True: 0, False: 1.36k]
  ------------------
 1918|      0|    case Sparc::I4_I5: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1918:5): [True: 0, False: 1.36k]
  ------------------
 1919|      3|    case Sparc::I6_I7: OpKind = MCK_IntPair; break;
  ------------------
  |  Branch (1919:5): [True: 3, False: 1.36k]
  ------------------
 1920|  1.36k|    }
 1921|  1.36k|    return isSubclass(OpKind, Kind) ? MCTargetAsmParser::Match_Success :
  ------------------
  |  Branch (1921:12): [True: 64, False: 1.30k]
  ------------------
 1922|  1.36k|                                      MCTargetAsmParser::Match_InvalidOperand;
 1923|  1.36k|  }
 1924|       |
 1925|  1.82k|  return MCTargetAsmParser::Match_InvalidOperand;
 1926|  3.19k|}
SparcAsmParser.cpp:_ZL10isSubclassN12_GLOBAL__N_114MatchClassKindES0_:
 1693|  1.80k|static bool isSubclass(MatchClassKind A, MatchClassKind B) {
 1694|  1.80k|  if (A == B)
  ------------------
  |  Branch (1694:7): [True: 99, False: 1.70k]
  ------------------
 1695|     99|    return true;
 1696|       |
 1697|  1.70k|  switch (A) {
 1698|  1.69k|  default:
  ------------------
  |  Branch (1698:3): [True: 1.69k, False: 14]
  ------------------
 1699|  1.69k|    return false;
 1700|       |
 1701|      6|  case MCK_Reg7:
  ------------------
  |  Branch (1701:3): [True: 6, False: 1.69k]
  ------------------
 1702|      6|    return B == MCK_QFPRegs;
 1703|       |
 1704|      8|  case MCK_Reg5:
  ------------------
  |  Branch (1704:3): [True: 8, False: 1.69k]
  ------------------
 1705|      8|    return B == MCK_DFPRegs;
 1706|  1.70k|  }
 1707|  1.70k|}
SparcAsmParser.cpp:_ZL16matchTokenStringN7llvm_ks9StringRefE:
 1618|    437|static MatchClassKind matchTokenString(StringRef Name) {
 1619|    437|  switch (Name.size()) {
 1620|      0|  default: break;
  ------------------
  |  Branch (1620:3): [True: 0, False: 437]
  ------------------
 1621|    217|  case 1:	 // 6 strings to match.
  ------------------
  |  Branch (1621:3): [True: 217, False: 220]
  ------------------
 1622|    217|    switch (Name[0]) {
 1623|      0|    default: break;
  ------------------
  |  Branch (1623:5): [True: 0, False: 217]
  ------------------
 1624|      0|    case '+':	 // 1 string to match.
  ------------------
  |  Branch (1624:5): [True: 0, False: 217]
  ------------------
 1625|      0|      return MCK__43_;	 // "+"
 1626|      0|    case '3':	 // 1 string to match.
  ------------------
  |  Branch (1626:5): [True: 0, False: 217]
  ------------------
 1627|      0|      return MCK_3;	 // "3"
 1628|      0|    case '5':	 // 1 string to match.
  ------------------
  |  Branch (1628:5): [True: 0, False: 217]
  ------------------
 1629|      0|      return MCK_5;	 // "5"
 1630|     49|    case '[':	 // 1 string to match.
  ------------------
  |  Branch (1630:5): [True: 49, False: 168]
  ------------------
 1631|     49|      return MCK__91_;	 // "["
 1632|      6|    case ']':	 // 1 string to match.
  ------------------
  |  Branch (1632:5): [True: 6, False: 211]
  ------------------
 1633|      6|      return MCK__93_;	 // "]"
 1634|    162|    case 'a':	 // 1 string to match.
  ------------------
  |  Branch (1634:5): [True: 162, False: 55]
  ------------------
 1635|    162|      return MCK_a;	 // "a"
 1636|    217|    }
 1637|      0|    break;
 1638|     28|  case 2:	 // 2 strings to match.
  ------------------
  |  Branch (1638:3): [True: 28, False: 409]
  ------------------
 1639|     28|    if (Name[0] != 'p')
  ------------------
  |  Branch (1639:9): [True: 0, False: 28]
  ------------------
 1640|      0|      break;
 1641|     28|    switch (Name[1]) {
 1642|      0|    default: break;
  ------------------
  |  Branch (1642:5): [True: 0, False: 28]
  ------------------
 1643|     28|    case 'n':	 // 1 string to match.
  ------------------
  |  Branch (1643:5): [True: 28, False: 0]
  ------------------
 1644|     28|      return MCK_pn;	 // "pn"
 1645|      0|    case 't':	 // 1 string to match.
  ------------------
  |  Branch (1645:5): [True: 0, False: 28]
  ------------------
 1646|      0|      return MCK_pt;	 // "pt"
 1647|     28|    }
 1648|      0|    break;
 1649|      0|  case 3:	 // 1 string to match.
  ------------------
  |  Branch (1649:3): [True: 0, False: 437]
  ------------------
 1650|      0|    if (memcmp(Name.data()+0, "%g0", 3))
  ------------------
  |  Branch (1650:9): [True: 0, False: 0]
  ------------------
 1651|      0|      break;
 1652|      0|    return MCK__PCT_g0;	 // "%g0"
 1653|    192|  case 4:	 // 6 strings to match.
  ------------------
  |  Branch (1653:3): [True: 192, False: 245]
  ------------------
 1654|    192|    if (Name[0] != '%')
  ------------------
  |  Branch (1654:9): [True: 0, False: 192]
  ------------------
 1655|      0|      break;
 1656|    192|    switch (Name[1]) {
 1657|      0|    default: break;
  ------------------
  |  Branch (1657:5): [True: 0, False: 192]
  ------------------
 1658|     38|    case 'f':	 // 1 string to match.
  ------------------
  |  Branch (1658:5): [True: 38, False: 154]
  ------------------
 1659|     38|      if (memcmp(Name.data()+2, "sr", 2))
  ------------------
  |  Branch (1659:11): [True: 0, False: 38]
  ------------------
 1660|      0|        break;
 1661|     38|      return MCK__PCT_fsr;	 // "%fsr"
 1662|     46|    case 'i':	 // 1 string to match.
  ------------------
  |  Branch (1662:5): [True: 46, False: 146]
  ------------------
 1663|     46|      if (memcmp(Name.data()+2, "cc", 2))
  ------------------
  |  Branch (1663:11): [True: 0, False: 46]
  ------------------
 1664|      0|        break;
 1665|     46|      return MCK__PCT_icc;	 // "%icc"
 1666|     44|    case 'p':	 // 1 string to match.
  ------------------
  |  Branch (1666:5): [True: 44, False: 148]
  ------------------
 1667|     44|      if (memcmp(Name.data()+2, "sr", 2))
  ------------------
  |  Branch (1667:11): [True: 0, False: 44]
  ------------------
 1668|      0|        break;
 1669|     44|      return MCK__PCT_psr;	 // "%psr"
 1670|     14|    case 't':	 // 1 string to match.
  ------------------
  |  Branch (1670:5): [True: 14, False: 178]
  ------------------
 1671|     14|      if (memcmp(Name.data()+2, "br", 2))
  ------------------
  |  Branch (1671:11): [True: 0, False: 14]
  ------------------
 1672|      0|        break;
 1673|     14|      return MCK__PCT_tbr;	 // "%tbr"
 1674|      0|    case 'w':	 // 1 string to match.
  ------------------
  |  Branch (1674:5): [True: 0, False: 192]
  ------------------
 1675|      0|      if (memcmp(Name.data()+2, "im", 2))
  ------------------
  |  Branch (1675:11): [True: 0, False: 0]
  ------------------
 1676|      0|        break;
 1677|      0|      return MCK__PCT_wim;	 // "%wim"
 1678|     50|    case 'x':	 // 1 string to match.
  ------------------
  |  Branch (1678:5): [True: 50, False: 142]
  ------------------
 1679|     50|      if (memcmp(Name.data()+2, "cc", 2))
  ------------------
  |  Branch (1679:11): [True: 0, False: 50]
  ------------------
 1680|      0|        break;
 1681|     50|      return MCK__PCT_xcc;	 // "%xcc"
 1682|    192|    }
 1683|      0|    break;
 1684|      0|  case 5:	 // 1 string to match.
  ------------------
  |  Branch (1684:3): [True: 0, False: 437]
  ------------------
 1685|      0|    if (memcmp(Name.data()+0, "%fcc0", 5))
  ------------------
  |  Branch (1685:9): [True: 0, False: 0]
  ------------------
 1686|      0|      break;
 1687|      0|    return MCK__PCT_fcc0;	 // "%fcc0"
 1688|    437|  }
 1689|      0|  return InvalidMatchClass;
 1690|    437|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser15convertToMCInstEjRN7llvm_ks6MCInstEjRKNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS5_14default_deleteIS7_EEEEEE:
 1356|  3.39k|                const OperandVector &Operands) {
 1357|  3.39k|  assert(Kind < CVT_NUM_SIGNATURES && "Invalid signature!");
  ------------------
  |  Branch (1357:3): [True: 3.39k, False: 0]
  |  Branch (1357:3): [True: 3.39k, Folded]
  |  Branch (1357:3): [True: 3.39k, False: 0]
  ------------------
 1358|  3.39k|  const uint8_t *Converter = ConversionTable[Kind];
 1359|  3.39k|  Inst.setOpcode(Opcode);
 1360|  10.0k|  for (const uint8_t *p = Converter; *p; p+= 2) {
  ------------------
  |  Branch (1360:38): [True: 6.64k, False: 3.39k]
  ------------------
 1361|  6.64k|    switch (*p) {
 1362|      0|    default: llvm_unreachable("invalid conversion entry!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (1362:5): [True: 0, False: 6.64k]
  ------------------
 1363|      0|    case CVT_Reg:
  ------------------
  |  Branch (1363:5): [True: 0, False: 6.64k]
  ------------------
 1364|      0|      static_cast<SparcOperand&>(*Operands[*(p + 1)]).addRegOperands(Inst, 1);
 1365|      0|      break;
 1366|      0|    case CVT_Tied:
  ------------------
  |  Branch (1366:5): [True: 0, False: 6.64k]
  ------------------
 1367|      0|      Inst.addOperand(Inst.getOperand(*(p + 1)));
 1368|      0|      break;
 1369|     20|    case CVT_95_Reg:
  ------------------
  |  Branch (1369:5): [True: 20, False: 6.62k]
  ------------------
 1370|     20|      static_cast<SparcOperand&>(*Operands[*(p + 1)]).addRegOperands(Inst, 1);
 1371|     20|      break;
 1372|  2.33k|    case CVT_95_addImmOperands:
  ------------------
  |  Branch (1372:5): [True: 2.33k, False: 4.31k]
  ------------------
 1373|  2.33k|      static_cast<SparcOperand&>(*Operands[*(p + 1)]).addImmOperands(Inst, 1);
 1374|  2.33k|      break;
 1375|  1.14k|    case CVT_imm_95_8:
  ------------------
  |  Branch (1375:5): [True: 1.14k, False: 5.49k]
  ------------------
 1376|  1.14k|      Inst.addOperand(MCOperand::createImm(8));
 1377|  1.14k|      break;
 1378|     20|    case CVT_imm_95_13:
  ------------------
  |  Branch (1378:5): [True: 20, False: 6.62k]
  ------------------
 1379|     20|      Inst.addOperand(MCOperand::createImm(13));
 1380|     20|      break;
 1381|    201|    case CVT_imm_95_5:
  ------------------
  |  Branch (1381:5): [True: 201, False: 6.44k]
  ------------------
 1382|    201|      Inst.addOperand(MCOperand::createImm(5));
 1383|    201|      break;
 1384|     78|    case CVT_imm_95_1:
  ------------------
  |  Branch (1384:5): [True: 78, False: 6.56k]
  ------------------
 1385|     78|      Inst.addOperand(MCOperand::createImm(1));
 1386|     78|      break;
 1387|     41|    case CVT_imm_95_10:
  ------------------
  |  Branch (1387:5): [True: 41, False: 6.60k]
  ------------------
 1388|     41|      Inst.addOperand(MCOperand::createImm(10));
 1389|     41|      break;
 1390|      3|    case CVT_imm_95_11:
  ------------------
  |  Branch (1390:5): [True: 3, False: 6.64k]
  ------------------
 1391|      3|      Inst.addOperand(MCOperand::createImm(11));
 1392|      3|      break;
 1393|      3|    case CVT_imm_95_12:
  ------------------
  |  Branch (1393:5): [True: 3, False: 6.64k]
  ------------------
 1394|      3|      Inst.addOperand(MCOperand::createImm(12));
 1395|      3|      break;
 1396|    434|    case CVT_imm_95_3:
  ------------------
  |  Branch (1396:5): [True: 434, False: 6.21k]
  ------------------
 1397|    434|      Inst.addOperand(MCOperand::createImm(3));
 1398|    434|      break;
 1399|     37|    case CVT_imm_95_2:
  ------------------
  |  Branch (1399:5): [True: 37, False: 6.60k]
  ------------------
 1400|     37|      Inst.addOperand(MCOperand::createImm(2));
 1401|     37|      break;
 1402|      3|    case CVT_imm_95_4:
  ------------------
  |  Branch (1402:5): [True: 3, False: 6.64k]
  ------------------
 1403|      3|      Inst.addOperand(MCOperand::createImm(4));
 1404|      3|      break;
 1405|      2|    case CVT_imm_95_0:
  ------------------
  |  Branch (1405:5): [True: 2, False: 6.64k]
  ------------------
 1406|      2|      Inst.addOperand(MCOperand::createImm(0));
 1407|      2|      break;
 1408|     38|    case CVT_imm_95_9:
  ------------------
  |  Branch (1408:5): [True: 38, False: 6.60k]
  ------------------
 1409|     38|      Inst.addOperand(MCOperand::createImm(9));
 1410|     38|      break;
 1411|     18|    case CVT_imm_95_6:
  ------------------
  |  Branch (1411:5): [True: 18, False: 6.62k]
  ------------------
 1412|     18|      Inst.addOperand(MCOperand::createImm(6));
 1413|     18|      break;
 1414|     12|    case CVT_imm_95_14:
  ------------------
  |  Branch (1414:5): [True: 12, False: 6.63k]
  ------------------
 1415|     12|      Inst.addOperand(MCOperand::createImm(14));
 1416|     12|      break;
 1417|  1.13k|    case CVT_regG0:
  ------------------
  |  Branch (1417:5): [True: 1.13k, False: 5.50k]
  ------------------
 1418|  1.13k|      Inst.addOperand(MCOperand::createReg(SP::G0));
 1419|  1.13k|      break;
 1420|    223|    case CVT_imm_95_15:
  ------------------
  |  Branch (1420:5): [True: 223, False: 6.42k]
  ------------------
 1421|    223|      Inst.addOperand(MCOperand::createImm(15));
 1422|    223|      break;
 1423|     43|    case CVT_imm_95_7:
  ------------------
  |  Branch (1423:5): [True: 43, False: 6.60k]
  ------------------
 1424|     43|      Inst.addOperand(MCOperand::createImm(7));
 1425|     43|      break;
 1426|     25|    case CVT_regO7:
  ------------------
  |  Branch (1426:5): [True: 25, False: 6.62k]
  ------------------
 1427|     25|      Inst.addOperand(MCOperand::createReg(SP::O7));
 1428|     25|      break;
 1429|     30|    case CVT_95_addMEMriOperands:
  ------------------
  |  Branch (1429:5): [True: 30, False: 6.61k]
  ------------------
 1430|     30|      static_cast<SparcOperand&>(*Operands[*(p + 1)]).addMEMriOperands(Inst, 2);
 1431|     30|      break;
 1432|    796|    case CVT_95_addMEMrrOperands:
  ------------------
  |  Branch (1432:5): [True: 796, False: 5.85k]
  ------------------
 1433|    796|      static_cast<SparcOperand&>(*Operands[*(p + 1)]).addMEMrrOperands(Inst, 2);
 1434|    796|      break;
 1435|      0|    case CVT_regFCC0:
  ------------------
  |  Branch (1435:5): [True: 0, False: 6.64k]
  ------------------
 1436|      0|      Inst.addOperand(MCOperand::createReg(SP::FCC0));
 1437|      0|      break;
 1438|  6.64k|    }
 1439|  6.64k|  }
 1440|  3.39k|}

SparcMCTargetDesc.cpp:_ZN7llvm_ksL20InitSparcMCInstrInfoEPNS_11MCInstrInfoE:
 1264|  12.6k|static inline void InitSparcMCInstrInfo(MCInstrInfo *II) {
 1265|  12.6k|  II->InitMCInstrInfo(SparcInsts, NULL, NULL, 546);
 1266|  12.6k|}

SparcMCCodeEmitter.cpp:_ZNK12_GLOBAL__N_118SparcMCCodeEmitter21getBinaryCodeForInstrERKN7llvm_ks6MCInstERNS1_15SmallVectorImplINS1_7MCFixupEEERKNS1_15MCSubtargetInfoE:
   11|  3.39k|    const MCSubtargetInfo &STI) const {
   12|  3.39k|  static const uint64_t InstBits[] = {
   13|  3.39k|    UINT64_C(0),
   14|  3.39k|    UINT64_C(0),
   15|  3.39k|    UINT64_C(0),
   16|  3.39k|    UINT64_C(0),
   17|  3.39k|    UINT64_C(0),
   18|  3.39k|    UINT64_C(0),
   19|  3.39k|    UINT64_C(0),
   20|  3.39k|    UINT64_C(0),
   21|  3.39k|    UINT64_C(0),
   22|  3.39k|    UINT64_C(0),
   23|  3.39k|    UINT64_C(0),
   24|  3.39k|    UINT64_C(0),
   25|  3.39k|    UINT64_C(0),
   26|  3.39k|    UINT64_C(0),
   27|  3.39k|    UINT64_C(0),
   28|  3.39k|    UINT64_C(0),
   29|  3.39k|    UINT64_C(0),
   30|  3.39k|    UINT64_C(0),
   31|  3.39k|    UINT64_C(0),
   32|  3.39k|    UINT64_C(0),
   33|  3.39k|    UINT64_C(0),
   34|  3.39k|    UINT64_C(0),
   35|  3.39k|    UINT64_C(0),
   36|  3.39k|    UINT64_C(0),
   37|  3.39k|    UINT64_C(2155880448),	// ADDCCri
   38|  3.39k|    UINT64_C(2155872256),	// ADDCCrr
   39|  3.39k|    UINT64_C(2151686144),	// ADDCri
   40|  3.39k|    UINT64_C(2151677952),	// ADDCrr
   41|  3.39k|    UINT64_C(2160074752),	// ADDEri
   42|  3.39k|    UINT64_C(2160066560),	// ADDErr
   43|  3.39k|    UINT64_C(2175795744),	// ADDXC
   44|  3.39k|    UINT64_C(2175795808),	// ADDXCCC
   45|  3.39k|    UINT64_C(2147491840),	// ADDXri
   46|  3.39k|    UINT64_C(2147483648),	// ADDXrr
   47|  3.39k|    UINT64_C(2147491840),	// ADDri
   48|  3.39k|    UINT64_C(2147483648),	// ADDrr
   49|  3.39k|    UINT64_C(0),
   50|  3.39k|    UINT64_C(0),
   51|  3.39k|    UINT64_C(2175795968),	// ALIGNADDR
   52|  3.39k|    UINT64_C(2175796032),	// ALIGNADDRL
   53|  3.39k|    UINT64_C(2156404736),	// ANDCCri
   54|  3.39k|    UINT64_C(2156396544),	// ANDCCrr
   55|  3.39k|    UINT64_C(2158501888),	// ANDNCCri
   56|  3.39k|    UINT64_C(2158493696),	// ANDNCCrr
   57|  3.39k|    UINT64_C(2150113280),	// ANDNri
   58|  3.39k|    UINT64_C(2150105088),	// ANDNrr
   59|  3.39k|    UINT64_C(2150105088),	// ANDXNrr
   60|  3.39k|    UINT64_C(2148016128),	// ANDXri
   61|  3.39k|    UINT64_C(2148007936),	// ANDXrr
   62|  3.39k|    UINT64_C(2148016128),	// ANDri
   63|  3.39k|    UINT64_C(2148007936),	// ANDrr
   64|  3.39k|    UINT64_C(2175795776),	// ARRAY16
   65|  3.39k|    UINT64_C(2175795840),	// ARRAY32
   66|  3.39k|    UINT64_C(2175795712),	// ARRAY8
   67|  3.39k|    UINT64_C(0),
   68|  3.39k|    UINT64_C(0),
   69|  3.39k|    UINT64_C(0),
   70|  3.39k|    UINT64_C(0),
   71|  3.39k|    UINT64_C(0),
   72|  3.39k|    UINT64_C(0),
   73|  3.39k|    UINT64_C(0),
   74|  3.39k|    UINT64_C(0),
   75|  3.39k|    UINT64_C(0),
   76|  3.39k|    UINT64_C(0),
   77|  3.39k|    UINT64_C(0),
   78|  3.39k|    UINT64_C(0),
   79|  3.39k|    UINT64_C(0),
   80|  3.39k|    UINT64_C(0),
   81|  3.39k|    UINT64_C(0),
   82|  3.39k|    UINT64_C(0),
   83|  3.39k|    UINT64_C(0),
   84|  3.39k|    UINT64_C(0),
   85|  3.39k|    UINT64_C(0),
   86|  3.39k|    UINT64_C(0),
   87|  3.39k|    UINT64_C(0),
   88|  3.39k|    UINT64_C(276824064),	// BA
   89|  3.39k|    UINT64_C(8388608),	// BCOND
   90|  3.39k|    UINT64_C(545259520),	// BCONDA
   91|  3.39k|    UINT64_C(2176851968),	// BINDri
   92|  3.39k|    UINT64_C(2176843776),	// BINDrr
   93|  3.39k|    UINT64_C(2175796000),	// BMASK
   94|  3.39k|    UINT64_C(21495808),	// BPFCC
   95|  3.39k|    UINT64_C(558366720),	// BPFCCA
   96|  3.39k|    UINT64_C(557842432),	// BPFCCANT
   97|  3.39k|    UINT64_C(20971520),	// BPFCCNT
   98|  3.39k|    UINT64_C(784334848),	// BPGEZapn
   99|  3.39k|    UINT64_C(784859136),	// BPGEZapt
  100|  3.39k|    UINT64_C(247463936),	// BPGEZnapn
  101|  3.39k|    UINT64_C(247988224),	// BPGEZnapt
  102|  3.39k|    UINT64_C(750780416),	// BPGZapn
  103|  3.39k|    UINT64_C(751304704),	// BPGZapt
  104|  3.39k|    UINT64_C(213909504),	// BPGZnapn
  105|  3.39k|    UINT64_C(214433792),	// BPGZnapt
  106|  3.39k|    UINT64_C(4718592),	// BPICC
  107|  3.39k|    UINT64_C(541589504),	// BPICCA
  108|  3.39k|    UINT64_C(541065216),	// BPICCANT
  109|  3.39k|    UINT64_C(4194304),	// BPICCNT
  110|  3.39k|    UINT64_C(616562688),	// BPLEZapn
  111|  3.39k|    UINT64_C(617086976),	// BPLEZapt
  112|  3.39k|    UINT64_C(79691776),	// BPLEZnapn
  113|  3.39k|    UINT64_C(80216064),	// BPLEZnapt
  114|  3.39k|    UINT64_C(650117120),	// BPLZapn
  115|  3.39k|    UINT64_C(650641408),	// BPLZapt
  116|  3.39k|    UINT64_C(113246208),	// BPLZnapn
  117|  3.39k|    UINT64_C(113770496),	// BPLZnapt
  118|  3.39k|    UINT64_C(717225984),	// BPNZapn
  119|  3.39k|    UINT64_C(717750272),	// BPNZapt
  120|  3.39k|    UINT64_C(180355072),	// BPNZnapn
  121|  3.39k|    UINT64_C(180879360),	// BPNZnapt
  122|  3.39k|    UINT64_C(6815744),	// BPXCC
  123|  3.39k|    UINT64_C(543686656),	// BPXCCA
  124|  3.39k|    UINT64_C(543162368),	// BPXCCANT
  125|  3.39k|    UINT64_C(6291456),	// BPXCCNT
  126|  3.39k|    UINT64_C(583008256),	// BPZapn
  127|  3.39k|    UINT64_C(583532544),	// BPZapt
  128|  3.39k|    UINT64_C(46137344),	// BPZnapn
  129|  3.39k|    UINT64_C(46661632),	// BPZnapt
  130|  3.39k|    UINT64_C(2175796096),	// BSHUFFLE
  131|  3.39k|    UINT64_C(1073741824),	// CALL
  132|  3.39k|    UINT64_C(2680168448),	// CALLri
  133|  3.39k|    UINT64_C(2680160256),	// CALLrr
  134|  3.39k|    UINT64_C(3253735424),	// CASXrr
  135|  3.39k|    UINT64_C(3252686848),	// CASrr
  136|  3.39k|    UINT64_C(2175796128),	// CMASK16
  137|  3.39k|    UINT64_C(2175796192),	// CMASK32
  138|  3.39k|    UINT64_C(2175796064),	// CMASK8
  139|  3.39k|    UINT64_C(2157977600),	// CMPri
  140|  3.39k|    UINT64_C(2157969408),	// CMPrr
  141|  3.39k|    UINT64_C(2175795328),	// EDGE16
  142|  3.39k|    UINT64_C(2175795392),	// EDGE16L
  143|  3.39k|    UINT64_C(2175795424),	// EDGE16LN
  144|  3.39k|    UINT64_C(2175795360),	// EDGE16N
  145|  3.39k|    UINT64_C(2175795456),	// EDGE32
  146|  3.39k|    UINT64_C(2175795520),	// EDGE32L
  147|  3.39k|    UINT64_C(2175795552),	// EDGE32LN
  148|  3.39k|    UINT64_C(2175795488),	// EDGE32N
  149|  3.39k|    UINT64_C(2175795200),	// EDGE8
  150|  3.39k|    UINT64_C(2175795264),	// EDGE8L
  151|  3.39k|    UINT64_C(2175795296),	// EDGE8LN
  152|  3.39k|    UINT64_C(2175795232),	// EDGE8N
  153|  3.39k|    UINT64_C(2174746944),	// FABSD
  154|  3.39k|    UINT64_C(2174746976),	// FABSQ
  155|  3.39k|    UINT64_C(2174746912),	// FABSS
  156|  3.39k|    UINT64_C(2174748736),	// FADDD
  157|  3.39k|    UINT64_C(2174748768),	// FADDQ
  158|  3.39k|    UINT64_C(2174748704),	// FADDS
  159|  3.39k|    UINT64_C(2175797504),	// FALIGNADATA
  160|  3.39k|    UINT64_C(2175798784),	// FAND
  161|  3.39k|    UINT64_C(2175798528),	// FANDNOT1
  162|  3.39k|    UINT64_C(2175798560),	// FANDNOT1S
  163|  3.39k|    UINT64_C(2175798400),	// FANDNOT2
  164|  3.39k|    UINT64_C(2175798432),	// FANDNOT2S
  165|  3.39k|    UINT64_C(2175798816),	// FANDS
  166|  3.39k|    UINT64_C(25165824),	// FBCOND
  167|  3.39k|    UINT64_C(562036736),	// FBCONDA
  168|  3.39k|    UINT64_C(2175797376),	// FCHKSM16
  169|  3.39k|    UINT64_C(2175273536),	// FCMPD
  170|  3.39k|    UINT64_C(2175796544),	// FCMPEQ16
  171|  3.39k|    UINT64_C(2175796672),	// FCMPEQ32
  172|  3.39k|    UINT64_C(2175796480),	// FCMPGT16
  173|  3.39k|    UINT64_C(2175796608),	// FCMPGT32
  174|  3.39k|    UINT64_C(2175796224),	// FCMPLE16
  175|  3.39k|    UINT64_C(2175796352),	// FCMPLE32
  176|  3.39k|    UINT64_C(2175796288),	// FCMPNE16
  177|  3.39k|    UINT64_C(2175796416),	// FCMPNE32
  178|  3.39k|    UINT64_C(2175273568),	// FCMPQ
  179|  3.39k|    UINT64_C(2175273504),	// FCMPS
  180|  3.39k|    UINT64_C(2174749120),	// FDIVD
  181|  3.39k|    UINT64_C(2174749152),	// FDIVQ
  182|  3.39k|    UINT64_C(2174749088),	// FDIVS
  183|  3.39k|    UINT64_C(2174750144),	// FDMULQ
  184|  3.39k|    UINT64_C(2174753344),	// FDTOI
  185|  3.39k|    UINT64_C(2174753216),	// FDTOQ
  186|  3.39k|    UINT64_C(2174752960),	// FDTOS
  187|  3.39k|    UINT64_C(2174750784),	// FDTOX
  188|  3.39k|    UINT64_C(2175797664),	// FEXPAND
  189|  3.39k|    UINT64_C(2174749760),	// FHADDD
  190|  3.39k|    UINT64_C(2174749728),	// FHADDS
  191|  3.39k|    UINT64_C(2174749888),	// FHSUBD
  192|  3.39k|    UINT64_C(2174749856),	// FHSUBS
  193|  3.39k|    UINT64_C(2174753024),	// FITOD
  194|  3.39k|    UINT64_C(2174753152),	// FITOQ
  195|  3.39k|    UINT64_C(2174752896),	// FITOS
  196|  3.39k|    UINT64_C(2175806016),	// FLCMPD
  197|  3.39k|    UINT64_C(2175805984),	// FLCMPS
  198|  3.39k|    UINT64_C(2178416640),	// FLUSH
  199|  3.39k|    UINT64_C(2170028032),	// FLUSHW
  200|  3.39k|    UINT64_C(2178424832),	// FLUSHri
  201|  3.39k|    UINT64_C(2178416640),	// FLUSHrr
  202|  3.39k|    UINT64_C(2175797248),	// FMEAN16
  203|  3.39k|    UINT64_C(2174746688),	// FMOVD
  204|  3.39k|    UINT64_C(2175270976),	// FMOVD_FCC
  205|  3.39k|    UINT64_C(2175279168),	// FMOVD_ICC
  206|  3.39k|    UINT64_C(2175283264),	// FMOVD_XCC
  207|  3.39k|    UINT64_C(2174746720),	// FMOVQ
  208|  3.39k|    UINT64_C(2175271008),	// FMOVQ_FCC
  209|  3.39k|    UINT64_C(2175279200),	// FMOVQ_ICC
  210|  3.39k|    UINT64_C(2175283296),	// FMOVQ_XCC
  211|  3.39k|    UINT64_C(2175278272),	// FMOVRGEZD
  212|  3.39k|    UINT64_C(2175278304),	// FMOVRGEZQ
  213|  3.39k|    UINT64_C(2175278240),	// FMOVRGEZS
  214|  3.39k|    UINT64_C(2175277248),	// FMOVRGZD
  215|  3.39k|    UINT64_C(2175277280),	// FMOVRGZQ
  216|  3.39k|    UINT64_C(2175277216),	// FMOVRGZS
  217|  3.39k|    UINT64_C(2175273152),	// FMOVRLEZD
  218|  3.39k|    UINT64_C(2175273184),	// FMOVRLEZQ
  219|  3.39k|    UINT64_C(2175273120),	// FMOVRLEZS
  220|  3.39k|    UINT64_C(2175274176),	// FMOVRLZD
  221|  3.39k|    UINT64_C(2175274208),	// FMOVRLZQ
  222|  3.39k|    UINT64_C(2175274144),	// FMOVRLZS
  223|  3.39k|    UINT64_C(2175276224),	// FMOVRNZD
  224|  3.39k|    UINT64_C(2175276256),	// FMOVRNZQ
  225|  3.39k|    UINT64_C(2175276192),	// FMOVRNZS
  226|  3.39k|    UINT64_C(2175272128),	// FMOVRZD
  227|  3.39k|    UINT64_C(2175272160),	// FMOVRZQ
  228|  3.39k|    UINT64_C(2175272096),	// FMOVRZS
  229|  3.39k|    UINT64_C(2174746656),	// FMOVS
  230|  3.39k|    UINT64_C(2175270944),	// FMOVS_FCC
  231|  3.39k|    UINT64_C(2175279136),	// FMOVS_ICC
  232|  3.39k|    UINT64_C(2175283232),	// FMOVS_XCC
  233|  3.39k|    UINT64_C(2175796928),	// FMUL8SUX16
  234|  3.39k|    UINT64_C(2175796960),	// FMUL8ULX16
  235|  3.39k|    UINT64_C(2175796768),	// FMUL8X16
  236|  3.39k|    UINT64_C(2175796896),	// FMUL8X16AL
  237|  3.39k|    UINT64_C(2175796832),	// FMUL8X16AU
  238|  3.39k|    UINT64_C(2174748992),	// FMULD
  239|  3.39k|    UINT64_C(2175796992),	// FMULD8SUX16
  240|  3.39k|    UINT64_C(2175797024),	// FMULD8ULX16
  241|  3.39k|    UINT64_C(2174749024),	// FMULQ
  242|  3.39k|    UINT64_C(2174748960),	// FMULS
  243|  3.39k|    UINT64_C(2174749248),	// FNADDD
  244|  3.39k|    UINT64_C(2174749216),	// FNADDS
  245|  3.39k|    UINT64_C(2175798720),	// FNAND
  246|  3.39k|    UINT64_C(2175798752),	// FNANDS
  247|  3.39k|    UINT64_C(2174746816),	// FNEGD
  248|  3.39k|    UINT64_C(2174746848),	// FNEGQ
  249|  3.39k|    UINT64_C(2174746784),	// FNEGS
  250|  3.39k|    UINT64_C(2174750272),	// FNHADDD
  251|  3.39k|    UINT64_C(2174750240),	// FNHADDS
  252|  3.39k|    UINT64_C(2174749504),	// FNMULD
  253|  3.39k|    UINT64_C(2174749472),	// FNMULS
  254|  3.39k|    UINT64_C(2175798336),	// FNOR
  255|  3.39k|    UINT64_C(2175798368),	// FNORS
  256|  3.39k|    UINT64_C(2175798592),	// FNOT1
  257|  3.39k|    UINT64_C(2175798624),	// FNOT1S
  258|  3.39k|    UINT64_C(2175798464),	// FNOT2
  259|  3.39k|    UINT64_C(2175798496),	// FNOT2S
  260|  3.39k|    UINT64_C(2174750496),	// FNSMULD
  261|  3.39k|    UINT64_C(2175799232),	// FONE
  262|  3.39k|    UINT64_C(2175799264),	// FONES
  263|  3.39k|    UINT64_C(2175799168),	// FOR
  264|  3.39k|    UINT64_C(2175799104),	// FORNOT1
  265|  3.39k|    UINT64_C(2175799136),	// FORNOT1S
  266|  3.39k|    UINT64_C(2175798976),	// FORNOT2
  267|  3.39k|    UINT64_C(2175799008),	// FORNOT2S
  268|  3.39k|    UINT64_C(2175799200),	// FORS
  269|  3.39k|    UINT64_C(2175797088),	// FPACK16
  270|  3.39k|    UINT64_C(2175797056),	// FPACK32
  271|  3.39k|    UINT64_C(2175797152),	// FPACKFIX
  272|  3.39k|    UINT64_C(2175797760),	// FPADD16
  273|  3.39k|    UINT64_C(2175797792),	// FPADD16S
  274|  3.39k|    UINT64_C(2175797824),	// FPADD32
  275|  3.39k|    UINT64_C(2175797856),	// FPADD32S
  276|  3.39k|    UINT64_C(2175797312),	// FPADD64
  277|  3.39k|    UINT64_C(2175797600),	// FPMERGE
  278|  3.39k|    UINT64_C(2175797888),	// FPSUB16
  279|  3.39k|    UINT64_C(2175797920),	// FPSUB16S
  280|  3.39k|    UINT64_C(2175797952),	// FPSUB32
  281|  3.39k|    UINT64_C(2175797984),	// FPSUB32S
  282|  3.39k|    UINT64_C(2174753120),	// FQTOD
  283|  3.39k|    UINT64_C(2174753376),	// FQTOI
  284|  3.39k|    UINT64_C(2174752992),	// FQTOS
  285|  3.39k|    UINT64_C(2174750816),	// FQTOX
  286|  3.39k|    UINT64_C(2175796512),	// FSLAS16
  287|  3.39k|    UINT64_C(2175796640),	// FSLAS32
  288|  3.39k|    UINT64_C(2175796256),	// FSLL16
  289|  3.39k|    UINT64_C(2175796384),	// FSLL32
  290|  3.39k|    UINT64_C(2174749984),	// FSMULD
  291|  3.39k|    UINT64_C(2174747968),	// FSQRTD
  292|  3.39k|    UINT64_C(2174748000),	// FSQRTQ
  293|  3.39k|    UINT64_C(2174747936),	// FSQRTS
  294|  3.39k|    UINT64_C(2175796576),	// FSRA16
  295|  3.39k|    UINT64_C(2175796704),	// FSRA32
  296|  3.39k|    UINT64_C(2175798912),	// FSRC1
  297|  3.39k|    UINT64_C(2175798944),	// FSRC1S
  298|  3.39k|    UINT64_C(2175799040),	// FSRC2
  299|  3.39k|    UINT64_C(2175799072),	// FSRC2S
  300|  3.39k|    UINT64_C(2175796320),	// FSRL16
  301|  3.39k|    UINT64_C(2175796448),	// FSRL32
  302|  3.39k|    UINT64_C(2174753056),	// FSTOD
  303|  3.39k|    UINT64_C(2174753312),	// FSTOI
  304|  3.39k|    UINT64_C(2174753184),	// FSTOQ
  305|  3.39k|    UINT64_C(2174750752),	// FSTOX
  306|  3.39k|    UINT64_C(2174748864),	// FSUBD
  307|  3.39k|    UINT64_C(2174748896),	// FSUBQ
  308|  3.39k|    UINT64_C(2174748832),	// FSUBS
  309|  3.39k|    UINT64_C(2175798848),	// FXNOR
  310|  3.39k|    UINT64_C(2175798880),	// FXNORS
  311|  3.39k|    UINT64_C(2175798656),	// FXOR
  312|  3.39k|    UINT64_C(2175798688),	// FXORS
  313|  3.39k|    UINT64_C(2174750976),	// FXTOD
  314|  3.39k|    UINT64_C(2174751104),	// FXTOQ
  315|  3.39k|    UINT64_C(2174750848),	// FXTOS
  316|  3.39k|    UINT64_C(2175798272),	// FZERO
  317|  3.39k|    UINT64_C(2175798304),	// FZEROS
  318|  3.39k|    UINT64_C(0),
  319|  3.39k|    UINT64_C(2176851968),	// JMPLri
  320|  3.39k|    UINT64_C(2176843776),	// JMPLrr
  321|  3.39k|    UINT64_C(3229614080),	// LDArr
  322|  3.39k|    UINT64_C(3231186944),	// LDDArr
  323|  3.39k|    UINT64_C(3247964160),	// LDDFArr
  324|  3.39k|    UINT64_C(3239583744),	// LDDFri
  325|  3.39k|    UINT64_C(3239575552),	// LDDFrr
  326|  3.39k|    UINT64_C(3222806528),	// LDDri
  327|  3.39k|    UINT64_C(3222798336),	// LDDrr
  328|  3.39k|    UINT64_C(3246391296),	// LDFArr
  329|  3.39k|    UINT64_C(3238535168),	// LDFSRri
  330|  3.39k|    UINT64_C(3238526976),	// LDFSRrr
  331|  3.39k|    UINT64_C(3238010880),	// LDFri
  332|  3.39k|    UINT64_C(3238002688),	// LDFrr
  333|  3.39k|    UINT64_C(3247439872),	// LDQFArr
  334|  3.39k|    UINT64_C(3239059456),	// LDQFri
  335|  3.39k|    UINT64_C(3239051264),	// LDQFrr
  336|  3.39k|    UINT64_C(3234332672),	// LDSBArr
  337|  3.39k|    UINT64_C(3225952256),	// LDSBri
  338|  3.39k|    UINT64_C(3225944064),	// LDSBrr
  339|  3.39k|    UINT64_C(3234856960),	// LDSHArr
  340|  3.39k|    UINT64_C(3226476544),	// LDSHri
  341|  3.39k|    UINT64_C(3226468352),	// LDSHrr
  342|  3.39k|    UINT64_C(3236429824),	// LDSTUBArr
  343|  3.39k|    UINT64_C(3228049408),	// LDSTUBri
  344|  3.39k|    UINT64_C(3228041216),	// LDSTUBrr
  345|  3.39k|    UINT64_C(3225427968),	// LDSWri
  346|  3.39k|    UINT64_C(3225419776),	// LDSWrr
  347|  3.39k|    UINT64_C(3230138368),	// LDUBArr
  348|  3.39k|    UINT64_C(3221757952),	// LDUBri
  349|  3.39k|    UINT64_C(3221749760),	// LDUBrr
  350|  3.39k|    UINT64_C(3230662656),	// LDUHArr
  351|  3.39k|    UINT64_C(3222282240),	// LDUHri
  352|  3.39k|    UINT64_C(3222274048),	// LDUHrr
  353|  3.39k|    UINT64_C(3272089600),	// LDXFSRri
  354|  3.39k|    UINT64_C(3272081408),	// LDXFSRrr
  355|  3.39k|    UINT64_C(3227000832),	// LDXri
  356|  3.39k|    UINT64_C(3226992640),	// LDXrr
  357|  3.39k|    UINT64_C(3221233664),	// LDri
  358|  3.39k|    UINT64_C(3221225472),	// LDrr
  359|  3.39k|    UINT64_C(2147491840),	// LEAX_ADDri
  360|  3.39k|    UINT64_C(2147491840),	// LEA_ADDri
  361|  3.39k|    UINT64_C(2175795936),	// LZCNT
  362|  3.39k|    UINT64_C(2168709120),	// MEMBARi
  363|  3.39k|    UINT64_C(2175803904),	// MOVDTOX
  364|  3.39k|    UINT64_C(2170560512),	// MOVFCCri
  365|  3.39k|    UINT64_C(2170552320),	// MOVFCCrr
  366|  3.39k|    UINT64_C(2170822656),	// MOVICCri
  367|  3.39k|    UINT64_C(2170814464),	// MOVICCrr
  368|  3.39k|    UINT64_C(2172140544),	// MOVRGEZri
  369|  3.39k|    UINT64_C(2172132352),	// MOVRGEZrr
  370|  3.39k|    UINT64_C(2172139520),	// MOVRGZri
  371|  3.39k|    UINT64_C(2172131328),	// MOVRGZrr
  372|  3.39k|    UINT64_C(2172135424),	// MOVRLEZri
  373|  3.39k|    UINT64_C(2172127232),	// MOVRLEZrr
  374|  3.39k|    UINT64_C(2172136448),	// MOVRLZri
  375|  3.39k|    UINT64_C(2172128256),	// MOVRLZrr
  376|  3.39k|    UINT64_C(2172138496),	// MOVRNZri
  377|  3.39k|    UINT64_C(2172130304),	// MOVRNZrr
  378|  3.39k|    UINT64_C(2172134400),	// MOVRRZri
  379|  3.39k|    UINT64_C(2172126208),	// MOVRRZrr
  380|  3.39k|    UINT64_C(2175804000),	// MOVSTOSW
  381|  3.39k|    UINT64_C(2175803936),	// MOVSTOUW
  382|  3.39k|    UINT64_C(2175804192),	// MOVWTOS
  383|  3.39k|    UINT64_C(2170826752),	// MOVXCCri
  384|  3.39k|    UINT64_C(2170818560),	// MOVXCCrr
  385|  3.39k|    UINT64_C(2175804160),	// MOVXTOD
  386|  3.39k|    UINT64_C(2166366208),	// MULSCCri
  387|  3.39k|    UINT64_C(2166358016),	// MULSCCrr
  388|  3.39k|    UINT64_C(2152210432),	// MULXri
  389|  3.39k|    UINT64_C(2152202240),	// MULXrr
  390|  3.39k|    UINT64_C(16777216),	// NOP
  391|  3.39k|    UINT64_C(2156929024),	// ORCCri
  392|  3.39k|    UINT64_C(2156920832),	// ORCCrr
  393|  3.39k|    UINT64_C(2159026176),	// ORNCCri
  394|  3.39k|    UINT64_C(2159017984),	// ORNCCrr
  395|  3.39k|    UINT64_C(2150637568),	// ORNri
  396|  3.39k|    UINT64_C(2150629376),	// ORNrr
  397|  3.39k|    UINT64_C(2150629376),	// ORXNrr
  398|  3.39k|    UINT64_C(2148540416),	// ORXri
  399|  3.39k|    UINT64_C(2148532224),	// ORXrr
  400|  3.39k|    UINT64_C(2148540416),	// ORri
  401|  3.39k|    UINT64_C(2148532224),	// ORrr
  402|  3.39k|    UINT64_C(2175797184),	// PDIST
  403|  3.39k|    UINT64_C(2175797216),	// PDISTN
  404|  3.39k|    UINT64_C(2171600896),	// POPCrr
  405|  3.39k|    UINT64_C(2168455168),	// RDASR
  406|  3.39k|    UINT64_C(2169503744),	// RDPR
  407|  3.39k|    UINT64_C(2168979456),	// RDPSR
  408|  3.39k|    UINT64_C(2170028032),	// RDTBR
  409|  3.39k|    UINT64_C(2169503744),	// RDWIM
  410|  3.39k|    UINT64_C(2179473408),	// RESTOREri
  411|  3.39k|    UINT64_C(2179465216),	// RESTORErr
  412|  3.39k|    UINT64_C(2177359872),	// RET
  413|  3.39k|    UINT64_C(2177097728),	// RETL
  414|  3.39k|    UINT64_C(2177376256),	// RETTri
  415|  3.39k|    UINT64_C(2177368064),	// RETTrr
  416|  3.39k|    UINT64_C(2178949120),	// SAVEri
  417|  3.39k|    UINT64_C(2178940928),	// SAVErr
  418|  3.39k|    UINT64_C(2163744768),	// SDIVCCri
  419|  3.39k|    UINT64_C(2163736576),	// SDIVCCrr
  420|  3.39k|    UINT64_C(2171084800),	// SDIVXri
  421|  3.39k|    UINT64_C(2171076608),	// SDIVXrr
  422|  3.39k|    UINT64_C(2155356160),	// SDIVri
  423|  3.39k|    UINT64_C(2155347968),	// SDIVrr
  424|  3.39k|    UINT64_C(0),
  425|  3.39k|    UINT64_C(0),
  426|  3.39k|    UINT64_C(0),
  427|  3.39k|    UINT64_C(0),
  428|  3.39k|    UINT64_C(0),
  429|  3.39k|    UINT64_C(0),
  430|  3.39k|    UINT64_C(0),
  431|  3.39k|    UINT64_C(0),
  432|  3.39k|    UINT64_C(0),
  433|  3.39k|    UINT64_C(16777216),	// SETHIXi
  434|  3.39k|    UINT64_C(16777216),	// SETHIi
  435|  3.39k|    UINT64_C(2175799296),	// SHUTDOWN
  436|  3.39k|    UINT64_C(2175799328),	// SIAM
  437|  3.39k|    UINT64_C(2166894592),	// SLLXri
  438|  3.39k|    UINT64_C(2166886400),	// SLLXrr
  439|  3.39k|    UINT64_C(2166890496),	// SLLri
  440|  3.39k|    UINT64_C(2166882304),	// SLLrr
  441|  3.39k|    UINT64_C(2161647616),	// SMULCCri
  442|  3.39k|    UINT64_C(2161639424),	// SMULCCrr
  443|  3.39k|    UINT64_C(2153259008),	// SMULri
  444|  3.39k|    UINT64_C(2153250816),	// SMULrr
  445|  3.39k|    UINT64_C(2167943168),	// SRAXri
  446|  3.39k|    UINT64_C(2167934976),	// SRAXrr
  447|  3.39k|    UINT64_C(2167939072),	// SRAri
  448|  3.39k|    UINT64_C(2167930880),	// SRArr
  449|  3.39k|    UINT64_C(2167418880),	// SRLXri
  450|  3.39k|    UINT64_C(2167410688),	// SRLXrr
  451|  3.39k|    UINT64_C(2167414784),	// SRLri
  452|  3.39k|    UINT64_C(2167406592),	// SRLrr
  453|  3.39k|    UINT64_C(3231711232),	// STArr
  454|  3.39k|    UINT64_C(2168700928),	// STBAR
  455|  3.39k|    UINT64_C(3232235520),	// STBArr
  456|  3.39k|    UINT64_C(3223855104),	// STBri
  457|  3.39k|    UINT64_C(3223846912),	// STBrr
  458|  3.39k|    UINT64_C(3233284096),	// STDArr
  459|  3.39k|    UINT64_C(3250061312),	// STDFArr
  460|  3.39k|    UINT64_C(3241680896),	// STDFri
  461|  3.39k|    UINT64_C(3241672704),	// STDFrr
  462|  3.39k|    UINT64_C(3224903680),	// STDri
  463|  3.39k|    UINT64_C(3224895488),	// STDrr
  464|  3.39k|    UINT64_C(3248488448),	// STFArr
  465|  3.39k|    UINT64_C(3240632320),	// STFSRri
  466|  3.39k|    UINT64_C(3240624128),	// STFSRrr
  467|  3.39k|    UINT64_C(3240108032),	// STFri
  468|  3.39k|    UINT64_C(3240099840),	// STFrr
  469|  3.39k|    UINT64_C(3232759808),	// STHArr
  470|  3.39k|    UINT64_C(3224379392),	// STHri
  471|  3.39k|    UINT64_C(3224371200),	// STHrr
  472|  3.39k|    UINT64_C(3249537024),	// STQFArr
  473|  3.39k|    UINT64_C(3241156608),	// STQFri
  474|  3.39k|    UINT64_C(3241148416),	// STQFrr
  475|  3.39k|    UINT64_C(3274186752),	// STXFSRri
  476|  3.39k|    UINT64_C(3274178560),	// STXFSRrr
  477|  3.39k|    UINT64_C(3228573696),	// STXri
  478|  3.39k|    UINT64_C(3228565504),	// STXrr
  479|  3.39k|    UINT64_C(3223330816),	// STri
  480|  3.39k|    UINT64_C(3223322624),	// STrr
  481|  3.39k|    UINT64_C(2157977600),	// SUBCCri
  482|  3.39k|    UINT64_C(2157969408),	// SUBCCrr
  483|  3.39k|    UINT64_C(2153783296),	// SUBCri
  484|  3.39k|    UINT64_C(2153775104),	// SUBCrr
  485|  3.39k|    UINT64_C(2162171904),	// SUBEri
  486|  3.39k|    UINT64_C(2162163712),	// SUBErr
  487|  3.39k|    UINT64_C(2149588992),	// SUBXri
  488|  3.39k|    UINT64_C(2149580800),	// SUBXrr
  489|  3.39k|    UINT64_C(2149588992),	// SUBri
  490|  3.39k|    UINT64_C(2149580800),	// SUBrr
  491|  3.39k|    UINT64_C(3237478400),	// SWAPArr
  492|  3.39k|    UINT64_C(3229097984),	// SWAPri
  493|  3.39k|    UINT64_C(3229089792),	// SWAPrr
  494|  3.39k|    UINT64_C(2177916931),	// TA3
  495|  3.39k|    UINT64_C(2446336005),	// TA5
  496|  3.39k|    UINT64_C(2165317632),	// TADDCCTVri
  497|  3.39k|    UINT64_C(2165309440),	// TADDCCTVrr
  498|  3.39k|    UINT64_C(2164269056),	// TADDCCri
  499|  3.39k|    UINT64_C(2164260864),	// TADDCCrr
  500|  3.39k|    UINT64_C(2177900544),	// TICCri
  501|  3.39k|    UINT64_C(2177892352),	// TICCrr
  502|  3.39k|    UINT64_C(2147483648),	// TLS_ADDXrr
  503|  3.39k|    UINT64_C(2147483648),	// TLS_ADDrr
  504|  3.39k|    UINT64_C(1073741824),	// TLS_CALL
  505|  3.39k|    UINT64_C(3226992640),	// TLS_LDXrr
  506|  3.39k|    UINT64_C(3221225472),	// TLS_LDrr
  507|  3.39k|    UINT64_C(2165841920),	// TSUBCCTVri
  508|  3.39k|    UINT64_C(2165833728),	// TSUBCCTVrr
  509|  3.39k|    UINT64_C(2164793344),	// TSUBCCri
  510|  3.39k|    UINT64_C(2164785152),	// TSUBCCrr
  511|  3.39k|    UINT64_C(2177904640),	// TXCCri
  512|  3.39k|    UINT64_C(2177896448),	// TXCCrr
  513|  3.39k|    UINT64_C(2163220480),	// UDIVCCri
  514|  3.39k|    UINT64_C(2163212288),	// UDIVCCrr
  515|  3.39k|    UINT64_C(2154307584),	// UDIVXri
  516|  3.39k|    UINT64_C(2154299392),	// UDIVXrr
  517|  3.39k|    UINT64_C(2154831872),	// UDIVri
  518|  3.39k|    UINT64_C(2154823680),	// UDIVrr
  519|  3.39k|    UINT64_C(2161123328),	// UMULCCri
  520|  3.39k|    UINT64_C(2161115136),	// UMULCCrr
  521|  3.39k|    UINT64_C(2175795904),	// UMULXHI
  522|  3.39k|    UINT64_C(2152734720),	// UMULri
  523|  3.39k|    UINT64_C(2152726528),	// UMULrr
  524|  3.39k|    UINT64_C(0),	// UNIMP
  525|  3.39k|    UINT64_C(2175273536),	// V9FCMPD
  526|  3.39k|    UINT64_C(2175273664),	// V9FCMPED
  527|  3.39k|    UINT64_C(2175273696),	// V9FCMPEQ
  528|  3.39k|    UINT64_C(2175273632),	// V9FCMPES
  529|  3.39k|    UINT64_C(2175273568),	// V9FCMPQ
  530|  3.39k|    UINT64_C(2175273504),	// V9FCMPS
  531|  3.39k|    UINT64_C(2175270976),	// V9FMOVD_FCC
  532|  3.39k|    UINT64_C(2175271008),	// V9FMOVQ_FCC
  533|  3.39k|    UINT64_C(2175270944),	// V9FMOVS_FCC
  534|  3.39k|    UINT64_C(2170560512),	// V9MOVFCCri
  535|  3.39k|    UINT64_C(2170552320),	// V9MOVFCCrr
  536|  3.39k|    UINT64_C(2172657664),	// WRASRri
  537|  3.39k|    UINT64_C(2172649472),	// WRASRrr
  538|  3.39k|    UINT64_C(2173706240),	// WRPRri
  539|  3.39k|    UINT64_C(2173698048),	// WRPRrr
  540|  3.39k|    UINT64_C(2173181952),	// WRPSRri
  541|  3.39k|    UINT64_C(2173173760),	// WRPSRrr
  542|  3.39k|    UINT64_C(2174230528),	// WRTBRri
  543|  3.39k|    UINT64_C(2174222336),	// WRTBRrr
  544|  3.39k|    UINT64_C(2173706240),	// WRWIMri
  545|  3.39k|    UINT64_C(2173698048),	// WRWIMrr
  546|  3.39k|    UINT64_C(2175804064),	// XMULX
  547|  3.39k|    UINT64_C(2175804128),	// XMULXHI
  548|  3.39k|    UINT64_C(2159550464),	// XNORCCri
  549|  3.39k|    UINT64_C(2159542272),	// XNORCCrr
  550|  3.39k|    UINT64_C(2151153664),	// XNORXrr
  551|  3.39k|    UINT64_C(2151161856),	// XNORri
  552|  3.39k|    UINT64_C(2151153664),	// XNORrr
  553|  3.39k|    UINT64_C(2157453312),	// XORCCri
  554|  3.39k|    UINT64_C(2157445120),	// XORCCrr
  555|  3.39k|    UINT64_C(2149064704),	// XORXri
  556|  3.39k|    UINT64_C(2149056512),	// XORXrr
  557|  3.39k|    UINT64_C(2149064704),	// XORri
  558|  3.39k|    UINT64_C(2149056512),	// XORrr
  559|  3.39k|    UINT64_C(0)
  560|  3.39k|  };
  561|  3.39k|  const unsigned opcode = MI.getOpcode();
  562|  3.39k|  uint64_t Value = InstBits[opcode];
  563|  3.39k|  uint64_t op = 0;
  564|  3.39k|  (void)op;  // suppress warning
  565|  3.39k|  switch (opcode) {
  566|     10|    case SP::FLUSH:
  ------------------
  |  Branch (566:5): [True: 10, False: 3.38k]
  ------------------
  567|     10|    case SP::FLUSHW:
  ------------------
  |  Branch (567:5): [True: 0, False: 3.39k]
  ------------------
  568|    106|    case SP::NOP:
  ------------------
  |  Branch (568:5): [True: 96, False: 3.29k]
  ------------------
  569|    106|    case SP::SHUTDOWN:
  ------------------
  |  Branch (569:5): [True: 0, False: 3.39k]
  ------------------
  570|    106|    case SP::SIAM:
  ------------------
  |  Branch (570:5): [True: 0, False: 3.39k]
  ------------------
  571|    106|    case SP::STBAR:
  ------------------
  |  Branch (571:5): [True: 0, False: 3.39k]
  ------------------
  572|    106|    case SP::TA3:
  ------------------
  |  Branch (572:5): [True: 0, False: 3.39k]
  ------------------
  573|    106|    case SP::TA5: {
  ------------------
  |  Branch (573:5): [True: 0, False: 3.39k]
  ------------------
  574|    106|      break;
  575|    106|    }
  576|      0|    case SP::BPFCC:
  ------------------
  |  Branch (576:5): [True: 0, False: 3.39k]
  ------------------
  577|      0|    case SP::BPFCCA:
  ------------------
  |  Branch (577:5): [True: 0, False: 3.39k]
  ------------------
  578|      0|    case SP::BPFCCANT:
  ------------------
  |  Branch (578:5): [True: 0, False: 3.39k]
  ------------------
  579|      0|    case SP::BPFCCNT: {
  ------------------
  |  Branch (579:5): [True: 0, False: 3.39k]
  ------------------
  580|       |      // op: cc
  581|      0|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
  582|      0|      Value |= (op & UINT64_C(3)) << 20;
  583|       |      // op: cond
  584|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
  585|      0|      Value |= (op & UINT64_C(15)) << 25;
  586|       |      // op: imm19
  587|      0|      op = getBranchPredTargetOpValue(MI, 0, Fixups, STI);
  588|      0|      Value |= op & UINT64_C(524287);
  589|      0|      break;
  590|      0|    }
  591|      0|    case SP::BPICC:
  ------------------
  |  Branch (591:5): [True: 0, False: 3.39k]
  ------------------
  592|      0|    case SP::BPICCA:
  ------------------
  |  Branch (592:5): [True: 0, False: 3.39k]
  ------------------
  593|      0|    case SP::BPICCANT:
  ------------------
  |  Branch (593:5): [True: 0, False: 3.39k]
  ------------------
  594|      0|    case SP::BPICCNT:
  ------------------
  |  Branch (594:5): [True: 0, False: 3.39k]
  ------------------
  595|      2|    case SP::BPXCC:
  ------------------
  |  Branch (595:5): [True: 2, False: 3.38k]
  ------------------
  596|      2|    case SP::BPXCCA:
  ------------------
  |  Branch (596:5): [True: 0, False: 3.39k]
  ------------------
  597|      2|    case SP::BPXCCANT:
  ------------------
  |  Branch (597:5): [True: 0, False: 3.39k]
  ------------------
  598|      2|    case SP::BPXCCNT: {
  ------------------
  |  Branch (598:5): [True: 0, False: 3.39k]
  ------------------
  599|       |      // op: cond
  600|      2|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
  601|      2|      Value |= (op & UINT64_C(15)) << 25;
  602|       |      // op: imm19
  603|      2|      op = getBranchPredTargetOpValue(MI, 0, Fixups, STI);
  604|      2|      Value |= op & UINT64_C(524287);
  605|      2|      break;
  606|      2|    }
  607|     36|    case SP::CALL:
  ------------------
  |  Branch (607:5): [True: 36, False: 3.35k]
  ------------------
  608|     36|    case SP::TLS_CALL: {
  ------------------
  |  Branch (608:5): [True: 0, False: 3.39k]
  ------------------
  609|       |      // op: disp
  610|     36|      op = getCallTargetOpValue(MI, 0, Fixups, STI);
  611|     36|      Value |= op & UINT64_C(1073741823);
  612|     36|      break;
  613|     36|    }
  614|      0|    case SP::BPGEZapn:
  ------------------
  |  Branch (614:5): [True: 0, False: 3.39k]
  ------------------
  615|      0|    case SP::BPGEZapt:
  ------------------
  |  Branch (615:5): [True: 0, False: 3.39k]
  ------------------
  616|      0|    case SP::BPGEZnapn:
  ------------------
  |  Branch (616:5): [True: 0, False: 3.39k]
  ------------------
  617|      0|    case SP::BPGEZnapt:
  ------------------
  |  Branch (617:5): [True: 0, False: 3.39k]
  ------------------
  618|      0|    case SP::BPGZapn:
  ------------------
  |  Branch (618:5): [True: 0, False: 3.39k]
  ------------------
  619|      0|    case SP::BPGZapt:
  ------------------
  |  Branch (619:5): [True: 0, False: 3.39k]
  ------------------
  620|      0|    case SP::BPGZnapn:
  ------------------
  |  Branch (620:5): [True: 0, False: 3.39k]
  ------------------
  621|      0|    case SP::BPGZnapt:
  ------------------
  |  Branch (621:5): [True: 0, False: 3.39k]
  ------------------
  622|      0|    case SP::BPLEZapn:
  ------------------
  |  Branch (622:5): [True: 0, False: 3.39k]
  ------------------
  623|      0|    case SP::BPLEZapt:
  ------------------
  |  Branch (623:5): [True: 0, False: 3.39k]
  ------------------
  624|      0|    case SP::BPLEZnapn:
  ------------------
  |  Branch (624:5): [True: 0, False: 3.39k]
  ------------------
  625|      0|    case SP::BPLEZnapt:
  ------------------
  |  Branch (625:5): [True: 0, False: 3.39k]
  ------------------
  626|      0|    case SP::BPLZapn:
  ------------------
  |  Branch (626:5): [True: 0, False: 3.39k]
  ------------------
  627|      0|    case SP::BPLZapt:
  ------------------
  |  Branch (627:5): [True: 0, False: 3.39k]
  ------------------
  628|      0|    case SP::BPLZnapn:
  ------------------
  |  Branch (628:5): [True: 0, False: 3.39k]
  ------------------
  629|      0|    case SP::BPLZnapt:
  ------------------
  |  Branch (629:5): [True: 0, False: 3.39k]
  ------------------
  630|      0|    case SP::BPNZapn:
  ------------------
  |  Branch (630:5): [True: 0, False: 3.39k]
  ------------------
  631|      0|    case SP::BPNZapt:
  ------------------
  |  Branch (631:5): [True: 0, False: 3.39k]
  ------------------
  632|      0|    case SP::BPNZnapn:
  ------------------
  |  Branch (632:5): [True: 0, False: 3.39k]
  ------------------
  633|      0|    case SP::BPNZnapt:
  ------------------
  |  Branch (633:5): [True: 0, False: 3.39k]
  ------------------
  634|      0|    case SP::BPZapn:
  ------------------
  |  Branch (634:5): [True: 0, False: 3.39k]
  ------------------
  635|      0|    case SP::BPZapt:
  ------------------
  |  Branch (635:5): [True: 0, False: 3.39k]
  ------------------
  636|      0|    case SP::BPZnapn:
  ------------------
  |  Branch (636:5): [True: 0, False: 3.39k]
  ------------------
  637|      0|    case SP::BPZnapt: {
  ------------------
  |  Branch (637:5): [True: 0, False: 3.39k]
  ------------------
  638|       |      // op: imm16
  639|      0|      op = getBranchOnRegTargetOpValue(MI, 1, Fixups, STI);
  640|      0|      Value |= (op & UINT64_C(49152)) << 6;
  641|      0|      Value |= op & UINT64_C(16383);
  642|       |      // op: rs1
  643|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
  644|      0|      Value |= (op & UINT64_C(31)) << 14;
  645|      0|      break;
  646|      0|    }
  647|     19|    case SP::BA: {
  ------------------
  |  Branch (647:5): [True: 19, False: 3.37k]
  ------------------
  648|       |      // op: imm22
  649|     19|      op = getBranchTargetOpValue(MI, 0, Fixups, STI);
  650|     19|      Value |= op & UINT64_C(4194303);
  651|     19|      break;
  652|      0|    }
  653|  2.14k|    case SP::BCOND:
  ------------------
  |  Branch (653:5): [True: 2.14k, False: 1.24k]
  ------------------
  654|  2.15k|    case SP::BCONDA:
  ------------------
  |  Branch (654:5): [True: 2, False: 3.38k]
  ------------------
  655|  2.21k|    case SP::FBCOND:
  ------------------
  |  Branch (655:5): [True: 67, False: 3.32k]
  ------------------
  656|  2.21k|    case SP::FBCONDA: {
  ------------------
  |  Branch (656:5): [True: 1, False: 3.38k]
  ------------------
  657|       |      // op: imm22
  658|  2.21k|      op = getBranchTargetOpValue(MI, 0, Fixups, STI);
  659|  2.21k|      Value |= op & UINT64_C(4194303);
  660|       |      // op: cond
  661|  2.21k|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
  662|  2.21k|      Value |= (op & UINT64_C(15)) << 25;
  663|  2.21k|      break;
  664|  2.21k|    }
  665|      0|    case SP::UNIMP: {
  ------------------
  |  Branch (665:5): [True: 0, False: 3.39k]
  ------------------
  666|       |      // op: imm22
  667|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
  668|      0|      Value |= op & UINT64_C(4194303);
  669|      0|      break;
  670|  2.21k|    }
  671|      0|    case SP::SETHIXi:
  ------------------
  |  Branch (671:5): [True: 0, False: 3.39k]
  ------------------
  672|      0|    case SP::SETHIi: {
  ------------------
  |  Branch (672:5): [True: 0, False: 3.39k]
  ------------------
  673|       |      // op: imm22
  674|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
  675|      0|      Value |= op & UINT64_C(4194303);
  676|       |      // op: rd
  677|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
  678|      0|      Value |= (op & UINT64_C(31)) << 25;
  679|      0|      break;
  680|      0|    }
  681|      0|    case SP::FONE:
  ------------------
  |  Branch (681:5): [True: 0, False: 3.39k]
  ------------------
  682|      0|    case SP::FONES:
  ------------------
  |  Branch (682:5): [True: 0, False: 3.39k]
  ------------------
  683|      0|    case SP::FZERO:
  ------------------
  |  Branch (683:5): [True: 0, False: 3.39k]
  ------------------
  684|      0|    case SP::FZEROS:
  ------------------
  |  Branch (684:5): [True: 0, False: 3.39k]
  ------------------
  685|      0|    case SP::RDPSR:
  ------------------
  |  Branch (685:5): [True: 0, False: 3.39k]
  ------------------
  686|      0|    case SP::RDTBR:
  ------------------
  |  Branch (686:5): [True: 0, False: 3.39k]
  ------------------
  687|      0|    case SP::RDWIM: {
  ------------------
  |  Branch (687:5): [True: 0, False: 3.39k]
  ------------------
  688|       |      // op: rd
  689|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
  690|      0|      Value |= (op & UINT64_C(31)) << 25;
  691|      0|      break;
  692|      0|    }
  693|      0|    case SP::V9MOVFCCrr: {
  ------------------
  |  Branch (693:5): [True: 0, False: 3.39k]
  ------------------
  694|       |      // op: rd
  695|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
  696|      0|      Value |= (op & UINT64_C(31)) << 25;
  697|       |      // op: cc
  698|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
  699|      0|      Value |= (op & UINT64_C(3)) << 11;
  700|       |      // op: cond
  701|      0|      op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
  702|      0|      Value |= (op & UINT64_C(15)) << 14;
  703|       |      // op: rs2
  704|      0|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
  705|      0|      Value |= op & UINT64_C(31);
  706|      0|      break;
  707|      0|    }
  708|      0|    case SP::V9MOVFCCri: {
  ------------------
  |  Branch (708:5): [True: 0, False: 3.39k]
  ------------------
  709|       |      // op: rd
  710|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
  711|      0|      Value |= (op & UINT64_C(31)) << 25;
  712|       |      // op: cc
  713|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
  714|      0|      Value |= (op & UINT64_C(3)) << 11;
  715|       |      // op: cond
  716|      0|      op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
  717|      0|      Value |= (op & UINT64_C(15)) << 14;
  718|       |      // op: simm11
  719|      0|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
  720|      0|      Value |= op & UINT64_C(2047);
  721|      0|      break;
  722|      0|    }
  723|      0|    case SP::FMOVD_FCC:
  ------------------
  |  Branch (723:5): [True: 0, False: 3.39k]
  ------------------
  724|      0|    case SP::FMOVD_ICC:
  ------------------
  |  Branch (724:5): [True: 0, False: 3.39k]
  ------------------
  725|      0|    case SP::FMOVD_XCC:
  ------------------
  |  Branch (725:5): [True: 0, False: 3.39k]
  ------------------
  726|      0|    case SP::FMOVQ_FCC:
  ------------------
  |  Branch (726:5): [True: 0, False: 3.39k]
  ------------------
  727|      0|    case SP::FMOVQ_ICC:
  ------------------
  |  Branch (727:5): [True: 0, False: 3.39k]
  ------------------
  728|      0|    case SP::FMOVQ_XCC:
  ------------------
  |  Branch (728:5): [True: 0, False: 3.39k]
  ------------------
  729|      0|    case SP::FMOVS_FCC:
  ------------------
  |  Branch (729:5): [True: 0, False: 3.39k]
  ------------------
  730|      0|    case SP::FMOVS_ICC:
  ------------------
  |  Branch (730:5): [True: 0, False: 3.39k]
  ------------------
  731|      0|    case SP::FMOVS_XCC:
  ------------------
  |  Branch (731:5): [True: 0, False: 3.39k]
  ------------------
  732|      0|    case SP::MOVFCCrr:
  ------------------
  |  Branch (732:5): [True: 0, False: 3.39k]
  ------------------
  733|      0|    case SP::MOVICCrr:
  ------------------
  |  Branch (733:5): [True: 0, False: 3.39k]
  ------------------
  734|      0|    case SP::MOVXCCrr: {
  ------------------
  |  Branch (734:5): [True: 0, False: 3.39k]
  ------------------
  735|       |      // op: rd
  736|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
  737|      0|      Value |= (op & UINT64_C(31)) << 25;
  738|       |      // op: cond
  739|      0|      op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
  740|      0|      Value |= (op & UINT64_C(15)) << 14;
  741|       |      // op: rs2
  742|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
  743|      0|      Value |= op & UINT64_C(31);
  744|      0|      break;
  745|      0|    }
  746|      0|    case SP::MOVFCCri:
  ------------------
  |  Branch (746:5): [True: 0, False: 3.39k]
  ------------------
  747|      0|    case SP::MOVICCri:
  ------------------
  |  Branch (747:5): [True: 0, False: 3.39k]
  ------------------
  748|      0|    case SP::MOVXCCri: {
  ------------------
  |  Branch (748:5): [True: 0, False: 3.39k]
  ------------------
  749|       |      // op: rd
  750|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
  751|      0|      Value |= (op & UINT64_C(31)) << 25;
  752|       |      // op: cond
  753|      0|      op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
  754|      0|      Value |= (op & UINT64_C(15)) << 14;
  755|       |      // op: simm11
  756|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
  757|      0|      Value |= op & UINT64_C(2047);
  758|      0|      break;
  759|      0|    }
  760|      0|    case SP::V9FMOVD_FCC:
  ------------------
  |  Branch (760:5): [True: 0, False: 3.39k]
  ------------------
  761|      0|    case SP::V9FMOVQ_FCC:
  ------------------
  |  Branch (761:5): [True: 0, False: 3.39k]
  ------------------
  762|      0|    case SP::V9FMOVS_FCC: {
  ------------------
  |  Branch (762:5): [True: 0, False: 3.39k]
  ------------------
  763|       |      // op: rd
  764|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
  765|      0|      Value |= (op & UINT64_C(31)) << 25;
  766|       |      // op: cond
  767|      0|      op = getMachineOpValue(MI, MI.getOperand(4), Fixups, STI);
  768|      0|      Value |= (op & UINT64_C(15)) << 14;
  769|       |      // op: opf_cc
  770|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
  771|      0|      Value |= (op & UINT64_C(3)) << 11;
  772|       |      // op: rs2
  773|      0|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
  774|      0|      Value |= op & UINT64_C(31);
  775|      0|      break;
  776|      0|    }
  777|      0|    case SP::FNOT1:
  ------------------
  |  Branch (777:5): [True: 0, False: 3.39k]
  ------------------
  778|      0|    case SP::FNOT1S:
  ------------------
  |  Branch (778:5): [True: 0, False: 3.39k]
  ------------------
  779|      0|    case SP::FSRC1:
  ------------------
  |  Branch (779:5): [True: 0, False: 3.39k]
  ------------------
  780|      0|    case SP::FSRC1S:
  ------------------
  |  Branch (780:5): [True: 0, False: 3.39k]
  ------------------
  781|      0|    case SP::RDASR:
  ------------------
  |  Branch (781:5): [True: 0, False: 3.39k]
  ------------------
  782|      0|    case SP::RDPR: {
  ------------------
  |  Branch (782:5): [True: 0, False: 3.39k]
  ------------------
  783|       |      // op: rd
  784|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
  785|      0|      Value |= (op & UINT64_C(31)) << 25;
  786|       |      // op: rs1
  787|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
  788|      0|      Value |= (op & UINT64_C(31)) << 14;
  789|      0|      break;
  790|      0|    }
  791|      0|    case SP::LDArr:
  ------------------
  |  Branch (791:5): [True: 0, False: 3.39k]
  ------------------
  792|      0|    case SP::LDDArr:
  ------------------
  |  Branch (792:5): [True: 0, False: 3.39k]
  ------------------
  793|      0|    case SP::LDDFArr:
  ------------------
  |  Branch (793:5): [True: 0, False: 3.39k]
  ------------------
  794|      0|    case SP::LDFArr:
  ------------------
  |  Branch (794:5): [True: 0, False: 3.39k]
  ------------------
  795|      0|    case SP::LDQFArr:
  ------------------
  |  Branch (795:5): [True: 0, False: 3.39k]
  ------------------
  796|      0|    case SP::LDSBArr:
  ------------------
  |  Branch (796:5): [True: 0, False: 3.39k]
  ------------------
  797|      0|    case SP::LDSHArr:
  ------------------
  |  Branch (797:5): [True: 0, False: 3.39k]
  ------------------
  798|      0|    case SP::LDSTUBArr:
  ------------------
  |  Branch (798:5): [True: 0, False: 3.39k]
  ------------------
  799|      0|    case SP::LDUBArr:
  ------------------
  |  Branch (799:5): [True: 0, False: 3.39k]
  ------------------
  800|      0|    case SP::LDUHArr:
  ------------------
  |  Branch (800:5): [True: 0, False: 3.39k]
  ------------------
  801|      0|    case SP::SWAPArr: {
  ------------------
  |  Branch (801:5): [True: 0, False: 3.39k]
  ------------------
  802|       |      // op: rd
  803|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
  804|      0|      Value |= (op & UINT64_C(31)) << 25;
  805|       |      // op: rs1
  806|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
  807|      0|      Value |= (op & UINT64_C(31)) << 14;
  808|       |      // op: asi
  809|      0|      op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
  810|      0|      Value |= (op & UINT64_C(255)) << 5;
  811|       |      // op: rs2
  812|      0|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
  813|      0|      Value |= op & UINT64_C(31);
  814|      0|      break;
  815|      0|    }
  816|      0|    case SP::ADDCCrr:
  ------------------
  |  Branch (816:5): [True: 0, False: 3.39k]
  ------------------
  817|      0|    case SP::ADDCrr:
  ------------------
  |  Branch (817:5): [True: 0, False: 3.39k]
  ------------------
  818|      0|    case SP::ADDErr:
  ------------------
  |  Branch (818:5): [True: 0, False: 3.39k]
  ------------------
  819|      0|    case SP::ADDXC:
  ------------------
  |  Branch (819:5): [True: 0, False: 3.39k]
  ------------------
  820|      0|    case SP::ADDXCCC:
  ------------------
  |  Branch (820:5): [True: 0, False: 3.39k]
  ------------------
  821|      0|    case SP::ADDXrr:
  ------------------
  |  Branch (821:5): [True: 0, False: 3.39k]
  ------------------
  822|      0|    case SP::ADDrr:
  ------------------
  |  Branch (822:5): [True: 0, False: 3.39k]
  ------------------
  823|      0|    case SP::ALIGNADDR:
  ------------------
  |  Branch (823:5): [True: 0, False: 3.39k]
  ------------------
  824|      0|    case SP::ALIGNADDRL:
  ------------------
  |  Branch (824:5): [True: 0, False: 3.39k]
  ------------------
  825|      0|    case SP::ANDCCrr:
  ------------------
  |  Branch (825:5): [True: 0, False: 3.39k]
  ------------------
  826|      0|    case SP::ANDNCCrr:
  ------------------
  |  Branch (826:5): [True: 0, False: 3.39k]
  ------------------
  827|      0|    case SP::ANDNrr:
  ------------------
  |  Branch (827:5): [True: 0, False: 3.39k]
  ------------------
  828|      0|    case SP::ANDXNrr:
  ------------------
  |  Branch (828:5): [True: 0, False: 3.39k]
  ------------------
  829|      0|    case SP::ANDXrr:
  ------------------
  |  Branch (829:5): [True: 0, False: 3.39k]
  ------------------
  830|      0|    case SP::ANDrr:
  ------------------
  |  Branch (830:5): [True: 0, False: 3.39k]
  ------------------
  831|      0|    case SP::ARRAY16:
  ------------------
  |  Branch (831:5): [True: 0, False: 3.39k]
  ------------------
  832|      0|    case SP::ARRAY32:
  ------------------
  |  Branch (832:5): [True: 0, False: 3.39k]
  ------------------
  833|      0|    case SP::ARRAY8:
  ------------------
  |  Branch (833:5): [True: 0, False: 3.39k]
  ------------------
  834|      0|    case SP::BMASK:
  ------------------
  |  Branch (834:5): [True: 0, False: 3.39k]
  ------------------
  835|      0|    case SP::BSHUFFLE:
  ------------------
  |  Branch (835:5): [True: 0, False: 3.39k]
  ------------------
  836|      0|    case SP::CASXrr:
  ------------------
  |  Branch (836:5): [True: 0, False: 3.39k]
  ------------------
  837|      0|    case SP::CASrr:
  ------------------
  |  Branch (837:5): [True: 0, False: 3.39k]
  ------------------
  838|      0|    case SP::EDGE16:
  ------------------
  |  Branch (838:5): [True: 0, False: 3.39k]
  ------------------
  839|      0|    case SP::EDGE16L:
  ------------------
  |  Branch (839:5): [True: 0, False: 3.39k]
  ------------------
  840|      0|    case SP::EDGE16LN:
  ------------------
  |  Branch (840:5): [True: 0, False: 3.39k]
  ------------------
  841|      0|    case SP::EDGE16N:
  ------------------
  |  Branch (841:5): [True: 0, False: 3.39k]
  ------------------
  842|      0|    case SP::EDGE32:
  ------------------
  |  Branch (842:5): [True: 0, False: 3.39k]
  ------------------
  843|      0|    case SP::EDGE32L:
  ------------------
  |  Branch (843:5): [True: 0, False: 3.39k]
  ------------------
  844|      0|    case SP::EDGE32LN:
  ------------------
  |  Branch (844:5): [True: 0, False: 3.39k]
  ------------------
  845|      0|    case SP::EDGE32N:
  ------------------
  |  Branch (845:5): [True: 0, False: 3.39k]
  ------------------
  846|      0|    case SP::EDGE8:
  ------------------
  |  Branch (846:5): [True: 0, False: 3.39k]
  ------------------
  847|      0|    case SP::EDGE8L:
  ------------------
  |  Branch (847:5): [True: 0, False: 3.39k]
  ------------------
  848|      0|    case SP::EDGE8LN:
  ------------------
  |  Branch (848:5): [True: 0, False: 3.39k]
  ------------------
  849|      0|    case SP::EDGE8N:
  ------------------
  |  Branch (849:5): [True: 0, False: 3.39k]
  ------------------
  850|      0|    case SP::FADDD:
  ------------------
  |  Branch (850:5): [True: 0, False: 3.39k]
  ------------------
  851|      0|    case SP::FADDQ:
  ------------------
  |  Branch (851:5): [True: 0, False: 3.39k]
  ------------------
  852|      0|    case SP::FADDS:
  ------------------
  |  Branch (852:5): [True: 0, False: 3.39k]
  ------------------
  853|      0|    case SP::FALIGNADATA:
  ------------------
  |  Branch (853:5): [True: 0, False: 3.39k]
  ------------------
  854|      0|    case SP::FAND:
  ------------------
  |  Branch (854:5): [True: 0, False: 3.39k]
  ------------------
  855|      0|    case SP::FANDNOT1:
  ------------------
  |  Branch (855:5): [True: 0, False: 3.39k]
  ------------------
  856|      0|    case SP::FANDNOT1S:
  ------------------
  |  Branch (856:5): [True: 0, False: 3.39k]
  ------------------
  857|      0|    case SP::FANDNOT2:
  ------------------
  |  Branch (857:5): [True: 0, False: 3.39k]
  ------------------
  858|      0|    case SP::FANDNOT2S:
  ------------------
  |  Branch (858:5): [True: 0, False: 3.39k]
  ------------------
  859|      0|    case SP::FANDS:
  ------------------
  |  Branch (859:5): [True: 0, False: 3.39k]
  ------------------
  860|      0|    case SP::FCHKSM16:
  ------------------
  |  Branch (860:5): [True: 0, False: 3.39k]
  ------------------
  861|      0|    case SP::FCMPEQ16:
  ------------------
  |  Branch (861:5): [True: 0, False: 3.39k]
  ------------------
  862|      0|    case SP::FCMPEQ32:
  ------------------
  |  Branch (862:5): [True: 0, False: 3.39k]
  ------------------
  863|      0|    case SP::FCMPGT16:
  ------------------
  |  Branch (863:5): [True: 0, False: 3.39k]
  ------------------
  864|      0|    case SP::FCMPGT32:
  ------------------
  |  Branch (864:5): [True: 0, False: 3.39k]
  ------------------
  865|      0|    case SP::FCMPLE16:
  ------------------
  |  Branch (865:5): [True: 0, False: 3.39k]
  ------------------
  866|      0|    case SP::FCMPLE32:
  ------------------
  |  Branch (866:5): [True: 0, False: 3.39k]
  ------------------
  867|      0|    case SP::FCMPNE16:
  ------------------
  |  Branch (867:5): [True: 0, False: 3.39k]
  ------------------
  868|      0|    case SP::FCMPNE32:
  ------------------
  |  Branch (868:5): [True: 0, False: 3.39k]
  ------------------
  869|      0|    case SP::FDIVD:
  ------------------
  |  Branch (869:5): [True: 0, False: 3.39k]
  ------------------
  870|      0|    case SP::FDIVQ:
  ------------------
  |  Branch (870:5): [True: 0, False: 3.39k]
  ------------------
  871|      0|    case SP::FDIVS:
  ------------------
  |  Branch (871:5): [True: 0, False: 3.39k]
  ------------------
  872|      0|    case SP::FDMULQ:
  ------------------
  |  Branch (872:5): [True: 0, False: 3.39k]
  ------------------
  873|      0|    case SP::FHADDD:
  ------------------
  |  Branch (873:5): [True: 0, False: 3.39k]
  ------------------
  874|      0|    case SP::FHADDS:
  ------------------
  |  Branch (874:5): [True: 0, False: 3.39k]
  ------------------
  875|      0|    case SP::FHSUBD:
  ------------------
  |  Branch (875:5): [True: 0, False: 3.39k]
  ------------------
  876|      0|    case SP::FHSUBS:
  ------------------
  |  Branch (876:5): [True: 0, False: 3.39k]
  ------------------
  877|      0|    case SP::FLCMPD:
  ------------------
  |  Branch (877:5): [True: 0, False: 3.39k]
  ------------------
  878|      0|    case SP::FLCMPS:
  ------------------
  |  Branch (878:5): [True: 0, False: 3.39k]
  ------------------
  879|      0|    case SP::FMEAN16:
  ------------------
  |  Branch (879:5): [True: 0, False: 3.39k]
  ------------------
  880|      0|    case SP::FMOVRGEZD:
  ------------------
  |  Branch (880:5): [True: 0, False: 3.39k]
  ------------------
  881|      0|    case SP::FMOVRGEZQ:
  ------------------
  |  Branch (881:5): [True: 0, False: 3.39k]
  ------------------
  882|      0|    case SP::FMOVRGEZS:
  ------------------
  |  Branch (882:5): [True: 0, False: 3.39k]
  ------------------
  883|      0|    case SP::FMOVRGZD:
  ------------------
  |  Branch (883:5): [True: 0, False: 3.39k]
  ------------------
  884|      0|    case SP::FMOVRGZQ:
  ------------------
  |  Branch (884:5): [True: 0, False: 3.39k]
  ------------------
  885|      0|    case SP::FMOVRGZS:
  ------------------
  |  Branch (885:5): [True: 0, False: 3.39k]
  ------------------
  886|      0|    case SP::FMOVRLEZD:
  ------------------
  |  Branch (886:5): [True: 0, False: 3.39k]
  ------------------
  887|      0|    case SP::FMOVRLEZQ:
  ------------------
  |  Branch (887:5): [True: 0, False: 3.39k]
  ------------------
  888|      0|    case SP::FMOVRLEZS:
  ------------------
  |  Branch (888:5): [True: 0, False: 3.39k]
  ------------------
  889|      0|    case SP::FMOVRLZD:
  ------------------
  |  Branch (889:5): [True: 0, False: 3.39k]
  ------------------
  890|      0|    case SP::FMOVRLZQ:
  ------------------
  |  Branch (890:5): [True: 0, False: 3.39k]
  ------------------
  891|      0|    case SP::FMOVRLZS:
  ------------------
  |  Branch (891:5): [True: 0, False: 3.39k]
  ------------------
  892|      0|    case SP::FMOVRNZD:
  ------------------
  |  Branch (892:5): [True: 0, False: 3.39k]
  ------------------
  893|      0|    case SP::FMOVRNZQ:
  ------------------
  |  Branch (893:5): [True: 0, False: 3.39k]
  ------------------
  894|      0|    case SP::FMOVRNZS:
  ------------------
  |  Branch (894:5): [True: 0, False: 3.39k]
  ------------------
  895|      0|    case SP::FMOVRZD:
  ------------------
  |  Branch (895:5): [True: 0, False: 3.39k]
  ------------------
  896|      0|    case SP::FMOVRZQ:
  ------------------
  |  Branch (896:5): [True: 0, False: 3.39k]
  ------------------
  897|      0|    case SP::FMOVRZS:
  ------------------
  |  Branch (897:5): [True: 0, False: 3.39k]
  ------------------
  898|      0|    case SP::FMUL8SUX16:
  ------------------
  |  Branch (898:5): [True: 0, False: 3.39k]
  ------------------
  899|      0|    case SP::FMUL8ULX16:
  ------------------
  |  Branch (899:5): [True: 0, False: 3.39k]
  ------------------
  900|      0|    case SP::FMUL8X16:
  ------------------
  |  Branch (900:5): [True: 0, False: 3.39k]
  ------------------
  901|      0|    case SP::FMUL8X16AL:
  ------------------
  |  Branch (901:5): [True: 0, False: 3.39k]
  ------------------
  902|      0|    case SP::FMUL8X16AU:
  ------------------
  |  Branch (902:5): [True: 0, False: 3.39k]
  ------------------
  903|      0|    case SP::FMULD:
  ------------------
  |  Branch (903:5): [True: 0, False: 3.39k]
  ------------------
  904|      0|    case SP::FMULD8SUX16:
  ------------------
  |  Branch (904:5): [True: 0, False: 3.39k]
  ------------------
  905|      0|    case SP::FMULD8ULX16:
  ------------------
  |  Branch (905:5): [True: 0, False: 3.39k]
  ------------------
  906|      0|    case SP::FMULQ:
  ------------------
  |  Branch (906:5): [True: 0, False: 3.39k]
  ------------------
  907|      0|    case SP::FMULS:
  ------------------
  |  Branch (907:5): [True: 0, False: 3.39k]
  ------------------
  908|      0|    case SP::FNADDD:
  ------------------
  |  Branch (908:5): [True: 0, False: 3.39k]
  ------------------
  909|      0|    case SP::FNADDS:
  ------------------
  |  Branch (909:5): [True: 0, False: 3.39k]
  ------------------
  910|      0|    case SP::FNAND:
  ------------------
  |  Branch (910:5): [True: 0, False: 3.39k]
  ------------------
  911|      0|    case SP::FNANDS:
  ------------------
  |  Branch (911:5): [True: 0, False: 3.39k]
  ------------------
  912|      0|    case SP::FNHADDD:
  ------------------
  |  Branch (912:5): [True: 0, False: 3.39k]
  ------------------
  913|      0|    case SP::FNHADDS:
  ------------------
  |  Branch (913:5): [True: 0, False: 3.39k]
  ------------------
  914|      0|    case SP::FNMULD:
  ------------------
  |  Branch (914:5): [True: 0, False: 3.39k]
  ------------------
  915|      0|    case SP::FNMULS:
  ------------------
  |  Branch (915:5): [True: 0, False: 3.39k]
  ------------------
  916|      0|    case SP::FNOR:
  ------------------
  |  Branch (916:5): [True: 0, False: 3.39k]
  ------------------
  917|      0|    case SP::FNORS:
  ------------------
  |  Branch (917:5): [True: 0, False: 3.39k]
  ------------------
  918|      0|    case SP::FNSMULD:
  ------------------
  |  Branch (918:5): [True: 0, False: 3.39k]
  ------------------
  919|      0|    case SP::FOR:
  ------------------
  |  Branch (919:5): [True: 0, False: 3.39k]
  ------------------
  920|      0|    case SP::FORNOT1:
  ------------------
  |  Branch (920:5): [True: 0, False: 3.39k]
  ------------------
  921|      0|    case SP::FORNOT1S:
  ------------------
  |  Branch (921:5): [True: 0, False: 3.39k]
  ------------------
  922|      0|    case SP::FORNOT2:
  ------------------
  |  Branch (922:5): [True: 0, False: 3.39k]
  ------------------
  923|      0|    case SP::FORNOT2S:
  ------------------
  |  Branch (923:5): [True: 0, False: 3.39k]
  ------------------
  924|      0|    case SP::FORS:
  ------------------
  |  Branch (924:5): [True: 0, False: 3.39k]
  ------------------
  925|      0|    case SP::FPACK32:
  ------------------
  |  Branch (925:5): [True: 0, False: 3.39k]
  ------------------
  926|      0|    case SP::FPADD16:
  ------------------
  |  Branch (926:5): [True: 0, False: 3.39k]
  ------------------
  927|      0|    case SP::FPADD16S:
  ------------------
  |  Branch (927:5): [True: 0, False: 3.39k]
  ------------------
  928|      0|    case SP::FPADD32:
  ------------------
  |  Branch (928:5): [True: 0, False: 3.39k]
  ------------------
  929|      0|    case SP::FPADD32S:
  ------------------
  |  Branch (929:5): [True: 0, False: 3.39k]
  ------------------
  930|      0|    case SP::FPADD64:
  ------------------
  |  Branch (930:5): [True: 0, False: 3.39k]
  ------------------
  931|      0|    case SP::FPMERGE:
  ------------------
  |  Branch (931:5): [True: 0, False: 3.39k]
  ------------------
  932|      0|    case SP::FPSUB16:
  ------------------
  |  Branch (932:5): [True: 0, False: 3.39k]
  ------------------
  933|      0|    case SP::FPSUB16S:
  ------------------
  |  Branch (933:5): [True: 0, False: 3.39k]
  ------------------
  934|      0|    case SP::FPSUB32:
  ------------------
  |  Branch (934:5): [True: 0, False: 3.39k]
  ------------------
  935|      0|    case SP::FPSUB32S:
  ------------------
  |  Branch (935:5): [True: 0, False: 3.39k]
  ------------------
  936|      0|    case SP::FSLAS16:
  ------------------
  |  Branch (936:5): [True: 0, False: 3.39k]
  ------------------
  937|      0|    case SP::FSLAS32:
  ------------------
  |  Branch (937:5): [True: 0, False: 3.39k]
  ------------------
  938|      0|    case SP::FSLL16:
  ------------------
  |  Branch (938:5): [True: 0, False: 3.39k]
  ------------------
  939|      0|    case SP::FSLL32:
  ------------------
  |  Branch (939:5): [True: 0, False: 3.39k]
  ------------------
  940|      0|    case SP::FSMULD:
  ------------------
  |  Branch (940:5): [True: 0, False: 3.39k]
  ------------------
  941|      0|    case SP::FSRA16:
  ------------------
  |  Branch (941:5): [True: 0, False: 3.39k]
  ------------------
  942|      0|    case SP::FSRA32:
  ------------------
  |  Branch (942:5): [True: 0, False: 3.39k]
  ------------------
  943|      0|    case SP::FSRL16:
  ------------------
  |  Branch (943:5): [True: 0, False: 3.39k]
  ------------------
  944|      0|    case SP::FSRL32:
  ------------------
  |  Branch (944:5): [True: 0, False: 3.39k]
  ------------------
  945|      0|    case SP::FSUBD:
  ------------------
  |  Branch (945:5): [True: 0, False: 3.39k]
  ------------------
  946|      0|    case SP::FSUBQ:
  ------------------
  |  Branch (946:5): [True: 0, False: 3.39k]
  ------------------
  947|      0|    case SP::FSUBS:
  ------------------
  |  Branch (947:5): [True: 0, False: 3.39k]
  ------------------
  948|      0|    case SP::FXNOR:
  ------------------
  |  Branch (948:5): [True: 0, False: 3.39k]
  ------------------
  949|      0|    case SP::FXNORS:
  ------------------
  |  Branch (949:5): [True: 0, False: 3.39k]
  ------------------
  950|      0|    case SP::FXOR:
  ------------------
  |  Branch (950:5): [True: 0, False: 3.39k]
  ------------------
  951|      0|    case SP::FXORS:
  ------------------
  |  Branch (951:5): [True: 0, False: 3.39k]
  ------------------
  952|    776|    case SP::JMPLrr:
  ------------------
  |  Branch (952:5): [True: 776, False: 2.61k]
  ------------------
  953|    776|    case SP::LDDFrr:
  ------------------
  |  Branch (953:5): [True: 0, False: 3.39k]
  ------------------
  954|    776|    case SP::LDDrr:
  ------------------
  |  Branch (954:5): [True: 0, False: 3.39k]
  ------------------
  955|    776|    case SP::LDFrr:
  ------------------
  |  Branch (955:5): [True: 0, False: 3.39k]
  ------------------
  956|    776|    case SP::LDQFrr:
  ------------------
  |  Branch (956:5): [True: 0, False: 3.39k]
  ------------------
  957|    776|    case SP::LDSBrr:
  ------------------
  |  Branch (957:5): [True: 0, False: 3.39k]
  ------------------
  958|    776|    case SP::LDSHrr:
  ------------------
  |  Branch (958:5): [True: 0, False: 3.39k]
  ------------------
  959|    776|    case SP::LDSTUBrr:
  ------------------
  |  Branch (959:5): [True: 0, False: 3.39k]
  ------------------
  960|    776|    case SP::LDSWrr:
  ------------------
  |  Branch (960:5): [True: 0, False: 3.39k]
  ------------------
  961|    776|    case SP::LDUBrr:
  ------------------
  |  Branch (961:5): [True: 0, False: 3.39k]
  ------------------
  962|    776|    case SP::LDUHrr:
  ------------------
  |  Branch (962:5): [True: 0, False: 3.39k]
  ------------------
  963|    776|    case SP::LDXrr:
  ------------------
  |  Branch (963:5): [True: 0, False: 3.39k]
  ------------------
  964|    776|    case SP::LDrr:
  ------------------
  |  Branch (964:5): [True: 0, False: 3.39k]
  ------------------
  965|    776|    case SP::MOVRGEZrr:
  ------------------
  |  Branch (965:5): [True: 0, False: 3.39k]
  ------------------
  966|    776|    case SP::MOVRGZrr:
  ------------------
  |  Branch (966:5): [True: 0, False: 3.39k]
  ------------------
  967|    776|    case SP::MOVRLEZrr:
  ------------------
  |  Branch (967:5): [True: 0, False: 3.39k]
  ------------------
  968|    776|    case SP::MOVRLZrr:
  ------------------
  |  Branch (968:5): [True: 0, False: 3.39k]
  ------------------
  969|    776|    case SP::MOVRNZrr:
  ------------------
  |  Branch (969:5): [True: 0, False: 3.39k]
  ------------------
  970|    776|    case SP::MOVRRZrr:
  ------------------
  |  Branch (970:5): [True: 0, False: 3.39k]
  ------------------
  971|    776|    case SP::MULSCCrr:
  ------------------
  |  Branch (971:5): [True: 0, False: 3.39k]
  ------------------
  972|    776|    case SP::MULXrr:
  ------------------
  |  Branch (972:5): [True: 0, False: 3.39k]
  ------------------
  973|    777|    case SP::ORCCrr:
  ------------------
  |  Branch (973:5): [True: 1, False: 3.38k]
  ------------------
  974|    777|    case SP::ORNCCrr:
  ------------------
  |  Branch (974:5): [True: 0, False: 3.39k]
  ------------------
  975|    777|    case SP::ORNrr:
  ------------------
  |  Branch (975:5): [True: 0, False: 3.39k]
  ------------------
  976|    777|    case SP::ORXNrr:
  ------------------
  |  Branch (976:5): [True: 0, False: 3.39k]
  ------------------
  977|    777|    case SP::ORXrr:
  ------------------
  |  Branch (977:5): [True: 0, False: 3.39k]
  ------------------
  978|    777|    case SP::ORrr:
  ------------------
  |  Branch (978:5): [True: 0, False: 3.39k]
  ------------------
  979|    777|    case SP::PDIST:
  ------------------
  |  Branch (979:5): [True: 0, False: 3.39k]
  ------------------
  980|    777|    case SP::PDISTN:
  ------------------
  |  Branch (980:5): [True: 0, False: 3.39k]
  ------------------
  981|    778|    case SP::RESTORErr:
  ------------------
  |  Branch (981:5): [True: 1, False: 3.38k]
  ------------------
  982|    872|    case SP::SAVErr:
  ------------------
  |  Branch (982:5): [True: 94, False: 3.29k]
  ------------------
  983|    872|    case SP::SDIVCCrr:
  ------------------
  |  Branch (983:5): [True: 0, False: 3.39k]
  ------------------
  984|    872|    case SP::SDIVXrr:
  ------------------
  |  Branch (984:5): [True: 0, False: 3.39k]
  ------------------
  985|    872|    case SP::SDIVrr:
  ------------------
  |  Branch (985:5): [True: 0, False: 3.39k]
  ------------------
  986|    872|    case SP::SLLXrr:
  ------------------
  |  Branch (986:5): [True: 0, False: 3.39k]
  ------------------
  987|    872|    case SP::SLLrr:
  ------------------
  |  Branch (987:5): [True: 0, False: 3.39k]
  ------------------
  988|    872|    case SP::SMULCCrr:
  ------------------
  |  Branch (988:5): [True: 0, False: 3.39k]
  ------------------
  989|    872|    case SP::SMULrr:
  ------------------
  |  Branch (989:5): [True: 0, False: 3.39k]
  ------------------
  990|    872|    case SP::SRAXrr:
  ------------------
  |  Branch (990:5): [True: 0, False: 3.39k]
  ------------------
  991|    872|    case SP::SRArr:
  ------------------
  |  Branch (991:5): [True: 0, False: 3.39k]
  ------------------
  992|    872|    case SP::SRLXrr:
  ------------------
  |  Branch (992:5): [True: 0, False: 3.39k]
  ------------------
  993|    872|    case SP::SRLrr:
  ------------------
  |  Branch (993:5): [True: 0, False: 3.39k]
  ------------------
  994|    872|    case SP::SUBCCrr:
  ------------------
  |  Branch (994:5): [True: 0, False: 3.39k]
  ------------------
  995|    872|    case SP::SUBCrr:
  ------------------
  |  Branch (995:5): [True: 0, False: 3.39k]
  ------------------
  996|    872|    case SP::SUBErr:
  ------------------
  |  Branch (996:5): [True: 0, False: 3.39k]
  ------------------
  997|    872|    case SP::SUBXrr:
  ------------------
  |  Branch (997:5): [True: 0, False: 3.39k]
  ------------------
  998|    872|    case SP::SUBrr:
  ------------------
  |  Branch (998:5): [True: 0, False: 3.39k]
  ------------------
  999|    872|    case SP::SWAPrr:
  ------------------
  |  Branch (999:5): [True: 0, False: 3.39k]
  ------------------
 1000|    872|    case SP::TADDCCTVrr:
  ------------------
  |  Branch (1000:5): [True: 0, False: 3.39k]
  ------------------
 1001|    872|    case SP::TADDCCrr:
  ------------------
  |  Branch (1001:5): [True: 0, False: 3.39k]
  ------------------
 1002|    872|    case SP::TLS_ADDXrr:
  ------------------
  |  Branch (1002:5): [True: 0, False: 3.39k]
  ------------------
 1003|    872|    case SP::TLS_ADDrr:
  ------------------
  |  Branch (1003:5): [True: 0, False: 3.39k]
  ------------------
 1004|    872|    case SP::TLS_LDXrr:
  ------------------
  |  Branch (1004:5): [True: 0, False: 3.39k]
  ------------------
 1005|    872|    case SP::TLS_LDrr:
  ------------------
  |  Branch (1005:5): [True: 0, False: 3.39k]
  ------------------
 1006|    872|    case SP::TSUBCCTVrr:
  ------------------
  |  Branch (1006:5): [True: 0, False: 3.39k]
  ------------------
 1007|    872|    case SP::TSUBCCrr:
  ------------------
  |  Branch (1007:5): [True: 0, False: 3.39k]
  ------------------
 1008|    872|    case SP::UDIVCCrr:
  ------------------
  |  Branch (1008:5): [True: 0, False: 3.39k]
  ------------------
 1009|    872|    case SP::UDIVXrr:
  ------------------
  |  Branch (1009:5): [True: 0, False: 3.39k]
  ------------------
 1010|    872|    case SP::UDIVrr:
  ------------------
  |  Branch (1010:5): [True: 0, False: 3.39k]
  ------------------
 1011|    872|    case SP::UMULCCrr:
  ------------------
  |  Branch (1011:5): [True: 0, False: 3.39k]
  ------------------
 1012|    872|    case SP::UMULXHI:
  ------------------
  |  Branch (1012:5): [True: 0, False: 3.39k]
  ------------------
 1013|    872|    case SP::UMULrr:
  ------------------
  |  Branch (1013:5): [True: 0, False: 3.39k]
  ------------------
 1014|    872|    case SP::V9FCMPD:
  ------------------
  |  Branch (1014:5): [True: 0, False: 3.39k]
  ------------------
 1015|    872|    case SP::V9FCMPED:
  ------------------
  |  Branch (1015:5): [True: 0, False: 3.39k]
  ------------------
 1016|    872|    case SP::V9FCMPEQ:
  ------------------
  |  Branch (1016:5): [True: 0, False: 3.39k]
  ------------------
 1017|    872|    case SP::V9FCMPES:
  ------------------
  |  Branch (1017:5): [True: 0, False: 3.39k]
  ------------------
 1018|    872|    case SP::V9FCMPQ:
  ------------------
  |  Branch (1018:5): [True: 0, False: 3.39k]
  ------------------
 1019|    872|    case SP::V9FCMPS:
  ------------------
  |  Branch (1019:5): [True: 0, False: 3.39k]
  ------------------
 1020|    872|    case SP::WRASRrr:
  ------------------
  |  Branch (1020:5): [True: 0, False: 3.39k]
  ------------------
 1021|    872|    case SP::WRPRrr:
  ------------------
  |  Branch (1021:5): [True: 0, False: 3.39k]
  ------------------
 1022|    872|    case SP::XMULX:
  ------------------
  |  Branch (1022:5): [True: 0, False: 3.39k]
  ------------------
 1023|    872|    case SP::XMULXHI:
  ------------------
  |  Branch (1023:5): [True: 0, False: 3.39k]
  ------------------
 1024|    872|    case SP::XNORCCrr:
  ------------------
  |  Branch (1024:5): [True: 0, False: 3.39k]
  ------------------
 1025|    872|    case SP::XNORXrr:
  ------------------
  |  Branch (1025:5): [True: 0, False: 3.39k]
  ------------------
 1026|    872|    case SP::XNORrr:
  ------------------
  |  Branch (1026:5): [True: 0, False: 3.39k]
  ------------------
 1027|    872|    case SP::XORCCrr:
  ------------------
  |  Branch (1027:5): [True: 0, False: 3.39k]
  ------------------
 1028|    872|    case SP::XORXrr:
  ------------------
  |  Branch (1028:5): [True: 0, False: 3.39k]
  ------------------
 1029|    872|    case SP::XORrr: {
  ------------------
  |  Branch (1029:5): [True: 0, False: 3.39k]
  ------------------
 1030|       |      // op: rd
 1031|    872|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1032|    872|      Value |= (op & UINT64_C(31)) << 25;
 1033|       |      // op: rs1
 1034|    872|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
 1035|    872|      Value |= (op & UINT64_C(31)) << 14;
 1036|       |      // op: rs2
 1037|    872|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
 1038|    872|      Value |= op & UINT64_C(31);
 1039|    872|      break;
 1040|    872|    }
 1041|      0|    case SP::SLLXri:
  ------------------
  |  Branch (1041:5): [True: 0, False: 3.39k]
  ------------------
 1042|      0|    case SP::SRAXri:
  ------------------
  |  Branch (1042:5): [True: 0, False: 3.39k]
  ------------------
 1043|      0|    case SP::SRLXri: {
  ------------------
  |  Branch (1043:5): [True: 0, False: 3.39k]
  ------------------
 1044|       |      // op: rd
 1045|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1046|      0|      Value |= (op & UINT64_C(31)) << 25;
 1047|       |      // op: rs1
 1048|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
 1049|      0|      Value |= (op & UINT64_C(31)) << 14;
 1050|       |      // op: shcnt
 1051|      0|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
 1052|      0|      Value |= op & UINT64_C(63);
 1053|      0|      break;
 1054|      0|    }
 1055|      0|    case SP::MOVRGEZri:
  ------------------
  |  Branch (1055:5): [True: 0, False: 3.39k]
  ------------------
 1056|      0|    case SP::MOVRGZri:
  ------------------
  |  Branch (1056:5): [True: 0, False: 3.39k]
  ------------------
 1057|      0|    case SP::MOVRLEZri:
  ------------------
  |  Branch (1057:5): [True: 0, False: 3.39k]
  ------------------
 1058|      0|    case SP::MOVRLZri:
  ------------------
  |  Branch (1058:5): [True: 0, False: 3.39k]
  ------------------
 1059|      0|    case SP::MOVRNZri:
  ------------------
  |  Branch (1059:5): [True: 0, False: 3.39k]
  ------------------
 1060|      0|    case SP::MOVRRZri: {
  ------------------
  |  Branch (1060:5): [True: 0, False: 3.39k]
  ------------------
 1061|       |      // op: rd
 1062|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1063|      0|      Value |= (op & UINT64_C(31)) << 25;
 1064|       |      // op: rs1
 1065|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
 1066|      0|      Value |= (op & UINT64_C(31)) << 14;
 1067|       |      // op: simm10
 1068|      0|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
 1069|      0|      Value |= op & UINT64_C(1023);
 1070|      0|      break;
 1071|      0|    }
 1072|      0|    case SP::ADDCCri:
  ------------------
  |  Branch (1072:5): [True: 0, False: 3.39k]
  ------------------
 1073|      0|    case SP::ADDCri:
  ------------------
  |  Branch (1073:5): [True: 0, False: 3.39k]
  ------------------
 1074|      0|    case SP::ADDEri:
  ------------------
  |  Branch (1074:5): [True: 0, False: 3.39k]
  ------------------
 1075|      0|    case SP::ADDXri:
  ------------------
  |  Branch (1075:5): [True: 0, False: 3.39k]
  ------------------
 1076|      0|    case SP::ADDri:
  ------------------
  |  Branch (1076:5): [True: 0, False: 3.39k]
  ------------------
 1077|      0|    case SP::ANDCCri:
  ------------------
  |  Branch (1077:5): [True: 0, False: 3.39k]
  ------------------
 1078|      0|    case SP::ANDNCCri:
  ------------------
  |  Branch (1078:5): [True: 0, False: 3.39k]
  ------------------
 1079|      0|    case SP::ANDNri:
  ------------------
  |  Branch (1079:5): [True: 0, False: 3.39k]
  ------------------
 1080|      0|    case SP::ANDXri:
  ------------------
  |  Branch (1080:5): [True: 0, False: 3.39k]
  ------------------
 1081|      0|    case SP::ANDri:
  ------------------
  |  Branch (1081:5): [True: 0, False: 3.39k]
  ------------------
 1082|     24|    case SP::JMPLri:
  ------------------
  |  Branch (1082:5): [True: 24, False: 3.36k]
  ------------------
 1083|     24|    case SP::LDDFri:
  ------------------
  |  Branch (1083:5): [True: 0, False: 3.39k]
  ------------------
 1084|     24|    case SP::LDDri:
  ------------------
  |  Branch (1084:5): [True: 0, False: 3.39k]
  ------------------
 1085|     24|    case SP::LDFri:
  ------------------
  |  Branch (1085:5): [True: 0, False: 3.39k]
  ------------------
 1086|     24|    case SP::LDQFri:
  ------------------
  |  Branch (1086:5): [True: 0, False: 3.39k]
  ------------------
 1087|     24|    case SP::LDSBri:
  ------------------
  |  Branch (1087:5): [True: 0, False: 3.39k]
  ------------------
 1088|     24|    case SP::LDSHri:
  ------------------
  |  Branch (1088:5): [True: 0, False: 3.39k]
  ------------------
 1089|     24|    case SP::LDSTUBri:
  ------------------
  |  Branch (1089:5): [True: 0, False: 3.39k]
  ------------------
 1090|     24|    case SP::LDSWri:
  ------------------
  |  Branch (1090:5): [True: 0, False: 3.39k]
  ------------------
 1091|     24|    case SP::LDUBri:
  ------------------
  |  Branch (1091:5): [True: 0, False: 3.39k]
  ------------------
 1092|     24|    case SP::LDUHri:
  ------------------
  |  Branch (1092:5): [True: 0, False: 3.39k]
  ------------------
 1093|     24|    case SP::LDXri:
  ------------------
  |  Branch (1093:5): [True: 0, False: 3.39k]
  ------------------
 1094|     24|    case SP::LDri:
  ------------------
  |  Branch (1094:5): [True: 0, False: 3.39k]
  ------------------
 1095|     24|    case SP::LEAX_ADDri:
  ------------------
  |  Branch (1095:5): [True: 0, False: 3.39k]
  ------------------
 1096|     24|    case SP::LEA_ADDri:
  ------------------
  |  Branch (1096:5): [True: 0, False: 3.39k]
  ------------------
 1097|     24|    case SP::MULSCCri:
  ------------------
  |  Branch (1097:5): [True: 0, False: 3.39k]
  ------------------
 1098|     24|    case SP::MULXri:
  ------------------
  |  Branch (1098:5): [True: 0, False: 3.39k]
  ------------------
 1099|     24|    case SP::ORCCri:
  ------------------
  |  Branch (1099:5): [True: 0, False: 3.39k]
  ------------------
 1100|     24|    case SP::ORNCCri:
  ------------------
  |  Branch (1100:5): [True: 0, False: 3.39k]
  ------------------
 1101|     24|    case SP::ORNri:
  ------------------
  |  Branch (1101:5): [True: 0, False: 3.39k]
  ------------------
 1102|     24|    case SP::ORXri:
  ------------------
  |  Branch (1102:5): [True: 0, False: 3.39k]
  ------------------
 1103|     24|    case SP::ORri:
  ------------------
  |  Branch (1103:5): [True: 0, False: 3.39k]
  ------------------
 1104|     24|    case SP::RESTOREri:
  ------------------
  |  Branch (1104:5): [True: 0, False: 3.39k]
  ------------------
 1105|     24|    case SP::SAVEri:
  ------------------
  |  Branch (1105:5): [True: 0, False: 3.39k]
  ------------------
 1106|     24|    case SP::SDIVCCri:
  ------------------
  |  Branch (1106:5): [True: 0, False: 3.39k]
  ------------------
 1107|     24|    case SP::SDIVXri:
  ------------------
  |  Branch (1107:5): [True: 0, False: 3.39k]
  ------------------
 1108|     24|    case SP::SDIVri:
  ------------------
  |  Branch (1108:5): [True: 0, False: 3.39k]
  ------------------
 1109|     24|    case SP::SLLri:
  ------------------
  |  Branch (1109:5): [True: 0, False: 3.39k]
  ------------------
 1110|     24|    case SP::SMULCCri:
  ------------------
  |  Branch (1110:5): [True: 0, False: 3.39k]
  ------------------
 1111|     24|    case SP::SMULri:
  ------------------
  |  Branch (1111:5): [True: 0, False: 3.39k]
  ------------------
 1112|     24|    case SP::SRAri:
  ------------------
  |  Branch (1112:5): [True: 0, False: 3.39k]
  ------------------
 1113|     24|    case SP::SRLri:
  ------------------
  |  Branch (1113:5): [True: 0, False: 3.39k]
  ------------------
 1114|     24|    case SP::SUBCCri:
  ------------------
  |  Branch (1114:5): [True: 0, False: 3.39k]
  ------------------
 1115|     24|    case SP::SUBCri:
  ------------------
  |  Branch (1115:5): [True: 0, False: 3.39k]
  ------------------
 1116|     24|    case SP::SUBEri:
  ------------------
  |  Branch (1116:5): [True: 0, False: 3.39k]
  ------------------
 1117|     24|    case SP::SUBXri:
  ------------------
  |  Branch (1117:5): [True: 0, False: 3.39k]
  ------------------
 1118|     24|    case SP::SUBri:
  ------------------
  |  Branch (1118:5): [True: 0, False: 3.39k]
  ------------------
 1119|     24|    case SP::SWAPri:
  ------------------
  |  Branch (1119:5): [True: 0, False: 3.39k]
  ------------------
 1120|     24|    case SP::TADDCCTVri:
  ------------------
  |  Branch (1120:5): [True: 0, False: 3.39k]
  ------------------
 1121|     24|    case SP::TADDCCri:
  ------------------
  |  Branch (1121:5): [True: 0, False: 3.39k]
  ------------------
 1122|     24|    case SP::TSUBCCTVri:
  ------------------
  |  Branch (1122:5): [True: 0, False: 3.39k]
  ------------------
 1123|     24|    case SP::TSUBCCri:
  ------------------
  |  Branch (1123:5): [True: 0, False: 3.39k]
  ------------------
 1124|     24|    case SP::UDIVCCri:
  ------------------
  |  Branch (1124:5): [True: 0, False: 3.39k]
  ------------------
 1125|     24|    case SP::UDIVXri:
  ------------------
  |  Branch (1125:5): [True: 0, False: 3.39k]
  ------------------
 1126|     24|    case SP::UDIVri:
  ------------------
  |  Branch (1126:5): [True: 0, False: 3.39k]
  ------------------
 1127|     24|    case SP::UMULCCri:
  ------------------
  |  Branch (1127:5): [True: 0, False: 3.39k]
  ------------------
 1128|     24|    case SP::UMULri:
  ------------------
  |  Branch (1128:5): [True: 0, False: 3.39k]
  ------------------
 1129|     24|    case SP::WRASRri:
  ------------------
  |  Branch (1129:5): [True: 0, False: 3.39k]
  ------------------
 1130|     24|    case SP::WRPRri:
  ------------------
  |  Branch (1130:5): [True: 0, False: 3.39k]
  ------------------
 1131|     24|    case SP::XNORCCri:
  ------------------
  |  Branch (1131:5): [True: 0, False: 3.39k]
  ------------------
 1132|     24|    case SP::XNORri:
  ------------------
  |  Branch (1132:5): [True: 0, False: 3.39k]
  ------------------
 1133|     24|    case SP::XORCCri:
  ------------------
  |  Branch (1133:5): [True: 0, False: 3.39k]
  ------------------
 1134|     24|    case SP::XORXri:
  ------------------
  |  Branch (1134:5): [True: 0, False: 3.39k]
  ------------------
 1135|     24|    case SP::XORri: {
  ------------------
  |  Branch (1135:5): [True: 0, False: 3.39k]
  ------------------
 1136|       |      // op: rd
 1137|     24|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1138|     24|      Value |= (op & UINT64_C(31)) << 25;
 1139|       |      // op: rs1
 1140|     24|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
 1141|     24|      Value |= (op & UINT64_C(31)) << 14;
 1142|       |      // op: simm13
 1143|     24|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
 1144|     24|      Value |= op & UINT64_C(8191);
 1145|     24|      break;
 1146|     24|    }
 1147|      0|    case SP::FABSD:
  ------------------
  |  Branch (1147:5): [True: 0, False: 3.39k]
  ------------------
 1148|      0|    case SP::FABSQ:
  ------------------
  |  Branch (1148:5): [True: 0, False: 3.39k]
  ------------------
 1149|      0|    case SP::FABSS:
  ------------------
  |  Branch (1149:5): [True: 0, False: 3.39k]
  ------------------
 1150|      0|    case SP::FDTOI:
  ------------------
  |  Branch (1150:5): [True: 0, False: 3.39k]
  ------------------
 1151|      0|    case SP::FDTOQ:
  ------------------
  |  Branch (1151:5): [True: 0, False: 3.39k]
  ------------------
 1152|      0|    case SP::FDTOS:
  ------------------
  |  Branch (1152:5): [True: 0, False: 3.39k]
  ------------------
 1153|      0|    case SP::FDTOX:
  ------------------
  |  Branch (1153:5): [True: 0, False: 3.39k]
  ------------------
 1154|      0|    case SP::FEXPAND:
  ------------------
  |  Branch (1154:5): [True: 0, False: 3.39k]
  ------------------
 1155|      0|    case SP::FITOD:
  ------------------
  |  Branch (1155:5): [True: 0, False: 3.39k]
  ------------------
 1156|      0|    case SP::FITOQ:
  ------------------
  |  Branch (1156:5): [True: 0, False: 3.39k]
  ------------------
 1157|      0|    case SP::FITOS:
  ------------------
  |  Branch (1157:5): [True: 0, False: 3.39k]
  ------------------
 1158|      0|    case SP::FMOVD:
  ------------------
  |  Branch (1158:5): [True: 0, False: 3.39k]
  ------------------
 1159|      0|    case SP::FMOVQ:
  ------------------
  |  Branch (1159:5): [True: 0, False: 3.39k]
  ------------------
 1160|      0|    case SP::FMOVS:
  ------------------
  |  Branch (1160:5): [True: 0, False: 3.39k]
  ------------------
 1161|      0|    case SP::FNEGD:
  ------------------
  |  Branch (1161:5): [True: 0, False: 3.39k]
  ------------------
 1162|      0|    case SP::FNEGQ:
  ------------------
  |  Branch (1162:5): [True: 0, False: 3.39k]
  ------------------
 1163|      0|    case SP::FNEGS:
  ------------------
  |  Branch (1163:5): [True: 0, False: 3.39k]
  ------------------
 1164|      0|    case SP::FNOT2:
  ------------------
  |  Branch (1164:5): [True: 0, False: 3.39k]
  ------------------
 1165|      0|    case SP::FNOT2S:
  ------------------
  |  Branch (1165:5): [True: 0, False: 3.39k]
  ------------------
 1166|      0|    case SP::FPACK16:
  ------------------
  |  Branch (1166:5): [True: 0, False: 3.39k]
  ------------------
 1167|      0|    case SP::FPACKFIX:
  ------------------
  |  Branch (1167:5): [True: 0, False: 3.39k]
  ------------------
 1168|      0|    case SP::FQTOD:
  ------------------
  |  Branch (1168:5): [True: 0, False: 3.39k]
  ------------------
 1169|      0|    case SP::FQTOI:
  ------------------
  |  Branch (1169:5): [True: 0, False: 3.39k]
  ------------------
 1170|      0|    case SP::FQTOS:
  ------------------
  |  Branch (1170:5): [True: 0, False: 3.39k]
  ------------------
 1171|      0|    case SP::FQTOX:
  ------------------
  |  Branch (1171:5): [True: 0, False: 3.39k]
  ------------------
 1172|      0|    case SP::FSQRTD:
  ------------------
  |  Branch (1172:5): [True: 0, False: 3.39k]
  ------------------
 1173|      0|    case SP::FSQRTQ:
  ------------------
  |  Branch (1173:5): [True: 0, False: 3.39k]
  ------------------
 1174|      0|    case SP::FSQRTS:
  ------------------
  |  Branch (1174:5): [True: 0, False: 3.39k]
  ------------------
 1175|      0|    case SP::FSRC2:
  ------------------
  |  Branch (1175:5): [True: 0, False: 3.39k]
  ------------------
 1176|      0|    case SP::FSRC2S:
  ------------------
  |  Branch (1176:5): [True: 0, False: 3.39k]
  ------------------
 1177|      0|    case SP::FSTOD:
  ------------------
  |  Branch (1177:5): [True: 0, False: 3.39k]
  ------------------
 1178|      0|    case SP::FSTOI:
  ------------------
  |  Branch (1178:5): [True: 0, False: 3.39k]
  ------------------
 1179|      0|    case SP::FSTOQ:
  ------------------
  |  Branch (1179:5): [True: 0, False: 3.39k]
  ------------------
 1180|      0|    case SP::FSTOX:
  ------------------
  |  Branch (1180:5): [True: 0, False: 3.39k]
  ------------------
 1181|      0|    case SP::FXTOD:
  ------------------
  |  Branch (1181:5): [True: 0, False: 3.39k]
  ------------------
 1182|      0|    case SP::FXTOQ:
  ------------------
  |  Branch (1182:5): [True: 0, False: 3.39k]
  ------------------
 1183|      0|    case SP::FXTOS:
  ------------------
  |  Branch (1183:5): [True: 0, False: 3.39k]
  ------------------
 1184|      0|    case SP::LZCNT:
  ------------------
  |  Branch (1184:5): [True: 0, False: 3.39k]
  ------------------
 1185|      0|    case SP::MOVDTOX:
  ------------------
  |  Branch (1185:5): [True: 0, False: 3.39k]
  ------------------
 1186|      0|    case SP::MOVSTOSW:
  ------------------
  |  Branch (1186:5): [True: 0, False: 3.39k]
  ------------------
 1187|      0|    case SP::MOVSTOUW:
  ------------------
  |  Branch (1187:5): [True: 0, False: 3.39k]
  ------------------
 1188|      0|    case SP::MOVWTOS:
  ------------------
  |  Branch (1188:5): [True: 0, False: 3.39k]
  ------------------
 1189|      0|    case SP::MOVXTOD:
  ------------------
  |  Branch (1189:5): [True: 0, False: 3.39k]
  ------------------
 1190|      0|    case SP::POPCrr: {
  ------------------
  |  Branch (1190:5): [True: 0, False: 3.39k]
  ------------------
 1191|       |      // op: rd
 1192|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1193|      0|      Value |= (op & UINT64_C(31)) << 25;
 1194|       |      // op: rs2
 1195|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
 1196|      0|      Value |= op & UINT64_C(31);
 1197|      0|      break;
 1198|      0|    }
 1199|      0|    case SP::STArr:
  ------------------
  |  Branch (1199:5): [True: 0, False: 3.39k]
  ------------------
 1200|      0|    case SP::STBArr:
  ------------------
  |  Branch (1200:5): [True: 0, False: 3.39k]
  ------------------
 1201|      0|    case SP::STDArr:
  ------------------
  |  Branch (1201:5): [True: 0, False: 3.39k]
  ------------------
 1202|      0|    case SP::STDFArr:
  ------------------
  |  Branch (1202:5): [True: 0, False: 3.39k]
  ------------------
 1203|      0|    case SP::STFArr:
  ------------------
  |  Branch (1203:5): [True: 0, False: 3.39k]
  ------------------
 1204|      0|    case SP::STHArr:
  ------------------
  |  Branch (1204:5): [True: 0, False: 3.39k]
  ------------------
 1205|      0|    case SP::STQFArr: {
  ------------------
  |  Branch (1205:5): [True: 0, False: 3.39k]
  ------------------
 1206|       |      // op: rd
 1207|      0|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
 1208|      0|      Value |= (op & UINT64_C(31)) << 25;
 1209|       |      // op: rs1
 1210|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1211|      0|      Value |= (op & UINT64_C(31)) << 14;
 1212|       |      // op: asi
 1213|      0|      op = getMachineOpValue(MI, MI.getOperand(3), Fixups, STI);
 1214|      0|      Value |= (op & UINT64_C(255)) << 5;
 1215|       |      // op: rs2
 1216|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
 1217|      0|      Value |= op & UINT64_C(31);
 1218|      0|      break;
 1219|      0|    }
 1220|      0|    case SP::STBrr:
  ------------------
  |  Branch (1220:5): [True: 0, False: 3.39k]
  ------------------
 1221|      0|    case SP::STDFrr:
  ------------------
  |  Branch (1221:5): [True: 0, False: 3.39k]
  ------------------
 1222|      0|    case SP::STDrr:
  ------------------
  |  Branch (1222:5): [True: 0, False: 3.39k]
  ------------------
 1223|      0|    case SP::STFrr:
  ------------------
  |  Branch (1223:5): [True: 0, False: 3.39k]
  ------------------
 1224|      0|    case SP::STHrr:
  ------------------
  |  Branch (1224:5): [True: 0, False: 3.39k]
  ------------------
 1225|      0|    case SP::STQFrr:
  ------------------
  |  Branch (1225:5): [True: 0, False: 3.39k]
  ------------------
 1226|      0|    case SP::STXrr:
  ------------------
  |  Branch (1226:5): [True: 0, False: 3.39k]
  ------------------
 1227|      0|    case SP::STrr: {
  ------------------
  |  Branch (1227:5): [True: 0, False: 3.39k]
  ------------------
 1228|       |      // op: rd
 1229|      0|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
 1230|      0|      Value |= (op & UINT64_C(31)) << 25;
 1231|       |      // op: rs1
 1232|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1233|      0|      Value |= (op & UINT64_C(31)) << 14;
 1234|       |      // op: rs2
 1235|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
 1236|      0|      Value |= op & UINT64_C(31);
 1237|      0|      break;
 1238|      0|    }
 1239|      0|    case SP::STBri:
  ------------------
  |  Branch (1239:5): [True: 0, False: 3.39k]
  ------------------
 1240|      0|    case SP::STDFri:
  ------------------
  |  Branch (1240:5): [True: 0, False: 3.39k]
  ------------------
 1241|      0|    case SP::STDri:
  ------------------
  |  Branch (1241:5): [True: 0, False: 3.39k]
  ------------------
 1242|      0|    case SP::STFri:
  ------------------
  |  Branch (1242:5): [True: 0, False: 3.39k]
  ------------------
 1243|      0|    case SP::STHri:
  ------------------
  |  Branch (1243:5): [True: 0, False: 3.39k]
  ------------------
 1244|      0|    case SP::STQFri:
  ------------------
  |  Branch (1244:5): [True: 0, False: 3.39k]
  ------------------
 1245|      0|    case SP::STXri:
  ------------------
  |  Branch (1245:5): [True: 0, False: 3.39k]
  ------------------
 1246|      0|    case SP::STri: {
  ------------------
  |  Branch (1246:5): [True: 0, False: 3.39k]
  ------------------
 1247|       |      // op: rd
 1248|      0|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
 1249|      0|      Value |= (op & UINT64_C(31)) << 25;
 1250|       |      // op: rs1
 1251|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1252|      0|      Value |= (op & UINT64_C(31)) << 14;
 1253|       |      // op: simm13
 1254|      0|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
 1255|      0|      Value |= op & UINT64_C(8191);
 1256|      0|      break;
 1257|      0|    }
 1258|     56|    case SP::TICCri:
  ------------------
  |  Branch (1258:5): [True: 56, False: 3.33k]
  ------------------
 1259|     56|    case SP::TXCCri: {
  ------------------
  |  Branch (1259:5): [True: 0, False: 3.39k]
  ------------------
 1260|       |      // op: rs1
 1261|     56|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1262|     56|      Value |= (op & UINT64_C(31)) << 14;
 1263|       |      // op: cond
 1264|     56|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
 1265|     56|      Value |= (op & UINT64_C(15)) << 25;
 1266|       |      // op: imm
 1267|     56|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
 1268|     56|      Value |= op & UINT64_C(255);
 1269|     56|      break;
 1270|     56|    }
 1271|     19|    case SP::TICCrr:
  ------------------
  |  Branch (1271:5): [True: 19, False: 3.37k]
  ------------------
 1272|     19|    case SP::TXCCrr: {
  ------------------
  |  Branch (1272:5): [True: 0, False: 3.39k]
  ------------------
 1273|       |      // op: rs1
 1274|     19|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1275|     19|      Value |= (op & UINT64_C(31)) << 14;
 1276|       |      // op: cond
 1277|     19|      op = getMachineOpValue(MI, MI.getOperand(2), Fixups, STI);
 1278|     19|      Value |= (op & UINT64_C(15)) << 25;
 1279|       |      // op: rs2
 1280|     19|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
 1281|     19|      Value |= op & UINT64_C(31);
 1282|     19|      break;
 1283|     19|    }
 1284|      0|    case SP::BINDrr:
  ------------------
  |  Branch (1284:5): [True: 0, False: 3.39k]
  ------------------
 1285|      0|    case SP::CALLrr:
  ------------------
  |  Branch (1285:5): [True: 0, False: 3.39k]
  ------------------
 1286|      0|    case SP::CMPrr:
  ------------------
  |  Branch (1286:5): [True: 0, False: 3.39k]
  ------------------
 1287|      0|    case SP::FCMPD:
  ------------------
  |  Branch (1287:5): [True: 0, False: 3.39k]
  ------------------
 1288|      0|    case SP::FCMPQ:
  ------------------
  |  Branch (1288:5): [True: 0, False: 3.39k]
  ------------------
 1289|      0|    case SP::FCMPS:
  ------------------
  |  Branch (1289:5): [True: 0, False: 3.39k]
  ------------------
 1290|      1|    case SP::FLUSHrr:
  ------------------
  |  Branch (1290:5): [True: 1, False: 3.38k]
  ------------------
 1291|      1|    case SP::LDFSRrr:
  ------------------
  |  Branch (1291:5): [True: 0, False: 3.39k]
  ------------------
 1292|      1|    case SP::LDXFSRrr:
  ------------------
  |  Branch (1292:5): [True: 0, False: 3.39k]
  ------------------
 1293|     20|    case SP::RETTrr:
  ------------------
  |  Branch (1293:5): [True: 19, False: 3.37k]
  ------------------
 1294|     20|    case SP::STFSRrr:
  ------------------
  |  Branch (1294:5): [True: 0, False: 3.39k]
  ------------------
 1295|     20|    case SP::STXFSRrr:
  ------------------
  |  Branch (1295:5): [True: 0, False: 3.39k]
  ------------------
 1296|     20|    case SP::WRPSRrr:
  ------------------
  |  Branch (1296:5): [True: 0, False: 3.39k]
  ------------------
 1297|     20|    case SP::WRTBRrr:
  ------------------
  |  Branch (1297:5): [True: 0, False: 3.39k]
  ------------------
 1298|     20|    case SP::WRWIMrr: {
  ------------------
  |  Branch (1298:5): [True: 0, False: 3.39k]
  ------------------
 1299|       |      // op: rs1
 1300|     20|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1301|     20|      Value |= (op & UINT64_C(31)) << 14;
 1302|       |      // op: rs2
 1303|     20|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
 1304|     20|      Value |= op & UINT64_C(31);
 1305|     20|      break;
 1306|     20|    }
 1307|      0|    case SP::BINDri:
  ------------------
  |  Branch (1307:5): [True: 0, False: 3.39k]
  ------------------
 1308|      0|    case SP::CALLri:
  ------------------
  |  Branch (1308:5): [True: 0, False: 3.39k]
  ------------------
 1309|      0|    case SP::CMPri:
  ------------------
  |  Branch (1309:5): [True: 0, False: 3.39k]
  ------------------
 1310|      3|    case SP::FLUSHri:
  ------------------
  |  Branch (1310:5): [True: 3, False: 3.38k]
  ------------------
 1311|      3|    case SP::LDFSRri:
  ------------------
  |  Branch (1311:5): [True: 0, False: 3.39k]
  ------------------
 1312|      3|    case SP::LDXFSRri:
  ------------------
  |  Branch (1312:5): [True: 0, False: 3.39k]
  ------------------
 1313|      6|    case SP::RETTri:
  ------------------
  |  Branch (1313:5): [True: 3, False: 3.38k]
  ------------------
 1314|      6|    case SP::STFSRri:
  ------------------
  |  Branch (1314:5): [True: 0, False: 3.39k]
  ------------------
 1315|      6|    case SP::STXFSRri:
  ------------------
  |  Branch (1315:5): [True: 0, False: 3.39k]
  ------------------
 1316|      6|    case SP::WRPSRri:
  ------------------
  |  Branch (1316:5): [True: 0, False: 3.39k]
  ------------------
 1317|      6|    case SP::WRTBRri:
  ------------------
  |  Branch (1317:5): [True: 0, False: 3.39k]
  ------------------
 1318|      6|    case SP::WRWIMri: {
  ------------------
  |  Branch (1318:5): [True: 0, False: 3.39k]
  ------------------
 1319|       |      // op: rs1
 1320|      6|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1321|      6|      Value |= (op & UINT64_C(31)) << 14;
 1322|       |      // op: simm13
 1323|      6|      op = getMachineOpValue(MI, MI.getOperand(1), Fixups, STI);
 1324|      6|      Value |= op & UINT64_C(8191);
 1325|      6|      break;
 1326|      6|    }
 1327|      0|    case SP::CMASK16:
  ------------------
  |  Branch (1327:5): [True: 0, False: 3.39k]
  ------------------
 1328|      0|    case SP::CMASK32:
  ------------------
  |  Branch (1328:5): [True: 0, False: 3.39k]
  ------------------
 1329|      0|    case SP::CMASK8: {
  ------------------
  |  Branch (1329:5): [True: 0, False: 3.39k]
  ------------------
 1330|       |      // op: rs2
 1331|      0|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1332|      0|      Value |= op & UINT64_C(31);
 1333|      0|      break;
 1334|      0|    }
 1335|      0|    case SP::MEMBARi:
  ------------------
  |  Branch (1335:5): [True: 0, False: 3.39k]
  ------------------
 1336|     12|    case SP::RET:
  ------------------
  |  Branch (1336:5): [True: 12, False: 3.37k]
  ------------------
 1337|     12|    case SP::RETL: {
  ------------------
  |  Branch (1337:5): [True: 0, False: 3.39k]
  ------------------
 1338|       |      // op: simm13
 1339|     12|      op = getMachineOpValue(MI, MI.getOperand(0), Fixups, STI);
 1340|     12|      Value |= op & UINT64_C(8191);
 1341|     12|      break;
 1342|     12|    }
 1343|      0|  default:
  ------------------
  |  Branch (1343:3): [True: 0, False: 3.39k]
  ------------------
 1344|      0|    std::string msg;
 1345|      0|    raw_string_ostream Msg(msg);
 1346|      0|    Msg << "Not supported instr: " << MI;
 1347|      0|    report_fatal_error(Msg.str());
 1348|  3.39k|  }
 1349|  3.39k|  return Value;
 1350|  3.39k|}

SparcMCTargetDesc.cpp:_ZN7llvm_ksL23InitSparcMCRegisterInfoEPNS_14MCRegisterInfoEjjjj:
 1545|  12.6k|static inline void InitSparcMCRegisterInfo(MCRegisterInfo *RI, unsigned RA, unsigned DwarfFlavour = 0, unsigned EHFlavour = 0, unsigned PC = 0) {
 1546|  12.6k|  RI->InitMCRegisterInfo(SparcRegDesc, 185, RA, PC, SparcMCRegisterClasses, 11, SparcRegUnitRoots, 136, SparcRegDiffLists, SparcLaneMaskLists, SparcRegStrings, SparcRegClassStrings, SparcSubRegIdxLists, 7,
 1547|  12.6k|SparcSubRegIdxRanges, SparcRegEncodingTable);
 1548|       |
 1549|  12.6k|  switch (DwarfFlavour) {
 1550|      0|  default:
  ------------------
  |  Branch (1550:3): [True: 0, False: 12.6k]
  ------------------
 1551|      0|    llvm_unreachable("Unknown DWARF flavour");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 1552|  12.6k|  case 0:
  ------------------
  |  Branch (1552:3): [True: 12.6k, False: 0]
  ------------------
 1553|  12.6k|    RI->mapDwarfRegsToLLVMRegs(SPDwarfFlavour0Dwarf2L, SPDwarfFlavour0Dwarf2LSize, false);
 1554|  12.6k|    break;
 1555|  12.6k|  }
 1556|  12.6k|  switch (EHFlavour) {
 1557|      0|  default:
  ------------------
  |  Branch (1557:3): [True: 0, False: 12.6k]
  ------------------
 1558|      0|    llvm_unreachable("Unknown DWARF flavour");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 1559|  12.6k|  case 0:
  ------------------
  |  Branch (1559:3): [True: 12.6k, False: 0]
  ------------------
 1560|  12.6k|    RI->mapDwarfRegsToLLVMRegs(SPEHFlavour0Dwarf2L, SPEHFlavour0Dwarf2LSize, true);
 1561|  12.6k|    break;
 1562|  12.6k|  }
 1563|  12.6k|  switch (DwarfFlavour) {
 1564|      0|  default:
  ------------------
  |  Branch (1564:3): [True: 0, False: 12.6k]
  ------------------
 1565|      0|    llvm_unreachable("Unknown DWARF flavour");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 1566|  12.6k|  case 0:
  ------------------
  |  Branch (1566:3): [True: 12.6k, False: 0]
  ------------------
 1567|  12.6k|    RI->mapLLVMRegsToDwarfRegs(SPDwarfFlavour0L2Dwarf, SPDwarfFlavour0L2DwarfSize, false);
 1568|  12.6k|    break;
 1569|  12.6k|  }
 1570|  12.6k|  switch (EHFlavour) {
 1571|      0|  default:
  ------------------
  |  Branch (1571:3): [True: 0, False: 12.6k]
  ------------------
 1572|      0|    llvm_unreachable("Unknown DWARF flavour");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 1573|  12.6k|  case 0:
  ------------------
  |  Branch (1573:3): [True: 12.6k, False: 0]
  ------------------
 1574|  12.6k|    RI->mapLLVMRegsToDwarfRegs(SPEHFlavour0L2Dwarf, SPEHFlavour0L2DwarfSize, true);
 1575|  12.6k|    break;
 1576|  12.6k|  }
 1577|  12.6k|}

SparcMCTargetDesc.cpp:_ZN7llvm_ksL30createSparcMCSubtargetInfoImplERKNS_6TripleENS_9StringRefES3_:
   76|  12.6k|static inline MCSubtargetInfo *createSparcMCSubtargetInfoImpl(const Triple &TT, StringRef CPU, StringRef FS) {
   77|       |  return new MCSubtargetInfo(TT, CPU, FS, SparcFeatureKV, SparcSubTypeKV, NULL);
   78|  12.6k|}

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|}

LLVMInitializeX86AsmParser:
 3433|      1|extern "C" void LLVMInitializeX86AsmParser() {
 3434|      1|  RegisterMCAsmParser<X86AsmParser> X(TheX86_32Target);
 3435|      1|  RegisterMCAsmParser<X86AsmParser> Y(TheX86_64Target);
 3436|      1|}

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|}

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|}

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

