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

_ZN7llvm_ks5APIntC2EPmj:
   98|   176k|  APInt(uint64_t *val, unsigned bits) : BitWidth(bits), pVal(val) {}
_ZNK7llvm_ks5APInt12isSingleWordEv:
  103|  3.36M|  bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; }
_ZN7llvm_ks5APInt15clearUnusedBitsEv:
  136|   764k|  APInt &clearUnusedBits() {
  137|       |    // Compute how many bits are used in the final word
  138|   764k|    unsigned wordBits = BitWidth % APINT_BITS_PER_WORD;
  139|   764k|    if (wordBits == 0)
  ------------------
  |  Branch (139:9): [True: 705k, False: 58.6k]
  ------------------
  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|   705k|      return *this;
  144|       |
  145|       |    // Mask out the high bits.
  146|  58.6k|    uint64_t mask = ~uint64_t(0ULL) >> (APINT_BITS_PER_WORD - wordBits);
  147|  58.6k|    if (isSingleWord())
  ------------------
  |  Branch (147:9): [True: 2.64k, False: 55.9k]
  ------------------
  148|  2.64k|      VAL &= mask;
  149|  55.9k|    else
  150|  55.9k|      pVal[getNumWords() - 1] &= mask;
  151|  58.6k|    return *this;
  152|   764k|  }
_ZN7llvm_ks5APIntC2Ejmb:
  237|   534k|      : BitWidth(numBits), VAL(0) {
  238|   534k|    assert(BitWidth && "bitwidth too small");
  ------------------
  |  Branch (238:5): [True: 534k, False: 0]
  |  Branch (238:5): [True: 534k, Folded]
  |  Branch (238:5): [True: 534k, False: 0]
  ------------------
  239|   534k|    if (isSingleWord())
  ------------------
  |  Branch (239:9): [True: 478k, False: 56.8k]
  ------------------
  240|   478k|      VAL = val;
  241|  56.8k|    else
  242|  56.8k|      initSlowCase(numBits, val, isSigned);
  243|   534k|    clearUnusedBits();
  244|   534k|  }
_ZN7llvm_ks5APIntC2ERKS0_:
  279|   362k|  APInt(const APInt &that) : BitWidth(that.BitWidth), VAL(0) {
  280|   362k|    if (isSingleWord())
  ------------------
  |  Branch (280:9): [True: 253k, False: 109k]
  ------------------
  281|   253k|      VAL = that.VAL;
  282|   109k|    else
  283|   109k|      initSlowCase(that);
  284|   362k|  }
_ZN7llvm_ks5APIntC2EOS0_:
  287|   509k|  APInt(APInt &&that) : BitWidth(that.BitWidth), VAL(that.VAL) {
  288|   509k|    that.BitWidth = 0;
  289|   509k|  }
_ZN7llvm_ks5APIntD2Ev:
  292|  1.67M|  ~APInt() {
  293|  1.67M|    if (needsCleanup())
  ------------------
  |  Branch (293:9): [True: 151k, False: 1.52M]
  ------------------
  294|   151k|      delete[] pVal;
  295|  1.67M|  }
_ZN7llvm_ks5APIntC2Ev:
  302|  91.8k|  explicit APInt() : BitWidth(1), VAL(0) {}
_ZNK7llvm_ks5APInt12needsCleanupEv:
  305|  1.67M|  bool needsCleanup() const { return !isSingleWord(); }
_ZNK7llvm_ks5APInt6isIntNEj:
  373|  57.5k|  bool isIntN(unsigned N) const {
  374|  57.5k|    assert(N && "N == 0 ???");
  ------------------
  |  Branch (374:5): [True: 57.5k, False: 0]
  |  Branch (374:5): [True: 57.5k, Folded]
  |  Branch (374:5): [True: 57.5k, False: 0]
  ------------------
  375|  57.5k|    return getActiveBits() <= N;
  376|  57.5k|  }
_ZNK7llvm_ks5APInt15getLimitedValueEm:
  405|  2.64k|  uint64_t getLimitedValue(uint64_t Limit = ~0ULL) const {
  406|  2.64k|    return (getActiveBits() > 64 || getZExtValue() > Limit) ? Limit
  ------------------
  |  Branch (406:13): [True: 0, False: 2.64k]
  |  Branch (406:37): [True: 0, False: 2.64k]
  ------------------
  407|  2.64k|                                                            : getZExtValue();
  408|  2.64k|  }
_ZNK7llvm_ks5APInt10getRawDataEv:
  574|    963|  const uint64_t *getRawData() const {
  575|    963|    if (isSingleWord())
  ------------------
  |  Branch (575:9): [True: 129, False: 834]
  ------------------
  576|    129|      return &VAL;
  577|    834|    return &pVal[0];
  578|    963|  }
_ZN7llvm_ks5APIntaSERKS0_:
  652|  12.1k|  APInt &operator=(const APInt &RHS) {
  653|       |    // If the bitwidths are the same, we can avoid mucking with memory
  654|  12.1k|    if (isSingleWord() && RHS.isSingleWord()) {
  ------------------
  |  Branch (654:9): [True: 11.2k, False: 867]
  |  Branch (654:27): [True: 10.6k, False: 573]
  ------------------
  655|  10.6k|      VAL = RHS.VAL;
  656|  10.6k|      BitWidth = RHS.BitWidth;
  657|  10.6k|      return clearUnusedBits();
  658|  10.6k|    }
  659|       |
  660|  1.44k|    return AssignSlowCase(RHS);
  661|  12.1k|  }
_ZN7llvm_ks5APIntaSEOS0_:
  664|   192k|  APInt &operator=(APInt &&that) {
  665|   192k|    if (!isSingleWord()) {
  ------------------
  |  Branch (665:9): [True: 192k, 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|   192k|      if (this == &that)
  ------------------
  |  Branch (669:11): [True: 0, False: 192k]
  ------------------
  670|      0|        return *this;
  671|   192k|      delete[] pVal;
  672|   192k|    }
  673|       |
  674|       |    // Use memcpy so that type based alias analysis sees both VAL and pVal
  675|       |    // as modified.
  676|   192k|    memcpy(&VAL, &that.VAL, sizeof(uint64_t));
  677|       |
  678|       |    // If 'this == &that', avoid zeroing our own bitwidth by storing to 'that'
  679|       |    // first.
  680|   192k|    unsigned ThatBitWidth = that.BitWidth;
  681|   192k|    that.BitWidth = 0;
  682|   192k|    BitWidth = ThatBitWidth;
  683|       |
  684|   192k|    return *this;
  685|   192k|  }
_ZN7llvm_ks5APIntoREm:
  717|   175k|  APInt &operator|=(uint64_t RHS) {
  718|   175k|    if (isSingleWord()) {
  ------------------
  |  Branch (718:9): [True: 0, False: 175k]
  ------------------
  719|      0|      VAL |= RHS;
  720|      0|      clearUnusedBits();
  721|   175k|    } else {
  722|   175k|      pVal[0] |= RHS;
  723|   175k|    }
  724|   175k|    return *this;
  725|   175k|  }
_ZN7llvm_ks5APIntlSEj:
  761|   175k|  APInt &operator<<=(unsigned shiftAmt) {
  762|   175k|    *this = shl(shiftAmt);
  763|   175k|    return *this;
  764|   175k|  }
_ZNK7llvm_ks5APInt3shlEj:
  869|   176k|  APInt LLVM_ATTRIBUTE_UNUSED_RESULT shl(unsigned shiftAmt) const {
  870|   176k|    assert(shiftAmt <= BitWidth && "Invalid shift amount");
  ------------------
  |  Branch (870:5): [True: 176k, False: 0]
  |  Branch (870:5): [True: 176k, Folded]
  |  Branch (870:5): [True: 176k, False: 0]
  ------------------
  871|   176k|    if (isSingleWord()) {
  ------------------
  |  Branch (871:9): [True: 0, False: 176k]
  ------------------
  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|   176k|    return shlSlowCase(shiftAmt);
  877|   176k|  }
_ZNK7llvm_ks5APInt11getBitWidthEv:
 1274|  86.4k|  unsigned getBitWidth() const { return BitWidth; }
_ZNK7llvm_ks5APInt11getNumWordsEv:
 1281|  8.96M|  unsigned getNumWords() const { return getNumWords(BitWidth); }
_ZN7llvm_ks5APInt11getNumWordsEj:
 1289|  8.97M|  static unsigned getNumWords(unsigned BitWidth) {
 1290|  8.97M|    return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD;
 1291|  8.97M|  }
_ZNK7llvm_ks5APInt13getActiveBitsEv:
 1298|  80.9k|  unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); }
_ZNK7llvm_ks5APInt12getZExtValueEv:
 1328|  43.1k|  uint64_t getZExtValue() const {
 1329|  43.1k|    if (isSingleWord())
  ------------------
  |  Branch (1329:9): [True: 22.4k, False: 20.6k]
  ------------------
 1330|  22.4k|      return VAL;
 1331|  43.1k|    assert(getActiveBits() <= 64 && "Too many bits for uint64_t");
  ------------------
  |  Branch (1331:5): [True: 20.6k, False: 0]
  |  Branch (1331:5): [True: 20.6k, Folded]
  |  Branch (1331:5): [True: 20.6k, False: 0]
  ------------------
 1332|  20.6k|    return pVal[0];
 1333|  20.6k|  }
_ZNK7llvm_ks5APInt17countLeadingZerosEv:
 1362|  80.9k|  unsigned countLeadingZeros() const {
 1363|  80.9k|    if (isSingleWord()) {
  ------------------
  |  Branch (1363:9): [True: 18.5k, False: 62.4k]
  ------------------
 1364|  18.5k|      unsigned unusedBits = APINT_BITS_PER_WORD - BitWidth;
 1365|  18.5k|      return llvm_ks::countLeadingZeros(VAL) - unusedBits;
 1366|  18.5k|    }
 1367|  62.4k|    return countLeadingZerosSlowCase();
 1368|  80.9k|  }
_ZN7llvm_ks8APIntOps4lshrERKNS_5APIntEj:
 1841|    474|inline APInt lshr(const APInt &LHS, unsigned shiftAmt) {
 1842|    474|  return LHS.lshr(shiftAmt);
 1843|    474|}
_ZN7llvm_ks8APIntOps3shlERKNS_5APIntEj:
 1848|    237|inline APInt shl(const APInt &LHS, unsigned shiftAmt) {
 1849|    237|  return LHS.shl(shiftAmt);
 1850|    237|}

_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE5beginEv:
  123|  3.46k|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE3endEv:
  124|  4.15k|    iterator end() const { return Data + Length; }
_ZN7llvm_ks8ArrayRefINS_7SMRangeEEC2ENS_8NoneTypeE:
   54|  3.52k|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINS_7SMFixItEEC2ENS_8NoneTypeE:
   54|  4.31k|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINSt3__14pairIjjEEEC2INS1_9allocatorIS3_EEEERKNS1_6vectorIS3_T_EE:
   79|    785|      : Data(Vec.data()), Length(Vec.size()) {}
_ZN7llvm_ks15MutableArrayRefINS_8AsmTokenEEC2ERS1_:
  233|  7.83k|    /*implicit*/ MutableArrayRef(T &OneElt) : ArrayRef<T>(OneElt) {}
_ZN7llvm_ks8ArrayRefINS_8AsmTokenEEC2ERKS1_:
   58|  7.83k|      : Data(&OneElt), Length(1) {}
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE4sizeEv:
  135|  8.08k|    size_t size() const { return Length; }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE4backEv:
  144|  3.29k|    const T &back() const {
  145|  3.29k|      assert(!empty());
  ------------------
  |  Branch (145:7): [True: 3.29k, False: 0]
  ------------------
  146|  3.29k|      return Data[Length-1];
  147|  3.29k|    }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE5emptyEv:
  130|  3.29k|    bool empty() const { return Length == 0; }
_ZNK7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEE4sizeEv:
  135|  3.32k|    size_t size() const { return Length; }
_ZNK7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEixEm:
  185|  1.12k|    const T &operator[](size_t Index) const {
  186|  1.12k|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 1.12k, False: 0]
  |  Branch (186:7): [True: 1.12k, Folded]
  |  Branch (186:7): [True: 1.12k, False: 0]
  ------------------
  187|  1.12k|      return Data[Index];
  188|  1.12k|    }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEixEm:
  185|  11.8k|    const T &operator[](size_t Index) const {
  186|  11.8k|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 11.8k, False: 0]
  |  Branch (186:7): [True: 11.8k, Folded]
  |  Branch (186:7): [True: 11.8k, False: 0]
  ------------------
  187|  11.8k|      return Data[Index];
  188|  11.8k|    }
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2INSt3__19allocatorIS2_EEEERKNS5_6vectorIS2_T_EE:
   79|  4.46k|      : Data(Vec.data()), Length(Vec.size()) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2INS4_IS6_EEEERKNS2_IS6_T_EE:
   79|  4.39k|      : Data(Vec.data()), Length(Vec.size()) {}
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2ENS_8NoneTypeE:
   54|    404|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2ENS_8NoneTypeE:
   54|    404|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2ERKS2_:
   58|  3.21k|      : Data(&OneElt), Length(1) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2ERKS6_:
   58|  3.21k|      : Data(&OneElt), Length(1) {}
_ZN7llvm_ks8ArrayRefINS_7SMRangeEEC2ERKS1_:
   58|      2|      : Data(&OneElt), Length(1) {}
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE5emptyEv:
  130|  1.88k|    bool empty() const { return Length == 0; }
_ZN7llvm_ks8ArrayRefINS_7SMFixItEEC2IvEERKNS_25SmallVectorTemplateCommonIS1_T_EE:
   73|  1.88k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  1.88k|    }
_ZNK7llvm_ks8ArrayRefINS_7SMRangeEE4sizeEv:
  135|  2.63k|    size_t size() const { return Length; }
_ZNK7llvm_ks8ArrayRefINS_7SMRangeEEixEm:
  185|      2|    const T &operator[](size_t Index) const {
  186|      2|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 2, False: 0]
  |  Branch (186:7): [True: 2, Folded]
  |  Branch (186:7): [True: 2, False: 0]
  ------------------
  187|      2|      return Data[Index];
  188|      2|    }
_ZN7llvm_ks8ArrayRefINSt3__14pairIjjEEEC2IvEERKNS_25SmallVectorTemplateCommonIS3_T_EE:
   73|  3.52k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  3.52k|    }
_ZNK7llvm_ks8ArrayRefINSt3__14pairIjjEEE3vecEv:
  193|  4.31k|    std::vector<T> vec() const {
  194|  4.31k|      return std::vector<T>(Data, Data+Length);
  195|  4.31k|    }
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE5beginEv:
  123|  4.31k|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE3endEv:
  124|  4.31k|    iterator end() const { return Data + Length; }
_ZN7llvm_ks12makeArrayRefIcEENS_8ArrayRefIT_EEPKS2_m:
  313|  1.88k|  ArrayRef<T> makeArrayRef(const T *data, size_t length) {
  314|  1.88k|    return ArrayRef<T>(data, length);
  315|  1.88k|  }
_ZN7llvm_ks8ArrayRefIcEC2EPKcm:
   62|  1.88k|      : Data(data), Length(length) {}
_ZNK7llvm_ks8ArrayRefIcE4sizeEv:
  135|  1.61k|    size_t size() const { return Length; }
_ZN7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEEC2ILm7EEERAT__KS1_:
   84|    692|      : Data(Arr), Length(N) {}
_ZN7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEEC2ILm17EEERAT__KS1_:
   84|    692|      : Data(Arr), Length(N) {}
_ZN7llvm_ks8ArrayRefINS_7MCFixupEEC2Ev:
   51|    615|    /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks15MutableArrayRefIcEC2Ev:
  227|    615|    /*implicit*/ MutableArrayRef() : ArrayRef<T>() {}
_ZN7llvm_ks8ArrayRefIcEC2Ev:
   51|    615|    /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINS_7MCFixupEEC2IvEERKNS_25SmallVectorTemplateCommonIS1_T_EE:
   73|    615|      : Data(Vec.data()), Length(Vec.size()) {
   74|    615|    }
_ZN7llvm_ks15MutableArrayRefIcEC2ERNS_15SmallVectorImplIcEE:
  244|    615|    : ArrayRef<T>(Vec) {}
_ZN7llvm_ks8ArrayRefIcEC2IvEERKNS_25SmallVectorTemplateCommonIcT_EE:
   73|    615|      : Data(Vec.data()), Length(Vec.size()) {
   74|    615|    }
_ZNK7llvm_ks8ArrayRefINS_7MCFixupEE5beginEv:
  123|    615|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_7MCFixupEE3endEv:
  124|    615|    iterator end() const { return Data + Length; }
_ZNK7llvm_ks15MutableArrayRefIcE4dataEv:
  255|  1.61k|    T *data() const { return const_cast<T*>(ArrayRef<T>::data()); }
_ZNK7llvm_ks8ArrayRefIcE4dataEv:
  132|  1.61k|    const T *data() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_8AsmTokenEE4sizeEv:
  135|  23.4k|    size_t size() const { return Length; }
_ZNK7llvm_ks15MutableArrayRefINS_8AsmTokenEEixEm:
  296|  7.83k|    T &operator[](size_t Index) const {
  297|  7.83k|      assert(Index < this->size() && "Invalid index!");
  ------------------
  |  Branch (297:7): [True: 7.83k, False: 0]
  |  Branch (297:7): [True: 7.83k, Folded]
  |  Branch (297:7): [True: 7.83k, False: 0]
  ------------------
  298|  7.83k|      return data()[Index];
  299|  7.83k|    }
_ZNK7llvm_ks15MutableArrayRefINS_8AsmTokenEE4dataEv:
  255|  7.83k|    T *data() const { return const_cast<T*>(ArrayRef<T>::data()); }
_ZNK7llvm_ks8ArrayRefINS_8AsmTokenEE4dataEv:
  132|  7.83k|    const T *data() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE5emptyEv:
  130|  1.38k|    bool empty() const { return Length == 0; }

_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEED2Ev:
  573|    692|  ~DenseMap() {
  574|    692|    this->destroyAll();
  575|    692|    operator delete(Buckets);
  576|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E10destroyAllEv:
  264|    692|  void destroyAll() {
  265|    692|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 692, False: 0]
  ------------------
  266|    692|      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|    692|  unsigned getNumBuckets() const {
  382|    692|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|    692|  }
_ZNK7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE13getNumBucketsEv:
  674|    692|  unsigned getNumBuckets() const {
  675|    692|    return NumBuckets;
  676|    692|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getNumBucketsEv:
  381|  1.00k|  unsigned getNumBuckets() const {
  382|  1.00k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  1.00k|  }
_ZNK7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13getNumBucketsEv:
  674|  1.00k|  unsigned getNumBuckets() const {
  675|  1.00k|    return NumBuckets;
  676|  1.00k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E13getNumBucketsEv:
  381|    692|  unsigned getNumBuckets() const {
  382|    692|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|    692|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE13getNumBucketsEv:
  674|    692|  unsigned getNumBuckets() const {
  675|    692|    return NumBuckets;
  676|    692|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E13getNumEntriesEv:
  351|    692|  unsigned getNumEntries() const {
  352|    692|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|    692|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE13getNumEntriesEv:
  656|    692|  unsigned getNumEntries() const {
  657|    692|    return NumEntries;
  658|    692|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE15allocateBucketsEj:
  678|    692|  bool allocateBuckets(unsigned Num) {
  679|    692|    NumBuckets = Num;
  680|    692|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 692, False: 0]
  ------------------
  681|    692|      Buckets = nullptr;
  682|    692|      return false;
  683|    692|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|    692|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E16getNumTombstonesEv:
  363|    692|  unsigned getNumTombstones() const {
  364|    692|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    692|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE16getNumTombstonesEv:
  663|    692|  unsigned getNumTombstones() const {
  664|    692|    return NumTombstones;
  665|    692|  }
_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE15allocateBucketsEj:
  678|    692|  bool allocateBuckets(unsigned Num) {
  679|    692|    NumBuckets = Num;
  680|    692|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 692, False: 0]
  ------------------
  681|    692|      Buckets = nullptr;
  682|    692|      return false;
  683|    692|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|    692|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEED2Ev:
  573|    692|  ~DenseMap() {
  574|    692|    this->destroyAll();
  575|    692|    operator delete(Buckets);
  576|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E10destroyAllEv:
  264|    692|  void destroyAll() {
  265|    692|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 692, False: 0]
  ------------------
  266|    692|      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_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEEC2Ej:
  553|    692|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|    692|    init(NumInitBuckets);
  555|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EC2Ev:
  262|    692|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4initEj:
  612|    692|  void init(unsigned InitBuckets) {
  613|    692|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 692]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|    692|    } else {
  616|    692|      NumEntries = 0;
  617|    692|      NumTombstones = 0;
  618|    692|    }
  619|    692|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE15allocateBucketsEj:
  678|  1.38k|  bool allocateBuckets(unsigned Num) {
  679|  1.38k|    NumBuckets = Num;
  680|  1.38k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 692, False: 692]
  ------------------
  681|    692|      Buckets = nullptr;
  682|    692|      return false;
  683|    692|    }
  684|       |
  685|    692|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|    692|    return true;
  687|  1.38k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E9initEmptyEv:
  277|    692|  void initEmpty() {
  278|    692|    setNumEntries(0);
  279|    692|    setNumTombstones(0);
  280|       |
  281|    692|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 692, False: 0]
  |  Branch (281:5): [True: 692, Folded]
  |  Branch (281:5): [True: 692, False: 0]
  ------------------
  282|    692|           "# initial buckets must be a power of two!");
  283|    692|    const KeyT EmptyKey = getEmptyKey();
  284|  44.9k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 44.2k, False: 692]
  ------------------
  285|  44.2k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13setNumEntriesEj:
  354|  2.10k|  void setNumEntries(unsigned Num) {
  355|  2.10k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  2.10k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13setNumEntriesEj:
  659|  2.10k|  void setNumEntries(unsigned Num) {
  660|  2.10k|    NumEntries = Num;
  661|  2.10k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16setNumTombstonesEj:
  366|  1.38k|  void setNumTombstones(unsigned Num) {
  367|  1.38k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  1.38k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16setNumTombstonesEj:
  666|  1.38k|  void setNumTombstones(unsigned Num) {
  667|  1.38k|    NumTombstones = Num;
  668|  1.38k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumBucketsEv:
  381|  8.36k|  unsigned getNumBuckets() const {
  382|  8.36k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  8.36k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumBucketsEv:
  674|  8.36k|  unsigned getNumBuckets() const {
  675|  8.36k|    return NumBuckets;
  676|  8.36k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E11getEmptyKeyEv:
  343|  3.52k|  static const KeyT getEmptyKey() {
  344|  3.52k|    return KeyInfoT::getEmptyKey();
  345|  3.52k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  378|  4.15k|  BucketT *getBuckets() {
  379|  4.15k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  4.15k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE10getBucketsEv:
  670|  5.56k|  BucketT *getBuckets() const {
  671|  5.56k|    return Buckets;
  672|  5.56k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getBucketsEndEv:
  384|  2.07k|  BucketT *getBucketsEnd() {
  385|  2.07k|    return getBuckets() + getNumBuckets();
  386|  2.07k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEPNS_11MCSymbolELFEE8getFirstEv:
   40|   180k|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEEC2Ej:
  553|    692|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|    692|    init(NumInitBuckets);
  555|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EC2Ev:
  262|    692|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4initEj:
  612|    692|  void init(unsigned InitBuckets) {
  613|    692|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 692]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|    692|    } else {
  616|    692|      NumEntries = 0;
  617|    692|      NumTombstones = 0;
  618|    692|    }
  619|    692|  }
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE15allocateBucketsEj:
  678|    692|  bool allocateBuckets(unsigned Num) {
  679|    692|    NumBuckets = Num;
  680|    692|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 692, False: 0]
  ------------------
  681|    692|      Buckets = nullptr;
  682|    692|      return false;
  683|    692|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|    692|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumBucketsEv:
  381|    692|  unsigned getNumBuckets() const {
  382|    692|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|    692|  }
_ZNK7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumBucketsEv:
  674|    692|  unsigned getNumBuckets() const {
  675|    692|    return NumBuckets;
  676|    692|  }
_ZN7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEEC2Ej:
  553|    692|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|    692|    init(NumInitBuckets);
  555|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_EC2Ev:
  262|    692|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE4initEj:
  612|    692|  void init(unsigned InitBuckets) {
  613|    692|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 692]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|    692|    } else {
  616|    692|      NumEntries = 0;
  617|    692|      NumTombstones = 0;
  618|    692|    }
  619|    692|  }
_ZN7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE15allocateBucketsEj:
  678|    692|  bool allocateBuckets(unsigned Num) {
  679|    692|    NumBuckets = Num;
  680|    692|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 692, False: 0]
  ------------------
  681|    692|      Buckets = nullptr;
  682|    692|      return false;
  683|    692|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|    692|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E13getNumBucketsEv:
  381|    692|  unsigned getNumBuckets() const {
  382|    692|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|    692|  }
_ZNK7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE13getNumBucketsEv:
  674|    692|  unsigned getNumBuckets() const {
  675|    692|    return NumBuckets;
  676|    692|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEEC2Ej:
  553|    692|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|    692|    init(NumInitBuckets);
  555|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_EC2Ev:
  262|    692|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE4initEj:
  612|    692|  void init(unsigned InitBuckets) {
  613|    692|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 692]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|    692|    } else {
  616|    692|      NumEntries = 0;
  617|    692|      NumTombstones = 0;
  618|    692|    }
  619|    692|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEED2Ev:
  573|    692|  ~DenseMap() {
  574|    692|    this->destroyAll();
  575|    692|    operator delete(Buckets);
  576|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10destroyAllEv:
  264|    692|  void destroyAll() {
  265|    692|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 0, False: 692]
  ------------------
  266|      0|      return;
  267|       |
  268|    692|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|  44.9k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 44.2k, False: 692]
  ------------------
  270|  44.2k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 0, False: 44.2k]
  ------------------
  271|      0|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 0, False: 0]
  ------------------
  272|      0|        P->getSecond().~ValueT();
  273|  44.2k|      P->getFirst().~KeyT();
  274|  44.2k|    }
  275|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15getTombstoneKeyEv:
  346|  2.10k|  static const KeyT getTombstoneKey() {
  347|  2.10k|    return KeyInfoT::getTombstoneKey();
  348|  2.10k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEPNS_11MCSymbolELFEE9getSecondEv:
   42|  1.44k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEED2Ev:
  573|    692|  ~DenseMap() {
  574|    692|    this->destroyAll();
  575|    692|    operator delete(Buckets);
  576|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10destroyAllEv:
  264|    692|  void destroyAll() {
  265|    692|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 692, False: 0]
  ------------------
  266|    692|      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|    692|  ~DenseMap() {
  574|    692|    this->destroyAll();
  575|    692|    operator delete(Buckets);
  576|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E10destroyAllEv:
  264|    692|  void destroyAll() {
  265|    692|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 692, False: 0]
  ------------------
  266|    692|      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|    692|  void clear() {
   92|    692|    incrementEpoch();
   93|    692|    if (getNumEntries() == 0 && getNumTombstones() == 0) return;
  ------------------
  |  Branch (93:9): [True: 0, False: 692]
  |  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|    692|    if (getNumEntries() * 4 < getNumBuckets() && getNumBuckets() > 64) {
  ------------------
  |  Branch (97:9): [True: 692, False: 0]
  |  Branch (97:50): [True: 0, False: 692]
  ------------------
   98|      0|      shrink_and_clear();
   99|      0|      return;
  100|      0|    }
  101|       |
  102|    692|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  103|    692|    unsigned NumEntries = getNumEntries();
  104|  44.9k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (104:59): [True: 44.2k, False: 692]
  ------------------
  105|  44.2k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) {
  ------------------
  |  Branch (105:11): [True: 724, False: 43.5k]
  ------------------
  106|    724|        if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) {
  ------------------
  |  Branch (106:13): [True: 724, False: 0]
  ------------------
  107|    724|          P->getSecond().~ValueT();
  108|    724|          --NumEntries;
  109|    724|        }
  110|    724|        P->getFirst() = EmptyKey;
  111|    724|      }
  112|  44.2k|    }
  113|    692|    assert(NumEntries == 0 && "Node count imbalance!");
  ------------------
  |  Branch (113:5): [True: 692, False: 0]
  |  Branch (113:5): [True: 692, Folded]
  |  Branch (113:5): [True: 692, False: 0]
  ------------------
  114|    692|    setNumEntries(0);
  115|    692|    setNumTombstones(0);
  116|    692|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumEntriesEv:
  351|  3.52k|  unsigned getNumEntries() const {
  352|  3.52k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  3.52k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumEntriesEv:
  656|  3.52k|  unsigned getNumEntries() const {
  657|  3.52k|    return NumEntries;
  658|  3.52k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16getNumTombstonesEv:
  363|     32|  unsigned getNumTombstones() const {
  364|     32|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|     32|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16getNumTombstonesEv:
  663|     32|  unsigned getNumTombstones() const {
  664|     32|    return NumTombstones;
  665|     32|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E5clearEv:
   91|    692|  void clear() {
   92|    692|    incrementEpoch();
   93|    692|    if (getNumEntries() == 0 && getNumTombstones() == 0) return;
  ------------------
  |  Branch (93:9): [True: 692, False: 0]
  |  Branch (93:33): [True: 692, 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|    693|  unsigned getNumEntries() const {
  352|    693|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|    693|  }
_ZNK7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE13getNumEntriesEv:
  656|    693|  unsigned getNumEntries() const {
  657|    693|    return NumEntries;
  658|    693|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E16getNumTombstonesEv:
  363|    692|  unsigned getNumTombstones() const {
  364|    692|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    692|  }
_ZNK7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE16getNumTombstonesEv:
  663|    692|  unsigned getNumTombstones() const {
  664|    692|    return NumTombstones;
  665|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E5clearEv:
   91|    692|  void clear() {
   92|    692|    incrementEpoch();
   93|    692|    if (getNumEntries() == 0 && getNumTombstones() == 0) return;
  ------------------
  |  Branch (93:9): [True: 692, False: 0]
  |  Branch (93:33): [True: 692, 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|    724|  ValueT &operator[](KeyT &&Key) {
  246|    724|    return FindAndConstruct(std::move(Key)).second;
  247|    724|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16FindAndConstructEOS4_:
  237|    724|  value_type& FindAndConstruct(KeyT &&Key) {
  238|    724|    BucketT *TheBucket;
  239|    724|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 0, False: 724]
  ------------------
  240|      0|      return *TheBucket;
  241|       |
  242|    724|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|    724|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPSB_:
  519|  1.41k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  1.41k|    const BucketT *ConstFoundBucket;
  521|  1.41k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  1.41k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  1.41k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  1.41k|    return Result;
  525|  1.41k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPKSB_:
  469|  1.41k|                       const BucketT *&FoundBucket) const {
  470|  1.41k|    const BucketT *BucketsPtr = getBuckets();
  471|  1.41k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  1.41k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 692, False: 724]
  ------------------
  474|    692|      FoundBucket = nullptr;
  475|    692|      return false;
  476|    692|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|    724|    const BucketT *FoundTombstone = nullptr;
  480|    724|    const KeyT EmptyKey = getEmptyKey();
  481|    724|    const KeyT TombstoneKey = getTombstoneKey();
  482|    724|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 724, False: 0]
  |  Branch (482:5): [True: 724, False: 0]
  |  Branch (482:5): [True: 724, Folded]
  |  Branch (482:5): [True: 724, False: 0]
  ------------------
  483|    724|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|    724|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|    724|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|    724|    unsigned ProbeAmt = 1;
  488|    726|    while (1) {
  ------------------
  |  Branch (488:12): [True: 726, Folded]
  ------------------
  489|    726|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|    726|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|    726|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 0, False: 726]
  |  |  ------------------
  ------------------
  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|    726|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|    726|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 724, False: 2]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|    724|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 724]
  ------------------
  502|    724|        return false;
  503|    724|      }
  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|      2|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 2]
  ------------------
  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|      2|      BucketNo += ProbeAmt++;
  514|      2|      BucketNo &= (NumBuckets-1);
  515|      2|    }
  516|    724|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  375|  1.41k|  const BucketT *getBuckets() const {
  376|  1.41k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  1.41k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E12getHashValueERKS4_:
  336|    724|  static unsigned getHashValue(const KeyT &Val) {
  337|    724|    return KeyInfoT::getHashValue(Val);
  338|    724|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEPNS_11MCSymbolELFEE8getFirstEv:
   41|  1.45k|  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|    724|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|    724|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|    724|    TheBucket->getFirst() = std::move(Key);
  422|    724|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|    724|    return TheBucket;
  424|    724|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E20InsertIntoBucketImplERKS4_PSB_:
  426|    724|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|    724|    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|    724|    unsigned NewNumEntries = getNumEntries() + 1;
  439|    724|    unsigned NumBuckets = getNumBuckets();
  440|    724|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|    724|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 692, False: 32]
  |  |  ------------------
  ------------------
  441|    692|      this->grow(NumBuckets * 2);
  442|    692|      LookupBucketFor(Key, TheBucket);
  443|    692|      NumBuckets = getNumBuckets();
  444|    692|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|     32|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 32]
  |  |  ------------------
  ------------------
  445|     32|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|    724|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 724, 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|    724|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|    724|    const KeyT EmptyKey = getEmptyKey();
  457|    724|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 724]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|    724|    return TheBucket;
  461|    724|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E4growEj:
  391|    692|  void grow(unsigned AtLeast) {
  392|    692|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|    692|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4growEj:
  621|    692|  void grow(unsigned AtLeast) {
  622|    692|    unsigned OldNumBuckets = NumBuckets;
  623|    692|    BucketT *OldBuckets = Buckets;
  624|       |
  625|    692|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|    692|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 692, False: 0]
  ------------------
  627|    692|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 692, False: 0]
  ------------------
  628|    692|      this->BaseT::initEmpty();
  629|    692|      return;
  630|    692|    }
  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|    724|  void incrementNumEntries() {
  358|    724|    setNumEntries(getNumEntries() + 1);
  359|    724|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E4sizeEv:
   82|      1|  unsigned size() const { return getNumEntries(); }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEEC2Ej:
  553|    340|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|    340|    init(NumInitBuckets);
  555|    340|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EC2Ev:
  262|    340|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4initEj:
  612|    340|  void init(unsigned InitBuckets) {
  613|    340|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 340]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|    340|    } else {
  616|    340|      NumEntries = 0;
  617|    340|      NumTombstones = 0;
  618|    340|    }
  619|    340|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE15allocateBucketsEj:
  678|    680|  bool allocateBuckets(unsigned Num) {
  679|    680|    NumBuckets = Num;
  680|    680|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 340, False: 340]
  ------------------
  681|    340|      Buckets = nullptr;
  682|    340|      return false;
  683|    340|    }
  684|       |
  685|    340|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|    340|    return true;
  687|    680|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E9initEmptyEv:
  277|    340|  void initEmpty() {
  278|    340|    setNumEntries(0);
  279|    340|    setNumTombstones(0);
  280|       |
  281|    340|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 340, False: 0]
  |  Branch (281:5): [True: 340, Folded]
  |  Branch (281:5): [True: 340, False: 0]
  ------------------
  282|    340|           "# initial buckets must be a power of two!");
  283|    340|    const KeyT EmptyKey = getEmptyKey();
  284|  22.1k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 21.7k, False: 340]
  ------------------
  285|  21.7k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|    340|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13setNumEntriesEj:
  354|    691|  void setNumEntries(unsigned Num) {
  355|    691|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|    691|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13setNumEntriesEj:
  659|    691|  void setNumEntries(unsigned Num) {
  660|    691|    NumEntries = Num;
  661|    691|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16setNumTombstonesEj:
  366|    340|  void setNumTombstones(unsigned Num) {
  367|    340|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|    340|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16setNumTombstonesEj:
  666|    340|  void setNumTombstones(unsigned Num) {
  667|    340|    NumTombstones = Num;
  668|    340|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumBucketsEv:
  381|  57.5k|  unsigned getNumBuckets() const {
  382|  57.5k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  57.5k|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumBucketsEv:
  674|  57.5k|  unsigned getNumBuckets() const {
  675|  57.5k|    return NumBuckets;
  676|  57.5k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E11getEmptyKeyEv:
  343|  55.8k|  static const KeyT getEmptyKey() {
  344|  55.8k|    return KeyInfoT::getEmptyKey();
  345|  55.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  378|  1.36k|  BucketT *getBuckets() {
  379|  1.36k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  1.36k|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE10getBucketsEv:
  670|  56.4k|  BucketT *getBuckets() const {
  671|  56.4k|    return Buckets;
  672|  56.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getBucketsEndEv:
  384|    680|  BucketT *getBucketsEnd() {
  385|    680|    return getBuckets() + getNumBuckets();
  386|    680|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE8getFirstEv:
   40|  66.3k|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEED2Ev:
  573|    340|  ~DenseMap() {
  574|    340|    this->destroyAll();
  575|    340|    operator delete(Buckets);
  576|    340|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10destroyAllEv:
  264|    340|  void destroyAll() {
  265|    340|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 0, False: 340]
  ------------------
  266|      0|      return;
  267|       |
  268|    340|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|  22.1k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 21.7k, False: 340]
  ------------------
  270|  21.7k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 351, False: 21.4k]
  ------------------
  271|    351|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 351, False: 0]
  ------------------
  272|    351|        P->getSecond().~ValueT();
  273|  21.7k|      P->getFirst().~KeyT();
  274|  21.7k|    }
  275|    340|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15getTombstoneKeyEv:
  346|  55.1k|  static const KeyT getTombstoneKey() {
  347|  55.1k|    return KeyInfoT::getTombstoneKey();
  348|  55.1k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE9getSecondEv:
   42|    702|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E6lookupERKS4_:
  159|  38.2k|  ValueT lookup(const KeyT &Val) const {
  160|  38.2k|    const BucketT *TheBucket;
  161|  38.2k|    if (LookupBucketFor(Val, TheBucket))
  ------------------
  |  Branch (161:9): [True: 38.2k, False: 0]
  ------------------
  162|  38.2k|      return TheBucket->getSecond();
  163|      0|    return ValueT();
  164|  38.2k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPKSB_:
  469|  55.1k|                       const BucketT *&FoundBucket) const {
  470|  55.1k|    const BucketT *BucketsPtr = getBuckets();
  471|  55.1k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  55.1k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 340, False: 54.7k]
  ------------------
  474|    340|      FoundBucket = nullptr;
  475|    340|      return false;
  476|    340|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  54.7k|    const BucketT *FoundTombstone = nullptr;
  480|  54.7k|    const KeyT EmptyKey = getEmptyKey();
  481|  54.7k|    const KeyT TombstoneKey = getTombstoneKey();
  482|  54.7k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 54.7k, False: 0]
  |  Branch (482:5): [True: 54.7k, False: 0]
  |  Branch (482:5): [True: 54.7k, Folded]
  |  Branch (482:5): [True: 54.7k, False: 0]
  ------------------
  483|  54.7k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  54.7k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  54.7k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  54.7k|    unsigned ProbeAmt = 1;
  488|  54.7k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 54.7k, Folded]
  ------------------
  489|  54.7k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  54.7k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|  54.7k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 54.4k, False: 351]
  |  |  ------------------
  ------------------
  492|  54.4k|        FoundBucket = ThisBucket;
  493|  54.4k|        return true;
  494|  54.4k|      }
  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|    351|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|    351|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 351, False: 0]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|    351|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 351]
  ------------------
  502|    351|        return false;
  503|    351|      }
  504|       |
  505|       |      // If this is a tombstone, remember it.  If Val ends up not in the map, we
  506|       |      // prefer to return it than something that would require more probing.
  507|      0|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 0]
  ------------------
  508|      0|          !FoundTombstone)
  ------------------
  |  Branch (508:11): [True: 0, False: 0]
  ------------------
  509|      0|        FoundTombstone = ThisBucket;  // Remember the first tombstone found.
  510|       |
  511|       |      // Otherwise, it's a hash collision or a tombstone, continue quadratic
  512|       |      // probing.
  513|      0|      BucketNo += ProbeAmt++;
  514|      0|      BucketNo &= (NumBuckets-1);
  515|      0|    }
  516|  54.7k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  375|  55.1k|  const BucketT *getBuckets() const {
  376|  55.1k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  55.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E12getHashValueERKS4_:
  336|  54.7k|  static unsigned getHashValue(const KeyT &Val) {
  337|  54.7k|    return KeyInfoT::getHashValue(Val);
  338|  54.7k|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE8getFirstEv:
   41|  55.1k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE9getSecondEv:
   43|  38.2k|  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|  10.2k|  ValueT &operator[](KeyT &&Key) {
  246|  10.2k|    return FindAndConstruct(std::move(Key)).second;
  247|  10.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16FindAndConstructEOS4_:
  237|  10.2k|  value_type& FindAndConstruct(KeyT &&Key) {
  238|  10.2k|    BucketT *TheBucket;
  239|  10.2k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 10.2k, False: 0]
  ------------------
  240|  10.2k|      return *TheBucket;
  241|       |
  242|      0|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|  10.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPSB_:
  519|  16.8k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  16.8k|    const BucketT *ConstFoundBucket;
  521|  16.8k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  16.8k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  16.8k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  16.8k|    return Result;
  525|  16.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E20InsertIntoBucketImplERKS4_PSB_:
  426|    351|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|    351|    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|    351|    unsigned NewNumEntries = getNumEntries() + 1;
  439|    351|    unsigned NumBuckets = getNumBuckets();
  440|    351|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|    351|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 340, False: 11]
  |  |  ------------------
  ------------------
  441|    340|      this->grow(NumBuckets * 2);
  442|    340|      LookupBucketFor(Key, TheBucket);
  443|    340|      NumBuckets = getNumBuckets();
  444|    340|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|     11|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 11]
  |  |  ------------------
  ------------------
  445|     11|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|    351|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 351, 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|    351|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|    351|    const KeyT EmptyKey = getEmptyKey();
  457|    351|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 351]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|    351|    return TheBucket;
  461|    351|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumEntriesEv:
  351|    702|  unsigned getNumEntries() const {
  352|    702|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|    702|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumEntriesEv:
  656|    702|  unsigned getNumEntries() const {
  657|    702|    return NumEntries;
  658|    702|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E4growEj:
  391|    340|  void grow(unsigned AtLeast) {
  392|    340|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|    340|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4growEj:
  621|    340|  void grow(unsigned AtLeast) {
  622|    340|    unsigned OldNumBuckets = NumBuckets;
  623|    340|    BucketT *OldBuckets = Buckets;
  624|       |
  625|    340|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|    340|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 340, False: 0]
  ------------------
  627|    340|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 340, False: 0]
  ------------------
  628|    340|      this->BaseT::initEmpty();
  629|    340|      return;
  630|    340|    }
  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|     11|  unsigned getNumTombstones() const {
  364|     11|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|     11|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16getNumTombstonesEv:
  663|     11|  unsigned getNumTombstones() const {
  664|     11|    return NumTombstones;
  665|     11|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E19incrementNumEntriesEv:
  357|    351|  void incrementNumEntries() {
  358|    351|    setNumEntries(getNumEntries() + 1);
  359|    351|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EixERKS4_:
  233|  6.31k|  ValueT &operator[](const KeyT &Key) {
  234|  6.31k|    return FindAndConstruct(Key).second;
  235|  6.31k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16FindAndConstructERKS4_:
  225|  6.31k|  value_type& FindAndConstruct(const KeyT &Key) {
  226|  6.31k|    BucketT *TheBucket;
  227|  6.31k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (227:9): [True: 5.96k, False: 351]
  ------------------
  228|  5.96k|      return *TheBucket;
  229|       |
  230|    351|    return *InsertIntoBucket(Key, ValueT(), TheBucket);
  231|  6.31k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16InsertIntoBucketERKS4_OS6_PSB_:
  410|    351|                            BucketT *TheBucket) {
  411|    351|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  412|       |
  413|    351|    TheBucket->getFirst() = Key;
  414|    351|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  415|    351|    return TheBucket;
  416|    351|  }
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEC2Ej:
  553|  1.00k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  1.00k|    init(NumInitBuckets);
  555|  1.00k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EC2Ev:
  262|  1.00k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE4initEj:
  612|  1.00k|  void init(unsigned InitBuckets) {
  613|  1.00k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 1.00k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  1.00k|    } else {
  616|  1.00k|      NumEntries = 0;
  617|  1.00k|      NumTombstones = 0;
  618|  1.00k|    }
  619|  1.00k|  }
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE15allocateBucketsEj:
  678|  1.00k|  bool allocateBuckets(unsigned Num) {
  679|  1.00k|    NumBuckets = Num;
  680|  1.00k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 1.00k, False: 0]
  ------------------
  681|  1.00k|      Buckets = nullptr;
  682|  1.00k|      return false;
  683|  1.00k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  1.00k|  }
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEED2Ev:
  573|  1.00k|  ~DenseMap() {
  574|  1.00k|    this->destroyAll();
  575|  1.00k|    operator delete(Buckets);
  576|  1.00k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10destroyAllEv:
  264|  1.00k|  void destroyAll() {
  265|  1.00k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 1.00k, False: 0]
  ------------------
  266|  1.00k|      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|    692|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|    692|    init(NumInitBuckets);
  555|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_EC2Ev:
  262|    692|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE4initEj:
  612|    692|  void init(unsigned InitBuckets) {
  613|    692|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 692]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|    692|    } else {
  616|    692|      NumEntries = 0;
  617|    692|      NumTombstones = 0;
  618|    692|    }
  619|    692|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEEC2Ej:
  553|    692|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|    692|    init(NumInitBuckets);
  555|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_EC2Ev:
  262|    692|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE4initEj:
  612|    692|  void init(unsigned InitBuckets) {
  613|    692|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 692]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|    692|    } else {
  616|    692|      NumEntries = 0;
  617|    692|      NumTombstones = 0;
  618|    692|    }
  619|    692|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE15allocateBucketsEj:
  678|    712|  bool allocateBuckets(unsigned Num) {
  679|    712|    NumBuckets = Num;
  680|    712|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 692, False: 20]
  ------------------
  681|    692|      Buckets = nullptr;
  682|    692|      return false;
  683|    692|    }
  684|       |
  685|     20|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|     20|    return true;
  687|    712|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E9initEmptyEv:
  277|     20|  void initEmpty() {
  278|     20|    setNumEntries(0);
  279|     20|    setNumTombstones(0);
  280|       |
  281|     20|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 20, False: 0]
  |  Branch (281:5): [True: 20, Folded]
  |  Branch (281:5): [True: 20, False: 0]
  ------------------
  282|     20|           "# initial buckets must be a power of two!");
  283|     20|    const KeyT EmptyKey = getEmptyKey();
  284|  1.30k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 1.28k, False: 20]
  ------------------
  285|  1.28k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|     20|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13setNumEntriesEj:
  354|    183|  void setNumEntries(unsigned Num) {
  355|    183|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|    183|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE13setNumEntriesEj:
  659|    183|  void setNumEntries(unsigned Num) {
  660|    183|    NumEntries = Num;
  661|    183|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E16setNumTombstonesEj:
  366|     20|  void setNumTombstones(unsigned Num) {
  367|     20|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|     20|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE16setNumTombstonesEj:
  666|     20|  void setNumTombstones(unsigned Num) {
  667|     20|    NumTombstones = Num;
  668|     20|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13getNumBucketsEv:
  381|  1.50k|  unsigned getNumBuckets() const {
  382|  1.50k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  1.50k|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE13getNumBucketsEv:
  674|  1.50k|  unsigned getNumBuckets() const {
  675|  1.50k|    return NumBuckets;
  676|  1.50k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E11getEmptyKeyEv:
  343|    468|  static const KeyT getEmptyKey() {
  344|    468|    return KeyInfoT::getEmptyKey();
  345|    468|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E10getBucketsEv:
  378|    345|  BucketT *getBuckets() {
  379|    345|    return static_cast<DerivedT *>(this)->getBuckets();
  380|    345|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE10getBucketsEv:
  670|    630|  BucketT *getBuckets() const {
  671|    630|    return Buckets;
  672|    630|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13getBucketsEndEv:
  384|    305|  BucketT *getBucketsEnd() {
  385|    305|    return getBuckets() + getNumBuckets();
  386|    305|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_11MCSymbolELFES4_E8getFirstEv:
   40|  4.32k|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEEC2Ej:
  553|    692|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|    692|    init(NumInitBuckets);
  555|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_EC2Ev:
  262|    692|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE4initEj:
  612|    692|  void init(unsigned InitBuckets) {
  613|    692|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 692]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|    692|    } else {
  616|    692|      NumEntries = 0;
  617|    692|      NumTombstones = 0;
  618|    692|    }
  619|    692|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE15allocateBucketsEj:
  678|  1.00k|  bool allocateBuckets(unsigned Num) {
  679|  1.00k|    NumBuckets = Num;
  680|  1.00k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 692, False: 313]
  ------------------
  681|    692|      Buckets = nullptr;
  682|    692|      return false;
  683|    692|    }
  684|       |
  685|    313|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|    313|    return true;
  687|  1.00k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E9initEmptyEv:
  277|    313|  void initEmpty() {
  278|    313|    setNumEntries(0);
  279|    313|    setNumTombstones(0);
  280|       |
  281|    313|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 313, False: 0]
  |  Branch (281:5): [True: 313, Folded]
  |  Branch (281:5): [True: 313, False: 0]
  ------------------
  282|    313|           "# initial buckets must be a power of two!");
  283|    313|    const KeyT EmptyKey = getEmptyKey();
  284|  20.3k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 20.0k, False: 313]
  ------------------
  285|  20.0k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|    313|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13setNumEntriesEj:
  354|    636|  void setNumEntries(unsigned Num) {
  355|    636|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|    636|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE13setNumEntriesEj:
  659|    636|  void setNumEntries(unsigned Num) {
  660|    636|    NumEntries = Num;
  661|    636|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E16setNumTombstonesEj:
  366|    313|  void setNumTombstones(unsigned Num) {
  367|    313|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|    313|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE16setNumTombstonesEj:
  666|    313|  void setNumTombstones(unsigned Num) {
  667|    313|    NumTombstones = Num;
  668|    313|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13getNumBucketsEv:
  381|  3.60k|  unsigned getNumBuckets() const {
  382|  3.60k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  3.60k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE13getNumBucketsEv:
  674|  3.60k|  unsigned getNumBuckets() const {
  675|  3.60k|    return NumBuckets;
  676|  3.60k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E11getEmptyKeyEv:
  343|  1.66k|  static const KeyT getEmptyKey() {
  344|  1.66k|    return KeyInfoT::getEmptyKey();
  345|  1.66k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E10getBucketsEv:
  378|  1.25k|  BucketT *getBuckets() {
  379|  1.25k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  1.25k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE10getBucketsEv:
  670|  2.28k|  BucketT *getBuckets() const {
  671|  2.28k|    return Buckets;
  672|  2.28k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13getBucketsEndEv:
  384|    626|  BucketT *getBucketsEnd() {
  385|    626|    return getBuckets() + getNumBuckets();
  386|    626|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEEE8getFirstEv:
   40|  61.0k|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEED2Ev:
  573|    692|  ~DenseMap() {
  574|    692|    this->destroyAll();
  575|    692|    operator delete(Buckets);
  576|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E10destroyAllEv:
  264|    692|  void destroyAll() {
  265|    692|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 379, False: 313]
  ------------------
  266|    379|      return;
  267|       |
  268|    313|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|  20.3k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 20.0k, False: 313]
  ------------------
  270|  20.0k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 323, False: 19.7k]
  ------------------
  271|    323|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 323, False: 0]
  ------------------
  272|    323|        P->getSecond().~ValueT();
  273|  20.0k|      P->getFirst().~KeyT();
  274|  20.0k|    }
  275|    313|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E15getTombstoneKeyEv:
  346|  1.02k|  static const KeyT getTombstoneKey() {
  347|  1.02k|    return KeyInfoT::getTombstoneKey();
  348|  1.02k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEEE9getSecondEv:
   42|    646|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEED2Ev:
  573|    692|  ~DenseMap() {
  574|    692|    this->destroyAll();
  575|    692|    operator delete(Buckets);
  576|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E10destroyAllEv:
  264|    692|  void destroyAll() {
  265|    692|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 672, False: 20]
  ------------------
  266|    672|      return;
  267|       |
  268|     20|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|  1.30k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 1.28k, False: 20]
  ------------------
  270|  1.28k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 163, False: 1.11k]
  ------------------
  271|    163|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 163, False: 0]
  ------------------
  272|    163|        P->getSecond().~ValueT();
  273|  1.28k|      P->getFirst().~KeyT();
  274|  1.28k|    }
  275|     20|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E15getTombstoneKeyEv:
  346|    285|  static const KeyT getTombstoneKey() {
  347|    285|    return KeyInfoT::getTombstoneKey();
  348|    285|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_11MCSymbolELFES4_E9getSecondEv:
   42|    326|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEED2Ev:
  573|    692|  ~DenseMap() {
  574|    692|    this->destroyAll();
  575|    692|    operator delete(Buckets);
  576|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E10destroyAllEv:
  264|    692|  void destroyAll() {
  265|    692|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 376, False: 316]
  ------------------
  266|    376|      return;
  267|       |
  268|    316|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|  20.5k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 20.2k, False: 316]
  ------------------
  270|  20.2k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 633, False: 19.5k]
  ------------------
  271|    633|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 633, False: 0]
  ------------------
  272|    633|        P->getSecond().~ValueT();
  273|  20.2k|      P->getFirst().~KeyT();
  274|  20.2k|    }
  275|    316|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13getNumBucketsEv:
  381|  4.49k|  unsigned getNumBuckets() const {
  382|  4.49k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  4.49k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE13getNumBucketsEv:
  674|  4.49k|  unsigned getNumBuckets() const {
  675|  4.49k|    return NumBuckets;
  676|  4.49k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E11getEmptyKeyEv:
  343|  1.90k|  static const KeyT getEmptyKey() {
  344|  1.90k|    return KeyInfoT::getEmptyKey();
  345|  1.90k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E15getTombstoneKeyEv:
  346|    955|  static const KeyT getTombstoneKey() {
  347|    955|    return KeyInfoT::getTombstoneKey();
  348|    955|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E10getBucketsEv:
  378|  1.90k|  BucketT *getBuckets() {
  379|  1.90k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  1.90k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE10getBucketsEv:
  670|  2.85k|  BucketT *getBuckets() const {
  671|  2.85k|    return Buckets;
  672|  2.85k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13getBucketsEndEv:
  384|  1.27k|  BucketT *getBucketsEnd() {
  385|  1.27k|    return getBuckets() + getNumBuckets();
  386|  1.27k|  }
_ZN7llvm_ks6detail12DenseMapPairINS_9StringRefEmE8getFirstEv:
   40|  62.5k|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks6detail12DenseMapPairINS_9StringRefEmE9getSecondEv:
   42|  1.26k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13getNumEntriesEv:
  351|    326|  unsigned getNumEntries() const {
  352|    326|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|    326|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE13getNumEntriesEv:
  656|    326|  unsigned getNumEntries() const {
  657|    326|    return NumEntries;
  658|    326|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E16getNumTombstonesEv:
  363|    143|  unsigned getNumTombstones() const {
  364|    143|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    143|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE16getNumTombstonesEv:
  663|    143|  unsigned getNumTombstones() const {
  664|    143|    return NumTombstones;
  665|    143|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13getNumEntriesEv:
  351|    646|  unsigned getNumEntries() const {
  352|    646|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|    646|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE13getNumEntriesEv:
  656|    646|  unsigned getNumEntries() const {
  657|    646|    return NumEntries;
  658|    646|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E16getNumTombstonesEv:
  363|     10|  unsigned getNumTombstones() const {
  364|     10|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|     10|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE16getNumTombstonesEv:
  663|     10|  unsigned getNumTombstones() const {
  664|     10|    return NumTombstones;
  665|     10|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E6insertEONSt3__14pairIS4_S4_EE:
  184|    265|  std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
  185|    265|    BucketT *TheBucket;
  186|    265|    if (LookupBucketFor(KV.first, TheBucket))
  ------------------
  |  Branch (186:9): [True: 102, False: 163]
  ------------------
  187|    102|      return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  188|    102|                            false); // Already in map.
  189|       |
  190|       |    // Otherwise, insert the new element.
  191|    163|    TheBucket = InsertIntoBucket(std::move(KV.first),
  192|    163|                                 std::move(KV.second),
  193|    163|                                 TheBucket);
  194|    163|    return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  195|    163|                          true);
  196|    265|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E15LookupBucketForIS4_EEbRKT_RPS9_:
  519|    285|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|    285|    const BucketT *ConstFoundBucket;
  521|    285|    bool Result = const_cast<const DenseMapBase *>(this)
  522|    285|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|    285|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|    285|    return Result;
  525|    285|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E15LookupBucketForIS4_EEbRKT_RPKS9_:
  469|    285|                       const BucketT *&FoundBucket) const {
  470|    285|    const BucketT *BucketsPtr = getBuckets();
  471|    285|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|    285|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 20, False: 265]
  ------------------
  474|     20|      FoundBucket = nullptr;
  475|     20|      return false;
  476|     20|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|    265|    const BucketT *FoundTombstone = nullptr;
  480|    265|    const KeyT EmptyKey = getEmptyKey();
  481|    265|    const KeyT TombstoneKey = getTombstoneKey();
  482|    265|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 265, False: 0]
  |  Branch (482:5): [True: 265, False: 0]
  |  Branch (482:5): [True: 265, Folded]
  |  Branch (482:5): [True: 265, False: 0]
  ------------------
  483|    265|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|    265|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|    265|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|    265|    unsigned ProbeAmt = 1;
  488|    303|    while (1) {
  ------------------
  |  Branch (488:12): [True: 303, Folded]
  ------------------
  489|    303|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|    303|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|    303|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 102, False: 201]
  |  |  ------------------
  ------------------
  492|    102|        FoundBucket = ThisBucket;
  493|    102|        return true;
  494|    102|      }
  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|    201|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|    201|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 163, False: 38]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|    163|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 163]
  ------------------
  502|    163|        return false;
  503|    163|      }
  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|     38|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 38]
  ------------------
  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|     38|      BucketNo += ProbeAmt++;
  514|     38|      BucketNo &= (NumBuckets-1);
  515|     38|    }
  516|    265|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E10getBucketsEv:
  375|    285|  const BucketT *getBuckets() const {
  376|    285|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|    285|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E12getHashValueERKS4_:
  336|    265|  static unsigned getHashValue(const KeyT &Val) {
  337|    265|    return KeyInfoT::getHashValue(Val);
  338|    265|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_11MCSymbolELFES4_E8getFirstEv:
   41|    542|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks16DenseMapIteratorIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EELb0EEC2EPS8_SA_RKNS_14DebugEpochBaseEb:
 1006|    265|      : DebugEpochBase::HandleBase(&Epoch), Ptr(Pos), End(E) {
 1007|    265|    assert(isHandleInSync() && "invalid construction!");
  ------------------
  |  Branch (1007:5): [True: 265, False: 0]
  |  Branch (1007:5): [True: 265, Folded]
  |  Branch (1007:5): [True: 265, False: 0]
  ------------------
 1008|    265|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (1008:9): [True: 0, False: 265]
  ------------------
 1009|    265|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E16InsertIntoBucketEOS4_SC_PS9_:
  418|    163|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|    163|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|    163|    TheBucket->getFirst() = std::move(Key);
  422|    163|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|    163|    return TheBucket;
  424|    163|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E20InsertIntoBucketImplERKS4_PS9_:
  426|    163|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|    163|    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|    163|    unsigned NewNumEntries = getNumEntries() + 1;
  439|    163|    unsigned NumBuckets = getNumBuckets();
  440|    163|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|    163|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 20, False: 143]
  |  |  ------------------
  ------------------
  441|     20|      this->grow(NumBuckets * 2);
  442|     20|      LookupBucketFor(Key, TheBucket);
  443|     20|      NumBuckets = getNumBuckets();
  444|    143|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|    143|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 143]
  |  |  ------------------
  ------------------
  445|    143|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|    163|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 163, 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|    163|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|    163|    const KeyT EmptyKey = getEmptyKey();
  457|    163|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 163]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|    163|    return TheBucket;
  461|    163|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E4growEj:
  391|     20|  void grow(unsigned AtLeast) {
  392|     20|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|     20|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE4growEj:
  621|     20|  void grow(unsigned AtLeast) {
  622|     20|    unsigned OldNumBuckets = NumBuckets;
  623|     20|    BucketT *OldBuckets = Buckets;
  624|       |
  625|     20|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|     20|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 20, False: 0]
  ------------------
  627|     20|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 20, False: 0]
  ------------------
  628|     20|      this->BaseT::initEmpty();
  629|     20|      return;
  630|     20|    }
  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|    163|  void incrementNumEntries() {
  358|    163|    setNumEntries(getNumEntries() + 1);
  359|    163|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_EixEOS4_:
  245|    716|  ValueT &operator[](KeyT &&Key) {
  246|    716|    return FindAndConstruct(std::move(Key)).second;
  247|    716|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E16FindAndConstructEOS4_:
  237|    716|  value_type& FindAndConstruct(KeyT &&Key) {
  238|    716|    BucketT *TheBucket;
  239|    716|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 393, False: 323]
  ------------------
  240|    393|      return *TheBucket;
  241|       |
  242|    323|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|    716|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E15LookupBucketForIS4_EEbRKT_RPSF_:
  519|  1.02k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  1.02k|    const BucketT *ConstFoundBucket;
  521|  1.02k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  1.02k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  1.02k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  1.02k|    return Result;
  525|  1.02k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E15LookupBucketForIS4_EEbRKT_RPKSF_:
  469|  1.02k|                       const BucketT *&FoundBucket) const {
  470|  1.02k|    const BucketT *BucketsPtr = getBuckets();
  471|  1.02k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  1.02k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 313, False: 716]
  ------------------
  474|    313|      FoundBucket = nullptr;
  475|    313|      return false;
  476|    313|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|    716|    const BucketT *FoundTombstone = nullptr;
  480|    716|    const KeyT EmptyKey = getEmptyKey();
  481|    716|    const KeyT TombstoneKey = getTombstoneKey();
  482|    716|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 716, False: 0]
  |  Branch (482:5): [True: 716, False: 0]
  |  Branch (482:5): [True: 716, Folded]
  |  Branch (482:5): [True: 716, False: 0]
  ------------------
  483|    716|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|    716|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|    716|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|    716|    unsigned ProbeAmt = 1;
  488|    716|    while (1) {
  ------------------
  |  Branch (488:12): [True: 716, Folded]
  ------------------
  489|    716|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|    716|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|    716|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 393, False: 323]
  |  |  ------------------
  ------------------
  492|    393|        FoundBucket = ThisBucket;
  493|    393|        return true;
  494|    393|      }
  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|    323|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|    323|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 323, False: 0]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|    323|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 323]
  ------------------
  502|    323|        return false;
  503|    323|      }
  504|       |
  505|       |      // If this is a tombstone, remember it.  If Val ends up not in the map, we
  506|       |      // prefer to return it than something that would require more probing.
  507|      0|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 0]
  ------------------
  508|      0|          !FoundTombstone)
  ------------------
  |  Branch (508:11): [True: 0, False: 0]
  ------------------
  509|      0|        FoundTombstone = ThisBucket;  // Remember the first tombstone found.
  510|       |
  511|       |      // Otherwise, it's a hash collision or a tombstone, continue quadratic
  512|       |      // probing.
  513|      0|      BucketNo += ProbeAmt++;
  514|      0|      BucketNo &= (NumBuckets-1);
  515|      0|    }
  516|    716|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E10getBucketsEv:
  375|  1.02k|  const BucketT *getBuckets() const {
  376|  1.02k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  1.02k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E12getHashValueERKS4_:
  336|    716|  static unsigned getHashValue(const KeyT &Val) {
  337|    716|    return KeyInfoT::getHashValue(Val);
  338|    716|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEEE8getFirstEv:
   41|  1.03k|  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|    323|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|    323|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|    323|    TheBucket->getFirst() = std::move(Key);
  422|    323|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|    323|    return TheBucket;
  424|    323|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E20InsertIntoBucketImplERKS4_PSF_:
  426|    323|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|    323|    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|    323|    unsigned NewNumEntries = getNumEntries() + 1;
  439|    323|    unsigned NumBuckets = getNumBuckets();
  440|    323|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|    323|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 313, False: 10]
  |  |  ------------------
  ------------------
  441|    313|      this->grow(NumBuckets * 2);
  442|    313|      LookupBucketFor(Key, TheBucket);
  443|    313|      NumBuckets = getNumBuckets();
  444|    313|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|     10|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 10]
  |  |  ------------------
  ------------------
  445|     10|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|    323|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 323, 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|    323|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|    323|    const KeyT EmptyKey = getEmptyKey();
  457|    323|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 323]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|    323|    return TheBucket;
  461|    323|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E4growEj:
  391|    313|  void grow(unsigned AtLeast) {
  392|    313|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|    313|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE4growEj:
  621|    313|  void grow(unsigned AtLeast) {
  622|    313|    unsigned OldNumBuckets = NumBuckets;
  623|    313|    BucketT *OldBuckets = Buckets;
  624|       |
  625|    313|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|    313|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 313, False: 0]
  ------------------
  627|    313|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 313, False: 0]
  ------------------
  628|    313|      this->BaseT::initEmpty();
  629|    313|      return;
  630|    313|    }
  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|    323|  void incrementNumEntries() {
  358|    323|    setNumEntries(getNumEntries() + 1);
  359|    323|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEC2Ej:
  553|    316|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|    316|    init(NumInitBuckets);
  555|    316|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EC2Ev:
  262|    316|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE4initEj:
  612|    316|  void init(unsigned InitBuckets) {
  613|    316|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 316]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|    316|    } else {
  616|    316|      NumEntries = 0;
  617|    316|      NumTombstones = 0;
  618|    316|    }
  619|    316|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE15allocateBucketsEj:
  678|    624|  bool allocateBuckets(unsigned Num) {
  679|    624|    NumBuckets = Num;
  680|    624|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 316, False: 308]
  ------------------
  681|    316|      Buckets = nullptr;
  682|    316|      return false;
  683|    316|    }
  684|       |
  685|    308|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|    308|    return true;
  687|    624|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E9initEmptyEv:
  277|    308|  void initEmpty() {
  278|    308|    setNumEntries(0);
  279|    308|    setNumTombstones(0);
  280|       |
  281|    308|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 308, False: 0]
  |  Branch (281:5): [True: 308, Folded]
  |  Branch (281:5): [True: 308, False: 0]
  ------------------
  282|    308|           "# initial buckets must be a power of two!");
  283|    308|    const KeyT EmptyKey = getEmptyKey();
  284|  20.0k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 19.7k, False: 308]
  ------------------
  285|  19.7k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|    308|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13setNumEntriesEj:
  354|    631|  void setNumEntries(unsigned Num) {
  355|    631|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|    631|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13setNumEntriesEj:
  659|    631|  void setNumEntries(unsigned Num) {
  660|    631|    NumEntries = Num;
  661|    631|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16setNumTombstonesEj:
  366|    308|  void setNumTombstones(unsigned Num) {
  367|    308|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|    308|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE16setNumTombstonesEj:
  666|    308|  void setNumTombstones(unsigned Num) {
  667|    308|    NumTombstones = Num;
  668|    308|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getNumBucketsEv:
  381|  2.81k|  unsigned getNumBuckets() const {
  382|  2.81k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  2.81k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13getNumBucketsEv:
  674|  2.81k|  unsigned getNumBuckets() const {
  675|  2.81k|    return NumBuckets;
  676|  2.81k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E11getEmptyKeyEv:
  343|  1.26k|  static const KeyT getEmptyKey() {
  344|  1.26k|    return KeyInfoT::getEmptyKey();
  345|  1.26k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10getBucketsEv:
  378|  1.23k|  BucketT *getBuckets() {
  379|  1.23k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  1.23k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE10getBucketsEv:
  670|  1.86k|  BucketT *getBuckets() const {
  671|  1.86k|    return Buckets;
  672|  1.86k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getBucketsEndEv:
  384|    616|  BucketT *getBucketsEnd() {
  385|    616|    return getBuckets() + getNumBuckets();
  386|    616|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEjE8getFirstEv:
   40|  60.1k|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EixEOS4_:
  245|    318|  ValueT &operator[](KeyT &&Key) {
  246|    318|    return FindAndConstruct(std::move(Key)).second;
  247|    318|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16FindAndConstructEOS4_:
  237|    318|  value_type& FindAndConstruct(KeyT &&Key) {
  238|    318|    BucketT *TheBucket;
  239|    318|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 0, False: 318]
  ------------------
  240|      0|      return *TheBucket;
  241|       |
  242|    318|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|    318|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E15LookupBucketForIS4_EEbRKT_RPS9_:
  519|    631|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|    631|    const BucketT *ConstFoundBucket;
  521|    631|    bool Result = const_cast<const DenseMapBase *>(this)
  522|    631|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|    631|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|    631|    return Result;
  525|    631|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E15LookupBucketForIS4_EEbRKT_RPKS9_:
  469|    631|                       const BucketT *&FoundBucket) const {
  470|    631|    const BucketT *BucketsPtr = getBuckets();
  471|    631|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|    631|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 308, False: 323]
  ------------------
  474|    308|      FoundBucket = nullptr;
  475|    308|      return false;
  476|    308|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|    323|    const BucketT *FoundTombstone = nullptr;
  480|    323|    const KeyT EmptyKey = getEmptyKey();
  481|    323|    const KeyT TombstoneKey = getTombstoneKey();
  482|    323|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 323, False: 0]
  |  Branch (482:5): [True: 323, False: 0]
  |  Branch (482:5): [True: 323, Folded]
  |  Branch (482:5): [True: 323, False: 0]
  ------------------
  483|    323|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|    323|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|    323|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|    323|    unsigned ProbeAmt = 1;
  488|    323|    while (1) {
  ------------------
  |  Branch (488:12): [True: 323, Folded]
  ------------------
  489|    323|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|    323|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|    323|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 0, False: 323]
  |  |  ------------------
  ------------------
  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|    323|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|    323|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 323, False: 0]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|    323|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 323]
  ------------------
  502|    323|        return false;
  503|    323|      }
  504|       |
  505|       |      // If this is a tombstone, remember it.  If Val ends up not in the map, we
  506|       |      // prefer to return it than something that would require more probing.
  507|      0|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 0]
  ------------------
  508|      0|          !FoundTombstone)
  ------------------
  |  Branch (508:11): [True: 0, False: 0]
  ------------------
  509|      0|        FoundTombstone = ThisBucket;  // Remember the first tombstone found.
  510|       |
  511|       |      // Otherwise, it's a hash collision or a tombstone, continue quadratic
  512|       |      // probing.
  513|      0|      BucketNo += ProbeAmt++;
  514|      0|      BucketNo &= (NumBuckets-1);
  515|      0|    }
  516|    323|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10getBucketsEv:
  375|    631|  const BucketT *getBuckets() const {
  376|    631|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|    631|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E15getTombstoneKeyEv:
  346|    631|  static const KeyT getTombstoneKey() {
  347|    631|    return KeyInfoT::getTombstoneKey();
  348|    631|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E12getHashValueERKS4_:
  336|    323|  static unsigned getHashValue(const KeyT &Val) {
  337|    323|    return KeyInfoT::getHashValue(Val);
  338|    323|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEjE8getFirstEv:
   41|    646|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16InsertIntoBucketEOS4_OjPS9_:
  418|    318|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|    318|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|    318|    TheBucket->getFirst() = std::move(Key);
  422|    318|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|    318|    return TheBucket;
  424|    318|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E20InsertIntoBucketImplERKS4_PS9_:
  426|    323|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|    323|    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|    323|    unsigned NewNumEntries = getNumEntries() + 1;
  439|    323|    unsigned NumBuckets = getNumBuckets();
  440|    323|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|    323|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 308, False: 15]
  |  |  ------------------
  ------------------
  441|    308|      this->grow(NumBuckets * 2);
  442|    308|      LookupBucketFor(Key, TheBucket);
  443|    308|      NumBuckets = getNumBuckets();
  444|    308|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|     15|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 15]
  |  |  ------------------
  ------------------
  445|     15|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|    323|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 323, 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|    323|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|    323|    const KeyT EmptyKey = getEmptyKey();
  457|    323|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 323]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|    323|    return TheBucket;
  461|    323|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getNumEntriesEv:
  351|    646|  unsigned getNumEntries() const {
  352|    646|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|    646|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13getNumEntriesEv:
  656|    646|  unsigned getNumEntries() const {
  657|    646|    return NumEntries;
  658|    646|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E4growEj:
  391|    308|  void grow(unsigned AtLeast) {
  392|    308|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|    308|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE4growEj:
  621|    308|  void grow(unsigned AtLeast) {
  622|    308|    unsigned OldNumBuckets = NumBuckets;
  623|    308|    BucketT *OldBuckets = Buckets;
  624|       |
  625|    308|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|    308|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 308, False: 0]
  ------------------
  627|    308|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 308, False: 0]
  ------------------
  628|    308|      this->BaseT::initEmpty();
  629|    308|      return;
  630|    308|    }
  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|     15|  unsigned getNumTombstones() const {
  364|     15|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|     15|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE16getNumTombstonesEv:
  663|     15|  unsigned getNumTombstones() const {
  664|     15|    return NumTombstones;
  665|     15|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E19incrementNumEntriesEv:
  357|    323|  void incrementNumEntries() {
  358|    323|    setNumEntries(getNumEntries() + 1);
  359|    323|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEjE9getSecondEv:
   42|    646|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EixERKS4_:
  233|      5|  ValueT &operator[](const KeyT &Key) {
  234|      5|    return FindAndConstruct(Key).second;
  235|      5|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16FindAndConstructERKS4_:
  225|      5|  value_type& FindAndConstruct(const KeyT &Key) {
  226|      5|    BucketT *TheBucket;
  227|      5|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (227:9): [True: 0, False: 5]
  ------------------
  228|      0|      return *TheBucket;
  229|       |
  230|      5|    return *InsertIntoBucket(Key, ValueT(), TheBucket);
  231|      5|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16InsertIntoBucketERKS4_OjPS9_:
  410|      5|                            BucketT *TheBucket) {
  411|      5|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  412|       |
  413|      5|    TheBucket->getFirst() = Key;
  414|      5|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  415|      5|    return TheBucket;
  416|      5|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEED2Ev:
  573|    316|  ~DenseMap() {
  574|    316|    this->destroyAll();
  575|    316|    operator delete(Buckets);
  576|    316|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10destroyAllEv:
  264|    316|  void destroyAll() {
  265|    316|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 8, False: 308]
  ------------------
  266|      8|      return;
  267|       |
  268|    308|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|  20.0k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 19.7k, False: 308]
  ------------------
  270|  19.7k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 323, False: 19.3k]
  ------------------
  271|    323|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 323, False: 0]
  ------------------
  272|    323|        P->getSecond().~ValueT();
  273|  19.7k|      P->getFirst().~KeyT();
  274|  19.7k|    }
  275|    308|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEEC2Ej:
  553|    692|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|    692|    init(NumInitBuckets);
  555|    692|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_EC2Ev:
  262|    692|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE4initEj:
  612|    692|  void init(unsigned InitBuckets) {
  613|    692|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 692]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|    692|    } else {
  616|    692|      NumEntries = 0;
  617|    692|      NumTombstones = 0;
  618|    692|    }
  619|    692|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE15allocateBucketsEj:
  678|  1.00k|  bool allocateBuckets(unsigned Num) {
  679|  1.00k|    NumBuckets = Num;
  680|  1.00k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 692, False: 316]
  ------------------
  681|    692|      Buckets = nullptr;
  682|    692|      return false;
  683|    692|    }
  684|       |
  685|    316|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|    316|    return true;
  687|  1.00k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E9initEmptyEv:
  277|    316|  void initEmpty() {
  278|    316|    setNumEntries(0);
  279|    316|    setNumTombstones(0);
  280|       |
  281|    316|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 316, False: 0]
  |  Branch (281:5): [True: 316, Folded]
  |  Branch (281:5): [True: 316, False: 0]
  ------------------
  282|    316|           "# initial buckets must be a power of two!");
  283|    316|    const KeyT EmptyKey = getEmptyKey();
  284|  20.5k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 20.2k, False: 316]
  ------------------
  285|  20.2k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|    316|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13setNumEntriesEj:
  354|    949|  void setNumEntries(unsigned Num) {
  355|    949|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|    949|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE13setNumEntriesEj:
  659|    949|  void setNumEntries(unsigned Num) {
  660|    949|    NumEntries = Num;
  661|    949|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E16setNumTombstonesEj:
  366|    316|  void setNumTombstones(unsigned Num) {
  367|    316|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|    316|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE16setNumTombstonesEj:
  666|    316|  void setNumTombstones(unsigned Num) {
  667|    316|    NumTombstones = Num;
  668|    316|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13getNumEntriesEv:
  351|  1.26k|  unsigned getNumEntries() const {
  352|  1.26k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  1.26k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE13getNumEntriesEv:
  656|  1.26k|  unsigned getNumEntries() const {
  657|  1.26k|    return NumEntries;
  658|  1.26k|  }
_ZN7llvm_ks16DenseMapIteratorINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEELb0EEC2EPS6_S8_RKNS_14DebugEpochBaseEb:
 1006|    639|      : DebugEpochBase::HandleBase(&Epoch), Ptr(Pos), End(E) {
 1007|    639|    assert(isHandleInSync() && "invalid construction!");
  ------------------
  |  Branch (1007:5): [True: 639, False: 0]
  |  Branch (1007:5): [True: 639, Folded]
  |  Branch (1007:5): [True: 639, False: 0]
  ------------------
 1008|    639|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (1008:9): [True: 0, False: 639]
  ------------------
 1009|    639|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E16getNumTombstonesEv:
  363|    317|  unsigned getNumTombstones() const {
  364|    317|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    317|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE16getNumTombstonesEv:
  663|    317|  unsigned getNumTombstones() const {
  664|    317|    return NumTombstones;
  665|    317|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E15LookupBucketForIS2_EEbRKT_RPKS7_:
  469|    955|                       const BucketT *&FoundBucket) const {
  470|    955|    const BucketT *BucketsPtr = getBuckets();
  471|    955|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|    955|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 316, False: 639]
  ------------------
  474|    316|      FoundBucket = nullptr;
  475|    316|      return false;
  476|    316|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|    639|    const BucketT *FoundTombstone = nullptr;
  480|    639|    const KeyT EmptyKey = getEmptyKey();
  481|    639|    const KeyT TombstoneKey = getTombstoneKey();
  482|    639|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 639, False: 0]
  |  Branch (482:5): [True: 639, False: 0]
  |  Branch (482:5): [True: 639, Folded]
  |  Branch (482:5): [True: 639, False: 0]
  ------------------
  483|    639|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|    639|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|    639|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|    639|    unsigned ProbeAmt = 1;
  488|    644|    while (1) {
  ------------------
  |  Branch (488:12): [True: 644, Folded]
  ------------------
  489|    644|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|    644|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  170|    644|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 6, False: 638]
  |  |  ------------------
  ------------------
  492|      6|        FoundBucket = ThisBucket;
  493|      6|        return true;
  494|      6|      }
  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|    638|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  170|    638|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (170:27): [True: 633, False: 5]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|    633|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 633]
  ------------------
  502|    633|        return false;
  503|    633|      }
  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|      5|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 5]
  ------------------
  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|      5|      BucketNo += ProbeAmt++;
  514|      5|      BucketNo &= (NumBuckets-1);
  515|      5|    }
  516|    639|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E10getBucketsEv:
  375|    955|  const BucketT *getBuckets() const {
  376|    955|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|    955|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E12getHashValueERKS2_:
  336|    639|  static unsigned getHashValue(const KeyT &Val) {
  337|    639|    return KeyInfoT::getHashValue(Val);
  338|    639|  }
_ZNK7llvm_ks6detail12DenseMapPairINS_9StringRefEmE8getFirstEv:
   41|  1.28k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E6insertEONSt3__14pairIS2_mEE:
  184|    639|  std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
  185|    639|    BucketT *TheBucket;
  186|    639|    if (LookupBucketFor(KV.first, TheBucket))
  ------------------
  |  Branch (186:9): [True: 6, False: 633]
  ------------------
  187|      6|      return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  188|      6|                            false); // Already in map.
  189|       |
  190|       |    // Otherwise, insert the new element.
  191|    633|    TheBucket = InsertIntoBucket(std::move(KV.first),
  192|    633|                                 std::move(KV.second),
  193|    633|                                 TheBucket);
  194|    633|    return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  195|    633|                          true);
  196|    639|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E15LookupBucketForIS2_EEbRKT_RPS7_:
  519|    955|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|    955|    const BucketT *ConstFoundBucket;
  521|    955|    bool Result = const_cast<const DenseMapBase *>(this)
  522|    955|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|    955|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|    955|    return Result;
  525|    955|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E16InsertIntoBucketEOS2_OmPS7_:
  418|    633|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|    633|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|    633|    TheBucket->getFirst() = std::move(Key);
  422|    633|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|    633|    return TheBucket;
  424|    633|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E20InsertIntoBucketImplERKS2_PS7_:
  426|    633|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|    633|    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|    633|    unsigned NewNumEntries = getNumEntries() + 1;
  439|    633|    unsigned NumBuckets = getNumBuckets();
  440|    633|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  171|    633|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 316, False: 317]
  |  |  ------------------
  ------------------
  441|    316|      this->grow(NumBuckets * 2);
  442|    316|      LookupBucketFor(Key, TheBucket);
  443|    316|      NumBuckets = getNumBuckets();
  444|    317|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  171|    317|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 317]
  |  |  ------------------
  ------------------
  445|    317|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|    633|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 633, 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|    633|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|    633|    const KeyT EmptyKey = getEmptyKey();
  457|    633|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 633]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|    633|    return TheBucket;
  461|    633|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E4growEj:
  391|    316|  void grow(unsigned AtLeast) {
  392|    316|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|    316|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE4growEj:
  621|    316|  void grow(unsigned AtLeast) {
  622|    316|    unsigned OldNumBuckets = NumBuckets;
  623|    316|    BucketT *OldBuckets = Buckets;
  624|       |
  625|    316|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|    316|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 316, False: 0]
  ------------------
  627|    316|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 316, False: 0]
  ------------------
  628|    316|      this->BaseT::initEmpty();
  629|    316|      return;
  630|    316|    }
  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|    633|  void incrementNumEntries() {
  358|    633|    setNumEntries(getNumEntries() + 1);
  359|    633|  }
_ZNK7llvm_ks16DenseMapIteratorINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEELb0EEptEv:
 1024|    639|  pointer operator->() const {
 1025|    639|    assert(isHandleInSync() && "invalid iterator access!");
  ------------------
  |  Branch (1025:5): [True: 639, False: 0]
  |  Branch (1025:5): [True: 639, Folded]
  |  Branch (1025:5): [True: 639, False: 0]
  ------------------
 1026|    639|    return Ptr;
 1027|    639|  }

_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE11getEmptyKeyEv:
  171|  49.3k|  static inline StringRef getEmptyKey() {
  172|  49.3k|    return StringRef(reinterpret_cast<const char *>(~static_cast<uintptr_t>(0)),
  173|  49.3k|                     0);
  174|  49.3k|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE15getTombstoneKeyEv:
  175|  4.15k|  static inline StringRef getTombstoneKey() {
  176|  4.15k|    return StringRef(reinterpret_cast<const char *>(~static_cast<uintptr_t>(1)),
  177|  4.15k|                     0);
  178|  4.15k|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE12getHashValueES1_:
  179|    639|  static unsigned getHashValue(StringRef Val) {
  180|    639|    assert(Val.data() != getEmptyKey().data() && "Cannot hash the empty key!");
  ------------------
  |  Branch (180:5): [True: 639, False: 0]
  |  Branch (180:5): [True: 639, Folded]
  |  Branch (180:5): [True: 639, False: 0]
  ------------------
  181|    639|    assert(Val.data() != getTombstoneKey().data() &&
  ------------------
  |  Branch (181:5): [True: 639, False: 0]
  |  Branch (181:5): [True: 639, Folded]
  |  Branch (181:5): [True: 639, False: 0]
  ------------------
  182|    639|           "Cannot hash the tombstone key!");
  183|    639|    return (unsigned)(hash_value(Val));
  184|    639|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE7isEqualES1_S1_:
  185|  24.0k|  static bool isEqual(StringRef LHS, StringRef RHS) {
  186|  24.0k|    if (RHS.data() == getEmptyKey().data())
  ------------------
  |  Branch (186:9): [True: 22.7k, False: 1.28k]
  ------------------
  187|  22.7k|      return LHS.data() == getEmptyKey().data();
  188|  1.28k|    if (RHS.data() == getTombstoneKey().data())
  ------------------
  |  Branch (188:9): [True: 1.27k, False: 11]
  ------------------
  189|  1.27k|      return LHS.data() == getTombstoneKey().data();
  190|     11|    return LHS == RHS;
  191|  1.28k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE11getEmptyKeyEv:
   36|  6.45k|  static inline T* getEmptyKey() {
   37|  6.45k|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|  6.45k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|  6.45k|    return reinterpret_cast<T*>(Val);
   40|  6.45k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE15getTombstoneKeyEv:
   41|  3.76k|  static inline T* getTombstoneKey() {
   42|  3.76k|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|  3.76k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|  3.76k|    return reinterpret_cast<T*>(Val);
   45|  3.76k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE7isEqualES3_S3_:
   50|   137k|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE12getHashValueES3_:
   46|  1.76k|  static unsigned getHashValue(const T *PtrVal) {
   47|  1.76k|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|  1.76k|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|  1.76k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE11getEmptyKeyEv:
   36|  55.8k|  static inline T* getEmptyKey() {
   37|  55.8k|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|  55.8k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|  55.8k|    return reinterpret_cast<T*>(Val);
   40|  55.8k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE15getTombstoneKeyEv:
   41|  55.1k|  static inline T* getTombstoneKey() {
   42|  55.1k|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|  55.1k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|  55.1k|    return reinterpret_cast<T*>(Val);
   45|  55.1k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE7isEqualES3_S3_:
   50|   187k|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE12getHashValueES3_:
   46|  54.7k|  static unsigned getHashValue(const T *PtrVal) {
   47|  54.7k|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|  54.7k|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|  54.7k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE11getEmptyKeyEv:
   36|    468|  static inline T* getEmptyKey() {
   37|    468|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|    468|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|    468|    return reinterpret_cast<T*>(Val);
   40|    468|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE15getTombstoneKeyEv:
   41|    285|  static inline T* getTombstoneKey() {
   42|    285|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|    285|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|    285|    return reinterpret_cast<T*>(Val);
   45|    285|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE7isEqualES3_S3_:
   50|  2.67k|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE12getHashValueES3_:
   46|    265|  static unsigned getHashValue(const T *PtrVal) {
   47|    265|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|    265|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|    265|  }

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

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

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

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

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

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

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

_ZN7llvm_ks11SmallStringILj1024EEC2Ev:
   28|    692|  SmallString() {}
_ZNK7llvm_ks11SmallStringILj128EEcvNS_9StringRefEEv:
  277|  32.0k|  operator StringRef() const { return str(); }
_ZNK7llvm_ks11SmallStringILj128EE3strEv:
  267|  32.0k|  StringRef str() const { return StringRef(this->begin(), this->size()); }
_ZN7llvm_ks11SmallStringILj128EEC2Ev:
   28|  34.8k|  SmallString() {}
_ZN7llvm_ks11SmallStringILj128EEC2ENS_9StringRefE:
   31|  16.9k|  SmallString(StringRef S) : SmallVector<char, InternalLen>(S.begin(), S.end()) {}
_ZN7llvm_ks11SmallStringILj64EEC2Ev:
   28|    883|  SmallString() {}
_ZN7llvm_ks11SmallStringILj64EEpLENS_9StringRefE:
  285|  1.76k|  SmallString &operator+=(StringRef RHS) {
  286|  1.76k|    this->append(RHS.begin(), RHS.end());
  287|  1.76k|    return *this;
  288|  1.76k|  }
_ZN7llvm_ks11SmallStringILj64EE6appendIPKcEEvT_S5_:
   74|  1.76k|  void append(in_iter S, in_iter E) {
   75|  1.76k|    SmallVectorImpl<char>::append(S, E);
   76|  1.76k|  }
_ZNK7llvm_ks11SmallStringILj64EEcvNS_9StringRefEEv:
  277|    883|  operator StringRef() const { return str(); }
_ZNK7llvm_ks11SmallStringILj64EE3strEv:
  267|    883|  StringRef str() const { return StringRef(this->begin(), this->size()); }
_ZN7llvm_ks11SmallStringILj256EEC2Ev:
   28|  19.7k|  SmallString() {}

_ZN7llvm_ks15SmallVectorImplIcED2Ev:
  368|  90.8k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  90.8k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  90.8k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 413, False: 90.4k]
  ------------------
  374|    413|      free(this->begin());
  375|  90.8k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE13destroy_rangeEPcS2_:
  284|  92.3k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE5beginEv:
  113|   140k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE3endEv:
  117|  10.9M|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE7isSmallEv:
   86|  90.8k|  bool isSmall() const {
   87|  90.8k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  90.8k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE4sizeEv:
  132|  3.63M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE3endEv:
  119|  3.65M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE5beginEv:
  115|  3.70M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE4dataEv:
  139|  6.30k|  pointer data() { return pointer(begin()); }
_ZN7llvm_ks11SmallVectorIcLj1024EEC2Ev:
  872|    692|  SmallVector() : SmallVectorImpl<T>(N) {
  873|    692|  }
_ZN7llvm_ks15SmallVectorImplIcEC2Ej:
  364|  90.8k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  90.8k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EEC2Em:
  281|  90.8k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIcvEC2Em:
   78|  90.8k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorBaseC2EPvm:
   40|   243k|    : BeginX(FirstEl), EndX(FirstEl), CapacityX((char*)FirstEl+Size) {}
_ZNK7llvm_ks15SmallVectorBase13size_in_bytesEv:
   48|  3.79k|  size_t size_in_bytes() const {
   49|  3.79k|    return size_t((char*)EndX - (char*)BeginX);
   50|  3.79k|  }
_ZNK7llvm_ks15SmallVectorBase17capacity_in_bytesEv:
   53|  3.79k|  size_t capacity_in_bytes() const {
   54|  3.79k|    return size_t((char*)CapacityX - (char*)BeginX);
   55|  3.79k|  }
_ZNK7llvm_ks15SmallVectorBase5emptyEv:
   57|  19.3M|  bool LLVM_ATTRIBUTE_UNUSED_RESULT empty() const { return BeginX == EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE4dataEv:
  141|  1.20k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EE13destroy_rangeEPS1_S3_:
  284|  3.09k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE7isSmallEv:
   86|  2.08k|  bool isSmall() const {
   87|  2.08k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  2.08k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEixEm:
  149|  2.15k|  const_reference operator[](size_type idx) const {
  150|  2.15k|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 2.15k, False: 0]
  ------------------
  151|  2.15k|    return begin()[idx];
  152|  2.15k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEixEm:
  144|  2.94k|  reference operator[](size_type idx) {
  145|  2.94k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 2.94k, False: 0]
  ------------------
  146|  2.94k|    return begin()[idx];
  147|  2.94k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE4sizeEv:
  132|  8.14k|  size_type size() const { return end()-begin(); }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EE9push_backERKS1_:
  337|  2.15k|  void push_back(const T &Elt) {
  338|  2.15k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  2.15k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 2.15k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  2.15k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  2.15k|    this->setEnd(this->end()+1);
  342|  2.15k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE6setEndEPS1_:
   95|  3.16k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEE5clearEv:
  378|  1.01k|  void clear() {
  379|  1.01k|    this->destroy_range(this->begin(), this->end());
  380|  1.01k|    this->EndX = this->BeginX;
  381|  1.01k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE5beginEv:
  113|  8.06k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE5beginEv:
  115|  12.3k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE3endEv:
  117|  7.40k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE3endEv:
  119|  9.15k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE13destroy_rangeEPS1_S3_:
  284|  1.78k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE5beginEv:
  113|  4.97k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE3endEv:
  117|  11.1k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE7isSmallEv:
   86|  1.78k|  bool isSmall() const {
   87|  1.78k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  1.78k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEEaSERKS2_:
  739|  1.01k|  operator=(const SmallVectorImpl<T> &RHS) {
  740|       |  // Avoid self-assignment.
  741|  1.01k|  if (this == &RHS) return *this;
  ------------------
  |  Branch (741:7): [True: 0, False: 1.01k]
  ------------------
  742|       |
  743|       |  // If we already have sufficient space, assign the common elements, then
  744|       |  // destroy any excess.
  745|  1.01k|  size_t RHSSize = RHS.size();
  746|  1.01k|  size_t CurSize = this->size();
  747|  1.01k|  if (CurSize >= RHSSize) {
  ------------------
  |  Branch (747:7): [True: 0, False: 1.01k]
  ------------------
  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|  1.01k|  if (this->capacity() < RHSSize) {
  ------------------
  |  Branch (766:7): [True: 0, False: 1.01k]
  ------------------
  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|  1.01k|  } else if (CurSize) {
  ------------------
  |  Branch (772:14): [True: 0, False: 1.01k]
  ------------------
  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|  1.01k|  this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
  779|  1.01k|                           this->begin()+CurSize);
  780|       |
  781|       |  // Set end.
  782|  1.01k|  this->setEnd(this->begin()+RHSSize);
  783|  1.01k|  return *this;
  784|  1.01k|}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE8capacityEv:
  136|  1.01k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE12capacity_ptrEv:
  122|  1.01k|  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|  1.01k|                                           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|  1.01k|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 1.01k, False: 0]
  ------------------
  328|  1.01k|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|  1.01k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE9push_backERKc:
  337|    883|  void push_back(const T &Elt) {
  338|    883|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|    883|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 883]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|    883|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|    883|    this->setEnd(this->end()+1);
  342|    883|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE4growEm:
  333|    858|  void grow(size_t MinSize = 0) {
  334|    858|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|    858|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE8grow_podEmm:
   80|    858|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|    858|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|    858|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE6setEndEPc:
   95|  3.63M|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE3endEv:
  117|  16.6k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE4growEm:
  333|    137|  void grow(size_t MinSize = 0) {
  334|    137|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|    137|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE8grow_podEmm:
   80|    137|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|    137|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|    137|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE6setEndEPS2_:
   95|  6.72k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE13destroy_rangeEPS2_S4_:
  284|  1.94k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE5beginEv:
  113|  3.23k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE7isSmallEv:
   86|    692|  bool isSmall() const {
   87|    692|    return BeginX == static_cast<const void*>(&FirstEl);
   88|    692|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_14MCLOHDirectiveELb0EE13destroy_rangeEPS1_S3_:
  180|    692|  static void destroy_range(T *S, T *E) {
  181|    692|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 692]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|    692|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE5beginEv:
  113|    692|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE3endEv:
  117|    692|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE7isSmallEv:
   86|    692|  bool isSmall() const {
   87|    692|    return BeginX == static_cast<const void*>(&FirstEl);
   88|    692|  }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEE5clearEv:
  378|  1.25k|  void clear() {
  379|  1.25k|    this->destroy_range(this->begin(), this->end());
  380|  1.25k|    this->EndX = this->BeginX;
  381|  1.25k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE4backEv:
  167|  7.16M|  const_reference back() const {
  168|  7.16M|    assert(!empty());
  ------------------
  |  Branch (168:5): [True: 7.16M, False: 0]
  ------------------
  169|  7.16M|    return end()[-1];
  170|  7.16M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE3endEv:
  119|  7.16M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EE9push_backERKS9_:
  337|    692|  void push_back(const T &Elt) {
  338|    692|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|    692|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 692]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|    692|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|    692|    this->setEnd(this->end()+1);
  342|    692|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE6setEndEPS9_:
   95|    692|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE3endEv:
  117|  6.13k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE4backEv:
  163|  4.05k|  reference back() {
  164|  4.05k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 4.05k, False: 0]
  ------------------
  165|  4.05k|    return end()[-1];
  166|  4.05k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE5beginEv:
  115|  35.0k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE4sizeEv:
  132|  35.0k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE3endEv:
  119|  35.0k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks15SmallVectorImplIcE5clearEv:
  378|  1.38k|  void clear() {
  379|  1.38k|    this->destroy_range(this->begin(), this->end());
  380|  1.38k|    this->EndX = this->BeginX;
  381|  1.38k|  }
_ZN7llvm_ks15SmallVectorImplIcE6appendIPKcEEvT_S5_:
  423|  3.61M|  void append(in_iter in_start, in_iter in_end) {
  424|  3.61M|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|  3.61M|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 691, False: 3.61M]
  ------------------
  427|    691|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|  3.61M|    this->uninitialized_copy(in_start, in_end, this->end());
  431|  3.61M|    this->setEnd(this->end() + NumInputs);
  432|  3.61M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE12capacity_ptrEv:
  121|  3.61M|  iterator capacity_ptr() { return (iterator)this->CapacityX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyIKccEEvPT_S5_PT0_PNSt3__19enable_ifIXsr3std7is_sameINS8_12remove_constIS4_E4typeES6_EE5valueEvE4typeE:
  322|  3.62M|                                           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.62M|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 3.62M, False: 66]
  ------------------
  328|  3.62M|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|  3.62M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE9push_backERKS4_:
  337|      8|  void push_back(const T &Elt) {
  338|      8|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|      8|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 8, False: 0]
  |  |  ------------------
  ------------------
  339|      8|      this->grow();
  340|      8|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|      8|    this->setEnd(this->end()+1);
  342|      8|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE4growEm:
  333|      8|  void grow(size_t MinSize = 0) {
  334|      8|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|      8|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE8grow_podEmm:
   80|      8|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|      8|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|      8|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE3endEv:
  117|  26.3k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE6setEndEPS4_:
   95|      8|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE4sizeEv:
  132|  3.42k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE3endEv:
  119|  3.42k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE5beginEv:
  115|  3.42k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE9push_backERKS1_:
  337|  3.42k|  void push_back(const T &Elt) {
  338|  3.42k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  3.42k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 53, False: 3.37k]
  |  |  ------------------
  ------------------
  339|     53|      this->grow();
  340|  3.42k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  3.42k|    this->setEnd(this->end()+1);
  342|  3.42k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE4growEm:
  333|     53|  void grow(size_t MinSize = 0) {
  334|     53|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|     53|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE8grow_podEmm:
   80|     53|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|     53|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|     53|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE3endEv:
  117|  33.9k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE6setEndEPS1_:
   95|  5.52k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5beginEv:
  113|  1.50M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE5eraseEPS1_:
  462|   501k|  iterator erase(iterator I) {
  463|   501k|    assert(I >= this->begin() && "Iterator to erase is out of bounds.");
  ------------------
  |  Branch (463:5): [True: 501k, False: 0]
  |  Branch (463:5): [True: 501k, Folded]
  |  Branch (463:5): [True: 501k, False: 0]
  ------------------
  464|   501k|    assert(I < this->end() && "Erasing at past-the-end iterator.");
  ------------------
  |  Branch (464:5): [True: 501k, False: 0]
  |  Branch (464:5): [True: 501k, Folded]
  |  Branch (464:5): [True: 501k, False: 0]
  ------------------
  465|       |
  466|   501k|    iterator N = I;
  467|       |    // Shift all elts down one.
  468|   501k|    this->move(I+1, this->end(), I);
  469|       |    // Drop the last elt.
  470|   501k|    this->pop_back();
  471|   501k|    return(N);
  472|   501k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE3endEv:
  117|  3.00M|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE4moveIPS1_S4_EET0_T_S6_S5_:
  191|   501k|  static It2 move(It1 I, It1 E, It2 Dest) {
  192|   501k|    for (; I != E; ++I, ++Dest)
  ------------------
  |  Branch (192:12): [True: 0, False: 501k]
  ------------------
  193|      0|      *Dest = ::std::move(*I);
  194|   501k|    return Dest;
  195|   501k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE8pop_backEv:
  243|   501k|  void pop_back() {
  244|   501k|    this->setEnd(this->end()-1);
  245|   501k|    this->end()->~T();
  246|   501k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE6setEndEPS1_:
   95|  1.00M|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE12emplace_backIJS1_EEEvDpOT_:
  659|   501k|  template <typename... ArgTypes> void emplace_back(ArgTypes &&... Args) {
  660|   501k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|   501k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 501k]
  |  |  ------------------
  ------------------
  661|      0|      this->grow();
  662|   501k|    ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...);
  663|   501k|    this->setEnd(this->end() + 1);
  664|   501k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5beginEv:
  115|  4.59M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE4sizeEv:
  132|  2.29M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE3endEv:
  119|  2.29M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE13destroy_rangeEPS1_S3_:
  180|    692|  static void destroy_range(T *S, T *E) {
  181|  1.38k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 692, False: 692]
  ------------------
  182|    692|      --E;
  183|    692|      E->~T();
  184|    692|    }
  185|    692|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE7isSmallEv:
   86|    692|  bool isSmall() const {
   87|    692|    return BeginX == static_cast<const void*>(&FirstEl);
   88|    692|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5frontEv:
  154|   501k|  reference front() {
  155|   501k|    assert(!empty());
  ------------------
  |  Branch (155:5): [True: 501k, False: 0]
  ------------------
  156|   501k|    return begin()[0];
  157|   501k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvEixEm:
  149|  2.29M|  const_reference operator[](size_type idx) const {
  150|  2.29M|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 2.29M, False: 0]
  ------------------
  151|  2.29M|    return begin()[idx];
  152|  2.29M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EE13destroy_rangeEPS1_S3_:
  180|  4.31k|  static void destroy_range(T *S, T *E) {
  181|  4.31k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 4.31k]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|  4.31k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE5beginEv:
  113|  8.62k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE3endEv:
  117|  21.5k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE7isSmallEv:
   86|  4.31k|  bool isSmall() const {
   87|  4.31k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  4.31k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE5beginEv:
  115|  3.76k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE4sizeEv:
  132|  1.88k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE3endEv:
  119|  1.88k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE6setEndEPS1_:
   95|  4.31k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE4dataEv:
  141|  1.88k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks11SmallVectorIcLj128EEC2Ev:
  872|  34.8k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  34.8k|  }
_ZN7llvm_ks11SmallVectorIPvLj4EEC2Ev:
  872|  4.15k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  4.15k|  }
_ZN7llvm_ks15SmallVectorImplIPvEC2Ej:
  364|  4.15k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  4.15k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EEC2Em:
  281|  4.15k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvEC2Em:
   78|  4.15k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINSt3__14pairIPvmEELj0EEC2Ev:
  872|  4.15k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  4.15k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEEC2Ej:
  364|  4.15k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  4.15k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EEC2Em:
  281|  4.15k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvEC2Em:
   78|  4.15k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIPvED2Ev:
  368|  4.15k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  4.15k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  4.15k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 33, False: 4.11k]
  ------------------
  374|     33|      free(this->begin());
  375|  4.15k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE13destroy_rangeEPS1_S3_:
  284|  6.25k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE5beginEv:
  113|  28.4k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE7isSmallEv:
   86|  4.15k|  bool isSmall() const {
   87|  4.15k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  4.15k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE5beginEv:
  113|  26.3k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEED2Ev:
  368|  4.15k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  4.15k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  4.15k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 5, False: 4.14k]
  ------------------
  374|      5|      free(this->begin());
  375|  4.15k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE13destroy_rangeEPS4_S6_:
  284|  10.3k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE7isSmallEv:
   86|  4.15k|  bool isSmall() const {
   87|  4.15k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  4.15k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE4backEv:
  163|  2.79k|  reference back() {
  164|  2.79k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 2.79k, False: 0]
  ------------------
  165|  2.79k|    return end()[-1];
  166|  2.79k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEE5clearEv:
  378|  6.22k|  void clear() {
  379|  6.22k|    this->destroy_range(this->begin(), this->end());
  380|  6.22k|    this->EndX = this->BeginX;
  381|  6.22k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE5frontEv:
  154|  2.10k|  reference front() {
  155|  2.10k|    assert(!empty());
  ------------------
  |  Branch (155:5): [True: 2.10k, False: 0]
  ------------------
  156|  2.10k|    return begin()[0];
  157|  2.10k|  }
_ZN7llvm_ks15SmallVectorImplIPvE5eraseEPS1_S3_:
  474|  2.10k|  iterator erase(iterator S, iterator E) {
  475|  2.10k|    assert(S >= this->begin() && "Range to erase is out of bounds.");
  ------------------
  |  Branch (475:5): [True: 2.10k, False: 0]
  |  Branch (475:5): [True: 2.10k, Folded]
  |  Branch (475:5): [True: 2.10k, False: 0]
  ------------------
  476|  2.10k|    assert(S <= E && "Trying to erase invalid range.");
  ------------------
  |  Branch (476:5): [True: 2.10k, False: 0]
  |  Branch (476:5): [True: 2.10k, Folded]
  |  Branch (476:5): [True: 2.10k, False: 0]
  ------------------
  477|  2.10k|    assert(E <= this->end() && "Trying to erase past the end.");
  ------------------
  |  Branch (477:5): [True: 2.10k, False: 0]
  |  Branch (477:5): [True: 2.10k, Folded]
  |  Branch (477:5): [True: 2.10k, False: 0]
  ------------------
  478|       |
  479|  2.10k|    iterator N = S;
  480|       |    // Shift all elts down.
  481|  2.10k|    iterator I = this->move(E, this->end(), S);
  482|       |    // Drop the last elts.
  483|  2.10k|    this->destroy_range(I, this->end());
  484|  2.10k|    this->setEnd(I);
  485|  2.10k|    return(N);
  486|  2.10k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE4moveIPS1_S4_EET0_T_S6_S5_:
  289|  2.10k|  static It2 move(It1 I, It1 E, It2 Dest) {
  290|  2.10k|    return ::std::copy(I, E, Dest);
  291|  2.10k|  }
_ZN7llvm_ks11SmallVectorIcLj128EEC2IPKcEET_S5_:
  881|  16.9k|  SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
  882|  16.9k|    this->append(S, E);
  883|  16.9k|  }
_ZN7llvm_ks15SmallVectorImplIcE6resizeEm:
  383|  8.13k|  void resize(size_type N) {
  384|  8.13k|    if (N < this->size()) {
  ------------------
  |  Branch (384:9): [True: 0, False: 8.13k]
  ------------------
  385|      0|      this->destroy_range(this->begin()+N, this->end());
  386|      0|      this->setEnd(this->begin()+N);
  387|  8.13k|    } else if (N > this->size()) {
  ------------------
  |  Branch (387:16): [True: 0, False: 8.13k]
  ------------------
  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|  8.13k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE8capacityEv:
  136|  20.1k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE12capacity_ptrEv:
  122|  20.1k|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZN7llvm_ks11SmallVectorIcLj128EEC2ERKS1_:
  895|  16.9k|  SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) {
  896|  16.9k|    if (!RHS.empty())
  ------------------
  |  Branch (896:9): [True: 16.9k, False: 0]
  ------------------
  897|  16.9k|      SmallVectorImpl<T>::operator=(RHS);
  898|  16.9k|  }
_ZN7llvm_ks15SmallVectorImplIcEaSERKS1_:
  739|  16.9k|  operator=(const SmallVectorImpl<T> &RHS) {
  740|       |  // Avoid self-assignment.
  741|  16.9k|  if (this == &RHS) return *this;
  ------------------
  |  Branch (741:7): [True: 0, False: 16.9k]
  ------------------
  742|       |
  743|       |  // If we already have sufficient space, assign the common elements, then
  744|       |  // destroy any excess.
  745|  16.9k|  size_t RHSSize = RHS.size();
  746|  16.9k|  size_t CurSize = this->size();
  747|  16.9k|  if (CurSize >= RHSSize) {
  ------------------
  |  Branch (747:7): [True: 0, False: 16.9k]
  ------------------
  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|  16.9k|  if (this->capacity() < RHSSize) {
  ------------------
  |  Branch (766:7): [True: 71, False: 16.9k]
  ------------------
  767|       |    // Destroy current elements.
  768|     71|    this->destroy_range(this->begin(), this->end());
  769|     71|    this->setEnd(this->begin());
  770|     71|    CurSize = 0;
  771|     71|    this->grow(RHSSize);
  772|  16.9k|  } else if (CurSize) {
  ------------------
  |  Branch (772:14): [True: 0, False: 16.9k]
  ------------------
  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|  16.9k|  this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
  779|  16.9k|                           this->begin()+CurSize);
  780|       |
  781|       |  // Set end.
  782|  16.9k|  this->setEnd(this->begin()+RHSSize);
  783|  16.9k|  return *this;
  784|  16.9k|}
_ZN7llvm_ks11SmallVectorIcLj64EEC2Ev:
  872|    883|  SmallVector() : SmallVectorImpl<T>(N) {
  873|    883|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyIccEEvPT_S4_PT0_PNSt3__19enable_ifIXsr3std7is_sameINS7_12remove_constIS3_E4typeES5_EE5valueEvE4typeE:
  322|  1.01k|                                           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|  1.01k|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 1.01k, False: 0]
  ------------------
  328|  1.01k|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|  1.01k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_14MCDataFragmentEED2Ev:
  368|    692|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|    692|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|    692|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 692]
  ------------------
  374|      0|      free(this->begin());
  375|    692|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_14MCDataFragmentELb1EE13destroy_rangeEPS2_S4_:
  284|    692|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE5beginEv:
  113|    692|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE3endEv:
  117|    692|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE7isSmallEv:
   86|    692|  bool isSmall() const {
   87|    692|    return BeginX == static_cast<const void*>(&FirstEl);
   88|    692|  }
_ZN7llvm_ks11SmallVectorIcLj32EEC2Ev:
  872|    774|  SmallVector() : SmallVectorImpl<T>(N) {
  873|    774|  }
_ZN7llvm_ks15SmallVectorImplINS_7MCFixupEED2Ev:
  368|  1.78k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  1.78k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  1.78k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 38, False: 1.75k]
  ------------------
  374|     38|      free(this->begin());
  375|  1.78k|  }
_ZN7llvm_ks11SmallVectorIPNS_14MCDataFragmentELj4EEC2Ev:
  872|    692|  SmallVector() : SmallVectorImpl<T>(N) {
  873|    692|  }
_ZN7llvm_ks15SmallVectorImplIPNS_14MCDataFragmentEEC2Ej:
  364|    692|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|    692|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_14MCDataFragmentELb1EEC2Em:
  281|    692|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvEC2Em:
   78|    692|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorIcLj256EEC2Ev:
  872|  19.7k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  19.7k|  }
_ZN7llvm_ks15SmallVectorImplIcE6appendIPcEEvT_S4_:
  423|  1.01k|  void append(in_iter in_start, in_iter in_end) {
  424|  1.01k|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|  1.01k|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 30, False: 984]
  ------------------
  427|     30|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|  1.01k|    this->uninitialized_copy(in_start, in_end, this->end());
  431|  1.01k|    this->setEnd(this->end() + NumInputs);
  432|  1.01k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE4sizeEv:
  132|  5.79k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE3endEv:
  119|  5.79k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE5beginEv:
  115|  6.41k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvEixEm:
  144|  3.15k|  reference operator[](size_type idx) {
  145|  3.15k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 3.15k, False: 0]
  ------------------
  146|  3.15k|    return begin()[idx];
  147|  3.15k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE9push_backERKS1_:
  337|  4.70k|  void push_back(const T &Elt) {
  338|  4.70k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  4.70k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 128, False: 4.57k]
  |  |  ------------------
  ------------------
  339|    128|      this->grow();
  340|  4.70k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  4.70k|    this->setEnd(this->end()+1);
  342|  4.70k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE4growEm:
  333|    128|  void grow(size_t MinSize = 0) {
  334|    128|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|    128|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE8grow_podEmm:
   80|    128|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|    128|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|    128|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE6setEndEPS1_:
   95|  4.70k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks11SmallVectorINS_7MCFixupELj4EEC2Ev:
  872|  1.78k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  1.78k|  }
_ZN7llvm_ks15SmallVectorImplINS_7MCFixupEEC2Ej:
  364|  1.78k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  1.78k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EEC2Em:
  281|  1.78k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvEC2Em:
   78|  1.78k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIPNS_9MCSectionEED2Ev:
  368|    340|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|    340|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|    340|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 340]
  ------------------
  374|      0|      free(this->begin());
  375|    340|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EE13destroy_rangeEPS2_S4_:
  284|    340|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE5beginEv:
  113|  1.04k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE3endEv:
  117|  1.04k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE7isSmallEv:
   86|    340|  bool isSmall() const {
   87|    340|    return BeginX == static_cast<const void*>(&FirstEl);
   88|    340|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEED2Ev:
  368|  2.08k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  2.08k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  2.08k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 2.08k]
  ------------------
  374|      0|      free(this->begin());
  375|  2.08k|  }
_ZN7llvm_ks11SmallVectorIPNS_9MCSectionELj16EEC2Ev:
  872|    340|  SmallVector() : SmallVectorImpl<T>(N) {
  873|    340|  }
_ZN7llvm_ks15SmallVectorImplIPNS_9MCSectionEEC2Ej:
  364|    340|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|    340|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EEC2Em:
  281|    340|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvEC2Em:
   78|    340|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EE9push_backERKS2_:
  337|    351|  void push_back(const T &Elt) {
  338|    351|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|    351|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 351]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|    351|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|    351|    this->setEnd(this->end()+1);
  342|    351|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE6setEndEPS2_:
   95|    351|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEED2Ev:
  368|    692|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|    692|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|    692|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 39, False: 653]
  ------------------
  374|     39|      free(this->begin());
  375|    692|  }
_ZN7llvm_ks11SmallVectorINS_9MCOperandELj8EEC2Ev:
  872|  1.06k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  1.06k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEEC2Ej:
  364|  2.08k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  2.08k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EEC2Em:
  281|  2.08k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEC2Em:
   78|  2.08k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_9MCOperandELj8EEC2ERKS2_:
  895|  1.01k|  SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) {
  896|  1.01k|    if (!RHS.empty())
  ------------------
  |  Branch (896:9): [True: 1.01k, False: 0]
  ------------------
  897|  1.01k|      SmallVectorImpl<T>::operator=(RHS);
  898|  1.01k|  }
_ZN7llvm_ks11SmallVectorIPNS_8MCSymbolELj2EEC2Ev:
  872|    692|  SmallVector() : SmallVectorImpl<T>(N) {
  873|    692|  }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEEC2Ej:
  364|    692|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|    692|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EEC2Em:
  281|    692|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvEC2Em:
   78|    692|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIcE6resizeEmRKc:
  396|  3.12k|  void resize(size_type N, const T &NV) {
  397|  3.12k|    if (N < this->size()) {
  ------------------
  |  Branch (397:9): [True: 0, False: 3.12k]
  ------------------
  398|      0|      this->destroy_range(this->begin()+N, this->end());
  399|      0|      this->setEnd(this->begin()+N);
  400|  3.12k|    } else if (N > this->size()) {
  ------------------
  |  Branch (400:16): [True: 3.12k, False: 0]
  ------------------
  401|  3.12k|      if (this->capacity() < N)
  ------------------
  |  Branch (401:11): [True: 66, False: 3.05k]
  ------------------
  402|     66|        this->grow(N);
  403|  3.12k|      std::uninitialized_fill(this->end(), this->begin()+N, NV);
  404|  3.12k|      this->setEnd(this->begin()+N);
  405|  3.12k|    }
  406|  3.12k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE9push_backERKS2_:
  337|  6.72k|  void push_back(const T &Elt) {
  338|  6.72k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  6.72k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 137, False: 6.59k]
  |  |  ------------------
  ------------------
  339|    137|      this->grow();
  340|  6.72k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  6.72k|    this->setEnd(this->end()+1);
  342|  6.72k|  }
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEED2Ev:
  368|  4.31k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  4.31k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  4.31k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 4.31k]
  ------------------
  374|      0|      free(this->begin());
  375|  4.31k|  }
_ZN7llvm_ks11SmallVectorINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELj8EEC2Ev:
  872|  82.4k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  82.4k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEEC2Ej:
  364|  82.4k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  82.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EEC2Em:
  178|  82.4k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvEC2Em:
   78|  82.4k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_5SMLocELj4EEC2Ev:
  872|  7.82k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  7.82k|  }
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEEC2Ej:
  364|  7.82k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  7.82k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EEC2Em:
  281|  7.82k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvEC2Em:
   78|  7.82k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEE6resizeEm:
  383|  21.6k|  void resize(size_type N) {
  384|  21.6k|    if (N < this->size()) {
  ------------------
  |  Branch (384:9): [True: 0, False: 21.6k]
  ------------------
  385|      0|      this->destroy_range(this->begin()+N, this->end());
  386|      0|      this->setEnd(this->begin()+N);
  387|  21.6k|    } else if (N > this->size()) {
  ------------------
  |  Branch (387:16): [True: 14.4k, False: 7.24k]
  ------------------
  388|  14.4k|      if (this->capacity() < N)
  ------------------
  |  Branch (388:11): [True: 2.52k, False: 11.9k]
  ------------------
  389|  2.52k|        this->grow(N);
  390|  60.2k|      for (auto I = this->end(), E = this->begin() + N; I != E; ++I)
  ------------------
  |  Branch (390:57): [True: 45.8k, False: 14.4k]
  ------------------
  391|  45.8k|        new (&*I) T();
  392|  14.4k|      this->setEnd(this->begin()+N);
  393|  14.4k|    }
  394|  21.6k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EE13destroy_rangeEPS1_S3_:
  284|  7.82k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE5beginEv:
  113|  53.6k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE3endEv:
  117|  22.2k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE6setEndEPS1_:
   95|  14.4k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE8capacityEv:
  136|  14.4k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE12capacity_ptrEv:
  122|  14.4k|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE5beginEv:
  115|  86.7k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EE4growEm:
  333|  2.52k|  void grow(size_t MinSize = 0) {
  334|  2.52k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  2.52k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE8grow_podEmm:
   80|  2.52k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  2.52k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  2.52k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE4sizeEv:
  132|  72.3k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE3endEv:
  119|  72.3k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvEixEm:
  144|  14.4k|  reference operator[](size_type idx) {
  145|  14.4k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 14.4k, False: 0]
  ------------------
  146|  14.4k|    return begin()[idx];
  147|  14.4k|  }
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEED2Ev:
  368|  7.82k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  7.82k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  7.82k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 2.41k, False: 5.40k]
  ------------------
  374|  2.41k|      free(this->begin());
  375|  7.82k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE7isSmallEv:
   86|  7.82k|  bool isSmall() const {
   87|  7.82k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  7.82k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEED2Ev:
  368|  82.4k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  82.4k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  82.4k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 8, False: 82.4k]
  ------------------
  374|      8|      free(this->begin());
  375|  82.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE13destroy_rangeEPS6_S8_:
  180|  82.4k|  static void destroy_range(T *S, T *E) {
  181|  86.7k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 4.27k, False: 82.4k]
  ------------------
  182|  4.27k|      --E;
  183|  4.27k|      E->~T();
  184|  4.27k|    }
  185|  82.4k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE5beginEv:
  113|  82.5k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE3endEv:
  117|  89.7k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE7isSmallEv:
   86|  82.4k|  bool isSmall() const {
   87|  82.4k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  82.4k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE4sizeEv:
  132|  8.98k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE3endEv:
  119|  8.98k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE5beginEv:
  115|  12.2k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEED2Ev:
  368|    692|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|    692|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|    692|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 692]
  ------------------
  374|      0|      free(this->begin());
  375|    692|  }
_ZN7llvm_ks11SmallVectorINS_8AsmTokenELj1EEC2Ev:
  872|    692|  SmallVector() : SmallVectorImpl<T>(N) {
  873|    692|  }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEEC2Ej:
  364|    692|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|    692|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EEC2Em:
  178|    692|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvEC2Em:
   78|    692|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE12emplace_backIJNS1_9TokenKindENS_9StringRefEEEEvDpOT_:
  659|    692|  template <typename... ArgTypes> void emplace_back(ArgTypes &&... Args) {
  660|    692|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|    692|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 692]
  |  |  ------------------
  ------------------
  661|      0|      this->grow();
  662|    692|    ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...);
  663|    692|    this->setEnd(this->end() + 1);
  664|    692|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjPNS_10MCFragmentEEEED2Ev:
  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_ks23SmallVectorTemplateBaseINSt3__14pairIjPNS_10MCFragmentEEELb1EE13destroy_rangeEPS5_S7_:
  284|  30.1k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE7isSmallEv:
   86|  30.1k|  bool isSmall() const {
   87|  30.1k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  30.1k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairIjPNS_10MCFragmentEEELj1EEC2Ev:
  872|  30.1k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  30.1k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjPNS_10MCFragmentEEEEC2Ej:
  364|  30.1k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  30.1k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjPNS_10MCFragmentEEELb1EEC2Em:
  281|  30.1k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvEC2Em:
   78|  30.1k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE5beginEv:
  113|  30.1k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE3endEv:
  117|  30.1k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvEixEm:
  144|  14.0k|  reference operator[](size_type idx) {
  145|  14.0k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 14.0k, False: 0]
  ------------------
  146|  14.0k|    return begin()[idx];
  147|  14.0k|  }
_ZN7llvm_ks15SmallVectorImplINS_9StringRefEED2Ev:
  368|  7.66k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  7.66k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  7.66k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 27, False: 7.64k]
  ------------------
  374|     27|      free(this->begin());
  375|  7.66k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE13destroy_rangeEPS1_S3_:
  284|  7.66k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE7isSmallEv:
   86|  7.66k|  bool isSmall() const {
   87|  7.66k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  7.66k|  }
_ZN7llvm_ks11SmallVectorINS_9StringRefELj5EEC2Ev:
  872|     50|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     50|  }
_ZN7llvm_ks15SmallVectorImplINS_9StringRefEEC2Ej:
  364|  7.66k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  7.66k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EEC2Em:
  281|  7.66k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvEC2Em:
   78|  7.66k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_9StringRefELj1EEC2Ev:
  872|      6|  SmallVector() : SmallVectorImpl<T>(N) {
  873|      6|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE5beginEv:
  113|  22.4k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE3endEv:
  117|  40.4k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEED2Ev:
  368|    692|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|    692|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|    692|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 692]
  ------------------
  374|      0|      free(this->begin());
  375|    692|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EE13destroy_rangeEPS9_SB_:
  284|    692|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE5beginEv:
  113|    692|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE7isSmallEv:
   86|    692|  bool isSmall() const {
   87|    692|    return BeginX == static_cast<const void*>(&FirstEl);
   88|    692|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELj4EEC2Ev:
  872|    692|  SmallVector() : SmallVectorImpl<T>(N) {
  873|    692|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEEC2Ej:
  364|    692|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|    692|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EEC2Em:
  281|    692|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvEC2Em:
   78|    692|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE6setEndEPS1_:
   95|  16.0k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks11SmallVectorINS_9StringRefELj4EEC2Ev:
  872|  6.92k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  6.92k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE9push_backERKS1_:
  337|  16.0k|  void push_back(const T &Elt) {
  338|  16.0k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  16.0k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 85, False: 15.9k]
  |  |  ------------------
  ------------------
  339|     85|      this->grow();
  340|  16.0k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  16.0k|    this->setEnd(this->end()+1);
  342|  16.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE4growEm:
  333|     85|  void grow(size_t MinSize = 0) {
  334|     85|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|     85|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE8grow_podEmm:
   80|     85|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|     85|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|     85|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjjEEED2Ev:
  368|  3.52k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  3.52k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  3.52k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 3.52k]
  ------------------
  374|      0|      free(this->begin());
  375|  3.52k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EE13destroy_rangeEPS3_S5_:
  284|  3.52k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE5beginEv:
  113|  3.52k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE3endEv:
  117|  3.53k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE7isSmallEv:
   86|  3.52k|  bool isSmall() const {
   87|  3.52k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  3.52k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairIjjEELj4EEC2Ev:
  872|  3.52k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  3.52k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjjEEEC2Ej:
  364|  3.52k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  3.52k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EEC2Em:
  281|  3.52k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvEC2Em:
   78|  3.52k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EE9push_backERKS3_:
  337|      2|  void push_back(const T &Elt) {
  338|      2|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|      2|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 2]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|      2|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|      2|    this->setEnd(this->end()+1);
  342|      2|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE6setEndEPS3_:
   95|      2|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE4dataEv:
  141|  3.52k|  const_pointer data() const { return const_pointer(begin()); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE5beginEv:
  115|  7.05k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE4sizeEv:
  132|  3.52k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE3endEv:
  119|  3.52k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks11SmallVectorINS_7SMFixItELj4EEC2IPKS1_EET_S6_:
  881|  4.31k|  SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
  882|  4.31k|    this->append(S, E);
  883|  4.31k|  }
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEEC2Ej:
  364|  4.31k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  4.31k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EEC2Em:
  178|  4.31k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvEC2Em:
   78|  4.31k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEE6appendIPKS1_EEvT_S6_:
  423|  4.31k|  void append(in_iter in_start, in_iter in_end) {
  424|  4.31k|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|  4.31k|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 0, False: 4.31k]
  ------------------
  427|      0|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|  4.31k|    this->uninitialized_copy(in_start, in_end, this->end());
  431|  4.31k|    this->setEnd(this->end() + NumInputs);
  432|  4.31k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE12capacity_ptrEv:
  121|  4.31k|  iterator capacity_ptr() { return (iterator)this->CapacityX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EE18uninitialized_copyIPKS1_PS1_EEvT_S7_T0_:
  219|  4.31k|  static void uninitialized_copy(It1 I, It1 E, It2 Dest) {
  220|  4.31k|    std::uninitialized_copy(I, E, Dest);
  221|  4.31k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE9push_backEOS6_:
  236|  3.63k|  void push_back(T &&Elt) {
  237|  3.63k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  3.63k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 17, False: 3.62k]
  |  |  ------------------
  ------------------
  238|     17|      this->grow();
  239|  3.63k|    ::new ((void*) this->end()) T(::std::move(Elt));
  240|  3.63k|    this->setEnd(this->end()+1);
  241|  3.63k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE4growEm:
  251|     17|void SmallVectorTemplateBase<T, isPodLike>::grow(size_t MinSize) {
  252|     17|  size_t CurCapacity = this->capacity();
  253|     17|  size_t CurSize = this->size();
  254|       |  // Always grow, even from zero.
  255|     17|  size_t NewCapacity = size_t(NextPowerOf2(CurCapacity+2));
  256|     17|  if (NewCapacity < MinSize)
  ------------------
  |  Branch (256:7): [True: 0, False: 17]
  ------------------
  257|      0|    NewCapacity = MinSize;
  258|     17|  T *NewElts = static_cast<T*>(malloc(NewCapacity*sizeof(T)));
  259|       |
  260|       |  // Move the elements over.
  261|     17|  this->uninitialized_move(this->begin(), this->end(), NewElts);
  262|       |
  263|       |  // Destroy the original elements.
  264|     17|  destroy_range(this->begin(), this->end());
  265|       |
  266|       |  // If this wasn't grown from the inline copy, deallocate the old space.
  267|     17|  if (!this->isSmall())
  ------------------
  |  Branch (267:7): [True: 9, False: 8]
  ------------------
  268|      9|    free(this->begin());
  269|       |
  270|     17|  this->setEnd(NewElts+CurSize);
  271|     17|  this->BeginX = NewElts;
  272|     17|  this->CapacityX = this->begin()+NewCapacity;
  273|     17|}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE8capacityEv:
  136|     17|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE12capacity_ptrEv:
  122|     17|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE18uninitialized_moveIPS6_S9_EEvT_SA_T0_:
  211|     17|  static void uninitialized_move(It1 I, It1 E, It2 Dest) {
  212|    657|    for (; I != E; ++I, ++Dest)
  ------------------
  |  Branch (212:12): [True: 640, False: 17]
  ------------------
  213|    640|      ::new ((void*) &*Dest) T(::std::move(*I));
  214|     17|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE6setEndEPS6_:
   95|  3.65k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvEixEm:
  149|  3.22k|  const_reference operator[](size_type idx) const {
  150|  3.22k|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 3.22k, False: 0]
  ------------------
  151|  3.22k|    return begin()[idx];
  152|  3.22k|  }
_ZN7llvm_ks15SmallVectorImplINS_6MCInstEEC2Ej:
  364|  1.06k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  1.06k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_6MCInstELb0EEC2Em:
  178|  1.06k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvEC2Em:
   78|  1.06k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseINS_6MCInstELb0EE9push_backERKS1_:
  229|  1.01k|  void push_back(const T &Elt) {
  230|  1.01k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  171|  1.01k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 0, False: 1.01k]
  |  |  ------------------
  ------------------
  231|      0|      this->grow();
  232|  1.01k|    ::new ((void*) this->end()) T(Elt);
  233|  1.01k|    this->setEnd(this->end()+1);
  234|  1.01k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvE5beginEv:
  113|  2.08k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_6MCInstELb0EE13destroy_rangeEPS1_S3_:
  180|  1.06k|  static void destroy_range(T *S, T *E) {
  181|  2.08k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 1.01k, False: 1.06k]
  ------------------
  182|  1.01k|      --E;
  183|  1.01k|      E->~T();
  184|  1.01k|    }
  185|  1.06k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvE7isSmallEv:
   86|  1.06k|  bool isSmall() const {
   87|  1.06k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  1.06k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvE3endEv:
  117|  4.10k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvE6setEndEPS1_:
   95|  1.01k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplINS_6MCInstEED2Ev:
  368|  1.06k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  1.06k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  1.06k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 1.06k]
  ------------------
  374|      0|      free(this->begin());
  375|  1.06k|  }
_ZN7llvm_ks11SmallVectorINS_6MCInstELj8EEC2Ev:
  872|  1.06k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  1.06k|  }
_ZN7llvm_ks11SmallVectorINS_14MCLOHDirectiveELj32EEC2Ev:
  872|    692|  SmallVector() : SmallVectorImpl<T>(N) {
  873|    692|  }
_ZN7llvm_ks15SmallVectorImplINS_14MCLOHDirectiveEEC2Ej:
  364|    692|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|    692|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_14MCLOHDirectiveELb0EEC2Em:
  178|    692|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvEC2Em:
   78|    692|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_14MCLOHDirectiveEED2Ev:
  368|    692|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|    692|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|    692|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 692]
  ------------------
  374|      0|      free(this->begin());
  375|    692|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE4sizeEv:
  132|  1.38k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE3endEv:
  119|  1.38k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE5beginEv:
  115|  1.38k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvEixEm:
  144|    702|  reference operator[](size_type idx) {
  145|    702|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 702, False: 0]
  ------------------
  146|    702|    return begin()[idx];
  147|    702|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE4dataEv:
  141|    615|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks11SmallVectorINS_9StringRefELj3EEC2Ev:
  872|    692|  SmallVector() : SmallVectorImpl<T>(N) {
  873|    692|  }

APFloat.cpp:_ZN7llvm_ksL13hexDigitValueEc:
   40|  25.8k|static inline unsigned hexDigitValue(char C) {
   41|  25.8k|  if (C >= '0' && C <= '9') return C-'0';
  ------------------
  |  Branch (41:7): [True: 25.8k, False: 0]
  |  Branch (41:19): [True: 14.8k, False: 11.0k]
  ------------------
   42|  11.0k|  if (C >= 'a' && C <= 'f') return C-'a'+10U;
  ------------------
  |  Branch (42:7): [True: 4.54k, False: 6.47k]
  |  Branch (42:19): [True: 3.84k, False: 698]
  ------------------
   43|  7.16k|  if (C >= 'A' && C <= 'F') return C-'A'+10U;
  ------------------
  |  Branch (43:7): [True: 7.16k, False: 0]
  |  Branch (43:19): [True: 5.84k, False: 1.32k]
  ------------------
   44|  1.32k|  return -1U;
   45|  7.16k|}
StringMap.cpp:_ZN7llvm_ksL10HashStringENS_9StringRefEj:
  112|   287k|static inline unsigned HashString(StringRef Str, unsigned Result = 0) {
  113|  3.06M|  for (StringRef::size_type i = 0, e = Str.size(); i != e; ++i)
  ------------------
  |  Branch (113:52): [True: 2.78M, False: 287k]
  ------------------
  114|  2.78M|    Result = Result * 33 + (unsigned char)Str[i];
  115|   287k|  return Result;
  116|   287k|}

_ZN7llvm_ks18StringMapEntryBaseC2Ej:
   35|   159k|  explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {}
_ZNK7llvm_ks18StringMapEntryBase12getKeyLengthEv:
   37|   221k|  unsigned getKeyLength() const { return StrLen; }
_ZN7llvm_ks13StringMapImplC2Ej:
   55|  5.53k|      : TheTable(nullptr),
   56|       |        // Initialize the map with zero buckets to allocation.
   57|  5.53k|        NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {}
_ZN7llvm_ks13StringMapImpl15getTombstoneValEv:
   95|  1.09M|  static StringMapEntryBase *getTombstoneVal() {
   96|  1.09M|    return (StringMapEntryBase*)-1;
   97|  1.09M|  }
_ZNK7llvm_ks13StringMapImpl5emptyEv:
  102|  8.99k|  bool empty() const { return NumItems == 0; }
_ZN7llvm_ks14StringMapEntryIjE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|  8.95k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  8.95k|    unsigned AllocSize =
  201|  8.95k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  8.95k|    this->~StringMapEntry();
  203|  8.95k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  8.95k|  }
_ZNK7llvm_ks14StringMapEntryIbE5firstEv:
  143|    900|  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
_ZNK7llvm_ks14StringMapEntryIbE10getKeyDataEv:
  141|  18.5k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEEC2Ev:
  224|    692|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEED2Ev:
  385|    692|  ~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|    692|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 692]
  ------------------
  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|    692|    free(TheTable);
  398|    692|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEC2ES6_:
  229|    692|    : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), Allocator(A) {}
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEC2ES4_:
  229|    692|    : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), Allocator(A) {}
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEEC2Ev:
  224|    692|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEEC2Ev:
  224|    692|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEED2Ev:
  385|    692|  ~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|    692|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 692]
  ------------------
  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|    692|    free(TheTable);
  398|    692|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEE7DestroyINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEEvRT_:
  198|  2.63k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  2.63k|    unsigned AllocSize =
  201|  2.63k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  2.63k|    this->~StringMapEntry();
  203|  2.63k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  2.63k|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEED2Ev:
  385|    692|  ~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|    692|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 692]
  ------------------
  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|    692|    free(TheTable);
  398|    692|  }
_ZN7llvm_ks14StringMapEntryIbE7DestroyINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEEvRT_:
  198|  17.6k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  17.6k|    unsigned AllocSize =
  201|  17.6k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  17.6k|    this->~StringMapEntry();
  203|  17.6k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  17.6k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEED2Ev:
  385|    692|  ~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|    692|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 692]
  ------------------
  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|    692|    free(TheTable);
  398|    692|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|     32|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|     32|    unsigned AllocSize =
  201|     32|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|     32|    this->~StringMapEntry();
  203|     32|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|     32|  }
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEED2Ev:
  385|    692|  ~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|    692|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 5, False: 687]
  ------------------
  390|     85|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 80, False: 5]
  ------------------
  391|     80|        StringMapEntryBase *Bucket = TheTable[I];
  392|     80|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 5, False: 75]
  |  Branch (392:23): [True: 5, False: 0]
  ------------------
  393|      5|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|      5|        }
  395|     80|      }
  396|      5|    }
  397|    692|    free(TheTable);
  398|    692|  }
_ZN7llvm_ks14StringMapEntryIbE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|      5|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|      5|    unsigned AllocSize =
  201|      5|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|      5|    this->~StringMapEntry();
  203|      5|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|      5|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE5clearEv:
  349|    692|  void clear() {
  350|    692|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 692]
  ------------------
  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|  33.8k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 33.1k, False: 692]
  ------------------
  355|  33.1k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|  33.1k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 17.6k, False: 15.4k]
  |  Branch (356:21): [True: 17.6k, False: 0]
  ------------------
  357|  17.6k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|  17.6k|      }
  359|  33.1k|      Bucket = nullptr;
  360|  33.1k|    }
  361|       |
  362|    692|    NumItems = 0;
  363|    692|    NumTombstones = 0;
  364|    692|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE5clearEv:
  349|    692|  void clear() {
  350|    692|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 692]
  ------------------
  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|  13.8k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 13.1k, False: 692]
  ------------------
  355|  13.1k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|  13.1k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 2.63k, False: 10.5k]
  |  Branch (356:21): [True: 2.63k, False: 0]
  ------------------
  357|  2.63k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|  2.63k|      }
  359|  13.1k|      Bucket = nullptr;
  360|  13.1k|    }
  361|       |
  362|    692|    NumItems = 0;
  363|    692|    NumTombstones = 0;
  364|    692|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEE5clearEv:
  349|    692|  void clear() {
  350|    692|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 679, False: 13]
  ------------------
  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|    221|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 208, False: 13]
  ------------------
  355|    208|      StringMapEntryBase *&Bucket = TheTable[I];
  356|    208|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 32, False: 176]
  |  Branch (356:21): [True: 32, False: 0]
  ------------------
  357|     32|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|     32|      }
  359|    208|      Bucket = nullptr;
  360|    208|    }
  361|       |
  362|     13|    NumItems = 0;
  363|     13|    NumTombstones = 0;
  364|     13|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEE5clearEv:
  349|    692|  void clear() {
  350|    692|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 692]
  ------------------
  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|  15.9k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 15.2k, False: 692]
  ------------------
  355|  15.2k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|  15.2k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 8.95k, False: 6.33k]
  |  Branch (356:21): [True: 8.95k, False: 0]
  ------------------
  357|  8.95k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|  8.95k|      }
  359|  15.2k|      Bucket = nullptr;
  360|  15.2k|    }
  361|       |
  362|    692|    NumItems = 0;
  363|    692|    NumTombstones = 0;
  364|    692|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEixENS_9StringRefE:
  298|  14.8k|  ValueTy &operator[](StringRef Key) {
  299|  14.8k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  14.8k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|  14.8k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  14.8k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  14.8k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  14.8k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 12.2k, False: 2.63k]
  |  Branch (333:19): [True: 12.2k, False: 0]
  ------------------
  334|  12.2k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|  12.2k|                            false); // Already exists in map.
  336|       |
  337|  2.63k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 2.63k]
  ------------------
  338|      0|      --NumTombstones;
  339|  2.63k|    Bucket =
  340|  2.63k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  2.63k|    ++NumItems;
  342|  2.63k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 2.63k, False: 0]
  ------------------
  343|       |
  344|  2.63k|    BucketNo = RehashTable(BucketNo);
  345|  2.63k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  2.63k|  }
_ZN7llvm_ks17StringMapIteratorIPNS_8MCSymbolEEC2EPPNS_18StringMapEntryBaseEb:
  452|  14.8k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  14.8k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEC2EPPNS_18StringMapEntryBaseEb:
  412|  19.2k|  : Ptr(Bucket) {
  413|  19.2k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 14.8k, False: 4.42k]
  ------------------
  414|  19.2k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEE23AdvancePastEmptyBucketsEv:
  440|  14.8k|  void AdvancePastEmptyBuckets() {
  441|  14.8k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 14.8k]
  |  Branch (441:31): [True: 0, False: 14.8k]
  ------------------
  442|      0|      ++Ptr;
  443|  14.8k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEE6CreateINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEES2_EEPS3_NS_9StringRefERT_OT0_:
  149|  2.63k|                                InitType &&InitVal) {
  150|  2.63k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|  2.63k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  2.63k|      KeyLength+1;
  156|  2.63k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  2.63k|    StringMapEntry *NewItem =
  159|  2.63k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  2.63k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  2.63k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  2.63k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 2.62k, False: 13]
  ------------------
  167|  2.62k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  2.63k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  2.63k|    return NewItem;
  170|  2.63k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEEC2IS2_EEjOT_:
  127|  2.63k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIPNS_8MCSymbolEE10getKeyDataEv:
  141|  2.63k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIPNS_8MCSymbolEEptEv:
  457|  14.8k|  StringMapEntry<ValueTy> *operator->() const {
  458|  14.8k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  14.8k|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6insertENSt3__14pairINS_9StringRefEbEE:
  330|  17.7k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  17.7k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  17.7k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  17.7k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 19, False: 17.6k]
  |  Branch (333:19): [True: 19, False: 0]
  ------------------
  334|     19|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|     19|                            false); // Already exists in map.
  336|       |
  337|  17.6k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 17.6k]
  ------------------
  338|      0|      --NumTombstones;
  339|  17.6k|    Bucket =
  340|  17.6k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  17.6k|    ++NumItems;
  342|  17.6k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 17.6k, False: 0]
  ------------------
  343|       |
  344|  17.6k|    BucketNo = RehashTable(BucketNo);
  345|  17.6k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  17.6k|  }
_ZN7llvm_ks17StringMapIteratorIbEC2EPPNS_18StringMapEntryBaseEb:
  452|  17.7k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  17.7k|  }
_ZN7llvm_ks22StringMapConstIteratorIbEC2EPPNS_18StringMapEntryBaseEb:
  412|  17.7k|  : Ptr(Bucket) {
  413|  17.7k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 17.7k, False: 0]
  ------------------
  414|  17.7k|  }
_ZN7llvm_ks22StringMapConstIteratorIbE23AdvancePastEmptyBucketsEv:
  440|  17.7k|  void AdvancePastEmptyBuckets() {
  441|  17.7k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 17.7k]
  |  Branch (441:31): [True: 0, False: 17.7k]
  ------------------
  442|      0|      ++Ptr;
  443|  17.7k|  }
_ZN7llvm_ks14StringMapEntryIbE6CreateINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEbEEPS1_NS_9StringRefERT_OT0_:
  149|  17.6k|                                InitType &&InitVal) {
  150|  17.6k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|  17.6k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  17.6k|      KeyLength+1;
  156|  17.6k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  17.6k|    StringMapEntry *NewItem =
  159|  17.6k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  17.6k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  17.6k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  17.6k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 17.6k, False: 13]
  ------------------
  167|  17.6k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  17.6k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  17.6k|    return NewItem;
  170|  17.6k|  }
_ZN7llvm_ks14StringMapEntryIbEC2IbEEjOT_:
  127|  17.6k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks17StringMapIteratorIbEdeEv:
  454|  18.4k|  StringMapEntry<ValueTy> &operator*() const {
  455|  18.4k|    return *static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  456|  18.4k|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEEixENS_9StringRefE:
  298|  16.9k|  ValueTy &operator[](StringRef Key) {
  299|  16.9k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  16.9k|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefEjEE:
  330|  16.9k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  16.9k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  16.9k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  16.9k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 8.03k, False: 8.95k]
  |  Branch (333:19): [True: 8.03k, False: 0]
  ------------------
  334|  8.03k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|  8.03k|                            false); // Already exists in map.
  336|       |
  337|  8.95k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 8.95k]
  ------------------
  338|      0|      --NumTombstones;
  339|  8.95k|    Bucket =
  340|  8.95k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  8.95k|    ++NumItems;
  342|  8.95k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 8.95k, False: 0]
  ------------------
  343|       |
  344|  8.95k|    BucketNo = RehashTable(BucketNo);
  345|  8.95k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  8.95k|  }
_ZN7llvm_ks17StringMapIteratorIjEC2EPPNS_18StringMapEntryBaseEb:
  452|  16.9k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  16.9k|  }
_ZN7llvm_ks22StringMapConstIteratorIjEC2EPPNS_18StringMapEntryBaseEb:
  412|  16.9k|  : Ptr(Bucket) {
  413|  16.9k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 16.9k, False: 0]
  ------------------
  414|  16.9k|  }
_ZN7llvm_ks22StringMapConstIteratorIjE23AdvancePastEmptyBucketsEv:
  440|  16.9k|  void AdvancePastEmptyBuckets() {
  441|  16.9k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 16.9k]
  |  Branch (441:31): [True: 0, False: 16.9k]
  ------------------
  442|      0|      ++Ptr;
  443|  16.9k|  }
_ZN7llvm_ks14StringMapEntryIjE6CreateINS_15MallocAllocatorEjEEPS1_NS_9StringRefERT_OT0_:
  149|  8.95k|                                InitType &&InitVal) {
  150|  8.95k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|  8.95k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  8.95k|      KeyLength+1;
  156|  8.95k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  8.95k|    StringMapEntry *NewItem =
  159|  8.95k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  8.95k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  8.95k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  8.95k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 8.95k, False: 0]
  ------------------
  167|  8.95k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  8.95k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  8.95k|    return NewItem;
  170|  8.95k|  }
_ZN7llvm_ks14StringMapEntryIjEC2IjEEjOT_:
  127|  8.95k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIjE10getKeyDataEv:
  141|  8.95k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIjEptEv:
  457|  16.9k|  StringMapEntry<ValueTy> *operator->() const {
  458|  16.9k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  16.9k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6lookupENS_9StringRefE:
  291|  2.21k|  ValueTy lookup(StringRef Key) const {
  292|  2.21k|    const_iterator it = find(Key);
  293|  2.21k|    if (it != end())
  ------------------
  |  Branch (293:9): [True: 807, False: 1.40k]
  ------------------
  294|    807|      return it->second;
  295|  1.40k|    return ValueTy();
  296|  2.21k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE4findENS_9StringRefE:
  283|  2.21k|  const_iterator find(StringRef Key) const {
  284|  2.21k|    int Bucket = FindKey(Key);
  285|  2.21k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (285:9): [True: 1.40k, False: 807]
  ------------------
  286|    807|    return const_iterator(TheTable+Bucket, true);
  287|  2.21k|  }
_ZNK7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEneERKS3_:
  426|  2.21k|  bool operator!=(const StringMapConstIterator &RHS) const {
  427|  2.21k|    return Ptr != RHS.Ptr;
  428|  2.21k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE3endEv:
  273|  3.61k|  const_iterator end() const {
  274|  3.61k|    return const_iterator(TheTable+NumBuckets, true);
  275|  3.61k|  }
_ZNK7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEptEv:
  419|    807|  const value_type *operator->() const {
  420|    807|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|    807|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEEixENS_9StringRefE:
  298|    883|  ValueTy &operator[](StringRef Key) {
  299|    883|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|    883|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|    883|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|    883|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|    883|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|    883|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 851, False: 32]
  |  Branch (333:19): [True: 851, False: 0]
  ------------------
  334|    851|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|    851|                            false); // Already exists in map.
  336|       |
  337|     32|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 32]
  ------------------
  338|      0|      --NumTombstones;
  339|     32|    Bucket =
  340|     32|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|     32|    ++NumItems;
  342|     32|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 32, False: 0]
  ------------------
  343|       |
  344|     32|    BucketNo = RehashTable(BucketNo);
  345|     32|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|     32|  }
_ZN7llvm_ks17StringMapIteratorIPNS_14MCSectionMachOEEC2EPPNS_18StringMapEntryBaseEb:
  452|    883|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|    883|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_14MCSectionMachOEEC2EPPNS_18StringMapEntryBaseEb:
  412|    883|  : Ptr(Bucket) {
  413|    883|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 883, False: 0]
  ------------------
  414|    883|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_14MCSectionMachOEE23AdvancePastEmptyBucketsEv:
  440|    883|  void AdvancePastEmptyBuckets() {
  441|    883|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 883]
  |  Branch (441:31): [True: 0, False: 883]
  ------------------
  442|      0|      ++Ptr;
  443|    883|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE6CreateINS_15MallocAllocatorES2_EEPS3_NS_9StringRefERT_OT0_:
  149|     32|                                InitType &&InitVal) {
  150|     32|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|     32|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|     32|      KeyLength+1;
  156|     32|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|     32|    StringMapEntry *NewItem =
  159|     32|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|     32|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|     32|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|     32|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 32, False: 0]
  ------------------
  167|     32|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|     32|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|     32|    return NewItem;
  170|     32|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEEC2IS2_EEjOT_:
  127|     32|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE10getKeyDataEv:
  141|     32|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIPNS_14MCSectionMachOEEptEv:
  457|    883|  StringMapEntry<ValueTy> *operator->() const {
  458|    883|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|    883|  }
_ZN7llvm_ks17StringMapIteratorIbEC2Ev:
  449|      5|  StringMapIterator() {}
_ZN7llvm_ks22StringMapConstIteratorIbEC2Ev:
  408|      5|  StringMapConstIterator() : Ptr(nullptr) { }
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefEbEE:
  330|      5|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|      5|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|      5|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|      5|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 5]
  |  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|      5|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 5]
  ------------------
  338|      0|      --NumTombstones;
  339|      5|    Bucket =
  340|      5|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|      5|    ++NumItems;
  342|      5|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 5, False: 0]
  ------------------
  343|       |
  344|      5|    BucketNo = RehashTable(BucketNo);
  345|      5|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|      5|  }
_ZN7llvm_ks14StringMapEntryIbE6CreateINS_15MallocAllocatorEbEEPS1_NS_9StringRefERT_OT0_:
  149|      5|                                InitType &&InitVal) {
  150|      5|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|      5|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|      5|      KeyLength+1;
  156|      5|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|      5|    StringMapEntry *NewItem =
  159|      5|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|      5|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|      5|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|      5|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 5, False: 0]
  ------------------
  167|      5|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|      5|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|      5|    return NewItem;
  170|      5|  }
_ZNK7llvm_ks17StringMapIteratorIbEptEv:
  457|      5|  StringMapEntry<ValueTy> *operator->() const {
  458|      5|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|      5|  }
_ZNK7llvm_ks14StringMapEntryIbE6getKeyEv:
  129|      5|  StringRef getKey() const {
  130|      5|    return StringRef(getKeyData(), getKeyLength());
  131|      5|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEEC2Ev:
  224|    692|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEEC2Ev:
  224|    692|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEEC2Ev:
  224|    692|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEED2Ev:
  385|    692|  ~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|    692|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 692, False: 0]
  ------------------
  390|   177k|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 177k, False: 692]
  ------------------
  391|   177k|        StringMapEntryBase *Bucket = TheTable[I];
  392|   177k|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 84.4k, False: 92.7k]
  |  Branch (392:23): [True: 84.4k, False: 0]
  ------------------
  393|  84.4k|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|  84.4k|        }
  395|   177k|      }
  396|    692|    }
  397|    692|    free(TheTable);
  398|    692|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|  84.4k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  84.4k|    unsigned AllocSize =
  201|  84.4k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  84.4k|    this->~StringMapEntry();
  203|  84.4k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  84.4k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEED2Ev:
  385|    692|  ~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|    692|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 62, False: 630]
  ------------------
  390|  1.05k|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 992, False: 62]
  ------------------
  391|    992|        StringMapEntryBase *Bucket = TheTable[I];
  392|    992|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 75, False: 917]
  |  Branch (392:23): [True: 75, False: 0]
  ------------------
  393|     75|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|     75|        }
  395|    992|      }
  396|     62|    }
  397|    692|    free(TheTable);
  398|    692|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|     75|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|     75|    unsigned AllocSize =
  201|     75|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|     75|    this->~StringMapEntry();
  203|     75|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|     75|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEED2Ev:
  385|    692|  ~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|    692|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 692, False: 0]
  ------------------
  390|  89.2k|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 88.5k, False: 692]
  ------------------
  391|  88.5k|        StringMapEntryBase *Bucket = TheTable[I];
  392|  88.5k|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 45.6k, False: 42.9k]
  |  Branch (392:23): [True: 45.6k, False: 0]
  ------------------
  393|  45.6k|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|  45.6k|        }
  395|  88.5k|      }
  396|    692|    }
  397|    692|    free(TheTable);
  398|    692|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|  45.6k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  45.6k|    unsigned AllocSize =
  201|  45.6k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  45.6k|    this->~StringMapEntry();
  203|  45.6k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  45.6k|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEEixES5_:
  298|  45.6k|  ValueTy &operator[](StringRef Key) {
  299|  45.6k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  45.6k|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE6insertENS2_IS5_S9_EE:
  330|  45.6k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  45.6k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  45.6k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  45.6k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 45.6k]
  |  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|  45.6k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 45.6k]
  ------------------
  338|      0|      --NumTombstones;
  339|  45.6k|    Bucket =
  340|  45.6k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  45.6k|    ++NumItems;
  342|  45.6k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 45.6k, False: 0]
  ------------------
  343|       |
  344|  45.6k|    BucketNo = RehashTable(BucketNo);
  345|  45.6k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  45.6k|  }
_ZN7llvm_ks17StringMapIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2EPPNS_18StringMapEntryBaseEb:
  452|  45.6k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  45.6k|  }
_ZN7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2EPPNS_18StringMapEntryBaseEb:
  412|   115k|  : Ptr(Bucket) {
  413|   115k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 45.6k, False: 69.5k]
  ------------------
  414|   115k|  }
_ZN7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE23AdvancePastEmptyBucketsEv:
  440|  45.6k|  void AdvancePastEmptyBuckets() {
  441|  45.6k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 45.6k]
  |  Branch (441:31): [True: 0, False: 45.6k]
  ------------------
  442|      0|      ++Ptr;
  443|  45.6k|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE6CreateINS_15MallocAllocatorES9_EEPSA_S5_RT_OT0_:
  149|  45.6k|                                InitType &&InitVal) {
  150|  45.6k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|  45.6k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  45.6k|      KeyLength+1;
  156|  45.6k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  45.6k|    StringMapEntry *NewItem =
  159|  45.6k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  45.6k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  45.6k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  45.6k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 45.6k, False: 0]
  ------------------
  167|  45.6k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  45.6k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  45.6k|    return NewItem;
  170|  45.6k|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2IS9_EEjOT_:
  127|  45.6k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE10getKeyDataEv:
  141|  45.6k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEptEv:
  457|  45.6k|  StringMapEntry<ValueTy> *operator->() const {
  458|  45.6k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  45.6k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEEixENS_9StringRefE:
  298|  84.4k|  ValueTy &operator[](StringRef Key) {
  299|  84.4k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  84.4k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES3_EE:
  330|  84.4k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  84.4k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  84.4k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  84.4k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 84.4k]
  |  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|  84.4k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 84.4k]
  ------------------
  338|      0|      --NumTombstones;
  339|  84.4k|    Bucket =
  340|  84.4k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  84.4k|    ++NumItems;
  342|  84.4k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 84.4k, False: 0]
  ------------------
  343|       |
  344|  84.4k|    BucketNo = RehashTable(BucketNo);
  345|  84.4k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  84.4k|  }
AsmParser.cpp:_ZN7llvm_ks17StringMapIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2EPPNS_18StringMapEntryBaseEb:
  452|   192k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   192k|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2EPPNS_18StringMapEntryBaseEb:
  412|   192k|  : Ptr(Bucket) {
  413|   192k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 84.4k, False: 108k]
  ------------------
  414|   192k|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEE23AdvancePastEmptyBucketsEv:
  440|  84.4k|  void AdvancePastEmptyBuckets() {
  441|  84.4k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 84.4k]
  |  Branch (441:31): [True: 0, False: 84.4k]
  ------------------
  442|      0|      ++Ptr;
  443|  84.4k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE6CreateINS_15MallocAllocatorES3_EEPS4_NS_9StringRefERT_OT0_:
  149|  84.4k|                                InitType &&InitVal) {
  150|  84.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|  84.4k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  84.4k|      KeyLength+1;
  156|  84.4k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  84.4k|    StringMapEntry *NewItem =
  159|  84.4k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  84.4k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  84.4k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  84.4k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 84.4k, False: 0]
  ------------------
  167|  84.4k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  84.4k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  84.4k|    return NewItem;
  170|  84.4k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2IS3_EEjOT_:
  127|  84.4k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE10getKeyDataEv:
  141|  84.4k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AsmParser.cpp:_ZNK7llvm_ks17StringMapIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEptEv:
  457|  84.4k|  StringMapEntry<ValueTy> *operator->() const {
  458|  84.4k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  84.4k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE4findENS_9StringRefE:
  277|  54.0k|  iterator find(StringRef Key) {
  278|  54.0k|    int Bucket = FindKey(Key);
  279|  54.0k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (279:9): [True: 23.0k, False: 31.0k]
  ------------------
  280|  31.0k|    return iterator(TheTable+Bucket, true);
  281|  54.0k|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEeqERKS4_:
  423|  54.0k|  bool operator==(const StringMapConstIterator &RHS) const {
  424|  54.0k|    return Ptr == RHS.Ptr;
  425|  54.0k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE3endEv:
  267|  77.1k|  iterator end() {
  268|  77.1k|    return iterator(TheTable+NumBuckets, true);
  269|  77.1k|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEptEv:
  419|  31.0k|  const value_type *operator->() const {
  420|  31.0k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|  31.0k|  }
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE8getValueEv:
  133|  31.0k|  const ValueTy &getValue() const { return second; }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE4findENS_9StringRefE:
  277|  43.4k|  iterator find(StringRef Key) {
  278|  43.4k|    int Bucket = FindKey(Key);
  279|  43.4k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (279:9): [True: 37.7k, False: 5.65k]
  ------------------
  280|  5.65k|    return iterator(TheTable+Bucket, true);
  281|  43.4k|  }
AsmParser.cpp:_ZN7llvm_ks17StringMapIteratorIN12_GLOBAL__N_110MCAsmMacroEEC2EPPNS_18StringMapEntryBaseEb:
  452|  86.9k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  86.9k|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEEC2EPPNS_18StringMapEntryBaseEb:
  412|  86.9k|  : Ptr(Bucket) {
  413|  86.9k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 75, False: 86.8k]
  ------------------
  414|  86.9k|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEE23AdvancePastEmptyBucketsEv:
  440|     75|  void AdvancePastEmptyBuckets() {
  441|     75|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 75]
  |  Branch (441:31): [True: 0, False: 75]
  ------------------
  442|      0|      ++Ptr;
  443|     75|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEEeqERKS3_:
  423|  43.4k|  bool operator==(const StringMapConstIterator &RHS) const {
  424|  43.4k|    return Ptr == RHS.Ptr;
  425|  43.4k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE3endEv:
  267|  81.2k|  iterator end() {
  268|  81.2k|    return iterator(TheTable+NumBuckets, true);
  269|  81.2k|  }
AsmParser.cpp:_ZNK7llvm_ks17StringMapIteratorIN12_GLOBAL__N_110MCAsmMacroEEptEv:
  457|  5.65k|  StringMapEntry<ValueTy> *operator->() const {
  458|  5.65k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  5.65k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE8getValueEv:
  134|  5.65k|  ValueTy &getValue() { return second; }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE6lookupES5_:
  291|  34.7k|  ValueTy lookup(StringRef Key) const {
  292|  34.7k|    const_iterator it = find(Key);
  293|  34.7k|    if (it != end())
  ------------------
  |  Branch (293:9): [True: 1.99k, False: 32.8k]
  ------------------
  294|  1.99k|      return it->second;
  295|  32.8k|    return ValueTy();
  296|  34.7k|  }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE4findES5_:
  283|  34.7k|  const_iterator find(StringRef Key) const {
  284|  34.7k|    int Bucket = FindKey(Key);
  285|  34.7k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (285:9): [True: 32.8k, False: 1.99k]
  ------------------
  286|  1.99k|    return const_iterator(TheTable+Bucket, true);
  287|  34.7k|  }
_ZNK7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEneERKSA_:
  426|  34.7k|  bool operator!=(const StringMapConstIterator &RHS) const {
  427|  34.7k|    return Ptr != RHS.Ptr;
  428|  34.7k|  }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE3endEv:
  273|  67.6k|  const_iterator end() const {
  274|  67.6k|    return const_iterator(TheTable+NumBuckets, true);
  275|  67.6k|  }
_ZNK7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEptEv:
  419|  1.99k|  const value_type *operator->() const {
  420|  1.99k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|  1.99k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|     75|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|     75|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|     75|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|     75|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 75]
  |  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|     75|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 75]
  ------------------
  338|      0|      --NumTombstones;
  339|     75|    Bucket =
  340|     75|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|     75|    ++NumItems;
  342|     75|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 75, False: 0]
  ------------------
  343|       |
  344|     75|    BucketNo = RehashTable(BucketNo);
  345|     75|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|     75|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE6CreateINS_15MallocAllocatorES2_EEPS3_NS_9StringRefERT_OT0_:
  149|     75|                                InitType &&InitVal) {
  150|     75|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|     75|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|     75|      KeyLength+1;
  156|     75|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|     75|    StringMapEntry *NewItem =
  159|     75|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|     75|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|     75|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|     75|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 68, False: 7]
  ------------------
  167|     68|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|     75|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|     75|    return NewItem;
  170|     75|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEEC2IS2_EEjOT_:
  127|     75|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE10getKeyDataEv:
  141|     75|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE5clearEv:
  349|    692|  void clear() {
  350|    692|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 692, 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|   119k|      : Data(Str.data()), Length(Str.length()) {}
_ZN7llvm_ks9StringRefC2EPKc:
   72|   827k|      : Data(Str) {
   73|       |        //assert(Str && "StringRef cannot be built from a NULL argument");
   74|   827k|        if (!Str)
  ------------------
  |  Branch (74:13): [True: 0, False: 827k]
  ------------------
   75|      0|            Length = 0;
   76|   827k|        else 
   77|   827k|            Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior
   78|   827k|      }
_ZN7llvm_ks9StringRef13compareMemoryEPKcS2_m:
   58|   383k|    static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) {
   59|   383k|      if (Length == 0) { return 0; }
  ------------------
  |  Branch (59:11): [True: 915, False: 382k]
  ------------------
   60|   382k|      return ::memcmp(Lhs,Rhs,Length);
   61|   383k|    }
_ZN7llvm_ks9StringRefC2Ev:
   68|   180k|    /*implicit*/ StringRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks9StringRefC2EPKcm:
   83|  4.76M|      : Data(data), Length(length) {
   84|       |        assert((data || length == 0) &&
  ------------------
  |  Branch (84:9): [True: 4.76M, False: 0]
  |  Branch (84:9): [True: 0, False: 0]
  |  Branch (84:9): [True: 4.76M, Folded]
  |  Branch (84:9): [True: 4.76M, False: 0]
  ------------------
   85|  4.76M|        "StringRef cannot be built from a NULL argument with non-null length");
   86|  4.76M|      }
_ZNK7llvm_ks9StringRef5beginEv:
   97|  3.55M|    iterator begin() const { return Data; }
_ZNK7llvm_ks9StringRef3endEv:
   99|  3.67M|    iterator end() const { return Data + Length; }
_ZNK7llvm_ks9StringRef4dataEv:
  115|   590k|    const char *data() const { return Data; }
_ZNK7llvm_ks9StringRef5emptyEv:
  119|   734k|    bool empty() const { return Length == 0; }
_ZNK7llvm_ks9StringRef4sizeEv:
  123|  1.46M|    size_t size() const { return Length; }
_ZNK7llvm_ks9StringRef5frontEv:
  126|  94.4k|    char front() const {
  127|  94.4k|      assert(!empty());
  ------------------
  |  Branch (127:7): [True: 94.4k, False: 0]
  ------------------
  128|  94.4k|      return Data[0];
  129|  94.4k|    }
_ZNK7llvm_ks9StringRef6equalsES0_:
  147|   408k|    bool equals(StringRef RHS) const {
  148|   408k|      return (Length == RHS.Length &&
  ------------------
  |  Branch (148:15): [True: 152k, False: 255k]
  ------------------
  149|   152k|              compareMemory(Data, RHS.Data, RHS.Length) == 0);
  ------------------
  |  Branch (149:15): [True: 70.5k, False: 82.0k]
  ------------------
  150|   408k|    }
_ZNK7llvm_ks9StringRef12equals_lowerES0_:
  153|    563|    bool equals_lower(StringRef RHS) const {
  154|    563|      return Length == RHS.Length && compare_lower(RHS) == 0;
  ------------------
  |  Branch (154:14): [True: 563, False: 0]
  |  Branch (154:38): [True: 97, False: 466]
  ------------------
  155|    563|    }
_ZNK7llvm_ks9StringRef7compareES0_:
  160|  63.3k|    int compare(StringRef RHS) const {
  161|       |      // Check the prefix for a mismatch.
  162|  63.3k|      if (int Res = compareMemory(Data, RHS.Data, std::min(Length, RHS.Length)))
  ------------------
  |  Branch (162:15): [True: 47.7k, False: 15.5k]
  ------------------
  163|  47.7k|        return Res < 0 ? -1 : 1;
  ------------------
  |  Branch (163:16): [True: 24.7k, False: 23.0k]
  ------------------
  164|       |
  165|       |      // Otherwise the prefixes match, so we only need to check the lengths.
  166|  15.5k|      if (Length == RHS.Length)
  ------------------
  |  Branch (166:11): [True: 6.29k, False: 9.29k]
  ------------------
  167|  6.29k|        return 0;
  168|  9.29k|      return Length < RHS.Length ? -1 : 1;
  ------------------
  |  Branch (168:14): [True: 5.23k, False: 4.05k]
  ------------------
  169|  15.5k|    }
_ZNK7llvm_ks9StringRef3strEv:
  200|  51.9k|    std::string str() const {
  201|  51.9k|      if (!Data) return std::string();
  ------------------
  |  Branch (201:11): [True: 0, False: 51.9k]
  ------------------
  202|  51.9k|      return std::string(Data, Length);
  203|  51.9k|    }
_ZNK7llvm_ks9StringRefixEm:
  209|  4.52M|    char operator[](size_t Index) const {
  210|  4.52M|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (210:7): [True: 4.52M, False: 0]
  |  Branch (210:7): [True: 4.52M, Folded]
  |  Branch (210:7): [True: 4.52M, False: 0]
  ------------------
  211|  4.52M|      return Data[Index];
  212|  4.52M|    }
_ZNK7llvm_ks9StringRefcvNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEv:
  218|  45.6k|    operator std::string() const {
  219|  45.6k|      return str();
  220|  45.6k|    }
_ZNK7llvm_ks9StringRef10startswithES0_:
  228|  56.0k|    bool startswith(StringRef Prefix) const {
  229|  56.0k|      return Length >= Prefix.Length &&
  ------------------
  |  Branch (229:14): [True: 55.7k, False: 262]
  ------------------
  230|  55.7k|             compareMemory(Data, Prefix.Data, Prefix.Length) == 0;
  ------------------
  |  Branch (230:14): [True: 2.82k, False: 52.9k]
  ------------------
  231|  56.0k|    }
_ZNK7llvm_ks9StringRef8endswithES0_:
  238|   193k|    bool endswith(StringRef Suffix) const {
  239|   193k|      return Length >= Suffix.Length &&
  ------------------
  |  Branch (239:14): [True: 112k, False: 80.9k]
  ------------------
  240|   112k|        compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0;
  ------------------
  |  Branch (240:9): [True: 0, False: 112k]
  ------------------
  241|   193k|    }
_ZNK7llvm_ks9StringRef4findEcm:
  255|  30.2k|    size_t find(char C, size_t From = 0) const {
  256|  30.2k|      size_t FindBegin = std::min(From, Length);
  257|  30.2k|      if (FindBegin < Length) { // Avoid calling memchr with nullptr.
  ------------------
  |  Branch (257:11): [True: 29.4k, False: 798]
  ------------------
  258|       |        // Just forward to memchr, which is faster than a hand-rolled loop.
  259|  29.4k|        if (const void *P = ::memchr(Data + FindBegin, C, Length - FindBegin))
  ------------------
  |  Branch (259:25): [True: 11.8k, False: 17.5k]
  ------------------
  260|  11.8k|          return static_cast<const char *>(P) - Data;
  261|  29.4k|      }
  262|  18.3k|      return npos;
  263|  30.2k|    }
_ZNK7llvm_ks9StringRef6substrEmm:
  421|   246k|    StringRef substr(size_t Start, size_t N = npos) const {
  422|   246k|      Start = std::min(Start, Length);
  423|   246k|      return StringRef(Data + Start, std::min(N, Length - Start));
  424|   246k|    }
_ZNK7llvm_ks9StringRef10drop_frontEm:
  429|  1.05k|    StringRef drop_front(size_t N = 1) const {
  430|  1.05k|      assert(size() >= N && "Dropping more elements than exist");
  ------------------
  |  Branch (430:7): [True: 1.05k, False: 0]
  |  Branch (430:7): [True: 1.05k, Folded]
  |  Branch (430:7): [True: 1.05k, False: 0]
  ------------------
  431|  1.05k|      return substr(N);
  432|  1.05k|    }
_ZNK7llvm_ks9StringRef9drop_backEm:
  437|  1.05k|    StringRef drop_back(size_t N = 1) const {
  438|  1.05k|      assert(size() >= N && "Dropping more elements than exist");
  ------------------
  |  Branch (438:7): [True: 1.05k, False: 0]
  |  Branch (438:7): [True: 1.05k, Folded]
  |  Branch (438:7): [True: 1.05k, False: 0]
  ------------------
  439|  1.05k|      return substr(0, size()-N);
  440|  1.05k|    }
_ZNK7llvm_ks9StringRef5sliceEmm:
  453|  43.4k|    StringRef slice(size_t Start, size_t End) const {
  454|  43.4k|      Start = std::min(Start, Length);
  455|  43.4k|      End = std::min(std::max(Start, End), Length);
  456|  43.4k|      return StringRef(Data + Start, End - Start);
  457|  43.4k|    }
_ZNK7llvm_ks9StringRef5splitEc:
  469|  13.1k|    std::pair<StringRef, StringRef> split(char Separator) const {
  470|  13.1k|      size_t Idx = find(Separator);
  471|  13.1k|      if (Idx == npos)
  ------------------
  |  Branch (471:11): [True: 10.6k, False: 2.54k]
  ------------------
  472|  10.6k|        return std::make_pair(*this, StringRef());
  473|  2.54k|      return std::make_pair(slice(0, Idx), slice(Idx+1, npos));
  474|  13.1k|    }
_ZNK7llvm_ks9StringRef5ltrimES0_:
  547|  1.05k|    StringRef ltrim(StringRef Chars = " \t\n\v\f\r") const {
  548|  1.05k|      return drop_front(std::min(Length, find_first_not_of(Chars)));
  549|  1.05k|    }
_ZNK7llvm_ks9StringRef5rtrimES0_:
  553|  1.05k|    StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const {
  554|  1.05k|      return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
  555|  1.05k|    }
_ZNK7llvm_ks9StringRef4trimES0_:
  559|  1.05k|    StringRef trim(StringRef Chars = " \t\n\v\f\r") const {
  560|  1.05k|      return ltrim(Chars).rtrim(Chars);
  561|  1.05k|    }
_ZN7llvm_kseqENS_9StringRefES0_:
  579|   353k|  inline bool operator==(StringRef LHS, StringRef RHS) {
  580|   353k|    return LHS.equals(RHS);
  581|   353k|  }
_ZN7llvm_ksneENS_9StringRefES0_:
  584|  36.5k|  inline bool operator!=(StringRef LHS, StringRef RHS) {
  585|  36.5k|    return !(LHS == RHS);
  586|  36.5k|  }
_ZN7llvm_ksltENS_9StringRefES0_:
  588|  63.3k|  inline bool operator<(StringRef LHS, StringRef RHS) {
  589|  63.3k|    return LHS.compare(RHS) == -1;
  590|  63.3k|  }
_ZN7llvm_kspLERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS_9StringRefE:
  604|    697|  inline std::string &operator+=(std::string &buffer, StringRef string) {
  605|    697|    return buffer.append(string.data(), string.size());
  606|    697|  }
_ZNK7llvm_ks9StringRef12getAsIntegerIlEENSt3__19enable_ifIXsr3std14numeric_limitsIT_EE9is_signedEbE4typeEjRS4_:
  362|     97|    getAsInteger(unsigned Radix, T &Result) const {
  363|     97|      long long LLVal;
  364|     97|      if (getAsSignedInteger(*this, Radix, LLVal) ||
  ------------------
  |  Branch (364:11): [True: 37, False: 60]
  ------------------
  365|     60|            static_cast<T>(LLVal) != LLVal)
  ------------------
  |  Branch (365:13): [True: 0, False: 60]
  ------------------
  366|     37|        return true;
  367|     60|      Result = LLVal;
  368|     60|      return false;
  369|     97|    }

_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_EC2ENS_9StringRefE:
   54|  2.44k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|  9.79k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  9.79k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 8.61k, False: 1.18k]
  |  Branch (59:20): [True: 4, False: 8.60k]
  ------------------
   60|      4|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 4]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  9.79k|    return *this;
   65|  9.79k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|  29.3k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  29.3k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 21.1k, False: 8.21k]
  |  Branch (59:20): [True: 1.20k, False: 19.9k]
  ------------------
   60|  1.20k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 133, False: 1.07k]
  ------------------
   61|    133|      Result = &Value;
   62|    133|    }
   63|       |
   64|  29.3k|    return *this;
   65|  29.3k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj9EEERS3_RAT__KcRKS2_:
   58|  22.0k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  22.0k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 16.8k, False: 5.23k]
  |  Branch (59:20): [True: 228, False: 16.5k]
  ------------------
   60|    228|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 56, False: 172]
  ------------------
   61|     56|      Result = &Value;
   62|     56|    }
   63|       |
   64|  22.0k|    return *this;
   65|  22.0k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj10EEERS3_RAT__KcRKS2_:
   58|  14.6k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  14.6k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 9.86k, False: 4.83k]
  |  Branch (59:20): [True: 816, False: 9.04k]
  ------------------
   60|    816|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 256, False: 560]
  ------------------
   61|    256|      Result = &Value;
   62|    256|    }
   63|       |
   64|  14.6k|    return *this;
   65|  14.6k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|  39.1k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  39.1k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 20.4k, False: 18.7k]
  |  Branch (59:20): [True: 4.50k, False: 15.9k]
  ------------------
   60|  4.50k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 471, False: 4.03k]
  ------------------
   61|    471|      Result = &Value;
   62|    471|    }
   63|       |
   64|  39.1k|    return *this;
   65|  39.1k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|  9.79k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  9.79k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 6.81k, False: 2.98k]
  |  Branch (59:20): [True: 8, False: 6.80k]
  ------------------
   60|      8|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 8]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  9.79k|    return *this;
   65|  9.79k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj12EEERS3_RAT__KcRKS2_:
   58|  17.1k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  17.1k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 8.53k, False: 8.60k]
  |  Branch (59:20): [True: 187, False: 8.35k]
  ------------------
   60|    187|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 46, False: 141]
  ------------------
   61|     46|      Result = &Value;
   62|     46|    }
   63|       |
   64|  17.1k|    return *this;
   65|  17.1k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj8EEERS3_RAT__KcRKS2_:
   58|  26.9k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  26.9k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 14.4k, False: 12.5k]
  |  Branch (59:20): [True: 1.53k, False: 12.8k]
  ------------------
   60|  1.53k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 170, False: 1.36k]
  ------------------
   61|    170|      Result = &Value;
   62|    170|    }
   63|       |
   64|  26.9k|    return *this;
   65|  26.9k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj11EEERS3_RAT__KcRKS2_:
   58|  4.89k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  4.89k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 3.81k, False: 1.08k]
  |  Branch (59:20): [True: 666, False: 3.14k]
  ------------------
   60|    666|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 332, False: 334]
  ------------------
   61|    332|      Result = &Value;
   62|    332|    }
   63|       |
   64|  4.89k|    return *this;
   65|  4.89k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj2EEERS3_RAT__KcRKS2_:
   58|  4.89k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  4.89k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 4.23k, False: 662]
  |  Branch (59:20): [True: 284, False: 3.95k]
  ------------------
   60|    284|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 217, False: 67]
  ------------------
   61|    217|      Result = &Value;
   62|    217|    }
   63|       |
   64|  4.89k|    return *this;
   65|  4.89k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj3EEERS3_RAT__KcRKS2_:
   58|  4.89k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  4.89k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 2.20k, False: 2.69k]
  |  Branch (59:20): [True: 21, False: 2.18k]
  ------------------
   60|     21|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 17, False: 4]
  ------------------
   61|     17|      Result = &Value;
   62|     17|    }
   63|       |
   64|  4.89k|    return *this;
   65|  4.89k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj13EEERS3_RAT__KcRKS2_:
   58|  14.6k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  14.6k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 7.47k, False: 7.21k]
  |  Branch (59:20): [True: 2.58k, False: 4.89k]
  ------------------
   60|  2.58k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 596, False: 1.98k]
  ------------------
   61|    596|      Result = &Value;
   62|    596|    }
   63|       |
   64|  14.6k|    return *this;
   65|  14.6k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj14EEERS3_RAT__KcRKS2_:
   58|  9.79k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  9.79k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 6.28k, False: 3.51k]
  |  Branch (59:20): [True: 128, False: 6.15k]
  ------------------
   60|    128|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 32, False: 96]
  ------------------
   61|     32|      Result = &Value;
   62|     32|    }
   63|       |
   64|  9.79k|    return *this;
   65|  9.79k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj15EEERS3_RAT__KcRKS2_:
   58|  7.34k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  7.34k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 5.30k, False: 2.04k]
  |  Branch (59:20): [True: 18, False: 5.28k]
  ------------------
   60|     18|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 9, False: 9]
  ------------------
   61|      9|      Result = &Value;
   62|      9|    }
   63|       |
   64|  7.34k|    return *this;
   65|  7.34k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj16EEERS3_RAT__KcRKS2_:
   58|  2.44k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  2.44k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.75k, False: 696]
  |  Branch (59:20): [True: 57, False: 1.69k]
  ------------------
   60|     57|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 56, False: 1]
  ------------------
   61|     56|      Result = &Value;
   62|     56|    }
   63|       |
   64|  2.44k|    return *this;
   65|  2.44k|  }
_ZNK7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E7DefaultERKS2_:
  150|  2.44k|  R Default(const T& Value) const {
  151|  2.44k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 2.39k, False: 58]
  ------------------
  152|  2.39k|      return *Result;
  153|       |
  154|     58|    return Value;
  155|  2.44k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_EC2ES1_:
   54|  6.26k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj14EEERS2_RAT__KcRKS1_:
   58|     70|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|     70|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 69, False: 1]
  |  Branch (59:20): [True: 0, False: 69]
  ------------------
   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|     70|    return *this;
   65|     70|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj13EEERS2_RAT__KcRKS1_:
   58|     35|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|     35|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 35, False: 0]
  |  Branch (59:20): [True: 3, False: 32]
  ------------------
   60|      3|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1, False: 2]
  ------------------
   61|      1|      Result = &Value;
   62|      1|    }
   63|       |
   64|     35|    return *this;
   65|     35|  }
_ZNK7llvm_ks12StringSwitchINS_9StringRefES1_E7DefaultERKS1_:
  150|  6.26k|  R Default(const T& Value) const {
  151|  6.26k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 1, False: 6.26k]
  ------------------
  152|      1|      return *Result;
  153|       |
  154|  6.26k|    return Value;
  155|  6.26k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj5ELj5ELj5EEERS3_RAT__KcRAT0__S6_RAT1__S6_RAT2__S6_RKS2_:
  120|  6.92k|                      const T& Value) {
  121|  6.92k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 6.92k, False: 0]
  ------------------
  122|  6.92k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 0, False: 6.92k]
  |  Branch (122:32): [True: 0, False: 0]
  ------------------
  123|  6.92k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 6.92k]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|  6.92k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 0, False: 6.92k]
  |  Branch (124:32): [True: 0, False: 0]
  ------------------
  125|  6.92k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 6.92k]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|      0|      Result = &Value;
  127|      0|    }
  128|       |
  129|  6.92k|    return *this;
  130|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj5ELj5EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|  6.92k|                      const char (&S2)[N2], const T& Value) {
  106|  6.92k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 6.92k, False: 0]
  ------------------
  107|  6.92k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 6.92k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|  6.92k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 6.92k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|  6.92k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 6.92k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|  6.92k|    return *this;
  114|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj6ELj7ELj8EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|  6.92k|                      const char (&S2)[N2], const T& Value) {
  106|  6.92k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 6.92k, False: 0]
  ------------------
  107|  6.92k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 6.92k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|  6.92k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 6.92k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|  6.92k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 6.92k, False: 0]
  |  Branch (109:32): [True: 0, False: 6.92k]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|  6.92k|    return *this;
  114|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj8ELj6EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|  6.92k|                      const T& Value) {
   93|  6.92k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 6.92k, False: 0]
  ------------------
   94|  6.92k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 6.92k, False: 0]
  |  Branch (94:32): [True: 0, False: 6.92k]
  ------------------
   95|  6.92k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 6.92k]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|  6.92k|    return *this;
  100|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj10ELj4ELj6EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|  6.92k|                      const char (&S2)[N2], const T& Value) {
  106|  6.92k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 6.92k, False: 0]
  ------------------
  107|  6.92k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 6.92k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|  6.92k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 6.92k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|  6.92k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 6.92k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|  6.92k|    return *this;
  114|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj12ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|  6.92k|                      const T& Value) {
   93|  6.92k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 6.92k, False: 0]
  ------------------
   94|  6.92k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 6.92k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|  6.92k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 6.92k, False: 0]
  |  Branch (95:32): [True: 0, False: 6.92k]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|  6.92k|    return *this;
  100|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj7ELj13EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|  6.92k|                      const char (&S2)[N2], const T& Value) {
  106|  6.92k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 6.92k, False: 0]
  ------------------
  107|  6.92k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 6.92k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|  6.92k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 6.92k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|  6.92k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 6.92k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|  6.92k|    return *this;
  114|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj7ELj15EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|  6.92k|                      const T& Value) {
   93|  6.92k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 6.92k, False: 0]
  ------------------
   94|  6.92k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 6.92k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|  6.92k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 6.92k]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|  6.92k|    return *this;
  100|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj7ELj9EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|  6.92k|                      const T& Value) {
   93|  6.92k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 6.92k, False: 0]
  ------------------
   94|  6.92k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 6.92k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|  6.92k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 6.92k]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|  6.92k|    return *this;
  100|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj6ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|  6.92k|                      const T& Value) {
   93|  6.92k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 6.92k, False: 0]
  ------------------
   94|  6.92k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 6.92k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|  6.92k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 6.92k, False: 0]
  |  Branch (95:32): [True: 0, False: 6.92k]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|  6.92k|    return *this;
  100|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj8ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|  6.92k|                      const T& Value) {
   93|  6.92k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 6.92k, False: 0]
  ------------------
   94|  6.92k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 6.92k, False: 0]
  |  Branch (94:32): [True: 0, False: 6.92k]
  ------------------
   95|  6.92k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 6.92k, False: 0]
  |  Branch (95:32): [True: 6.92k, False: 0]
  ------------------
   96|  6.92k|      Result = &Value;
   97|  6.92k|    }
   98|       |
   99|  6.92k|    return *this;
  100|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E10StartsWithILj8EEERS3_RAT__KcRKS2_:
   80|  6.92k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|  6.92k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 0, False: 6.92k]
  |  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|  6.92k|    return *this;
   87|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_EC2ENS_9StringRefE:
   54|  6.92k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj8EEERS3_RAT__KcRKS2_:
   58|  62.2k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  62.2k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 41.5k, False: 20.7k]
  |  Branch (59:20): [True: 41.5k, False: 0]
  ------------------
   60|  41.5k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 41.5k]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  62.2k|    return *this;
   65|  62.2k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj11EEERS3_RAT__KcRKS2_:
   58|  6.92k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  6.92k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 6.92k, False: 0]
  |  Branch (59:20): [True: 0, False: 6.92k]
  ------------------
   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|  6.92k|    return *this;
   65|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|  62.2k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  62.2k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 27.6k, False: 34.6k]
  |  Branch (59:20): [True: 0, False: 27.6k]
  ------------------
   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|  62.2k|    return *this;
   65|  62.2k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|  20.7k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  20.7k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 13.8k, False: 6.92k]
  |  Branch (59:20): [True: 0, False: 13.8k]
  ------------------
   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|  20.7k|    return *this;
   65|  20.7k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|  27.6k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  27.6k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 6.92k, False: 20.7k]
  |  Branch (59:20): [True: 0, False: 6.92k]
  ------------------
   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|  27.6k|    return *this;
   65|  27.6k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|  41.5k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  41.5k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 20.7k, False: 20.7k]
  |  Branch (59:20): [True: 0, False: 20.7k]
  ------------------
   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|  41.5k|    return *this;
   65|  41.5k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj9EEERS3_RAT__KcRKS2_:
   58|  13.8k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  13.8k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 13.8k, False: 0]
  |  Branch (59:20): [True: 0, False: 13.8k]
  ------------------
   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|  13.8k|    return *this;
   65|  13.8k|  }
_ZNK7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E7DefaultERKS2_:
  150|  6.92k|  R Default(const T& Value) const {
  151|  6.92k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 6.92k, False: 0]
  ------------------
  152|  6.92k|      return *Result;
  153|       |
  154|      0|    return Value;
  155|  6.92k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj4EEERS2_RAT__KcRKS1_:
   58|  24.9k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  24.9k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 24.9k, False: 0]
  |  Branch (59:20): [True: 0, False: 24.9k]
  ------------------
   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|  24.9k|    return *this;
   65|  24.9k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj3EEERS2_RAT__KcRKS1_:
   58|  6.22k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  6.22k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 6.22k, False: 0]
  |  Branch (59:20): [True: 0, False: 6.22k]
  ------------------
   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|  6.22k|    return *this;
   65|  6.22k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj6EEERS2_RAT__KcRKS1_:
   58|  12.4k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  12.4k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 12.4k, False: 0]
  |  Branch (59:20): [True: 0, False: 12.4k]
  ------------------
   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|  12.4k|    return *this;
   65|  12.4k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj9EEERS2_RAT__KcRKS1_:
   58|  12.4k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  12.4k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 12.4k, False: 0]
  |  Branch (59:20): [True: 0, False: 12.4k]
  ------------------
   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|  12.4k|    return *this;
   65|  12.4k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_EC2ENS_9StringRefE:
   54|     24|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj3EEERS3_RAT__KcRKS2_:
   58|     96|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|     96|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 96, False: 0]
  |  Branch (59:20): [True: 0, False: 96]
  ------------------
   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|     96|    return *this;
   65|     96|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|     72|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|     72|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 72, False: 0]
  |  Branch (59:20): [True: 3, False: 69]
  ------------------
   60|      3|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 3]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|     72|    return *this;
   65|     72|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|     48|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|     48|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 48, False: 0]
  |  Branch (59:20): [True: 0, False: 48]
  ------------------
   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|     48|    return *this;
   65|     48|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|     48|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|     48|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 48, False: 0]
  |  Branch (59:20): [True: 0, False: 48]
  ------------------
   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|     48|    return *this;
   65|     48|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj9EEERS3_RAT__KcRKS2_:
   58|    192|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|    192|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 192, False: 0]
  |  Branch (59:20): [True: 8, False: 184]
  ------------------
   60|      8|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 8]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|    192|    return *this;
   65|    192|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj8EEERS3_RAT__KcRKS2_:
   58|     72|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|     72|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 72, False: 0]
  |  Branch (59:20): [True: 0, False: 72]
  ------------------
   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|     72|    return *this;
   65|     72|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj10EEERS3_RAT__KcRKS2_:
   58|    120|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|    120|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 120, False: 0]
  |  Branch (59:20): [True: 0, False: 120]
  ------------------
   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|    120|    return *this;
   65|    120|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj11EEERS3_RAT__KcRKS2_:
   58|     48|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|     48|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 48, False: 0]
  |  Branch (59:20): [True: 0, False: 48]
  ------------------
   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|     48|    return *this;
   65|     48|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|     24|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|     24|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 24, False: 0]
  |  Branch (59:20): [True: 0, False: 24]
  ------------------
   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|     24|    return *this;
   65|     24|  }
_ZNK7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E7DefaultERKS2_:
  150|     24|  R Default(const T& Value) const {
  151|     24|    if (Result)
  ------------------
  |  Branch (151:9): [True: 0, False: 24]
  ------------------
  152|      0|      return *Result;
  153|       |
  154|     24|    return Value;
  155|     24|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj5EEERS2_RAT__KcRKS1_:
   58|  12.4k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  12.4k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 12.4k, False: 0]
  |  Branch (59:20): [True: 0, False: 12.4k]
  ------------------
   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|  12.4k|    return *this;
   65|  12.4k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj4ELj5ELj6EEERS2_RAT__KcRAT0__S5_RAT1__S5_RKS1_:
  105|  6.22k|                      const char (&S2)[N2], const T& Value) {
  106|  6.22k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 6.22k, False: 0]
  ------------------
  107|  6.22k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 6.22k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|  6.22k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 6.22k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|  6.22k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 6.22k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|  6.22k|    return *this;
  114|  6.22k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj4ELj5EEERS2_RAT__KcRAT0__S5_RKS1_:
   92|  6.22k|                      const T& Value) {
   93|  6.22k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 6.22k, False: 0]
  ------------------
   94|  6.22k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 6.22k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|  6.22k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 6.22k]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|  6.22k|    return *this;
  100|  6.22k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj3ELj4ELj5ELj4EEERS2_RAT__KcRAT0__S5_RAT1__S5_RAT2__S5_RKS1_:
  120|  6.22k|                      const T& Value) {
  121|  6.22k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 6.22k, False: 0]
  ------------------
  122|  6.22k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 0, False: 6.22k]
  |  Branch (122:32): [True: 0, False: 0]
  ------------------
  123|  6.22k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 6.22k]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|  6.22k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 0, False: 6.22k]
  |  Branch (124:32): [True: 0, False: 0]
  ------------------
  125|  6.22k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 6.22k]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|      0|      Result = &Value;
  127|      0|    }
  128|       |
  129|  6.22k|    return *this;
  130|  6.22k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj3ELj4ELj8ELj6EEERS2_RAT__KcRAT0__S5_RAT1__S5_RAT2__S5_RKS1_:
  120|  6.22k|                      const T& Value) {
  121|  6.22k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 6.22k, False: 0]
  ------------------
  122|  6.22k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 0, False: 6.22k]
  |  Branch (122:32): [True: 0, False: 0]
  ------------------
  123|  6.22k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 6.22k]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|  6.22k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 6.22k, False: 0]
  |  Branch (124:32): [True: 0, False: 6.22k]
  ------------------
  125|  6.22k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 6.22k]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|      0|      Result = &Value;
  127|      0|    }
  128|       |
  129|  6.22k|    return *this;
  130|  6.22k|  }

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

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

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

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

_ZN7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES3_EC2IS6_EEOT_:
  239|  4.03k|      : 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|  4.03k|      : I(std::forward<U &&>(u)) {}
_ZN7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES4_EC2IS7_EEOT_:
  239|    680|      : 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|    680|      : I(std::forward<U &&>(u)) {}
_ZNK7llvm_ks20iterator_facade_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES4_EENS2_26random_access_iterator_tagES4_lS5_RS4_EneERKS8_:
   96|  4.06k|  bool operator!=(const DerivedT &RHS) const {
   97|  4.06k|    return !static_cast<const DerivedT *>(this)->operator==(RHS);
   98|  4.06k|  }
_ZNK7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES4_EES7_NS2_26random_access_iterator_tagES4_lS5_RS4_NS2_15iterator_traitsIS7_EEEeqERKS8_:
  208|  4.06k|  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|  2.04k|  DerivedT &operator++() {
  196|  2.04k|    ++I;
  197|  2.04k|    return *static_cast<DerivedT *>(this);
  198|  2.04k|  }
_ZNK7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES3_EdeEv:
  241|  2.08k|  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|  7.28k|  bool operator!=(const DerivedT &RHS) const {
   97|  7.28k|    return !static_cast<const DerivedT *>(this)->operator==(RHS);
   98|  7.28k|  }
_ZNK7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EES8_NS2_26random_access_iterator_tagES5_lS6_RS5_NS2_15iterator_traitsIS8_EEEeqERKS9_:
  208|  7.28k|  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|  6.94k|  DerivedT &operator++() {
  196|  6.94k|    ++I;
  197|  6.94k|    return *static_cast<DerivedT *>(this);
  198|  6.94k|  }
_ZNK7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES4_EdeEv:
  241|  6.94k|  T &operator*() const { return **this->I; }

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

_ZN7llvm_ks12MCAsmBackend7setArchEi:
  145|    692|  void setArch(int arch) { KsArch = arch; }

_ZN7llvm_ks9MCAsmInfo8setRadixEj:
  480|    692|  void setRadix(unsigned v) { Radix = v; }
_ZNK7llvm_ks9MCAsmInfo14isLittleEndianEv:
  379|  3.50M|  bool isLittleEndian() const { return IsLittleEndian; }
_ZNK7llvm_ks9MCAsmInfo24hasSubsectionsViaSymbolsEv:
  384|  21.4k|  bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
_ZNK7llvm_ks9MCAsmInfo18getSeparatorStringEv:
  451|  1.20M|  const char *getSeparatorString() const { return SeparatorString; }
_ZNK7llvm_ks9MCAsmInfo16getCommentStringEv:
  457|   573k|  const char *getCommentString() const { return CommentString; }
_ZNK7llvm_ks9MCAsmInfo22getPrivateGlobalPrefixEv:
  463|  16.9k|  const char *getPrivateGlobalPrefix() const { return PrivateGlobalPrefix; }
_ZNK7llvm_ks9MCAsmInfo8getRadixEv:
  481|    692|  unsigned getRadix() const { return Radix; }
_ZNK7llvm_ks9MCAsmInfo17doesAllowAtInNameEv:
  482|     47|  bool doesAllowAtInName() const { return AllowAtInName; }
_ZNK7llvm_ks9MCAsmInfo21getAlignmentIsInBytesEv:
  490|     39|  bool getAlignmentIsInBytes() const { return AlignmentIsInBytes; }
_ZNK7llvm_ks9MCAsmInfo21getTextAlignFillValueEv:
  491|     33|  unsigned getTextAlignFillValue() const { return TextAlignFillValue; }
_ZNK7llvm_ks9MCAsmInfo34getCOMMDirectiveAlignmentIsInBytesEv:
  497|     86|  bool getCOMMDirectiveAlignmentIsInBytes() const {
  498|     86|    return COMMDirectiveAlignmentIsInBytes;
  499|     86|  }
_ZNK7llvm_ks9MCAsmInfo30getLCOMMDirectiveAlignmentTypeEv:
  500|     86|  LCOMM::LCOMMType getLCOMMDirectiveAlignmentType() const {
  501|     86|    return LCOMMDirectiveAlignmentType;
  502|     86|  }
_ZNK7llvm_ks9MCAsmInfo25useParensForSymbolVariantEv:
  548|  33.0k|  bool useParensForSymbolVariant() const { return UseParensForSymbolVariant; }
_ZN7llvm_ks9MCAsmInfo20addInitialFrameStateERKNS_16MCCFIInstructionE:
  550|    692|  void addInitialFrameState(const MCCFIInstruction &Inst) {
  551|    692|    InitialFrameState.push_back(Inst);
  552|    692|  }
_ZNK7llvm_ks9MCAsmInfo21compressDebugSectionsEv:
  566|    327|  bool compressDebugSections() const { return CompressDebugSections; }
_ZNK7llvm_ks9MCAsmInfo19shouldUseLogicalShrEv:
  572|  83.6k|  bool shouldUseLogicalShr() const { return UseLogicalShr; }

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

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

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

_ZN7llvm_ks9MCContext13ELFSectionKeyC2ENS_9StringRefES2_j:
  183|  30.0k|          : SectionName(SectionName), GroupName(GroupName), UniqueID(UniqueID) {
  184|  30.0k|      }
_ZNK7llvm_ks9MCContext13ELFSectionKeyltERKS1_:
  185|   203k|      bool operator<(const ELFSectionKey &Other) const {
  186|   203k|        if (SectionName != Other.SectionName)
  ------------------
  |  Branch (186:13): [True: 203k, False: 0]
  ------------------
  187|   203k|          return SectionName < Other.SectionName;
  188|      0|        if (GroupName != Other.GroupName)
  ------------------
  |  Branch (188:13): [True: 0, False: 0]
  ------------------
  189|      0|          return GroupName < Other.GroupName;
  190|      0|        return UniqueID < Other.UniqueID;
  191|      0|      }
_ZNK7llvm_ks9MCContext10getAsmInfoEv:
  242|  3.52M|    const MCAsmInfo *getAsmInfo() const { return MAI; }
_ZNK7llvm_ks9MCContext15getRegisterInfoEv:
  244|    381|    const MCRegisterInfo *getRegisterInfo() const { return MRI; }
_ZNK7llvm_ks9MCContext17getObjectFileInfoEv:
  246|    727|    const MCObjectFileInfo *getObjectFileInfo() const { return MOFI; }
_ZN7llvm_ks9MCContext14getBaseAddressEv:
  251|    351|    uint64_t getBaseAddress() { return BaseAddress; }
_ZN7llvm_ks9MCContext13getELFSectionENS_9StringRefEjj:
  331|  19.6k|                                unsigned Flags) {
  332|  19.6k|      return getELFSection(Section, Type, Flags, nullptr);
  333|  19.6k|    }
_ZN7llvm_ks9MCContext13getELFSectionENS_9StringRefEjjPKc:
  336|  26.6k|                                unsigned Flags, const char *BeginSymName) {
  337|  26.6k|      return getELFSection(Section, Type, Flags, 0, "", BeginSymName);
  338|  26.6k|    }
_ZN7llvm_ks9MCContext13getELFSectionENS_9StringRefEjjjS1_:
  342|  3.46k|                                StringRef Group) {
  343|  3.46k|      return getELFSection(Section, Type, Flags, EntrySize, Group, nullptr);
  344|  3.46k|    }
_ZN7llvm_ks9MCContext13getELFSectionENS_9StringRefEjjjS1_PKc:
  348|  30.0k|                                StringRef Group, const char *BeginSymName) {
  349|  30.0k|      return getELFSection(Section, Type, Flags, EntrySize, Group, ~0,
  350|  30.0k|                           BeginSymName);
  351|  30.0k|    }
_ZN7llvm_ks9MCContext22getGenDwarfForAssemblyEv:
  486|    689|    bool getGenDwarfForAssembly() { return GenDwarfForAssembly; }
_ZN7llvm_ks9MCContext8allocateEjj:
  555|   132k|    void *allocate(unsigned Size, unsigned Align = 8) {
  556|   132k|      return Allocator.Allocate(Size, Align);
  557|   132k|    }
_ZnwmRN7llvm_ks9MCContextEm:
  596|   114k|                          size_t Alignment = 8) LLVM_NOEXCEPT {
  597|   114k|  return C.allocate(Bytes, Alignment);
  598|   114k|}

_ZN7llvm_ks10MCDwarfLocC2Ejjjjjj:
   78|  1.38k|      : FileNum(fileNum), Line(line), Column(column), Flags(flags), Isa(isa),
   79|  1.38k|        Discriminator(discriminator) {}
_ZN7llvm_ks16MCCFIInstructionC2ENS0_6OpTypeEPNS_8MCSymbolEjiNS_9StringRefE:
  358|    692|      : Operation(Op), Label(L), Register(R), Offset(O),
  359|    692|        Values(V.begin(), V.end()) {
  360|       |    assert(Op != OpRegister);
  ------------------
  |  Branch (360:5): [True: 692, False: 0]
  ------------------
  361|    692|  }
_ZN7llvm_ks16MCCFIInstruction12createDefCfaEPNS_8MCSymbolEji:
  372|    692|                                       int Offset) {
  373|    692|    return MCCFIInstruction(OpDefCfa, L, Register, -Offset, "");
  374|    692|  }

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

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

_ZN7llvm_ks6MCExprC2ENS0_8ExprKindE:
   59|   114k|  explicit MCExpr(ExprKind Kind) : Kind(Kind) {}
_ZNK7llvm_ks6MCExpr7getKindEv:
   70|   406k|  ExprKind getKind() const { return Kind; }
_ZN7llvm_ks14MCConstantExprC2El:
  134|  61.4k|      : MCExpr(MCExpr::Constant), Value(Value) {}
_ZNK7llvm_ks14MCConstantExpr8getValueEv:
  146|  63.0k|  int64_t getValue() const { return Value; }
_ZN7llvm_ks14MCConstantExpr7classofEPKNS_6MCExprE:
  150|   123k|  static bool classof(const MCExpr *E) {
  151|   123k|    return E->getKind() == MCExpr::Constant;
  152|   123k|  }
_ZNK7llvm_ks15MCSymbolRefExpr9getSymbolEv:
  333|  61.1k|  const MCSymbol &getSymbol() const { return *Symbol; }
_ZNK7llvm_ks15MCSymbolRefExpr7getKindEv:
  335|  20.8k|  VariantKind getKind() const { return Kind; }
_ZNK7llvm_ks15MCSymbolRefExpr24hasSubsectionsViaSymbolsEv:
  339|    450|  bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
_ZN7llvm_ks15MCSymbolRefExpr7classofEPKNS_6MCExprE:
  351|  52.0k|  static bool classof(const MCExpr *E) {
  352|  52.0k|    return E->getKind() == MCExpr::SymbolRef;
  353|  52.0k|  }
_ZN7llvm_ks11MCUnaryExprC2ENS0_6OpcodeEPKNS_6MCExprE:
  371|  6.43k|      : MCExpr(MCExpr::Unary), Op(Op), Expr(Expr) {}
_ZN7llvm_ks11MCUnaryExpr11createMinusEPKNS_6MCExprERNS_9MCContextE:
  382|  4.13k|  static const MCUnaryExpr *createMinus(const MCExpr *Expr, MCContext &Ctx) {
  383|  4.13k|    return create(Minus, Expr, Ctx);
  384|  4.13k|  }
_ZN7llvm_ks11MCUnaryExpr9createNotEPKNS_6MCExprERNS_9MCContextE:
  385|    112|  static const MCUnaryExpr *createNot(const MCExpr *Expr, MCContext &Ctx) {
  386|    112|    return create(Not, Expr, Ctx);
  387|    112|  }
_ZN7llvm_ks11MCUnaryExpr10createPlusEPKNS_6MCExprERNS_9MCContextE:
  388|  1.93k|  static const MCUnaryExpr *createPlus(const MCExpr *Expr, MCContext &Ctx) {
  389|  1.93k|    return create(Plus, Expr, Ctx);
  390|  1.93k|  }
_ZNK7llvm_ks11MCUnaryExpr9getOpcodeEv:
  397|  4.39k|  Opcode getOpcode() const { return Op; }
_ZNK7llvm_ks11MCUnaryExpr10getSubExprEv:
  400|  8.82k|  const MCExpr *getSubExpr() const { return Expr; }
_ZN7llvm_ks11MCUnaryExpr7classofEPKNS_6MCExprE:
  404|  8.82k|  static bool classof(const MCExpr *E) {
  405|  8.82k|    return E->getKind() == MCExpr::Unary;
  406|  8.82k|  }
_ZN7llvm_ks12MCBinaryExprC2ENS0_6OpcodeEPKNS_6MCExprES4_:
  443|  25.5k|      : MCExpr(MCExpr::Binary), Op(Op), LHS(LHS), RHS(RHS) {}
_ZNK7llvm_ks12MCBinaryExpr9getOpcodeEv:
  533|  26.1k|  Opcode getOpcode() const { return Op; }
_ZNK7llvm_ks12MCBinaryExpr6getLHSEv:
  536|  67.2k|  const MCExpr *getLHS() const { return LHS; }
_ZNK7llvm_ks12MCBinaryExpr6getRHSEv:
  539|  52.0k|  const MCExpr *getRHS() const { return RHS; }
_ZN7llvm_ks12MCBinaryExpr7classofEPKNS_6MCExprE:
  543|  66.4k|  static bool classof(const MCExpr *E) {
  544|  66.4k|    return E->getKind() == MCExpr::Binary;
  545|  66.4k|  }

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

_ZNK7llvm_ks10MCFragment7getKindEv:
   97|  7.12M|  FragmentType getKind() const { return Kind; }
_ZNK7llvm_ks10MCFragment9getParentEv:
   99|   110k|  MCSection *getParent() const { return Parent; }
_ZN7llvm_ks10MCFragment9setParentEPNS_9MCSectionE:
  100|  10.9k|  void setParent(MCSection *Value) { Parent = Value; }
_ZNK7llvm_ks10MCFragment14getLayoutOrderEv:
  105|  75.1k|  unsigned getLayoutOrder() const { return LayoutOrder; }
_ZN7llvm_ks10MCFragment14setLayoutOrderEj:
  106|  10.4k|  void setLayoutOrder(unsigned Value) { LayoutOrder = Value; }
_ZNK7llvm_ks10MCFragment16getBundlePaddingEv:
  121|  7.08k|  uint8_t getBundlePadding() const { return BundlePadding; }
_ZNK7llvm_ks10MCFragment7isDummyEv:
  128|  30.1k|  bool isDummy() const { return Kind == FT_Dummy; }
_ZN7llvm_ks15MCDummyFragmentC2EPNS_9MCSectionE:
  136|  30.1k|      : MCFragment(FT_Dummy, false, 0, Sec){};
_ZN7llvm_ks17MCEncodedFragmentC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  147|    774|      : MCFragment(FType, HasInstructions, 0, Sec) {}
_ZN7llvm_ks17MCEncodedFragment7classofEPKNS_10MCFragmentE:
  150|  8.00k|  static bool classof(const MCFragment *F) {
  151|  8.00k|    MCFragment::FragmentType Kind = F->getKind();
  152|  8.00k|    switch (Kind) {
  153|  6.77k|    default:
  ------------------
  |  Branch (153:5): [True: 6.77k, False: 1.23k]
  ------------------
  154|  6.77k|      return false;
  155|      0|    case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (155:5): [True: 0, False: 8.00k]
  ------------------
  156|      0|    case MCFragment::FT_CompactEncodedInst:
  ------------------
  |  Branch (156:5): [True: 0, False: 8.00k]
  ------------------
  157|  1.23k|    case MCFragment::FT_Data:
  ------------------
  |  Branch (157:5): [True: 1.23k, False: 6.77k]
  ------------------
  158|  1.23k|      return true;
  159|  8.00k|    }
  160|  8.00k|  }
_ZN7llvm_ks14MCDataFragmentC2EPNS_9MCSectionE:
  222|    774|      : MCEncodedFragmentWithFixups<32, 4>(FT_Data, false, Sec) {}
_ZN7llvm_ks14MCDataFragment18setHasInstructionsEb:
  224|  1.01k|  void setHasInstructions(bool V) { HasInstructions = V; }
_ZN7llvm_ks14MCDataFragment7classofEPKNS_10MCFragmentE:
  226|  7.04M|  static bool classof(const MCFragment *F) {
  227|  7.04M|    return F->getKind() == MCFragment::FT_Data;
  228|  7.04M|  }
_ZN7llvm_ks28MCCompactEncodedInstFragment7classofEPKNS_10MCFragmentE:
  242|    615|  static bool classof(const MCFragment *F) {
  243|    615|    return F->getKind() == MCFragment::FT_CompactEncodedInst;
  244|    615|  }
_ZN7llvm_ks15MCAlignFragmentC2EjljjPNS_9MCSectionE:
  297|     33|      : MCFragment(FT_Align, false, 0, Sec), Alignment(Alignment),
  298|     33|        EmitNops(false), Value(Value),
  299|     33|        ValueSize(ValueSize), MaxBytesToEmit(MaxBytesToEmit) {}
_ZNK7llvm_ks15MCAlignFragment12getAlignmentEv:
  304|     63|  unsigned getAlignment() const { return Alignment; }
_ZNK7llvm_ks15MCAlignFragment12getValueSizeEv:
  308|     96|  unsigned getValueSize() const { return ValueSize; }
_ZNK7llvm_ks15MCAlignFragment17getMaxBytesToEmitEv:
  310|     63|  unsigned getMaxBytesToEmit() const { return MaxBytesToEmit; }
_ZNK7llvm_ks15MCAlignFragment11hasEmitNopsEv:
  312|     32|  bool hasEmitNops() const { return EmitNops; }
_ZN7llvm_ks15MCAlignFragment7classofEPKNS_10MCFragmentE:
  317|    128|  static bool classof(const MCFragment *F) {
  318|    128|    return F->getKind() == MCFragment::FT_Align;
  319|    128|  }
_ZN7llvm_ks14MCFillFragmentC2EhmPNS_9MCSectionE:
  332|  9.19k|      : MCFragment(FT_Fill, false, 0, Sec), Value(Value), Size(Size) {}
_ZNK7llvm_ks14MCFillFragment8getValueEv:
  334|  6.20k|  uint8_t getValue() const { return Value; }
_ZNK7llvm_ks14MCFillFragment7getSizeEv:
  335|  21.6k|  uint64_t getSize() const { return Size; }
_ZN7llvm_ks14MCFillFragment7classofEPKNS_10MCFragmentE:
  337|  30.7k|  static bool classof(const MCFragment *F) {
  338|  30.7k|    return F->getKind() == MCFragment::FT_Fill;
  339|  30.7k|  }
_ZN7llvm_ks13MCOrgFragmentC2ERKNS_6MCExprEaPNS_9MCSectionE:
  352|    952|      : MCFragment(FT_Org, false, 0, Sec), Offset(&Offset), Value(Value) {}
_ZNK7llvm_ks13MCOrgFragment9getOffsetEv:
  357|  1.09k|  const MCExpr &getOffset() const { return *Offset; }
_ZN7llvm_ks13MCOrgFragment7classofEPKNS_10MCFragmentE:
  363|  2.29k|  static bool classof(const MCFragment *F) {
  364|  2.29k|    return F->getKind() == MCFragment::FT_Org;
  365|  2.29k|  }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj32ELj4EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  195|    774|      : MCEncodedFragmentWithContents<ContentsSize>(FType, HasInstructions,
  196|    774|                                                    Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj32EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  174|    774|      : MCEncodedFragment(FType, HasInstructions, Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj32EE11getContentsEv:
  177|  7.03M|  SmallVectorImpl<char> &getContents() { return Contents; }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj32ELj4EE9getFixupsEv:
  202|  4.52k|  SmallVectorImpl<MCFixup> &getFixups() { return Fixups; }
_ZNK7llvm_ks29MCEncodedFragmentWithContentsILj32EE11getContentsEv:
  178|  1.54k|  const SmallVectorImpl<char> &getContents() const { return Contents; }

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

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

_ZN7llvm_ks14MCLOHContainerC2Ev:
  128|    692|  MCLOHContainer() : EmitSize(0) {}

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

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

_ZN7llvm_ks14MCObjectWriterC2ERNS_17raw_pwrite_streamEb:
   51|    692|      : OS(&OS), IsLittleEndian(IsLittleEndian) {}
_ZN7llvm_ks14MCObjectWriter9getStreamEv:
   65|  15.4k|  raw_pwrite_stream &getStream() { return *OS; }
_ZN7llvm_ks14MCObjectWriter10WriteZerosEj:
  174|    327|  void WriteZeros(unsigned N) {
  175|    327|    const char Zeros[16] = {0};
  176|       |
  177|    327|    for (unsigned i = 0, e = N / 16; i != e; ++i)
  ------------------
  |  Branch (177:38): [True: 0, False: 327]
  ------------------
  178|      0|      *OS << StringRef(Zeros, 16);
  179|       |
  180|    327|    *OS << StringRef(Zeros, N % 16);
  181|    327|  }
_ZN7llvm_ks14MCObjectWriter10writeBytesERKNS_15SmallVectorImplIcEEj:
  184|    588|                  unsigned ZeroFillSize = 0) {
  185|    588|    writeBytes(StringRef(ByteVec.data(), ByteVec.size()), ZeroFillSize);
  186|    588|  }
_ZN7llvm_ks14MCObjectWriter10writeBytesENS_9StringRefEj:
  188|  19.4k|  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|  19.4k|    assert(
  ------------------
  |  Branch (191:5): [True: 19.4k, False: 0]
  |  Branch (191:5): [True: 0, False: 0]
  |  Branch (191:5): [True: 19.4k, Folded]
  |  Branch (191:5): [True: 19.4k, False: 0]
  ------------------
  192|  19.4k|        (ZeroFillSize == 0 || Str.size() <= ZeroFillSize) &&
  193|  19.4k|        "data size greater than fill size, unexpected large write will occur");
  194|  19.4k|    *OS << Str;
  195|  19.4k|    if (ZeroFillSize)
  ------------------
  |  Branch (195:9): [True: 0, False: 19.4k]
  ------------------
  196|      0|      WriteZeros(ZeroFillSize - Str.size());
  197|  19.4k|  }

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

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

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

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

_ZN7llvm_ks20MCAsmParserExtension10getContextEv:
   54|  2.42k|  MCContext &getContext() { return getParser().getContext(); }
_ZN7llvm_ks20MCAsmParserExtension8getLexerEv:
   56|  17.8k|  MCAsmLexer &getLexer() { return getParser().getLexer(); }
_ZN7llvm_ks20MCAsmParserExtension9getParserEv:
   61|  76.1k|  MCAsmParser &getParser() { return *Parser; }
_ZN7llvm_ks20MCAsmParserExtension11getStreamerEv:
   67|    883|  MCStreamer &getStreamer() { return getParser().getStreamer(); }
_ZN7llvm_ks20MCAsmParserExtension7WarningENS_5SMLocERKNS_5TwineE:
   68|    716|  bool Warning(SMLoc L, const Twine &Msg) {
   69|    716|    return getParser().Warning(L, Msg);
   70|    716|  }
_ZN7llvm_ks20MCAsmParserExtension5ErrorENS_5SMLocERKNS_5TwineE:
   71|    154|  bool Error(SMLoc L, const Twine &Msg) {
   72|    154|    return getParser().Error(L, Msg);
   73|    154|  }
_ZN7llvm_ks20MCAsmParserExtension8TokErrorERKNS_5TwineE:
   77|    202|  bool TokError(const Twine &Msg) {
   78|    202|    return getParser().TokError(Msg);
   79|    202|  }
_ZN7llvm_ks20MCAsmParserExtension3LexEv:
   81|  2.43k|  const AsmToken &Lex() { return getParser().Lex(); }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_24parseDirectiveDumpOrLoadES5_S6_EEEEbPS0_S5_S6_:
   36|    722|                              SMLoc DirectiveLoc) {
   37|    722|    T *Obj = static_cast<T*>(Target);
   38|    722|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    722|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_21parseDirectiveSectionES5_S6_EEEEbPS0_S5_S6_:
   36|     52|                              SMLoc DirectiveLoc) {
   37|     52|    T *Obj = static_cast<T*>(Target);
   38|     52|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|     52|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_18parseDirectiveTBSSES5_S6_EEEEbPS0_S5_S6_:
   36|    243|                              SMLoc DirectiveLoc) {
   37|    243|    T *Obj = static_cast<T*>(Target);
   38|    243|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    243|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_24parseSectionDirectiveBssES5_S6_EEEEbPS0_S5_S6_:
   36|    273|                              SMLoc DirectiveLoc) {
   37|    273|    T *Obj = static_cast<T*>(Target);
   38|    273|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    273|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_25parseSectionDirectiveDataES5_S6_EEEEbPS0_S5_S6_:
   36|    575|                              SMLoc DirectiveLoc) {
   37|    575|    T *Obj = static_cast<T*>(Target);
   38|    575|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    575|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_26parseSectionDirectiveIdentES5_S6_EEEEbPS0_S5_S6_:
   36|    129|                              SMLoc DirectiveLoc) {
   37|    129|    T *Obj = static_cast<T*>(Target);
   38|    129|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    129|  }

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

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

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

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

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

_ZNK7llvm_ks14MCSectionMachO7getTypeEv:
   58|     99|  MachO::SectionType getType() const {
   59|     99|    return static_cast<MachO::SectionType>(TypeAndAttributes &
   60|     99|                                           MachO::SECTION_TYPE);
   61|     99|  }

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

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

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

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

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

_ZNK7llvm_ks7MCValue11getConstantEv:
   46|  65.7k|  int64_t getConstant() const { return Cst; }
_ZNK7llvm_ks7MCValue7getSymAEv:
   47|  39.1k|  const MCSymbolRefExpr *getSymA() const { return SymA; }
_ZNK7llvm_ks7MCValue7getSymBEv:
   48|  37.6k|  const MCSymbolRefExpr *getSymB() const { return SymB; }
_ZNK7llvm_ks7MCValue10isAbsoluteEv:
   52|  47.8k|  bool isAbsolute() const { return !SymA && !SymB; }
  ------------------
  |  Branch (52:36): [True: 25.1k, False: 22.7k]
  |  Branch (52:45): [True: 23.7k, False: 1.36k]
  ------------------
_ZN7llvm_ks7MCValue3getEPKNS_15MCSymbolRefExprES3_lj:
   64|  37.6k|                     int64_t Val = 0, uint32_t RefKind = 0) {
   65|  37.6k|    MCValue R;
   66|  37.6k|    R.Cst = Val;
   67|  37.6k|    R.SymA = SymA;
   68|  37.6k|    R.SymB = SymB;
   69|  37.6k|    R.RefKind = RefKind;
   70|  37.6k|    return R;
   71|  37.6k|  }
_ZN7llvm_ks7MCValue3getEl:
   73|  26.3k|  static MCValue get(int64_t Val) {
   74|  26.3k|    MCValue R;
   75|  26.3k|    R.Cst = Val;
   76|  26.3k|    R.SymA = nullptr;
   77|  26.3k|    R.SymB = nullptr;
   78|  26.3k|    R.RefKind = 0;
   79|  26.3k|    return R;
   80|  26.3k|  }

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

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

_ZN7llvm_ks13FeatureBitsetC2Ev:
   37|  4.73k|  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|  2.76k|  bool operator<(StringRef S) const {
   60|  2.76k|    return StringRef(Key) < S;
   61|  2.76k|  }
_ZNK7llvm_ks18SubtargetFeatureKVltERKS0_:
   64|  15.2k|  bool operator<(const SubtargetFeatureKV &Other) const {
   65|  15.2k|    return StringRef(Key) < StringRef(Other.Key);
   66|  15.2k|  }

_ZN7llvm_ks7alignOfINS_12MCSectionELFEEEjv:
  106|  5.53k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14MCSectionMachOEEEjv:
  106|     52|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIPNS_8MCSymbolEEEEEjv:
  106|  2.63k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIbEEEEjv:
  106|  17.6k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIjEEEEjv:
  106|  8.95k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIPNS_14MCSectionMachOEEEEEjv:
  106|     32|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS5_NS_9StringRefENS_5SMLocEEEEEEEEjv:
  106|  45.6k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
AsmParser.cpp:_ZN7llvm_ks7alignOfINS_14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEEEEEjv:
  106|  84.4k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
AsmParser.cpp:_ZN7llvm_ks7alignOfINS_14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEEEEEjv:
  106|     75|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_8MCSymbol18NameEntryStorageTyEEEjv:
  106|  17.7k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }

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

_ZN7llvm_ks4castINS_11MCSymbolELFENS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  9.85k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  9.85k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 9.85k, False: 0]
  |  Branch (237:3): [True: 9.85k, Folded]
  |  Branch (237:3): [True: 9.85k, False: 0]
  ------------------
  238|  9.85k|  return cast_convert_val<X, Y*,
  239|  9.85k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  9.85k|}
_ZN7llvm_ks3isaINS_11MCSymbolELFEPNS_8MCSymbolEEEbRKT0_:
  132|  10.0k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  10.0k|  return isa_impl_wrap<X, const Y,
  134|  10.0k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  10.0k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPNS_8MCSymbolEPKS2_E4doitERS4_:
  111|  10.0k|  static bool doit(const From &Val) {
  112|  10.0k|    return isa_impl_wrap<To, SimpleFrom,
  113|  10.0k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  10.0k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  10.0k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEPKNS_8MCSymbolES4_E4doitERKS4_:
  121|  10.9k|  static bool doit(const FromTy &Val) {
  122|  10.9k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  10.9k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEPKNS_8MCSymbolEE4doitES4_:
   94|  10.9k|  static inline bool doit(const From *Val) {
   95|  10.9k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 10.9k, False: 0]
  |  Branch (95:5): [True: 10.9k, Folded]
  |  Branch (95:5): [True: 10.9k, False: 0]
  ------------------
   96|  10.9k|    return isa_impl<To, From>::doit(*Val);
   97|  10.9k|  }
_ZN7llvm_ks8isa_implINS_11MCSymbolELFENS_8MCSymbolEvE4doitERKS2_:
   55|  22.4k|  static inline bool doit(const From &Val) {
   56|  22.4k|    return To::classof(&Val);
   57|  22.4k|  }
_ZN7llvm_ks13simplify_typeIKPNS_8MCSymbolEE18getSimplifiedValueERS3_:
   45|  10.0k|  static RetType getSimplifiedValue(const From& Val) {
   46|  10.0k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  10.0k|  }
_ZN7llvm_ks13simplify_typeIPNS_8MCSymbolEE18getSimplifiedValueERS2_:
   36|  10.0k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPNS_8MCSymbolES3_E4doitERKS3_:
  200|  9.85k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  9.85k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  9.85k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  9.85k|    return Res2;
  204|  9.85k|  }
_ZN7llvm_ks12cast_or_nullINS_11MCSymbolELFENS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  267|    905|cast_or_null(Y *Val) {
  268|    905|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 724, False: 181]
  ------------------
  269|    905|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 181, False: 0]
  |  Branch (269:3): [True: 181, Folded]
  |  Branch (269:3): [True: 181, False: 0]
  ------------------
  270|    181|  return cast<X>(Val);
  271|    181|}
_ZN7llvm_ks4castINS_11MCSymbolELFES1_EENS_10cast_rettyIT_PT0_E8ret_typeES5_:
  236|    800|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|    800|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 800, False: 0]
  |  Branch (237:3): [True: 800, Folded]
  |  Branch (237:3): [True: 800, False: 0]
  ------------------
  238|    800|  return cast_convert_val<X, Y*,
  239|    800|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|    800|}
_ZN7llvm_ks3isaINS_11MCSymbolELFEPS1_EEbRKT0_:
  132|    800|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|    800|  return isa_impl_wrap<X, const Y,
  134|    800|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|    800|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPS1_PKS1_E4doitERS3_:
  111|    800|  static bool doit(const From &Val) {
  112|    800|    return isa_impl_wrap<To, SimpleFrom,
  113|    800|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|    800|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|    800|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEPKS1_S3_E4doitERKS3_:
  121|    800|  static bool doit(const FromTy &Val) {
  122|    800|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|    800|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEPKS1_E4doitES3_:
   94|    800|  static inline bool doit(const From *Val) {
   95|    800|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 800, False: 0]
  |  Branch (95:5): [True: 800, Folded]
  |  Branch (95:5): [True: 800, False: 0]
  ------------------
   96|    800|    return isa_impl<To, From>::doit(*Val);
   97|    800|  }
_ZN7llvm_ks8isa_implINS_11MCSymbolELFES1_vE4doitERKS1_:
   64|    800|  static inline bool doit(const From &) { return true; }
_ZN7llvm_ks13simplify_typeIKPNS_11MCSymbolELFEE18getSimplifiedValueERS3_:
   45|    800|  static RetType getSimplifiedValue(const From& Val) {
   46|    800|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|    800|  }
_ZN7llvm_ks13simplify_typeIPNS_11MCSymbolELFEE18getSimplifiedValueERS2_:
   36|    800|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPS1_S2_E4doitERKS2_:
  200|    800|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|    800|    typename cast_retty<To, FromTy>::ret_type Res2
  202|    800|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|    800|    return Res2;
  204|    800|  }
_ZN7llvm_ks13simplify_typeIKPKNS_6MCExprEE18getSimplifiedValueERS4_:
   45|   225k|  static RetType getSimplifiedValue(const From& Val) {
   46|   225k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|   225k|  }
_ZN7llvm_ks13simplify_typeIPKNS_6MCExprEE18getSimplifiedValueERS3_:
   36|   225k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks4castINS_12MCBinaryExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  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_12MCBinaryExprEPKNS_6MCExprEEEbRKT0_:
  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_12MCBinaryExprEKPKNS_6MCExprES4_E4doitERS5_:
  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_12MCBinaryExprEPKNS_6MCExprES4_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_12MCBinaryExprEPKNS_6MCExprEE4doitES4_:
   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_12MCBinaryExprENS_6MCExprEvE4doitERKS2_:
   55|  66.4k|  static inline bool doit(const From &Val) {
   56|  66.4k|    return To::classof(&Val);
   57|  66.4k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCBinaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  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_ks4castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|  38.1k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  38.1k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 38.1k, False: 0]
  |  Branch (237:3): [True: 38.1k, Folded]
  |  Branch (237:3): [True: 38.1k, False: 0]
  ------------------
  238|  38.1k|  return cast_convert_val<X, Y*,
  239|  38.1k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  38.1k|}
_ZN7llvm_ks3isaINS_15MCSymbolRefExprEPKNS_6MCExprEEEbRKT0_:
  132|  40.5k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  40.5k|  return isa_impl_wrap<X, const Y,
  134|  40.5k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  40.5k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|  40.5k|  static bool doit(const From &Val) {
  112|  40.5k|    return isa_impl_wrap<To, SimpleFrom,
  113|  40.5k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  40.5k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  40.5k|  }
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|  40.5k|  static bool doit(const FromTy &Val) {
  122|  40.5k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  40.5k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCSymbolRefExprEPKNS_6MCExprEE4doitES4_:
   94|  40.5k|  static inline bool doit(const From *Val) {
   95|  40.5k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 40.5k, False: 0]
  |  Branch (95:5): [True: 40.5k, Folded]
  |  Branch (95:5): [True: 40.5k, False: 0]
  ------------------
   96|  40.5k|    return isa_impl<To, From>::doit(*Val);
   97|  40.5k|  }
_ZN7llvm_ks8isa_implINS_15MCSymbolRefExprENS_6MCExprEvE4doitERKS2_:
   55|  52.0k|  static inline bool doit(const From &Val) {
   56|  52.0k|    return To::classof(&Val);
   57|  52.0k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCSymbolRefExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|  38.1k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  38.1k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  38.1k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  38.1k|    return Res2;
  204|  38.1k|  }
_ZN7llvm_ks4castINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  11.5k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  11.5k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 11.5k, False: 0]
  |  Branch (230:3): [True: 11.5k, Folded]
  |  Branch (230:3): [True: 11.5k, False: 0]
  ------------------
  231|  11.5k|  return cast_convert_val<X, Y,
  232|  11.5k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  11.5k|}
_ZN7llvm_ks3isaINS_11MCSymbolELFENS_8MCSymbolEEEbRKT0_:
  132|  11.5k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  11.5k|  return isa_impl_wrap<X, const Y,
  134|  11.5k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  11.5k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKNS_8MCSymbolES3_E4doitERS3_:
  121|  11.5k|  static bool doit(const FromTy &Val) {
  122|  11.5k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  11.5k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEKNS_8MCSymbolEE4doitERS3_:
   74|  11.5k|  static inline bool doit(const From &Val) {
   75|  11.5k|    return isa_impl<To, From>::doit(Val);
   76|  11.5k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEKNS_8MCSymbolES3_E4doitERS3_:
  200|  11.5k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  11.5k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  11.5k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  11.5k|    return Res2;
  204|  11.5k|  }
_ZN7llvm_ks4castINS_11MCUnaryExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|  6.95k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  6.95k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 6.95k, False: 0]
  |  Branch (237:3): [True: 6.95k, Folded]
  |  Branch (237:3): [True: 6.95k, False: 0]
  ------------------
  238|  6.95k|  return cast_convert_val<X, Y*,
  239|  6.95k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  6.95k|}
_ZN7llvm_ks3isaINS_11MCUnaryExprEPKNS_6MCExprEEEbRKT0_:
  132|  6.95k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  6.95k|  return isa_impl_wrap<X, const Y,
  134|  6.95k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  6.95k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|  6.95k|  static bool doit(const From &Val) {
  112|  6.95k|    return isa_impl_wrap<To, SimpleFrom,
  113|  6.95k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  6.95k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  6.95k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|  6.95k|  static bool doit(const FromTy &Val) {
  122|  6.95k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  6.95k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCUnaryExprEPKNS_6MCExprEE4doitES4_:
   94|  6.95k|  static inline bool doit(const From *Val) {
   95|  6.95k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 6.95k, False: 0]
  |  Branch (95:5): [True: 6.95k, Folded]
  |  Branch (95:5): [True: 6.95k, False: 0]
  ------------------
   96|  6.95k|    return isa_impl<To, From>::doit(*Val);
   97|  6.95k|  }
_ZN7llvm_ks8isa_implINS_11MCUnaryExprENS_6MCExprEvE4doitERKS2_:
   55|  8.82k|  static inline bool doit(const From &Val) {
   56|  8.82k|    return To::classof(&Val);
   57|  8.82k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCUnaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|  6.95k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  6.95k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  6.95k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  6.95k|    return Res2;
  204|  6.95k|  }
_ZN7llvm_ks13simplify_typeIKPNS_10MCFragmentEE18getSimplifiedValueERS3_:
   45|  7.06M|  static RetType getSimplifiedValue(const From& Val) {
   46|  7.06M|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  7.06M|  }
_ZN7llvm_ks13simplify_typeIPNS_10MCFragmentEE18getSimplifiedValueERS2_:
   36|  7.06M|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks4castINS_14MCDataFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  3.51M|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  3.51M|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 3.51M, False: 0]
  |  Branch (237:3): [True: 3.51M, Folded]
  |  Branch (237:3): [True: 3.51M, False: 0]
  ------------------
  238|  3.51M|  return cast_convert_val<X, Y*,
  239|  3.51M|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  3.51M|}
_ZN7llvm_ks3isaINS_14MCDataFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  7.04M|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  7.04M|  return isa_impl_wrap<X, const Y,
  134|  7.04M|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  7.04M|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  7.04M|  static bool doit(const From &Val) {
  112|  7.04M|    return isa_impl_wrap<To, SimpleFrom,
  113|  7.04M|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  7.04M|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  7.04M|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  7.04M|  static bool doit(const FromTy &Val) {
  122|  7.04M|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  7.04M|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  7.04M|  static inline bool doit(const From *Val) {
   95|  7.04M|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 7.04M, False: 0]
  |  Branch (95:5): [True: 7.04M, Folded]
  |  Branch (95:5): [True: 7.04M, False: 0]
  ------------------
   96|  7.04M|    return isa_impl<To, From>::doit(*Val);
   97|  7.04M|  }
_ZN7llvm_ks8isa_implINS_14MCDataFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  7.04M|  static inline bool doit(const From &Val) {
   56|  7.04M|    return To::classof(&Val);
   57|  7.04M|  }
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  3.51M|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  3.51M|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  3.51M|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  3.51M|    return Res2;
  204|  3.51M|  }
_ZN7llvm_ks8dyn_castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  297|  2.38k|dyn_cast(Y *Val) {
  298|  2.38k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 1.65k, False: 729]
  ------------------
  299|  2.38k|}
_ZN7llvm_ks8isa_implINS_14MCConstantExprENS_6MCExprEvE4doitERKS2_:
   55|   123k|  static inline bool doit(const From &Val) {
   56|   123k|    return To::classof(&Val);
   57|   123k|  }
_ZN7llvm_ks4castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  11.4k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  11.4k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 11.4k, False: 0]
  |  Branch (230:3): [True: 11.4k, Folded]
  |  Branch (230:3): [True: 11.4k, False: 0]
  ------------------
  231|  11.4k|  return cast_convert_val<X, Y,
  232|  11.4k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  11.4k|}
_ZN7llvm_ks3isaINS_15MCSymbolRefExprENS_6MCExprEEEbRKT0_:
  132|  11.4k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  11.4k|  return isa_impl_wrap<X, const Y,
  134|  11.4k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  11.4k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEKNS_6MCExprES3_E4doitERS3_:
  121|  11.4k|  static bool doit(const FromTy &Val) {
  122|  11.4k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  11.4k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCSymbolRefExprEKNS_6MCExprEE4doitERS3_:
   74|  11.4k|  static inline bool doit(const From &Val) {
   75|  11.4k|    return isa_impl<To, From>::doit(Val);
   76|  11.4k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCSymbolRefExprEKNS_6MCExprES3_E4doitERS3_:
  200|  11.4k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  11.4k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  11.4k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  11.4k|    return Res2;
  204|  11.4k|  }
_ZN7llvm_ks4castINS_11MCUnaryExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  1.87k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  1.87k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 1.87k, False: 0]
  |  Branch (230:3): [True: 1.87k, Folded]
  |  Branch (230:3): [True: 1.87k, False: 0]
  ------------------
  231|  1.87k|  return cast_convert_val<X, Y,
  232|  1.87k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  1.87k|}
_ZN7llvm_ks3isaINS_11MCUnaryExprENS_6MCExprEEEbRKT0_:
  132|  1.87k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  1.87k|  return isa_impl_wrap<X, const Y,
  134|  1.87k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  1.87k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEKNS_6MCExprES3_E4doitERS3_:
  121|  1.87k|  static bool doit(const FromTy &Val) {
  122|  1.87k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  1.87k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCUnaryExprEKNS_6MCExprEE4doitERS3_:
   74|  1.87k|  static inline bool doit(const From &Val) {
   75|  1.87k|    return isa_impl<To, From>::doit(Val);
   76|  1.87k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCUnaryExprEKNS_6MCExprES3_E4doitERS3_:
  200|  1.87k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  1.87k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  1.87k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  1.87k|    return Res2;
  204|  1.87k|  }
_ZN7llvm_ks4castINS_12MCBinaryExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  11.9k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  11.9k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 11.9k, False: 0]
  |  Branch (230:3): [True: 11.9k, Folded]
  |  Branch (230:3): [True: 11.9k, False: 0]
  ------------------
  231|  11.9k|  return cast_convert_val<X, Y,
  232|  11.9k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  11.9k|}
_ZN7llvm_ks3isaINS_12MCBinaryExprENS_6MCExprEEEbRKT0_:
  132|  11.9k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  11.9k|  return isa_impl_wrap<X, const Y,
  134|  11.9k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  11.9k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCBinaryExprEKNS_6MCExprES3_E4doitERS3_:
  121|  11.9k|  static bool doit(const FromTy &Val) {
  122|  11.9k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  11.9k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCBinaryExprEKNS_6MCExprEE4doitERS3_:
   74|  11.9k|  static inline bool doit(const From &Val) {
   75|  11.9k|    return isa_impl<To, From>::doit(Val);
   76|  11.9k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCBinaryExprEKNS_6MCExprES3_E4doitERS3_:
  200|  11.9k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  11.9k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  11.9k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  11.9k|    return Res2;
  204|  11.9k|  }
_ZN7llvm_ks3isaINS_14MCConstantExprEPKNS_6MCExprEEEbRKT0_:
  132|   123k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   123k|  return isa_impl_wrap<X, const Y,
  134|   123k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   123k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCConstantExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   123k|  static bool doit(const From &Val) {
  112|   123k|    return isa_impl_wrap<To, SimpleFrom,
  113|   123k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   123k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   123k|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCConstantExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   123k|  static bool doit(const FromTy &Val) {
  122|   123k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   123k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCConstantExprEPKNS_6MCExprEE4doitES4_:
   94|   123k|  static inline bool doit(const From *Val) {
   95|   123k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 123k, False: 0]
  |  Branch (95:5): [True: 123k, Folded]
  |  Branch (95:5): [True: 123k, False: 0]
  ------------------
   96|   123k|    return isa_impl<To, From>::doit(*Val);
   97|   123k|  }
_ZN7llvm_ks8dyn_castINS_14MCConstantExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  297|  59.6k|dyn_cast(Y *Val) {
  298|  59.6k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 44.5k, False: 15.0k]
  ------------------
  299|  59.6k|}
_ZN7llvm_ks4castINS_14MCConstantExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|  63.0k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  63.0k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 63.0k, False: 0]
  |  Branch (237:3): [True: 63.0k, Folded]
  |  Branch (237:3): [True: 63.0k, False: 0]
  ------------------
  238|  63.0k|  return cast_convert_val<X, Y*,
  239|  63.0k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  63.0k|}
_ZN7llvm_ks16cast_convert_valINS_14MCConstantExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|  63.0k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  63.0k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  63.0k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  63.0k|    return Res2;
  204|  63.0k|  }
_ZN7llvm_ks4castINS_15MCAlignFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|     33|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|     33|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 33, False: 0]
  |  Branch (237:3): [True: 33, Folded]
  |  Branch (237:3): [True: 33, False: 0]
  ------------------
  238|     33|  return cast_convert_val<X, Y*,
  239|     33|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|     33|}
_ZN7llvm_ks3isaINS_15MCAlignFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|     33|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|     33|  return isa_impl_wrap<X, const Y,
  134|     33|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|     33|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|     33|  static bool doit(const From &Val) {
  112|     33|    return isa_impl_wrap<To, SimpleFrom,
  113|     33|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|     33|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|     33|  }
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|     33|  static bool doit(const FromTy &Val) {
  122|     33|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|     33|  }
_ZN7llvm_ks11isa_impl_clINS_15MCAlignFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|     33|  static inline bool doit(const From *Val) {
   95|     33|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 33, False: 0]
  |  Branch (95:5): [True: 33, Folded]
  |  Branch (95:5): [True: 33, False: 0]
  ------------------
   96|     33|    return isa_impl<To, From>::doit(*Val);
   97|     33|  }
_ZN7llvm_ks8isa_implINS_15MCAlignFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|    128|  static inline bool doit(const From &Val) {
   56|    128|    return To::classof(&Val);
   57|    128|  }
_ZN7llvm_ks16cast_convert_valINS_15MCAlignFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|     33|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|     33|    typename cast_retty<To, FromTy>::ret_type Res2
  202|     33|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|     33|    return Res2;
  204|     33|  }
_ZN7llvm_ks4castINS_14MCFillFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  9.19k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  9.19k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 9.19k, False: 0]
  |  Branch (237:3): [True: 9.19k, Folded]
  |  Branch (237:3): [True: 9.19k, False: 0]
  ------------------
  238|  9.19k|  return cast_convert_val<X, Y*,
  239|  9.19k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  9.19k|}
_ZN7llvm_ks3isaINS_14MCFillFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  9.19k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  9.19k|  return isa_impl_wrap<X, const Y,
  134|  9.19k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  9.19k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  9.19k|  static bool doit(const From &Val) {
  112|  9.19k|    return isa_impl_wrap<To, SimpleFrom,
  113|  9.19k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  9.19k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  9.19k|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  9.19k|  static bool doit(const FromTy &Val) {
  122|  9.19k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  9.19k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCFillFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  9.19k|  static inline bool doit(const From *Val) {
   95|  9.19k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 9.19k, False: 0]
  |  Branch (95:5): [True: 9.19k, Folded]
  |  Branch (95:5): [True: 9.19k, False: 0]
  ------------------
   96|  9.19k|    return isa_impl<To, From>::doit(*Val);
   97|  9.19k|  }
_ZN7llvm_ks8isa_implINS_14MCFillFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  30.7k|  static inline bool doit(const From &Val) {
   56|  30.7k|    return To::classof(&Val);
   57|  30.7k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCFillFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  9.19k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  9.19k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  9.19k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  9.19k|    return Res2;
  204|  9.19k|  }
_ZN7llvm_ks4castINS_13MCOrgFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|    952|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|    952|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 952, False: 0]
  |  Branch (237:3): [True: 952, Folded]
  |  Branch (237:3): [True: 952, False: 0]
  ------------------
  238|    952|  return cast_convert_val<X, Y*,
  239|    952|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|    952|}
_ZN7llvm_ks3isaINS_13MCOrgFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|    952|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|    952|  return isa_impl_wrap<X, const Y,
  134|    952|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|    952|}
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|    952|  static bool doit(const From &Val) {
  112|    952|    return isa_impl_wrap<To, SimpleFrom,
  113|    952|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|    952|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|    952|  }
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|    952|  static bool doit(const FromTy &Val) {
  122|    952|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|    952|  }
_ZN7llvm_ks11isa_impl_clINS_13MCOrgFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|    952|  static inline bool doit(const From *Val) {
   95|    952|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 952, False: 0]
  |  Branch (95:5): [True: 952, Folded]
  |  Branch (95:5): [True: 952, False: 0]
  ------------------
   96|    952|    return isa_impl<To, From>::doit(*Val);
   97|    952|  }
_ZN7llvm_ks8isa_implINS_13MCOrgFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  2.29k|  static inline bool doit(const From &Val) {
   56|  2.29k|    return To::classof(&Val);
   57|  2.29k|  }
_ZN7llvm_ks16cast_convert_valINS_13MCOrgFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|    952|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|    952|    typename cast_retty<To, FromTy>::ret_type Res2
  202|    952|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|    952|    return Res2;
  204|    952|  }
_ZN7llvm_ks16dyn_cast_or_nullINS_14MCDataFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  320|  3.55M|dyn_cast_or_null(Y *Val) {
  321|  3.55M|  return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (321:11): [True: 3.52M, False: 27.5k]
  |  Branch (321:18): [True: 3.51M, False: 11.9k]
  ------------------
  322|  3.55M|}
_ZN7llvm_ks4castINS_14MCDataFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  1.54k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  1.54k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 1.54k, False: 0]
  |  Branch (230:3): [True: 1.54k, Folded]
  |  Branch (230:3): [True: 1.54k, False: 0]
  ------------------
  231|  1.54k|  return cast_convert_val<X, Y,
  232|  1.54k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  1.54k|}
_ZN7llvm_ks3isaINS_14MCDataFragmentENS_10MCFragmentEEEbRKT0_:
  132|  1.54k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  1.54k|  return isa_impl_wrap<X, const Y,
  134|  1.54k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  1.54k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  1.54k|  static bool doit(const FromTy &Val) {
  122|  1.54k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  1.54k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  1.54k|  static inline bool doit(const From &Val) {
   75|  1.54k|    return isa_impl<To, From>::doit(Val);
   76|  1.54k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  1.54k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  1.54k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  1.54k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  1.54k|    return Res2;
  204|  1.54k|  }
_ZN7llvm_ks4castINS_14MCFillFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  21.6k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  21.6k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 21.6k, False: 0]
  |  Branch (230:3): [True: 21.6k, Folded]
  |  Branch (230:3): [True: 21.6k, False: 0]
  ------------------
  231|  21.6k|  return cast_convert_val<X, Y,
  232|  21.6k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  21.6k|}
_ZN7llvm_ks3isaINS_14MCFillFragmentENS_10MCFragmentEEEbRKT0_:
  132|  21.6k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  21.6k|  return isa_impl_wrap<X, const Y,
  134|  21.6k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  21.6k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  21.6k|  static bool doit(const FromTy &Val) {
  122|  21.6k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  21.6k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCFillFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  21.6k|  static inline bool doit(const From &Val) {
   75|  21.6k|    return isa_impl<To, From>::doit(Val);
   76|  21.6k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCFillFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  21.6k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  21.6k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  21.6k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  21.6k|    return Res2;
  204|  21.6k|  }
_ZN7llvm_ks4castINS_15MCAlignFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|     95|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|     95|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 95, False: 0]
  |  Branch (230:3): [True: 95, Folded]
  |  Branch (230:3): [True: 95, False: 0]
  ------------------
  231|     95|  return cast_convert_val<X, Y,
  232|     95|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|     95|}
_ZN7llvm_ks3isaINS_15MCAlignFragmentENS_10MCFragmentEEEbRKT0_:
  132|     95|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|     95|  return isa_impl_wrap<X, const Y,
  134|     95|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|     95|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|     95|  static bool doit(const FromTy &Val) {
  122|     95|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|     95|  }
_ZN7llvm_ks11isa_impl_clINS_15MCAlignFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|     95|  static inline bool doit(const From &Val) {
   75|     95|    return isa_impl<To, From>::doit(Val);
   76|     95|  }
_ZN7llvm_ks16cast_convert_valINS_15MCAlignFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|     95|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|     95|    typename cast_retty<To, FromTy>::ret_type Res2
  202|     95|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|     95|    return Res2;
  204|     95|  }
_ZN7llvm_ks4castINS_13MCOrgFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  1.34k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  1.34k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 1.34k, False: 0]
  |  Branch (230:3): [True: 1.34k, Folded]
  |  Branch (230:3): [True: 1.34k, False: 0]
  ------------------
  231|  1.34k|  return cast_convert_val<X, Y,
  232|  1.34k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  1.34k|}
_ZN7llvm_ks3isaINS_13MCOrgFragmentENS_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_13MCOrgFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  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_13MCOrgFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  1.34k|  static inline bool doit(const From &Val) {
   75|  1.34k|    return isa_impl<To, From>::doit(Val);
   76|  1.34k|  }
_ZN7llvm_ks16cast_convert_valINS_13MCOrgFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  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_ks3isaINS_17MCEncodedFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  8.00k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  8.00k|  return isa_impl_wrap<X, const Y,
  134|  8.00k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  8.00k|}
_ZN7llvm_ks13isa_impl_wrapINS_17MCEncodedFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  8.00k|  static bool doit(const From &Val) {
  112|  8.00k|    return isa_impl_wrap<To, SimpleFrom,
  113|  8.00k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  8.00k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  8.00k|  }
_ZN7llvm_ks13isa_impl_wrapINS_17MCEncodedFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  8.00k|  static bool doit(const FromTy &Val) {
  122|  8.00k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  8.00k|  }
_ZN7llvm_ks11isa_impl_clINS_17MCEncodedFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  8.00k|  static inline bool doit(const From *Val) {
   95|  8.00k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 8.00k, False: 0]
  |  Branch (95:5): [True: 8.00k, Folded]
  |  Branch (95:5): [True: 8.00k, False: 0]
  ------------------
   96|  8.00k|    return isa_impl<To, From>::doit(*Val);
   97|  8.00k|  }
_ZN7llvm_ks8isa_implINS_17MCEncodedFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  8.00k|  static inline bool doit(const From &Val) {
   56|  8.00k|    return To::classof(&Val);
   57|  8.00k|  }
_ZN7llvm_ks13simplify_typeIKPKNS_9MCSectionEE18getSimplifiedValueERS4_:
   45|    448|  static RetType getSimplifiedValue(const From& Val) {
   46|    448|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|    448|  }
_ZN7llvm_ks13simplify_typeIPKNS_9MCSectionEE18getSimplifiedValueERS3_:
   36|    448|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks8dyn_castINS_17MCEncodedFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  297|  7.39k|dyn_cast(Y *Val) {
  298|  7.39k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 615, False: 6.77k]
  ------------------
  299|  7.39k|}
_ZN7llvm_ks4castINS_17MCEncodedFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|    615|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|    615|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 615, False: 0]
  |  Branch (237:3): [True: 615, Folded]
  |  Branch (237:3): [True: 615, False: 0]
  ------------------
  238|    615|  return cast_convert_val<X, Y*,
  239|    615|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|    615|}
_ZN7llvm_ks16cast_convert_valINS_17MCEncodedFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|    615|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|    615|    typename cast_retty<To, FromTy>::ret_type Res2
  202|    615|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|    615|    return Res2;
  204|    615|  }
_ZN7llvm_ks3isaINS_28MCCompactEncodedInstFragmentEPNS_17MCEncodedFragmentEEEbRKT0_:
  132|    615|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|    615|  return isa_impl_wrap<X, const Y,
  134|    615|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|    615|}
_ZN7llvm_ks13isa_impl_wrapINS_28MCCompactEncodedInstFragmentEKPNS_17MCEncodedFragmentEPKS2_E4doitERS4_:
  111|    615|  static bool doit(const From &Val) {
  112|    615|    return isa_impl_wrap<To, SimpleFrom,
  113|    615|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|    615|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|    615|  }
_ZN7llvm_ks13isa_impl_wrapINS_28MCCompactEncodedInstFragmentEPKNS_17MCEncodedFragmentES4_E4doitERKS4_:
  121|    615|  static bool doit(const FromTy &Val) {
  122|    615|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|    615|  }
_ZN7llvm_ks11isa_impl_clINS_28MCCompactEncodedInstFragmentEPKNS_17MCEncodedFragmentEE4doitES4_:
   94|    615|  static inline bool doit(const From *Val) {
   95|    615|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 615, False: 0]
  |  Branch (95:5): [True: 615, Folded]
  |  Branch (95:5): [True: 615, False: 0]
  ------------------
   96|    615|    return isa_impl<To, From>::doit(*Val);
   97|    615|  }
_ZN7llvm_ks8isa_implINS_28MCCompactEncodedInstFragmentENS_17MCEncodedFragmentEvE4doitERKS2_:
   55|    615|  static inline bool doit(const From &Val) {
   56|    615|    return To::classof(&Val);
   57|    615|  }
_ZN7llvm_ks13simplify_typeIKPNS_17MCEncodedFragmentEE18getSimplifiedValueERS3_:
   45|  1.84k|  static RetType getSimplifiedValue(const From& Val) {
   46|  1.84k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  1.84k|  }
_ZN7llvm_ks13simplify_typeIPNS_17MCEncodedFragmentEE18getSimplifiedValueERS2_:
   36|  1.84k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks8dyn_castINS_14MCDataFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  297|    615|dyn_cast(Y *Val) {
  298|    615|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 615, False: 0]
  ------------------
  299|    615|}
_ZN7llvm_ks3isaINS_14MCDataFragmentEPNS_17MCEncodedFragmentEEEbRKT0_:
  132|  1.23k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  1.23k|  return isa_impl_wrap<X, const Y,
  134|  1.23k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  1.23k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKPNS_17MCEncodedFragmentEPKS2_E4doitERS4_:
  111|  1.23k|  static bool doit(const From &Val) {
  112|  1.23k|    return isa_impl_wrap<To, SimpleFrom,
  113|  1.23k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  1.23k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  1.23k|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEPKNS_17MCEncodedFragmentES4_E4doitERKS4_:
  121|  1.23k|  static bool doit(const FromTy &Val) {
  122|  1.23k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  1.23k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEPKNS_17MCEncodedFragmentEE4doitES4_:
   94|  1.23k|  static inline bool doit(const From *Val) {
   95|  1.23k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 1.23k, False: 0]
  |  Branch (95:5): [True: 1.23k, Folded]
  |  Branch (95:5): [True: 1.23k, False: 0]
  ------------------
   96|  1.23k|    return isa_impl<To, From>::doit(*Val);
   97|  1.23k|  }
_ZN7llvm_ks8isa_implINS_14MCDataFragmentENS_17MCEncodedFragmentEvE4doitERKS2_:
   55|  1.23k|  static inline bool doit(const From &Val) {
   56|  1.23k|    return To::classof(&Val);
   57|  1.23k|  }
_ZN7llvm_ks4castINS_14MCDataFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|    615|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|    615|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 615, False: 0]
  |  Branch (237:3): [True: 615, Folded]
  |  Branch (237:3): [True: 615, False: 0]
  ------------------
  238|    615|  return cast_convert_val<X, Y*,
  239|    615|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|    615|}
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEPNS_17MCEncodedFragmentES3_E4doitERKS3_:
  200|    615|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|    615|    typename cast_retty<To, FromTy>::ret_type Res2
  202|    615|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|    615|    return Res2;
  204|    615|  }
_ZN7llvm_ks3isaINS_11MCSymbolELFEPKNS_8MCSymbolEEEbRKT0_:
  132|    896|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|    896|  return isa_impl_wrap<X, const Y,
  134|    896|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|    896|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPKNS_8MCSymbolES4_E4doitERS5_:
  111|    896|  static bool doit(const From &Val) {
  112|    896|    return isa_impl_wrap<To, SimpleFrom,
  113|    896|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|    896|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|    896|  }
_ZN7llvm_ks13simplify_typeIKPKNS_8MCSymbolEE18getSimplifiedValueERS4_:
   45|    896|  static RetType getSimplifiedValue(const From& Val) {
   46|    896|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|    896|  }
_ZN7llvm_ks13simplify_typeIPKNS_8MCSymbolEE18getSimplifiedValueERS3_:
   36|    896|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks4castINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|    672|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|    672|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 672, False: 0]
  |  Branch (237:3): [True: 672, Folded]
  |  Branch (237:3): [True: 672, False: 0]
  ------------------
  238|    672|  return cast_convert_val<X, Y*,
  239|    672|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|    672|}
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPKNS_8MCSymbolES4_E4doitERKS4_:
  200|    672|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|    672|    typename cast_retty<To, FromTy>::ret_type Res2
  202|    672|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|    672|    return Res2;
  204|    672|  }
_ZN7llvm_ks8dyn_castINS_11SparcMCExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  297|    398|dyn_cast(Y *Val) {
  298|    398|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 0, False: 398]
  ------------------
  299|    398|}
_ZN7llvm_ks3isaINS_11SparcMCExprEPKNS_6MCExprEEEbRKT0_:
  132|    398|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|    398|  return isa_impl_wrap<X, const Y,
  134|    398|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|    398|}
_ZN7llvm_ks13isa_impl_wrapINS_11SparcMCExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|    398|  static bool doit(const From &Val) {
  112|    398|    return isa_impl_wrap<To, SimpleFrom,
  113|    398|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|    398|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|    398|  }
_ZN7llvm_ks13isa_impl_wrapINS_11SparcMCExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|    398|  static bool doit(const FromTy &Val) {
  122|    398|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|    398|  }
_ZN7llvm_ks11isa_impl_clINS_11SparcMCExprEPKNS_6MCExprEE4doitES4_:
   94|    398|  static inline bool doit(const From *Val) {
   95|    398|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 398, False: 0]
  |  Branch (95:5): [True: 398, Folded]
  |  Branch (95:5): [True: 398, False: 0]
  ------------------
   96|    398|    return isa_impl<To, From>::doit(*Val);
   97|    398|  }
_ZN7llvm_ks8isa_implINS_11SparcMCExprENS_6MCExprEvE4doitERKS2_:
   55|    398|  static inline bool doit(const From &Val) {
   56|    398|    return To::classof(&Val);
   57|    398|  }
_ZN7llvm_ks4castINS_12MCSectionELFENS_9MCSectionEEENS_10cast_rettyIT_T0_E8ret_typeERS5_:
  229|  1.52k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  1.52k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 1.52k, False: 0]
  |  Branch (230:3): [True: 1.52k, Folded]
  |  Branch (230:3): [True: 1.52k, False: 0]
  ------------------
  231|  1.52k|  return cast_convert_val<X, Y,
  232|  1.52k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  1.52k|}
_ZN7llvm_ks3isaINS_12MCSectionELFENS_9MCSectionEEEbRKT0_:
  132|  1.52k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  1.52k|  return isa_impl_wrap<X, const Y,
  134|  1.52k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  1.52k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEKNS_9MCSectionES3_E4doitERS3_:
  121|  1.52k|  static bool doit(const FromTy &Val) {
  122|  1.52k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  1.52k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCSectionELFEKNS_9MCSectionEE4doitERS3_:
   74|  1.52k|  static inline bool doit(const From &Val) {
   75|  1.52k|    return isa_impl<To, From>::doit(Val);
   76|  1.52k|  }
_ZN7llvm_ks8isa_implINS_12MCSectionELFENS_9MCSectionEvE4doitERKS2_:
   55|  1.97k|  static inline bool doit(const From &Val) {
   56|  1.97k|    return To::classof(&Val);
   57|  1.97k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCSectionELFENS_9MCSectionES2_E4doitERKS2_:
  200|  1.52k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  1.52k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  1.52k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  1.52k|    return Res2;
  204|  1.52k|  }
_ZN7llvm_ks12cast_or_nullINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  267|    398|cast_or_null(Y *Val) {
  268|    398|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 174, False: 224]
  ------------------
  269|    398|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 224, False: 0]
  |  Branch (269:3): [True: 224, Folded]
  |  Branch (269:3): [True: 224, False: 0]
  ------------------
  270|    224|  return cast<X>(Val);
  271|    224|}
_ZN7llvm_ks12cast_or_nullINS_12MCSectionELFEKNS_9MCSectionEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  267|    398|cast_or_null(Y *Val) {
  268|    398|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 174, False: 224]
  ------------------
  269|    398|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 224, False: 0]
  |  Branch (269:3): [True: 224, Folded]
  |  Branch (269:3): [True: 224, False: 0]
  ------------------
  270|    224|  return cast<X>(Val);
  271|    224|}
_ZN7llvm_ks3isaINS_12MCSectionELFEPKNS_9MCSectionEEEbRKT0_:
  132|    448|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|    448|  return isa_impl_wrap<X, const Y,
  134|    448|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|    448|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEKPKNS_9MCSectionES4_E4doitERS5_:
  111|    448|  static bool doit(const From &Val) {
  112|    448|    return isa_impl_wrap<To, SimpleFrom,
  113|    448|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|    448|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|    448|  }
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEPKNS_9MCSectionES4_E4doitERKS4_:
  121|    448|  static bool doit(const FromTy &Val) {
  122|    448|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|    448|  }
_ZN7llvm_ks11isa_impl_clINS_12MCSectionELFEPKNS_9MCSectionEE4doitES4_:
   94|    448|  static inline bool doit(const From *Val) {
   95|    448|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 448, False: 0]
  |  Branch (95:5): [True: 448, Folded]
  |  Branch (95:5): [True: 448, False: 0]
  ------------------
   96|    448|    return isa_impl<To, From>::doit(*Val);
   97|    448|  }
_ZN7llvm_ks4castINS_12MCSectionELFEKNS_9MCSectionEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|    224|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|    224|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 224, False: 0]
  |  Branch (237:3): [True: 224, Folded]
  |  Branch (237:3): [True: 224, False: 0]
  ------------------
  238|    224|  return cast_convert_val<X, Y*,
  239|    224|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|    224|}
_ZN7llvm_ks16cast_convert_valINS_12MCSectionELFEPKNS_9MCSectionES4_E4doitERKS4_:
  200|    224|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|    224|    typename cast_retty<To, FromTy>::ret_type Res2
  202|    224|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|    224|    return Res2;
  204|    224|  }

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

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

_ZN7llvm_ks7ErrorOrINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEEEC2ES6_:
  110|    692|  ErrorOr(T Val) : HasError(false) {
  111|    692|    new (getStorage()) storage_type(moveIfMoveConstructible<storage_type>(Val));
  112|    692|  }
_ZN7llvm_ks7ErrorOrINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEEE10getStorageEv:
  262|  2.07k|  storage_type *getStorage() {
  263|  2.07k|    assert(!HasError && "Cannot get value when an error exists!");
  ------------------
  |  Branch (263:5): [True: 2.07k, False: 0]
  |  Branch (263:5): [True: 2.07k, Folded]
  |  Branch (263:5): [True: 2.07k, False: 0]
  ------------------
  264|  2.07k|    return reinterpret_cast<storage_type*>(TStorage.buffer);
  265|  2.07k|  }
_ZN7llvm_ks23moveIfMoveConstructibleINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEES6_EEONS1_9enable_ifIXsr3std16is_constructibleIT_T0_EE5valueENS1_16remove_referenceIS9_E4typeEE4typeERS9_:
   29|    692| moveIfMoveConstructible(V &Val) {
   30|    692|  return std::move(Val);
   31|    692|}
_ZN7llvm_ks7ErrorOrINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEEED2Ev:
  166|    692|  ~ErrorOr() {
  167|    692|    if (!HasError)
  ------------------
  |  Branch (167:9): [True: 692, False: 0]
  ------------------
  168|    692|      getStorage()->~storage_type();
  169|    692|  }
_ZNK7llvm_ks7ErrorOrINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEEE8getErrorEv:
  179|    692|  std::error_code getError() const {
  180|    692|    return HasError ? *getErrorStorage() : std::error_code();
  ------------------
  |  Branch (180:12): [True: 0, False: 692]
  ------------------
  181|    692|  }
_ZN7llvm_ks7ErrorOrINSt3__110unique_ptrINS_12MemoryBufferENS1_14default_deleteIS3_EEEEEdeEv:
  189|    692|  reference operator *() {
  190|    692|    return *getStorage();
  191|    692|  }

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

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

_ZN7llvm_ks12MemoryBufferC2Ev:
   43|  6.20k|  MemoryBuffer() {}
_ZNK7llvm_ks12MemoryBuffer14getBufferStartEv:
   49|  27.1k|  const char *getBufferStart() const { return BufferStart; }
_ZNK7llvm_ks12MemoryBuffer12getBufferEndEv:
   50|  11.3k|  const char *getBufferEnd() const   { return BufferEnd; }
_ZNK7llvm_ks12MemoryBuffer13getBufferSizeEv:
   51|  11.7k|  size_t getBufferSize() const { return BufferEnd-BufferStart; }
_ZNK7llvm_ks12MemoryBuffer9getBufferEv:
   53|  11.7k|  StringRef getBuffer() const {
   54|  11.7k|    return StringRef(BufferStart, getBufferSize());
   55|  11.7k|  }

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

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

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

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

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

_ZN7llvm_ks3sys16SwapByteOrder_32Ej:
   42|  1.01k|inline uint32_t SwapByteOrder_32(uint32_t value) {
   43|  1.01k|#if defined(__llvm__) || (LLVM_GNUC_PREREQ(4, 3, 0) && !defined(__ICC))
   44|  1.01k|  return __builtin_bswap32(value);
   45|       |#elif defined(_MSC_VER) && !defined(_DEBUG)
   46|       |  return _byteswap_ulong(value);
   47|       |#else
   48|       |  uint32_t Byte0 = value & 0x000000FF;
   49|       |  uint32_t Byte1 = value & 0x0000FF00;
   50|       |  uint32_t Byte2 = value & 0x00FF0000;
   51|       |  uint32_t Byte3 = value & 0xFF000000;
   52|       |  return (Byte0 << 24) | (Byte1 << 8) | (Byte2 >> 8) | (Byte3 >> 24);
   53|       |#endif
   54|  1.01k|}
_ZN7llvm_ks3sys15getSwappedBytesEj:
   77|  1.01k|inline unsigned int   getSwappedBytes(unsigned int   C) { return SwapByteOrder_32(C); }
_ZN7llvm_ks3sys13swapByteOrderIjEEvRT_:
  118|  1.01k|inline void swapByteOrder(T &Value) {
  119|  1.01k|  Value = getSwappedBytes(Value);
  120|  1.01k|}

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

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

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

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

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

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

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

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

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

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

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

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

_ZNK7llvm_ks13MCELFStreamer14isBundleLockedEv:
   43|  3.43k|bool MCELFStreamer::isBundleLocked() const {
   44|  3.43k|  return getCurrentSectionOnly()->isBundleLocked();
   45|  3.43k|}
_ZN7llvm_ks13MCELFStreamerD2Ev:
   47|    692|MCELFStreamer::~MCELFStreamer() {
   48|    692|}
_ZN7llvm_ks13MCELFStreamer12InitSectionsEb:
   91|    692|void MCELFStreamer::InitSections(bool NoExecStack) {
   92|    692|  MCContext &Ctx = getContext();
   93|    692|  SwitchSection(Ctx.getObjectFileInfo()->getTextSection());
   94|       |
   95|    692|  if (NoExecStack)
  ------------------
  |  Branch (95:7): [True: 0, False: 692]
  ------------------
   96|      0|    SwitchSection(Ctx.getAsmInfo()->getNonexecutableStackSection(Ctx));
   97|    692|}
_ZN7llvm_ks13MCELFStreamer9EmitLabelEPNS_8MCSymbolE:
   99|  8.87k|void MCELFStreamer::EmitLabel(MCSymbol *S) {
  100|  8.87k|  auto *Symbol = cast<MCSymbolELF>(S);
  101|  8.87k|  assert(Symbol->isUndefined() && "Cannot define a symbol twice!");
  ------------------
  |  Branch (101:3): [True: 8.87k, False: 0]
  |  Branch (101:3): [True: 8.87k, Folded]
  |  Branch (101:3): [True: 8.87k, False: 0]
  ------------------
  102|       |
  103|  8.87k|  MCObjectStreamer::EmitLabel(Symbol);
  104|       |
  105|  8.87k|  const MCSectionELF &Section =
  106|  8.87k|      static_cast<const MCSectionELF &>(*getCurrentSectionOnly());
  107|  8.87k|  if (Section.getFlags() & ELF::SHF_TLS)
  ------------------
  |  Branch (107:7): [True: 150, False: 8.72k]
  ------------------
  108|    150|    Symbol->setType(ELF::STT_TLS);
  109|  8.87k|}
_ZN7llvm_ks13MCELFStreamer13ChangeSectionEPNS_9MCSectionEPKNS_6MCExprE:
  138|    905|                                  const MCExpr *Subsection) {
  139|    905|  MCSection *CurSection = getCurrentSectionOnly();
  140|    905|  if (CurSection && isBundleLocked())
  ------------------
  |  Branch (140:7): [True: 213, False: 692]
  |  Branch (140:21): [True: 0, False: 213]
  ------------------
  141|      0|    report_fatal_error("Unterminated .bundle_lock when changing a section");
  142|       |
  143|    905|  MCAssembler &Asm = getAssembler();
  144|       |  // Ensure the previous section gets aligned if necessary.
  145|    905|  setSectionAlignmentForBundling(Asm, CurSection);
  146|    905|  auto *SectionELF = static_cast<const MCSectionELF *>(Section);
  147|    905|  const MCSymbol *Grp = SectionELF->getGroup();
  148|    905|  if (Grp)
  ------------------
  |  Branch (148:7): [True: 0, False: 905]
  ------------------
  149|      0|    Asm.registerSymbol(*Grp);
  150|       |
  151|    905|  this->MCObjectStreamer::ChangeSection(Section, Subsection);
  152|    905|  MCContext &Ctx = getContext();
  153|    905|  auto *Begin = cast_or_null<MCSymbolELF>(Section->getBeginSymbol());
  154|    905|  if (!Begin) {
  ------------------
  |  Branch (154:7): [True: 724, False: 181]
  ------------------
  155|    724|    Begin = Ctx.getOrCreateSectionSymbol(*SectionELF);
  156|    724|    Section->setBeginSymbol(Begin);
  157|    724|  }
  158|    905|  if (Begin->isUndefined()) {
  ------------------
  |  Branch (158:7): [True: 724, False: 181]
  ------------------
  159|    724|    Asm.registerSymbol(*Begin);
  160|    724|    Begin->setType(ELF::STT_SECTION);
  161|    724|  }
  162|    905|}
_ZN7llvm_ks13MCELFStreamer16EmitCommonSymbolEPNS_8MCSymbolEmj:
  297|    800|                                     unsigned ByteAlignment) {
  298|    800|  auto *Symbol = cast<MCSymbolELF>(S);
  299|    800|  getAssembler().registerSymbol(*Symbol);
  300|       |
  301|    800|  if (!Symbol->isBindingSet()) {
  ------------------
  |  Branch (301:7): [True: 19, False: 781]
  ------------------
  302|     19|    Symbol->setBinding(ELF::STB_GLOBAL);
  303|     19|    Symbol->setExternal(true);
  304|     19|  }
  305|       |
  306|    800|  Symbol->setType(ELF::STT_OBJECT);
  307|       |
  308|    800|  if (Symbol->getBinding() == ELF::STB_LOCAL) {
  ------------------
  |  Branch (308:7): [True: 0, False: 800]
  ------------------
  309|      0|    MCSection &Section = *getAssembler().getContext().getELFSection(
  310|      0|        ".bss", ELF::SHT_NOBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC);
  311|      0|    MCSectionSubPair P = getCurrentSection();
  312|      0|    SwitchSection(&Section);
  313|       |
  314|      0|    EmitValueToAlignment(ByteAlignment, 0, 1, 0);
  315|      0|    EmitLabel(Symbol);
  316|      0|    EmitZeros(Size);
  317|       |
  318|       |    // Update the maximum alignment of the section if necessary.
  319|      0|    if (ByteAlignment > Section.getAlignment())
  ------------------
  |  Branch (319:9): [True: 0, False: 0]
  ------------------
  320|      0|      Section.setAlignment(ByteAlignment);
  321|       |
  322|      0|    SwitchSection(P.first, P.second);
  323|    800|  } else {
  324|    800|    if(Symbol->declareCommon(Size, ByteAlignment))
  ------------------
  |  Branch (324:8): [True: 0, False: 800]
  ------------------
  325|      0|      report_fatal_error("Symbol: " + Symbol->getName() +
  326|      0|                         " redeclared as different type");
  327|    800|  }
  328|       |
  329|    800|  cast<MCSymbolELF>(Symbol)
  330|    800|      ->setSize(MCConstantExpr::create(Size, getContext()));
  331|    800|}
_ZN7llvm_ks13MCELFStreamer13EmitValueImplEPKNS_6MCExprEjNS_5SMLocE:
  348|  3.19k|                                  SMLoc Loc) {
  349|  3.19k|  if (isBundleLocked())
  ------------------
  |  Branch (349:7): [True: 0, False: 3.19k]
  ------------------
  350|      0|    report_fatal_error("Emitting values inside a locked bundle is forbidden");
  351|  3.19k|  fixSymbolsInTLSFixups(Value);
  352|  3.19k|  MCObjectStreamer::EmitValueImpl(Value, Size, Loc);
  353|  3.19k|}
_ZN7llvm_ks13MCELFStreamer20EmitValueToAlignmentEjljj:
  358|     33|                                         unsigned MaxBytesToEmit) {
  359|     33|  if (isBundleLocked())
  ------------------
  |  Branch (359:7): [True: 0, False: 33]
  ------------------
  360|      0|    report_fatal_error("Emitting values inside a locked bundle is forbidden");
  361|     33|  MCObjectStreamer::EmitValueToAlignment(ByteAlignment, Value,
  362|     33|                                         ValueSize, MaxBytesToEmit);
  363|     33|}
_ZN7llvm_ks13MCELFStreamer17EmitFileDirectiveENS_9StringRefE:
  368|    693|void MCELFStreamer::EmitFileDirective(StringRef Filename) {
  369|    693|  getAssembler().addFileName(Filename);
  370|    693|}
_ZN7llvm_ks13MCELFStreamer21fixSymbolsInTLSFixupsEPKNS_6MCExprE:
  387|  28.7k|void MCELFStreamer::fixSymbolsInTLSFixups(const MCExpr *expr) {
  388|  28.7k|  switch (expr->getKind()) {
  ------------------
  |  Branch (388:11): [True: 28.7k, False: 0]
  ------------------
  389|      0|  case MCExpr::Target:
  ------------------
  |  Branch (389:3): [True: 0, False: 28.7k]
  ------------------
  390|      0|    cast<MCTargetExpr>(expr)->fixELFSymbolsInTLSFixups(getAssembler());
  391|      0|    break;
  392|  4.76k|  case MCExpr::Constant:
  ------------------
  |  Branch (392:3): [True: 4.76k, False: 24.0k]
  ------------------
  393|  4.76k|    break;
  394|       |
  395|  11.4k|  case MCExpr::Binary: {
  ------------------
  |  Branch (395:3): [True: 11.4k, False: 17.3k]
  ------------------
  396|  11.4k|    const MCBinaryExpr *be = cast<MCBinaryExpr>(expr);
  397|  11.4k|    fixSymbolsInTLSFixups(be->getLHS());
  398|  11.4k|    fixSymbolsInTLSFixups(be->getRHS());
  399|  11.4k|    break;
  400|      0|  }
  401|       |
  402|  10.6k|  case MCExpr::SymbolRef: {
  ------------------
  |  Branch (402:3): [True: 10.6k, False: 18.0k]
  ------------------
  403|  10.6k|    const MCSymbolRefExpr &symRef = *cast<MCSymbolRefExpr>(expr);
  404|  10.6k|    switch (symRef.getKind()) {
  405|  9.35k|    default:
  ------------------
  |  Branch (405:5): [True: 9.35k, False: 1.32k]
  ------------------
  406|  9.35k|      return;
  407|  9.35k|    case MCSymbolRefExpr::VK_GOTTPOFF:
  ------------------
  |  Branch (407:5): [True: 32, False: 10.6k]
  ------------------
  408|     32|    case MCSymbolRefExpr::VK_INDNTPOFF:
  ------------------
  |  Branch (408:5): [True: 0, False: 10.6k]
  ------------------
  409|     32|    case MCSymbolRefExpr::VK_NTPOFF:
  ------------------
  |  Branch (409:5): [True: 0, False: 10.6k]
  ------------------
  410|    195|    case MCSymbolRefExpr::VK_GOTNTPOFF:
  ------------------
  |  Branch (410:5): [True: 163, False: 10.5k]
  ------------------
  411|    362|    case MCSymbolRefExpr::VK_TLSGD:
  ------------------
  |  Branch (411:5): [True: 167, False: 10.5k]
  ------------------
  412|    362|    case MCSymbolRefExpr::VK_TLSLD:
  ------------------
  |  Branch (412:5): [True: 0, False: 10.6k]
  ------------------
  413|    362|    case MCSymbolRefExpr::VK_TLSLDM:
  ------------------
  |  Branch (413:5): [True: 0, False: 10.6k]
  ------------------
  414|    362|    case MCSymbolRefExpr::VK_TPOFF:
  ------------------
  |  Branch (414:5): [True: 0, False: 10.6k]
  ------------------
  415|    362|    case MCSymbolRefExpr::VK_TPREL:
  ------------------
  |  Branch (415:5): [True: 0, False: 10.6k]
  ------------------
  416|    362|    case MCSymbolRefExpr::VK_DTPOFF:
  ------------------
  |  Branch (416:5): [True: 0, False: 10.6k]
  ------------------
  417|    362|    case MCSymbolRefExpr::VK_DTPREL:
  ------------------
  |  Branch (417:5): [True: 0, False: 10.6k]
  ------------------
  418|    362|    case MCSymbolRefExpr::VK_Mips_TLSGD:
  ------------------
  |  Branch (418:5): [True: 0, False: 10.6k]
  ------------------
  419|    362|    case MCSymbolRefExpr::VK_Mips_GOTTPREL:
  ------------------
  |  Branch (419:5): [True: 0, False: 10.6k]
  ------------------
  420|    362|    case MCSymbolRefExpr::VK_Mips_TPREL_HI:
  ------------------
  |  Branch (420:5): [True: 0, False: 10.6k]
  ------------------
  421|    362|    case MCSymbolRefExpr::VK_Mips_TPREL_LO:
  ------------------
  |  Branch (421:5): [True: 0, False: 10.6k]
  ------------------
  422|    492|    case MCSymbolRefExpr::VK_PPC_DTPMOD:
  ------------------
  |  Branch (422:5): [True: 130, False: 10.5k]
  ------------------
  423|    492|    case MCSymbolRefExpr::VK_PPC_TPREL_LO:
  ------------------
  |  Branch (423:5): [True: 0, False: 10.6k]
  ------------------
  424|    492|    case MCSymbolRefExpr::VK_PPC_TPREL_HI:
  ------------------
  |  Branch (424:5): [True: 0, False: 10.6k]
  ------------------
  425|    492|    case MCSymbolRefExpr::VK_PPC_TPREL_HA:
  ------------------
  |  Branch (425:5): [True: 0, False: 10.6k]
  ------------------
  426|    492|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHER:
  ------------------
  |  Branch (426:5): [True: 0, False: 10.6k]
  ------------------
  427|    492|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHERA:
  ------------------
  |  Branch (427:5): [True: 0, False: 10.6k]
  ------------------
  428|    492|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHEST:
  ------------------
  |  Branch (428:5): [True: 0, False: 10.6k]
  ------------------
  429|    492|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHESTA:
  ------------------
  |  Branch (429:5): [True: 0, False: 10.6k]
  ------------------
  430|    866|    case MCSymbolRefExpr::VK_PPC_DTPREL_LO:
  ------------------
  |  Branch (430:5): [True: 374, False: 10.3k]
  ------------------
  431|    866|    case MCSymbolRefExpr::VK_PPC_DTPREL_HI:
  ------------------
  |  Branch (431:5): [True: 0, False: 10.6k]
  ------------------
  432|    866|    case MCSymbolRefExpr::VK_PPC_DTPREL_HA:
  ------------------
  |  Branch (432:5): [True: 0, False: 10.6k]
  ------------------
  433|    866|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHER:
  ------------------
  |  Branch (433:5): [True: 0, False: 10.6k]
  ------------------
  434|    875|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHERA:
  ------------------
  |  Branch (434:5): [True: 9, False: 10.6k]
  ------------------
  435|    875|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHEST:
  ------------------
  |  Branch (435:5): [True: 0, False: 10.6k]
  ------------------
  436|    931|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHESTA:
  ------------------
  |  Branch (436:5): [True: 56, False: 10.6k]
  ------------------
  437|    948|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL:
  ------------------
  |  Branch (437:5): [True: 17, False: 10.6k]
  ------------------
  438|    948|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_LO:
  ------------------
  |  Branch (438:5): [True: 0, False: 10.6k]
  ------------------
  439|    980|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_HI:
  ------------------
  |  Branch (439:5): [True: 32, False: 10.6k]
  ------------------
  440|    980|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_HA:
  ------------------
  |  Branch (440:5): [True: 0, False: 10.6k]
  ------------------
  441|    980|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL:
  ------------------
  |  Branch (441:5): [True: 0, False: 10.6k]
  ------------------
  442|    980|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_LO:
  ------------------
  |  Branch (442:5): [True: 0, False: 10.6k]
  ------------------
  443|    980|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_HI:
  ------------------
  |  Branch (443:5): [True: 0, False: 10.6k]
  ------------------
  444|  1.00k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_HA:
  ------------------
  |  Branch (444:5): [True: 24, False: 10.6k]
  ------------------
  445|  1.00k|    case MCSymbolRefExpr::VK_PPC_TLS:
  ------------------
  |  Branch (445:5): [True: 0, False: 10.6k]
  ------------------
  446|  1.04k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD:
  ------------------
  |  Branch (446:5): [True: 43, False: 10.6k]
  ------------------
  447|  1.04k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_LO:
  ------------------
  |  Branch (447:5): [True: 0, False: 10.6k]
  ------------------
  448|  1.06k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_HI:
  ------------------
  |  Branch (448:5): [True: 14, False: 10.6k]
  ------------------
  449|  1.27k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_HA:
  ------------------
  |  Branch (449:5): [True: 217, False: 10.4k]
  ------------------
  450|  1.27k|    case MCSymbolRefExpr::VK_PPC_TLSGD:
  ------------------
  |  Branch (450:5): [True: 0, False: 10.6k]
  ------------------
  451|  1.31k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD:
  ------------------
  |  Branch (451:5): [True: 32, False: 10.6k]
  ------------------
  452|  1.31k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_LO:
  ------------------
  |  Branch (452:5): [True: 0, False: 10.6k]
  ------------------
  453|  1.31k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_HI:
  ------------------
  |  Branch (453:5): [True: 0, False: 10.6k]
  ------------------
  454|  1.32k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_HA:
  ------------------
  |  Branch (454:5): [True: 14, False: 10.6k]
  ------------------
  455|  1.32k|    case MCSymbolRefExpr::VK_PPC_TLSLD:
  ------------------
  |  Branch (455:5): [True: 0, False: 10.6k]
  ------------------
  456|  1.32k|      break;
  457|  10.6k|    }
  458|  1.32k|    getAssembler().registerSymbol(symRef.getSymbol());
  459|  1.32k|    cast<MCSymbolELF>(symRef.getSymbol()).setType(ELF::STT_TLS);
  460|  1.32k|    break;
  461|  10.6k|  }
  462|       |
  463|  1.87k|  case MCExpr::Unary:
  ------------------
  |  Branch (463:3): [True: 1.87k, False: 26.8k]
  ------------------
  464|  1.87k|    fixSymbolsInTLSFixups(cast<MCUnaryExpr>(expr)->getSubExpr());
  465|  1.87k|    break;
  466|  28.7k|  }
  467|  28.7k|}
_ZN7llvm_ks13MCELFStreamer14EmitInstToDataERNS_6MCInstERKNS_15MCSubtargetInfoERj:
  481|  1.01k|{
  482|  1.01k|  MCAssembler &Assembler = getAssembler();
  483|  1.01k|  SmallVector<MCFixup, 4> Fixups;
  484|  1.01k|  SmallString<256> Code;
  485|  1.01k|  raw_svector_ostream VecOS(Code);
  486|  1.01k|  Assembler.getEmitter().encodeInstruction(Inst, VecOS, Fixups, STI, KsError);
  487|  1.01k|  if (KsError)
  ------------------
  |  Branch (487:7): [True: 0, False: 1.01k]
  ------------------
  488|      0|      return;
  489|       |
  490|  1.80k|  for (unsigned i = 0, e = Fixups.size(); i != e; ++i)
  ------------------
  |  Branch (490:43): [True: 788, False: 1.01k]
  ------------------
  491|    788|    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|  1.01k|  MCDataFragment *DF;
  509|       |
  510|  1.01k|  if (Assembler.isBundlingEnabled()) {
  ------------------
  |  Branch (510:7): [True: 0, False: 1.01k]
  ------------------
  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|  1.01k|  } else {
  549|  1.01k|    DF = getOrCreateDataFragment();
  550|  1.01k|  }
  551|       |
  552|       |  // Add the fixups and data.
  553|  1.80k|  for (unsigned i = 0, e = Fixups.size(); i != e; ++i) {
  ------------------
  |  Branch (553:43): [True: 788, False: 1.01k]
  ------------------
  554|    788|    Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size());
  555|    788|    DF->getFixups().push_back(Fixups[i]);
  556|    788|  }
  557|  1.01k|  DF->setHasInstructions(true);
  558|  1.01k|  DF->getContents().append(Code.begin(), Code.end());
  559|       |
  560|  1.01k|  if (Assembler.isBundlingEnabled() && Assembler.getRelaxAll()) {
  ------------------
  |  Branch (560:7): [True: 0, False: 1.01k]
  |  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|  1.01k|}
_ZN7llvm_ks13MCELFStreamer10FinishImplEv:
  634|    340|{
  635|       |  // Ensure the last section gets aligned if necessary.
  636|    340|  MCSection *CurSection = getCurrentSectionOnly();
  637|    340|  setSectionAlignmentForBundling(getAssembler(), CurSection);
  638|       |
  639|    340|  EmitFrames(nullptr);
  640|    340|  return this->MCObjectStreamer::FinishImpl();
  641|    340|}
_ZN7llvm_ks17createELFStreamerERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterEb:
  645|    692|                                    bool RelaxAll) {
  646|    692|  MCELFStreamer *S = new MCELFStreamer(Context, MAB, OS, CE);
  647|    692|  if (RelaxAll)
  ------------------
  |  Branch (647:7): [True: 0, False: 692]
  ------------------
  648|      0|    S->getAssembler().setRelaxAll(true);
  649|    692|  return S;
  650|    692|}
MCELFStreamer.cpp:_ZL30setSectionAlignmentForBundlingRKN7llvm_ks11MCAssemblerEPNS_9MCSectionE:
  131|  1.24k|                                           MCSection *Section) {
  132|  1.24k|  if (Section && Assembler.isBundlingEnabled() && Section->hasInstructions() &&
  ------------------
  |  Branch (132:7): [True: 553, False: 692]
  |  Branch (132:18): [True: 0, False: 553]
  |  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|  1.24k|}

_ZN7llvm_ks12MCBinaryExpr6createENS0_6OpcodeEPKNS_6MCExprES4_RNS_9MCContextE:
  133|  25.5k|                                         const MCExpr *RHS, MCContext &Ctx) {
  134|  25.5k|  return new (Ctx) MCBinaryExpr(Opc, LHS, RHS);
  135|  25.5k|}
_ZN7llvm_ks11MCUnaryExpr6createENS0_6OpcodeEPKNS_6MCExprERNS_9MCContextE:
  138|  6.43k|                                       MCContext &Ctx) {
  139|  6.43k|  return new (Ctx) MCUnaryExpr(Opc, Expr);
  140|  6.43k|}
_ZN7llvm_ks14MCConstantExpr6createElRNS_9MCContextE:
  142|  61.4k|const MCConstantExpr *MCConstantExpr::create(int64_t Value, MCContext &Ctx) {
  143|  61.4k|  return new (Ctx) MCConstantExpr(Value);
  144|  61.4k|}
_ZN7llvm_ks15MCSymbolRefExprC2EPKNS_8MCSymbolENS0_11VariantKindEPKNS_9MCAsmInfoE:
  150|  21.1k|    : MCExpr(MCExpr::SymbolRef), Kind(Kind),
  151|  21.1k|      UseParensForSymbolVariant(MAI->useParensForSymbolVariant()),
  152|  21.1k|      HasSubsectionsViaSymbols(MAI->hasSubsectionsViaSymbols()),
  153|  21.1k|      Symbol(Symbol) {
  154|       |  assert(Symbol);
  ------------------
  |  Branch (154:3): [True: 21.1k, False: 0]
  ------------------
  155|  21.1k|}
_ZN7llvm_ks15MCSymbolRefExpr6createEPKNS_8MCSymbolENS0_11VariantKindERNS_9MCContextE:
  159|  21.1k|                                               MCContext &Ctx) {
  160|  21.1k|  return new (Ctx) MCSymbolRefExpr(Sym, Kind, Ctx.getAsmInfo());
  161|  21.1k|}
_ZN7llvm_ks15MCSymbolRefExpr21getVariantKindForNameENS_9StringRefE:
  303|  2.44k|MCSymbolRefExpr::getVariantKindForName(StringRef Name) {
  304|  2.44k|  return StringSwitch<VariantKind>(Name.lower())
  305|  2.44k|    .Case("got", VK_GOT)
  306|  2.44k|    .Case("gotoff", VK_GOTOFF)
  307|  2.44k|    .Case("gotpcrel", VK_GOTPCREL)
  308|  2.44k|    .Case("gottpoff", VK_GOTTPOFF)
  309|  2.44k|    .Case("indntpoff", VK_INDNTPOFF)
  310|  2.44k|    .Case("ntpoff", VK_NTPOFF)
  311|  2.44k|    .Case("gotntpoff", VK_GOTNTPOFF)
  312|  2.44k|    .Case("plt", VK_PLT)
  313|  2.44k|    .Case("tlsgd", VK_TLSGD)
  314|  2.44k|    .Case("tlsld", VK_TLSLD)
  315|  2.44k|    .Case("tlsldm", VK_TLSLDM)
  316|  2.44k|    .Case("tpoff", VK_TPOFF)
  317|  2.44k|    .Case("dtpoff", VK_DTPOFF)
  318|  2.44k|    .Case("tlvp", VK_TLVP)
  319|  2.44k|    .Case("tlvppage", VK_TLVPPAGE)
  320|  2.44k|    .Case("tlvppageoff", VK_TLVPPAGEOFF)
  321|  2.44k|    .Case("page", VK_PAGE)
  322|  2.44k|    .Case("pageoff", VK_PAGEOFF)
  323|  2.44k|    .Case("gotpage", VK_GOTPAGE)
  324|  2.44k|    .Case("gotpageoff", VK_GOTPAGEOFF)
  325|  2.44k|    .Case("imgrel", VK_COFF_IMGREL32)
  326|  2.44k|    .Case("secrel32", VK_SECREL)
  327|  2.44k|    .Case("size", VK_SIZE)
  328|  2.44k|    .Case("l", VK_PPC_LO)
  329|  2.44k|    .Case("h", VK_PPC_HI)
  330|  2.44k|    .Case("ha", VK_PPC_HA)
  331|  2.44k|    .Case("higher", VK_PPC_HIGHER)
  332|  2.44k|    .Case("highera", VK_PPC_HIGHERA)
  333|  2.44k|    .Case("highest", VK_PPC_HIGHEST)
  334|  2.44k|    .Case("highesta", VK_PPC_HIGHESTA)
  335|  2.44k|    .Case("got@l", VK_PPC_GOT_LO)
  336|  2.44k|    .Case("got@h", VK_PPC_GOT_HI)
  337|  2.44k|    .Case("got@ha", VK_PPC_GOT_HA)
  338|  2.44k|    .Case("local", VK_PPC_LOCAL)
  339|  2.44k|    .Case("tocbase", VK_PPC_TOCBASE)
  340|  2.44k|    .Case("toc", VK_PPC_TOC)
  341|  2.44k|    .Case("toc@l", VK_PPC_TOC_LO)
  342|  2.44k|    .Case("toc@h", VK_PPC_TOC_HI)
  343|  2.44k|    .Case("toc@ha", VK_PPC_TOC_HA)
  344|  2.44k|    .Case("tls", VK_PPC_TLS)
  345|  2.44k|    .Case("dtpmod", VK_PPC_DTPMOD)
  346|  2.44k|    .Case("tprel", VK_PPC_TPREL)
  347|  2.44k|    .Case("tprel@l", VK_PPC_TPREL_LO)
  348|  2.44k|    .Case("tprel@h", VK_PPC_TPREL_HI)
  349|  2.44k|    .Case("tprel@ha", VK_PPC_TPREL_HA)
  350|  2.44k|    .Case("tprel@higher", VK_PPC_TPREL_HIGHER)
  351|  2.44k|    .Case("tprel@highera", VK_PPC_TPREL_HIGHERA)
  352|  2.44k|    .Case("tprel@highest", VK_PPC_TPREL_HIGHEST)
  353|  2.44k|    .Case("tprel@highesta", VK_PPC_TPREL_HIGHESTA)
  354|  2.44k|    .Case("dtprel", VK_PPC_DTPREL)
  355|  2.44k|    .Case("dtprel@l", VK_PPC_DTPREL_LO)
  356|  2.44k|    .Case("dtprel@h", VK_PPC_DTPREL_HI)
  357|  2.44k|    .Case("dtprel@ha", VK_PPC_DTPREL_HA)
  358|  2.44k|    .Case("dtprel@higher", VK_PPC_DTPREL_HIGHER)
  359|  2.44k|    .Case("dtprel@highera", VK_PPC_DTPREL_HIGHERA)
  360|  2.44k|    .Case("dtprel@highest", VK_PPC_DTPREL_HIGHEST)
  361|  2.44k|    .Case("dtprel@highesta", VK_PPC_DTPREL_HIGHESTA)
  362|  2.44k|    .Case("got@tprel", VK_PPC_GOT_TPREL)
  363|  2.44k|    .Case("got@tprel@l", VK_PPC_GOT_TPREL_LO)
  364|  2.44k|    .Case("got@tprel@h", VK_PPC_GOT_TPREL_HI)
  365|  2.44k|    .Case("got@tprel@ha", VK_PPC_GOT_TPREL_HA)
  366|  2.44k|    .Case("got@dtprel", VK_PPC_GOT_DTPREL)
  367|  2.44k|    .Case("got@dtprel@l", VK_PPC_GOT_DTPREL_LO)
  368|  2.44k|    .Case("got@dtprel@h", VK_PPC_GOT_DTPREL_HI)
  369|  2.44k|    .Case("got@dtprel@ha", VK_PPC_GOT_DTPREL_HA)
  370|  2.44k|    .Case("got@tlsgd", VK_PPC_GOT_TLSGD)
  371|  2.44k|    .Case("got@tlsgd@l", VK_PPC_GOT_TLSGD_LO)
  372|  2.44k|    .Case("got@tlsgd@h", VK_PPC_GOT_TLSGD_HI)
  373|  2.44k|    .Case("got@tlsgd@ha", VK_PPC_GOT_TLSGD_HA)
  374|  2.44k|    .Case("got@tlsld", VK_PPC_GOT_TLSLD)
  375|  2.44k|    .Case("got@tlsld@l", VK_PPC_GOT_TLSLD_LO)
  376|  2.44k|    .Case("got@tlsld@h", VK_PPC_GOT_TLSLD_HI)
  377|  2.44k|    .Case("got@tlsld@ha", VK_PPC_GOT_TLSLD_HA)
  378|  2.44k|    .Case("gdgot", VK_Hexagon_GD_GOT)
  379|  2.44k|    .Case("gdplt", VK_Hexagon_GD_PLT)
  380|  2.44k|    .Case("iegot", VK_Hexagon_IE_GOT)
  381|  2.44k|    .Case("ie", VK_Hexagon_IE)
  382|  2.44k|    .Case("ldgot", VK_Hexagon_LD_GOT)
  383|  2.44k|    .Case("ldplt", VK_Hexagon_LD_PLT)
  384|  2.44k|    .Case("pcrel", VK_Hexagon_PCREL)
  385|  2.44k|    .Case("none", VK_ARM_NONE)
  386|  2.44k|    .Case("got_prel", VK_ARM_GOT_PREL)
  387|  2.44k|    .Case("target1", VK_ARM_TARGET1)
  388|  2.44k|    .Case("target2", VK_ARM_TARGET2)
  389|  2.44k|    .Case("prel31", VK_ARM_PREL31)
  390|  2.44k|    .Case("sbrel", VK_ARM_SBREL)
  391|  2.44k|    .Case("tlsldo", VK_ARM_TLSLDO)
  392|  2.44k|    .Case("tlscall", VK_ARM_TLSCALL)
  393|  2.44k|    .Case("tlsdesc", VK_ARM_TLSDESC)
  394|  2.44k|    .Default(VK_Invalid);
  395|  2.44k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERl:
  406|  53.9k|bool MCExpr::evaluateAsAbsolute(int64_t &Res) const {
  407|  53.9k|  return evaluateAsAbsolute(Res, nullptr, nullptr, nullptr);
  408|  53.9k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlRKNS_11MCAssemblerE:
  421|  3.19k|bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const {
  422|  3.19k|  return evaluateAsAbsolute(Res, &Asm, nullptr, nullptr);
  423|  3.19k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISB_EENS_6detail12DenseMapPairISB_mEEEE:
  433|  57.1k|                                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|  57.1k|  return evaluateAsAbsolute(Res, Asm, Layout, Addrs, Addrs);
  438|  57.1k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISB_EENS_6detail12DenseMapPairISB_mEEEEb:
  443|  57.1k|{
  444|  57.1k|  MCValue Value;
  445|       |
  446|       |  // Fast path constants.
  447|  57.1k|  if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(this)) {
  ------------------
  |  Branch (447:29): [True: 44.4k, False: 12.6k]
  ------------------
  448|  44.4k|    Res = CE->getValue();
  449|  44.4k|    return true;
  450|  44.4k|  }
  451|       |
  452|  12.6k|  bool valid;
  453|  12.6k|  bool IsRelocatable =
  454|  12.6k|      evaluateAsRelocatableImpl(Value, Asm, Layout, nullptr, Addrs, InSet, valid);
  455|       |
  456|       |  // Record the current value.
  457|  12.6k|  Res = Value.getConstant();
  458|       |
  459|  12.6k|  return IsRelocatable && Value.isAbsolute();
  ------------------
  |  Branch (459:10): [True: 11.0k, False: 1.66k]
  |  Branch (459:27): [True: 3.18k, False: 7.82k]
  ------------------
  460|  57.1k|}
_ZNK7llvm_ks6MCExpr21evaluateAsRelocatableERNS_7MCValueEPKNS_11MCAsmLayoutEPKNS_7MCFixupE:
  606|  1.64k|{
  607|  1.64k|  MCAssembler *Assembler = Layout ? &Layout->getAssembler() : nullptr;
  ------------------
  |  Branch (607:28): [True: 1.64k, False: 0]
  ------------------
  608|  1.64k|  bool valid;
  609|  1.64k|  return evaluateAsRelocatableImpl(Res, Assembler, Layout, Fixup, nullptr,
  610|  1.64k|                                   false, valid);
  611|  1.64k|}
_ZNK7llvm_ks6MCExpr15evaluateAsValueERNS_7MCValueERKNS_11MCAsmLayoutE:
  614|  2.08k|{
  615|  2.08k|  MCAssembler *Assembler = &Layout.getAssembler();
  616|  2.08k|  bool valid;
  617|  2.08k|  return evaluateAsRelocatableImpl(Res, Assembler, &Layout, nullptr, nullptr,
  618|  2.08k|                                   true, valid);
  619|  2.08k|}
_ZNK7llvm_ks6MCExpr25evaluateAsRelocatableImplERNS_7MCValueEPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_7MCFixupEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISF_EENS_6detail12DenseMapPairISF_mEEEEbRb:
  639|  83.5k|{
  640|  83.5k|  switch (getKind()) {
  ------------------
  |  Branch (640:11): [True: 83.5k, False: 0]
  ------------------
  641|      0|  case Target:
  ------------------
  |  Branch (641:3): [True: 0, False: 83.5k]
  ------------------
  642|      0|    return cast<MCTargetExpr>(this)->evaluateAsRelocatableImpl(Res, Layout,
  643|      0|                                                               Fixup);
  644|       |
  645|  18.4k|  case Constant:
  ------------------
  |  Branch (645:3): [True: 18.4k, False: 65.0k]
  ------------------
  646|  18.4k|    Res = MCValue::get(cast<MCConstantExpr>(this)->getValue());
  647|  18.4k|    return true;
  648|       |
  649|  22.0k|  case SymbolRef: {
  ------------------
  |  Branch (649:3): [True: 22.0k, False: 61.4k]
  ------------------
  650|  22.0k|    const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
  651|  22.0k|    const MCSymbol &Sym = SRE->getSymbol();
  652|       |
  653|       |    // Evaluate recursively if this is a variable.
  654|  22.0k|    if (Sym.isVariable() && SRE->getKind() == MCSymbolRefExpr::VK_None &&
  ------------------
  |  Branch (654:9): [True: 1.83k, False: 20.1k]
  |  Branch (654:29): [True: 1.83k, False: 0]
  ------------------
  655|  1.83k|        canExpand(Sym, InSet)) {
  ------------------
  |  Branch (655:9): [True: 450, False: 1.38k]
  ------------------
  656|    450|      bool IsMachO = SRE->hasSubsectionsViaSymbols();
  657|    450|      bool valid;
  658|    450|      if (Sym.getVariableValue()->evaluateAsRelocatableImpl(
  ------------------
  |  Branch (658:11): [True: 147, False: 303]
  ------------------
  659|    450|              Res, Asm, Layout, Fixup, Addrs, InSet || IsMachO, valid)) {
  ------------------
  |  Branch (659:47): [True: 209, False: 241]
  |  Branch (659:56): [True: 0, False: 241]
  ------------------
  660|    147|        if (!IsMachO)
  ------------------
  |  Branch (660:13): [True: 147, False: 0]
  ------------------
  661|    147|          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|    450|    }
  675|       |
  676|  21.8k|    Res = MCValue::get(SRE, nullptr, 0);
  677|  21.8k|    return true;
  678|  22.0k|  }
  679|       |
  680|  4.16k|  case Unary: {
  ------------------
  |  Branch (680:3): [True: 4.16k, False: 79.3k]
  ------------------
  681|  4.16k|    const MCUnaryExpr *AUE = cast<MCUnaryExpr>(this);
  682|  4.16k|    MCValue Value;
  683|       |
  684|  4.16k|    bool valid;
  685|  4.16k|    if (!AUE->getSubExpr()->evaluateAsRelocatableImpl(Value, Asm, Layout, Fixup,
  ------------------
  |  Branch (685:9): [True: 14, False: 4.14k]
  ------------------
  686|  4.16k|                                                      Addrs, InSet, valid))
  687|     14|      return false;
  688|       |
  689|  4.14k|    switch (AUE->getOpcode()) {
  ------------------
  |  Branch (689:13): [True: 4.14k, False: 0]
  ------------------
  690|      0|    case MCUnaryExpr::LNot:
  ------------------
  |  Branch (690:5): [True: 0, False: 4.14k]
  ------------------
  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|  2.62k|    case MCUnaryExpr::Minus:
  ------------------
  |  Branch (695:5): [True: 2.62k, False: 1.52k]
  ------------------
  696|       |      /// -(a - b + const) ==> (b - a - const)
  697|  2.62k|      if (Value.getSymA() && !Value.getSymB())
  ------------------
  |  Branch (697:11): [True: 130, False: 2.49k]
  |  Branch (697:30): [True: 130, False: 0]
  ------------------
  698|    130|        return false;
  699|  2.49k|      Res = MCValue::get(Value.getSymB(), Value.getSymA(),
  700|  2.49k|                         -Value.getConstant());
  701|  2.49k|      break;
  702|     19|    case MCUnaryExpr::Not:
  ------------------
  |  Branch (702:5): [True: 19, False: 4.12k]
  ------------------
  703|     19|      if (!Value.isAbsolute())
  ------------------
  |  Branch (703:11): [True: 2, False: 17]
  ------------------
  704|      2|        return false;
  705|     17|      Res = MCValue::get(~Value.getConstant());
  706|     17|      break;
  707|  1.50k|    case MCUnaryExpr::Plus:
  ------------------
  |  Branch (707:5): [True: 1.50k, False: 2.64k]
  ------------------
  708|  1.50k|      Res = Value;
  709|  1.50k|      break;
  710|  4.14k|    }
  711|       |
  712|  4.01k|    return true;
  713|  4.14k|  }
  714|       |
  715|  38.8k|  case Binary: {
  ------------------
  |  Branch (715:3): [True: 38.8k, False: 44.6k]
  ------------------
  716|  38.8k|    const MCBinaryExpr *ABE = cast<MCBinaryExpr>(this);
  717|  38.8k|    MCValue LHSValue, RHSValue;
  718|  38.8k|    bool valid;
  719|       |
  720|  38.8k|    if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup,
  ------------------
  |  Branch (720:9): [True: 15.2k, False: 23.6k]
  ------------------
  721|  38.8k|                                                  Addrs, InSet, valid) ||
  722|  23.6k|        !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup,
  ------------------
  |  Branch (722:9): [True: 191, False: 23.4k]
  ------------------
  723|  23.6k|                                                  Addrs, InSet, valid))
  724|  15.4k|      return false;
  725|       |
  726|       |    // We only support a few operations on non-constant expressions, handle
  727|       |    // those first.
  728|  23.4k|    if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) {
  ------------------
  |  Branch (728:9): [True: 11.0k, False: 12.3k]
  |  Branch (728:35): [True: 4.28k, False: 8.10k]
  ------------------
  729|  15.3k|      switch (ABE->getOpcode()) {
  730|    398|      default:
  ------------------
  |  Branch (730:7): [True: 398, False: 14.9k]
  ------------------
  731|    398|        return false;
  732|  11.0k|      case MCBinaryExpr::Sub:
  ------------------
  |  Branch (732:7): [True: 11.0k, False: 4.27k]
  ------------------
  733|       |        // Negate RHS and add.
  734|  11.0k|        return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue,
  735|  11.0k|                                   RHSValue.getSymB(), RHSValue.getSymA(),
  736|  11.0k|                                   -RHSValue.getConstant(), Res, valid);
  737|       |
  738|  3.87k|      case MCBinaryExpr::Add:
  ------------------
  |  Branch (738:7): [True: 3.87k, False: 11.4k]
  ------------------
  739|  3.87k|        return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue,
  740|  3.87k|                                   RHSValue.getSymA(), RHSValue.getSymB(),
  741|  3.87k|                                   RHSValue.getConstant(), Res, valid);
  742|  15.3k|      }
  743|  15.3k|    }
  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|  8.10k|    int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant();
  749|  8.10k|    int64_t Result = 0;
  750|  8.10k|    switch (ABE->getOpcode()) {
  ------------------
  |  Branch (750:13): [True: 8.10k, False: 0]
  ------------------
  751|      0|    case MCBinaryExpr::AShr: Result = LHS >> RHS; break;
  ------------------
  |  Branch (751:5): [True: 0, False: 8.10k]
  ------------------
  752|    802|    case MCBinaryExpr::Add:  Result = LHS + RHS; break;
  ------------------
  |  Branch (752:5): [True: 802, False: 7.30k]
  ------------------
  753|     26|    case MCBinaryExpr::And:  Result = LHS & RHS; break;
  ------------------
  |  Branch (753:5): [True: 26, False: 8.07k]
  ------------------
  754|    128|    case MCBinaryExpr::Div:
  ------------------
  |  Branch (754:5): [True: 128, False: 7.97k]
  ------------------
  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|    128|      if (RHS == 0)
  ------------------
  |  Branch (761:11): [True: 0, False: 128]
  ------------------
  762|      0|        return false;
  763|    128|      Result = LHS / RHS;
  764|    128|      break;
  765|  1.12k|    case MCBinaryExpr::EQ:   Result = LHS == RHS; break;
  ------------------
  |  Branch (765:5): [True: 1.12k, False: 6.98k]
  ------------------
  766|  3.08k|    case MCBinaryExpr::GT:   Result = LHS > RHS; break;
  ------------------
  |  Branch (766:5): [True: 3.08k, False: 5.02k]
  ------------------
  767|     15|    case MCBinaryExpr::GTE:  Result = LHS >= RHS; break;
  ------------------
  |  Branch (767:5): [True: 15, False: 8.08k]
  ------------------
  768|    227|    case MCBinaryExpr::LAnd: Result = LHS && RHS; break;
  ------------------
  |  Branch (768:5): [True: 227, False: 7.87k]
  |  Branch (768:39): [True: 198, False: 29]
  |  Branch (768:46): [True: 197, False: 1]
  ------------------
  769|      0|    case MCBinaryExpr::LOr:  Result = LHS || RHS; break;
  ------------------
  |  Branch (769:5): [True: 0, False: 8.10k]
  |  Branch (769:39): [True: 0, False: 0]
  |  Branch (769:46): [True: 0, False: 0]
  ------------------
  770|    165|    case MCBinaryExpr::LShr: Result = uint64_t(LHS) >> uint64_t(RHS); break;
  ------------------
  |  Branch (770:5): [True: 165, False: 7.93k]
  ------------------
  771|      3|    case MCBinaryExpr::LT:   Result = LHS < RHS; break;
  ------------------
  |  Branch (771:5): [True: 3, False: 8.10k]
  ------------------
  772|      0|    case MCBinaryExpr::LTE:  Result = LHS <= RHS; break;
  ------------------
  |  Branch (772:5): [True: 0, False: 8.10k]
  ------------------
  773|    451|    case MCBinaryExpr::Mod:
  ------------------
  |  Branch (773:5): [True: 451, False: 7.65k]
  ------------------
  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|    451|      if (RHS == 0)
  ------------------
  |  Branch (780:11): [True: 254, False: 197]
  ------------------
  781|    254|        return false;
  782|    197|      Result = LHS % RHS;
  783|    197|      break;
  784|     74|    case MCBinaryExpr::Mul:  Result = LHS * RHS; break;
  ------------------
  |  Branch (784:5): [True: 74, False: 8.02k]
  ------------------
  785|      0|    case MCBinaryExpr::NE:   Result = LHS != RHS; break;
  ------------------
  |  Branch (785:5): [True: 0, False: 8.10k]
  ------------------
  786|      0|    case MCBinaryExpr::Or:   Result = LHS | RHS; break;
  ------------------
  |  Branch (786:5): [True: 0, False: 8.10k]
  ------------------
  787|    128|    case MCBinaryExpr::Shl:  Result = uint64_t(LHS) << uint64_t(RHS); break;
  ------------------
  |  Branch (787:5): [True: 128, False: 7.97k]
  ------------------
  788|  1.87k|    case MCBinaryExpr::Sub:  Result = LHS - RHS; break;
  ------------------
  |  Branch (788:5): [True: 1.87k, False: 6.22k]
  ------------------
  789|      0|    case MCBinaryExpr::Xor:  Result = LHS ^ RHS; break;
  ------------------
  |  Branch (789:5): [True: 0, False: 8.10k]
  ------------------
  790|  8.10k|    }
  791|       |
  792|  7.84k|    Res = MCValue::get(Result);
  793|  7.84k|    return true;
  794|  8.10k|  }
  795|  83.5k|  }
  796|       |
  797|      0|  llvm_unreachable("Invalid assembly expression kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  798|  83.5k|}
_ZNK7llvm_ks6MCExpr22findAssociatedFragmentEv:
  800|  7.07k|MCFragment *MCExpr::findAssociatedFragment() const {
  801|  7.07k|  switch (getKind()) {
  ------------------
  |  Branch (801:11): [True: 7.07k, False: 0]
  ------------------
  802|      0|  case Target:
  ------------------
  |  Branch (802:3): [True: 0, False: 7.07k]
  ------------------
  803|       |    // We never look through target specific expressions.
  804|      0|    return cast<MCTargetExpr>(this)->findAssociatedFragment();
  805|       |
  806|    551|  case Constant:
  ------------------
  |  Branch (806:3): [True: 551, False: 6.52k]
  ------------------
  807|    551|    return MCSymbol::AbsolutePseudoFragment;
  808|       |
  809|  3.28k|  case SymbolRef: {
  ------------------
  |  Branch (809:3): [True: 3.28k, False: 3.79k]
  ------------------
  810|  3.28k|    const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
  811|  3.28k|    const MCSymbol &Sym = SRE->getSymbol();
  812|  3.28k|    return Sym.getFragment();
  813|      0|  }
  814|       |
  815|    358|  case Unary:
  ------------------
  |  Branch (815:3): [True: 358, False: 6.71k]
  ------------------
  816|    358|    return cast<MCUnaryExpr>(this)->getSubExpr()->findAssociatedFragment();
  817|       |
  818|  2.88k|  case Binary: {
  ------------------
  |  Branch (818:3): [True: 2.88k, False: 4.19k]
  ------------------
  819|  2.88k|    const MCBinaryExpr *BE = cast<MCBinaryExpr>(this);
  820|  2.88k|    MCFragment *LHS_F = BE->getLHS()->findAssociatedFragment();
  821|  2.88k|    MCFragment *RHS_F = BE->getRHS()->findAssociatedFragment();
  822|       |
  823|       |    // If either is absolute, return the other.
  824|  2.88k|    if (LHS_F == MCSymbol::AbsolutePseudoFragment)
  ------------------
  |  Branch (824:9): [True: 810, False: 2.07k]
  ------------------
  825|    810|      return RHS_F;
  826|  2.07k|    if (RHS_F == MCSymbol::AbsolutePseudoFragment)
  ------------------
  |  Branch (826:9): [True: 491, False: 1.58k]
  ------------------
  827|    491|      return LHS_F;
  828|       |
  829|       |    // Not always correct, but probably the best we can do without more context.
  830|  1.58k|    if (BE->getOpcode() == MCBinaryExpr::Sub)
  ------------------
  |  Branch (830:9): [True: 1.08k, False: 502]
  ------------------
  831|  1.08k|      return MCSymbol::AbsolutePseudoFragment;
  832|       |
  833|       |    // Otherwise, return the first non-null fragment.
  834|    502|    return LHS_F ? LHS_F : RHS_F;
  ------------------
  |  Branch (834:12): [True: 12, False: 490]
  ------------------
  835|  1.58k|  }
  836|  7.07k|  }
  837|       |
  838|      0|  llvm_unreachable("Invalid assembly expression kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  839|  7.07k|}
MCExpr.cpp:_ZL9canExpandRKN7llvm_ks8MCSymbolEb:
  621|  1.83k|static bool canExpand(const MCSymbol &Sym, bool InSet) {
  622|  1.83k|  const MCExpr *Expr = Sym.getVariableValue();
  623|  1.83k|  const auto *Inner = dyn_cast<MCSymbolRefExpr>(Expr);
  624|  1.83k|  if (Inner) {
  ------------------
  |  Branch (624:7): [True: 1.16k, False: 672]
  ------------------
  625|  1.16k|    if (Inner->getKind() == MCSymbolRefExpr::VK_WEAKREF)
  ------------------
  |  Branch (625:9): [True: 0, False: 1.16k]
  ------------------
  626|      0|      return false;
  627|  1.16k|  }
  628|       |
  629|  1.83k|  if (InSet)
  ------------------
  |  Branch (629:7): [True: 209, False: 1.62k]
  ------------------
  630|    209|    return true;
  631|  1.62k|  return !Sym.isInSection();
  632|  1.83k|}
MCExpr.cpp:_ZL19EvaluateSymbolicAddPKN7llvm_ks11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoIS9_EENS_6detail12DenseMapPairIS9_mEEEEbRKNS_7MCValueEPKNS_15MCSymbolRefExprESN_lRSI_Rb:
  547|  14.9k|{
  548|       |  // FIXME: This routine (and other evaluation parts) are *incredibly* sloppy
  549|       |  // about dealing with modifiers. This will ultimately bite us, one day.
  550|  14.9k|  const MCSymbolRefExpr *LHS_A = LHS.getSymA();
  551|  14.9k|  const MCSymbolRefExpr *LHS_B = LHS.getSymB();
  552|  14.9k|  int64_t LHS_Cst = LHS.getConstant();
  553|       |
  554|       |  // Fold the result constant immediately.
  555|  14.9k|  int64_t Result_Cst = LHS_Cst + RHS_Cst;
  556|       |
  557|  14.9k|  assert((!Layout || Asm) &&
  ------------------
  |  Branch (557:3): [True: 9.53k, False: 5.39k]
  |  Branch (557:3): [True: 5.39k, False: 0]
  |  Branch (557:3): [True: 14.9k, Folded]
  |  Branch (557:3): [True: 14.9k, False: 0]
  ------------------
  558|  14.9k|         "Must have an assembler object if layout is given!");
  559|       |
  560|       |  // If we have a layout, we can fold resolved differences.
  561|  14.9k|  if (Asm) {
  ------------------
  |  Branch (561:7): [True: 9.51k, False: 5.41k]
  ------------------
  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|  9.51k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, LHS_B,
  573|  9.51k|                                        Result_Cst, valid);
  574|  9.51k|    if (!valid)
  ------------------
  |  Branch (574:9): [True: 0, False: 9.51k]
  ------------------
  575|      0|        return false;
  576|  9.51k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, RHS_B,
  577|  9.51k|                                        Result_Cst, valid);
  578|  9.51k|    if (!valid)
  ------------------
  |  Branch (578:9): [True: 0, False: 9.51k]
  ------------------
  579|      0|        return false;
  580|  9.51k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, LHS_B,
  581|  9.51k|                                        Result_Cst, valid);
  582|  9.51k|    if (!valid)
  ------------------
  |  Branch (582:9): [True: 0, False: 9.51k]
  ------------------
  583|      0|        return false;
  584|  9.51k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, RHS_B,
  585|  9.51k|                                        Result_Cst, valid);
  586|  9.51k|    if (!valid)
  ------------------
  |  Branch (586:9): [True: 0, False: 9.51k]
  ------------------
  587|      0|        return false;
  588|  9.51k|  }
  589|       |
  590|       |  // We can't represent the addition or subtraction of two symbols.
  591|  14.9k|  if ((LHS_A && RHS_A) || (LHS_B && RHS_B))
  ------------------
  |  Branch (591:8): [True: 8.77k, False: 6.14k]
  |  Branch (591:17): [True: 546, False: 8.23k]
  |  Branch (591:28): [True: 1.86k, False: 12.5k]
  |  Branch (591:37): [True: 1.10k, False: 763]
  ------------------
  592|  1.65k|    return false;
  593|       |
  594|       |  // At this point, we have at most one additive symbol and one subtractive
  595|       |  // symbol -- find them.
  596|  13.2k|  const MCSymbolRefExpr *A = LHS_A ? LHS_A : RHS_A;
  ------------------
  |  Branch (596:30): [True: 7.13k, False: 6.13k]
  ------------------
  597|  13.2k|  const MCSymbolRefExpr *B = LHS_B ? LHS_B : RHS_B;
  ------------------
  |  Branch (597:30): [True: 763, False: 12.5k]
  ------------------
  598|       |
  599|  13.2k|  Res = MCValue::get(A, B, Result_Cst);
  600|  13.2k|  return true;
  601|  14.9k|}
MCExpr.cpp:_ZL35AttemptToFoldSymbolOffsetDifferencePKN7llvm_ks11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoIS9_EENS_6detail12DenseMapPairIS9_mEEEEbRPKNS_15MCSymbolRefExprESL_RlRb:
  466|  38.0k|    const MCSymbolRefExpr *&B, int64_t &Addend, bool &valid) {
  467|  38.0k|  valid = true;
  468|  38.0k|  if (!A || !B)
  ------------------
  |  Branch (468:7): [True: 21.6k, False: 16.4k]
  |  Branch (468:13): [True: 11.2k, False: 5.18k]
  ------------------
  469|  32.8k|    return;
  470|       |
  471|  5.18k|  const MCSymbol &SA = A->getSymbol();
  472|  5.18k|  const MCSymbol &SB = B->getSymbol();
  473|       |
  474|  5.18k|  if (SA.isUndefined() || SB.isUndefined())
  ------------------
  |  Branch (474:7): [True: 1.39k, False: 3.79k]
  |  Branch (474:27): [True: 1.83k, False: 1.95k]
  ------------------
  475|  3.22k|    return;
  476|       |
  477|  1.95k|  if (!Asm->getWriter().isSymbolRefDifferenceFullyResolved(*Asm, A, B, InSet, valid))
  ------------------
  |  Branch (477:7): [True: 0, False: 1.95k]
  ------------------
  478|      0|    return;
  479|  1.95k|  if (!valid)
  ------------------
  |  Branch (479:7): [True: 0, False: 1.95k]
  ------------------
  480|      0|      return;
  481|       |
  482|  1.95k|  if (SA.getFragment() == SB.getFragment() && !SA.isVariable() &&
  ------------------
  |  Branch (482:7): [True: 1.48k, False: 468]
  |  Branch (482:47): [True: 1.24k, False: 240]
  ------------------
  483|  1.24k|      !SB.isVariable()) {
  ------------------
  |  Branch (483:7): [True: 997, False: 249]
  ------------------
  484|    997|    Addend += (SA.getOffset() - SB.getOffset());
  485|       |
  486|       |    // Pointers to Thumb symbols need to have their low-bit set to allow
  487|       |    // for interworking.
  488|    997|    if (Asm->isThumbFunc(&SA))
  ------------------
  |  Branch (488:9): [True: 0, False: 997]
  ------------------
  489|      0|      Addend |= 1;
  490|       |
  491|       |    // Clear the symbol expr pointers to indicate we have folded these
  492|       |    // operands.
  493|    997|    A = B = nullptr;
  494|    997|    return;
  495|    997|  }
  496|       |
  497|    957|  if (!Layout)
  ------------------
  |  Branch (497:7): [True: 313, False: 644]
  ------------------
  498|    313|    return;
  499|       |
  500|    644|  const MCSection &SecA = *SA.getFragment()->getParent();
  501|    644|  const MCSection &SecB = *SB.getFragment()->getParent();
  502|       |
  503|    644|  if ((&SecA != &SecB) && !Addrs)
  ------------------
  |  Branch (503:7): [True: 0, False: 644]
  |  Branch (503:27): [True: 0, False: 0]
  ------------------
  504|      0|    return;
  505|       |
  506|       |  // Eagerly evaluate.
  507|    644|  bool valid1, valid2;
  508|    644|  Addend += Layout->getSymbolOffset(A->getSymbol(), valid1) -
  509|    644|            Layout->getSymbolOffset(B->getSymbol(), valid2);
  510|    644|  if (Addrs && (&SecA != &SecB))
  ------------------
  |  Branch (510:7): [True: 0, False: 644]
  |  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|    644|  if (Asm->isThumbFunc(&SA))
  ------------------
  |  Branch (515:7): [True: 0, False: 644]
  ------------------
  516|      0|    Addend |= 1;
  517|       |
  518|       |  // Clear the symbol expr pointers to indicate we have folded these
  519|       |  // operands.
  520|    644|  A = B = nullptr;
  521|    644|}

_ZN7llvm_ks11MCAsmLayoutC2ERNS_11MCAssemblerE:
   32|    340|  : Assembler(Asm), LastValidFragment()
   33|    340| {
   34|       |  // Compute the section layout order. Virtual sections must go last.
   35|    340|  for (MCSection &Sec : Asm)
  ------------------
  |  Branch (35:23): [True: 351, False: 340]
  ------------------
   36|    351|    if (!Sec.isVirtualSection())
  ------------------
  |  Branch (36:9): [True: 351, False: 0]
  ------------------
   37|    351|      SectionOrder.push_back(&Sec);
   38|    340|  for (MCSection &Sec : Asm)
  ------------------
  |  Branch (38:23): [True: 351, False: 340]
  ------------------
   39|    351|    if (Sec.isVirtualSection())
  ------------------
  |  Branch (39:9): [True: 0, False: 351]
  ------------------
   40|      0|      SectionOrder.push_back(&Sec);
   41|    340|}
_ZNK7llvm_ks11MCAsmLayout15isFragmentValidEPKNS_10MCFragmentE:
   43|  38.2k|bool MCAsmLayout::isFragmentValid(const MCFragment *F) const {
   44|  38.2k|  const MCSection *Sec = F->getParent();
   45|  38.2k|  const MCFragment *LastValid = LastValidFragment.lookup(Sec);
   46|  38.2k|  if (!LastValid)
  ------------------
  |  Branch (46:7): [True: 702, False: 37.5k]
  ------------------
   47|    702|    return false;
   48|  38.2k|  assert(LastValid->getParent() == Sec);
  ------------------
  |  Branch (48:3): [True: 37.5k, False: 0]
  ------------------
   49|  37.5k|  return F->getLayoutOrder() <= LastValid->getLayoutOrder();
   50|  37.5k|}
_ZNK7llvm_ks11MCAsmLayout11ensureValidEPKNS_10MCFragmentE:
   63|  6.31k|{
   64|  6.31k|  MCSection *Sec = F->getParent();
   65|  6.31k|  MCSection::iterator I;
   66|  6.31k|  if (MCFragment *Cur = LastValidFragment[Sec])
  ------------------
  |  Branch (66:19): [True: 5.96k, False: 351]
  ------------------
   67|  5.96k|    I = ++MCSection::iterator(Cur);
   68|    351|  else
   69|    351|    I = Sec->begin();
   70|       |
   71|       |  // Advance the layout position until the fragment is valid.
   72|  17.0k|  while (!isFragmentValid(F)) {
  ------------------
  |  Branch (72:10): [True: 11.3k, False: 5.75k]
  ------------------
   73|       |    //assert(I != Sec->end() && "Layout bookkeeping error");
   74|  11.3k|    if (I == Sec->end())
  ------------------
  |  Branch (74:9): [True: 559, False: 10.7k]
  ------------------
   75|    559|        return false;
   76|  10.7k|    if (const_cast<MCAsmLayout *>(this)->layoutFragment(&*I))
  ------------------
  |  Branch (76:9): [True: 2, False: 10.7k]
  ------------------
   77|      2|        return false;
   78|  10.7k|    ++I;
   79|  10.7k|  }
   80|       |
   81|  5.75k|  return true;
   82|  6.31k|}
_ZNK7llvm_ks11MCAsmLayout17getFragmentOffsetEPKNS_10MCFragmentERb:
   85|  6.31k|{
   86|  6.31k|  valid = true;
   87|  6.31k|  if (!ensureValid(F)) {
  ------------------
  |  Branch (87:7): [True: 561, False: 5.75k]
  ------------------
   88|    561|      valid = false;
   89|    561|      return 0;
   90|    561|  }
   91|       |  //assert(F->Offset != ~UINT64_C(0) && "Address not set!");
   92|  5.75k|  if (F->Offset == ~UINT64_C(0)) {
  ------------------
  |  Branch (92:7): [True: 0, False: 5.75k]
  ------------------
   93|      0|      valid = false;
   94|      0|      return 0;
   95|      0|  }
   96|       |
   97|  5.75k|  return F->Offset;
   98|  5.75k|}
_ZNK7llvm_ks11MCAsmLayout15getSymbolOffsetERKNS_8MCSymbolERmRb:
  156|    358|{
  157|    358|  return getSymbolOffsetImpl(*this, S, false, Val, valid);
  158|    358|}
_ZNK7llvm_ks11MCAsmLayout15getSymbolOffsetERKNS_8MCSymbolERb:
  161|  3.02k|{
  162|  3.02k|  uint64_t Val;
  163|  3.02k|  getSymbolOffsetImpl(*this, S, true, Val, valid);
  164|  3.02k|  return Val;
  165|  3.02k|}
_ZN7llvm_ks17ilist_node_traitsINS_10MCFragmentEE10deleteNodeEPS1_:
  264|  10.9k|void ilist_node_traits<MCFragment>::deleteNode(MCFragment *V) {
  265|  10.9k|  V->destroy();
  266|  10.9k|}
_ZN7llvm_ks10MCFragmentC2Ev:
  268|    724|MCFragment::MCFragment() : Kind(FragmentType(~0)), HasInstructions(false),
  269|    724|                           AlignToBundleEnd(false), BundlePadding(0) {
  270|    724|}
_ZN7llvm_ks10MCFragmentD2Ev:
  272|  41.7k|MCFragment::~MCFragment() { }
_ZN7llvm_ks10MCFragmentC2ENS0_12FragmentTypeEbhPNS_9MCSectionE:
  276|  41.0k|    : Kind(Kind), HasInstructions(HasInstructions), AlignToBundleEnd(false),
  277|  41.0k|      BundlePadding(BundlePadding), Parent(Parent), Atom(nullptr),
  278|  41.0k|      Offset(~UINT64_C(0)) {
  279|  41.0k|  if (Parent && !isDummy())
  ------------------
  |  Branch (279:7): [True: 30.1k, False: 10.9k]
  |  Branch (279:17): [True: 0, False: 30.1k]
  ------------------
  280|      0|    Parent->getFragmentList().push_back(this);
  281|  41.0k|}
_ZN7llvm_ks10MCFragment7destroyEv:
  283|  10.9k|void MCFragment::destroy() {
  284|       |  // First check if we are the sentinal.
  285|  10.9k|  if (Kind == FragmentType(~0)) {
  ------------------
  |  Branch (285:7): [True: 0, False: 10.9k]
  ------------------
  286|      0|    delete this;
  287|      0|    return;
  288|      0|  }
  289|       |
  290|  10.9k|  switch (Kind) {
  ------------------
  |  Branch (290:11): [True: 10.9k, False: 0]
  ------------------
  291|     33|    case FT_Align:
  ------------------
  |  Branch (291:5): [True: 33, False: 10.9k]
  ------------------
  292|     33|      delete cast<MCAlignFragment>(this);
  293|     33|      return;
  294|    774|    case FT_Data:
  ------------------
  |  Branch (294:5): [True: 774, False: 10.1k]
  ------------------
  295|    774|      delete cast<MCDataFragment>(this);
  296|    774|      return;
  297|      0|    case FT_CompactEncodedInst:
  ------------------
  |  Branch (297:5): [True: 0, False: 10.9k]
  ------------------
  298|      0|      delete cast<MCCompactEncodedInstFragment>(this);
  299|      0|      return;
  300|  9.19k|    case FT_Fill:
  ------------------
  |  Branch (300:5): [True: 9.19k, False: 1.75k]
  ------------------
  301|  9.19k|      delete cast<MCFillFragment>(this);
  302|  9.19k|      return;
  303|      0|    case FT_Relaxable:
  ------------------
  |  Branch (303:5): [True: 0, False: 10.9k]
  ------------------
  304|      0|      delete cast<MCRelaxableFragment>(this);
  305|      0|      return;
  306|    952|    case FT_Org:
  ------------------
  |  Branch (306:5): [True: 952, False: 10.0k]
  ------------------
  307|    952|      delete cast<MCOrgFragment>(this);
  308|    952|      return;
  309|      0|    case FT_Dwarf:
  ------------------
  |  Branch (309:5): [True: 0, False: 10.9k]
  ------------------
  310|      0|      delete cast<MCDwarfLineAddrFragment>(this);
  311|      0|      return;
  312|      0|    case FT_DwarfFrame:
  ------------------
  |  Branch (312:5): [True: 0, False: 10.9k]
  ------------------
  313|      0|      delete cast<MCDwarfCallFrameFragment>(this);
  314|      0|      return;
  315|      0|    case FT_LEB:
  ------------------
  |  Branch (315:5): [True: 0, False: 10.9k]
  ------------------
  316|      0|      delete cast<MCLEBFragment>(this);
  317|      0|      return;
  318|      0|    case FT_SafeSEH:
  ------------------
  |  Branch (318:5): [True: 0, False: 10.9k]
  ------------------
  319|      0|      delete cast<MCSafeSEHFragment>(this);
  320|      0|      return;
  321|      0|    case FT_Dummy:
  ------------------
  |  Branch (321:5): [True: 0, False: 10.9k]
  ------------------
  322|      0|      delete cast<MCDummyFragment>(this);
  323|      0|      return;
  324|  10.9k|  }
  325|  10.9k|}
MCFragment.cpp:_ZL19getSymbolOffsetImplRKN7llvm_ks11MCAsmLayoutERKNS_8MCSymbolEbRmRb:
  119|  3.37k|{
  120|  3.37k|  valid = true;
  121|  3.37k|  if (!S.isVariable())
  ------------------
  |  Branch (121:7): [True: 2.38k, False: 997]
  ------------------
  122|  2.38k|    return getLabelOffset(Layout, S, ReportError, Val);
  123|       |
  124|       |  // If SD is a variable, evaluate it.
  125|    997|  MCValue Target;
  126|    997|  if (!S.getVariableValue()->evaluateAsValue(Target, Layout)) {
  ------------------
  |  Branch (126:7): [True: 201, False: 796]
  ------------------
  127|       |    //report_fatal_error("unable to evaluate offset for variable '" +
  128|       |    //                   S.getName() + "'");
  129|    201|    valid = false;
  130|    201|    return false;
  131|    201|  }
  132|       |
  133|    796|  uint64_t Offset = Target.getConstant();
  134|       |
  135|    796|  const MCSymbolRefExpr *A = Target.getSymA();
  136|    796|  if (A) {
  ------------------
  |  Branch (136:7): [True: 596, False: 200]
  ------------------
  137|    596|    uint64_t ValA;
  138|    596|    if (!getLabelOffset(Layout, A->getSymbol(), ReportError, ValA))
  ------------------
  |  Branch (138:9): [True: 407, False: 189]
  ------------------
  139|    407|      return false;
  140|    189|    Offset += ValA;
  141|    189|  }
  142|       |
  143|    389|  const MCSymbolRefExpr *B = Target.getSymB();
  144|    389|  if (B) {
  ------------------
  |  Branch (144:7): [True: 200, False: 189]
  ------------------
  145|    200|    uint64_t ValB;
  146|    200|    if (!getLabelOffset(Layout, B->getSymbol(), ReportError, ValB))
  ------------------
  |  Branch (146:9): [True: 0, False: 200]
  ------------------
  147|      0|      return false;
  148|    200|    Offset -= ValB;
  149|    200|  }
  150|       |
  151|    389|  Val = Offset;
  152|    389|  return true;
  153|    389|}
MCFragment.cpp:_ZL14getLabelOffsetRKN7llvm_ks11MCAsmLayoutERKNS_8MCSymbolEbRm:
  103|  3.17k|{
  104|  3.17k|  if (!S.getFragment()) {
  ------------------
  |  Branch (104:7): [True: 2, False: 3.17k]
  ------------------
  105|      2|    if (ReportError)
  ------------------
  |  Branch (105:9): [True: 0, False: 2]
  ------------------
  106|      0|      report_fatal_error("unable to evaluate offset to undefined symbol '" +
  107|      0|                         S.getName() + "'");
  108|      2|    return false;
  109|      2|  }
  110|       |
  111|  3.17k|  bool valid;
  112|  3.17k|  Val = Layout.getFragmentOffset(S.getFragment(), valid) + S.getOffset();
  113|       |
  114|  3.17k|  return valid;
  115|  3.17k|}

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

_ZN7llvm_ks16MCObjectStreamerC2ERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterE:
   32|    692|    : MCStreamer(Context),
   33|    692|      Assembler(new MCAssembler(Context, TAB, *Emitter_,
   34|    692|                                *TAB.createObjectWriter(OS))),
   35|    692|      EmitEHFrame(true), EmitDebugFrame(false) {}
_ZN7llvm_ks16MCObjectStreamerD2Ev:
   37|    692|MCObjectStreamer::~MCObjectStreamer() {
   38|    692|  delete &Assembler->getWriter();
   39|    692|  delete Assembler;
   40|    692|}
_ZN7llvm_ks16MCObjectStreamer18flushPendingLabelsEPNS_10MCFragmentEm:
   42|  3.52M|void MCObjectStreamer::flushPendingLabels(MCFragment *F, uint64_t FOffset) {
   43|  3.52M|  if (PendingLabels.empty())
  ------------------
  |  Branch (43:7): [True: 3.51M, False: 1.25k]
  ------------------
   44|  3.51M|    return;
   45|  1.25k|  if (!F) {
  ------------------
  |  Branch (45:7): [True: 307, False: 947]
  ------------------
   46|    307|    F = new MCDataFragment();
   47|    307|    MCSection *CurSection = getCurrentSectionOnly();
   48|    307|    CurSection->getFragmentList().insert(CurInsertionPoint, F);
   49|    307|    F->setParent(CurSection);
   50|    307|  }
   51|  4.04k|  for (MCSymbol *Sym : PendingLabels) {
  ------------------
  |  Branch (51:22): [True: 4.04k, False: 1.25k]
  ------------------
   52|  4.04k|    Sym->setFragment(F);
   53|  4.04k|    Sym->setOffset(FOffset);
   54|  4.04k|  }
   55|  1.25k|  PendingLabels.clear();
   56|  1.25k|}
_ZN7llvm_ks16MCObjectStreamer10EmitFramesEPNS_12MCAsmBackendE:
   83|    340|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|    340|}
_ZNK7llvm_ks16MCObjectStreamer18getCurrentFragmentEv:
   96|  3.55M|MCFragment *MCObjectStreamer::getCurrentFragment() const {
   97|  3.55M|  assert(getCurrentSectionOnly() && "No current section!");
  ------------------
  |  Branch (97:3): [True: 3.55M, False: 0]
  |  Branch (97:3): [True: 3.55M, Folded]
  |  Branch (97:3): [True: 3.55M, False: 0]
  ------------------
   98|       |
   99|  3.55M|  if (CurInsertionPoint != getCurrentSectionOnly()->getFragmentList().begin())
  ------------------
  |  Branch (99:7): [True: 3.52M, False: 27.5k]
  ------------------
  100|  3.52M|    return &*std::prev(CurInsertionPoint);
  101|       |
  102|  27.5k|  return nullptr;
  103|  3.55M|}
_ZN7llvm_ks16MCObjectStreamer23getOrCreateDataFragmentEv:
  105|  3.50M|MCDataFragment *MCObjectStreamer::getOrCreateDataFragment() {
  106|  3.50M|  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|  3.50M|  if (!F || (Assembler->isBundlingEnabled() && !Assembler->getRelaxAll() &&
  ------------------
  |  Branch (109:7): [True: 467, False: 3.50M]
  |  Branch (109:14): [True: 0, False: 3.50M]
  |  Branch (109:48): [True: 0, False: 0]
  ------------------
  110|    467|             F->hasInstructions())) {
  ------------------
  |  Branch (110:14): [True: 0, False: 0]
  ------------------
  111|    467|    F = new MCDataFragment();
  112|    467|    insert(F);
  113|    467|  }
  114|  3.50M|  return F;
  115|  3.50M|}
_ZN7llvm_ks16MCObjectStreamer15visitUsedSymbolERKNS_8MCSymbolE:
  117|  11.4k|void MCObjectStreamer::visitUsedSymbol(const MCSymbol &Sym) {
  118|  11.4k|  Assembler->registerSymbol(Sym);
  119|  11.4k|}
_ZN7llvm_ks16MCObjectStreamer13EmitValueImplEPKNS_6MCExprEjNS_5SMLocE:
  129|  3.19k|{
  130|  3.19k|  MCStreamer::EmitValueImpl(Value, Size, Loc);
  131|  3.19k|  MCDataFragment *DF = getOrCreateDataFragment();
  132|  3.19k|  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|  3.19k|  int64_t AbsValue;
  149|  3.19k|  bool Error;
  150|  3.19k|  if (Value->evaluateAsAbsolute(AbsValue, getAssembler())) {
  ------------------
  |  Branch (150:7): [True: 66, False: 3.12k]
  ------------------
  151|       |    // TODO: hande Error?
  152|     66|    EmitIntValue(AbsValue, Size, Error);
  153|     66|    return;
  154|     66|  }
  155|  3.12k|  DF->getFixups().push_back(
  156|  3.12k|      MCFixup::create(DF->getContents().size(), Value,
  157|  3.12k|                      MCFixup::getKindForSize(Size, false), Loc));
  158|  3.12k|  DF->getContents().resize(DF->getContents().size() + Size, 0);
  159|  3.12k|}
_ZN7llvm_ks16MCObjectStreamer9EmitLabelEPNS_8MCSymbolE:
  172|  8.87k|void MCObjectStreamer::EmitLabel(MCSymbol *Symbol) {
  173|  8.87k|  MCStreamer::EmitLabel(Symbol);
  174|       |
  175|  8.87k|  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|  8.87k|  auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  181|  8.87k|  if (F && !(getAssembler().isBundlingEnabled() &&
  ------------------
  |  Branch (181:7): [True: 2.14k, False: 6.72k]
  |  Branch (181:14): [True: 0, False: 2.14k]
  ------------------
  182|  2.14k|             getAssembler().getRelaxAll())) {
  ------------------
  |  Branch (182:14): [True: 0, False: 0]
  ------------------
  183|  2.14k|    Symbol->setFragment(F);
  184|  2.14k|    Symbol->setOffset(F->getContents().size());
  185|  6.72k|  } else {
  186|  6.72k|    PendingLabels.push_back(Symbol);
  187|  6.72k|  }
  188|  8.87k|}
_ZN7llvm_ks16MCObjectStreamer13ChangeSectionEPNS_9MCSectionEPKNS_6MCExprE:
  214|    905|                                     const MCExpr *Subsection) {
  215|    905|  changeSectionImpl(Section, Subsection);
  216|    905|}
_ZN7llvm_ks16MCObjectStreamer17changeSectionImplEPNS_9MCSectionEPKNS_6MCExprE:
  219|    905|                                         const MCExpr *Subsection) {
  220|    905|  assert(Section && "Cannot switch to a null section!");
  ------------------
  |  Branch (220:3): [True: 905, False: 0]
  |  Branch (220:3): [True: 905, Folded]
  |  Branch (220:3): [True: 905, False: 0]
  ------------------
  221|    905|  flushPendingLabels(nullptr);
  222|       |
  223|    905|  bool Created = getAssembler().registerSection(*Section);
  224|       |
  225|    905|  int64_t IntSubsection = 0;
  226|    905|  if (Subsection &&
  ------------------
  |  Branch (226:7): [True: 0, False: 905]
  ------------------
  227|      0|      !Subsection->evaluateAsAbsolute(IntSubsection, getAssembler()))
  ------------------
  |  Branch (227:7): [True: 0, False: 0]
  ------------------
  228|      0|    report_fatal_error("Cannot evaluate subsection number");
  229|    905|  if (IntSubsection < 0 || IntSubsection > 8192)
  ------------------
  |  Branch (229:7): [True: 0, False: 905]
  |  Branch (229:28): [True: 0, False: 905]
  ------------------
  230|      0|    report_fatal_error("Subsection number out of range");
  231|    905|  CurInsertionPoint =
  232|    905|      Section->getSubsectionInsertionPoint(unsigned(IntSubsection));
  233|    905|  return Created;
  234|    905|}
_ZN7llvm_ks16MCObjectStreamer14EmitAssignmentEPNS_8MCSymbolEPKNS_6MCExprE:
  236|    941|bool MCObjectStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
  237|    941|  getAssembler().registerSymbol(*Symbol);
  238|    941|  return MCStreamer::EmitAssignment(Symbol, Value);
  239|    941|}
_ZN7llvm_ks16MCObjectStreamer15EmitInstructionERNS_6MCInstERKNS_15MCSubtargetInfoERj:
  248|  1.01k|{
  249|  1.01k|  MCStreamer::EmitInstruction(Inst, STI, KsError);
  250|       |
  251|  1.01k|  MCSection *Sec = getCurrentSectionOnly();
  252|  1.01k|  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|  1.01k|  MCAssembler &Assembler = getAssembler();
  261|  1.01k|  if (!Assembler.getBackend().mayNeedRelaxation(Inst)) {
  ------------------
  |  Branch (261:7): [True: 1.01k, False: 0]
  ------------------
  262|  1.01k|    EmitInstToData(Inst, STI, KsError);
  263|  1.01k|    return;
  264|  1.01k|  }
  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|  3.50M|void MCObjectStreamer::EmitBytes(StringRef Data) {
  429|       |  //MCCVLineEntry::Make(this);
  430|       |  //MCDwarfLineEntry::Make(this, getCurrentSection().first);
  431|  3.50M|  MCDataFragment *DF = getOrCreateDataFragment();
  432|  3.50M|  flushPendingLabels(DF, DF->getContents().size());
  433|  3.50M|  DF->getContents().append(Data.begin(), Data.end());
  434|  3.50M|}
_ZN7llvm_ks16MCObjectStreamer20EmitValueToAlignmentEjljj:
  439|     33|                                            unsigned MaxBytesToEmit) {
  440|     33|  if (MaxBytesToEmit == 0)
  ------------------
  |  Branch (440:7): [True: 33, False: 0]
  ------------------
  441|     33|    MaxBytesToEmit = ByteAlignment;
  442|     33|  insert(new MCAlignFragment(ByteAlignment, Value, ValueSize, MaxBytesToEmit));
  443|       |
  444|       |  // Update the maximum alignment on the current section if necessary.
  445|     33|  MCSection *CurSec = getCurrentSection().first;
  446|     33|  if (ByteAlignment > CurSec->getAlignment())
  ------------------
  |  Branch (446:7): [True: 1, False: 32]
  ------------------
  447|      1|    CurSec->setAlignment(ByteAlignment);
  448|     33|}
_ZN7llvm_ks16MCObjectStreamer17emitValueToOffsetEPKNS_6MCExprEh:
  457|    952|                                         unsigned char Value) {
  458|    952|  insert(new MCOrgFragment(*Offset, Value));
  459|    952|}
_ZN7llvm_ks16MCObjectStreamer8EmitFillEmh:
  506|  9.19k|void MCObjectStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue) {
  507|  9.19k|  const MCSection *Sec = getCurrentSection().first;
  508|  9.19k|  (void)Sec;
  509|  9.19k|  assert(Sec && "need a section");
  ------------------
  |  Branch (509:3): [True: 9.19k, False: 0]
  |  Branch (509:3): [True: 9.19k, Folded]
  |  Branch (509:3): [True: 9.19k, False: 0]
  ------------------
  510|  9.19k|  insert(new MCFillFragment(FillValue, NumBytes));
  511|  9.19k|}
_ZN7llvm_ks16MCObjectStreamer10FinishImplEv:
  514|    340|{
  515|    340|  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|    340|  flushPendingLabels(nullptr);
  524|    340|  getAssembler().setSymResolver(getSymResolver());
  525|    340|  getAssembler().Finish(KsError);
  526|       |
  527|    340|  return KsError;
  528|    340|}
_ZN7llvm_ks16MCObjectStreamer22getCurrentFragmentSizeEv:
  530|  36.8k|uint64_t MCObjectStreamer::getCurrentFragmentSize() {
  531|  36.8k|  auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  532|  36.8k|  if (nullptr != F)
  ------------------
  |  Branch (532:7): [True: 4.54k, False: 32.3k]
  ------------------
  533|  4.54k|      return F->getContents().size();
  534|  32.3k|  return 0;
  535|  36.8k|}

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

_ZN7llvm_ks8AsmLexerC2ERKNS_9MCAsmInfoE:
   24|    692|AsmLexer::AsmLexer(const MCAsmInfo &MAI) : MAI(MAI) {
   25|    692|  CurPtr = nullptr;
   26|    692|  isAtStartOfLine = true;
   27|    692|  AllowAtInIdentifier = !StringRef(MAI.getCommentString()).startswith("@");
   28|    692|  defaultRadix = MAI.getRadix();
   29|    692|}
_ZN7llvm_ks8AsmLexerD2Ev:
   31|    692|AsmLexer::~AsmLexer() {
   32|    692|}
_ZN7llvm_ks8AsmLexer9setBufferENS_9StringRefEPKc:
   34|  11.7k|void AsmLexer::setBuffer(StringRef Buf, const char *ptr) {
   35|  11.7k|  CurBuf = Buf;
   36|       |
   37|  11.7k|  if (ptr)
  ------------------
  |  Branch (37:7): [True: 5.51k, False: 6.20k]
  ------------------
   38|  5.51k|    CurPtr = ptr;
   39|  6.20k|  else
   40|  6.20k|    CurPtr = CurBuf.begin();
   41|       |
   42|  11.7k|  TokStart = nullptr;
   43|  11.7k|}
_ZN7llvm_ks8AsmLexer11ReturnErrorEPKcRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
   48|  29.2k|{
   49|       |  //SetError(SMLoc::getFromPointer(Loc), Msg);
   50|       |
   51|  29.2k|  return AsmToken(AsmToken::Error, StringRef(Loc, 0));
   52|  29.2k|}
_ZN7llvm_ks8AsmLexer11getNextCharEv:
   54|   686k|int AsmLexer::getNextChar() {
   55|   686k|  char CurChar = *CurPtr++;
   56|   686k|  switch (CurChar) {
   57|   684k|  default:
  ------------------
  |  Branch (57:3): [True: 684k, False: 1.17k]
  ------------------
   58|   684k|    return (unsigned char)CurChar;
   59|  1.17k|  case 0:
  ------------------
  |  Branch (59:3): [True: 1.17k, False: 684k]
  ------------------
   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|  1.17k|    if (CurPtr - 1 != CurBuf.end())
  ------------------
  |  Branch (62:9): [True: 0, False: 1.17k]
  ------------------
   63|      0|      return 0;  // Just whitespace.
   64|       |
   65|       |    // Otherwise, return end of file.
   66|  1.17k|    --CurPtr;  // Another call to lex will return EOF again.
   67|       |    return EOF;
   68|   686k|  }
   69|   686k|}
_ZN7llvm_ks8AsmLexer15LexFloatLiteralEv:
   76|  5.06k|AsmToken AsmLexer::LexFloatLiteral() {
   77|       |  // Skip the fractional digit sequence.
   78|  5.06k|  while (isdigit(*CurPtr))
  ------------------
  |  Branch (78:10): [True: 0, False: 5.06k]
  ------------------
   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|  5.06k|  if (*CurPtr == 'e' || *CurPtr == 'E') {
  ------------------
  |  Branch (84:7): [True: 835, False: 4.22k]
  |  Branch (84:25): [True: 660, False: 3.56k]
  ------------------
   85|  1.49k|    ++CurPtr;
   86|  1.49k|    if (*CurPtr == '-' || *CurPtr == '+')
  ------------------
  |  Branch (86:9): [True: 1.11k, False: 378]
  |  Branch (86:27): [True: 154, False: 224]
  ------------------
   87|  1.27k|      ++CurPtr;
   88|  5.23k|    while (isdigit(*CurPtr))
  ------------------
  |  Branch (88:12): [True: 3.73k, False: 1.49k]
  ------------------
   89|  3.73k|      ++CurPtr;
   90|  1.49k|  }
   91|       |
   92|  5.06k|  return AsmToken(AsmToken::Real,
   93|  5.06k|                  StringRef(TokStart, CurPtr - TokStart));
   94|  5.06k|}
_ZN7llvm_ks8AsmLexer18LexHexFloatLiteralEb:
  103|  1.66k|{
  104|  1.66k|  assert((*CurPtr == 'p' || *CurPtr == 'P' || *CurPtr == '.') &&
  ------------------
  |  Branch (104:3): [True: 658, False: 1.00k]
  |  Branch (104:3): [True: 249, False: 754]
  |  Branch (104:3): [True: 754, False: 0]
  |  Branch (104:3): [True: 1.66k, Folded]
  |  Branch (104:3): [True: 1.66k, False: 0]
  ------------------
  105|  1.66k|         "unexpected parse state in floating hex");
  106|  1.66k|  bool NoFracDigits = true;
  107|       |
  108|       |  // Skip the fractional part if there is one
  109|  1.66k|  if (*CurPtr == '.') {
  ------------------
  |  Branch (109:7): [True: 754, False: 907]
  ------------------
  110|    754|    ++CurPtr;
  111|       |
  112|    754|    const char *FracStart = CurPtr;
  113|  11.6k|    while (isxdigit(*CurPtr))
  ------------------
  |  Branch (113:12): [True: 10.9k, False: 754]
  ------------------
  114|  10.9k|      ++CurPtr;
  115|       |
  116|    754|    NoFracDigits = CurPtr == FracStart;
  117|    754|  }
  118|       |
  119|  1.66k|  if (NoIntDigits && NoFracDigits)
  ------------------
  |  Branch (119:7): [True: 586, False: 1.07k]
  |  Branch (119:22): [True: 2, False: 584]
  ------------------
  120|      2|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  121|      2|                                 "expected at least one significand digit");
  122|       |
  123|       |  // Make sure we do have some kind of proper exponent part
  124|  1.65k|  if (*CurPtr != 'p' && *CurPtr != 'P')
  ------------------
  |  Branch (124:7): [True: 834, False: 825]
  |  Branch (124:25): [True: 110, False: 724]
  ------------------
  125|    110|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  126|    110|                                 "expected exponent part 'p'");
  127|  1.54k|  ++CurPtr;
  128|       |
  129|  1.54k|  if (*CurPtr == '+' || *CurPtr == '-')
  ------------------
  |  Branch (129:7): [True: 466, False: 1.08k]
  |  Branch (129:25): [True: 102, False: 981]
  ------------------
  130|    568|    ++CurPtr;
  131|       |
  132|       |  // N.b. exponent digits are *not* hex
  133|  1.54k|  const char *ExpStart = CurPtr;
  134|  4.91k|  while (isdigit(*CurPtr))
  ------------------
  |  Branch (134:10): [True: 3.36k, False: 1.54k]
  ------------------
  135|  3.36k|    ++CurPtr;
  136|       |
  137|  1.54k|  if (CurPtr == ExpStart)
  ------------------
  |  Branch (137:7): [True: 0, False: 1.54k]
  ------------------
  138|      0|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  139|      0|                                 "expected at least one exponent digit");
  140|       |
  141|  1.54k|  return AsmToken(AsmToken::Real, StringRef(TokStart, CurPtr - TokStart));
  142|  1.54k|}
_ZN7llvm_ks8AsmLexer13LexIdentifierEv:
  149|   134k|AsmToken AsmLexer::LexIdentifier() {
  150|       |  // Check for floating point literals.
  151|   134k|  if (CurPtr[-1] == '.' && isdigit(*CurPtr)) {
  ------------------
  |  Branch (151:7): [True: 71.5k, False: 62.9k]
  |  Branch (151:28): [True: 7.09k, False: 64.4k]
  ------------------
  152|       |    // Disambiguate a .1243foo identifier from a floating literal.
  153|  93.3k|    while (isdigit(*CurPtr))
  ------------------
  |  Branch (153:12): [True: 86.2k, False: 7.09k]
  ------------------
  154|  86.2k|      ++CurPtr;
  155|  7.09k|    if (*CurPtr == 'e' || *CurPtr == 'E' ||
  ------------------
  |  Branch (155:9): [True: 835, False: 6.25k]
  |  Branch (155:27): [True: 660, False: 5.59k]
  ------------------
  156|  5.59k|        !IsIdentifierChar(*CurPtr, AllowAtInIdentifier))
  ------------------
  |  Branch (156:9): [True: 3.56k, False: 2.03k]
  ------------------
  157|  5.06k|      return LexFloatLiteral();
  158|  7.09k|  }
  159|       |
  160|   793k|  while (IsIdentifierChar(*CurPtr, AllowAtInIdentifier))
  ------------------
  |  Branch (160:10): [True: 663k, False: 129k]
  ------------------
  161|   663k|    ++CurPtr;
  162|       |
  163|       |  // Handle . as a special case.
  164|   129k|  if (CurPtr == TokStart+1 && TokStart[0] == '.')
  ------------------
  |  Branch (164:7): [True: 40.3k, False: 89.1k]
  |  Branch (164:31): [True: 13.5k, False: 26.8k]
  ------------------
  165|  13.5k|    return AsmToken(AsmToken::Dot, StringRef(TokStart, 1));
  166|       |
  167|   115k|  return AsmToken(AsmToken::Identifier, StringRef(TokStart, CurPtr - TokStart));
  168|   129k|}
_ZN7llvm_ks8AsmLexer8LexSlashEv:
  173|  2.26k|{
  174|  2.26k|  switch (*CurPtr) {
  175|      0|  case '*': break; // C style comment.
  ------------------
  |  Branch (175:3): [True: 0, False: 2.26k]
  ------------------
  176|      4|  case '/': return ++CurPtr, LexLineComment();
  ------------------
  |  Branch (176:3): [True: 4, False: 2.25k]
  ------------------
  177|  2.25k|  default:  return AsmToken(AsmToken::Slash, StringRef(CurPtr-1, 1));
  ------------------
  |  Branch (177:3): [True: 2.25k, False: 4]
  ------------------
  178|  2.26k|  }
  179|       |
  180|       |  // C Style comment.
  181|      0|  ++CurPtr;  // skip the star.
  182|      0|  while (1) {
  ------------------
  |  Branch (182:10): [True: 0, Folded]
  ------------------
  183|      0|    int CurChar = getNextChar();
  184|      0|    switch (CurChar) {
  ------------------
  |  Branch (184:13): [True: 0, False: 0]
  ------------------
  185|      0|    case EOF:
  ------------------
  |  Branch (185:5): [True: 0, False: 0]
  ------------------
  186|      0|      return ReturnError(TokStart, "unterminated comment");
  187|      0|    case '*':
  ------------------
  |  Branch (187:5): [True: 0, False: 0]
  ------------------
  188|       |      // End of the comment?
  189|      0|      if (CurPtr[0] != '/') break;
  ------------------
  |  Branch (189:11): [True: 0, False: 0]
  ------------------
  190|       |
  191|      0|      ++CurPtr;   // End the */.
  192|      0|      return LexToken();
  193|      0|    }
  194|      0|  }
  195|      0|}
_ZN7llvm_ks8AsmLexer14LexLineCommentEv:
  199|     72|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|     72|  int CurChar = getNextChar();
  203|  7.45k|  while (CurChar != '\n' && CurChar != '\r' && CurChar != EOF)
  ------------------
  |  Branch (203:10): [True: 7.44k, False: 12]
  |  Branch (203:29): [True: 7.39k, False: 49]
  |  Branch (203:48): [True: 7.38k, False: 11]
  ------------------
  204|  7.38k|    CurChar = getNextChar();
  205|       |
  206|     72|  if (CurChar == EOF)
  ------------------
  |  Branch (206:7): [True: 11, False: 61]
  ------------------
  207|     11|    return AsmToken(AsmToken::Eof, StringRef(TokStart, 0));
  208|     61|  return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 0));
  209|     72|}
_ZN7llvm_ks8AsmLexer8LexDigitEv:
  259|  58.8k|{
  260|       |  // Decimal integer: [1-9][0-9]*
  261|  58.8k|  if (CurPtr[-1] != '0' || CurPtr[0] == '.') {
  ------------------
  |  Branch (261:7): [True: 29.2k, False: 29.5k]
  |  Branch (261:28): [True: 246, False: 29.3k]
  ------------------
  262|  29.5k|    unsigned Radix = doLookAhead(CurPtr, 10);
  263|       |
  264|  29.5k|    if (defaultRadix == 16)
  ------------------
  |  Branch (264:9): [True: 29.5k, False: 0]
  ------------------
  265|  29.5k|      Radix = 16;
  266|       |
  267|  29.5k|    bool isHex = Radix == 16;
  268|       |    // Check for floating point literals.
  269|  29.5k|    if (!isHex && (*CurPtr == '.' || *CurPtr == 'e')) {
  ------------------
  |  Branch (269:9): [True: 0, False: 29.5k]
  |  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|  29.5k|    StringRef Result(TokStart, CurPtr - TokStart);
  275|       |
  276|  29.5k|    APInt Value(128, 0, true);
  277|  29.5k|    if (Result.getAsInteger(Radix, Value))
  ------------------
  |  Branch (277:9): [True: 0, False: 29.5k]
  ------------------
  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|  29.5k|    if (defaultRadix != 16) {
  ------------------
  |  Branch (282:9): [True: 0, False: 29.5k]
  ------------------
  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|  29.5k|    SkipIgnoredIntegerSuffix(CurPtr);
  290|       |
  291|  29.5k|    return intToken(Result, Value);
  292|  29.5k|  }
  293|       |
  294|  29.3k|  if (*CurPtr == 'b') {
  ------------------
  |  Branch (294:7): [True: 142, False: 29.1k]
  ------------------
  295|    142|    ++CurPtr;
  296|       |    // See if we actually have "0b" as part of something like "jmp 0b\n"
  297|    142|    if (!isdigit(CurPtr[0])) {
  ------------------
  |  Branch (297:9): [True: 4, False: 138]
  ------------------
  298|      4|      --CurPtr;
  299|      4|      StringRef Result(TokStart, CurPtr - TokStart);
  300|      4|      return AsmToken(AsmToken::Integer, Result, 0);
  301|      4|    }
  302|    138|    const char *NumStart = CurPtr;
  303|  9.65k|    while (CurPtr[0] == '0' || CurPtr[0] == '1')
  ------------------
  |  Branch (303:12): [True: 9.50k, False: 142]
  |  Branch (303:32): [True: 4, False: 138]
  ------------------
  304|  9.51k|      ++CurPtr;
  305|       |
  306|       |    // Requires at least one binary digit.
  307|    138|    if (CurPtr == NumStart)
  ------------------
  |  Branch (307:9): [True: 128, False: 10]
  ------------------
  308|    128|      return ReturnError(TokStart, "invalid binary number");
  309|       |
  310|     10|    StringRef Result(TokStart, CurPtr - TokStart);
  311|       |
  312|     10|    APInt Value(128, 0, true);
  313|     10|    if (Result.substr(2).getAsInteger(2, Value))
  ------------------
  |  Branch (313:9): [True: 0, False: 10]
  ------------------
  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|     10|    SkipIgnoredIntegerSuffix(CurPtr);
  319|       |
  320|     10|    return intToken(Result, Value);
  321|     10|  }
  322|       |
  323|  29.1k|  if (*CurPtr == 'x' || *CurPtr == 'X') {
  ------------------
  |  Branch (323:7): [True: 3.47k, False: 25.7k]
  |  Branch (323:25): [True: 662, False: 25.0k]
  ------------------
  324|  4.13k|    ++CurPtr;
  325|  4.13k|    const char *NumStart = CurPtr;
  326|  62.0k|    while (isxdigit(CurPtr[0]))
  ------------------
  |  Branch (326:12): [True: 57.8k, False: 4.13k]
  ------------------
  327|  57.8k|      ++CurPtr;
  328|       |
  329|       |    // "0x.0p0" is valid, and "0x0p0" (but not "0xp0" for example, which will be
  330|       |    // diagnosed by LexHexFloatLiteral).
  331|  4.13k|    if (CurPtr[0] == '.' || CurPtr[0] == 'p' || CurPtr[0] == 'P')
  ------------------
  |  Branch (331:9): [True: 754, False: 3.38k]
  |  Branch (331:29): [True: 658, False: 2.72k]
  |  Branch (331:49): [True: 249, False: 2.47k]
  ------------------
  332|  1.66k|      return LexHexFloatLiteral(NumStart == CurPtr);
  333|       |
  334|       |    // Otherwise requires at least one hex digit.
  335|  2.47k|    if (CurPtr == NumStart)
  ------------------
  |  Branch (335:9): [True: 193, False: 2.28k]
  ------------------
  336|    193|      return ReturnError(CurPtr-2, "invalid hexadecimal number");
  337|       |
  338|  2.28k|    APInt Result(128, 0);
  339|  2.28k|    if (StringRef(TokStart, CurPtr - TokStart).getAsInteger(0, Result))
  ------------------
  |  Branch (339:9): [True: 0, False: 2.28k]
  ------------------
  340|      0|      return ReturnError(TokStart, "invalid hexadecimal number");
  341|       |
  342|       |    // Consume the optional [hH].
  343|  2.28k|    if (*CurPtr == 'h' || *CurPtr == 'H')
  ------------------
  |  Branch (343:9): [True: 165, False: 2.11k]
  |  Branch (343:27): [True: 0, False: 2.11k]
  ------------------
  344|    165|      ++CurPtr;
  345|       |
  346|       |    // The darwin/x86 (and x86-64) assembler accepts and ignores ULL and LL
  347|       |    // suffixes on integer literals.
  348|  2.28k|    SkipIgnoredIntegerSuffix(CurPtr);
  349|       |
  350|  2.28k|    return intToken(StringRef(TokStart, CurPtr - TokStart), Result);
  351|  2.28k|  }
  352|       |
  353|       |  // Either octal or hexadecimal.
  354|  25.0k|  APInt Value(128, 0, true);
  355|  25.0k|  unsigned Radix = doLookAhead(CurPtr, 8);
  356|  25.0k|  bool isHex = Radix == 16;
  357|  25.0k|  StringRef Result(TokStart, CurPtr - TokStart);
  358|  25.0k|  if (Result.getAsInteger(Radix, Value))
  ------------------
  |  Branch (358:7): [True: 69, False: 24.9k]
  ------------------
  359|     69|    return ReturnError(TokStart, !isHex ? "invalid octal number" :
  ------------------
  |  Branch (359:34): [True: 69, False: 0]
  ------------------
  360|     69|                       "invalid hexdecimal number");
  361|       |
  362|       |  // Consume the [hH].
  363|  24.9k|  if (Radix == 16)
  ------------------
  |  Branch (363:7): [True: 771, False: 24.2k]
  ------------------
  364|    771|    ++CurPtr;
  365|       |
  366|       |  // The darwin/x86 (and x86-64) assembler accepts and ignores ULL and LL
  367|       |  // suffixes on integer literals.
  368|  24.9k|  SkipIgnoredIntegerSuffix(CurPtr);
  369|       |
  370|  24.9k|  return intToken(Result, Value);
  371|  25.0k|}
_ZN7llvm_ks8AsmLexer14LexSingleQuoteEv:
  375|    963|{
  376|    963|  int CurChar = getNextChar();
  377|       |
  378|    963|  if (CurChar == '\\')
  ------------------
  |  Branch (378:7): [True: 443, False: 520]
  ------------------
  379|    443|    CurChar = getNextChar();
  380|       |
  381|    963|  if (CurChar == EOF)
  ------------------
  |  Branch (381:7): [True: 0, False: 963]
  ------------------
  382|      0|    return ReturnError(TokStart, "unterminated single quote");
  383|       |
  384|    963|  CurChar = getNextChar();
  385|       |
  386|    963|  if (CurChar != '\'')
  ------------------
  |  Branch (386:7): [True: 323, False: 640]
  ------------------
  387|    323|    return ReturnError(TokStart, "single quote way too long");
  388|       |
  389|       |  // The idea here being that 'c' is basically just an integral
  390|       |  // constant.
  391|    640|  StringRef Res = StringRef(TokStart,CurPtr - TokStart);
  392|    640|  long long Value;
  393|       |
  394|    640|  if (Res.startswith("\'\\")) {
  ------------------
  |  Branch (394:7): [True: 392, False: 248]
  ------------------
  395|    392|    char theChar = Res[2];
  396|    392|    switch (theChar) {
  397|    224|      default: Value = theChar; break;
  ------------------
  |  Branch (397:7): [True: 224, False: 168]
  ------------------
  398|     40|      case '\'': Value = '\''; break;
  ------------------
  |  Branch (398:7): [True: 40, False: 352]
  ------------------
  399|      0|      case 't': Value = '\t'; break;
  ------------------
  |  Branch (399:7): [True: 0, False: 392]
  ------------------
  400|    128|      case 'n': Value = '\n'; break;
  ------------------
  |  Branch (400:7): [True: 128, False: 264]
  ------------------
  401|      0|      case 'b': Value = '\b'; break;
  ------------------
  |  Branch (401:7): [True: 0, False: 392]
  ------------------
  402|    392|    }
  403|    392|  } else
  404|    248|    Value = TokStart[1];
  405|       |
  406|    640|  return AsmToken(AsmToken::Integer, Res, Value);
  407|    640|}
_ZN7llvm_ks8AsmLexer8LexQuoteEv:
  412|  6.34k|{
  413|  6.34k|  int CurChar = getNextChar();
  414|       |  // TODO: does gas allow multiline string constants?
  415|   119k|  while (CurChar != '"') {
  ------------------
  |  Branch (415:10): [True: 112k, False: 6.32k]
  ------------------
  416|   112k|    if (CurChar == '\\') {
  ------------------
  |  Branch (416:9): [True: 5.75k, False: 107k]
  ------------------
  417|       |      // Allow \", etc.
  418|  5.75k|      CurChar = getNextChar();
  419|  5.75k|    }
  420|       |
  421|   112k|    if (CurChar == EOF)
  ------------------
  |  Branch (421:9): [True: 24, False: 112k]
  ------------------
  422|     24|      return ReturnError(TokStart, "unterminated string constant");
  423|       |
  424|   112k|    CurChar = getNextChar();
  425|   112k|  }
  426|       |
  427|  6.32k|  return AsmToken(AsmToken::String, StringRef(TokStart, CurPtr - TokStart));
  428|  6.34k|}
_ZN7llvm_ks8AsmLexer22LexUntilEndOfStatementEv:
  430|     50|StringRef AsmLexer::LexUntilEndOfStatement() {
  431|     50|  TokStart = CurPtr;
  432|       |
  433|  21.9k|  while (!isAtStartOfComment(CurPtr) &&     // Start of line comment.
  ------------------
  |  Branch (433:10): [True: 21.9k, False: 5]
  ------------------
  434|  21.9k|         !isAtStatementSeparator(CurPtr) && // End of statement marker.
  ------------------
  |  Branch (434:10): [True: 21.9k, False: 4]
  ------------------
  435|  21.9k|         *CurPtr != '\n' && *CurPtr != '\r' &&
  ------------------
  |  Branch (435:10): [True: 21.9k, False: 9]
  |  Branch (435:29): [True: 21.9k, False: 18]
  ------------------
  436|  21.9k|         (*CurPtr != 0 || CurPtr != CurBuf.end())) {
  ------------------
  |  Branch (436:11): [True: 21.9k, False: 14]
  |  Branch (436:27): [True: 0, False: 14]
  ------------------
  437|  21.9k|    ++CurPtr;
  438|  21.9k|  }
  439|     50|  return StringRef(TokStart, CurPtr-TokStart);
  440|     50|}
_ZN7llvm_ks8AsmLexer17LexUntilEndOfLineEv:
  442|  1.12k|StringRef AsmLexer::LexUntilEndOfLine() {
  443|  1.12k|  TokStart = CurPtr;
  444|       |
  445|  56.0k|  while (*CurPtr != '\n' && *CurPtr != '\r' &&
  ------------------
  |  Branch (445:10): [True: 55.8k, False: 174]
  |  Branch (445:29): [True: 54.9k, False: 950]
  ------------------
  446|  54.9k|         (*CurPtr != 0 || CurPtr != CurBuf.end())) {
  ------------------
  |  Branch (446:11): [True: 54.9k, False: 3]
  |  Branch (446:27): [True: 0, False: 3]
  ------------------
  447|  54.9k|    ++CurPtr;
  448|  54.9k|  }
  449|  1.12k|  return StringRef(TokStart, CurPtr-TokStart);
  450|  1.12k|}
_ZN7llvm_ks8AsmLexer10peekTokensENS_15MutableArrayRefINS_8AsmTokenEEEb:
  454|  7.83k|{
  455|  7.83k|  const char *SavedTokStart = TokStart;
  456|  7.83k|  const char *SavedCurPtr = CurPtr;
  457|  7.83k|  bool SavedAtStartOfLine = isAtStartOfLine;
  458|  7.83k|  bool SavedSkipSpace = SkipSpace;
  459|       |
  460|  7.83k|  std::string SavedErr = getErr();
  461|  7.83k|  SMLoc SavedErrLoc = getErrLoc();
  462|       |
  463|  7.83k|  SkipSpace = ShouldSkipSpace;
  464|       |
  465|  7.83k|  size_t ReadCount;
  466|  15.6k|  for (ReadCount = 0; ReadCount < Buf.size(); ++ReadCount) {
  ------------------
  |  Branch (466:23): [True: 7.83k, False: 7.83k]
  ------------------
  467|  7.83k|    AsmToken Token = LexToken();
  468|       |
  469|  7.83k|    Buf[ReadCount] = Token;
  470|       |
  471|  7.83k|    if (Token.is(AsmToken::Eof))
  ------------------
  |  Branch (471:9): [True: 0, False: 7.83k]
  ------------------
  472|      0|      break;
  473|  7.83k|  }
  474|       |
  475|  7.83k|  SetError(SavedErrLoc, SavedErr);
  476|       |
  477|  7.83k|  SkipSpace = SavedSkipSpace;
  478|  7.83k|  isAtStartOfLine = SavedAtStartOfLine;
  479|  7.83k|  CurPtr = SavedCurPtr;
  480|  7.83k|  TokStart = SavedTokStart;
  481|       |
  482|  7.83k|  return ReadCount;
  483|  7.83k|}
_ZN7llvm_ks8AsmLexer18isAtStartOfCommentEPKc:
  485|   573k|bool AsmLexer::isAtStartOfComment(const char *Ptr) {
  486|   573k|  const char *CommentString = MAI.getCommentString();
  487|       |
  488|   573k|  if (CommentString[1] == '\0')
  ------------------
  |  Branch (488:7): [True: 573k, False: 0]
  ------------------
  489|   573k|    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|   573k|bool AsmLexer::isAtStatementSeparator(const char *Ptr) {
  499|   573k|  return strncmp(Ptr, MAI.getSeparatorString(),
  500|   573k|                 strlen(MAI.getSeparatorString())) == 0;
  501|   573k|}
_ZN7llvm_ks8AsmLexer8LexTokenEv:
  504|   551k|{
  505|   551k|  TokStart = CurPtr;
  506|       |  // This always consumes at least one character.
  507|   551k|  int CurChar = getNextChar();
  508|       |
  509|   551k|  if (isAtStartOfComment(TokStart)) {
  ------------------
  |  Branch (509:7): [True: 68, False: 551k]
  ------------------
  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|     68|    if (CurChar == '#' && isAtStartOfLine)
  ------------------
  |  Branch (513:9): [True: 0, False: 68]
  |  Branch (513:27): [True: 0, False: 0]
  ------------------
  514|      0|      return AsmToken(AsmToken::Hash, StringRef(TokStart, 1));
  515|     68|    isAtStartOfLine = true;
  516|     68|    return LexLineComment();
  517|     68|  }
  518|   551k|  if (isAtStatementSeparator(TokStart)) {
  ------------------
  |  Branch (518:7): [True: 28.6k, False: 522k]
  ------------------
  519|  28.6k|    CurPtr += strlen(MAI.getSeparatorString()) - 1;
  520|  28.6k|    return AsmToken(AsmToken::EndOfStatement,
  521|  28.6k|                    StringRef(TokStart, strlen(MAI.getSeparatorString())));
  522|  28.6k|  }
  523|       |
  524|       |  // If we're missing a newline at EOF, make sure we still get an
  525|       |  // EndOfStatement token before the Eof token.
  526|   522k|  if (CurChar == EOF && !isAtStartOfLine) {
  ------------------
  |  Branch (526:7): [True: 1.13k, False: 521k]
  |  Branch (526:25): [True: 567, False: 572]
  ------------------
  527|    567|    isAtStartOfLine = true;
  528|    567|    return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 1));
  529|    567|  }
  530|       |
  531|   521k|  isAtStartOfLine = false;
  532|   521k|  switch (CurChar) {
  533|   162k|  default:
  ------------------
  |  Branch (533:3): [True: 162k, False: 358k]
  ------------------
  534|       |    // Handle identifier: [a-zA-Z_.][a-zA-Z0-9_$.@]*
  535|   162k|    if (isalpha(CurChar) || CurChar == '_' || CurChar == '.')
  ------------------
  |  Branch (535:9): [True: 62.6k, False: 100k]
  |  Branch (535:29): [True: 300, False: 99.9k]
  |  Branch (535:47): [True: 71.5k, False: 28.4k]
  ------------------
  536|   134k|      return LexIdentifier();
  537|       |
  538|       |    // Unknown character, emit an error.
  539|  28.4k|    return ReturnError(TokStart, "invalid character in input");
  540|    572|  case EOF: return AsmToken(AsmToken::Eof, StringRef(TokStart, 0));
  ------------------
  |  Branch (540:3): [True: 572, False: 521k]
  ------------------
  541|      0|  case 0:
  ------------------
  |  Branch (541:3): [True: 0, False: 521k]
  ------------------
  542|  36.4k|  case ' ':
  ------------------
  |  Branch (542:3): [True: 36.4k, False: 485k]
  ------------------
  543|  42.0k|  case '\t':
  ------------------
  |  Branch (543:3): [True: 5.57k, False: 516k]
  ------------------
  544|  42.0k|    if (SkipSpace) {
  ------------------
  |  Branch (544:9): [True: 42.0k, False: 0]
  ------------------
  545|       |      // Ignore whitespace.
  546|  42.0k|      return LexToken();
  547|  42.0k|    } 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|  26.2k|  case '\n': // FALL THROUGH.
  ------------------
  |  Branch (555:3): [True: 26.2k, False: 495k]
  ------------------
  556|  38.6k|  case '\r':
  ------------------
  |  Branch (556:3): [True: 12.3k, False: 509k]
  ------------------
  557|  38.6k|    isAtStartOfLine = true;
  558|  38.6k|    return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 1));
  559|    406|  case ':': return AsmToken(AsmToken::Colon, StringRef(TokStart, 1));
  ------------------
  |  Branch (559:3): [True: 406, False: 521k]
  ------------------
  560|  13.9k|  case '+': return AsmToken(AsmToken::Plus, StringRef(TokStart, 1));
  ------------------
  |  Branch (560:3): [True: 13.9k, False: 507k]
  ------------------
  561|  22.7k|  case '-': return AsmToken(AsmToken::Minus, StringRef(TokStart, 1));
  ------------------
  |  Branch (561:3): [True: 22.7k, False: 499k]
  ------------------
  562|    555|  case '~': return AsmToken(AsmToken::Tilde, StringRef(TokStart, 1));
  ------------------
  |  Branch (562:3): [True: 555, False: 521k]
  ------------------
  563|  58.6k|  case '(': return AsmToken(AsmToken::LParen, StringRef(TokStart, 1));
  ------------------
  |  Branch (563:3): [True: 58.6k, False: 463k]
  ------------------
  564|    738|  case ')': return AsmToken(AsmToken::RParen, StringRef(TokStart, 1));
  ------------------
  |  Branch (564:3): [True: 738, False: 521k]
  ------------------
  565|     49|  case '[': return AsmToken(AsmToken::LBrac, StringRef(TokStart, 1));
  ------------------
  |  Branch (565:3): [True: 49, False: 521k]
  ------------------
  566|     29|  case ']': return AsmToken(AsmToken::RBrac, StringRef(TokStart, 1));
  ------------------
  |  Branch (566:3): [True: 29, False: 521k]
  ------------------
  567|  1.97k|  case '{': return AsmToken(AsmToken::LCurly, StringRef(TokStart, 1));
  ------------------
  |  Branch (567:3): [True: 1.97k, False: 519k]
  ------------------
  568|     46|  case '}': return AsmToken(AsmToken::RCurly, StringRef(TokStart, 1));
  ------------------
  |  Branch (568:3): [True: 46, False: 521k]
  ------------------
  569|  2.56k|  case '*': return AsmToken(AsmToken::Star, StringRef(TokStart, 1));
  ------------------
  |  Branch (569:3): [True: 2.56k, False: 519k]
  ------------------
  570|  74.9k|  case ',': return AsmToken(AsmToken::Comma, StringRef(TokStart, 1));
  ------------------
  |  Branch (570:3): [True: 74.9k, False: 446k]
  ------------------
  571|  1.25k|  case '$': return AsmToken(AsmToken::Dollar, StringRef(TokStart, 1));
  ------------------
  |  Branch (571:3): [True: 1.25k, False: 520k]
  ------------------
  572|  1.86k|  case '@': return AsmToken(AsmToken::At, StringRef(TokStart, 1));
  ------------------
  |  Branch (572:3): [True: 1.86k, False: 519k]
  ------------------
  573|  5.54k|  case '\\': return AsmToken(AsmToken::BackSlash, StringRef(TokStart, 1));
  ------------------
  |  Branch (573:3): [True: 5.54k, False: 516k]
  ------------------
  574|  7.01k|  case '=':
  ------------------
  |  Branch (574:3): [True: 7.01k, False: 514k]
  ------------------
  575|  7.01k|    if (*CurPtr == '=')
  ------------------
  |  Branch (575:9): [True: 728, False: 6.28k]
  ------------------
  576|    728|      return ++CurPtr, AsmToken(AsmToken::EqualEqual, StringRef(TokStart, 2));
  577|  6.28k|    return AsmToken(AsmToken::Equal, StringRef(TokStart, 1));
  578|  5.37k|  case '|':
  ------------------
  |  Branch (578:3): [True: 5.37k, False: 516k]
  ------------------
  579|  5.37k|    if (*CurPtr == '|')
  ------------------
  |  Branch (579:9): [True: 124, False: 5.25k]
  ------------------
  580|    124|      return ++CurPtr, AsmToken(AsmToken::PipePipe, StringRef(TokStart, 2));
  581|  5.25k|    return AsmToken(AsmToken::Pipe, StringRef(TokStart, 1));
  582|    597|  case '^': return AsmToken(AsmToken::Caret, StringRef(TokStart, 1));
  ------------------
  |  Branch (582:3): [True: 597, False: 521k]
  ------------------
  583|  1.33k|  case '&':
  ------------------
  |  Branch (583:3): [True: 1.33k, False: 520k]
  ------------------
  584|  1.33k|    if (*CurPtr == '&')
  ------------------
  |  Branch (584:9): [True: 280, False: 1.05k]
  ------------------
  585|    280|      return ++CurPtr, AsmToken(AsmToken::AmpAmp, StringRef(TokStart, 2));
  586|  1.05k|    return AsmToken(AsmToken::Amp, StringRef(TokStart, 1));
  587|      0|  case '!':
  ------------------
  |  Branch (587:3): [True: 0, False: 521k]
  ------------------
  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|  2.15k|  case '%': return AsmToken(AsmToken::Percent, StringRef(TokStart, 1));
  ------------------
  |  Branch (591:3): [True: 2.15k, False: 519k]
  ------------------
  592|  2.26k|  case '/': return LexSlash();
  ------------------
  |  Branch (592:3): [True: 2.26k, False: 519k]
  ------------------
  593|  1.73k|  case '#': return AsmToken(AsmToken::Hash, StringRef(TokStart, 1));
  ------------------
  |  Branch (593:3): [True: 1.73k, False: 520k]
  ------------------
  594|    963|  case '\'': return LexSingleQuote();
  ------------------
  |  Branch (594:3): [True: 963, False: 520k]
  ------------------
  595|  6.34k|  case '"': return LexQuote();
  ------------------
  |  Branch (595:3): [True: 6.34k, False: 515k]
  ------------------
  596|  41.2k|  case '0': case '1': case '2': case '3': case '4':
  ------------------
  |  Branch (596:3): [True: 29.5k, False: 492k]
  |  Branch (596:13): [True: 3.14k, False: 518k]
  |  Branch (596:23): [True: 1.74k, False: 520k]
  |  Branch (596:33): [True: 5.12k, False: 516k]
  |  Branch (596:43): [True: 1.72k, False: 520k]
  ------------------
  597|  58.8k|  case '5': case '6': case '7': case '8': case '9':
  ------------------
  |  Branch (597:3): [True: 7.31k, False: 514k]
  |  Branch (597:13): [True: 5.98k, False: 515k]
  |  Branch (597:23): [True: 610, False: 521k]
  |  Branch (597:33): [True: 2.45k, False: 519k]
  |  Branch (597:43): [True: 1.17k, False: 520k]
  ------------------
  598|  58.8k|    return LexDigit();
  599|  2.26k|  case '<':
  ------------------
  |  Branch (599:3): [True: 2.26k, False: 519k]
  ------------------
  600|  2.26k|    switch (*CurPtr) {
  601|    221|    case '<': return ++CurPtr, AsmToken(AsmToken::LessLess,
  ------------------
  |  Branch (601:5): [True: 221, False: 2.04k]
  ------------------
  602|    221|                                        StringRef(TokStart, 2));
  603|    787|    case '=': return ++CurPtr, AsmToken(AsmToken::LessEqual,
  ------------------
  |  Branch (603:5): [True: 787, False: 1.47k]
  ------------------
  604|    787|                                        StringRef(TokStart, 2));
  605|      4|    case '>': return ++CurPtr, AsmToken(AsmToken::LessGreater,
  ------------------
  |  Branch (605:5): [True: 4, False: 2.26k]
  ------------------
  606|      4|                                        StringRef(TokStart, 2));
  607|  1.25k|    default: return AsmToken(AsmToken::Less, StringRef(TokStart, 1));
  ------------------
  |  Branch (607:5): [True: 1.25k, False: 1.01k]
  ------------------
  608|  2.26k|    }
  609|  3.47k|  case '>':
  ------------------
  |  Branch (609:3): [True: 3.47k, False: 518k]
  ------------------
  610|  3.47k|    switch (*CurPtr) {
  611|    176|    case '>': return ++CurPtr, AsmToken(AsmToken::GreaterGreater,
  ------------------
  |  Branch (611:5): [True: 176, False: 3.29k]
  ------------------
  612|    176|                                        StringRef(TokStart, 2));
  613|     62|    case '=': return ++CurPtr, AsmToken(AsmToken::GreaterEqual,
  ------------------
  |  Branch (613:5): [True: 62, False: 3.40k]
  ------------------
  614|     62|                                        StringRef(TokStart, 2));
  615|  3.23k|    default: return AsmToken(AsmToken::Greater, StringRef(TokStart, 1));
  ------------------
  |  Branch (615:5): [True: 3.23k, False: 238]
  ------------------
  616|  3.47k|    }
  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|   521k|  }
  623|   521k|}
AsmLexer.cpp:_ZL16IsIdentifierCharcb:
  145|   798k|static bool IsIdentifierChar(char c, bool AllowAt) {
  146|   798k|  return isalnum(c) || c == '_' || c == '$' || c == '.' ||
  ------------------
  |  Branch (146:10): [True: 640k, False: 158k]
  |  Branch (146:24): [True: 2.20k, False: 156k]
  |  Branch (146:36): [True: 4.06k, False: 152k]
  |  Branch (146:48): [True: 8.59k, False: 143k]
  ------------------
  147|   143k|         (c == '@' && AllowAt) || c == '?';
  ------------------
  |  Branch (147:11): [True: 9.94k, False: 133k]
  |  Branch (147:23): [True: 9.94k, False: 0]
  |  Branch (147:35): [True: 947, False: 133k]
  ------------------
  148|   798k|}
AsmLexer.cpp:_ZL11doLookAheadRPKcj:
  223|  54.5k|static unsigned doLookAhead(const char *&CurPtr, unsigned DefaultRadix) {
  224|  54.5k|  const char *FirstHex = nullptr;
  225|  54.5k|  const char *LookAhead = CurPtr;
  226|   203k|  while (1) {
  ------------------
  |  Branch (226:10): [True: 203k, Folded]
  ------------------
  227|   203k|    if (isdigit(*LookAhead)) {
  ------------------
  |  Branch (227:9): [True: 144k, False: 58.6k]
  ------------------
  228|   144k|      ++LookAhead;
  229|   144k|    } else if (isxdigit(*LookAhead)) {
  ------------------
  |  Branch (229:16): [True: 4.09k, False: 54.5k]
  ------------------
  230|  4.09k|      if (!FirstHex)
  ------------------
  |  Branch (230:11): [True: 1.69k, False: 2.40k]
  ------------------
  231|  1.69k|        FirstHex = LookAhead;
  232|  4.09k|      ++LookAhead;
  233|  54.5k|    } else {
  234|  54.5k|      break;
  235|  54.5k|    }
  236|   203k|  }
  237|  54.5k|  bool isHex = *LookAhead == 'h' || *LookAhead == 'H';
  ------------------
  |  Branch (237:16): [True: 395, False: 54.1k]
  |  Branch (237:37): [True: 384, False: 53.7k]
  ------------------
  238|  54.5k|  CurPtr = isHex || !FirstHex ? LookAhead : FirstHex;
  ------------------
  |  Branch (238:12): [True: 779, False: 53.7k]
  |  Branch (238:21): [True: 52.0k, False: 1.68k]
  ------------------
  239|  54.5k|  if (isHex)
  ------------------
  |  Branch (239:7): [True: 779, False: 53.7k]
  ------------------
  240|    779|    return 16;
  241|  53.7k|  return DefaultRadix;
  242|  54.5k|}
AsmLexer.cpp:_ZL24SkipIgnoredIntegerSuffixRPKc:
  211|  56.7k|static void SkipIgnoredIntegerSuffix(const char *&CurPtr) {
  212|       |  // Skip ULL, UL, U, L and LL suffices.
  213|  56.7k|  if (CurPtr[0] == 'U')
  ------------------
  |  Branch (213:7): [True: 8, False: 56.7k]
  ------------------
  214|      8|    ++CurPtr;
  215|  56.7k|  if (CurPtr[0] == 'L')
  ------------------
  |  Branch (215:7): [True: 1.00k, False: 55.7k]
  ------------------
  216|  1.00k|    ++CurPtr;
  217|  56.7k|  if (CurPtr[0] == 'L')
  ------------------
  |  Branch (217:7): [True: 949, False: 55.8k]
  ------------------
  218|    949|    ++CurPtr;
  219|  56.7k|}
AsmLexer.cpp:_ZL8intTokenN7llvm_ks9StringRefERNS_5APIntE:
  245|  56.7k|{
  246|  56.7k|  if (Value.isIntN(64))
  ------------------
  |  Branch (246:7): [True: 55.5k, False: 1.27k]
  ------------------
  247|  55.5k|    return AsmToken(AsmToken::Integer, Ref, Value);
  248|  1.27k|  return AsmToken(AsmToken::BigNum, Ref, Value);
  249|  56.7k|}

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

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

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

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

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

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

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

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

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

_ZN7llvm_ks14MCSectionMachOC2ENS_9StringRefES1_jjNS_11SectionKindEPNS_8MCSymbolE:
   75|     32|    : MCSection(SV_MachO, K, Begin), TypeAndAttributes(TAA),
   76|     32|      Reserved2(reserved2) {
   77|     32|  assert(Segment.size() <= 16 && Section.size() <= 16 &&
  ------------------
  |  Branch (77:3): [True: 32, False: 0]
  |  Branch (77:3): [True: 32, False: 0]
  |  Branch (77:3): [True: 32, Folded]
  |  Branch (77:3): [True: 32, False: 0]
  ------------------
   78|     32|         "Segment or section string too long");
   79|    544|  for (unsigned i = 0; i != 16; ++i) {
  ------------------
  |  Branch (79:24): [True: 512, False: 32]
  ------------------
   80|    512|    if (i < Segment.size())
  ------------------
  |  Branch (80:9): [True: 159, False: 353]
  ------------------
   81|    159|      SegmentName[i] = Segment[i];
   82|    353|    else
   83|    353|      SegmentName[i] = 0;
   84|       |
   85|    512|    if (i < Section.size())
  ------------------
  |  Branch (85:9): [True: 215, False: 297]
  ------------------
   86|    215|      SectionName[i] = Section[i];
   87|    297|    else
   88|    297|      SectionName[i] = 0;
   89|    512|  }
   90|     32|}
_ZNK7llvm_ks14MCSectionMachO16isVirtualSectionEv:
  160|     33|bool MCSectionMachO::isVirtualSection() const {
  161|     33|  return (getType() == MachO::S_ZEROFILL ||
  ------------------
  |  Branch (161:11): [True: 0, False: 33]
  ------------------
  162|     33|          getType() == MachO::S_GB_ZEROFILL ||
  ------------------
  |  Branch (162:11): [True: 0, False: 33]
  ------------------
  163|     33|          getType() == MachO::S_THREAD_LOCAL_ZEROFILL);
  ------------------
  |  Branch (163:11): [True: 0, False: 33]
  ------------------
  164|     33|}
_ZN7llvm_ks14MCSectionMachO21ParseSectionSpecifierENS_9StringRefERS1_S2_RjRbS3_:
  176|     50|                                                  unsigned  &StubSize) { // Out.
  177|     50|  TAAParsed = false;
  178|       |
  179|     50|  SmallVector<StringRef, 5> SplitSpec;
  180|     50|  Spec.split(SplitSpec, ',');
  181|       |  // Remove leading and trailing whitespace.
  182|     50|  auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef {
  183|     50|    return SplitSpec.size() > Idx ? SplitSpec[Idx].trim() : StringRef();
  184|     50|  };
  185|     50|  Segment = GetEmptyOrTrim(0);
  186|     50|  Section = GetEmptyOrTrim(1);
  187|     50|  StringRef SectionType = GetEmptyOrTrim(2);
  188|     50|  StringRef Attrs = GetEmptyOrTrim(3);
  189|     50|  StringRef StubSizeStr = GetEmptyOrTrim(4);
  190|       |
  191|       |  // Verify that the segment is present and not too long.
  192|     50|  if (Segment.empty() || Segment.size() > 16)
  ------------------
  |  Branch (192:7): [True: 0, False: 50]
  |  Branch (192:26): [True: 0, False: 50]
  ------------------
  193|      0|    return "mach-o section specifier requires a segment whose length is "
  194|      0|           "between 1 and 16 characters";
  195|       |
  196|       |  // Verify that the section is present and not too long.
  197|     50|  if (Section.empty())
  ------------------
  |  Branch (197:7): [True: 1, False: 49]
  ------------------
  198|      1|    return "mach-o section specifier requires a segment and section "
  199|      1|           "separated by a comma";
  200|       |
  201|     49|  if (Section.size() > 16)
  ------------------
  |  Branch (201:7): [True: 1, False: 48]
  ------------------
  202|      1|    return "mach-o section specifier requires a section whose length is "
  203|      1|           "between 1 and 16 characters";
  204|       |
  205|       |  // If there is no comma after the section, we're done.
  206|     48|  TAA = 0;
  207|     48|  StubSize = 0;
  208|     48|  if (SectionType.empty())
  ------------------
  |  Branch (208:7): [True: 35, False: 13]
  ------------------
  209|     35|    return "";
  210|       |
  211|       |  // Figure out which section type it is.
  212|     13|  auto TypeDescriptor = std::find_if(
  213|     13|      std::begin(SectionTypeDescriptors), std::end(SectionTypeDescriptors),
  214|     13|      [&](decltype(*SectionTypeDescriptors) &Descriptor) {
  215|     13|        return Descriptor.AssemblerName &&
  216|     13|               SectionType == Descriptor.AssemblerName;
  217|     13|      });
  218|       |
  219|       |  // If we didn't find the section type, reject it.
  220|     13|  if (TypeDescriptor == std::end(SectionTypeDescriptors))
  ------------------
  |  Branch (220:7): [True: 7, False: 6]
  ------------------
  221|      7|    return "mach-o section specifier uses an unknown section type";
  222|       |
  223|       |  // Remember the TypeID.
  224|      6|  TAA = TypeDescriptor - std::begin(SectionTypeDescriptors);
  225|      6|  TAAParsed = true;
  226|       |
  227|       |  // If we have no comma after the section type, there are no attributes.
  228|      6|  if (Attrs.empty()) {
  ------------------
  |  Branch (228:7): [True: 0, False: 6]
  ------------------
  229|       |    // S_SYMBOL_STUBS always require a symbol stub size specifier.
  230|      0|    if (TAA == MachO::S_SYMBOL_STUBS)
  ------------------
  |  Branch (230:9): [True: 0, False: 0]
  ------------------
  231|      0|      return "mach-o section specifier of type 'symbol_stubs' requires a size "
  232|      0|             "specifier";
  233|      0|    return "";
  234|      0|  }
  235|       |
  236|       |  // The attribute list is a '+' separated list of attributes.
  237|      6|  SmallVector<StringRef, 1> SectionAttrs;
  238|      6|  Attrs.split(SectionAttrs, '+', /*MaxSplit=*/-1, /*KeepEmpty=*/false);
  239|       |
  240|      6|  for (StringRef &SectionAttr : SectionAttrs) {
  ------------------
  |  Branch (240:31): [True: 6, False: 0]
  ------------------
  241|      6|    auto AttrDescriptorI = std::find_if(
  242|      6|        std::begin(SectionAttrDescriptors), std::end(SectionAttrDescriptors),
  243|      6|        [&](decltype(*SectionAttrDescriptors) &Descriptor) {
  244|      6|          return Descriptor.AssemblerName &&
  245|      6|                 SectionAttr.trim() == Descriptor.AssemblerName;
  246|      6|        });
  247|      6|    if (AttrDescriptorI == std::end(SectionAttrDescriptors))
  ------------------
  |  Branch (247:9): [True: 6, False: 0]
  ------------------
  248|      6|      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|      0|  if (StubSizeStr.empty()) {
  ------------------
  |  Branch (254:7): [True: 0, False: 0]
  ------------------
  255|       |    // S_SYMBOL_STUBS always require a symbol stub size specifier.
  256|      0|    if (TAA == MachO::S_SYMBOL_STUBS)
  ------------------
  |  Branch (256:9): [True: 0, False: 0]
  ------------------
  257|      0|      return "mach-o section specifier of type 'symbol_stubs' requires a size "
  258|      0|      "specifier";
  259|      0|    return "";
  260|      0|  }
  261|       |
  262|       |  // If we have a stub size spec, we must have a sectiontype of S_SYMBOL_STUBS.
  263|      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|    250|  auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef {
  183|    250|    return SplitSpec.size() > Idx ? SplitSpec[Idx].trim() : StringRef();
  ------------------
  |  Branch (183:12): [True: 210, False: 40]
  ------------------
  184|    250|  };
MCSectionMachO.cpp:_ZZN7llvm_ks14MCSectionMachO21ParseSectionSpecifierENS_9StringRefERS1_S2_RjRbS3_ENK3$_1clERK3$_0:
  214|    184|      [&](decltype(*SectionTypeDescriptors) &Descriptor) {
  215|    184|        return Descriptor.AssemblerName &&
  ------------------
  |  Branch (215:16): [True: 150, False: 34]
  ------------------
  216|    150|               SectionType == Descriptor.AssemblerName;
  ------------------
  |  Branch (216:16): [True: 6, False: 144]
  ------------------
  217|    184|      });
MCSectionMachO.cpp:_ZZN7llvm_ks14MCSectionMachO21ParseSectionSpecifierENS_9StringRefERS1_S2_RjRbS3_ENK3$_2clERK3$_1:
  243|     66|        [&](decltype(*SectionAttrDescriptors) &Descriptor) {
  244|     66|          return Descriptor.AssemblerName &&
  ------------------
  |  Branch (244:18): [True: 48, False: 18]
  ------------------
  245|     48|                 SectionAttr.trim() == Descriptor.AssemblerName;
  ------------------
  |  Branch (245:18): [True: 0, False: 48]
  ------------------
  246|     66|        });

_ZN7llvm_ks10MCStreamerC2ERNS_9MCContextE:
   46|    692|    : Context(Ctx), CurrentWinFrameInfo(nullptr) {
   47|    692|  SectionStack.push_back(std::pair<MCSectionSubPair, MCSectionSubPair>());
   48|    692|}
_ZN7llvm_ks10MCStreamerD2Ev:
   50|    692|MCStreamer::~MCStreamer() {
   51|    692|  for (unsigned i = 0; i < getNumWinFrameInfos(); ++i)
  ------------------
  |  Branch (51:24): [True: 0, False: 692]
  ------------------
   52|      0|    delete WinFrameInfos[i];
   53|    692|}
_ZN7llvm_ks10MCStreamer12EmitIntValueEmjRb:
   82|  3.50M|{
   83|  3.50M|  Error = false;
   84|       |  //assert(1 <= Size && Size <= 8 && "Invalid size");
   85|  3.50M|  if (1 > Size || Size > 8) {
  ------------------
  |  Branch (85:7): [True: 0, False: 3.50M]
  |  Branch (85:19): [True: 0, False: 3.50M]
  ------------------
   86|      0|      Error = true;
   87|      0|      return;
   88|      0|  }
   89|       |  //assert((isUIntN(8 * Size, Value) || isIntN(8 * Size, Value)) &&
   90|       |  //       "Invalid size");
   91|  3.50M|  if (!isUIntN(8 * Size, Value) && !isIntN(8 * Size, Value)) {
  ------------------
  |  Branch (91:7): [True: 12, False: 3.50M]
  |  Branch (91:36): [True: 1, False: 11]
  ------------------
   92|      1|      Error = true;
   93|      1|      return;
   94|      1|  }
   95|  3.50M|  char buf[8];
   96|  3.50M|  const bool isLittleEndian = Context.getAsmInfo()->isLittleEndian();
   97|  7.19M|  for (unsigned i = 0; i != Size; ++i) {
  ------------------
  |  Branch (97:24): [True: 3.69M, False: 3.50M]
  ------------------
   98|  3.69M|    unsigned index = isLittleEndian ? i : (Size - i - 1);
  ------------------
  |  Branch (98:22): [True: 0, False: 3.69M]
  ------------------
   99|  3.69M|    buf[i] = uint8_t(Value >> (index * 8));
  100|  3.69M|  }
  101|  3.50M|  EmitBytes(StringRef(buf, Size));
  102|  3.50M|}
_ZN7llvm_ks10MCStreamer9EmitValueEPKNS_6MCExprEjNS_5SMLocE:
  122|  3.19k|void MCStreamer::EmitValue(const MCExpr *Value, unsigned Size, SMLoc Loc) {
  123|  3.19k|  EmitValueImpl(Value, Size, Loc);
  124|  3.19k|}
_ZN7llvm_ks10MCStreamer9EmitLabelEPNS_8MCSymbolE:
  232|  8.87k|void MCStreamer::EmitLabel(MCSymbol *Symbol) {
  233|  8.87k|  assert(!Symbol->isVariable() && "Cannot emit a variable symbol!");
  ------------------
  |  Branch (233:3): [True: 8.87k, False: 0]
  |  Branch (233:3): [True: 8.87k, Folded]
  |  Branch (233:3): [True: 8.87k, False: 0]
  ------------------
  234|  8.87k|  assert(getCurrentSection().first && "Cannot emit before setting section!");
  ------------------
  |  Branch (234:3): [True: 8.87k, False: 0]
  |  Branch (234:3): [True: 8.87k, Folded]
  |  Branch (234:3): [True: 8.87k, False: 0]
  ------------------
  235|  8.87k|  assert(!Symbol->getFragment() && "Unexpected fragment on symbol data!");
  ------------------
  |  Branch (235:3): [True: 8.87k, False: 0]
  |  Branch (235:3): [True: 8.87k, Folded]
  |  Branch (235:3): [True: 8.87k, False: 0]
  ------------------
  236|  8.87k|  Symbol->setFragment(&getCurrentSectionOnly()->getDummyFragment());
  237|       |
  238|  8.87k|  MCTargetStreamer *TS = getTargetStreamer();
  239|  8.87k|  if (TS)
  ------------------
  |  Branch (239:7): [True: 0, False: 8.87k]
  ------------------
  240|      0|    TS->emitLabel(Symbol);
  241|  8.87k|}
_ZN7llvm_ks10MCStreamer6FinishEv:
  625|    340|unsigned int MCStreamer::Finish() {
  626|    340|  if (!DwarfFrameInfos.empty() && !DwarfFrameInfos.back().End)
  ------------------
  |  Branch (626:7): [True: 0, False: 340]
  |  Branch (626:35): [True: 0, False: 0]
  ------------------
  627|      0|    report_fatal_error("Unfinished frame!");
  628|       |
  629|    340|  MCTargetStreamer *TS = getTargetStreamer();
  630|    340|  if (TS)
  ------------------
  |  Branch (630:7): [True: 0, False: 340]
  ------------------
  631|      0|    TS->finish();
  632|       |
  633|    340|  return FinishImpl();
  634|    340|}
_ZN7llvm_ks10MCStreamer14EmitAssignmentEPNS_8MCSymbolEPKNS_6MCExprE:
  636|    941|bool MCStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
  637|    941|  visitUsedExpr(*Value);
  638|    941|  bool valid;
  639|    941|  Symbol->setVariableValue(Value, valid);
  640|    941|  if (!valid)
  ------------------
  |  Branch (640:7): [True: 32, False: 909]
  ------------------
  641|     32|      return false;
  642|       |
  643|    909|  MCTargetStreamer *TS = getTargetStreamer();
  644|    909|  if (TS)
  ------------------
  |  Branch (644:7): [True: 0, False: 909]
  ------------------
  645|      0|    TS->emitAssignment(Symbol, Value);
  646|       |
  647|    909|  return true;
  648|    941|}
_ZN7llvm_ks10MCStreamer13visitUsedExprERKNS_6MCExprE:
  653|  30.7k|void MCStreamer::visitUsedExpr(const MCExpr &Expr) {
  654|  30.7k|  switch (Expr.getKind()) {
  ------------------
  |  Branch (654:11): [True: 30.7k, False: 0]
  ------------------
  655|      0|  case MCExpr::Target:
  ------------------
  |  Branch (655:3): [True: 0, False: 30.7k]
  ------------------
  656|      0|    cast<MCTargetExpr>(Expr).visitUsedExpr(*this);
  657|      0|    break;
  658|       |
  659|  5.42k|  case MCExpr::Constant:
  ------------------
  |  Branch (659:3): [True: 5.42k, False: 25.2k]
  ------------------
  660|  5.42k|    break;
  661|       |
  662|  11.9k|  case MCExpr::Binary: {
  ------------------
  |  Branch (662:3): [True: 11.9k, False: 18.7k]
  ------------------
  663|  11.9k|    const MCBinaryExpr &BE = cast<MCBinaryExpr>(Expr);
  664|  11.9k|    visitUsedExpr(*BE.getLHS());
  665|  11.9k|    visitUsedExpr(*BE.getRHS());
  666|  11.9k|    break;
  667|      0|  }
  668|       |
  669|  11.4k|  case MCExpr::SymbolRef:
  ------------------
  |  Branch (669:3): [True: 11.4k, False: 19.2k]
  ------------------
  670|  11.4k|    visitUsedSymbol(cast<MCSymbolRefExpr>(Expr).getSymbol());
  671|  11.4k|    break;
  672|       |
  673|  1.87k|  case MCExpr::Unary:
  ------------------
  |  Branch (673:3): [True: 1.87k, False: 28.8k]
  ------------------
  674|  1.87k|    visitUsedExpr(*cast<MCUnaryExpr>(Expr).getSubExpr());
  675|  1.87k|    break;
  676|  30.7k|  }
  677|  30.7k|}
_ZN7llvm_ks10MCStreamer15EmitInstructionERNS_6MCInstERKNS_15MCSubtargetInfoERj:
  681|  1.01k|                                 unsigned int &KsError) {
  682|       |  // Scan for values.
  683|  3.16k|  for (unsigned i = Inst.getNumOperands(); i--;)
  ------------------
  |  Branch (683:44): [True: 2.15k, False: 1.01k]
  ------------------
  684|  2.15k|    if (Inst.getOperand(i).isExpr())
  ------------------
  |  Branch (684:9): [True: 788, False: 1.36k]
  ------------------
  685|    788|      visitUsedExpr(*Inst.getOperand(i).getExpr());
  686|  1.01k|}
_ZN7llvm_ks10MCStreamer13EmitValueImplEPKNS_6MCExprEjNS_5SMLocE:
  723|  3.19k|void MCStreamer::EmitValueImpl(const MCExpr *Value, unsigned Size, SMLoc Loc) {
  724|  3.19k|  visitUsedExpr(*Value);
  725|  3.19k|}
_ZN7llvm_ks10MCStreamer13SwitchSectionEPNS_9MCSectionEPKNS_6MCExprE:
  739|  1.57k|void MCStreamer::SwitchSection(MCSection *Section, const MCExpr *Subsection) {
  740|  1.57k|  assert(Section && "Cannot switch to a null section!");
  ------------------
  |  Branch (740:3): [True: 1.57k, False: 0]
  |  Branch (740:3): [True: 1.57k, Folded]
  |  Branch (740:3): [True: 1.57k, False: 0]
  ------------------
  741|  1.57k|  MCSectionSubPair curSection = SectionStack.back().first;
  742|  1.57k|  SectionStack.back().second = curSection;
  743|  1.57k|  if (MCSectionSubPair(Section, Subsection) != curSection) {
  ------------------
  |  Branch (743:7): [True: 905, False: 670]
  ------------------
  744|    905|    ChangeSection(Section, Subsection);
  745|    905|    SectionStack.back().first = MCSectionSubPair(Section, Subsection);
  746|    905|    assert(!Section->hasEnded() && "Section already ended");
  ------------------
  |  Branch (746:5): [True: 905, False: 0]
  |  Branch (746:5): [True: 905, Folded]
  |  Branch (746:5): [True: 905, False: 0]
  ------------------
  747|    905|    MCSymbol *Sym = Section->getBeginSymbol();
  748|    905|    if (Sym && !Sym->isInSection())
  ------------------
  |  Branch (748:9): [True: 905, False: 0]
  |  Branch (748:16): [True: 724, False: 181]
  ------------------
  749|    724|      EmitLabel(Sym);
  750|    905|  }
  751|  1.57k|}

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

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

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

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

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

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

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

_ZN7llvm_ks5APInt12initSlowCaseEjmb:
   77|  56.8k|void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) {
   78|  56.8k|  pVal = getClearedMemory(getNumWords());
   79|  56.8k|  pVal[0] = val;
   80|  56.8k|  if (isSigned && int64_t(val) < 0)
  ------------------
  |  Branch (80:7): [True: 54.5k, False: 2.28k]
  |  Branch (80:19): [True: 0, False: 54.5k]
  ------------------
   81|      0|    for (unsigned i = 1; i < getNumWords(); ++i)
  ------------------
  |  Branch (81:26): [True: 0, False: 0]
  ------------------
   82|      0|      pVal[i] = -1ULL;
   83|  56.8k|}
_ZN7llvm_ks5APInt12initSlowCaseERKS0_:
   85|   109k|void APInt::initSlowCase(const APInt& that) {
   86|   109k|  pVal = getMemory(getNumWords());
   87|   109k|  memcpy(pVal, that.pVal, getNumWords() * APINT_WORD_SIZE);
   88|   109k|}
_ZN7llvm_ks5APInt14AssignSlowCaseERKS0_:
  123|  1.44k|APInt& APInt::AssignSlowCase(const APInt& RHS) {
  124|       |  // Don't do anything for X = X
  125|  1.44k|  if (this == &RHS)
  ------------------
  |  Branch (125:7): [True: 0, False: 1.44k]
  ------------------
  126|      0|    return *this;
  127|       |
  128|  1.44k|  if (BitWidth == RHS.getBitWidth()) {
  ------------------
  |  Branch (128:7): [True: 269, False: 1.17k]
  ------------------
  129|       |    // assume same bit-width single-word case is already handled
  130|    269|    assert(!isSingleWord());
  ------------------
  |  Branch (130:5): [True: 269, False: 0]
  ------------------
  131|    269|    memcpy(pVal, RHS.pVal, getNumWords() * APINT_WORD_SIZE);
  132|    269|    return *this;
  133|    269|  }
  134|       |
  135|  1.17k|  if (isSingleWord()) {
  ------------------
  |  Branch (135:7): [True: 573, False: 598]
  ------------------
  136|       |    // assume case where both are single words is already handled
  137|    573|    assert(!RHS.isSingleWord());
  ------------------
  |  Branch (137:5): [True: 573, False: 0]
  ------------------
  138|    573|    VAL = 0;
  139|    573|    pVal = getMemory(RHS.getNumWords());
  140|    573|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  141|    598|  } else if (getNumWords() == RHS.getNumWords())
  ------------------
  |  Branch (141:14): [True: 123, False: 475]
  ------------------
  142|    123|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  143|    475|  else if (RHS.isSingleWord()) {
  ------------------
  |  Branch (143:12): [True: 443, False: 32]
  ------------------
  144|    443|    delete [] pVal;
  145|    443|    VAL = RHS.VAL;
  146|    443|  } else {
  147|     32|    delete [] pVal;
  148|     32|    pVal = getMemory(RHS.getNumWords());
  149|     32|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  150|     32|  }
  151|  1.17k|  BitWidth = RHS.BitWidth;
  152|  1.17k|  return clearUnusedBits();
  153|  1.17k|}
_ZN7llvm_ks5APIntaSEm:
  155|  41.0k|APInt& APInt::operator=(uint64_t RHS) {
  156|  41.0k|  if (isSingleWord())
  ------------------
  |  Branch (156:7): [True: 0, False: 41.0k]
  ------------------
  157|      0|    VAL = RHS;
  158|  41.0k|  else {
  159|  41.0k|    pVal[0] = RHS;
  160|  41.0k|    memset(pVal+1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
  161|  41.0k|  }
  162|  41.0k|  return clearUnusedBits();
  163|  41.0k|}
_ZNK7llvm_ks5APInt9getHiBitsEj:
  686|    237|APInt APInt::getHiBits(unsigned numBits) const {
  687|    237|  return APIntOps::lshr(*this, BitWidth - numBits);
  688|    237|}
_ZNK7llvm_ks5APInt9getLoBitsEj:
  691|    237|APInt APInt::getLoBits(unsigned numBits) const {
  692|    237|  return APIntOps::lshr(APIntOps::shl(*this, BitWidth - numBits),
  693|    237|                        BitWidth - numBits);
  694|    237|}
_ZNK7llvm_ks5APInt25countLeadingZerosSlowCaseEv:
  696|  62.4k|unsigned APInt::countLeadingZerosSlowCase() const {
  697|       |  // Treat the most significand word differently because it might have
  698|       |  // meaningless bits set beyond the precision.
  699|  62.4k|  unsigned BitsInMSW = BitWidth % APINT_BITS_PER_WORD;
  700|  62.4k|  integerPart MSWMask;
  701|  62.4k|  if (BitsInMSW) MSWMask = (integerPart(1) << BitsInMSW) - 1;
  ------------------
  |  Branch (701:7): [True: 264, False: 62.1k]
  ------------------
  702|  62.1k|  else {
  703|  62.1k|    MSWMask = ~integerPart(0);
  704|  62.1k|    BitsInMSW = APINT_BITS_PER_WORD;
  705|  62.1k|  }
  706|       |
  707|  62.4k|  unsigned i = getNumWords();
  708|  62.4k|  integerPart MSW = pVal[i-1] & MSWMask;
  709|  62.4k|  if (MSW)
  ------------------
  |  Branch (709:7): [True: 1.75k, False: 60.6k]
  ------------------
  710|  1.75k|    return llvm_ks::countLeadingZeros(MSW) - (APINT_BITS_PER_WORD - BitsInMSW);
  711|       |
  712|  60.6k|  unsigned Count = BitsInMSW;
  713|  60.8k|  for (--i; i > 0u; --i) {
  ------------------
  |  Branch (713:13): [True: 60.6k, False: 220]
  ------------------
  714|  60.6k|    if (pVal[i-1] == 0)
  ------------------
  |  Branch (714:9): [True: 220, False: 60.4k]
  ------------------
  715|    220|      Count += APINT_BITS_PER_WORD;
  716|  60.4k|    else {
  717|  60.4k|      Count += llvm_ks::countLeadingZeros(pVal[i-1]);
  718|  60.4k|      break;
  719|  60.4k|    }
  720|  60.6k|  }
  721|  60.6k|  return Count;
  722|  62.4k|}
_ZNK7llvm_ks5APInt4zextEj:
  998|    417|APInt APInt::zext(unsigned width) const {
  999|    417|  assert(width > BitWidth && "Invalid APInt ZeroExtend request");
  ------------------
  |  Branch (999:3): [True: 417, False: 0]
  |  Branch (999:3): [True: 417, Folded]
  |  Branch (999:3): [True: 417, False: 0]
  ------------------
 1000|       |
 1001|    417|  if (width <= APINT_BITS_PER_WORD)
  ------------------
  |  Branch (1001:7): [True: 0, False: 417]
  ------------------
 1002|      0|    return APInt(width, VAL);
 1003|       |
 1004|    417|  APInt Result(getMemory(getNumWords(width)), width);
 1005|       |
 1006|       |  // Copy words.
 1007|    417|  unsigned i;
 1008|  1.25k|  for (i = 0; i != getNumWords(); i++)
  ------------------
  |  Branch (1008:15): [True: 834, False: 417]
  ------------------
 1009|    834|    Result.pVal[i] = getRawData()[i];
 1010|       |
 1011|       |  // Zero remaining words.
 1012|    417|  memset(&Result.pVal[i], 0, (Result.getNumWords() - i) * APINT_WORD_SIZE);
 1013|       |
 1014|    417|  return Result;
 1015|    417|}
_ZNK7llvm_ks5APInt4lshrEj:
 1144|    474|APInt APInt::lshr(unsigned shiftAmt) const {
 1145|    474|  if (isSingleWord()) {
  ------------------
  |  Branch (1145:7): [True: 0, False: 474]
  ------------------
 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|    474|  if (shiftAmt >= BitWidth)
  ------------------
  |  Branch (1155:7): [True: 0, False: 474]
  ------------------
 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|    474|  if (shiftAmt == 0)
  ------------------
  |  Branch (1161:7): [True: 0, False: 474]
  ------------------
 1162|      0|    return *this;
 1163|       |
 1164|       |  // Create some space for the result.
 1165|    474|  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|    474|  if (shiftAmt < APINT_BITS_PER_WORD) {
  ------------------
  |  Branch (1168:7): [True: 0, False: 474]
  ------------------
 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|    474|  unsigned wordShift = shiftAmt % APINT_BITS_PER_WORD;
 1177|    474|  unsigned offset = shiftAmt / APINT_BITS_PER_WORD;
 1178|       |
 1179|       |  // If we are shifting whole words, just move whole words
 1180|    474|  if (wordShift == 0) {
  ------------------
  |  Branch (1180:7): [True: 474, False: 0]
  ------------------
 1181|    948|    for (unsigned i = 0; i < getNumWords() - offset; ++i)
  ------------------
  |  Branch (1181:26): [True: 474, False: 474]
  ------------------
 1182|    474|      val[i] = pVal[i+offset];
 1183|    948|    for (unsigned i = getNumWords()-offset; i < getNumWords(); i++)
  ------------------
  |  Branch (1183:45): [True: 474, False: 474]
  ------------------
 1184|    474|      val[i] = 0;
 1185|    474|    APInt Result(val, BitWidth);
 1186|    474|    Result.clearUnusedBits();
 1187|    474|    return Result;
 1188|    474|  }
 1189|       |
 1190|       |  // Shift the low order words
 1191|      0|  unsigned breakWord = getNumWords() - offset -1;
 1192|      0|  for (unsigned i = 0; i < breakWord; ++i)
  ------------------
  |  Branch (1192:24): [True: 0, False: 0]
  ------------------
 1193|      0|    val[i] = (pVal[i+offset] >> wordShift) |
 1194|      0|             (pVal[i+offset+1] << (APINT_BITS_PER_WORD - wordShift));
 1195|       |  // Shift the break word.
 1196|      0|  val[breakWord] = pVal[breakWord+offset] >> wordShift;
 1197|       |
 1198|       |  // Remaining words are 0
 1199|      0|  for (unsigned i = breakWord+1; i < getNumWords(); ++i)
  ------------------
  |  Branch (1199:34): [True: 0, False: 0]
  ------------------
 1200|      0|    val[i] = 0;
 1201|      0|  APInt Result(val, BitWidth);
 1202|      0|  Result.clearUnusedBits();
 1203|      0|  return Result;
 1204|    474|}
_ZNK7llvm_ks5APInt11shlSlowCaseEj:
 1213|   176k|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|   176k|  if (shiftAmt == BitWidth)
  ------------------
  |  Branch (1217:7): [True: 0, False: 176k]
  ------------------
 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|   176k|  if (shiftAmt == 0)
  ------------------
  |  Branch (1223:7): [True: 0, False: 176k]
  ------------------
 1224|      0|    return *this;
 1225|       |
 1226|       |  // Create some space for the result.
 1227|   176k|  uint64_t * val = new uint64_t[getNumWords()];
 1228|       |
 1229|       |  // If we are shifting less than a word, do it the easy way
 1230|   176k|  if (shiftAmt < APINT_BITS_PER_WORD) {
  ------------------
  |  Branch (1230:7): [True: 175k, False: 237]
  ------------------
 1231|   175k|    uint64_t carry = 0;
 1232|  8.35M|    for (unsigned i = 0; i < getNumWords(); i++) {
  ------------------
  |  Branch (1232:26): [True: 8.17M, False: 175k]
  ------------------
 1233|  8.17M|      val[i] = pVal[i] << shiftAmt | carry;
 1234|  8.17M|      carry = pVal[i] >> (APINT_BITS_PER_WORD - shiftAmt);
 1235|  8.17M|    }
 1236|   175k|    APInt Result(val, BitWidth);
 1237|   175k|    Result.clearUnusedBits();
 1238|   175k|    return Result;
 1239|   175k|  }
 1240|       |
 1241|       |  // Compute some values needed by the remaining shift algorithms
 1242|    237|  unsigned wordShift = shiftAmt % APINT_BITS_PER_WORD;
 1243|    237|  unsigned offset = shiftAmt / APINT_BITS_PER_WORD;
 1244|       |
 1245|       |  // If we are shifting whole words, just move whole words
 1246|    237|  if (wordShift == 0) {
  ------------------
  |  Branch (1246:7): [True: 237, False: 0]
  ------------------
 1247|    474|    for (unsigned i = 0; i < offset; i++)
  ------------------
  |  Branch (1247:26): [True: 237, False: 237]
  ------------------
 1248|    237|      val[i] = 0;
 1249|    474|    for (unsigned i = offset; i < getNumWords(); i++)
  ------------------
  |  Branch (1249:31): [True: 237, False: 237]
  ------------------
 1250|    237|      val[i] = pVal[i-offset];
 1251|    237|    APInt Result(val, BitWidth);
 1252|    237|    Result.clearUnusedBits();
 1253|    237|    return Result;
 1254|    237|  }
 1255|       |
 1256|       |  // Copy whole words from this to Result.
 1257|      0|  unsigned i = getNumWords() - 1;
 1258|      0|  for (; i > offset; --i)
  ------------------
  |  Branch (1258:10): [True: 0, False: 0]
  ------------------
 1259|      0|    val[i] = pVal[i-offset] << wordShift |
 1260|      0|             pVal[i-offset-1] >> (APINT_BITS_PER_WORD - wordShift);
 1261|      0|  val[offset] = pVal[0] << wordShift;
 1262|      0|  for (i = 0; i < offset; ++i)
  ------------------
  |  Branch (1262:15): [True: 0, False: 0]
  ------------------
 1263|      0|    val[i] = 0;
 1264|      0|  APInt Result(val, BitWidth);
 1265|      0|  Result.clearUnusedBits();
 1266|      0|  return Result;
 1267|    237|}
_ZN7llvm_ks5APInt5tcSetEPmmj:
 2307|  11.0k|{
 2308|  11.0k|  unsigned int i;
 2309|       |
 2310|  11.0k|  assert(parts > 0);
  ------------------
  |  Branch (2310:3): [True: 11.0k, False: 0]
  ------------------
 2311|       |
 2312|  11.0k|  dst[0] = part;
 2313|  25.1k|  for (i = 1; i < parts; i++)
  ------------------
  |  Branch (2313:15): [True: 14.0k, False: 11.0k]
  ------------------
 2314|  14.0k|    dst[i] = 0;
 2315|  11.0k|}
_ZN7llvm_ks5APInt8tcAssignEPmPKmj:
 2320|  15.1k|{
 2321|  15.1k|  unsigned int i;
 2322|       |
 2323|  40.3k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2323:15): [True: 25.1k, False: 15.1k]
  ------------------
 2324|  25.1k|    dst[i] = src[i];
 2325|  15.1k|}
_ZN7llvm_ks5APInt8tcIsZeroEPKmj:
 2330|  10.0k|{
 2331|  10.0k|  unsigned int i;
 2332|       |
 2333|  16.5k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2333:15): [True: 16.2k, False: 346]
  ------------------
 2334|  16.2k|    if (src[i])
  ------------------
  |  Branch (2334:9): [True: 9.69k, False: 6.54k]
  ------------------
 2335|  9.69k|      return false;
 2336|       |
 2337|    346|  return true;
 2338|  10.0k|}
_ZN7llvm_ks5APInt12tcExtractBitEPKmj:
 2343|  7.63k|{
 2344|  7.63k|  return (parts[bit / integerPartWidth] &
 2345|  7.63k|          ((integerPart) 1 << bit % integerPartWidth)) != 0;
 2346|  7.63k|}
_ZN7llvm_ks5APInt8tcSetBitEPmj:
 2351|   212k|{
 2352|   212k|  parts[bit / integerPartWidth] |= (integerPart) 1 << (bit % integerPartWidth);
 2353|   212k|}
_ZN7llvm_ks5APInt5tcLSBEPKmj:
 2367|  7.50k|{
 2368|  7.50k|  unsigned int i, lsb;
 2369|       |
 2370|  9.21k|  for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2370:15): [True: 9.21k, False: 0]
  ------------------
 2371|  9.21k|      if (parts[i] != 0) {
  ------------------
  |  Branch (2371:11): [True: 7.50k, False: 1.71k]
  ------------------
 2372|  7.50k|          lsb = partLSB(parts[i]);
 2373|       |
 2374|  7.50k|          return lsb + i * integerPartWidth;
 2375|  7.50k|      }
 2376|  9.21k|  }
 2377|       |
 2378|      0|  return -1U;
 2379|  7.50k|}
_ZN7llvm_ks5APInt5tcMSBEPKmj:
 2385|  33.2k|{
 2386|  33.2k|  unsigned int msb;
 2387|       |
 2388|  36.6k|  do {
 2389|  36.6k|    --n;
 2390|       |
 2391|  36.6k|    if (parts[n] != 0) {
  ------------------
  |  Branch (2391:9): [True: 32.4k, False: 4.25k]
  ------------------
 2392|  32.4k|      msb = partMSB(parts[n]);
 2393|       |
 2394|  32.4k|      return msb + n * integerPartWidth;
 2395|  32.4k|    }
 2396|  36.6k|  } while (n);
  ------------------
  |  Branch (2396:12): [True: 3.47k, False: 780]
  ------------------
 2397|       |
 2398|    780|  return -1U;
 2399|  33.2k|}
_ZN7llvm_ks5APInt9tcExtractEPmjPKmjj:
 2408|  13.1k|{
 2409|  13.1k|  unsigned int firstSrcPart, dstParts, shift, n;
 2410|       |
 2411|  13.1k|  dstParts = (srcBits + integerPartWidth - 1) / integerPartWidth;
 2412|  13.1k|  assert(dstParts <= dstCount);
  ------------------
  |  Branch (2412:3): [True: 13.1k, False: 0]
  ------------------
 2413|       |
 2414|  13.1k|  firstSrcPart = srcLSB / integerPartWidth;
 2415|  13.1k|  tcAssign (dst, src + firstSrcPart, dstParts);
 2416|       |
 2417|  13.1k|  shift = srcLSB % integerPartWidth;
 2418|  13.1k|  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|  13.1k|  n = dstParts * integerPartWidth - shift;
 2424|  13.1k|  if (n < srcBits) {
  ------------------
  |  Branch (2424:7): [True: 723, False: 12.3k]
  ------------------
 2425|    723|    integerPart mask = lowBitMask (srcBits - n);
 2426|    723|    dst[dstParts - 1] |= ((src[firstSrcPart + dstParts] & mask)
 2427|    723|                          << n % integerPartWidth);
 2428|  12.3k|  } else if (n > srcBits) {
  ------------------
  |  Branch (2428:14): [True: 12.3k, False: 23]
  ------------------
 2429|  12.3k|    if (srcBits % integerPartWidth)
  ------------------
  |  Branch (2429:9): [True: 12.1k, False: 233]
  ------------------
 2430|  12.1k|      dst[dstParts - 1] &= lowBitMask (srcBits % integerPartWidth);
 2431|  12.3k|  }
 2432|       |
 2433|       |  /* Clear high parts.  */
 2434|  16.8k|  while (dstParts < dstCount)
  ------------------
  |  Branch (2434:10): [True: 3.70k, False: 13.1k]
  ------------------
 2435|  3.70k|    dst[dstParts++] = 0;
 2436|  13.1k|}
_ZN7llvm_ks5APInt10tcSubtractEPmPKmmj:
 2467|   212k|{
 2468|   212k|  unsigned int i;
 2469|       |
 2470|   212k|  assert(c <= 1);
  ------------------
  |  Branch (2470:3): [True: 212k, False: 0]
  ------------------
 2471|       |
 2472|  15.1M|  for (i = 0; i < parts; i++) {
  ------------------
  |  Branch (2472:15): [True: 14.8M, False: 212k]
  ------------------
 2473|  14.8M|    integerPart l;
 2474|       |
 2475|  14.8M|    l = dst[i];
 2476|  14.8M|    if (c) {
  ------------------
  |  Branch (2476:9): [True: 3.72M, False: 11.1M]
  ------------------
 2477|  3.72M|      dst[i] -= rhs[i] + 1;
 2478|  3.72M|      c = (dst[i] >= l);
 2479|  11.1M|    } else {
 2480|  11.1M|      dst[i] -= rhs[i];
 2481|  11.1M|      c = (dst[i] > l);
 2482|  11.1M|    }
 2483|  14.8M|  }
 2484|       |
 2485|   212k|  return c;
 2486|   212k|}
_ZN7llvm_ks5APInt14tcMultiplyPartEPmPKmmmjjb:
 2512|  16.3k|{
 2513|  16.3k|  unsigned int i, n;
 2514|       |
 2515|       |  /* Otherwise our writes of DST kill our later reads of SRC.  */
 2516|  16.3k|  assert(dst <= src || dst >= src + srcParts);
  ------------------
  |  Branch (2516:3): [True: 10.1k, False: 6.23k]
  |  Branch (2516:3): [True: 6.23k, False: 0]
  |  Branch (2516:3): [True: 16.3k, False: 0]
  ------------------
 2517|  16.3k|  assert(dstParts <= srcParts + 1);
  ------------------
  |  Branch (2517:3): [True: 16.3k, False: 0]
  ------------------
 2518|       |
 2519|       |  /* N loops; minimum of dstParts and srcParts.  */
 2520|  16.3k|  n = dstParts < srcParts ? dstParts: srcParts;
  ------------------
  |  Branch (2520:7): [True: 0, False: 16.3k]
  ------------------
 2521|       |
 2522|   242k|  for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2522:15): [True: 226k, False: 16.3k]
  ------------------
 2523|   226k|    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|   226k|    srcPart = src[i];
 2534|       |
 2535|   226k|    if (multiplier == 0 || srcPart == 0)        {
  ------------------
  |  Branch (2535:9): [True: 0, False: 226k]
  |  Branch (2535:28): [True: 26.0k, False: 200k]
  ------------------
 2536|  26.0k|      low = carry;
 2537|  26.0k|      high = 0;
 2538|   200k|    } else {
 2539|   200k|      low = lowHalf(srcPart) * lowHalf(multiplier);
 2540|   200k|      high = highHalf(srcPart) * highHalf(multiplier);
 2541|       |
 2542|   200k|      mid = lowHalf(srcPart) * highHalf(multiplier);
 2543|   200k|      high += highHalf(mid);
 2544|   200k|      mid <<= integerPartWidth / 2;
 2545|   200k|      if (low + mid < low)
  ------------------
  |  Branch (2545:11): [True: 48.2k, False: 152k]
  ------------------
 2546|  48.2k|        high++;
 2547|   200k|      low += mid;
 2548|       |
 2549|   200k|      mid = highHalf(srcPart) * lowHalf(multiplier);
 2550|   200k|      high += highHalf(mid);
 2551|   200k|      mid <<= integerPartWidth / 2;
 2552|   200k|      if (low + mid < low)
  ------------------
  |  Branch (2552:11): [True: 98.6k, False: 101k]
  ------------------
 2553|  98.6k|        high++;
 2554|   200k|      low += mid;
 2555|       |
 2556|       |      /* Now add carry.  */
 2557|   200k|      if (low + carry < low)
  ------------------
  |  Branch (2557:11): [True: 45.2k, False: 155k]
  ------------------
 2558|  45.2k|        high++;
 2559|   200k|      low += carry;
 2560|   200k|    }
 2561|       |
 2562|   226k|    if (add) {
  ------------------
  |  Branch (2562:9): [True: 79.8k, False: 146k]
  ------------------
 2563|       |      /* And now DST[i], and store the new low part there.  */
 2564|  79.8k|      if (low + dst[i] < low)
  ------------------
  |  Branch (2564:11): [True: 31.8k, False: 48.0k]
  ------------------
 2565|  31.8k|        high++;
 2566|  79.8k|      dst[i] += low;
 2567|  79.8k|    } else
 2568|   146k|      dst[i] = low;
 2569|       |
 2570|   226k|    carry = high;
 2571|   226k|  }
 2572|       |
 2573|  16.3k|  if (i < dstParts) {
  ------------------
  |  Branch (2573:7): [True: 16.3k, False: 0]
  ------------------
 2574|       |    /* Full multiplication, there is no overflow.  */
 2575|  16.3k|    assert(i + 1 == dstParts);
  ------------------
  |  Branch (2575:5): [True: 16.3k, False: 0]
  ------------------
 2576|  16.3k|    dst[i] = carry;
 2577|  16.3k|    return 0;
 2578|  16.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|  16.3k|}
_ZN7llvm_ks5APInt14tcFullMultiplyEPmPKmS3_jj:
 2627|  4.65k|{
 2628|       |  /* Put the narrower number on the LHS for less loops below.  */
 2629|  4.65k|  if (lhsParts > rhsParts) {
  ------------------
  |  Branch (2629:7): [True: 0, False: 4.65k]
  ------------------
 2630|      0|    return tcFullMultiply (dst, rhs, lhs, rhsParts, lhsParts);
 2631|  4.65k|  } else {
 2632|  4.65k|    unsigned int n;
 2633|       |
 2634|  4.65k|    assert(dst != lhs && dst != rhs);
  ------------------
  |  Branch (2634:5): [True: 4.65k, False: 0]
  |  Branch (2634:5): [True: 4.65k, False: 0]
  |  Branch (2634:5): [True: 4.65k, False: 0]
  ------------------
 2635|       |
 2636|  4.65k|    tcSet(dst, 0, rhsParts);
 2637|       |
 2638|  13.8k|    for (n = 0; n < lhsParts; n++)
  ------------------
  |  Branch (2638:17): [True: 9.20k, False: 4.65k]
  ------------------
 2639|  9.20k|      tcMultiplyPart(&dst[n], rhs, lhs[n], 0, rhsParts, rhsParts + 1, true);
 2640|       |
 2641|  4.65k|    n = lhsParts + rhsParts;
 2642|       |
 2643|  4.65k|    return n - (dst[n - 1] == 0);
 2644|  4.65k|  }
 2645|  4.65k|}
_ZN7llvm_ks5APInt11tcShiftLeftEPmjj:
 2706|   564k|{
 2707|   564k|  if (count) {
  ------------------
  |  Branch (2707:7): [True: 564k, False: 0]
  ------------------
 2708|   564k|    unsigned int jump, shift;
 2709|       |
 2710|       |    /* Jump is the inter-part jump; shift is is intra-part shift.  */
 2711|   564k|    jump = count / integerPartWidth;
 2712|   564k|    shift = count % integerPartWidth;
 2713|       |
 2714|  46.3M|    while (parts > jump) {
  ------------------
  |  Branch (2714:12): [True: 45.7M, False: 564k]
  ------------------
 2715|  45.7M|      integerPart part;
 2716|       |
 2717|  45.7M|      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|  45.7M|      part = dst[parts - jump];
 2722|  45.7M|      if (shift) {
  ------------------
  |  Branch (2722:11): [True: 45.7M, False: 436]
  ------------------
 2723|  45.7M|        part <<= shift;
 2724|  45.7M|        if (parts >= jump + 1)
  ------------------
  |  Branch (2724:13): [True: 45.2M, False: 564k]
  ------------------
 2725|  45.2M|          part |= dst[parts - jump - 1] >> (integerPartWidth - shift);
 2726|  45.7M|      }
 2727|       |
 2728|  45.7M|      dst[parts] = part;
 2729|  45.7M|    }
 2730|       |
 2731|   568k|    while (parts > 0)
  ------------------
  |  Branch (2731:12): [True: 3.46k, False: 564k]
  ------------------
 2732|  3.46k|      dst[--parts] = 0;
 2733|   564k|  }
 2734|   564k|}
_ZN7llvm_ks5APInt12tcShiftRightEPmjj:
 2740|  15.7k|{
 2741|  15.7k|  if (count) {
  ------------------
  |  Branch (2741:7): [True: 7.45k, False: 8.28k]
  ------------------
 2742|  7.45k|    unsigned int i, jump, shift;
 2743|       |
 2744|       |    /* Jump is the inter-part jump; shift is is intra-part shift.  */
 2745|  7.45k|    jump = count / integerPartWidth;
 2746|  7.45k|    shift = count % integerPartWidth;
 2747|       |
 2748|       |    /* Perform the shift.  This leaves the most significant COUNT bits
 2749|       |       of the result at zero.  */
 2750|  20.8k|    for (i = 0; i < parts; i++) {
  ------------------
  |  Branch (2750:17): [True: 13.3k, False: 7.45k]
  ------------------
 2751|  13.3k|      integerPart part;
 2752|       |
 2753|  13.3k|      if (i + jump >= parts) {
  ------------------
  |  Branch (2753:11): [True: 33, False: 13.3k]
  ------------------
 2754|     33|        part = 0;
 2755|  13.3k|      } else {
 2756|  13.3k|        part = dst[i + jump];
 2757|  13.3k|        if (shift) {
  ------------------
  |  Branch (2757:13): [True: 13.3k, False: 0]
  ------------------
 2758|  13.3k|          part >>= shift;
 2759|  13.3k|          if (i + jump + 1 < parts)
  ------------------
  |  Branch (2759:15): [True: 6.12k, False: 7.19k]
  ------------------
 2760|  6.12k|            part |= dst[i + jump + 1] << (integerPartWidth - shift);
 2761|  13.3k|        }
 2762|  13.3k|      }
 2763|       |
 2764|  13.3k|      dst[i] = part;
 2765|  13.3k|    }
 2766|  7.45k|  }
 2767|  15.7k|}
_ZN7llvm_ks5APInt9tcCompareEPKmS2_j:
 2813|   562k|{
 2814|   567k|  while (parts) {
  ------------------
  |  Branch (2814:10): [True: 566k, False: 680]
  ------------------
 2815|   566k|      parts--;
 2816|   566k|      if (lhs[parts] == rhs[parts])
  ------------------
  |  Branch (2816:11): [True: 5.01k, False: 561k]
  ------------------
 2817|  5.01k|        continue;
 2818|       |
 2819|   561k|      if (lhs[parts] > rhs[parts])
  ------------------
  |  Branch (2819:11): [True: 215k, False: 345k]
  ------------------
 2820|   215k|        return 1;
 2821|   345k|      else
 2822|   345k|        return -1;
 2823|   561k|    }
 2824|       |
 2825|    680|  return 0;
 2826|   562k|}
_ZN7llvm_ks5APInt11tcIncrementEPmj:
 2831|  2.17k|{
 2832|  2.17k|  unsigned int i;
 2833|       |
 2834|  2.24k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2834:15): [True: 2.24k, False: 0]
  ------------------
 2835|  2.24k|    if (++dst[i] != 0)
  ------------------
  |  Branch (2835:9): [True: 2.17k, False: 70]
  ------------------
 2836|  2.17k|      break;
 2837|       |
 2838|  2.17k|  return i == parts;
 2839|  2.17k|}
APInt.cpp:_ZL16getClearedMemoryj:
   34|  56.8k|inline static uint64_t* getClearedMemory(unsigned numWords) {
   35|  56.8k|  uint64_t * result = new uint64_t[numWords];
   36|  56.8k|  assert(result && "APInt memory allocation fails!");
  ------------------
  |  Branch (36:3): [True: 56.8k, False: 0]
  |  Branch (36:3): [True: 56.8k, Folded]
  |  Branch (36:3): [True: 56.8k, False: 0]
  ------------------
   37|  56.8k|  memset(result, 0, numWords * sizeof(uint64_t));
   38|  56.8k|  return result;
   39|  56.8k|}
APInt.cpp:_ZL9getMemoryj:
   43|   110k|inline static uint64_t* getMemory(unsigned numWords) {
   44|   110k|  uint64_t * result = new uint64_t[numWords];
   45|   110k|  assert(result && "APInt memory allocation fails!");
  ------------------
  |  Branch (45:3): [True: 110k, False: 0]
  |  Branch (45:3): [True: 110k, Folded]
  |  Branch (45:3): [True: 110k, False: 0]
  ------------------
   46|   110k|  return result;
   47|   110k|}
APInt.cpp:_ZN12_GLOBAL__N_17partLSBEm:
 2298|  7.50k|  {
 2299|  7.50k|    return findFirstSet(value, ZB_Max);
 2300|  7.50k|  }
APInt.cpp:_ZN12_GLOBAL__N_17partMSBEm:
 2290|  32.4k|  {
 2291|  32.4k|    return findLastSet(value, ZB_Max);
 2292|  32.4k|  }
APInt.cpp:_ZN12_GLOBAL__N_110lowBitMaskEj:
 2266|   815k|  {
 2267|   815k|    assert(bits != 0 && bits <= integerPartWidth);
  ------------------
  |  Branch (2267:5): [True: 815k, False: 0]
  |  Branch (2267:5): [True: 815k, False: 0]
  |  Branch (2267:5): [True: 815k, False: 0]
  ------------------
 2268|       |
 2269|   815k|    return ~(integerPart) 0 >> (integerPartWidth - bits);
 2270|   815k|  }
APInt.cpp:_ZN12_GLOBAL__N_17lowHalfEm:
 2275|   802k|  {
 2276|   802k|    return part & lowBitMask(integerPartWidth / 2);
 2277|   802k|  }
APInt.cpp:_ZN12_GLOBAL__N_18highHalfEm:
 2282|  1.20M|  {
 2283|  1.20M|    return part >> (integerPartWidth / 2);
 2284|  1.20M|  }

_ZN7llvm_ks12MemoryBufferD2Ev:
   39|  6.20k|MemoryBuffer::~MemoryBuffer() { }
_ZN7llvm_ks12MemoryBuffer4initEPKcS2_b:
   44|  6.20k|                        bool RequiresNullTerminator) {
   45|  6.20k|  assert((!RequiresNullTerminator || BufEnd[0] == 0) &&
  ------------------
  |  Branch (45:3): [True: 0, False: 6.20k]
  |  Branch (45:3): [True: 6.20k, False: 0]
  |  Branch (45:3): [True: 6.20k, Folded]
  |  Branch (45:3): [True: 6.20k, False: 0]
  ------------------
   46|  6.20k|         "Buffer is not null terminated!");
   47|  6.20k|  BufferStart = BufStart;
   48|  6.20k|  BufferEnd = BufEnd;
   49|  6.20k|}
_ZN7llvm_ks12MemoryBuffer12getMemBufferENS_9StringRefES1_b:
  104|    692|                           bool RequiresNullTerminator) {
  105|    692|  auto *Ret = new (NamedBufferAlloc(BufferName))
  106|    692|      MemoryBufferMem(InputData, RequiresNullTerminator);
  107|    692|  return std::unique_ptr<MemoryBuffer>(Ret);
  108|    692|}
_ZN7llvm_ks12MemoryBuffer16getMemBufferCopyENS_9StringRefERKNS_5TwineE:
  117|  5.51k|MemoryBuffer::getMemBufferCopy(StringRef InputData, const Twine &BufferName) {
  118|  5.51k|  std::unique_ptr<MemoryBuffer> Buf =
  119|  5.51k|      getNewUninitMemBuffer(InputData.size(), BufferName);
  120|  5.51k|  if (!Buf)
  ------------------
  |  Branch (120:7): [True: 0, False: 5.51k]
  ------------------
  121|      0|    return nullptr;
  122|  5.51k|  memcpy(const_cast<char*>(Buf->getBufferStart()), InputData.data(),
  123|  5.51k|         InputData.size());
  124|  5.51k|  return Buf;
  125|  5.51k|}
_ZN7llvm_ks12MemoryBuffer21getNewUninitMemBufferEmRKNS_5TwineE:
  128|  5.51k|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|  5.51k|  SmallString<256> NameBuf;
  134|  5.51k|  StringRef NameRef = BufferName.toStringRef(NameBuf);
  135|  5.51k|  size_t AlignedStringLen =
  136|  5.51k|      alignTo(sizeof(MemoryBufferMem) + NameRef.size() + 1, 16);
  137|  5.51k|  size_t RealLen = AlignedStringLen + Size + 1;
  138|  5.51k|  char *Mem = static_cast<char*>(operator new(RealLen, std::nothrow));
  139|  5.51k|  if (!Mem)
  ------------------
  |  Branch (139:7): [True: 0, False: 5.51k]
  ------------------
  140|      0|    return nullptr;
  141|       |
  142|       |  // The name is stored after the class itself.
  143|  5.51k|  CopyStringRef(Mem + sizeof(MemoryBufferMem), NameRef);
  144|       |
  145|       |  // The buffer begins after the name and must be aligned.
  146|  5.51k|  char *Buf = Mem + AlignedStringLen;
  147|  5.51k|  Buf[Size] = 0; // Null terminate buffer.
  148|       |
  149|  5.51k|  auto *Ret = new (Mem) MemoryBufferMem(StringRef(Buf, Size), true);
  150|  5.51k|  return std::unique_ptr<MemoryBuffer>(Ret);
  151|  5.51k|}
MemoryBuffer.cpp:_ZN12_GLOBAL__N_116NamedBufferAllocC2ERKN7llvm_ks5TwineE:
   66|    692|  NamedBufferAlloc(const Twine &Name) : Name(Name) {}
MemoryBuffer.cpp:_ZnwmRKN12_GLOBAL__N_116NamedBufferAllocE:
   70|    692|void *operator new(size_t N, const NamedBufferAlloc &Alloc) {
   71|    692|  SmallString<256> NameBuf;
   72|    692|  StringRef NameRef = Alloc.Name.toStringRef(NameBuf);
   73|       |
   74|    692|  char *Mem = static_cast<char *>(operator new(N + NameRef.size() + 1));
   75|    692|  CopyStringRef(Mem + N, NameRef);
   76|    692|  return Mem;
   77|    692|}
MemoryBuffer.cpp:_ZN12_GLOBAL__N_115MemoryBufferMemC2EN7llvm_ks9StringRefEb:
   83|  6.20k|  MemoryBufferMem(StringRef InputData, bool RequiresNullTerminator) {
   84|  6.20k|    init(InputData.begin(), InputData.end(), RequiresNullTerminator);
   85|  6.20k|  }
MemoryBuffer.cpp:_ZNK12_GLOBAL__N_115MemoryBufferMem19getBufferIdentifierEv:
   87|  2.63k|  const char *getBufferIdentifier() const override {
   88|       |     // The name is stored after the class itself.
   89|  2.63k|    return reinterpret_cast<const char*>(this + 1);
   90|  2.63k|  }
MemoryBuffer.cpp:_ZL13CopyStringRefPcN7llvm_ks9StringRefE:
   57|  6.20k|static void CopyStringRef(char *Memory, StringRef Data) {
   58|  6.20k|  if (!Data.empty())
  ------------------
  |  Branch (58:7): [True: 5.51k, False: 692]
  ------------------
   59|  5.51k|    memcpy(Memory, Data.data(), Data.size());
   60|  6.20k|  Memory[Data.size()] = 0; // Null terminate string.
   61|  6.20k|}

_ZN7llvm_ks3sys4path5beginENS_9StringRefE:
  232|    692|const_iterator begin(StringRef path) {
  233|    692|  const_iterator i;
  234|    692|  i.Path      = path;
  235|    692|  i.Component = find_first_component(path);
  236|    692|  i.Position  = 0;
  237|    692|  return i;
  238|    692|}
_ZN7llvm_ks3sys4path3endENS_9StringRefE:
  240|    692|const_iterator end(StringRef path) {
  241|    692|  const_iterator i;
  242|    692|  i.Path      = path;
  243|    692|  i.Position  = path.size();
  244|    692|  return i;
  245|    692|}
_ZNK7llvm_ks3sys4path14const_iteratoreqERKS2_:
  300|    692|bool const_iterator::operator==(const const_iterator &RHS) const {
  301|    692|  return Path.begin() == RHS.Path.begin() && Position == RHS.Position;
  ------------------
  |  Branch (301:10): [True: 692, False: 0]
  |  Branch (301:46): [True: 0, False: 692]
  ------------------
  302|    692|}
_ZN7llvm_ks3sys4path14root_directoryENS_9StringRefE:
  409|    692|StringRef root_directory(StringRef path) {
  410|    692|  const_iterator b = begin(path),
  411|    692|                 pos = b,
  412|    692|                 e = end(path);
  413|    692|  if (b != e) {
  ------------------
  |  Branch (413:7): [True: 692, False: 0]
  ------------------
  414|    692|    bool has_net = b->size() > 2 && is_separator((*b)[0]) && (*b)[1] == (*b)[0];
  ------------------
  |  Branch (414:20): [True: 0, False: 692]
  |  Branch (414:37): [True: 0, False: 0]
  |  Branch (414:62): [True: 0, False: 0]
  ------------------
  415|    692|    bool has_drive =
  416|       |#ifdef LLVM_ON_WIN32
  417|       |      b->endswith(":");
  418|       |#else
  419|    692|      false;
  420|    692|#endif
  421|       |
  422|    692|    if ((has_net || has_drive) &&
  ------------------
  |  Branch (422:10): [True: 0, False: 692]
  |  Branch (422:21): [True: 0, False: 692]
  ------------------
  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|    692|    if (!has_net && is_separator((*b)[0])) {
  ------------------
  |  Branch (429:9): [True: 692, False: 0]
  |  Branch (429:21): [True: 692, False: 0]
  ------------------
  430|    692|      return *b;
  431|    692|    }
  432|    692|  }
  433|       |
  434|       |  // No path or no root.
  435|      0|  return StringRef();
  436|    692|}
_ZN7llvm_ks3sys4path12is_separatorEc:
  576|  2.07k|bool is_separator(char value) {
  577|  2.07k|  switch(value) {
  578|       |#ifdef LLVM_ON_WIN32
  579|       |    case '\\': // fall through
  580|       |#endif
  581|  2.07k|    case '/': return true;
  ------------------
  |  Branch (581:5): [True: 2.07k, False: 0]
  ------------------
  582|      0|    default: return false;
  ------------------
  |  Branch (582:5): [True: 0, False: 2.07k]
  ------------------
  583|  2.07k|  }
  584|  2.07k|}
_ZN7llvm_ks3sys4path18has_root_directoryERKNS_5TwineE:
  599|    692|bool has_root_directory(const Twine &path) {
  600|    692|  SmallString<128> path_storage;
  601|    692|  StringRef p = path.toStringRef(path_storage);
  602|       |
  603|    692|  return !root_directory(p).empty();
  604|    692|}
_ZN7llvm_ks3sys4path11is_absoluteERKNS_5TwineE:
  648|    692|bool is_absolute(const Twine &path) {
  649|    692|  SmallString<128> path_storage;
  650|    692|  StringRef p = path.toStringRef(path_storage);
  651|       |
  652|    692|  bool rootDir = has_root_directory(p),
  653|       |#ifdef LLVM_ON_WIN32
  654|       |       rootName = has_root_name(p);
  655|       |#else
  656|    692|       rootName = true;
  657|    692|#endif
  658|       |
  659|    692|  return rootDir && rootName;
  ------------------
  |  Branch (659:10): [True: 692, False: 0]
  |  Branch (659:21): [True: 692, False: 0]
  ------------------
  660|    692|}
Path.cpp:_ZN12_GLOBAL__N_120find_first_componentEN7llvm_ks9StringRefE:
   45|    692|  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|    692|    if (path.empty())
  ------------------
  |  Branch (52:9): [True: 0, False: 692]
  ------------------
   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|    692|    if ((path.size() > 2) &&
  ------------------
  |  Branch (63:9): [True: 692, False: 0]
  ------------------
   64|    692|        is_separator(path[0]) &&
  ------------------
  |  Branch (64:9): [True: 692, False: 0]
  ------------------
   65|    692|        path[0] == path[1] &&
  ------------------
  |  Branch (65:9): [True: 0, False: 692]
  ------------------
   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|    692|    if (is_separator(path[0]))
  ------------------
  |  Branch (73:9): [True: 692, False: 0]
  ------------------
   74|    692|      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|    692|  }

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

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

_ZNK7llvm_ks9StringRef13compare_lowerES0_:
   52|  2.20k|int StringRef::compare_lower(StringRef RHS) const {
   53|  2.20k|  if (int Res = ascii_strncasecmp(Data, RHS.Data, std::min(Length, RHS.Length)))
  ------------------
  |  Branch (53:11): [True: 1.33k, False: 866]
  ------------------
   54|  1.33k|    return Res;
   55|    866|  if (Length == RHS.Length)
  ------------------
  |  Branch (55:7): [True: 545, False: 321]
  ------------------
   56|    545|    return 0;
   57|    321|  return Length < RHS.Length ? -1 : 1;
  ------------------
  |  Branch (57:10): [True: 318, False: 3]
  ------------------
   58|    866|}
_ZNK7llvm_ks9StringRef5lowerEv:
  117|  58.4k|std::string StringRef::lower() const {
  118|  58.4k|  std::string Result(size(), char());
  119|   598k|  for (size_type i = 0, e = size(); i != e; ++i) {
  ------------------
  |  Branch (119:37): [True: 539k, False: 58.4k]
  ------------------
  120|   539k|    Result[i] = ascii_tolower(Data[i]);
  121|   539k|  }
  122|  58.4k|  return Result;
  123|  58.4k|}
_ZNK7llvm_ks9StringRef17find_first_not_ofES0_m:
  231|  1.05k|                                                  size_t From) const {
  232|  1.05k|  std::bitset<1 << CHAR_BIT> CharBits;
  233|  7.37k|  for (size_type i = 0; i != Chars.size(); ++i)
  ------------------
  |  Branch (233:25): [True: 6.32k, False: 1.05k]
  ------------------
  234|  6.32k|    CharBits.set((unsigned char)Chars[i]);
  235|       |
  236|  1.31k|  for (size_type i = std::min(From, Length), e = Length; i != e; ++i)
  ------------------
  |  Branch (236:58): [True: 799, False: 518]
  ------------------
  237|    799|    if (!CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (237:9): [True: 536, False: 263]
  ------------------
  238|    536|      return i;
  239|    518|  return npos;
  240|  1.05k|}
_ZNK7llvm_ks9StringRef12find_last_ofES0_m:
  247|  4.20k|                                             size_t From) const {
  248|  4.20k|  std::bitset<1 << CHAR_BIT> CharBits;
  249|  12.6k|  for (size_type i = 0; i != Chars.size(); ++i)
  ------------------
  |  Branch (249:25): [True: 8.40k, False: 4.20k]
  ------------------
  250|  8.40k|    CharBits.set((unsigned char)Chars[i]);
  251|       |
  252|  39.7k|  for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
  ------------------
  |  Branch (252:58): [True: 38.9k, False: 712]
  ------------------
  253|  38.9k|    if (CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (253:9): [True: 3.48k, False: 35.5k]
  ------------------
  254|  3.48k|      return i;
  255|    712|  return npos;
  256|  4.20k|}
_ZNK7llvm_ks9StringRef16find_last_not_ofES0_m:
  272|  1.05k|                                                 size_t From) const {
  273|  1.05k|  std::bitset<1 << CHAR_BIT> CharBits;
  274|  7.37k|  for (size_type i = 0, e = Chars.size(); i != e; ++i)
  ------------------
  |  Branch (274:43): [True: 6.32k, False: 1.05k]
  ------------------
  275|  6.32k|    CharBits.set((unsigned char)Chars[i]);
  276|       |
  277|  1.05k|  for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
  ------------------
  |  Branch (277:58): [True: 536, False: 518]
  ------------------
  278|    536|    if (!CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (278:9): [True: 536, False: 0]
  ------------------
  279|    536|      return i;
  280|    518|  return npos;
  281|  1.05k|}
_ZNK7llvm_ks9StringRef5splitERNS_15SmallVectorImplIS0_EEcib:
  311|  7.66k|                      int MaxSplit, bool KeepEmpty) const {
  312|  7.66k|  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|  16.7k|  while (MaxSplit-- != 0) {
  ------------------
  |  Branch (318:10): [True: 16.7k, False: 0]
  ------------------
  319|  16.7k|    size_t Idx = S.find(Separator);
  320|  16.7k|    if (Idx == npos)
  ------------------
  |  Branch (320:9): [True: 7.66k, False: 9.06k]
  ------------------
  321|  7.66k|      break;
  322|       |
  323|       |    // Push this split.
  324|  9.06k|    if (KeepEmpty || Idx > 0)
  ------------------
  |  Branch (324:9): [True: 9.06k, False: 0]
  |  Branch (324:22): [True: 0, False: 0]
  ------------------
  325|  9.06k|      A.push_back(S.slice(0, Idx));
  326|       |
  327|       |    // Jump forward.
  328|  9.06k|    S = S.slice(Idx + 1, npos);
  329|  9.06k|  }
  330|       |
  331|       |  // Push the tail.
  332|  7.66k|  if (KeepEmpty || !S.empty())
  ------------------
  |  Branch (332:7): [True: 6.97k, False: 698]
  |  Branch (332:20): [True: 6, False: 692]
  ------------------
  333|  6.97k|    A.push_back(S);
  334|  7.66k|}
_ZN7llvm_ks20getAsUnsignedIntegerENS_9StringRefEjRy:
  379|     97|                                unsigned long long &Result) {
  380|       |  // Autosense radix if not specified.
  381|     97|  if (Radix == 0)
  ------------------
  |  Branch (381:7): [True: 0, False: 97]
  ------------------
  382|      0|    Radix = GetAutoSenseRadix(Str);
  383|       |
  384|       |  // Empty strings (after the radix autosense) are invalid.
  385|     97|  if (Str.empty()) return true;
  ------------------
  |  Branch (385:7): [True: 0, False: 97]
  ------------------
  386|       |
  387|       |  // Parse all the bytes of the string given this radix.  Watch for overflow.
  388|     97|  Result = 0;
  389|    319|  while (!Str.empty()) {
  ------------------
  |  Branch (389:10): [True: 259, False: 60]
  ------------------
  390|    259|    unsigned CharVal;
  391|    259|    if (Str[0] >= '0' && Str[0] <= '9')
  ------------------
  |  Branch (391:9): [True: 259, False: 0]
  |  Branch (391:26): [True: 225, False: 34]
  ------------------
  392|    225|      CharVal = Str[0]-'0';
  393|     34|    else if (Str[0] >= 'a' && Str[0] <= 'z')
  ------------------
  |  Branch (393:14): [True: 34, False: 0]
  |  Branch (393:31): [True: 34, False: 0]
  ------------------
  394|     34|      CharVal = Str[0]-'a'+10;
  395|      0|    else if (Str[0] >= 'A' && Str[0] <= 'Z')
  ------------------
  |  Branch (395:14): [True: 0, False: 0]
  |  Branch (395:31): [True: 0, False: 0]
  ------------------
  396|      0|      CharVal = Str[0]-'A'+10;
  397|      0|    else
  398|      0|      return true;
  399|       |
  400|       |    // If the parsed value is larger than the integer radix, the string is
  401|       |    // invalid.
  402|    259|    if (CharVal >= Radix)
  ------------------
  |  Branch (402:9): [True: 34, False: 225]
  ------------------
  403|     34|      return true;
  404|       |
  405|       |    // Add in this character.
  406|    225|    unsigned long long PrevResult = Result;
  407|    225|    Result = Result*Radix+CharVal;
  408|       |
  409|       |    // Check for overflow by shifting back and seeing if bits were lost.
  410|    225|    if (Result/Radix < PrevResult)
  ------------------
  |  Branch (410:9): [True: 3, False: 222]
  ------------------
  411|      3|      return true;
  412|       |
  413|    222|    Str = Str.substr(1);
  414|    222|  }
  415|       |
  416|     60|  return false;
  417|     97|}
_ZN7llvm_ks18getAsSignedIntegerENS_9StringRefEjRx:
  420|     97|                              long long &Result) {
  421|     97|  unsigned long long ULLVal;
  422|       |
  423|       |  // Handle positive strings first.
  424|     97|  if (Str.empty() || Str.front() != '-') {
  ------------------
  |  Branch (424:7): [True: 0, False: 97]
  |  Branch (424:22): [True: 97, False: 0]
  ------------------
  425|     97|    if (getAsUnsignedInteger(Str, Radix, ULLVal) ||
  ------------------
  |  Branch (425:9): [True: 37, False: 60]
  ------------------
  426|       |        // Check for value so large it overflows a signed value.
  427|     60|        (long long)ULLVal < 0)
  ------------------
  |  Branch (427:9): [True: 0, False: 60]
  ------------------
  428|     37|      return true;
  429|     60|    Result = ULLVal;
  430|     60|    return false;
  431|     97|  }
  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|  56.8k|bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const {
  446|  56.8k|  StringRef Str = *this;
  447|       |
  448|       |  // Autosense radix if not specified.
  449|  56.8k|  if (Radix == 0)
  ------------------
  |  Branch (449:7): [True: 2.28k, False: 54.5k]
  ------------------
  450|  2.28k|    Radix = GetAutoSenseRadix(Str);
  451|       |
  452|  56.8k|  assert(Radix > 1 && Radix <= 36);
  ------------------
  |  Branch (452:3): [True: 56.8k, False: 0]
  |  Branch (452:3): [True: 56.8k, False: 0]
  |  Branch (452:3): [True: 56.8k, False: 0]
  ------------------
  453|       |
  454|       |  // Empty strings (after the radix autosense) are invalid.
  455|  56.8k|  if (Str.empty()) return true;
  ------------------
  |  Branch (455:7): [True: 0, False: 56.8k]
  ------------------
  456|       |
  457|       |  // Skip leading zeroes.  This can be a significant improvement if
  458|       |  // it means we don't need > 64 bits.
  459|   110k|  while (!Str.empty() && Str.front() == '0')
  ------------------
  |  Branch (459:10): [True: 94.3k, False: 15.7k]
  |  Branch (459:26): [True: 53.2k, False: 41.0k]
  ------------------
  460|  53.2k|    Str = Str.substr(1);
  461|       |
  462|       |  // If it was nothing but zeroes....
  463|  56.8k|  if (Str.empty()) {
  ------------------
  |  Branch (463:7): [True: 15.7k, False: 41.0k]
  ------------------
  464|  15.7k|    Result = APInt(64, 0);
  465|  15.7k|    return false;
  466|  15.7k|  }
  467|       |
  468|       |  // (Over-)estimate the required number of bits.
  469|  41.0k|  unsigned Log2Radix = 0;
  470|   195k|  while ((1U << Log2Radix) < Radix) Log2Radix++;
  ------------------
  |  Branch (470:10): [True: 154k, False: 41.0k]
  ------------------
  471|  41.0k|  bool IsPowerOf2Radix = ((1U << Log2Radix) == Radix);
  472|       |
  473|  41.0k|  unsigned BitWidth = Log2Radix * Str.size();
  474|  41.0k|  if (BitWidth < Result.getBitWidth())
  ------------------
  |  Branch (474:7): [True: 40.6k, False: 442]
  ------------------
  475|  40.6k|    BitWidth = Result.getBitWidth(); // don't shrink the result
  476|    442|  else if (BitWidth > Result.getBitWidth())
  ------------------
  |  Branch (476:12): [True: 417, False: 25]
  ------------------
  477|    417|    Result = Result.zext(BitWidth);
  478|       |
  479|  41.0k|  APInt RadixAP, CharAP; // unused unless !IsPowerOf2Radix
  480|  41.0k|  if (!IsPowerOf2Radix) {
  ------------------
  |  Branch (480:7): [True: 0, False: 41.0k]
  ------------------
  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|  41.0k|  Result = 0;
  488|   216k|  while (!Str.empty()) {
  ------------------
  |  Branch (488:10): [True: 175k, False: 41.0k]
  ------------------
  489|   175k|    unsigned CharVal;
  490|   175k|    if (Str[0] >= '0' && Str[0] <= '9')
  ------------------
  |  Branch (490:9): [True: 175k, False: 0]
  |  Branch (490:26): [True: 150k, False: 25.0k]
  ------------------
  491|   150k|      CharVal = Str[0]-'0';
  492|  25.0k|    else if (Str[0] >= 'a' && Str[0] <= 'z')
  ------------------
  |  Branch (492:14): [True: 23.1k, False: 1.88k]
  |  Branch (492:31): [True: 23.1k, False: 0]
  ------------------
  493|  23.1k|      CharVal = Str[0]-'a'+10;
  494|  1.88k|    else if (Str[0] >= 'A' && Str[0] <= 'Z')
  ------------------
  |  Branch (494:14): [True: 1.88k, False: 0]
  |  Branch (494:31): [True: 1.88k, False: 0]
  ------------------
  495|  1.88k|      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|   175k|    if (CharVal >= Radix)
  ------------------
  |  Branch (501:9): [True: 69, False: 175k]
  ------------------
  502|     69|      return true;
  503|       |
  504|       |    // Add in this character.
  505|   175k|    if (IsPowerOf2Radix) {
  ------------------
  |  Branch (505:9): [True: 175k, False: 0]
  ------------------
  506|   175k|      Result <<= Log2Radix;
  507|   175k|      Result |= CharVal;
  508|   175k|    } else {
  509|      0|      Result *= RadixAP;
  510|      0|      CharAP = CharVal;
  511|      0|      Result += CharAP;
  512|      0|    }
  513|       |
  514|   175k|    Str = Str.substr(1);
  515|   175k|  }
  516|       |
  517|  41.0k|  return false;
  518|  41.0k|}
_ZN7llvm_ks10hash_valueENS_9StringRefE:
  522|    639|hash_code llvm_ks::hash_value(StringRef S) {
  523|    639|  return hash_combine_range(S.begin(), S.end());
  524|    639|}
StringRef.cpp:_ZL17ascii_strncasecmpPKcS0_m:
   41|  2.20k|static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) {
   42|  4.67k|  for (size_t I = 0; I < Length; ++I) {
  ------------------
  |  Branch (42:22): [True: 3.80k, False: 866]
  ------------------
   43|  3.80k|    unsigned char LHC = ascii_tolower(LHS[I]);
   44|  3.80k|    unsigned char RHC = ascii_tolower(RHS[I]);
   45|  3.80k|    if (LHC != RHC)
  ------------------
  |  Branch (45:9): [True: 1.33k, False: 2.47k]
  ------------------
   46|  1.33k|      return LHC < RHC ? -1 : 1;
  ------------------
  |  Branch (46:14): [True: 910, False: 426]
  ------------------
   47|  3.80k|  }
   48|    866|  return 0;
   49|  2.20k|}
StringRef.cpp:_ZL13ascii_tolowerc:
   23|   547k|static char ascii_tolower(char x) {
   24|   547k|  if (x >= 'A' && x <= 'Z')
  ------------------
  |  Branch (24:7): [True: 412k, False: 134k]
  |  Branch (24:19): [True: 44.4k, False: 368k]
  ------------------
   25|  44.4k|    return x - 'A' + 'a';
   26|   502k|  return x;
   27|   547k|}
StringRef.cpp:_ZL17GetAutoSenseRadixRN7llvm_ks9StringRefE:
  353|  2.28k|static unsigned GetAutoSenseRadix(StringRef &Str) {
  354|  2.28k|  if (Str.startswith("0x") || Str.startswith("0X")) {
  ------------------
  |  Branch (354:7): [True: 1.94k, False: 340]
  |  Branch (354:7): [True: 2.28k, False: 0]
  |  Branch (354:31): [True: 340, False: 0]
  ------------------
  355|  2.28k|    Str = Str.substr(2);
  356|  2.28k|    return 16;
  357|  2.28k|  }
  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|  12.4k|StringRef llvm_ks::ARM::getCanonicalArchName(StringRef Arch) {
  424|  12.4k|  size_t offset = StringRef::npos;
  425|  12.4k|  StringRef A = Arch;
  426|  12.4k|  StringRef Error = "";
  427|       |
  428|       |  // Begins with "arm" / "thumb", move past it.
  429|  12.4k|  if (A.startswith("arm64"))
  ------------------
  |  Branch (429:7): [True: 0, False: 12.4k]
  ------------------
  430|      0|    offset = 5;
  431|  12.4k|  else if (A.startswith("arm"))
  ------------------
  |  Branch (431:12): [True: 0, False: 12.4k]
  ------------------
  432|      0|    offset = 3;
  433|  12.4k|  else if (A.startswith("thumb"))
  ------------------
  |  Branch (433:12): [True: 0, False: 12.4k]
  ------------------
  434|      0|    offset = 5;
  435|  12.4k|  else if (A.startswith("aarch64")) {
  ------------------
  |  Branch (435:12): [True: 0, False: 12.4k]
  ------------------
  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|  12.4k|  if (offset != StringRef::npos && A.substr(offset, 2) == "eb")
  ------------------
  |  Branch (445:7): [True: 0, False: 12.4k]
  |  Branch (445:7): [True: 0, False: 12.4k]
  |  Branch (445:36): [True: 0, False: 0]
  ------------------
  446|      0|    offset += 2;
  447|       |  // Or, if it ends with eb ("armv7eb"), chop it off.
  448|  12.4k|  else if (A.endswith("eb"))
  ------------------
  |  Branch (448:12): [True: 0, False: 12.4k]
  ------------------
  449|      0|    A = A.substr(0, A.size() - 2);
  450|       |  // Trim the head
  451|  12.4k|  if (offset != StringRef::npos)
  ------------------
  |  Branch (451:7): [True: 0, False: 12.4k]
  ------------------
  452|      0|    A = A.substr(offset);
  453|       |
  454|       |  // Empty string means offset reached the end, which means it's valid.
  455|  12.4k|  if (A.empty())
  ------------------
  |  Branch (455:7): [True: 0, False: 12.4k]
  ------------------
  456|      0|    return Arch;
  457|       |
  458|       |  // Only match non-marketing names
  459|  12.4k|  if (offset != StringRef::npos) {
  ------------------
  |  Branch (459:7): [True: 0, False: 12.4k]
  ------------------
  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|  12.4k|  return A;
  470|  12.4k|}
_ZN7llvm_ks3ARM9parseArchENS_9StringRefE:
  491|  6.22k|unsigned llvm_ks::ARM::parseArch(StringRef Arch) {
  492|  6.22k|  Arch = getCanonicalArchName(Arch);
  493|  6.22k|  StringRef Syn = getArchSynonym(Arch);
  494|   180k|  for (const auto A : ARCHNames) {
  ------------------
  |  Branch (494:21): [True: 180k, False: 6.22k]
  ------------------
  495|   180k|    if (A.getName().endswith(Syn))
  ------------------
  |  Branch (495:9): [True: 0, False: 180k]
  ------------------
  496|      0|      return A.ID;
  497|   180k|  }
  498|  6.22k|  return ARM::AK_INVALID;
  499|  6.22k|}
TargetParser.cpp:_ZNK12_GLOBAL__N_13$_17getNameEv:
   66|   180k|  StringRef getName() const { return StringRef(NameCStr, NameLength); }
TargetParser.cpp:_ZL14getArchSynonymN7llvm_ks9StringRefE:
  399|  6.22k|static StringRef getArchSynonym(StringRef Arch) {
  400|  6.22k|  return StringSwitch<StringRef>(Arch)
  401|  6.22k|      .Case("v5", "v5t")
  402|  6.22k|      .Case("v5e", "v5te")
  403|  6.22k|      .Case("v6j", "v6")
  404|  6.22k|      .Case("v6hl", "v6k")
  405|  6.22k|      .Cases("v6m", "v6sm", "v6s-m", "v6-m")
  406|  6.22k|      .Cases("v6z", "v6zk", "v6kz")
  407|  6.22k|      .Cases("v7", "v7a", "v7hl", "v7l", "v7-a")
  408|  6.22k|      .Case("v7r", "v7-r")
  409|  6.22k|      .Case("v7m", "v7-m")
  410|  6.22k|      .Case("v7em", "v7e-m")
  411|  6.22k|      .Cases("v8", "v8a", "aarch64", "arm64", "v8-a")
  412|  6.22k|      .Case("v8.1a", "v8.1-a")
  413|  6.22k|      .Case("v8.2a", "v8.2-a")
  414|  6.22k|      .Case("v8m.base", "v8-m.base")
  415|  6.22k|      .Case("v8m.main", "v8-m.main")
  416|  6.22k|      .Default(Arch);
  417|  6.22k|}

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

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

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

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

_ZN7llvm_ks11raw_ostreamD2Ev:
   64|  30.9k|raw_ostream::~raw_ostream() {
   65|       |  // raw_ostream's subclasses should take care to flush the buffer
   66|       |  // in their destructors.
   67|  30.9k|  assert(OutBufCur == OutBufStart &&
  ------------------
  |  Branch (67:3): [True: 30.9k, False: 0]
  |  Branch (67:3): [True: 30.9k, Folded]
  |  Branch (67:3): [True: 30.9k, False: 0]
  ------------------
   68|  30.9k|         "raw_ostream destructor called with non-empty buffer!");
   69|       |
   70|  30.9k|  if (BufferMode == InternalBuffer)
  ------------------
  |  Branch (70:7): [True: 0, False: 30.9k]
  ------------------
   71|      0|    delete [] OutBufStart;
   72|  30.9k|}
_ZN7llvm_ks11raw_ostream16SetBufferAndModeEPcmNS0_10BufferKindE:
   92|  30.9k|                                   BufferKind Mode) {
   93|  30.9k|  assert(((Mode == Unbuffered && !BufferStart && Size == 0) ||
  ------------------
  |  Branch (93:3): [True: 30.9k, False: 0]
  |  Branch (93:3): [True: 30.9k, False: 0]
  |  Branch (93:3): [True: 30.9k, 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: 30.9k, Folded]
  |  Branch (93:3): [True: 30.9k, False: 0]
  ------------------
   94|  30.9k|          (Mode != Unbuffered && BufferStart && Size != 0)) &&
   95|  30.9k|         "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|  30.9k|  assert(GetNumBytesInBuffer() == 0 && "Current buffer is non-empty!");
  ------------------
  |  Branch (98:3): [True: 30.9k, False: 0]
  |  Branch (98:3): [True: 30.9k, Folded]
  |  Branch (98:3): [True: 30.9k, False: 0]
  ------------------
   99|       |
  100|  30.9k|  if (BufferMode == InternalBuffer)
  ------------------
  |  Branch (100:7): [True: 30.9k, False: 0]
  ------------------
  101|  30.9k|    delete [] OutBufStart;
  102|  30.9k|  OutBufStart = BufferStart;
  103|  30.9k|  OutBufEnd = OutBufStart+Size;
  104|  30.9k|  OutBufCur = OutBufStart;
  105|  30.9k|  BufferMode = Mode;
  106|       |
  107|       |  assert(OutBufStart <= OutBufEnd && "Invalid size!");
  ------------------
  |  Branch (107:3): [True: 30.9k, False: 0]
  |  Branch (107:3): [True: 30.9k, Folded]
  |  Branch (107:3): [True: 30.9k, False: 0]
  ------------------
  108|  30.9k|}
_ZN7llvm_ks11raw_ostreamlsEm:
  110|  9.83k|raw_ostream &raw_ostream::operator<<(unsigned long N) {
  111|       |  // Zero is a special case.
  112|  9.83k|  if (N == 0)
  ------------------
  |  Branch (112:7): [True: 1.02k, False: 8.81k]
  ------------------
  113|  1.02k|    return *this << '0';
  114|       |
  115|  8.81k|  char NumberBuffer[20];
  116|  8.81k|  char *EndPtr = NumberBuffer+sizeof(NumberBuffer);
  117|  8.81k|  char *CurPtr = EndPtr;
  118|       |
  119|  31.1k|  while (N) {
  ------------------
  |  Branch (119:10): [True: 22.3k, False: 8.81k]
  ------------------
  120|  22.3k|    *--CurPtr = '0' + char(N % 10);
  121|  22.3k|    N /= 10;
  122|  22.3k|  }
  123|  8.81k|  return write(CurPtr, EndPtr-CurPtr);
  124|  9.83k|}
_ZN7llvm_ks11raw_ostreamlsEl:
  126|  1.67k|raw_ostream &raw_ostream::operator<<(long N) {
  127|  1.67k|  if (N <  0) {
  ------------------
  |  Branch (127:7): [True: 126, False: 1.55k]
  ------------------
  128|    126|    *this << '-';
  129|       |    // Avoid undefined behavior on LONG_MIN with a cast.
  130|    126|    N = -(unsigned long)N;
  131|    126|  }
  132|       |
  133|  1.67k|  return this->operator<<(static_cast<unsigned long>(N));
  134|  1.67k|}
_ZN7llvm_ks11raw_ostream5writeEh:
  278|   199k|raw_ostream &raw_ostream::write(unsigned char C) {
  279|       |  // Group exceptional cases into a single branch.
  280|   199k|  if (LLVM_UNLIKELY(OutBufCur >= OutBufEnd)) {
  ------------------
  |  |  171|   199k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 199k, False: 0]
  |  |  ------------------
  ------------------
  281|   199k|    if (LLVM_UNLIKELY(!OutBufStart)) {
  ------------------
  |  |  171|   199k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 199k, False: 0]
  |  |  ------------------
  ------------------
  282|   199k|      if (BufferMode == Unbuffered) {
  ------------------
  |  Branch (282:11): [True: 199k, False: 0]
  ------------------
  283|   199k|        write_impl(reinterpret_cast<char*>(&C), 1);
  284|   199k|        return *this;
  285|   199k|      }
  286|       |      // Set up a buffer and start over.
  287|      0|      SetBuffered();
  288|      0|      return write(C);
  289|   199k|    }
  290|       |
  291|      0|    flush_nonempty();
  292|      0|  }
  293|       |
  294|      0|  *OutBufCur++ = C;
  295|      0|  return *this;
  296|   199k|}
_ZN7llvm_ks11raw_ostream5writeEPKcm:
  298|  91.9k|raw_ostream &raw_ostream::write(const char *Ptr, size_t Size) {
  299|       |  // Group exceptional cases into a single branch.
  300|  91.9k|  if (LLVM_UNLIKELY(size_t(OutBufEnd - OutBufCur) < Size)) {
  ------------------
  |  |  171|  91.9k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 91.9k, False: 0]
  |  |  ------------------
  ------------------
  301|  91.9k|    if (LLVM_UNLIKELY(!OutBufStart)) {
  ------------------
  |  |  171|  91.9k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (171:29): [True: 91.9k, False: 0]
  |  |  ------------------
  ------------------
  302|  91.9k|      if (BufferMode == Unbuffered) {
  ------------------
  |  Branch (302:11): [True: 91.9k, False: 0]
  ------------------
  303|  91.9k|        write_impl(Ptr, Size);
  304|  91.9k|        return *this;
  305|  91.9k|      }
  306|       |      // Set up a buffer and start over.
  307|      0|      SetBuffered();
  308|      0|      return write(Ptr, Size);
  309|  91.9k|    }
  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|      0|  copy_to_buffer(Ptr, Size);
  337|       |
  338|      0|  return *this;
  339|  91.9k|}
_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|   205k|void raw_fd_ostream::write_impl(const char *Ptr, size_t Size) {
  563|   205k|  assert(FD >= 0 && "File already closed.");
  ------------------
  |  Branch (563:3): [True: 205k, False: 0]
  |  Branch (563:3): [True: 205k, Folded]
  |  Branch (563:3): [True: 205k, False: 0]
  ------------------
  564|   205k|  pos += Size;
  565|       |
  566|   205k|#ifndef LLVM_ON_WIN32
  567|   205k|  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|   205k|  do {
  576|   205k|    size_t ChunkSize = Size;
  577|   205k|    if (ChunkSize > 32767 && ShouldWriteInChunks)
  ------------------
  |  Branch (577:9): [True: 0, False: 205k]
  |  Branch (577:30): [True: 0, False: 0]
  ------------------
  578|      0|        ChunkSize = 32767;
  579|       |
  580|   205k|    ssize_t ret = ::write(FD, Ptr, ChunkSize);
  581|       |
  582|   205k|    if (ret < 0) {
  ------------------
  |  Branch (582:9): [True: 0, False: 205k]
  ------------------
  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|   205k|    Ptr += ret;
  607|   205k|    Size -= ret;
  608|   205k|  } while (Size > 0);
  ------------------
  |  Branch (608:12): [True: 0, False: 205k]
  ------------------
  609|   205k|}
_ZN7llvm_ks14raw_fd_ostream11changeColorENS_11raw_ostream6ColorsEbb:
  655|  12.4k|                                         bool bg) {
  656|  12.4k|  return *this;
  657|  12.4k|}
_ZN7llvm_ks14raw_fd_ostream10resetColorEv:
  659|  8.93k|raw_ostream &raw_fd_ostream::resetColor() {
  660|  8.93k|  return *this;
  661|  8.93k|}
_ZNK7llvm_ks14raw_fd_ostream10has_colorsEv:
  671|  3.52k|bool raw_fd_ostream::has_colors() const {
  672|  3.52k|  return true;
  673|  3.52k|}
_ZN7llvm_ks4errsEv:
  693|  7.05k|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|  7.05k|  return S;
  697|  7.05k|}
_ZNK7llvm_ks19raw_svector_ostream11current_posEv:
  722|  15.4k|uint64_t raw_svector_ostream::current_pos() const { return OS.size(); }
_ZN7llvm_ks19raw_svector_ostream10write_implEPKcm:
  724|  86.6k|void raw_svector_ostream::write_impl(const char *Ptr, size_t Size) {
  725|  86.6k|  OS.append(Ptr, Ptr + Size);
  726|  86.6k|}

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|    692|                                 [](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|    692|      : MCTargetAsmParser(Options, sti), Parser(parser) {
   97|       |    // Initialize the set of available features.
   98|    692|    setAvailableFeatures(ComputeAvailableFeatures(getSTI().getFeatureBits()));
   99|    692|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser13ParseRegisterERjRN7llvm_ks5SMLocES4_S1_:
  575|    309|{
  576|    309|  const AsmToken &Tok = Parser.getTok();
  577|    309|  StartLoc = Tok.getLoc();
  578|    309|  EndLoc = Tok.getEndLoc();
  579|    309|  RegNo = 0;
  580|    309|  if (getLexer().getKind() != AsmToken::Percent)
  ------------------
  |  Branch (580:7): [True: 174, False: 135]
  ------------------
  581|    174|    return false;
  582|    135|  Parser.Lex();
  583|    135|  unsigned regKind = SparcOperand::rk_None;
  584|    135|  if (matchRegisterName(Tok, RegNo, regKind)) {
  ------------------
  |  Branch (584:7): [True: 1, False: 134]
  ------------------
  585|      1|    Parser.Lex();
  586|      1|    return false;
  587|      1|  }
  588|       |
  589|    134|  return Error(StartLoc, "invalid register name");
  590|    135|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser17matchRegisterNameERKN7llvm_ks8AsmTokenERjS5_:
  911|    213|{
  912|    213|  int64_t intVal = 0;
  913|    213|  RegNo = 0;
  914|    213|  RegKind = SparcOperand::rk_None;
  915|    213|  if (Tok.is(AsmToken::Identifier)) {
  ------------------
  |  Branch (915:7): [True: 85, False: 128]
  ------------------
  916|     85|    StringRef name = Tok.getString();
  917|       |
  918|       |    // %fp
  919|     85|    if (name.equals("fp")) {
  ------------------
  |  Branch (919:9): [True: 0, False: 85]
  ------------------
  920|      0|      RegNo = Sparc::I6;
  921|      0|      RegKind = SparcOperand::rk_IntReg;
  922|      0|      return true;
  923|      0|    }
  924|       |    // %sp
  925|     85|    if (name.equals("sp")) {
  ------------------
  |  Branch (925:9): [True: 0, False: 85]
  ------------------
  926|      0|      RegNo = Sparc::O6;
  927|      0|      RegKind = SparcOperand::rk_IntReg;
  928|      0|      return true;
  929|      0|    }
  930|       |
  931|     85|    if (name.equals("y")) {
  ------------------
  |  Branch (931:9): [True: 0, False: 85]
  ------------------
  932|      0|      RegNo = Sparc::Y;
  933|      0|      RegKind = SparcOperand::rk_Special;
  934|      0|      return true;
  935|      0|    }
  936|       |
  937|     85|    if (name.substr(0, 3).equals_lower("asr")
  ------------------
  |  Branch (937:9): [True: 1, False: 84]
  |  Branch (937:9): [True: 0, False: 85]
  ------------------
  938|      1|        && !name.substr(3).getAsInteger(10, intVal)
  ------------------
  |  Branch (938:12): [True: 0, False: 1]
  ------------------
  939|      0|        && intVal > 0 && intVal < 32) {
  ------------------
  |  Branch (939:12): [True: 0, False: 0]
  |  Branch (939:26): [True: 0, False: 0]
  ------------------
  940|      0|      RegNo = ASRRegs[intVal];
  941|      0|      RegKind = SparcOperand::rk_Special;
  942|      0|      return true;
  943|      0|    }
  944|       |
  945|       |    // %fprs is an alias of %asr6.
  946|     85|    if (name.equals("fprs")) {
  ------------------
  |  Branch (946:9): [True: 0, False: 85]
  ------------------
  947|      0|      RegNo = ASRRegs[6];
  948|      0|      RegKind = SparcOperand::rk_Special;
  949|      0|      return true;
  950|      0|    }
  951|       |
  952|     85|    if (name.equals("icc")) {
  ------------------
  |  Branch (952:9): [True: 0, False: 85]
  ------------------
  953|      0|      RegNo = Sparc::ICC;
  954|      0|      RegKind = SparcOperand::rk_Special;
  955|      0|      return true;
  956|      0|    }
  957|       |
  958|     85|    if (name.equals("psr")) {
  ------------------
  |  Branch (958:9): [True: 2, False: 83]
  ------------------
  959|      2|      RegNo = Sparc::PSR;
  960|      2|      RegKind = SparcOperand::rk_Special;
  961|      2|      return true;
  962|      2|    }
  963|       |
  964|     83|    if (name.equals("fsr")) {
  ------------------
  |  Branch (964:9): [True: 17, False: 66]
  ------------------
  965|     17|      RegNo = Sparc::FSR;
  966|     17|      RegKind = SparcOperand::rk_Special;
  967|     17|      return true;
  968|     17|    }
  969|       |
  970|     66|    if (name.equals("wim")) {
  ------------------
  |  Branch (970:9): [True: 2, False: 64]
  ------------------
  971|      2|      RegNo = Sparc::WIM;
  972|      2|      RegKind = SparcOperand::rk_Special;
  973|      2|      return true;
  974|      2|    }
  975|       |
  976|     64|    if (name.equals("tbr")) {
  ------------------
  |  Branch (976:9): [True: 0, False: 64]
  ------------------
  977|      0|      RegNo = Sparc::TBR;
  978|      0|      RegKind = SparcOperand::rk_Special;
  979|      0|      return true;
  980|      0|    }
  981|       |
  982|     64|    if (name.equals("xcc")) {
  ------------------
  |  Branch (982:9): [True: 0, False: 64]
  ------------------
  983|       |      // FIXME:: check 64bit.
  984|      0|      RegNo = Sparc::ICC;
  985|      0|      RegKind = SparcOperand::rk_Special;
  986|      0|      return true;
  987|      0|    }
  988|       |
  989|       |    // %fcc0 - %fcc3
  990|     64|    if (name.substr(0, 3).equals_lower("fcc")
  ------------------
  |  Branch (990:9): [True: 1, False: 63]
  |  Branch (990:9): [True: 0, False: 64]
  ------------------
  991|      1|        && !name.substr(3).getAsInteger(10, intVal)
  ------------------
  |  Branch (991:12): [True: 0, False: 1]
  ------------------
  992|      0|        && intVal < 4) {
  ------------------
  |  Branch (992:12): [True: 0, False: 0]
  ------------------
  993|       |      // FIXME: check 64bit and  handle %fcc1 - %fcc3
  994|      0|      RegNo = Sparc::FCC0 + intVal;
  995|      0|      RegKind = SparcOperand::rk_Special;
  996|      0|      return true;
  997|      0|    }
  998|       |
  999|       |    // %g0 - %g7
 1000|     64|    if (name.substr(0, 1).equals_lower("g")
  ------------------
  |  Branch (1000:9): [True: 2, False: 62]
  |  Branch (1000:9): [True: 0, False: 64]
  ------------------
 1001|      2|        && !name.substr(1).getAsInteger(10, intVal)
  ------------------
  |  Branch (1001:12): [True: 0, False: 2]
  ------------------
 1002|      0|        && intVal < 8) {
  ------------------
  |  Branch (1002:12): [True: 0, False: 0]
  ------------------
 1003|      0|      RegNo = IntRegs[intVal];
 1004|      0|      RegKind = SparcOperand::rk_IntReg;
 1005|      0|      return true;
 1006|      0|    }
 1007|       |    // %o0 - %o7
 1008|     64|    if (name.substr(0, 1).equals_lower("o")
  ------------------
  |  Branch (1008:9): [True: 4, False: 60]
  |  Branch (1008:9): [True: 0, False: 64]
  ------------------
 1009|      4|        && !name.substr(1).getAsInteger(10, intVal)
  ------------------
  |  Branch (1009:12): [True: 1, False: 3]
  ------------------
 1010|      1|        && intVal < 8) {
  ------------------
  |  Branch (1010:12): [True: 0, False: 1]
  ------------------
 1011|      0|      RegNo = IntRegs[8 + intVal];
 1012|      0|      RegKind = SparcOperand::rk_IntReg;
 1013|      0|      return true;
 1014|      0|    }
 1015|     64|    if (name.substr(0, 1).equals_lower("l")
  ------------------
  |  Branch (1015:9): [True: 4, False: 60]
  |  Branch (1015:9): [True: 0, False: 64]
  ------------------
 1016|      4|        && !name.substr(1).getAsInteger(10, intVal)
  ------------------
  |  Branch (1016:12): [True: 0, False: 4]
  ------------------
 1017|      0|        && intVal < 8) {
  ------------------
  |  Branch (1017:12): [True: 0, False: 0]
  ------------------
 1018|      0|      RegNo = IntRegs[16 + intVal];
 1019|      0|      RegKind = SparcOperand::rk_IntReg;
 1020|      0|      return true;
 1021|      0|    }
 1022|     64|    if (name.substr(0, 1).equals_lower("i")
  ------------------
  |  Branch (1022:9): [True: 0, False: 64]
  |  Branch (1022:9): [True: 0, False: 64]
  ------------------
 1023|      0|        && !name.substr(1).getAsInteger(10, intVal)
  ------------------
  |  Branch (1023:12): [True: 0, False: 0]
  ------------------
 1024|      0|        && intVal < 8) {
  ------------------
  |  Branch (1024:12): [True: 0, False: 0]
  ------------------
 1025|      0|      RegNo = IntRegs[24 + intVal];
 1026|      0|      RegKind = SparcOperand::rk_IntReg;
 1027|      0|      return true;
 1028|      0|    }
 1029|       |    // %f0 - %f31
 1030|     64|    if (name.substr(0, 1).equals_lower("f")
  ------------------
  |  Branch (1030:9): [True: 44, False: 20]
  |  Branch (1030:9): [True: 3, False: 61]
  ------------------
 1031|     44|        && !name.substr(1, 2).getAsInteger(10, intVal) && intVal < 32) {
  ------------------
  |  Branch (1031:12): [True: 31, False: 13]
  |  Branch (1031:59): [True: 3, False: 28]
  ------------------
 1032|      3|      RegNo = FloatRegs[intVal];
 1033|      3|      RegKind = SparcOperand::rk_FloatReg;
 1034|      3|      return true;
 1035|      3|    }
 1036|       |    // %f32 - %f62
 1037|     61|    if (name.substr(0, 1).equals_lower("f")
  ------------------
  |  Branch (1037:9): [True: 41, False: 20]
  |  Branch (1037:9): [True: 28, False: 33]
  ------------------
 1038|     41|        && !name.substr(1, 2).getAsInteger(10, intVal)
  ------------------
  |  Branch (1038:12): [True: 28, False: 13]
  ------------------
 1039|     28|        && intVal >= 32 && intVal <= 62 && (intVal % 2 == 0)) {
  ------------------
  |  Branch (1039:12): [True: 28, False: 0]
  |  Branch (1039:28): [True: 28, False: 0]
  |  Branch (1039:44): [True: 28, False: 0]
  ------------------
 1040|       |      // FIXME: Check V9
 1041|     28|      RegNo = DoubleRegs[intVal/2];
 1042|     28|      RegKind = SparcOperand::rk_DoubleReg;
 1043|     28|      return true;
 1044|     28|    }
 1045|       |
 1046|       |    // %r0 - %r31
 1047|     33|    if (name.substr(0, 1).equals_lower("r")
  ------------------
  |  Branch (1047:9): [True: 0, False: 33]
  |  Branch (1047:9): [True: 0, False: 33]
  ------------------
 1048|      0|        && !name.substr(1, 2).getAsInteger(10, intVal) && intVal < 31) {
  ------------------
  |  Branch (1048:12): [True: 0, False: 0]
  |  Branch (1048:59): [True: 0, False: 0]
  ------------------
 1049|      0|      RegNo = IntRegs[intVal];
 1050|      0|      RegKind = SparcOperand::rk_IntReg;
 1051|      0|      return true;
 1052|      0|    }
 1053|       |
 1054|     33|    if (name.equals("tpc")) {
  ------------------
  |  Branch (1054:9): [True: 0, False: 33]
  ------------------
 1055|      0|      RegNo = Sparc::TPC;
 1056|      0|      RegKind = SparcOperand::rk_Special;
 1057|      0|      return true;
 1058|      0|    }
 1059|     33|    if (name.equals("tnpc")) {
  ------------------
  |  Branch (1059:9): [True: 0, False: 33]
  ------------------
 1060|      0|      RegNo = Sparc::TNPC;
 1061|      0|      RegKind = SparcOperand::rk_Special;
 1062|      0|      return true;
 1063|      0|    }
 1064|     33|    if (name.equals("tstate")) {
  ------------------
  |  Branch (1064:9): [True: 0, False: 33]
  ------------------
 1065|      0|      RegNo = Sparc::TSTATE;
 1066|      0|      RegKind = SparcOperand::rk_Special;
 1067|      0|      return true;
 1068|      0|    }
 1069|     33|    if (name.equals("tt")) {
  ------------------
  |  Branch (1069:9): [True: 0, False: 33]
  ------------------
 1070|      0|      RegNo = Sparc::TT;
 1071|      0|      RegKind = SparcOperand::rk_Special;
 1072|      0|      return true;
 1073|      0|    }
 1074|     33|    if (name.equals("tick")) {
  ------------------
  |  Branch (1074:9): [True: 0, False: 33]
  ------------------
 1075|      0|      RegNo = Sparc::TICK;
 1076|      0|      RegKind = SparcOperand::rk_Special;
 1077|      0|      return true;
 1078|      0|    }
 1079|     33|    if (name.equals("tba")) {
  ------------------
  |  Branch (1079:9): [True: 0, False: 33]
  ------------------
 1080|      0|      RegNo = Sparc::TBA;
 1081|      0|      RegKind = SparcOperand::rk_Special;
 1082|      0|      return true;
 1083|      0|    }
 1084|     33|    if (name.equals("pstate")) {
  ------------------
  |  Branch (1084:9): [True: 0, False: 33]
  ------------------
 1085|      0|      RegNo = Sparc::PSTATE;
 1086|      0|      RegKind = SparcOperand::rk_Special;
 1087|      0|      return true;
 1088|      0|    }
 1089|     33|    if (name.equals("tl")) {
  ------------------
  |  Branch (1089:9): [True: 0, False: 33]
  ------------------
 1090|      0|      RegNo = Sparc::TL;
 1091|      0|      RegKind = SparcOperand::rk_Special;
 1092|      0|      return true;
 1093|      0|    }
 1094|     33|    if (name.equals("pil")) {
  ------------------
  |  Branch (1094:9): [True: 0, False: 33]
  ------------------
 1095|      0|      RegNo = Sparc::PIL;
 1096|      0|      RegKind = SparcOperand::rk_Special;
 1097|      0|      return true;
 1098|      0|    }
 1099|     33|    if (name.equals("cwp")) {
  ------------------
  |  Branch (1099:9): [True: 0, False: 33]
  ------------------
 1100|      0|      RegNo = Sparc::CWP;
 1101|      0|      RegKind = SparcOperand::rk_Special;
 1102|      0|      return true;
 1103|      0|    }
 1104|     33|    if (name.equals("cansave")) {
  ------------------
  |  Branch (1104:9): [True: 0, False: 33]
  ------------------
 1105|      0|      RegNo = Sparc::CANSAVE;
 1106|      0|      RegKind = SparcOperand::rk_Special;
 1107|      0|      return true;
 1108|      0|    }
 1109|     33|    if (name.equals("canrestore")) {
  ------------------
  |  Branch (1109:9): [True: 0, False: 33]
  ------------------
 1110|      0|      RegNo = Sparc::CANRESTORE;
 1111|      0|      RegKind = SparcOperand::rk_Special;
 1112|      0|      return true;
 1113|      0|    }
 1114|     33|    if (name.equals("cleanwin")) {
  ------------------
  |  Branch (1114:9): [True: 1, False: 32]
  ------------------
 1115|      1|      RegNo = Sparc::CLEANWIN;
 1116|      1|      RegKind = SparcOperand::rk_Special;
 1117|      1|      return true;
 1118|      1|    }
 1119|     32|    if (name.equals("otherwin")) {
  ------------------
  |  Branch (1119:9): [True: 0, False: 32]
  ------------------
 1120|      0|      RegNo = Sparc::OTHERWIN;
 1121|      0|      RegKind = SparcOperand::rk_Special;
 1122|      0|      return true;
 1123|      0|    }
 1124|     32|    if (name.equals("wstate")) {
  ------------------
  |  Branch (1124:9): [True: 0, False: 32]
  ------------------
 1125|      0|      RegNo = Sparc::WSTATE;
 1126|      0|      RegKind = SparcOperand::rk_Special;
 1127|      0|      return true;
 1128|      0|    }
 1129|     32|  }
 1130|    160|  return false;
 1131|    213|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser16ParseInstructionERN7llvm_ks20ParseInstructionInfoENS1_9StringRefENS1_5SMLocERNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS7_14default_deleteIS9_EEEEEERj:
  598|  1.88k|{
  599|       |  // First operand in MCInst is instruction mnemonic.
  600|  1.88k|  Operands.push_back(SparcOperand::CreateToken(Name, NameLoc));
  601|       |
  602|       |  // apply mnemonic aliases, if any, so that we can parse operands correctly.
  603|  1.88k|  applyMnemonicAliases(Name, getAvailableFeatures(), 0);
  604|       |
  605|  1.88k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (605:7): [True: 1.85k, False: 28]
  ------------------
  606|       |    // Read the first operand.
  607|  1.85k|    if (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (607:9): [True: 10, False: 1.84k]
  ------------------
  608|     10|      if (parseBranchModifiers(Operands) != MatchOperand_Success) {
  ------------------
  |  Branch (608:11): [True: 8, False: 2]
  ------------------
  609|       |        // SMLoc Loc = getLexer().getLoc();
  610|      8|        Parser.eatToEndOfStatement();
  611|       |        // return Error(Loc, "unexpected token");
  612|      8|        ErrorCode = KS_ERR_ASM_SPARC_INVALIDOPERAND;
  613|      8|        return true;
  614|      8|      }
  615|     10|    }
  616|  1.84k|    if (parseOperand(Operands, Name) != MatchOperand_Success) {
  ------------------
  |  Branch (616:9): [True: 734, False: 1.11k]
  ------------------
  617|       |      // SMLoc Loc = getLexer().getLoc();
  618|    734|      Parser.eatToEndOfStatement();
  619|       |      // return Error(Loc, "unexpected token");
  620|    734|      ErrorCode = KS_ERR_ASM_SPARC_INVALIDOPERAND;
  621|    734|      return true;
  622|    734|    }
  623|       |
  624|  1.74k|    while (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (624:12): [True: 649, False: 1.09k]
  ------------------
  625|    649|      Parser.Lex(); // Eat the comma.
  626|       |      // Parse and remember the operand.
  627|    649|      if (parseOperand(Operands, Name) != MatchOperand_Success) {
  ------------------
  |  Branch (627:11): [True: 12, False: 637]
  ------------------
  628|       |        // SMLoc Loc = getLexer().getLoc();
  629|     12|        Parser.eatToEndOfStatement();
  630|       |        // return Error(Loc, "unexpected token");
  631|     12|        ErrorCode = KS_ERR_ASM_SPARC_INVALIDOPERAND;
  632|     12|        return true;
  633|     12|      }
  634|    649|    }
  635|  1.11k|  }
  636|  1.12k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (636:7): [True: 59, False: 1.06k]
  ------------------
  637|       |    // SMLoc Loc = getLexer().getLoc();
  638|     59|    Parser.eatToEndOfStatement();
  639|       |    // return Error(Loc, "unexpected token");
  640|     59|    ErrorCode = KS_ERR_ASM_SPARC_INVALIDOPERAND;
  641|     59|    return true;
  642|     59|  }
  643|  1.06k|  Parser.Lex(); // Consume the EndOfStatement.
  644|  1.06k|  return false;
  645|  1.12k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperand11CreateTokenEN7llvm_ks9StringRefENS1_5SMLocE:
  322|  1.91k|  static std::unique_ptr<SparcOperand> CreateToken(StringRef Str, SMLoc S) {
  323|  1.91k|    auto Op = make_unique<SparcOperand>(k_Token);
  324|  1.91k|    Op->Tok.Data = Str.data();
  325|  1.91k|    Op->Tok.Length = Str.size();
  326|  1.91k|    Op->StartLoc = S;
  327|  1.91k|    Op->EndLoc = S;
  328|  1.91k|    return Op;
  329|  1.91k|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperandC2ENS0_6KindTyE:
  207|  3.63k|  SparcOperand(KindTy K) : MCParsedAsmOperand(), Kind(K) {}
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand7isTokenEv:
  209|  1.14k|  bool isToken() const override { return Kind == k_Token; }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand5isImmEv:
  211|    887|  bool isImm() const override { return Kind == k_Immediate; }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand5isRegEv:
  210|    127|  bool isReg() const override { return Kind == k_Register; }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand7isMEMrrEv:
  213|    127|  bool isMEMrr() const { return Kind == k_MemoryReg; }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand7isMEMriEv:
  214|    127|  bool isMEMri() const { return Kind == k_MemoryImm; }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand8getTokenEv:
  230|  1.07k|  StringRef getToken() const {
  231|  1.07k|    assert(Kind == k_Token && "Invalid access!");
  ------------------
  |  Branch (231:5): [True: 1.07k, False: 0]
  |  Branch (231:5): [True: 1.07k, Folded]
  |  Branch (231:5): [True: 1.07k, False: 0]
  ------------------
  232|  1.07k|    return StringRef(Tok.Data, Tok.Length);
  233|  1.07k|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand6getImmEv:
  240|    887|  const MCExpr *getImm() const {
  241|    887|    assert((Kind == k_Immediate) && "Invalid access!");
  ------------------
  |  Branch (241:5): [True: 887, False: 0]
  |  Branch (241:5): [True: 887, Folded]
  |  Branch (241:5): [True: 887, False: 0]
  ------------------
  242|    887|    return Imm.Val;
  243|    887|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand10getMemBaseEv:
  245|    127|  unsigned getMemBase() const {
  246|    127|    assert((Kind == k_MemoryReg || Kind == k_MemoryImm) && "Invalid access!");
  ------------------
  |  Branch (246:5): [True: 127, False: 0]
  |  Branch (246:5): [True: 0, False: 0]
  |  Branch (246:5): [True: 127, Folded]
  |  Branch (246:5): [True: 127, False: 0]
  ------------------
  247|    127|    return Mem.Base;
  248|    127|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand15getMemOffsetRegEv:
  250|    254|  unsigned getMemOffsetReg() const {
  251|    254|    assert((Kind == k_MemoryReg) && "Invalid access!");
  ------------------
  |  Branch (251:5): [True: 254, False: 0]
  |  Branch (251:5): [True: 254, Folded]
  |  Branch (251:5): [True: 254, False: 0]
  ------------------
  252|    254|    return Mem.OffsetReg;
  253|    254|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser20parseBranchModifiersERN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEE:
  888|     10|SparcAsmParser::parseBranchModifiers(OperandVector &Operands) {
  889|       |
  890|       |  // parse (,a|,pn|,pt)+
  891|       |
  892|     12|  while (getLexer().is(AsmToken::Comma)) {
  ------------------
  |  Branch (892:10): [True: 10, False: 2]
  ------------------
  893|       |
  894|     10|    Parser.Lex(); // Eat the comma
  895|       |
  896|     10|    if (!getLexer().is(AsmToken::Identifier))
  ------------------
  |  Branch (896:9): [True: 8, False: 2]
  ------------------
  897|      8|      return MatchOperand_ParseFail;
  898|      2|    StringRef modName = Parser.getTok().getString();
  899|      2|    if (modName == "a" || modName == "pn" || modName == "pt") {
  ------------------
  |  Branch (899:9): [True: 0, False: 2]
  |  Branch (899:9): [True: 0, False: 2]
  |  Branch (899:27): [True: 0, False: 2]
  |  Branch (899:46): [True: 0, False: 2]
  ------------------
  900|      0|      Operands.push_back(SparcOperand::CreateToken(modName,
  901|      0|                                                   Parser.getTok().getLoc()));
  902|      0|      Parser.Lex(); // eat the identifier.
  903|      0|    }
  904|      2|  }
  905|      2|  return MatchOperand_Success;
  906|     10|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser12parseOperandERN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEENS1_9StringRefE:
  739|  2.49k|SparcAsmParser::parseOperand(OperandVector &Operands, StringRef Mnemonic) {
  740|       |
  741|  2.49k|  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|  2.49k|  if (ResTy == MatchOperand_Success || ResTy == MatchOperand_ParseFail)
  ------------------
  |  Branch (746:7): [True: 128, False: 2.36k]
  |  Branch (746:40): [True: 0, False: 2.36k]
  ------------------
  747|    128|    return ResTy;
  748|       |
  749|  2.36k|  if (getLexer().is(AsmToken::LBrac)) {
  ------------------
  |  Branch (749:7): [True: 6, False: 2.35k]
  ------------------
  750|       |    // Memory operand
  751|      6|    Operands.push_back(SparcOperand::CreateToken("[",
  752|      6|                                                 Parser.getTok().getLoc()));
  753|      6|    Parser.Lex(); // Eat the [
  754|       |
  755|      6|    if (Mnemonic == "cas" || Mnemonic == "casx") {
  ------------------
  |  Branch (755:9): [True: 0, False: 6]
  |  Branch (755:9): [True: 0, False: 6]
  |  Branch (755:30): [True: 0, False: 6]
  ------------------
  756|      0|      SMLoc S = Parser.getTok().getLoc();
  757|      0|      if (getLexer().getKind() != AsmToken::Percent)
  ------------------
  |  Branch (757:11): [True: 0, False: 0]
  ------------------
  758|      0|        return MatchOperand_NoMatch;
  759|      0|      Parser.Lex(); // eat %
  760|       |
  761|      0|      unsigned RegNo, RegKind;
  762|      0|      if (!matchRegisterName(Parser.getTok(), RegNo, RegKind))
  ------------------
  |  Branch (762:11): [True: 0, False: 0]
  ------------------
  763|      0|        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|      6|    } else {
  770|      6|      ResTy = parseMEMOperand(Operands);
  771|      6|    }
  772|       |
  773|      6|    if (ResTy != MatchOperand_Success)
  ------------------
  |  Branch (773:9): [True: 3, False: 3]
  ------------------
  774|      3|      return ResTy;
  775|       |
  776|      3|    if (!getLexer().is(AsmToken::RBrac))
  ------------------
  |  Branch (776:9): [True: 0, False: 3]
  ------------------
  777|      0|      return MatchOperand_ParseFail;
  778|       |
  779|      3|    Operands.push_back(SparcOperand::CreateToken("]",
  780|      3|                                                 Parser.getTok().getLoc()));
  781|      3|    Parser.Lex(); // Eat the ]
  782|       |
  783|       |    // Parse an optional address-space identifier after the address.
  784|      3|    if (getLexer().is(AsmToken::Integer)) {
  ------------------
  |  Branch (784:9): [True: 3, False: 0]
  ------------------
  785|      3|      std::unique_ptr<SparcOperand> Op;
  786|      3|      ResTy = parseSparcAsmOperand(Op, false);
  787|      3|      if (ResTy != MatchOperand_Success || !Op)
  ------------------
  |  Branch (787:11): [True: 0, False: 3]
  |  Branch (787:44): [True: 0, False: 3]
  ------------------
  788|      0|        return MatchOperand_ParseFail;
  789|      3|      Operands.push_back(std::move(Op));
  790|      3|    }
  791|      3|    return MatchOperand_Success;
  792|      3|  }
  793|       |
  794|  2.35k|  std::unique_ptr<SparcOperand> Op;
  795|       |
  796|  2.35k|  ResTy = parseSparcAsmOperand(Op, (Mnemonic == "call"));
  797|  2.35k|  if (ResTy != MatchOperand_Success || !Op)
  ------------------
  |  Branch (797:7): [True: 743, False: 1.61k]
  |  Branch (797:40): [True: 0, False: 1.61k]
  ------------------
  798|    743|    return MatchOperand_ParseFail;
  799|       |
  800|       |  // Push the parsed operand into the list of operands
  801|  1.61k|  Operands.push_back(std::move(Op));
  802|       |
  803|  1.61k|  return MatchOperand_Success;
  804|  2.35k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperand9CreateRegEjjN7llvm_ks5SMLocES2_:
  332|     31|                                                 SMLoc S, SMLoc E) {
  333|     31|    auto Op = make_unique<SparcOperand>(k_Register);
  334|     31|    Op->Reg.RegNum = RegNum;
  335|     31|    Op->Reg.Kind   = (SparcOperand::RegisterKind)Kind;
  336|     31|    Op->StartLoc = S;
  337|     31|    Op->EndLoc = E;
  338|     31|    return Op;
  339|     31|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser15parseMEMOperandERN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS3_14default_deleteIS5_EEEEEE:
  700|    309|SparcAsmParser::parseMEMOperand(OperandVector &Operands) {
  701|       |
  702|    309|  SMLoc S, E;
  703|    309|  unsigned BaseReg = 0;
  704|    309|  unsigned int ErrorCode;
  705|       |
  706|    309|  if (ParseRegister(BaseReg, S, E, ErrorCode)) {
  ------------------
  |  Branch (706:7): [True: 134, False: 175]
  ------------------
  707|    134|    return MatchOperand_NoMatch;
  708|    134|  }
  709|       |
  710|    175|  switch (getLexer().getKind()) {
  711|     43|  default: return MatchOperand_NoMatch;
  ------------------
  |  Branch (711:3): [True: 43, False: 132]
  ------------------
  712|       |
  713|      0|  case AsmToken::Comma:
  ------------------
  |  Branch (713:3): [True: 0, False: 175]
  ------------------
  714|      4|  case AsmToken::RBrac:
  ------------------
  |  Branch (714:3): [True: 4, False: 171]
  ------------------
  715|    131|  case AsmToken::EndOfStatement:
  ------------------
  |  Branch (715:3): [True: 127, False: 48]
  ------------------
  716|    131|    Operands.push_back(SparcOperand::CreateMEMr(BaseReg, S, E));
  717|    131|    return MatchOperand_Success;
  718|       |
  719|      0|  case AsmToken:: Plus:
  ------------------
  |  Branch (719:3): [True: 0, False: 175]
  ------------------
  720|      0|    Parser.Lex(); // Eat the '+'
  721|      0|    break;
  722|      1|  case AsmToken::Minus:
  ------------------
  |  Branch (722:3): [True: 1, False: 174]
  ------------------
  723|      1|    break;
  724|    175|  }
  725|       |
  726|      1|  std::unique_ptr<SparcOperand> Offset;
  727|      1|  OperandMatchResultTy ResTy = parseSparcAsmOperand(Offset);
  728|      1|  if (ResTy != MatchOperand_Success || !Offset)
  ------------------
  |  Branch (728:7): [True: 1, False: 0]
  |  Branch (728:40): [True: 0, False: 0]
  ------------------
  729|      1|    return MatchOperand_NoMatch;
  730|       |
  731|      0|  Operands.push_back(
  732|      0|      Offset->isImm() ? SparcOperand::MorphToMEMri(BaseReg, std::move(Offset))
  ------------------
  |  Branch (732:7): [True: 0, False: 0]
  ------------------
  733|      0|                      : SparcOperand::MorphToMEMrr(BaseReg, std::move(Offset)));
  734|       |
  735|      0|  return MatchOperand_Success;
  736|      1|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperand10CreateMEMrEjN7llvm_ks5SMLocES2_:
  414|    131|  CreateMEMr(unsigned Base, SMLoc S, SMLoc E) {
  415|    131|    auto Op = make_unique<SparcOperand>(k_MemoryReg);
  416|    131|    Op->Mem.Base = Base;
  417|    131|    Op->Mem.OffsetReg = Sparc::G0;  // always 0
  418|    131|    Op->Mem.Off = nullptr;
  419|    131|    Op->StartLoc = S;
  420|    131|    Op->EndLoc = E;
  421|    131|    return Op;
  422|    131|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser20parseSparcAsmOperandERNSt3__110unique_ptrINS_12SparcOperandENS1_14default_deleteIS3_EEEEb:
  808|  2.36k|                                     bool isCall) {
  809|       |
  810|  2.36k|  SMLoc S = Parser.getTok().getLoc();
  811|  2.36k|  SMLoc E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
  812|  2.36k|  const MCExpr *EVal;
  813|       |
  814|  2.36k|  Op = nullptr;
  815|  2.36k|  switch (getLexer().getKind()) {
  816|     46|  default:  break;
  ------------------
  |  Branch (816:3): [True: 46, False: 2.31k]
  ------------------
  817|       |
  818|     78|  case AsmToken::Percent:
  ------------------
  |  Branch (818:3): [True: 78, False: 2.28k]
  ------------------
  819|     78|    Parser.Lex(); // Eat the '%'.
  820|     78|    unsigned RegNo;
  821|     78|    unsigned RegKind;
  822|     78|    if (matchRegisterName(Parser.getTok(), RegNo, RegKind)) {
  ------------------
  |  Branch (822:9): [True: 52, False: 26]
  ------------------
  823|     52|      StringRef name = Parser.getTok().getString();
  824|     52|      Parser.Lex(); // Eat the identifier token.
  825|     52|      E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
  826|     52|      switch (RegNo) {
  827|     31|      default:
  ------------------
  |  Branch (827:7): [True: 31, False: 21]
  ------------------
  828|     31|        Op = SparcOperand::CreateReg(RegNo, RegKind, S, E);
  829|     31|        break;
  830|      2|      case Sparc::PSR:
  ------------------
  |  Branch (830:7): [True: 2, False: 50]
  ------------------
  831|      2|        Op = SparcOperand::CreateToken("%psr", S);
  832|      2|        break;
  833|     17|      case Sparc::FSR:
  ------------------
  |  Branch (833:7): [True: 17, False: 35]
  ------------------
  834|     17|        Op = SparcOperand::CreateToken("%fsr", S);
  835|     17|        break;
  836|      2|      case Sparc::WIM:
  ------------------
  |  Branch (836:7): [True: 2, False: 50]
  ------------------
  837|      2|        Op = SparcOperand::CreateToken("%wim", S);
  838|      2|        break;
  839|      0|      case Sparc::TBR:
  ------------------
  |  Branch (839:7): [True: 0, False: 52]
  ------------------
  840|      0|        Op = SparcOperand::CreateToken("%tbr", S);
  841|      0|        break;
  842|      0|      case Sparc::ICC:
  ------------------
  |  Branch (842:7): [True: 0, False: 52]
  ------------------
  843|      0|        if (name == "xcc")
  ------------------
  |  Branch (843:13): [True: 0, False: 0]
  ------------------
  844|      0|          Op = SparcOperand::CreateToken("%xcc", S);
  845|      0|        else
  846|      0|          Op = SparcOperand::CreateToken("%icc", S);
  847|      0|        break;
  848|     52|      }
  849|     52|      break;
  850|     52|    }
  851|     26|    if (matchSparcAsmModifiers(EVal, E)) {
  ------------------
  |  Branch (851:9): [True: 0, False: 26]
  ------------------
  852|      0|      E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
  853|      0|      Op = SparcOperand::CreateImm(EVal, S, E);
  854|      0|    }
  855|     26|    break;
  856|       |
  857|    514|  case AsmToken::Minus:
  ------------------
  |  Branch (857:3): [True: 514, False: 1.84k]
  ------------------
  858|    706|  case AsmToken::Integer:
  ------------------
  |  Branch (858:3): [True: 192, False: 2.17k]
  ------------------
  859|    894|  case AsmToken::LParen:
  ------------------
  |  Branch (859:3): [True: 188, False: 2.17k]
  ------------------
  860|  1.49k|  case AsmToken::Dot:
  ------------------
  |  Branch (860:3): [True: 598, False: 1.76k]
  ------------------
  861|  1.49k|    if (!getParser().parseExpression(EVal, E))
  ------------------
  |  Branch (861:9): [True: 820, False: 672]
  ------------------
  862|    820|      Op = SparcOperand::CreateImm(EVal, S, E);
  863|  1.49k|    break;
  864|       |
  865|    747|  case AsmToken::Identifier: {
  ------------------
  |  Branch (865:3): [True: 747, False: 1.61k]
  ------------------
  866|    747|    StringRef Identifier;
  867|    747|    if (!getParser().parseIdentifier(Identifier)) {
  ------------------
  |  Branch (867:9): [True: 747, False: 0]
  ------------------
  868|    747|      E = SMLoc::getFromPointer(Parser.getTok().getLoc().getPointer() - 1);
  869|    747|      MCSymbol *Sym = getContext().getOrCreateSymbol(Identifier);
  870|       |
  871|    747|      const MCExpr *Res = MCSymbolRefExpr::create(Sym, MCSymbolRefExpr::VK_None,
  872|    747|                                                  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|    747|      Op = SparcOperand::CreateImm(Res, S, E);
  880|    747|    }
  881|    747|    break;
  882|    894|  }
  883|  2.36k|  }
  884|  2.36k|  return (Op) ? MatchOperand_Success : MatchOperand_ParseFail;
  ------------------
  |  Branch (884:10): [True: 1.61k, False: 744]
  ------------------
  885|  2.36k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser22matchSparcAsmModifiersERPKN7llvm_ks6MCExprERNS1_5SMLocE:
 1163|     26|{
 1164|     26|  AsmToken Tok = Parser.getTok();
 1165|     26|  if (!Tok.is(AsmToken::Identifier))
  ------------------
  |  Branch (1165:7): [True: 2, False: 24]
  ------------------
 1166|      2|    return false;
 1167|       |
 1168|     24|  StringRef name = Tok.getString();
 1169|       |
 1170|     24|  SparcMCExpr::VariantKind VK = SparcMCExpr::parseVariantKind(name);
 1171|       |
 1172|     24|  if (VK == SparcMCExpr::VK_Sparc_None)
  ------------------
  |  Branch (1172:7): [True: 24, False: 0]
  ------------------
 1173|     24|    return false;
 1174|       |
 1175|      0|  Parser.Lex(); // Eat the identifier.
 1176|      0|  if (Parser.getTok().getKind() != AsmToken::LParen)
  ------------------
  |  Branch (1176:7): [True: 0, False: 0]
  ------------------
 1177|      0|    return false;
 1178|       |
 1179|      0|  Parser.Lex(); // Eat the LParen token.
 1180|      0|  const MCExpr *subExpr;
 1181|      0|  if (Parser.parseParenExpression(subExpr, EndLoc))
  ------------------
  |  Branch (1181:7): [True: 0, False: 0]
  ------------------
 1182|      0|    return false;
 1183|       |
 1184|      0|  EVal = adjustPICRelocation(VK, subExpr);
 1185|      0|  return true;
 1186|      0|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_112SparcOperand9CreateImmEPKN7llvm_ks6MCExprENS1_5SMLocES5_:
  342|  1.56k|                                                 SMLoc E) {
  343|  1.56k|    auto Op = make_unique<SparcOperand>(k_Immediate);
  344|  1.56k|    Op->Imm.Val = Val;
  345|  1.56k|    Op->StartLoc = S;
  346|  1.56k|    Op->EndLoc = E;
  347|  1.56k|    return Op;
  348|  1.56k|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser14ParseDirectiveEN7llvm_ks8AsmTokenE:
  649|  35.8k|{
  650|  35.8k|  StringRef IDVal = DirectiveID.getString();
  651|       |
  652|  35.8k|  if (IDVal == ".byte")
  ------------------
  |  Branch (652:7): [True: 4, False: 35.8k]
  ------------------
  653|      4|    return parseDirectiveWord(1, DirectiveID.getLoc());
  654|       |
  655|  35.8k|  if (IDVal == ".half")
  ------------------
  |  Branch (655:7): [True: 0, False: 35.8k]
  ------------------
  656|      0|    return parseDirectiveWord(2, DirectiveID.getLoc());
  657|       |
  658|  35.8k|  if (IDVal == ".word")
  ------------------
  |  Branch (658:7): [True: 1.04k, False: 34.7k]
  ------------------
  659|  1.04k|    return parseDirectiveWord(4, DirectiveID.getLoc());
  660|       |
  661|  34.7k|  if (IDVal == ".nword")
  ------------------
  |  Branch (661:7): [True: 0, False: 34.7k]
  ------------------
  662|      0|    return parseDirectiveWord(is64Bit() ? 8 : 4, DirectiveID.getLoc());
  ------------------
  |  Branch (662:31): [True: 0, False: 0]
  ------------------
  663|       |
  664|  34.7k|  if (is64Bit() && IDVal == ".xword")
  ------------------
  |  Branch (664:7): [True: 34.7k, False: 0]
  |  Branch (664:7): [True: 0, False: 34.7k]
  |  Branch (664:20): [True: 0, False: 34.7k]
  ------------------
  665|      0|    return parseDirectiveWord(8, DirectiveID.getLoc());
  666|       |
  667|  34.7k|  if (IDVal == ".register") {
  ------------------
  |  Branch (667:7): [True: 0, False: 34.7k]
  ------------------
  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|  34.7k|  return true;
  675|  34.7k|}
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser18parseDirectiveWordEjN7llvm_ks5SMLocE:
  677|  1.04k|bool SparcAsmParser:: parseDirectiveWord(unsigned Size, SMLoc L) {
  678|  1.04k|  if (getLexer().isNot(AsmToken::EndOfStatement)) {
  ------------------
  |  Branch (678:7): [True: 1.04k, False: 0]
  ------------------
  679|  1.56k|    for (;;) {
  680|  1.56k|      const MCExpr *Value;
  681|  1.56k|      if (getParser().parseExpression(Value))
  ------------------
  |  Branch (681:11): [True: 0, False: 1.56k]
  ------------------
  682|      0|        return true;
  683|       |
  684|  1.56k|      getParser().getStreamer().EmitValue(Value, Size);
  685|       |
  686|  1.56k|      if (getLexer().is(AsmToken::EndOfStatement))
  ------------------
  |  Branch (686:11): [True: 1.04k, False: 522]
  ------------------
  687|  1.04k|        break;
  688|       |
  689|       |      // FIXME: Improve diagnostic.
  690|    522|      if (getLexer().isNot(AsmToken::Comma))
  ------------------
  |  Branch (690:11): [True: 4, False: 518]
  ------------------
  691|      4|        return Error(L, "unexpected token in directive");
  692|    518|      Parser.Lex();
  693|    518|    }
  694|  1.04k|  }
  695|  1.04k|  Parser.Lex();
  696|  1.04k|  return false;
  697|  1.04k|}
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_114SparcAsmParser7is64BitEv:
   85|  34.7k|  bool is64Bit() const {
   86|  34.7k|    return getSTI().getTargetTriple().getArch() == Triple::sparcv9;
   87|  34.7k|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser23MatchAndEmitInstructionEN7llvm_ks5SMLocERjRNS1_15SmallVectorImplINSt3__110unique_ptrINS1_18MCParsedAsmOperandENS5_14default_deleteIS7_EEEEEERNS1_10MCStreamerERmbS3_SF_:
  515|  1.06k|{
  516|  1.06k|  MCInst Inst(Address);
  517|  1.06k|  SmallVector<MCInst, 8> Instructions;
  518|  1.06k|  unsigned MatchResult = MatchInstructionImpl(Operands, Inst, ErrorInfo,
  519|  1.06k|                                              MatchingInlineAsm);
  520|  1.06k|  switch (MatchResult) {
  ------------------
  |  Branch (520:11): [True: 1.06k, False: 0]
  ------------------
  521|  1.01k|  case Match_Success: {
  ------------------
  |  Branch (521:3): [True: 1.01k, False: 53]
  ------------------
  522|  1.01k|    switch (Inst.getOpcode()) {
  523|  1.01k|    default:
  ------------------
  |  Branch (523:5): [True: 1.01k, False: 0]
  ------------------
  524|  1.01k|      Inst.setLoc(IDLoc);
  525|  1.01k|      Instructions.push_back(Inst);
  526|  1.01k|      break;
  527|      0|    case SP::SET:
  ------------------
  |  Branch (527:5): [True: 0, False: 1.01k]
  ------------------
  528|      0|      expandSET(Inst, IDLoc, Instructions);
  529|      0|      break;
  530|  1.01k|    }
  531|       |
  532|  1.01k|    for (MCInst &I : Instructions) {
  ------------------
  |  Branch (532:20): [True: 1.01k, False: 1.01k]
  ------------------
  533|  1.01k|      Out.EmitInstruction(I, getSTI(), ErrorCode);
  534|  1.01k|    }
  535|  1.01k|    if (ErrorCode == 0) {
  ------------------
  |  Branch (535:9): [True: 1.01k, False: 0]
  ------------------
  536|  1.01k|        Address = Inst.getAddress(); // Keystone update address
  537|  1.01k|        return false;
  538|  1.01k|    } else
  539|      0|        return true;
  540|  1.01k|  }
  541|       |
  542|      0|  case Match_MissingFeature:
  ------------------
  |  Branch (542:3): [True: 0, False: 1.06k]
  ------------------
  543|       |    // return Error(IDLoc,
  544|       |    //              "instruction requires a CPU feature not currently enabled");
  545|      0|    ErrorCode = KS_ERR_ASM_SPARC_MISSINGFEATURE;
  546|      0|    return true;
  547|       |
  548|      3|  case Match_InvalidOperand: {
  ------------------
  |  Branch (548:3): [True: 3, False: 1.06k]
  ------------------
  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|      3|    ErrorCode = KS_ERR_ASM_SPARC_INVALIDOPERAND;
  563|      3|    return true;
  564|  1.01k|  }
  565|     50|  case Match_MnemonicFail:
  ------------------
  |  Branch (565:3): [True: 50, False: 1.01k]
  ------------------
  566|       |    // return Error(IDLoc, "invalid instruction mnemonic");
  567|     50|    ErrorCode = KS_ERR_ASM_SPARC_MNEMONICFAIL;
  568|     50|    return true;
  569|  1.06k|  }
  570|      0|  llvm_unreachable("Implement any new match types added!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  571|  1.06k|}
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand14addImmOperandsERN7llvm_ks6MCInstEj:
  288|    887|  void addImmOperands(MCInst &Inst, unsigned N) const {
  289|    887|    assert(N == 1 && "Invalid number of operands!");
  ------------------
  |  Branch (289:5): [True: 887, False: 0]
  |  Branch (289:5): [True: 887, Folded]
  |  Branch (289:5): [True: 887, False: 0]
  ------------------
  290|    887|    const MCExpr *Expr = getImm();
  291|    887|    addExpr(Inst, Expr);
  292|    887|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand7addExprERN7llvm_ks6MCInstEPKNS1_6MCExprE:
  294|    887|  void addExpr(MCInst &Inst, const MCExpr *Expr) const{
  295|       |    // Add as immediate when possible.  Null MCExpr = 0.
  296|    887|    if (!Expr)
  ------------------
  |  Branch (296:9): [True: 0, False: 887]
  ------------------
  297|      0|      Inst.addOperand(MCOperand::createImm(0));
  298|    887|    else if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Expr))
  ------------------
  |  Branch (298:36): [True: 99, False: 788]
  ------------------
  299|     99|      Inst.addOperand(MCOperand::createImm(CE->getValue()));
  300|    788|    else
  301|    788|      Inst.addOperand(MCOperand::createExpr(Expr));
  302|    887|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand16addMEMrrOperandsERN7llvm_ks6MCInstEj:
  304|    127|  void addMEMrrOperands(MCInst &Inst, unsigned N) const {
  305|    127|    assert(N == 2 && "Invalid number of operands!");
  ------------------
  |  Branch (305:5): [True: 127, False: 0]
  |  Branch (305:5): [True: 127, Folded]
  |  Branch (305:5): [True: 127, False: 0]
  ------------------
  306|       |
  307|    127|    Inst.addOperand(MCOperand::createReg(getMemBase()));
  308|       |
  309|    127|    assert(getMemOffsetReg() != 0 && "Invalid offset");
  ------------------
  |  Branch (309:5): [True: 127, False: 0]
  |  Branch (309:5): [True: 127, Folded]
  |  Branch (309:5): [True: 127, False: 0]
  ------------------
  310|    127|    Inst.addOperand(MCOperand::createReg(getMemOffsetReg()));
  311|    127|  }
SparcAsmParser.cpp:_ZN12_GLOBAL__N_114SparcAsmParser26validateTargetOperandClassERN7llvm_ks18MCParsedAsmOperandEj:
 1199|    133|                                                    unsigned Kind) {
 1200|    133|  SparcOperand &Op = (SparcOperand &)GOp;
 1201|    133|  if (Op.isFloatOrDoubleReg()) {
  ------------------
  |  Branch (1201:7): [True: 0, False: 133]
  ------------------
 1202|      0|    switch (Kind) {
 1203|      0|    default: break;
  ------------------
  |  Branch (1203:5): [True: 0, False: 0]
  ------------------
 1204|      0|    case MCK_DFPRegs:
  ------------------
  |  Branch (1204:5): [True: 0, False: 0]
  ------------------
 1205|      0|      if (!Op.isFloatReg() || SparcOperand::MorphToDoubleReg(Op))
  ------------------
  |  Branch (1205:11): [True: 0, False: 0]
  |  Branch (1205:31): [True: 0, False: 0]
  ------------------
 1206|      0|        return MCTargetAsmParser::Match_Success;
 1207|      0|      break;
 1208|      0|    case MCK_QFPRegs:
  ------------------
  |  Branch (1208:5): [True: 0, False: 0]
  ------------------
 1209|      0|      if (SparcOperand::MorphToQuadReg(Op))
  ------------------
  |  Branch (1209:11): [True: 0, False: 0]
  ------------------
 1210|      0|        return MCTargetAsmParser::Match_Success;
 1211|      0|      break;
 1212|      0|    }
 1213|      0|  }
 1214|    133|  if (Op.isIntReg() && Kind == MCK_IntPair) {
  ------------------
  |  Branch (1214:7): [True: 0, False: 133]
  |  Branch (1214:24): [True: 0, False: 0]
  ------------------
 1215|      0|    if (SparcOperand::MorphToIntPairReg(Op))
  ------------------
  |  Branch (1215:9): [True: 0, False: 0]
  ------------------
 1216|      0|      return MCTargetAsmParser::Match_Success;
 1217|      0|  }
 1218|    133|  return Match_InvalidOperand;
 1219|    133|}
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand18isFloatOrDoubleRegEv:
  224|    133|  bool isFloatOrDoubleReg() const {
  225|    133|    return (Kind == k_Register && (Reg.Kind == rk_FloatReg
  ------------------
  |  Branch (225:13): [True: 0, False: 133]
  |  Branch (225:36): [True: 0, False: 0]
  ------------------
  226|      0|                                   || Reg.Kind == rk_DoubleReg));
  ------------------
  |  Branch (226:39): [True: 0, False: 0]
  ------------------
  227|    133|  }
SparcAsmParser.cpp:_ZNK12_GLOBAL__N_112SparcOperand8isIntRegEv:
  216|    133|  bool isIntReg() const {
  217|    133|    return (Kind == k_Register && Reg.Kind == rk_IntReg);
  ------------------
  |  Branch (217:13): [True: 0, False: 133]
  |  Branch (217:35): [True: 0, False: 0]
  ------------------
  218|    133|  }

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

_ZN7llvm_ks26createSparcELFObjectWriterERNS_17raw_pwrite_streamEbbh:
  137|    692|                                                 uint8_t OSABI) {
  138|    692|  MCELFObjectTargetWriter *MOTW = new SparcELFObjectWriter(Is64Bit, OSABI);
  139|    692|  return createELFObjectWriter(MOTW, OS, IsLittleEndian);
  140|    692|}
SparcELFObjectWriter.cpp:_ZN12_GLOBAL__N_120SparcELFObjectWriterC2Ebh:
   25|    692|      : MCELFObjectTargetWriter(Is64Bit, OSABI,
   26|    692|                                Is64Bit ?  ELF::EM_SPARCV9 : ELF::EM_SPARC,
  ------------------
  |  Branch (26:33): [True: 692, False: 0]
  ------------------
   27|    692|                                /*HasRelocationAddend*/ true) {}
SparcELFObjectWriter.cpp:_ZNK12_GLOBAL__N_120SparcELFObjectWriter12getRelocTypeERN7llvm_ks9MCContextERKNS1_7MCValueERKNS1_7MCFixupEb:
   44|    398|                                            bool IsPCRel) const {
   45|       |
   46|    398|  if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Fixup.getValue())) {
  ------------------
  |  Branch (46:26): [True: 0, False: 398]
  ------------------
   47|      0|    if (SExpr->getKind() == SparcMCExpr::VK_Sparc_R_DISP32)
  ------------------
  |  Branch (47:9): [True: 0, False: 0]
  ------------------
   48|      0|      return ELF::R_SPARC_DISP32;
   49|      0|  }
   50|       |
   51|    398|  if (IsPCRel) {
  ------------------
  |  Branch (51:7): [True: 174, False: 224]
  ------------------
   52|    174|    switch((unsigned)Fixup.getKind()) {
   53|      0|    default:
  ------------------
  |  Branch (53:5): [True: 0, False: 174]
  ------------------
   54|      0|      llvm_unreachable("Unimplemented fixup -> relocation");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
   55|      0|    case FK_Data_1:                  return ELF::R_SPARC_DISP8;
  ------------------
  |  Branch (55:5): [True: 0, False: 174]
  ------------------
   56|      0|    case FK_Data_2:                  return ELF::R_SPARC_DISP16;
  ------------------
  |  Branch (56:5): [True: 0, False: 174]
  ------------------
   57|    174|    case FK_Data_4:                  return ELF::R_SPARC_DISP32;
  ------------------
  |  Branch (57:5): [True: 174, False: 0]
  ------------------
   58|      0|    case FK_Data_8:                  return ELF::R_SPARC_DISP64;
  ------------------
  |  Branch (58:5): [True: 0, False: 174]
  ------------------
   59|      0|    case Sparc::fixup_sparc_call30:  return ELF::R_SPARC_WDISP30;
  ------------------
  |  Branch (59:5): [True: 0, False: 174]
  ------------------
   60|      0|    case Sparc::fixup_sparc_br22:    return ELF::R_SPARC_WDISP22;
  ------------------
  |  Branch (60:5): [True: 0, False: 174]
  ------------------
   61|      0|    case Sparc::fixup_sparc_br19:    return ELF::R_SPARC_WDISP19;
  ------------------
  |  Branch (61:5): [True: 0, False: 174]
  ------------------
   62|      0|    case Sparc::fixup_sparc_pc22:    return ELF::R_SPARC_PC22;
  ------------------
  |  Branch (62:5): [True: 0, False: 174]
  ------------------
   63|      0|    case Sparc::fixup_sparc_pc10:    return ELF::R_SPARC_PC10;
  ------------------
  |  Branch (63:5): [True: 0, False: 174]
  ------------------
   64|      0|    case Sparc::fixup_sparc_wplt30:  return ELF::R_SPARC_WPLT30;
  ------------------
  |  Branch (64:5): [True: 0, False: 174]
  ------------------
   65|    174|    }
   66|    174|  }
   67|       |
   68|    224|  switch((unsigned)Fixup.getKind()) {
   69|      0|  default:
  ------------------
  |  Branch (69:3): [True: 0, False: 224]
  ------------------
   70|      0|    llvm_unreachable("Unimplemented fixup -> relocation");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
   71|      0|  case FK_Data_1:                return ELF::R_SPARC_8;
  ------------------
  |  Branch (71:3): [True: 0, False: 224]
  ------------------
   72|      0|  case FK_Data_2:                return ((Fixup.getOffset() % 2)
  ------------------
  |  Branch (72:3): [True: 0, False: 224]
  |  Branch (72:42): [True: 0, False: 0]
  ------------------
   73|      0|                                         ? ELF::R_SPARC_UA16
   74|      0|                                         : ELF::R_SPARC_16);
   75|    224|  case FK_Data_4:                return ((Fixup.getOffset() % 4)
  ------------------
  |  Branch (75:3): [True: 224, False: 0]
  |  Branch (75:42): [True: 0, False: 224]
  ------------------
   76|    224|                                         ? ELF::R_SPARC_UA32
   77|    224|                                         : ELF::R_SPARC_32);
   78|      0|  case FK_Data_8:                return ((Fixup.getOffset() % 8)
  ------------------
  |  Branch (78:3): [True: 0, False: 224]
  |  Branch (78:42): [True: 0, False: 0]
  ------------------
   79|      0|                                         ? ELF::R_SPARC_UA64
   80|      0|                                         : ELF::R_SPARC_64);
   81|      0|  case Sparc::fixup_sparc_hi22:  return ELF::R_SPARC_HI22;
  ------------------
  |  Branch (81:3): [True: 0, False: 224]
  ------------------
   82|      0|  case Sparc::fixup_sparc_lo10:  return ELF::R_SPARC_LO10;
  ------------------
  |  Branch (82:3): [True: 0, False: 224]
  ------------------
   83|      0|  case Sparc::fixup_sparc_h44:   return ELF::R_SPARC_H44;
  ------------------
  |  Branch (83:3): [True: 0, False: 224]
  ------------------
   84|      0|  case Sparc::fixup_sparc_m44:   return ELF::R_SPARC_M44;
  ------------------
  |  Branch (84:3): [True: 0, False: 224]
  ------------------
   85|      0|  case Sparc::fixup_sparc_l44:   return ELF::R_SPARC_L44;
  ------------------
  |  Branch (85:3): [True: 0, False: 224]
  ------------------
   86|      0|  case Sparc::fixup_sparc_hh:    return ELF::R_SPARC_HH22;
  ------------------
  |  Branch (86:3): [True: 0, False: 224]
  ------------------
   87|      0|  case Sparc::fixup_sparc_hm:    return ELF::R_SPARC_HM10;
  ------------------
  |  Branch (87:3): [True: 0, False: 224]
  ------------------
   88|      0|  case Sparc::fixup_sparc_got22: return ELF::R_SPARC_GOT22;
  ------------------
  |  Branch (88:3): [True: 0, False: 224]
  ------------------
   89|      0|  case Sparc::fixup_sparc_got10: return ELF::R_SPARC_GOT10;
  ------------------
  |  Branch (89:3): [True: 0, False: 224]
  ------------------
   90|      0|  case Sparc::fixup_sparc_tls_gd_hi22:   return ELF::R_SPARC_TLS_GD_HI22;
  ------------------
  |  Branch (90:3): [True: 0, False: 224]
  ------------------
   91|      0|  case Sparc::fixup_sparc_tls_gd_lo10:   return ELF::R_SPARC_TLS_GD_LO10;
  ------------------
  |  Branch (91:3): [True: 0, False: 224]
  ------------------
   92|      0|  case Sparc::fixup_sparc_tls_gd_add:    return ELF::R_SPARC_TLS_GD_ADD;
  ------------------
  |  Branch (92:3): [True: 0, False: 224]
  ------------------
   93|      0|  case Sparc::fixup_sparc_tls_gd_call:   return ELF::R_SPARC_TLS_GD_CALL;
  ------------------
  |  Branch (93:3): [True: 0, False: 224]
  ------------------
   94|      0|  case Sparc::fixup_sparc_tls_ldm_hi22:  return ELF::R_SPARC_TLS_LDM_HI22;
  ------------------
  |  Branch (94:3): [True: 0, False: 224]
  ------------------
   95|      0|  case Sparc::fixup_sparc_tls_ldm_lo10:  return ELF::R_SPARC_TLS_LDM_LO10;
  ------------------
  |  Branch (95:3): [True: 0, False: 224]
  ------------------
   96|      0|  case Sparc::fixup_sparc_tls_ldm_add:   return ELF::R_SPARC_TLS_LDM_ADD;
  ------------------
  |  Branch (96:3): [True: 0, False: 224]
  ------------------
   97|      0|  case Sparc::fixup_sparc_tls_ldm_call:  return ELF::R_SPARC_TLS_LDM_CALL;
  ------------------
  |  Branch (97:3): [True: 0, False: 224]
  ------------------
   98|      0|  case Sparc::fixup_sparc_tls_ldo_hix22: return ELF::R_SPARC_TLS_LDO_HIX22;
  ------------------
  |  Branch (98:3): [True: 0, False: 224]
  ------------------
   99|      0|  case Sparc::fixup_sparc_tls_ldo_lox10: return ELF::R_SPARC_TLS_LDO_LOX10;
  ------------------
  |  Branch (99:3): [True: 0, False: 224]
  ------------------
  100|      0|  case Sparc::fixup_sparc_tls_ldo_add:   return ELF::R_SPARC_TLS_LDO_ADD;
  ------------------
  |  Branch (100:3): [True: 0, False: 224]
  ------------------
  101|      0|  case Sparc::fixup_sparc_tls_ie_hi22:   return ELF::R_SPARC_TLS_IE_HI22;
  ------------------
  |  Branch (101:3): [True: 0, False: 224]
  ------------------
  102|      0|  case Sparc::fixup_sparc_tls_ie_lo10:   return ELF::R_SPARC_TLS_IE_LO10;
  ------------------
  |  Branch (102:3): [True: 0, False: 224]
  ------------------
  103|      0|  case Sparc::fixup_sparc_tls_ie_ld:     return ELF::R_SPARC_TLS_IE_LD;
  ------------------
  |  Branch (103:3): [True: 0, False: 224]
  ------------------
  104|      0|  case Sparc::fixup_sparc_tls_ie_ldx:    return ELF::R_SPARC_TLS_IE_LDX;
  ------------------
  |  Branch (104:3): [True: 0, False: 224]
  ------------------
  105|      0|  case Sparc::fixup_sparc_tls_ie_add:    return ELF::R_SPARC_TLS_IE_ADD;
  ------------------
  |  Branch (105:3): [True: 0, False: 224]
  ------------------
  106|      0|  case Sparc::fixup_sparc_tls_le_hix22:  return ELF::R_SPARC_TLS_LE_HIX22;
  ------------------
  |  Branch (106:3): [True: 0, False: 224]
  ------------------
  107|      0|  case Sparc::fixup_sparc_tls_le_lox10:  return ELF::R_SPARC_TLS_LE_LOX10;
  ------------------
  |  Branch (107:3): [True: 0, False: 224]
  ------------------
  108|    224|  }
  109|       |
  110|      0|  return ELF::R_SPARC_NONE;
  111|    224|}
SparcELFObjectWriter.cpp:_ZNK12_GLOBAL__N_120SparcELFObjectWriter23needsRelocateWithSymbolERKN7llvm_ks8MCSymbolEj:
  114|    224|                                                 unsigned Type) const {
  115|    224|  switch (Type) {
  116|    224|    default:
  ------------------
  |  Branch (116:5): [True: 224, False: 0]
  ------------------
  117|    224|      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: 224]
  ------------------
  124|      0|    case ELF::R_SPARC_GOT13:
  ------------------
  |  Branch (124:5): [True: 0, False: 224]
  ------------------
  125|      0|    case ELF::R_SPARC_GOT22:
  ------------------
  |  Branch (125:5): [True: 0, False: 224]
  ------------------
  126|      0|    case ELF::R_SPARC_GOTDATA_HIX22:
  ------------------
  |  Branch (126:5): [True: 0, False: 224]
  ------------------
  127|      0|    case ELF::R_SPARC_GOTDATA_LOX10:
  ------------------
  |  Branch (127:5): [True: 0, False: 224]
  ------------------
  128|      0|    case ELF::R_SPARC_GOTDATA_OP_HIX22:
  ------------------
  |  Branch (128:5): [True: 0, False: 224]
  ------------------
  129|      0|    case ELF::R_SPARC_GOTDATA_OP_LOX10:
  ------------------
  |  Branch (129:5): [True: 0, False: 224]
  ------------------
  130|      0|      return true;
  131|    224|  }
  132|    224|}

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

_ZN7llvm_ks24createSparcMCCodeEmitterERKNS_11MCInstrInfoERKNS_14MCRegisterInfoERNS_9MCContextE:
   78|    692|                                              MCContext &Ctx) {
   79|    692|  return new SparcMCCodeEmitter(Ctx);
   80|    692|}
SparcMCCodeEmitter.cpp:_ZN12_GLOBAL__N_118SparcMCCodeEmitterC2ERN7llvm_ks9MCContextE:
   39|    692|  SparcMCCodeEmitter(MCContext &ctx): Ctx(ctx) {}
SparcMCCodeEmitter.cpp:_ZNK12_GLOBAL__N_118SparcMCCodeEmitter17encodeInstructionERN7llvm_ks6MCInstERNS1_11raw_ostreamERNS1_15SmallVectorImplINS1_7MCFixupEEERKNS1_15MCSubtargetInfoERj:
   86|  1.01k|{
   87|  1.01k|  unsigned Bits = getBinaryCodeForInstr(MI, Fixups, STI);
   88|       |
   89|  1.01k|  KsError = 0;
   90|       |
   91|  1.01k|  if (Ctx.getAsmInfo()->isLittleEndian()) {
  ------------------
  |  Branch (91:7): [True: 0, False: 1.01k]
  ------------------
   92|       |    // Output the bits in little-endian byte order.
   93|      0|    support::endian::Writer<support::little>(OS).write<uint32_t>(Bits);
   94|  1.01k|  } else {
   95|       |    // Output the bits in big-endian byte order.
   96|  1.01k|    support::endian::Writer<support::big>(OS).write<uint32_t>(Bits);
   97|  1.01k|  }
   98|  1.01k|  unsigned tlsOpNo = 0;
   99|  1.01k|  switch (MI.getOpcode()) {
  100|  1.01k|  default: break;
  ------------------
  |  Branch (100:3): [True: 1.01k, False: 0]
  ------------------
  101|  1.01k|  case SP::TLS_CALL:   tlsOpNo = 1; break;
  ------------------
  |  Branch (101:3): [True: 0, False: 1.01k]
  ------------------
  102|      0|  case SP::TLS_ADDrr:
  ------------------
  |  Branch (102:3): [True: 0, False: 1.01k]
  ------------------
  103|      0|  case SP::TLS_ADDXrr:
  ------------------
  |  Branch (103:3): [True: 0, False: 1.01k]
  ------------------
  104|      0|  case SP::TLS_LDrr:
  ------------------
  |  Branch (104:3): [True: 0, False: 1.01k]
  ------------------
  105|      0|  case SP::TLS_LDXrr:  tlsOpNo = 3; break;
  ------------------
  |  Branch (105:3): [True: 0, False: 1.01k]
  ------------------
  106|  1.01k|  }
  107|  1.01k|  if (tlsOpNo != 0) {
  ------------------
  |  Branch (107:7): [True: 0, False: 1.01k]
  ------------------
  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|  1.01k|  MI.setAddress(MI.getAddress() + 4);
  116|  1.01k|}
SparcMCCodeEmitter.cpp:_ZNK12_GLOBAL__N_118SparcMCCodeEmitter22getBranchTargetOpValueERKN7llvm_ks6MCInstEjRNS1_15SmallVectorImplINS1_7MCFixupEEERKNS1_15MCSubtargetInfoE:
  188|    887|                  const MCSubtargetInfo &STI) const {
  189|    887|  const MCOperand &MO = MI.getOperand(OpNo);
  190|       |
  191|    887|  if (MO.isImm())
  ------------------
  |  Branch (191:7): [True: 99, False: 788]
  ------------------
  192|     99|      return (MO.getImm() - MI.getAddress()) / 4;
  193|       |
  194|    788|  if (MO.isReg())
  ------------------
  |  Branch (194:7): [True: 0, False: 788]
  ------------------
  195|      0|    return getMachineOpValue(MI, MO, Fixups, STI);
  196|       |
  197|    788|  Fixups.push_back(MCFixup::create(0, MO.getExpr(),
  198|    788|                                   (MCFixupKind)Sparc::fixup_sparc_br22));
  199|    788|  return 0;
  200|    788|}
SparcMCCodeEmitter.cpp:_ZNK12_GLOBAL__N_118SparcMCCodeEmitter17getMachineOpValueERKN7llvm_ks6MCInstERKNS1_9MCOperandERNS1_15SmallVectorImplINS1_7MCFixupEEERKNS1_15MCSubtargetInfoE:
  123|  1.26k|{
  124|  1.26k|  if (MO.isReg())
  ------------------
  |  Branch (124:7): [True: 381, False: 887]
  ------------------
  125|    381|    return Ctx.getRegisterInfo()->getEncodingValue(MO.getReg());
  126|       |
  127|    887|  if (MO.isImm())
  ------------------
  |  Branch (127:7): [True: 887, False: 0]
  ------------------
  128|    887|    return MO.getImm();
  129|       |
  130|    887|  assert(MO.isExpr());
  ------------------
  |  Branch (130:3): [True: 0, False: 0]
  ------------------
  131|      0|  const MCExpr *Expr = MO.getExpr();
  132|      0|  if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Expr)) {
  ------------------
  |  Branch (132:26): [True: 0, False: 0]
  ------------------
  133|      0|    MCFixupKind Kind = (MCFixupKind)SExpr->getFixupKind();
  134|      0|    Fixups.push_back(MCFixup::create(0, Expr, Kind));
  135|      0|    return 0;
  136|      0|  }
  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_ks11SparcMCExpr16parseVariantKindENS_9StringRefE:
   87|     24|{
   88|     24|  return StringSwitch<SparcMCExpr::VariantKind>(name)
   89|     24|    .Case("lo",  VK_Sparc_LO)
   90|     24|    .Case("hi",  VK_Sparc_HI)
   91|     24|    .Case("h44", VK_Sparc_H44)
   92|     24|    .Case("m44", VK_Sparc_M44)
   93|     24|    .Case("l44", VK_Sparc_L44)
   94|     24|    .Case("hh",  VK_Sparc_HH)
   95|     24|    .Case("hm",  VK_Sparc_HM)
   96|     24|    .Case("pc22",  VK_Sparc_PC22)
   97|     24|    .Case("pc10",  VK_Sparc_PC10)
   98|     24|    .Case("got22", VK_Sparc_GOT22)
   99|     24|    .Case("got10", VK_Sparc_GOT10)
  100|     24|    .Case("r_disp32",   VK_Sparc_R_DISP32)
  101|     24|    .Case("tgd_hi22",   VK_Sparc_TLS_GD_HI22)
  102|     24|    .Case("tgd_lo10",   VK_Sparc_TLS_GD_LO10)
  103|     24|    .Case("tgd_add",    VK_Sparc_TLS_GD_ADD)
  104|     24|    .Case("tgd_call",   VK_Sparc_TLS_GD_CALL)
  105|     24|    .Case("tldm_hi22",  VK_Sparc_TLS_LDM_HI22)
  106|     24|    .Case("tldm_lo10",  VK_Sparc_TLS_LDM_LO10)
  107|     24|    .Case("tldm_add",   VK_Sparc_TLS_LDM_ADD)
  108|     24|    .Case("tldm_call",  VK_Sparc_TLS_LDM_CALL)
  109|     24|    .Case("tldo_hix22", VK_Sparc_TLS_LDO_HIX22)
  110|     24|    .Case("tldo_lox10", VK_Sparc_TLS_LDO_LOX10)
  111|     24|    .Case("tldo_add",   VK_Sparc_TLS_LDO_ADD)
  112|     24|    .Case("tie_hi22",   VK_Sparc_TLS_IE_HI22)
  113|     24|    .Case("tie_lo10",   VK_Sparc_TLS_IE_LO10)
  114|     24|    .Case("tie_ld",     VK_Sparc_TLS_IE_LD)
  115|     24|    .Case("tie_ldx",    VK_Sparc_TLS_IE_LDX)
  116|     24|    .Case("tie_add",    VK_Sparc_TLS_IE_ADD)
  117|     24|    .Case("tle_hix22",  VK_Sparc_TLS_LE_HIX22)
  118|     24|    .Case("tle_lox10",  VK_Sparc_TLS_LE_LOX10)
  119|     24|    .Default(VK_Sparc_None);
  120|     24|}

_ZN7llvm_ks11SparcMCExpr7classofEPKNS_6MCExprE:
   99|    398|  static bool classof(const MCExpr *E) {
  100|    398|    return E->getKind() == MCExpr::Target;
  101|    398|  }

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

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

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

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

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

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

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

