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

_ZN7llvm_ks5APIntC2EPmj:
   98|  1.69M|  APInt(uint64_t *val, unsigned bits) : BitWidth(bits), pVal(val) {}
_ZNK7llvm_ks5APInt12isSingleWordEv:
  103|  69.5M|  bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; }
_ZN7llvm_ks5APInt15clearUnusedBitsEv:
  136|  18.4M|  APInt &clearUnusedBits() {
  137|       |    // Compute how many bits are used in the final word
  138|  18.4M|    unsigned wordBits = BitWidth % APINT_BITS_PER_WORD;
  139|  18.4M|    if (wordBits == 0)
  ------------------
  |  Branch (139:9): [True: 18.1M, False: 332k]
  ------------------
  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|  18.1M|      return *this;
  144|       |
  145|       |    // Mask out the high bits.
  146|   332k|    uint64_t mask = ~uint64_t(0ULL) >> (APINT_BITS_PER_WORD - wordBits);
  147|   332k|    if (isSingleWord())
  ------------------
  |  Branch (147:9): [True: 4.07k, False: 328k]
  ------------------
  148|  4.07k|      VAL &= mask;
  149|   328k|    else
  150|   328k|      pVal[getNumWords() - 1] &= mask;
  151|   332k|    return *this;
  152|  18.4M|  }
_ZN7llvm_ks5APIntC2Ejmb:
  237|  16.1M|      : BitWidth(numBits), VAL(0) {
  238|  16.1M|    assert(BitWidth && "bitwidth too small");
  ------------------
  |  Branch (238:5): [True: 16.1M, False: 0]
  |  Branch (238:5): [True: 16.1M, Folded]
  |  Branch (238:5): [True: 16.1M, False: 0]
  ------------------
  239|  16.1M|    if (isSingleWord())
  ------------------
  |  Branch (239:9): [True: 15.5M, False: 653k]
  ------------------
  240|  15.5M|      VAL = val;
  241|   653k|    else
  242|   653k|      initSlowCase(numBits, val, isSigned);
  243|  16.1M|    clearUnusedBits();
  244|  16.1M|  }
_ZN7llvm_ks5APIntC2ERKS0_:
  279|  5.45M|  APInt(const APInt &that) : BitWidth(that.BitWidth), VAL(0) {
  280|  5.45M|    if (isSingleWord())
  ------------------
  |  Branch (280:9): [True: 4.22M, False: 1.22M]
  ------------------
  281|  4.22M|      VAL = that.VAL;
  282|  1.22M|    else
  283|  1.22M|      initSlowCase(that);
  284|  5.45M|  }
_ZN7llvm_ks5APIntC2EOS0_:
  287|  16.0M|  APInt(APInt &&that) : BitWidth(that.BitWidth), VAL(that.VAL) {
  288|  16.0M|    that.BitWidth = 0;
  289|  16.0M|  }
_ZN7llvm_ks5APIntD2Ev:
  292|  40.5M|  ~APInt() {
  293|  40.5M|    if (needsCleanup())
  ------------------
  |  Branch (293:9): [True: 1.84M, False: 38.7M]
  ------------------
  294|  1.84M|      delete[] pVal;
  295|  40.5M|  }
_ZN7llvm_ks5APIntC2Ev:
  302|  1.23M|  explicit APInt() : BitWidth(1), VAL(0) {}
_ZNK7llvm_ks5APInt12needsCleanupEv:
  305|  40.5M|  bool needsCleanup() const { return !isSingleWord(); }
_ZNK7llvm_ks5APInt6isIntNEj:
  373|   652k|  bool isIntN(unsigned N) const {
  374|   652k|    assert(N && "N == 0 ???");
  ------------------
  |  Branch (374:5): [True: 652k, False: 0]
  |  Branch (374:5): [True: 652k, Folded]
  |  Branch (374:5): [True: 652k, False: 0]
  ------------------
  375|   652k|    return getActiveBits() <= N;
  376|   652k|  }
_ZNK7llvm_ks5APInt15getLimitedValueEm:
  405|  4.07k|  uint64_t getLimitedValue(uint64_t Limit = ~0ULL) const {
  406|  4.07k|    return (getActiveBits() > 64 || getZExtValue() > Limit) ? Limit
  ------------------
  |  Branch (406:13): [True: 0, False: 4.07k]
  |  Branch (406:37): [True: 0, False: 4.07k]
  ------------------
  407|  4.07k|                                                            : getZExtValue();
  408|  4.07k|  }
_ZNK7llvm_ks5APInt10getRawDataEv:
  574|  6.70k|  const uint64_t *getRawData() const {
  575|  6.70k|    if (isSingleWord())
  ------------------
  |  Branch (575:9): [True: 385, False: 6.32k]
  ------------------
  576|    385|      return &VAL;
  577|  6.32k|    return &pVal[0];
  578|  6.70k|  }
_ZN7llvm_ks5APIntaSERKS0_:
  652|  17.7k|  APInt &operator=(const APInt &RHS) {
  653|       |    // If the bitwidths are the same, we can avoid mucking with memory
  654|  17.7k|    if (isSingleWord() && RHS.isSingleWord()) {
  ------------------
  |  Branch (654:9): [True: 17.0k, False: 685]
  |  Branch (654:27): [True: 15.7k, False: 1.27k]
  ------------------
  655|  15.7k|      VAL = RHS.VAL;
  656|  15.7k|      BitWidth = RHS.BitWidth;
  657|  15.7k|      return clearUnusedBits();
  658|  15.7k|    }
  659|       |
  660|  1.95k|    return AssignSlowCase(RHS);
  661|  17.7k|  }
_ZN7llvm_ks5APIntaSEOS0_:
  664|  1.73M|  APInt &operator=(APInt &&that) {
  665|  1.73M|    if (!isSingleWord()) {
  ------------------
  |  Branch (665:9): [True: 1.73M, False: 0]
  ------------------
  666|       |      // The MSVC STL shipped in 2013 requires that self move assignment be a
  667|       |      // no-op.  Otherwise algorithms like stable_sort will produce answers
  668|       |      // where half of the output is left in a moved-from state.
  669|  1.73M|      if (this == &that)
  ------------------
  |  Branch (669:11): [True: 0, False: 1.73M]
  ------------------
  670|      0|        return *this;
  671|  1.73M|      delete[] pVal;
  672|  1.73M|    }
  673|       |
  674|       |    // Use memcpy so that type based alias analysis sees both VAL and pVal
  675|       |    // as modified.
  676|  1.73M|    memcpy(&VAL, &that.VAL, sizeof(uint64_t));
  677|       |
  678|       |    // If 'this == &that', avoid zeroing our own bitwidth by storing to 'that'
  679|       |    // first.
  680|  1.73M|    unsigned ThatBitWidth = that.BitWidth;
  681|  1.73M|    that.BitWidth = 0;
  682|  1.73M|    BitWidth = ThatBitWidth;
  683|       |
  684|  1.73M|    return *this;
  685|  1.73M|  }
_ZN7llvm_ks5APIntoREm:
  717|  1.68M|  APInt &operator|=(uint64_t RHS) {
  718|  1.68M|    if (isSingleWord()) {
  ------------------
  |  Branch (718:9): [True: 0, False: 1.68M]
  ------------------
  719|      0|      VAL |= RHS;
  720|      0|      clearUnusedBits();
  721|  1.68M|    } else {
  722|  1.68M|      pVal[0] |= RHS;
  723|  1.68M|    }
  724|  1.68M|    return *this;
  725|  1.68M|  }
_ZN7llvm_ks5APIntlSEj:
  761|  1.68M|  APInt &operator<<=(unsigned shiftAmt) {
  762|  1.68M|    *this = shl(shiftAmt);
  763|  1.68M|    return *this;
  764|  1.68M|  }
_ZNK7llvm_ks5APInt3shlEj:
  869|  1.68M|  APInt LLVM_ATTRIBUTE_UNUSED_RESULT shl(unsigned shiftAmt) const {
  870|  1.68M|    assert(shiftAmt <= BitWidth && "Invalid shift amount");
  ------------------
  |  Branch (870:5): [True: 1.68M, False: 0]
  |  Branch (870:5): [True: 1.68M, Folded]
  |  Branch (870:5): [True: 1.68M, False: 0]
  ------------------
  871|  1.68M|    if (isSingleWord()) {
  ------------------
  |  Branch (871:9): [True: 0, False: 1.68M]
  ------------------
  872|      0|      if (shiftAmt >= BitWidth)
  ------------------
  |  Branch (872:11): [True: 0, False: 0]
  ------------------
  873|      0|        return APInt(BitWidth, 0); // avoid undefined shift results
  874|      0|      return APInt(BitWidth, VAL << shiftAmt);
  875|      0|    }
  876|  1.68M|    return shlSlowCase(shiftAmt);
  877|  1.68M|  }
_ZNK7llvm_ks5APInt11getBitWidthEv:
 1274|  1.22M|  unsigned getBitWidth() const { return BitWidth; }
_ZNK7llvm_ks5APInt11getNumWordsEv:
 1281|  17.9M|  unsigned getNumWords() const { return getNumWords(BitWidth); }
_ZN7llvm_ks5APInt11getNumWordsEj:
 1289|  17.9M|  static unsigned getNumWords(unsigned BitWidth) {
 1290|  17.9M|    return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD;
 1291|  17.9M|  }
_ZNK7llvm_ks5APInt13getActiveBitsEv:
 1298|   904k|  unsigned getActiveBits() const { return BitWidth - countLeadingZeros(); }
_ZNK7llvm_ks5APInt12getZExtValueEv:
 1328|   310k|  uint64_t getZExtValue() const {
 1329|   310k|    if (isSingleWord())
  ------------------
  |  Branch (1329:9): [True: 62.4k, False: 247k]
  ------------------
 1330|  62.4k|      return VAL;
 1331|   310k|    assert(getActiveBits() <= 64 && "Too many bits for uint64_t");
  ------------------
  |  Branch (1331:5): [True: 247k, False: 0]
  |  Branch (1331:5): [True: 247k, Folded]
  |  Branch (1331:5): [True: 247k, False: 0]
  ------------------
 1332|   247k|    return pVal[0];
 1333|   247k|  }
_ZNK7llvm_ks5APInt17countLeadingZerosEv:
 1362|   904k|  unsigned countLeadingZeros() const {
 1363|   904k|    if (isSingleWord()) {
  ------------------
  |  Branch (1363:9): [True: 47.8k, False: 856k]
  ------------------
 1364|  47.8k|      unsigned unusedBits = APINT_BITS_PER_WORD - BitWidth;
 1365|  47.8k|      return llvm_ks::countLeadingZeros(VAL) - unusedBits;
 1366|  47.8k|    }
 1367|   856k|    return countLeadingZerosSlowCase();
 1368|   904k|  }
_ZN7llvm_ks8APIntOps4lshrERKNS_5APIntEj:
 1841|    580|inline APInt lshr(const APInt &LHS, unsigned shiftAmt) {
 1842|    580|  return LHS.lshr(shiftAmt);
 1843|    580|}
_ZN7llvm_ks8APIntOps3shlERKNS_5APIntEj:
 1848|    290|inline APInt shl(const APInt &LHS, unsigned shiftAmt) {
 1849|    290|  return LHS.shl(shiftAmt);
 1850|    290|}

_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE5beginEv:
  123|  53.8k|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE3endEv:
  124|  67.3k|    iterator end() const { return Data + Length; }
_ZN7llvm_ks8ArrayRefINS_7SMRangeEEC2ENS_8NoneTypeE:
   54|  51.4k|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINS_7SMFixItEEC2ENS_8NoneTypeE:
   54|  52.5k|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINSt3__14pairIjjEEEC2INS1_9allocatorIS3_EEEERKNS1_6vectorIS3_T_EE:
   79|  1.02k|      : Data(Vec.data()), Length(Vec.size()) {}
_ZN7llvm_ks15MutableArrayRefINS_8AsmTokenEEC2ERS1_:
  233|  7.88k|    /*implicit*/ MutableArrayRef(T &OneElt) : ArrayRef<T>(OneElt) {}
_ZN7llvm_ks8ArrayRefINS_8AsmTokenEEC2ERKS1_:
   58|  7.88k|      : Data(&OneElt), Length(1) {}
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE4sizeEv:
  135|  8.95M|    size_t size() const { return Length; }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE4backEv:
  144|  34.9k|    const T &back() const {
  145|  34.9k|      assert(!empty());
  ------------------
  |  Branch (145:7): [True: 34.9k, False: 0]
  ------------------
  146|  34.9k|      return Data[Length-1];
  147|  34.9k|    }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEE5emptyEv:
  130|  34.9k|    bool empty() const { return Length == 0; }
_ZNK7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEE4sizeEv:
  135|  41.2k|    size_t size() const { return Length; }
_ZNK7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEixEm:
  185|  3.75k|    const T &operator[](size_t Index) const {
  186|  3.75k|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 3.75k, False: 0]
  |  Branch (186:7): [True: 3.75k, Folded]
  |  Branch (186:7): [True: 3.75k, False: 0]
  ------------------
  187|  3.75k|      return Data[Index];
  188|  3.75k|    }
AsmParser.cpp:_ZNK7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEixEm:
  185|  23.9k|    const T &operator[](size_t Index) const {
  186|  23.9k|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 23.9k, False: 0]
  |  Branch (186:7): [True: 23.9k, Folded]
  |  Branch (186:7): [True: 23.9k, False: 0]
  ------------------
  187|  23.9k|      return Data[Index];
  188|  23.9k|    }
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2INSt3__19allocatorIS2_EEEERKNS5_6vectorIS2_T_EE:
   79|  24.8k|      : Data(Vec.data()), Length(Vec.size()) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2INS4_IS6_EEEERKNS2_IS6_T_EE:
   79|  24.1k|      : Data(Vec.data()), Length(Vec.size()) {}
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2ENS_8NoneTypeE:
   54|  8.90M|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2ENS_8NoneTypeE:
   54|  8.90M|    /*implicit*/ ArrayRef(NoneType) : Data(nullptr), Length(0) {}
AsmParser.cpp:_ZN7llvm_ks8ArrayRefIN12_GLOBAL__N_119MCAsmMacroParameterEEC2ERKS2_:
   58|  33.1k|      : Data(&OneElt), Length(1) {}
_ZN7llvm_ks8ArrayRefINSt3__16vectorINS_8AsmTokenENS1_9allocatorIS3_EEEEEC2ERKS6_:
   58|  33.1k|      : Data(&OneElt), Length(1) {}
_ZN7llvm_ks8ArrayRefINS_7SMRangeEEC2ERKS1_:
   58|     44|      : Data(&OneElt), Length(1) {}
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE5emptyEv:
  130|  43.0k|    bool empty() const { return Length == 0; }
_ZN7llvm_ks8ArrayRefINS_7SMFixItEEC2IvEERKNS_25SmallVectorTemplateCommonIS1_T_EE:
   73|  43.0k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  43.0k|    }
_ZNK7llvm_ks8ArrayRefINS_7SMRangeEE4sizeEv:
  135|  47.9k|    size_t size() const { return Length; }
_ZNK7llvm_ks8ArrayRefINS_7SMRangeEEixEm:
  185|     44|    const T &operator[](size_t Index) const {
  186|     44|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (186:7): [True: 44, False: 0]
  |  Branch (186:7): [True: 44, Folded]
  |  Branch (186:7): [True: 44, False: 0]
  ------------------
  187|     44|      return Data[Index];
  188|     44|    }
_ZN7llvm_ks8ArrayRefINSt3__14pairIjjEEEC2IvEERKNS_25SmallVectorTemplateCommonIS3_T_EE:
   73|  51.4k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  51.4k|    }
_ZNK7llvm_ks8ArrayRefINSt3__14pairIjjEEE3vecEv:
  193|  52.5k|    std::vector<T> vec() const {
  194|  52.5k|      return std::vector<T>(Data, Data+Length);
  195|  52.5k|    }
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE5beginEv:
  123|  52.5k|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_7SMFixItEE3endEv:
  124|  52.5k|    iterator end() const { return Data + Length; }
_ZN7llvm_ks12makeArrayRefIcEENS_8ArrayRefIT_EEPKS2_m:
  313|  43.0k|  ArrayRef<T> makeArrayRef(const T *data, size_t length) {
  314|  43.0k|    return ArrayRef<T>(data, length);
  315|  43.0k|  }
_ZN7llvm_ks8ArrayRefIcEC2EPKcm:
   62|  43.0k|      : Data(data), Length(length) {}
_ZNK7llvm_ks8ArrayRefIcE4sizeEv:
  135|  13.4k|    size_t size() const { return Length; }
_ZN7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEEC2ILm7EEERAT__KS1_:
   84|  13.4k|      : Data(Arr), Length(N) {}
_ZN7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEEC2ILm17EEERAT__KS1_:
   84|  13.4k|      : Data(Arr), Length(N) {}
_ZN7llvm_ks8ArrayRefINS_7MCFixupEEC2Ev:
   51|  9.31k|    /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks15MutableArrayRefIcEC2Ev:
  227|  9.31k|    /*implicit*/ MutableArrayRef() : ArrayRef<T>() {}
_ZN7llvm_ks8ArrayRefIcEC2Ev:
   51|  9.31k|    /*implicit*/ ArrayRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks8ArrayRefINS_7MCFixupEEC2IvEERKNS_25SmallVectorTemplateCommonIS1_T_EE:
   73|  9.31k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  9.31k|    }
_ZN7llvm_ks15MutableArrayRefIcEC2ERNS_15SmallVectorImplIcEE:
  244|  9.31k|    : ArrayRef<T>(Vec) {}
_ZN7llvm_ks8ArrayRefIcEC2IvEERKNS_25SmallVectorTemplateCommonIcT_EE:
   73|  9.31k|      : Data(Vec.data()), Length(Vec.size()) {
   74|  9.31k|    }
_ZNK7llvm_ks8ArrayRefINS_7MCFixupEE5beginEv:
  123|  9.31k|    iterator begin() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_7MCFixupEE3endEv:
  124|  9.31k|    iterator end() const { return Data + Length; }
_ZNK7llvm_ks15MutableArrayRefIcE4dataEv:
  255|  13.4k|    T *data() const { return const_cast<T*>(ArrayRef<T>::data()); }
_ZNK7llvm_ks8ArrayRefIcE4dataEv:
  132|  13.4k|    const T *data() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_8AsmTokenEE4sizeEv:
  135|  23.6k|    size_t size() const { return Length; }
_ZNK7llvm_ks15MutableArrayRefINS_8AsmTokenEEixEm:
  296|  7.88k|    T &operator[](size_t Index) const {
  297|  7.88k|      assert(Index < this->size() && "Invalid index!");
  ------------------
  |  Branch (297:7): [True: 7.88k, False: 0]
  |  Branch (297:7): [True: 7.88k, Folded]
  |  Branch (297:7): [True: 7.88k, False: 0]
  ------------------
  298|  7.88k|      return data()[Index];
  299|  7.88k|    }
_ZNK7llvm_ks15MutableArrayRefINS_8AsmTokenEE4dataEv:
  255|  7.88k|    T *data() const { return const_cast<T*>(ArrayRef<T>::data()); }
_ZNK7llvm_ks8ArrayRefINS_8AsmTokenEE4dataEv:
  132|  7.88k|    const T *data() const { return Data; }
_ZNK7llvm_ks8ArrayRefINS_18SubtargetFeatureKVEE5emptyEv:
  130|  26.9k|    bool empty() const { return Length == 0; }

_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEED2Ev:
  573|  13.4k|  ~DenseMap() {
  574|  13.4k|    this->destroyAll();
  575|  13.4k|    operator delete(Buckets);
  576|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_E10destroyAllEv:
  264|  13.4k|  void destroyAll() {
  265|  13.4k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 13.4k, False: 0]
  ------------------
  266|  13.4k|      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|  13.4k|  unsigned getNumBuckets() const {
  382|  13.4k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  13.4k|  }
_ZNK7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE13getNumBucketsEv:
  674|  13.4k|  unsigned getNumBuckets() const {
  675|  13.4k|    return NumBuckets;
  676|  13.4k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEES3_jS5_S8_E13getNumBucketsEv:
  381|     76|  unsigned getNumBuckets() const {
  382|     76|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|     76|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEE13getNumBucketsEv:
  674|     76|  unsigned getNumBuckets() const {
  675|     76|    return NumBuckets;
  676|     76|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEE15allocateBucketsEj:
  678|     76|  bool allocateBuckets(unsigned Num) {
  679|     76|    NumBuckets = Num;
  680|     76|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 76, False: 0]
  ------------------
  681|     76|      Buckets = nullptr;
  682|     76|      return false;
  683|     76|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|     76|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getNumBucketsEv:
  381|  19.7k|  unsigned getNumBuckets() const {
  382|  19.7k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  19.7k|  }
_ZNK7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13getNumBucketsEv:
  674|  19.7k|  unsigned getNumBuckets() const {
  675|  19.7k|    return NumBuckets;
  676|  19.7k|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEE4initEj:
  612|     76|  void init(unsigned InitBuckets) {
  613|     76|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 76]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|     76|    } else {
  616|     76|      NumEntries = 0;
  617|     76|      NumTombstones = 0;
  618|     76|    }
  619|     76|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEES3_jS5_S8_E10destroyAllEv:
  264|     76|  void destroyAll() {
  265|     76|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 76, False: 0]
  ------------------
  266|     76|      return;
  267|       |
  268|      0|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|      0|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 0, False: 0]
  ------------------
  270|      0|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 0, False: 0]
  ------------------
  271|      0|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 0, False: 0]
  ------------------
  272|      0|        P->getSecond().~ValueT();
  273|      0|      P->getFirst().~KeyT();
  274|      0|    }
  275|      0|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E13getNumBucketsEv:
  381|  13.4k|  unsigned getNumBuckets() const {
  382|  13.4k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  13.4k|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE13getNumBucketsEv:
  674|  13.4k|  unsigned getNumBuckets() const {
  675|  13.4k|    return NumBuckets;
  676|  13.4k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E13getNumEntriesEv:
  351|  13.4k|  unsigned getNumEntries() const {
  352|  13.4k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  13.4k|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE13getNumEntriesEv:
  656|  13.4k|  unsigned getNumEntries() const {
  657|  13.4k|    return NumEntries;
  658|  13.4k|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE15allocateBucketsEj:
  678|  13.4k|  bool allocateBuckets(unsigned Num) {
  679|  13.4k|    NumBuckets = Num;
  680|  13.4k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 13.4k, False: 0]
  ------------------
  681|  13.4k|      Buckets = nullptr;
  682|  13.4k|      return false;
  683|  13.4k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  13.4k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E16getNumTombstonesEv:
  363|  13.4k|  unsigned getNumTombstones() const {
  364|  13.4k|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|  13.4k|  }
_ZNK7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE16getNumTombstonesEv:
  663|  13.4k|  unsigned getNumTombstones() const {
  664|  13.4k|    return NumTombstones;
  665|  13.4k|  }
_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE15allocateBucketsEj:
  678|  13.4k|  bool allocateBuckets(unsigned Num) {
  679|  13.4k|    NumBuckets = Num;
  680|  13.4k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 13.4k, False: 0]
  ------------------
  681|  13.4k|      Buckets = nullptr;
  682|  13.4k|      return false;
  683|  13.4k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  13.4k|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEED2Ev:
  573|  13.4k|  ~DenseMap() {
  574|  13.4k|    this->destroyAll();
  575|  13.4k|    operator delete(Buckets);
  576|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E10destroyAllEv:
  264|  13.4k|  void destroyAll() {
  265|  13.4k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 13.4k, False: 0]
  ------------------
  266|  13.4k|      return;
  267|       |
  268|      0|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|      0|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 0, False: 0]
  ------------------
  270|      0|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 0, False: 0]
  ------------------
  271|      0|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 0, False: 0]
  ------------------
  272|      0|        P->getSecond().~ValueT();
  273|      0|      P->getFirst().~KeyT();
  274|      0|    }
  275|      0|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEEC2Ej:
  553|     76|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|     76|    init(NumInitBuckets);
  555|     76|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEES3_jS5_S8_EC2Ev:
  262|     76|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPNS_9MCSectionEjNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_jEEED2Ev:
  573|     76|  ~DenseMap() {
  574|     76|    this->destroyAll();
  575|     76|    operator delete(Buckets);
  576|     76|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEEC2Ej:
  553|  13.4k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  13.4k|    init(NumInitBuckets);
  555|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EC2Ev:
  262|  13.4k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4initEj:
  612|  13.4k|  void init(unsigned InitBuckets) {
  613|  13.4k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 13.4k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  13.4k|    } else {
  616|  13.4k|      NumEntries = 0;
  617|  13.4k|      NumTombstones = 0;
  618|  13.4k|    }
  619|  13.4k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE15allocateBucketsEj:
  678|  26.9k|  bool allocateBuckets(unsigned Num) {
  679|  26.9k|    NumBuckets = Num;
  680|  26.9k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 13.4k, False: 13.4k]
  ------------------
  681|  13.4k|      Buckets = nullptr;
  682|  13.4k|      return false;
  683|  13.4k|    }
  684|       |
  685|  13.4k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  13.4k|    return true;
  687|  26.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E9initEmptyEv:
  277|  13.4k|  void initEmpty() {
  278|  13.4k|    setNumEntries(0);
  279|  13.4k|    setNumTombstones(0);
  280|       |
  281|  13.4k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 13.4k, False: 0]
  |  Branch (281:5): [True: 13.4k, Folded]
  |  Branch (281:5): [True: 13.4k, False: 0]
  ------------------
  282|  13.4k|           "# initial buckets must be a power of two!");
  283|  13.4k|    const KeyT EmptyKey = getEmptyKey();
  284|   874k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 861k, False: 13.4k]
  ------------------
  285|   861k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13setNumEntriesEj:
  354|  40.7k|  void setNumEntries(unsigned Num) {
  355|  40.7k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  40.7k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13setNumEntriesEj:
  659|  40.7k|  void setNumEntries(unsigned Num) {
  660|  40.7k|    NumEntries = Num;
  661|  40.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16setNumTombstonesEj:
  366|  26.9k|  void setNumTombstones(unsigned Num) {
  367|  26.9k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  26.9k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16setNumTombstonesEj:
  666|  26.9k|  void setNumTombstones(unsigned Num) {
  667|  26.9k|    NumTombstones = Num;
  668|  26.9k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumBucketsEv:
  381|   162k|  unsigned getNumBuckets() const {
  382|   162k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|   162k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumBucketsEv:
  674|   162k|  unsigned getNumBuckets() const {
  675|   162k|    return NumBuckets;
  676|   162k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E11getEmptyKeyEv:
  343|  68.0k|  static const KeyT getEmptyKey() {
  344|  68.0k|    return KeyInfoT::getEmptyKey();
  345|  68.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  378|  80.7k|  BucketT *getBuckets() {
  379|  80.7k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  80.7k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE10getBucketsEv:
  670|   108k|  BucketT *getBuckets() const {
  671|   108k|    return Buckets;
  672|   108k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getBucketsEndEv:
  384|  40.3k|  BucketT *getBucketsEnd() {
  385|  40.3k|    return getBuckets() + getNumBuckets();
  386|  40.3k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEPNS_11MCSymbolELFEE8getFirstEv:
   40|  3.50M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEEC2Ej:
  553|  13.4k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  13.4k|    init(NumInitBuckets);
  555|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EC2Ev:
  262|  13.4k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4initEj:
  612|  13.4k|  void init(unsigned InitBuckets) {
  613|  13.4k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 13.4k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  13.4k|    } else {
  616|  13.4k|      NumEntries = 0;
  617|  13.4k|      NumTombstones = 0;
  618|  13.4k|    }
  619|  13.4k|  }
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE15allocateBucketsEj:
  678|  13.4k|  bool allocateBuckets(unsigned Num) {
  679|  13.4k|    NumBuckets = Num;
  680|  13.4k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 13.4k, False: 0]
  ------------------
  681|  13.4k|      Buckets = nullptr;
  682|  13.4k|      return false;
  683|  13.4k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  13.4k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumBucketsEv:
  381|  13.4k|  unsigned getNumBuckets() const {
  382|  13.4k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  13.4k|  }
_ZNK7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumBucketsEv:
  674|  13.4k|  unsigned getNumBuckets() const {
  675|  13.4k|    return NumBuckets;
  676|  13.4k|  }
_ZN7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEEC2Ej:
  553|  13.4k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  13.4k|    init(NumInitBuckets);
  555|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_EC2Ev:
  262|  13.4k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE4initEj:
  612|  13.4k|  void init(unsigned InitBuckets) {
  613|  13.4k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 13.4k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  13.4k|    } else {
  616|  13.4k|      NumEntries = 0;
  617|  13.4k|      NumTombstones = 0;
  618|  13.4k|    }
  619|  13.4k|  }
_ZN7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE15allocateBucketsEj:
  678|  13.4k|  bool allocateBuckets(unsigned Num) {
  679|  13.4k|    NumBuckets = Num;
  680|  13.4k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 13.4k, False: 0]
  ------------------
  681|  13.4k|      Buckets = nullptr;
  682|  13.4k|      return false;
  683|  13.4k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  13.4k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E13getNumBucketsEv:
  381|  13.4k|  unsigned getNumBuckets() const {
  382|  13.4k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  13.4k|  }
_ZNK7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE13getNumBucketsEv:
  674|  13.4k|  unsigned getNumBuckets() const {
  675|  13.4k|    return NumBuckets;
  676|  13.4k|  }
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEEC2Ej:
  553|  13.4k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  13.4k|    init(NumInitBuckets);
  555|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_EC2Ev:
  262|  13.4k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS2_EENS3_12DenseSetPairIS2_EEE4initEj:
  612|  13.4k|  void init(unsigned InitBuckets) {
  613|  13.4k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 13.4k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  13.4k|    } else {
  616|  13.4k|      NumEntries = 0;
  617|  13.4k|      NumTombstones = 0;
  618|  13.4k|    }
  619|  13.4k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEED2Ev:
  573|  13.4k|  ~DenseMap() {
  574|  13.4k|    this->destroyAll();
  575|  13.4k|    operator delete(Buckets);
  576|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10destroyAllEv:
  264|  13.4k|  void destroyAll() {
  265|  13.4k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 0, False: 13.4k]
  ------------------
  266|      0|      return;
  267|       |
  268|  13.4k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   874k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 861k, False: 13.4k]
  ------------------
  270|   861k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 0, False: 861k]
  ------------------
  271|      0|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 0, False: 0]
  ------------------
  272|      0|        P->getSecond().~ValueT();
  273|   861k|      P->getFirst().~KeyT();
  274|   861k|    }
  275|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15getTombstoneKeyEv:
  346|  40.7k|  static const KeyT getTombstoneKey() {
  347|  40.7k|    return KeyInfoT::getTombstoneKey();
  348|  40.7k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEPNS_11MCSymbolELFEE9getSecondEv:
   42|  27.6k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEED2Ev:
  573|  13.4k|  ~DenseMap() {
  574|  13.4k|    this->destroyAll();
  575|  13.4k|    operator delete(Buckets);
  576|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINSt3__14pairIjjEEPNS_8MCSymbolENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10destroyAllEv:
  264|  13.4k|  void destroyAll() {
  265|  13.4k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 13.4k, False: 0]
  ------------------
  266|  13.4k|      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|  13.4k|  ~DenseMap() {
  574|  13.4k|    this->destroyAll();
  575|  13.4k|    operator delete(Buckets);
  576|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E10destroyAllEv:
  264|  13.4k|  void destroyAll() {
  265|  13.4k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 13.4k, False: 0]
  ------------------
  266|  13.4k|      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|  13.4k|  void clear() {
   92|  13.4k|    incrementEpoch();
   93|  13.4k|    if (getNumEntries() == 0 && getNumTombstones() == 0) return;
  ------------------
  |  Branch (93:9): [True: 0, False: 13.4k]
  |  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|  13.4k|    if (getNumEntries() * 4 < getNumBuckets() && getNumBuckets() > 64) {
  ------------------
  |  Branch (97:9): [True: 13.4k, False: 0]
  |  Branch (97:50): [True: 0, False: 13.4k]
  ------------------
   98|      0|      shrink_and_clear();
   99|      0|      return;
  100|      0|    }
  101|       |
  102|  13.4k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  103|  13.4k|    unsigned NumEntries = getNumEntries();
  104|   874k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (104:59): [True: 861k, False: 13.4k]
  ------------------
  105|   861k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey)) {
  ------------------
  |  Branch (105:11): [True: 13.8k, False: 847k]
  ------------------
  106|  13.8k|        if (!KeyInfoT::isEqual(P->getFirst(), TombstoneKey)) {
  ------------------
  |  Branch (106:13): [True: 13.8k, False: 0]
  ------------------
  107|  13.8k|          P->getSecond().~ValueT();
  108|  13.8k|          --NumEntries;
  109|  13.8k|        }
  110|  13.8k|        P->getFirst() = EmptyKey;
  111|  13.8k|      }
  112|   861k|    }
  113|  13.4k|    assert(NumEntries == 0 && "Node count imbalance!");
  ------------------
  |  Branch (113:5): [True: 13.4k, False: 0]
  |  Branch (113:5): [True: 13.4k, Folded]
  |  Branch (113:5): [True: 13.4k, False: 0]
  ------------------
  114|  13.4k|    setNumEntries(0);
  115|  13.4k|    setNumTombstones(0);
  116|  13.4k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumEntriesEv:
  351|  68.0k|  unsigned getNumEntries() const {
  352|  68.0k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  68.0k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumEntriesEv:
  656|  68.0k|  unsigned getNumEntries() const {
  657|  68.0k|    return NumEntries;
  658|  68.0k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16getNumTombstonesEv:
  363|    362|  unsigned getNumTombstones() const {
  364|    362|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    362|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16getNumTombstonesEv:
  663|    362|  unsigned getNumTombstones() const {
  664|    362|    return NumTombstones;
  665|    362|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E5clearEv:
   91|  13.4k|  void clear() {
   92|  13.4k|    incrementEpoch();
   93|  13.4k|    if (getNumEntries() == 0 && getNumTombstones() == 0) return;
  ------------------
  |  Branch (93:9): [True: 13.4k, False: 0]
  |  Branch (93:33): [True: 13.4k, 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|  14.2k|  unsigned getNumEntries() const {
  352|  14.2k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  14.2k|  }
_ZNK7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE13getNumEntriesEv:
  656|  14.2k|  unsigned getNumEntries() const {
  657|  14.2k|    return NumEntries;
  658|  14.2k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E16getNumTombstonesEv:
  363|  13.4k|  unsigned getNumTombstones() const {
  364|  13.4k|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|  13.4k|  }
_ZNK7llvm_ks8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS2_EEE16getNumTombstonesEv:
  663|  13.4k|  unsigned getNumTombstones() const {
  664|  13.4k|    return NumTombstones;
  665|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPNS_9MCSectionENS_6detail13DenseSetEmptyENS_12DenseMapInfoIS3_EENS4_12DenseSetPairIS3_EEEES3_S5_S7_S9_E5clearEv:
   91|  13.4k|  void clear() {
   92|  13.4k|    incrementEpoch();
   93|  13.4k|    if (getNumEntries() == 0 && getNumTombstones() == 0) return;
  ------------------
  |  Branch (93:9): [True: 13.4k, False: 0]
  |  Branch (93:33): [True: 13.4k, 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|  13.8k|  ValueT &operator[](KeyT &&Key) {
  246|  13.8k|    return FindAndConstruct(std::move(Key)).second;
  247|  13.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16FindAndConstructEOS4_:
  237|  13.8k|  value_type& FindAndConstruct(KeyT &&Key) {
  238|  13.8k|    BucketT *TheBucket;
  239|  13.8k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 0, False: 13.8k]
  ------------------
  240|      0|      return *TheBucket;
  241|       |
  242|  13.8k|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|  13.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPSB_:
  519|  27.2k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  27.2k|    const BucketT *ConstFoundBucket;
  521|  27.2k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  27.2k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  27.2k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  27.2k|    return Result;
  525|  27.2k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPKSB_:
  469|  27.2k|                       const BucketT *&FoundBucket) const {
  470|  27.2k|    const BucketT *BucketsPtr = getBuckets();
  471|  27.2k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  27.2k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 13.4k, False: 13.8k]
  ------------------
  474|  13.4k|      FoundBucket = nullptr;
  475|  13.4k|      return false;
  476|  13.4k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  13.8k|    const BucketT *FoundTombstone = nullptr;
  480|  13.8k|    const KeyT EmptyKey = getEmptyKey();
  481|  13.8k|    const KeyT TombstoneKey = getTombstoneKey();
  482|  13.8k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 13.8k, False: 0]
  |  Branch (482:5): [True: 13.8k, False: 0]
  |  Branch (482:5): [True: 13.8k, Folded]
  |  Branch (482:5): [True: 13.8k, False: 0]
  ------------------
  483|  13.8k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  13.8k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  13.8k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  13.8k|    unsigned ProbeAmt = 1;
  488|  13.8k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 13.8k, Folded]
  ------------------
  489|  13.8k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  13.8k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  171|  13.8k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 0, False: 13.8k]
  |  |  ------------------
  ------------------
  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|  13.8k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  171|  13.8k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 13.8k, False: 12]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  13.8k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 13.8k]
  ------------------
  502|  13.8k|        return false;
  503|  13.8k|      }
  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|     12|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 12]
  ------------------
  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|     12|      BucketNo += ProbeAmt++;
  514|     12|      BucketNo &= (NumBuckets-1);
  515|     12|    }
  516|  13.8k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  375|  27.2k|  const BucketT *getBuckets() const {
  376|  27.2k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  27.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E12getHashValueERKS4_:
  336|  13.8k|  static unsigned getHashValue(const KeyT &Val) {
  337|  13.8k|    return KeyInfoT::getHashValue(Val);
  338|  13.8k|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEPNS_11MCSymbolELFEE8getFirstEv:
   41|  27.6k|  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|  13.8k|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|  13.8k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|  13.8k|    TheBucket->getFirst() = std::move(Key);
  422|  13.8k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|  13.8k|    return TheBucket;
  424|  13.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E20InsertIntoBucketImplERKS4_PSB_:
  426|  13.8k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  13.8k|    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|  13.8k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  13.8k|    unsigned NumBuckets = getNumBuckets();
  440|  13.8k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  172|  13.8k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 13.4k, False: 362]
  |  |  ------------------
  ------------------
  441|  13.4k|      this->grow(NumBuckets * 2);
  442|  13.4k|      LookupBucketFor(Key, TheBucket);
  443|  13.4k|      NumBuckets = getNumBuckets();
  444|  13.4k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  172|    362|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 362]
  |  |  ------------------
  ------------------
  445|    362|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  13.8k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 13.8k, 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|  13.8k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  13.8k|    const KeyT EmptyKey = getEmptyKey();
  457|  13.8k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 13.8k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  13.8k|    return TheBucket;
  461|  13.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E4growEj:
  391|  13.4k|  void grow(unsigned AtLeast) {
  392|  13.4k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  13.4k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEPNS_11MCSymbolELFENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4growEj:
  621|  13.4k|  void grow(unsigned AtLeast) {
  622|  13.4k|    unsigned OldNumBuckets = NumBuckets;
  623|  13.4k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  13.4k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  13.4k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 13.4k, False: 0]
  ------------------
  627|  13.4k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 13.4k, False: 0]
  ------------------
  628|  13.4k|      this->BaseT::initEmpty();
  629|  13.4k|      return;
  630|  13.4k|    }
  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|  13.8k|  void incrementNumEntries() {
  358|  13.8k|    setNumEntries(getNumEntries() + 1);
  359|  13.8k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIjPNS_7MCLabelENS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjS3_EEEEjS3_S5_S8_E4sizeEv:
   82|    758|  unsigned size() const { return getNumEntries(); }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEEC2Ej:
  553|  6.88k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  6.88k|    init(NumInitBuckets);
  555|  6.88k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EC2Ev:
  262|  6.88k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4initEj:
  612|  6.88k|  void init(unsigned InitBuckets) {
  613|  6.88k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 6.88k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  6.88k|    } else {
  616|  6.88k|      NumEntries = 0;
  617|  6.88k|      NumTombstones = 0;
  618|  6.88k|    }
  619|  6.88k|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE15allocateBucketsEj:
  678|  13.7k|  bool allocateBuckets(unsigned Num) {
  679|  13.7k|    NumBuckets = Num;
  680|  13.7k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 6.88k, False: 6.88k]
  ------------------
  681|  6.88k|      Buckets = nullptr;
  682|  6.88k|      return false;
  683|  6.88k|    }
  684|       |
  685|  6.88k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  6.88k|    return true;
  687|  13.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E9initEmptyEv:
  277|  6.88k|  void initEmpty() {
  278|  6.88k|    setNumEntries(0);
  279|  6.88k|    setNumTombstones(0);
  280|       |
  281|  6.88k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 6.88k, False: 0]
  |  Branch (281:5): [True: 6.88k, Folded]
  |  Branch (281:5): [True: 6.88k, False: 0]
  ------------------
  282|  6.88k|           "# initial buckets must be a power of two!");
  283|  6.88k|    const KeyT EmptyKey = getEmptyKey();
  284|   447k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 440k, False: 6.88k]
  ------------------
  285|   440k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  6.88k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13setNumEntriesEj:
  354|  14.0k|  void setNumEntries(unsigned Num) {
  355|  14.0k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  14.0k|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13setNumEntriesEj:
  659|  14.0k|  void setNumEntries(unsigned Num) {
  660|  14.0k|    NumEntries = Num;
  661|  14.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16setNumTombstonesEj:
  366|  6.88k|  void setNumTombstones(unsigned Num) {
  367|  6.88k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  6.88k|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16setNumTombstonesEj:
  666|  6.88k|  void setNumTombstones(unsigned Num) {
  667|  6.88k|    NumTombstones = Num;
  668|  6.88k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumBucketsEv:
  381|   288k|  unsigned getNumBuckets() const {
  382|   288k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|   288k|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumBucketsEv:
  674|   288k|  unsigned getNumBuckets() const {
  675|   288k|    return NumBuckets;
  676|   288k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E11getEmptyKeyEv:
  343|   254k|  static const KeyT getEmptyKey() {
  344|   254k|    return KeyInfoT::getEmptyKey();
  345|   254k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  378|  27.5k|  BucketT *getBuckets() {
  379|  27.5k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  27.5k|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE10getBucketsEv:
  670|   267k|  BucketT *getBuckets() const {
  671|   267k|    return Buckets;
  672|   267k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getBucketsEndEv:
  384|  13.7k|  BucketT *getBucketsEnd() {
  385|  13.7k|    return getBuckets() + getNumBuckets();
  386|  13.7k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE8getFirstEv:
   40|  1.34M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEED2Ev:
  573|  6.88k|  ~DenseMap() {
  574|  6.88k|    this->destroyAll();
  575|  6.88k|    operator delete(Buckets);
  576|  6.88k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10destroyAllEv:
  264|  6.88k|  void destroyAll() {
  265|  6.88k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 0, False: 6.88k]
  ------------------
  266|      0|      return;
  267|       |
  268|  6.88k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   447k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 440k, False: 6.88k]
  ------------------
  270|   440k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 7.14k, False: 433k]
  ------------------
  271|  7.14k|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 7.14k, False: 0]
  ------------------
  272|  7.14k|        P->getSecond().~ValueT();
  273|   440k|      P->getFirst().~KeyT();
  274|   440k|    }
  275|  6.88k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15getTombstoneKeyEv:
  346|   240k|  static const KeyT getTombstoneKey() {
  347|   240k|    return KeyInfoT::getTombstoneKey();
  348|   240k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE9getSecondEv:
   42|  14.2k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E6lookupERKS4_:
  159|   144k|  ValueT lookup(const KeyT &Val) const {
  160|   144k|    const BucketT *TheBucket;
  161|   144k|    if (LookupBucketFor(Val, TheBucket))
  ------------------
  |  Branch (161:9): [True: 144k, False: 0]
  ------------------
  162|   144k|      return TheBucket->getSecond();
  163|      0|    return ValueT();
  164|   144k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPKSB_:
  469|   240k|                       const BucketT *&FoundBucket) const {
  470|   240k|    const BucketT *BucketsPtr = getBuckets();
  471|   240k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|   240k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 6.88k, False: 233k]
  ------------------
  474|  6.88k|      FoundBucket = nullptr;
  475|  6.88k|      return false;
  476|  6.88k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|   233k|    const BucketT *FoundTombstone = nullptr;
  480|   233k|    const KeyT EmptyKey = getEmptyKey();
  481|   233k|    const KeyT TombstoneKey = getTombstoneKey();
  482|   233k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 233k, False: 0]
  |  Branch (482:5): [True: 233k, False: 0]
  |  Branch (482:5): [True: 233k, Folded]
  |  Branch (482:5): [True: 233k, False: 0]
  ------------------
  483|   233k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|   233k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|   233k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|   233k|    unsigned ProbeAmt = 1;
  488|   233k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 233k, Folded]
  ------------------
  489|   233k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|   233k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  171|   233k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 226k, False: 7.19k]
  |  |  ------------------
  ------------------
  492|   226k|        FoundBucket = ThisBucket;
  493|   226k|        return true;
  494|   226k|      }
  495|       |
  496|       |      // If we found an empty bucket, the key doesn't exist in the set.
  497|       |      // Insert it and return the default value.
  498|  7.19k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  171|  7.19k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 7.14k, False: 50]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  7.14k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 7.14k]
  ------------------
  502|  7.14k|        return false;
  503|  7.14k|      }
  504|       |
  505|       |      // If this is a tombstone, remember it.  If Val ends up not in the map, we
  506|       |      // prefer to return it than something that would require more probing.
  507|     50|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 50]
  ------------------
  508|      0|          !FoundTombstone)
  ------------------
  |  Branch (508:11): [True: 0, False: 0]
  ------------------
  509|      0|        FoundTombstone = ThisBucket;  // Remember the first tombstone found.
  510|       |
  511|       |      // Otherwise, it's a hash collision or a tombstone, continue quadratic
  512|       |      // probing.
  513|     50|      BucketNo += ProbeAmt++;
  514|     50|      BucketNo &= (NumBuckets-1);
  515|     50|    }
  516|   233k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E10getBucketsEv:
  375|   240k|  const BucketT *getBuckets() const {
  376|   240k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|   240k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E12getHashValueERKS4_:
  336|   233k|  static unsigned getHashValue(const KeyT &Val) {
  337|   233k|    return KeyInfoT::getHashValue(Val);
  338|   233k|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE8getFirstEv:
   41|   240k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_9MCSectionEPNS_10MCFragmentEE9getSecondEv:
   43|   144k|  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|  21.6k|  ValueT &operator[](KeyT &&Key) {
  246|  21.6k|    return FindAndConstruct(std::move(Key)).second;
  247|  21.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16FindAndConstructEOS4_:
  237|  21.6k|  value_type& FindAndConstruct(KeyT &&Key) {
  238|  21.6k|    BucketT *TheBucket;
  239|  21.6k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 21.6k, False: 0]
  ------------------
  240|  21.6k|      return *TheBucket;
  241|       |
  242|      0|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|  21.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E15LookupBucketForIS4_EEbRKT_RPSB_:
  519|  95.2k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  95.2k|    const BucketT *ConstFoundBucket;
  521|  95.2k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  95.2k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  95.2k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  95.2k|    return Result;
  525|  95.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E20InsertIntoBucketImplERKS4_PSB_:
  426|  7.14k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  7.14k|    incrementEpoch();
  428|       |
  429|       |    // If the load of the hash table is more than 3/4, or if fewer than 1/8 of
  430|       |    // the buckets are empty (meaning that many are filled with tombstones),
  431|       |    // grow the table.
  432|       |    //
  433|       |    // The later case is tricky.  For example, if we had one empty bucket with
  434|       |    // tons of tombstones, failing lookups (e.g. for insertion) would have to
  435|       |    // probe almost the entire table until it found the empty bucket.  If the
  436|       |    // table completely filled with tombstones, no lookup would ever succeed,
  437|       |    // causing infinite loops in lookup.
  438|  7.14k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  7.14k|    unsigned NumBuckets = getNumBuckets();
  440|  7.14k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  172|  7.14k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 6.88k, False: 263]
  |  |  ------------------
  ------------------
  441|  6.88k|      this->grow(NumBuckets * 2);
  442|  6.88k|      LookupBucketFor(Key, TheBucket);
  443|  6.88k|      NumBuckets = getNumBuckets();
  444|  6.88k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  172|    263|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 263]
  |  |  ------------------
  ------------------
  445|    263|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  7.14k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 7.14k, False: 0]
  ------------------
  450|       |
  451|       |    // Only update the state after we've grown our bucket space appropriately
  452|       |    // so that when growing buckets we have self-consistent entry count.
  453|  7.14k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  7.14k|    const KeyT EmptyKey = getEmptyKey();
  457|  7.14k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 7.14k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  7.14k|    return TheBucket;
  461|  7.14k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E13getNumEntriesEv:
  351|  14.2k|  unsigned getNumEntries() const {
  352|  14.2k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  14.2k|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE13getNumEntriesEv:
  656|  14.2k|  unsigned getNumEntries() const {
  657|  14.2k|    return NumEntries;
  658|  14.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E4growEj:
  391|  6.88k|  void grow(unsigned AtLeast) {
  392|  6.88k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  6.88k|  }
_ZN7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE4growEj:
  621|  6.88k|  void grow(unsigned AtLeast) {
  622|  6.88k|    unsigned OldNumBuckets = NumBuckets;
  623|  6.88k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  6.88k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  6.88k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 6.88k, False: 0]
  ------------------
  627|  6.88k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 6.88k, False: 0]
  ------------------
  628|  6.88k|      this->BaseT::initEmpty();
  629|  6.88k|      return;
  630|  6.88k|    }
  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|    263|  unsigned getNumTombstones() const {
  364|    263|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    263|  }
_ZNK7llvm_ks8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S5_EEE16getNumTombstonesEv:
  663|    263|  unsigned getNumTombstones() const {
  664|    263|    return NumTombstones;
  665|    263|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E19incrementNumEntriesEv:
  357|  7.14k|  void incrementNumEntries() {
  358|  7.14k|    setNumEntries(getNumEntries() + 1);
  359|  7.14k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_EixERKS4_:
  233|  66.6k|  ValueT &operator[](const KeyT &Key) {
  234|  66.6k|    return FindAndConstruct(Key).second;
  235|  66.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16FindAndConstructERKS4_:
  225|  66.6k|  value_type& FindAndConstruct(const KeyT &Key) {
  226|  66.6k|    BucketT *TheBucket;
  227|  66.6k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (227:9): [True: 59.5k, False: 7.14k]
  ------------------
  228|  59.5k|      return *TheBucket;
  229|       |
  230|  7.14k|    return *InsertIntoBucket(Key, ValueT(), TheBucket);
  231|  66.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_9MCSectionEPNS_10MCFragmentENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S6_EEEES4_S6_S8_SB_E16InsertIntoBucketERKS4_OS6_PSB_:
  410|  7.14k|                            BucketT *TheBucket) {
  411|  7.14k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  412|       |
  413|  7.14k|    TheBucket->getFirst() = Key;
  414|  7.14k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  415|  7.14k|    return TheBucket;
  416|  7.14k|  }
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEC2Ej:
  553|  19.7k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  19.7k|    init(NumInitBuckets);
  555|  19.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EC2Ev:
  262|  19.7k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE4initEj:
  612|  19.7k|  void init(unsigned InitBuckets) {
  613|  19.7k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 19.7k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  19.7k|    } else {
  616|  19.7k|      NumEntries = 0;
  617|  19.7k|      NumTombstones = 0;
  618|  19.7k|    }
  619|  19.7k|  }
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE15allocateBucketsEj:
  678|  19.7k|  bool allocateBuckets(unsigned Num) {
  679|  19.7k|    NumBuckets = Num;
  680|  19.7k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 19.7k, False: 0]
  ------------------
  681|  19.7k|      Buckets = nullptr;
  682|  19.7k|      return false;
  683|  19.7k|    }
  684|       |
  685|      0|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|      0|    return true;
  687|  19.7k|  }
_ZN7llvm_ks8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEED2Ev:
  573|  19.7k|  ~DenseMap() {
  574|  19.7k|    this->destroyAll();
  575|  19.7k|    operator delete(Buckets);
  576|  19.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_8MCSymbolEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10destroyAllEv:
  264|  19.7k|  void destroyAll() {
  265|  19.7k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 19.7k, False: 0]
  ------------------
  266|  19.7k|      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|  13.4k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  13.4k|    init(NumInitBuckets);
  555|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEEEjiS3_S6_EC2Ev:
  262|  13.4k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIjiNS_12DenseMapInfoIjEENS_6detail12DenseMapPairIjiEEE4initEj:
  612|  13.4k|  void init(unsigned InitBuckets) {
  613|  13.4k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 13.4k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  13.4k|    } else {
  616|  13.4k|      NumEntries = 0;
  617|  13.4k|      NumTombstones = 0;
  618|  13.4k|    }
  619|  13.4k|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEEC2Ej:
  553|  13.4k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  13.4k|    init(NumInitBuckets);
  555|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_EC2Ev:
  262|  13.4k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE4initEj:
  612|  13.4k|  void init(unsigned InitBuckets) {
  613|  13.4k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 13.4k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  13.4k|    } else {
  616|  13.4k|      NumEntries = 0;
  617|  13.4k|      NumTombstones = 0;
  618|  13.4k|    }
  619|  13.4k|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE15allocateBucketsEj:
  678|  13.5k|  bool allocateBuckets(unsigned Num) {
  679|  13.5k|    NumBuckets = Num;
  680|  13.5k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 13.4k, False: 73]
  ------------------
  681|  13.4k|      Buckets = nullptr;
  682|  13.4k|      return false;
  683|  13.4k|    }
  684|       |
  685|     73|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|     73|    return true;
  687|  13.5k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E9initEmptyEv:
  277|     73|  void initEmpty() {
  278|     73|    setNumEntries(0);
  279|     73|    setNumTombstones(0);
  280|       |
  281|     73|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 73, False: 0]
  |  Branch (281:5): [True: 73, Folded]
  |  Branch (281:5): [True: 73, False: 0]
  ------------------
  282|     73|           "# initial buckets must be a power of two!");
  283|     73|    const KeyT EmptyKey = getEmptyKey();
  284|  4.74k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 4.67k, False: 73]
  ------------------
  285|  4.67k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|     73|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13setNumEntriesEj:
  354|    399|  void setNumEntries(unsigned Num) {
  355|    399|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|    399|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE13setNumEntriesEj:
  659|    399|  void setNumEntries(unsigned Num) {
  660|    399|    NumEntries = Num;
  661|    399|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E16setNumTombstonesEj:
  366|     73|  void setNumTombstones(unsigned Num) {
  367|     73|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|     73|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE16setNumTombstonesEj:
  666|     73|  void setNumTombstones(unsigned Num) {
  667|     73|    NumTombstones = Num;
  668|     73|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13getNumBucketsEv:
  381|  15.2k|  unsigned getNumBuckets() const {
  382|  15.2k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  15.2k|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE13getNumBucketsEv:
  674|  15.2k|  unsigned getNumBuckets() const {
  675|  15.2k|    return NumBuckets;
  676|  15.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E11getEmptyKeyEv:
  343|    964|  static const KeyT getEmptyKey() {
  344|    964|    return KeyInfoT::getEmptyKey();
  345|    964|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E10getBucketsEv:
  378|    784|  BucketT *getBuckets() {
  379|    784|    return static_cast<DerivedT *>(this)->getBuckets();
  380|    784|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE10getBucketsEv:
  670|  1.38k|  BucketT *getBuckets() const {
  671|  1.38k|    return Buckets;
  672|  1.38k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13getBucketsEndEv:
  384|    638|  BucketT *getBucketsEnd() {
  385|    638|    return getBuckets() + getNumBuckets();
  386|    638|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_11MCSymbolELFES4_E8getFirstEv:
   40|  14.9k|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEEC2Ej:
  553|  13.4k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  13.4k|    init(NumInitBuckets);
  555|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_EC2Ev:
  262|  13.4k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE4initEj:
  612|  13.4k|  void init(unsigned InitBuckets) {
  613|  13.4k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 13.4k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  13.4k|    } else {
  616|  13.4k|      NumEntries = 0;
  617|  13.4k|      NumTombstones = 0;
  618|  13.4k|    }
  619|  13.4k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE15allocateBucketsEj:
  678|  19.5k|  bool allocateBuckets(unsigned Num) {
  679|  19.5k|    NumBuckets = Num;
  680|  19.5k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 13.4k, False: 6.04k]
  ------------------
  681|  13.4k|      Buckets = nullptr;
  682|  13.4k|      return false;
  683|  13.4k|    }
  684|       |
  685|  6.04k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  6.04k|    return true;
  687|  19.5k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E9initEmptyEv:
  277|  6.04k|  void initEmpty() {
  278|  6.04k|    setNumEntries(0);
  279|  6.04k|    setNumTombstones(0);
  280|       |
  281|  6.04k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 6.04k, False: 0]
  |  Branch (281:5): [True: 6.04k, Folded]
  |  Branch (281:5): [True: 6.04k, False: 0]
  ------------------
  282|  6.04k|           "# initial buckets must be a power of two!");
  283|  6.04k|    const KeyT EmptyKey = getEmptyKey();
  284|   393k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 387k, False: 6.04k]
  ------------------
  285|   387k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  6.04k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13setNumEntriesEj:
  354|  12.3k|  void setNumEntries(unsigned Num) {
  355|  12.3k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  12.3k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE13setNumEntriesEj:
  659|  12.3k|  void setNumEntries(unsigned Num) {
  660|  12.3k|    NumEntries = Num;
  661|  12.3k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E16setNumTombstonesEj:
  366|  6.04k|  void setNumTombstones(unsigned Num) {
  367|  6.04k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  6.04k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE16setNumTombstonesEj:
  666|  6.04k|  void setNumTombstones(unsigned Num) {
  667|  6.04k|    NumTombstones = Num;
  668|  6.04k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13getNumBucketsEv:
  381|  67.6k|  unsigned getNumBuckets() const {
  382|  67.6k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  67.6k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE13getNumBucketsEv:
  674|  67.6k|  unsigned getNumBuckets() const {
  675|  67.6k|    return NumBuckets;
  676|  67.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E11getEmptyKeyEv:
  343|  30.0k|  static const KeyT getEmptyKey() {
  344|  30.0k|    return KeyInfoT::getEmptyKey();
  345|  30.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E10getBucketsEv:
  378|  24.1k|  BucketT *getBuckets() {
  379|  24.1k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  24.1k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE10getBucketsEv:
  670|  41.8k|  BucketT *getBuckets() const {
  671|  41.8k|    return Buckets;
  672|  41.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13getBucketsEndEv:
  384|  12.0k|  BucketT *getBucketsEnd() {
  385|  12.0k|    return getBuckets() + getNumBuckets();
  386|  12.0k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEEE8getFirstEv:
   40|  1.18M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEED2Ev:
  573|  13.4k|  ~DenseMap() {
  574|  13.4k|    this->destroyAll();
  575|  13.4k|    operator delete(Buckets);
  576|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E10destroyAllEv:
  264|  13.4k|  void destroyAll() {
  265|  13.4k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 7.41k, False: 6.04k]
  ------------------
  266|  7.41k|      return;
  267|       |
  268|  6.04k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   393k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 387k, False: 6.04k]
  ------------------
  270|   387k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 6.30k, False: 380k]
  ------------------
  271|  6.30k|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 6.30k, False: 0]
  ------------------
  272|  6.30k|        P->getSecond().~ValueT();
  273|   387k|      P->getFirst().~KeyT();
  274|   387k|    }
  275|  6.04k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E15getTombstoneKeyEv:
  346|  17.6k|  static const KeyT getTombstoneKey() {
  347|  17.6k|    return KeyInfoT::getTombstoneKey();
  348|  17.6k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEEE9getSecondEv:
   42|  12.6k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEED2Ev:
  573|  13.4k|  ~DenseMap() {
  574|  13.4k|    this->destroyAll();
  575|  13.4k|    operator delete(Buckets);
  576|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E10destroyAllEv:
  264|  13.4k|  void destroyAll() {
  265|  13.4k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 13.3k, False: 73]
  ------------------
  266|  13.3k|      return;
  267|       |
  268|     73|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|  4.74k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 4.67k, False: 73]
  ------------------
  270|  4.67k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 326, False: 4.34k]
  ------------------
  271|    326|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 326, False: 0]
  ------------------
  272|    326|        P->getSecond().~ValueT();
  273|  4.67k|      P->getFirst().~KeyT();
  274|  4.67k|    }
  275|     73|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E15getTombstoneKeyEv:
  346|    565|  static const KeyT getTombstoneKey() {
  347|    565|    return KeyInfoT::getTombstoneKey();
  348|    565|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_11MCSymbolELFES4_E9getSecondEv:
   42|    652|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEED2Ev:
  573|  13.4k|  ~DenseMap() {
  574|  13.4k|    this->destroyAll();
  575|  13.4k|    operator delete(Buckets);
  576|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E10destroyAllEv:
  264|  13.4k|  void destroyAll() {
  265|  13.4k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 7.15k, False: 6.30k]
  ------------------
  266|  7.15k|      return;
  267|       |
  268|  6.30k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   409k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 403k, False: 6.30k]
  ------------------
  270|   403k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 12.5k, False: 391k]
  ------------------
  271|  12.5k|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 12.5k, False: 0]
  ------------------
  272|  12.5k|        P->getSecond().~ValueT();
  273|   403k|      P->getFirst().~KeyT();
  274|   403k|    }
  275|  6.30k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13getNumBucketsEv:
  381|  89.1k|  unsigned getNumBuckets() const {
  382|  89.1k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  89.1k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE13getNumBucketsEv:
  674|  89.1k|  unsigned getNumBuckets() const {
  675|  89.1k|    return NumBuckets;
  676|  89.1k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E11getEmptyKeyEv:
  343|  37.8k|  static const KeyT getEmptyKey() {
  344|  37.8k|    return KeyInfoT::getEmptyKey();
  345|  37.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E15getTombstoneKeyEv:
  346|  18.9k|  static const KeyT getTombstoneKey() {
  347|  18.9k|    return KeyInfoT::getTombstoneKey();
  348|  18.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E10getBucketsEv:
  378|  37.8k|  BucketT *getBuckets() {
  379|  37.8k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  37.8k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE10getBucketsEv:
  670|  56.8k|  BucketT *getBuckets() const {
  671|  56.8k|    return Buckets;
  672|  56.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13getBucketsEndEv:
  384|  25.2k|  BucketT *getBucketsEnd() {
  385|  25.2k|    return getBuckets() + getNumBuckets();
  386|  25.2k|  }
_ZN7llvm_ks6detail12DenseMapPairINS_9StringRefEmE8getFirstEv:
   40|  1.24M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks6detail12DenseMapPairINS_9StringRefEmE9getSecondEv:
   42|  25.1k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E13getNumEntriesEv:
  351|    652|  unsigned getNumEntries() const {
  352|    652|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|    652|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE13getNumEntriesEv:
  656|    652|  unsigned getNumEntries() const {
  657|    652|    return NumEntries;
  658|    652|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E16getNumTombstonesEv:
  363|    253|  unsigned getNumTombstones() const {
  364|    253|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    253|  }
_ZNK7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE16getNumTombstonesEv:
  663|    253|  unsigned getNumTombstones() const {
  664|    253|    return NumTombstones;
  665|    253|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E13getNumEntriesEv:
  351|  12.6k|  unsigned getNumEntries() const {
  352|  12.6k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  12.6k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE13getNumEntriesEv:
  656|  12.6k|  unsigned getNumEntries() const {
  657|  12.6k|    return NumEntries;
  658|  12.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E16getNumTombstonesEv:
  363|    254|  unsigned getNumTombstones() const {
  364|    254|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    254|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE16getNumTombstonesEv:
  663|    254|  unsigned getNumTombstones() const {
  664|    254|    return NumTombstones;
  665|    254|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E6insertEONSt3__14pairIS4_S4_EE:
  184|    492|  std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
  185|    492|    BucketT *TheBucket;
  186|    492|    if (LookupBucketFor(KV.first, TheBucket))
  ------------------
  |  Branch (186:9): [True: 166, False: 326]
  ------------------
  187|    166|      return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  188|    166|                            false); // Already in map.
  189|       |
  190|       |    // Otherwise, insert the new element.
  191|    326|    TheBucket = InsertIntoBucket(std::move(KV.first),
  192|    326|                                 std::move(KV.second),
  193|    326|                                 TheBucket);
  194|    326|    return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  195|    326|                          true);
  196|    492|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E15LookupBucketForIS4_EEbRKT_RPS9_:
  519|    565|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|    565|    const BucketT *ConstFoundBucket;
  521|    565|    bool Result = const_cast<const DenseMapBase *>(this)
  522|    565|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|    565|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|    565|    return Result;
  525|    565|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E15LookupBucketForIS4_EEbRKT_RPKS9_:
  469|    599|                       const BucketT *&FoundBucket) const {
  470|    599|    const BucketT *BucketsPtr = getBuckets();
  471|    599|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|    599|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 107, False: 492]
  ------------------
  474|    107|      FoundBucket = nullptr;
  475|    107|      return false;
  476|    107|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|    492|    const BucketT *FoundTombstone = nullptr;
  480|    492|    const KeyT EmptyKey = getEmptyKey();
  481|    492|    const KeyT TombstoneKey = getTombstoneKey();
  482|    492|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 492, False: 0]
  |  Branch (482:5): [True: 492, False: 0]
  |  Branch (482:5): [True: 492, Folded]
  |  Branch (482:5): [True: 492, False: 0]
  ------------------
  483|    492|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|    492|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|    492|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|    492|    unsigned ProbeAmt = 1;
  488|    534|    while (1) {
  ------------------
  |  Branch (488:12): [True: 534, Folded]
  ------------------
  489|    534|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|    534|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  171|    534|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 166, False: 368]
  |  |  ------------------
  ------------------
  492|    166|        FoundBucket = ThisBucket;
  493|    166|        return true;
  494|    166|      }
  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|    368|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  171|    368|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 326, False: 42]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|    326|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 326]
  ------------------
  502|    326|        return false;
  503|    326|      }
  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|     42|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 42]
  ------------------
  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|     42|      BucketNo += ProbeAmt++;
  514|     42|      BucketNo &= (NumBuckets-1);
  515|     42|    }
  516|    492|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E10getBucketsEv:
  375|    599|  const BucketT *getBuckets() const {
  376|    599|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|    599|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E12getHashValueERKS4_:
  336|    492|  static unsigned getHashValue(const KeyT &Val) {
  337|    492|    return KeyInfoT::getHashValue(Val);
  338|    492|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_11MCSymbolELFES4_E8getFirstEv:
   41|    944|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks16DenseMapIteratorIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EELb0EEC2EPS8_SA_RKNS_14DebugEpochBaseEb:
 1006|    492|      : DebugEpochBase::HandleBase(&Epoch), Ptr(Pos), End(E) {
 1007|    492|    assert(isHandleInSync() && "invalid construction!");
  ------------------
  |  Branch (1007:5): [True: 492, False: 0]
  |  Branch (1007:5): [True: 492, Folded]
  |  Branch (1007:5): [True: 492, False: 0]
  ------------------
 1008|    492|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (1008:9): [True: 0, False: 492]
  ------------------
 1009|    492|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E16InsertIntoBucketEOS4_SC_PS9_:
  418|    326|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|    326|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|    326|    TheBucket->getFirst() = std::move(Key);
  422|    326|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|    326|    return TheBucket;
  424|    326|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E20InsertIntoBucketImplERKS4_PS9_:
  426|    326|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|    326|    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|    326|    unsigned NewNumEntries = getNumEntries() + 1;
  439|    326|    unsigned NumBuckets = getNumBuckets();
  440|    326|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  172|    326|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 73, False: 253]
  |  |  ------------------
  ------------------
  441|     73|      this->grow(NumBuckets * 2);
  442|     73|      LookupBucketFor(Key, TheBucket);
  443|     73|      NumBuckets = getNumBuckets();
  444|    253|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  172|    253|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 253]
  |  |  ------------------
  ------------------
  445|    253|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|    326|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 326, 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|    326|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|    326|    const KeyT EmptyKey = getEmptyKey();
  457|    326|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 326]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|    326|    return TheBucket;
  461|    326|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E4growEj:
  391|     73|  void grow(unsigned AtLeast) {
  392|     73|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|     73|  }
_ZN7llvm_ks8DenseMapIPKNS_11MCSymbolELFES3_NS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S3_EEE4growEj:
  621|     73|  void grow(unsigned AtLeast) {
  622|     73|    unsigned OldNumBuckets = NumBuckets;
  623|     73|    BucketT *OldBuckets = Buckets;
  624|       |
  625|     73|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|     73|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 73, False: 0]
  ------------------
  627|     73|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 73, False: 0]
  ------------------
  628|     73|      this->BaseT::initEmpty();
  629|     73|      return;
  630|     73|    }
  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|    326|  void incrementNumEntries() {
  358|    326|    setNumEntries(getNumEntries() + 1);
  359|    326|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_EixEOS4_:
  245|  11.6k|  ValueT &operator[](KeyT &&Key) {
  246|  11.6k|    return FindAndConstruct(std::move(Key)).second;
  247|  11.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E16FindAndConstructEOS4_:
  237|  11.6k|  value_type& FindAndConstruct(KeyT &&Key) {
  238|  11.6k|    BucketT *TheBucket;
  239|  11.6k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 5.33k, False: 6.30k]
  ------------------
  240|  5.33k|      return *TheBucket;
  241|       |
  242|  6.30k|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|  11.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E15LookupBucketForIS4_EEbRKT_RPSF_:
  519|  17.6k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  17.6k|    const BucketT *ConstFoundBucket;
  521|  17.6k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  17.6k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  17.6k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  17.6k|    return Result;
  525|  17.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E15LookupBucketForIS4_EEbRKT_RPKSF_:
  469|  17.6k|                       const BucketT *&FoundBucket) const {
  470|  17.6k|    const BucketT *BucketsPtr = getBuckets();
  471|  17.6k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  17.6k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 6.04k, False: 11.6k]
  ------------------
  474|  6.04k|      FoundBucket = nullptr;
  475|  6.04k|      return false;
  476|  6.04k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  11.6k|    const BucketT *FoundTombstone = nullptr;
  480|  11.6k|    const KeyT EmptyKey = getEmptyKey();
  481|  11.6k|    const KeyT TombstoneKey = getTombstoneKey();
  482|  11.6k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 11.6k, False: 0]
  |  Branch (482:5): [True: 11.6k, False: 0]
  |  Branch (482:5): [True: 11.6k, Folded]
  |  Branch (482:5): [True: 11.6k, False: 0]
  ------------------
  483|  11.6k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  11.6k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  11.6k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  11.6k|    unsigned ProbeAmt = 1;
  488|  11.6k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 11.6k, Folded]
  ------------------
  489|  11.6k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  11.6k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  171|  11.6k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 5.33k, False: 6.31k]
  |  |  ------------------
  ------------------
  492|  5.33k|        FoundBucket = ThisBucket;
  493|  5.33k|        return true;
  494|  5.33k|      }
  495|       |
  496|       |      // If we found an empty bucket, the key doesn't exist in the set.
  497|       |      // Insert it and return the default value.
  498|  6.31k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  171|  6.31k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 6.30k, False: 10]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  6.30k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 6.30k]
  ------------------
  502|  6.30k|        return false;
  503|  6.30k|      }
  504|       |
  505|       |      // If this is a tombstone, remember it.  If Val ends up not in the map, we
  506|       |      // prefer to return it than something that would require more probing.
  507|     10|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 10]
  ------------------
  508|      0|          !FoundTombstone)
  ------------------
  |  Branch (508:11): [True: 0, False: 0]
  ------------------
  509|      0|        FoundTombstone = ThisBucket;  // Remember the first tombstone found.
  510|       |
  511|       |      // Otherwise, it's a hash collision or a tombstone, continue quadratic
  512|       |      // probing.
  513|     10|      BucketNo += ProbeAmt++;
  514|     10|      BucketNo &= (NumBuckets-1);
  515|     10|    }
  516|  11.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E10getBucketsEv:
  375|  17.6k|  const BucketT *getBuckets() const {
  376|  17.6k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  17.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E12getHashValueERKS4_:
  336|  11.6k|  static unsigned getHashValue(const KeyT &Val) {
  337|  11.6k|    return KeyInfoT::getHashValue(Val);
  338|  11.6k|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEEE8getFirstEv:
   41|  17.9k|  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|  6.30k|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|  6.30k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|  6.30k|    TheBucket->getFirst() = std::move(Key);
  422|  6.30k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|  6.30k|    return TheBucket;
  424|  6.30k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E20InsertIntoBucketImplERKS4_PSF_:
  426|  6.30k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  6.30k|    incrementEpoch();
  428|       |
  429|       |    // If the load of the hash table is more than 3/4, or if fewer than 1/8 of
  430|       |    // the buckets are empty (meaning that many are filled with tombstones),
  431|       |    // grow the table.
  432|       |    //
  433|       |    // The later case is tricky.  For example, if we had one empty bucket with
  434|       |    // tons of tombstones, failing lookups (e.g. for insertion) would have to
  435|       |    // probe almost the entire table until it found the empty bucket.  If the
  436|       |    // table completely filled with tombstones, no lookup would ever succeed,
  437|       |    // causing infinite loops in lookup.
  438|  6.30k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  6.30k|    unsigned NumBuckets = getNumBuckets();
  440|  6.30k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  172|  6.30k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 6.04k, False: 254]
  |  |  ------------------
  ------------------
  441|  6.04k|      this->grow(NumBuckets * 2);
  442|  6.04k|      LookupBucketFor(Key, TheBucket);
  443|  6.04k|      NumBuckets = getNumBuckets();
  444|  6.04k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  172|    254|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 254]
  |  |  ------------------
  ------------------
  445|    254|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  6.30k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 6.30k, False: 0]
  ------------------
  450|       |
  451|       |    // Only update the state after we've grown our bucket space appropriately
  452|       |    // so that when growing buckets we have self-consistent entry count.
  453|  6.30k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  6.30k|    const KeyT EmptyKey = getEmptyKey();
  457|  6.30k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 6.30k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  6.30k|    return TheBucket;
  461|  6.30k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS5_9allocatorIS7_EEEENS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_SA_EEEES4_SA_SC_SF_E4growEj:
  391|  6.04k|  void grow(unsigned AtLeast) {
  392|  6.04k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  6.04k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFENSt3__16vectorINS_18ELFRelocationEntryENS4_9allocatorIS6_EEEENS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_S9_EEE4growEj:
  621|  6.04k|  void grow(unsigned AtLeast) {
  622|  6.04k|    unsigned OldNumBuckets = NumBuckets;
  623|  6.04k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  6.04k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  6.04k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 6.04k, False: 0]
  ------------------
  627|  6.04k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 6.04k, False: 0]
  ------------------
  628|  6.04k|      this->BaseT::initEmpty();
  629|  6.04k|      return;
  630|  6.04k|    }
  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|  6.30k|  void incrementNumEntries() {
  358|  6.30k|    setNumEntries(getNumEntries() + 1);
  359|  6.30k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_11MCSymbolELFES4_NS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_S4_EEEES4_S4_S6_S9_E6lookupERKS4_:
  159|     34|  ValueT lookup(const KeyT &Val) const {
  160|     34|    const BucketT *TheBucket;
  161|     34|    if (LookupBucketFor(Val, TheBucket))
  ------------------
  |  Branch (161:9): [True: 0, False: 34]
  ------------------
  162|      0|      return TheBucket->getSecond();
  163|     34|    return ValueT();
  164|     34|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEEC2Ej:
  553|  6.30k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  6.30k|    init(NumInitBuckets);
  555|  6.30k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EC2Ev:
  262|  6.30k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE4initEj:
  612|  6.30k|  void init(unsigned InitBuckets) {
  613|  6.30k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 6.30k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  6.30k|    } else {
  616|  6.30k|      NumEntries = 0;
  617|  6.30k|      NumTombstones = 0;
  618|  6.30k|    }
  619|  6.30k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE15allocateBucketsEj:
  678|  12.2k|  bool allocateBuckets(unsigned Num) {
  679|  12.2k|    NumBuckets = Num;
  680|  12.2k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 6.30k, False: 5.94k]
  ------------------
  681|  6.30k|      Buckets = nullptr;
  682|  6.30k|      return false;
  683|  6.30k|    }
  684|       |
  685|  5.94k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  5.94k|    return true;
  687|  12.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E9initEmptyEv:
  277|  5.94k|  void initEmpty() {
  278|  5.94k|    setNumEntries(0);
  279|  5.94k|    setNumTombstones(0);
  280|       |
  281|  5.94k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 5.94k, False: 0]
  |  Branch (281:5): [True: 5.94k, Folded]
  |  Branch (281:5): [True: 5.94k, False: 0]
  ------------------
  282|  5.94k|           "# initial buckets must be a power of two!");
  283|  5.94k|    const KeyT EmptyKey = getEmptyKey();
  284|   386k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 380k, False: 5.94k]
  ------------------
  285|   380k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  5.94k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13setNumEntriesEj:
  354|  12.2k|  void setNumEntries(unsigned Num) {
  355|  12.2k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  12.2k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13setNumEntriesEj:
  659|  12.2k|  void setNumEntries(unsigned Num) {
  660|  12.2k|    NumEntries = Num;
  661|  12.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16setNumTombstonesEj:
  366|  5.94k|  void setNumTombstones(unsigned Num) {
  367|  5.94k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  5.94k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE16setNumTombstonesEj:
  666|  5.94k|  void setNumTombstones(unsigned Num) {
  667|  5.94k|    NumTombstones = Num;
  668|  5.94k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getNumBucketsEv:
  381|  54.6k|  unsigned getNumBuckets() const {
  382|  54.6k|    return static_cast<const DerivedT *>(this)->getNumBuckets();
  383|  54.6k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13getNumBucketsEv:
  674|  54.6k|  unsigned getNumBuckets() const {
  675|  54.6k|    return NumBuckets;
  676|  54.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E11getEmptyKeyEv:
  343|  24.5k|  static const KeyT getEmptyKey() {
  344|  24.5k|    return KeyInfoT::getEmptyKey();
  345|  24.5k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10getBucketsEv:
  378|  23.7k|  BucketT *getBuckets() {
  379|  23.7k|    return static_cast<DerivedT *>(this)->getBuckets();
  380|  23.7k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE10getBucketsEv:
  670|  36.0k|  BucketT *getBuckets() const {
  671|  36.0k|    return Buckets;
  672|  36.0k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getBucketsEndEv:
  384|  11.8k|  BucketT *getBucketsEnd() {
  385|  11.8k|    return getBuckets() + getNumBuckets();
  386|  11.8k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEjE8getFirstEv:
   40|  1.16M|  KeyT &getFirst() { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EixEOS4_:
  245|  6.19k|  ValueT &operator[](KeyT &&Key) {
  246|  6.19k|    return FindAndConstruct(std::move(Key)).second;
  247|  6.19k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16FindAndConstructEOS4_:
  237|  6.19k|  value_type& FindAndConstruct(KeyT &&Key) {
  238|  6.19k|    BucketT *TheBucket;
  239|  6.19k|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (239:9): [True: 0, False: 6.19k]
  ------------------
  240|      0|      return *TheBucket;
  241|       |
  242|  6.19k|    return *InsertIntoBucket(std::move(Key), ValueT(), TheBucket);
  243|  6.19k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E15LookupBucketForIS4_EEbRKT_RPS9_:
  519|  12.2k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  12.2k|    const BucketT *ConstFoundBucket;
  521|  12.2k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  12.2k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  12.2k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  12.2k|    return Result;
  525|  12.2k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E15LookupBucketForIS4_EEbRKT_RPKS9_:
  469|  12.2k|                       const BucketT *&FoundBucket) const {
  470|  12.2k|    const BucketT *BucketsPtr = getBuckets();
  471|  12.2k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  12.2k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 5.94k, False: 6.35k]
  ------------------
  474|  5.94k|      FoundBucket = nullptr;
  475|  5.94k|      return false;
  476|  5.94k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  6.35k|    const BucketT *FoundTombstone = nullptr;
  480|  6.35k|    const KeyT EmptyKey = getEmptyKey();
  481|  6.35k|    const KeyT TombstoneKey = getTombstoneKey();
  482|  6.35k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 6.35k, False: 0]
  |  Branch (482:5): [True: 6.35k, False: 0]
  |  Branch (482:5): [True: 6.35k, Folded]
  |  Branch (482:5): [True: 6.35k, False: 0]
  ------------------
  483|  6.35k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  6.35k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  6.35k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  6.35k|    unsigned ProbeAmt = 1;
  488|  6.36k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 6.36k, Folded]
  ------------------
  489|  6.36k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  6.36k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  171|  6.36k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 0, False: 6.36k]
  |  |  ------------------
  ------------------
  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|  6.36k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  171|  6.36k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 6.35k, False: 11]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  6.35k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 6.35k]
  ------------------
  502|  6.35k|        return false;
  503|  6.35k|      }
  504|       |
  505|       |      // If this is a tombstone, remember it.  If Val ends up not in the map, we
  506|       |      // prefer to return it than something that would require more probing.
  507|     11|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 11]
  ------------------
  508|      0|          !FoundTombstone)
  ------------------
  |  Branch (508:11): [True: 0, False: 0]
  ------------------
  509|      0|        FoundTombstone = ThisBucket;  // Remember the first tombstone found.
  510|       |
  511|       |      // Otherwise, it's a hash collision or a tombstone, continue quadratic
  512|       |      // probing.
  513|     11|      BucketNo += ProbeAmt++;
  514|     11|      BucketNo &= (NumBuckets-1);
  515|     11|    }
  516|  6.35k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10getBucketsEv:
  375|  12.2k|  const BucketT *getBuckets() const {
  376|  12.2k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  12.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E15getTombstoneKeyEv:
  346|  12.2k|  static const KeyT getTombstoneKey() {
  347|  12.2k|    return KeyInfoT::getTombstoneKey();
  348|  12.2k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E12getHashValueERKS4_:
  336|  6.35k|  static unsigned getHashValue(const KeyT &Val) {
  337|  6.35k|    return KeyInfoT::getHashValue(Val);
  338|  6.35k|  }
_ZNK7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEjE8getFirstEv:
   41|  12.7k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16InsertIntoBucketEOS4_OjPS9_:
  418|  6.19k|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|  6.19k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|  6.19k|    TheBucket->getFirst() = std::move(Key);
  422|  6.19k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|  6.19k|    return TheBucket;
  424|  6.19k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E20InsertIntoBucketImplERKS4_PS9_:
  426|  6.35k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  6.35k|    incrementEpoch();
  428|       |
  429|       |    // If the load of the hash table is more than 3/4, or if fewer than 1/8 of
  430|       |    // the buckets are empty (meaning that many are filled with tombstones),
  431|       |    // grow the table.
  432|       |    //
  433|       |    // The later case is tricky.  For example, if we had one empty bucket with
  434|       |    // tons of tombstones, failing lookups (e.g. for insertion) would have to
  435|       |    // probe almost the entire table until it found the empty bucket.  If the
  436|       |    // table completely filled with tombstones, no lookup would ever succeed,
  437|       |    // causing infinite loops in lookup.
  438|  6.35k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  6.35k|    unsigned NumBuckets = getNumBuckets();
  440|  6.35k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  172|  6.35k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 5.94k, False: 410]
  |  |  ------------------
  ------------------
  441|  5.94k|      this->grow(NumBuckets * 2);
  442|  5.94k|      LookupBucketFor(Key, TheBucket);
  443|  5.94k|      NumBuckets = getNumBuckets();
  444|  5.94k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  172|    410|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 410]
  |  |  ------------------
  ------------------
  445|    410|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  6.35k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 6.35k, False: 0]
  ------------------
  450|       |
  451|       |    // Only update the state after we've grown our bucket space appropriately
  452|       |    // so that when growing buckets we have self-consistent entry count.
  453|  6.35k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  6.35k|    const KeyT EmptyKey = getEmptyKey();
  457|  6.35k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 6.35k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  6.35k|    return TheBucket;
  461|  6.35k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E13getNumEntriesEv:
  351|  12.7k|  unsigned getNumEntries() const {
  352|  12.7k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  12.7k|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE13getNumEntriesEv:
  656|  12.7k|  unsigned getNumEntries() const {
  657|  12.7k|    return NumEntries;
  658|  12.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E4growEj:
  391|  5.94k|  void grow(unsigned AtLeast) {
  392|  5.94k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  5.94k|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE4growEj:
  621|  5.94k|  void grow(unsigned AtLeast) {
  622|  5.94k|    unsigned OldNumBuckets = NumBuckets;
  623|  5.94k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  5.94k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  5.94k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 5.94k, False: 0]
  ------------------
  627|  5.94k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 5.94k, False: 0]
  ------------------
  628|  5.94k|      this->BaseT::initEmpty();
  629|  5.94k|      return;
  630|  5.94k|    }
  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|    410|  unsigned getNumTombstones() const {
  364|    410|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|    410|  }
_ZNK7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEE16getNumTombstonesEv:
  663|    410|  unsigned getNumTombstones() const {
  664|    410|    return NumTombstones;
  665|    410|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E19incrementNumEntriesEv:
  357|  6.35k|  void incrementNumEntries() {
  358|  6.35k|    setNumEntries(getNumEntries() + 1);
  359|  6.35k|  }
_ZN7llvm_ks6detail12DenseMapPairIPKNS_12MCSectionELFEjE9getSecondEv:
   42|  12.7k|  ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_EixERKS4_:
  233|    156|  ValueT &operator[](const KeyT &Key) {
  234|    156|    return FindAndConstruct(Key).second;
  235|    156|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16FindAndConstructERKS4_:
  225|    156|  value_type& FindAndConstruct(const KeyT &Key) {
  226|    156|    BucketT *TheBucket;
  227|    156|    if (LookupBucketFor(Key, TheBucket))
  ------------------
  |  Branch (227:9): [True: 0, False: 156]
  ------------------
  228|      0|      return *TheBucket;
  229|       |
  230|    156|    return *InsertIntoBucket(Key, ValueT(), TheBucket);
  231|    156|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E16InsertIntoBucketERKS4_OjPS9_:
  410|    156|                            BucketT *TheBucket) {
  411|    156|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  412|       |
  413|    156|    TheBucket->getFirst() = Key;
  414|    156|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  415|    156|    return TheBucket;
  416|    156|  }
_ZN7llvm_ks8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS3_EENS_6detail12DenseMapPairIS3_jEEED2Ev:
  573|  6.30k|  ~DenseMap() {
  574|  6.30k|    this->destroyAll();
  575|  6.30k|    operator delete(Buckets);
  576|  6.30k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapIPKNS_12MCSectionELFEjNS_12DenseMapInfoIS4_EENS_6detail12DenseMapPairIS4_jEEEES4_jS6_S9_E10destroyAllEv:
  264|  6.30k|  void destroyAll() {
  265|  6.30k|    if (getNumBuckets() == 0) // Nothing to do.
  ------------------
  |  Branch (265:9): [True: 362, False: 5.94k]
  ------------------
  266|    362|      return;
  267|       |
  268|  5.94k|    const KeyT EmptyKey = getEmptyKey(), TombstoneKey = getTombstoneKey();
  269|   386k|    for (BucketT *P = getBuckets(), *E = getBucketsEnd(); P != E; ++P) {
  ------------------
  |  Branch (269:59): [True: 380k, False: 5.94k]
  ------------------
  270|   380k|      if (!KeyInfoT::isEqual(P->getFirst(), EmptyKey) &&
  ------------------
  |  Branch (270:11): [True: 6.35k, False: 374k]
  ------------------
  271|  6.35k|          !KeyInfoT::isEqual(P->getFirst(), TombstoneKey))
  ------------------
  |  Branch (271:11): [True: 6.35k, False: 0]
  ------------------
  272|  6.35k|        P->getSecond().~ValueT();
  273|   380k|      P->getFirst().~KeyT();
  274|   380k|    }
  275|  5.94k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEEC2Ej:
  553|  13.4k|  explicit DenseMap(unsigned NumInitBuckets = 0) {
  554|  13.4k|    init(NumInitBuckets);
  555|  13.4k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_EC2Ev:
  262|  13.4k|  DenseMapBase() = default;
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE4initEj:
  612|  13.4k|  void init(unsigned InitBuckets) {
  613|  13.4k|    if (allocateBuckets(InitBuckets)) {
  ------------------
  |  Branch (613:9): [True: 0, False: 13.4k]
  ------------------
  614|      0|      this->BaseT::initEmpty();
  615|  13.4k|    } else {
  616|  13.4k|      NumEntries = 0;
  617|  13.4k|      NumTombstones = 0;
  618|  13.4k|    }
  619|  13.4k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE15allocateBucketsEj:
  678|  19.7k|  bool allocateBuckets(unsigned Num) {
  679|  19.7k|    NumBuckets = Num;
  680|  19.7k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (680:9): [True: 13.4k, False: 6.30k]
  ------------------
  681|  13.4k|      Buckets = nullptr;
  682|  13.4k|      return false;
  683|  13.4k|    }
  684|       |
  685|  6.30k|    Buckets = static_cast<BucketT*>(operator new(sizeof(BucketT) * NumBuckets));
  686|  6.30k|    return true;
  687|  19.7k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E9initEmptyEv:
  277|  6.30k|  void initEmpty() {
  278|  6.30k|    setNumEntries(0);
  279|  6.30k|    setNumTombstones(0);
  280|       |
  281|  6.30k|    assert((getNumBuckets() & (getNumBuckets()-1)) == 0 &&
  ------------------
  |  Branch (281:5): [True: 6.30k, False: 0]
  |  Branch (281:5): [True: 6.30k, Folded]
  |  Branch (281:5): [True: 6.30k, False: 0]
  ------------------
  282|  6.30k|           "# initial buckets must be a power of two!");
  283|  6.30k|    const KeyT EmptyKey = getEmptyKey();
  284|   409k|    for (BucketT *B = getBuckets(), *E = getBucketsEnd(); B != E; ++B)
  ------------------
  |  Branch (284:59): [True: 403k, False: 6.30k]
  ------------------
  285|   403k|      ::new (&B->getFirst()) KeyT(EmptyKey);
  286|  6.30k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13setNumEntriesEj:
  354|  18.8k|  void setNumEntries(unsigned Num) {
  355|  18.8k|    static_cast<DerivedT *>(this)->setNumEntries(Num);
  356|  18.8k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE13setNumEntriesEj:
  659|  18.8k|  void setNumEntries(unsigned Num) {
  660|  18.8k|    NumEntries = Num;
  661|  18.8k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E16setNumTombstonesEj:
  366|  6.30k|  void setNumTombstones(unsigned Num) {
  367|  6.30k|    static_cast<DerivedT *>(this)->setNumTombstones(Num);
  368|  6.30k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE16setNumTombstonesEj:
  666|  6.30k|  void setNumTombstones(unsigned Num) {
  667|  6.30k|    NumTombstones = Num;
  668|  6.30k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E13getNumEntriesEv:
  351|  25.1k|  unsigned getNumEntries() const {
  352|  25.1k|    return static_cast<const DerivedT *>(this)->getNumEntries();
  353|  25.1k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE13getNumEntriesEv:
  656|  25.1k|  unsigned getNumEntries() const {
  657|  25.1k|    return NumEntries;
  658|  25.1k|  }
_ZN7llvm_ks16DenseMapIteratorINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEELb0EEC2EPS6_S8_RKNS_14DebugEpochBaseEb:
 1006|  12.6k|      : DebugEpochBase::HandleBase(&Epoch), Ptr(Pos), End(E) {
 1007|  12.6k|    assert(isHandleInSync() && "invalid construction!");
  ------------------
  |  Branch (1007:5): [True: 12.6k, False: 0]
  |  Branch (1007:5): [True: 12.6k, Folded]
  |  Branch (1007:5): [True: 12.6k, False: 0]
  ------------------
 1008|  12.6k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (1008:9): [True: 0, False: 12.6k]
  ------------------
 1009|  12.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E16getNumTombstonesEv:
  363|  6.24k|  unsigned getNumTombstones() const {
  364|  6.24k|    return static_cast<const DerivedT *>(this)->getNumTombstones();
  365|  6.24k|  }
_ZNK7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE16getNumTombstonesEv:
  663|  6.24k|  unsigned getNumTombstones() const {
  664|  6.24k|    return NumTombstones;
  665|  6.24k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E15LookupBucketForIS2_EEbRKT_RPKS7_:
  469|  18.9k|                       const BucketT *&FoundBucket) const {
  470|  18.9k|    const BucketT *BucketsPtr = getBuckets();
  471|  18.9k|    const unsigned NumBuckets = getNumBuckets();
  472|       |
  473|  18.9k|    if (NumBuckets == 0) {
  ------------------
  |  Branch (473:9): [True: 6.30k, False: 12.6k]
  ------------------
  474|  6.30k|      FoundBucket = nullptr;
  475|  6.30k|      return false;
  476|  6.30k|    }
  477|       |
  478|       |    // FoundTombstone - Keep track of whether we find a tombstone while probing.
  479|  12.6k|    const BucketT *FoundTombstone = nullptr;
  480|  12.6k|    const KeyT EmptyKey = getEmptyKey();
  481|  12.6k|    const KeyT TombstoneKey = getTombstoneKey();
  482|  12.6k|    assert(!KeyInfoT::isEqual(Val, EmptyKey) &&
  ------------------
  |  Branch (482:5): [True: 12.6k, False: 0]
  |  Branch (482:5): [True: 12.6k, False: 0]
  |  Branch (482:5): [True: 12.6k, Folded]
  |  Branch (482:5): [True: 12.6k, False: 0]
  ------------------
  483|  12.6k|           !KeyInfoT::isEqual(Val, TombstoneKey) &&
  484|  12.6k|           "Empty/Tombstone value shouldn't be inserted into map!");
  485|       |
  486|  12.6k|    unsigned BucketNo = getHashValue(Val) & (NumBuckets-1);
  487|  12.6k|    unsigned ProbeAmt = 1;
  488|  12.8k|    while (1) {
  ------------------
  |  Branch (488:12): [True: 12.8k, Folded]
  ------------------
  489|  12.8k|      const BucketT *ThisBucket = BucketsPtr + BucketNo;
  490|       |      // Found Val's bucket?  If so, return it.
  491|  12.8k|      if (LLVM_LIKELY(KeyInfoT::isEqual(Val, ThisBucket->getFirst()))) {
  ------------------
  |  |  171|  12.8k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 108, False: 12.7k]
  |  |  ------------------
  ------------------
  492|    108|        FoundBucket = ThisBucket;
  493|    108|        return true;
  494|    108|      }
  495|       |
  496|       |      // If we found an empty bucket, the key doesn't exist in the set.
  497|       |      // Insert it and return the default value.
  498|  12.7k|      if (LLVM_LIKELY(KeyInfoT::isEqual(ThisBucket->getFirst(), EmptyKey))) {
  ------------------
  |  |  171|  12.7k|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 12.5k, False: 156]
  |  |  ------------------
  ------------------
  499|       |        // If we've already seen a tombstone while probing, fill it in instead
  500|       |        // of the empty bucket we eventually probed to.
  501|  12.5k|        FoundBucket = FoundTombstone ? FoundTombstone : ThisBucket;
  ------------------
  |  Branch (501:23): [True: 0, False: 12.5k]
  ------------------
  502|  12.5k|        return false;
  503|  12.5k|      }
  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|    156|      if (KeyInfoT::isEqual(ThisBucket->getFirst(), TombstoneKey) &&
  ------------------
  |  Branch (507:11): [True: 0, False: 156]
  ------------------
  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|    156|      BucketNo += ProbeAmt++;
  514|    156|      BucketNo &= (NumBuckets-1);
  515|    156|    }
  516|  12.6k|  }
_ZNK7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E10getBucketsEv:
  375|  18.9k|  const BucketT *getBuckets() const {
  376|  18.9k|    return static_cast<const DerivedT *>(this)->getBuckets();
  377|  18.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E12getHashValueERKS2_:
  336|  12.6k|  static unsigned getHashValue(const KeyT &Val) {
  337|  12.6k|    return KeyInfoT::getHashValue(Val);
  338|  12.6k|  }
_ZNK7llvm_ks6detail12DenseMapPairINS_9StringRefEmE8getFirstEv:
   41|  25.6k|  const KeyT &getFirst() const { return std::pair<KeyT, ValueT>::first; }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E6insertEONSt3__14pairIS2_mEE:
  184|  12.6k|  std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
  185|  12.6k|    BucketT *TheBucket;
  186|  12.6k|    if (LookupBucketFor(KV.first, TheBucket))
  ------------------
  |  Branch (186:9): [True: 108, False: 12.5k]
  ------------------
  187|    108|      return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  188|    108|                            false); // Already in map.
  189|       |
  190|       |    // Otherwise, insert the new element.
  191|  12.5k|    TheBucket = InsertIntoBucket(std::move(KV.first),
  192|  12.5k|                                 std::move(KV.second),
  193|  12.5k|                                 TheBucket);
  194|  12.5k|    return std::make_pair(iterator(TheBucket, getBucketsEnd(), *this, true),
  195|  12.5k|                          true);
  196|  12.6k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E15LookupBucketForIS2_EEbRKT_RPS7_:
  519|  18.9k|  bool LookupBucketFor(const LookupKeyT &Val, BucketT *&FoundBucket) {
  520|  18.9k|    const BucketT *ConstFoundBucket;
  521|  18.9k|    bool Result = const_cast<const DenseMapBase *>(this)
  522|  18.9k|      ->LookupBucketFor(Val, ConstFoundBucket);
  523|  18.9k|    FoundBucket = const_cast<BucketT *>(ConstFoundBucket);
  524|  18.9k|    return Result;
  525|  18.9k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E16InsertIntoBucketEOS2_OmPS7_:
  418|  12.5k|  BucketT *InsertIntoBucket(KeyT &&Key, ValueT &&Value, BucketT *TheBucket) {
  419|  12.5k|    TheBucket = InsertIntoBucketImpl(Key, TheBucket);
  420|       |
  421|  12.5k|    TheBucket->getFirst() = std::move(Key);
  422|  12.5k|    ::new (&TheBucket->getSecond()) ValueT(std::move(Value));
  423|  12.5k|    return TheBucket;
  424|  12.5k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E20InsertIntoBucketImplERKS2_PS7_:
  426|  12.5k|  BucketT *InsertIntoBucketImpl(const KeyT &Key, BucketT *TheBucket) {
  427|  12.5k|    incrementEpoch();
  428|       |
  429|       |    // If the load of the hash table is more than 3/4, or if fewer than 1/8 of
  430|       |    // the buckets are empty (meaning that many are filled with tombstones),
  431|       |    // grow the table.
  432|       |    //
  433|       |    // The later case is tricky.  For example, if we had one empty bucket with
  434|       |    // tons of tombstones, failing lookups (e.g. for insertion) would have to
  435|       |    // probe almost the entire table until it found the empty bucket.  If the
  436|       |    // table completely filled with tombstones, no lookup would ever succeed,
  437|       |    // causing infinite loops in lookup.
  438|  12.5k|    unsigned NewNumEntries = getNumEntries() + 1;
  439|  12.5k|    unsigned NumBuckets = getNumBuckets();
  440|  12.5k|    if (LLVM_UNLIKELY(NewNumEntries * 4 >= NumBuckets * 3)) {
  ------------------
  |  |  172|  12.5k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 6.30k, False: 6.24k]
  |  |  ------------------
  ------------------
  441|  6.30k|      this->grow(NumBuckets * 2);
  442|  6.30k|      LookupBucketFor(Key, TheBucket);
  443|  6.30k|      NumBuckets = getNumBuckets();
  444|  6.30k|    } else if (LLVM_UNLIKELY(NumBuckets-(NewNumEntries+getNumTombstones()) <=
  ------------------
  |  |  172|  6.24k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 6.24k]
  |  |  ------------------
  ------------------
  445|  6.24k|                             NumBuckets/8)) {
  446|      0|      this->grow(NumBuckets);
  447|      0|      LookupBucketFor(Key, TheBucket);
  448|      0|    }
  449|  12.5k|    assert(TheBucket);
  ------------------
  |  Branch (449:5): [True: 12.5k, False: 0]
  ------------------
  450|       |
  451|       |    // Only update the state after we've grown our bucket space appropriately
  452|       |    // so that when growing buckets we have self-consistent entry count.
  453|  12.5k|    incrementNumEntries();
  454|       |
  455|       |    // If we are writing over a tombstone, remember this.
  456|  12.5k|    const KeyT EmptyKey = getEmptyKey();
  457|  12.5k|    if (!KeyInfoT::isEqual(TheBucket->getFirst(), EmptyKey))
  ------------------
  |  Branch (457:9): [True: 0, False: 12.5k]
  ------------------
  458|      0|      decrementNumTombstones();
  459|       |
  460|  12.5k|    return TheBucket;
  461|  12.5k|  }
_ZN7llvm_ks12DenseMapBaseINS_8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS2_EENS_6detail12DenseMapPairIS2_mEEEES2_mS4_S7_E4growEj:
  391|  6.30k|  void grow(unsigned AtLeast) {
  392|  6.30k|    static_cast<DerivedT *>(this)->grow(AtLeast);
  393|  6.30k|  }
_ZN7llvm_ks8DenseMapINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEEE4growEj:
  621|  6.30k|  void grow(unsigned AtLeast) {
  622|  6.30k|    unsigned OldNumBuckets = NumBuckets;
  623|  6.30k|    BucketT *OldBuckets = Buckets;
  624|       |
  625|  6.30k|    allocateBuckets(std::max<unsigned>(64, static_cast<unsigned>(NextPowerOf2(AtLeast-1))));
  626|  6.30k|    assert(Buckets);
  ------------------
  |  Branch (626:5): [True: 6.30k, False: 0]
  ------------------
  627|  6.30k|    if (!OldBuckets) {
  ------------------
  |  Branch (627:9): [True: 6.30k, False: 0]
  ------------------
  628|  6.30k|      this->BaseT::initEmpty();
  629|  6.30k|      return;
  630|  6.30k|    }
  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|  12.5k|  void incrementNumEntries() {
  358|  12.5k|    setNumEntries(getNumEntries() + 1);
  359|  12.5k|  }
_ZNK7llvm_ks16DenseMapIteratorINS_9StringRefEmNS_12DenseMapInfoIS1_EENS_6detail12DenseMapPairIS1_mEELb0EEptEv:
 1024|  12.6k|  pointer operator->() const {
 1025|  12.6k|    assert(isHandleInSync() && "invalid iterator access!");
  ------------------
  |  Branch (1025:5): [True: 12.6k, False: 0]
  |  Branch (1025:5): [True: 12.6k, Folded]
  |  Branch (1025:5): [True: 12.6k, False: 0]
  ------------------
 1026|  12.6k|    return Ptr;
 1027|  12.6k|  }

_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE11getEmptyKeyEv:
  171|   984k|  static inline StringRef getEmptyKey() {
  172|   984k|    return StringRef(reinterpret_cast<const char *>(~static_cast<uintptr_t>(0)),
  173|   984k|                     0);
  174|   984k|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE15getTombstoneKeyEv:
  175|  82.6k|  static inline StringRef getTombstoneKey() {
  176|  82.6k|    return StringRef(reinterpret_cast<const char *>(~static_cast<uintptr_t>(1)),
  177|  82.6k|                     0);
  178|  82.6k|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE12getHashValueES1_:
  179|  12.6k|  static unsigned getHashValue(StringRef Val) {
  180|  12.6k|    assert(Val.data() != getEmptyKey().data() && "Cannot hash the empty key!");
  ------------------
  |  Branch (180:5): [True: 12.6k, False: 0]
  |  Branch (180:5): [True: 12.6k, Folded]
  |  Branch (180:5): [True: 12.6k, False: 0]
  ------------------
  181|  12.6k|    assert(Val.data() != getTombstoneKey().data() &&
  ------------------
  |  Branch (181:5): [True: 12.6k, False: 0]
  |  Branch (181:5): [True: 12.6k, Folded]
  |  Branch (181:5): [True: 12.6k, False: 0]
  ------------------
  182|  12.6k|           "Cannot hash the tombstone key!");
  183|  12.6k|    return (unsigned)(hash_value(Val));
  184|  12.6k|  }
_ZN7llvm_ks12DenseMapInfoINS_9StringRefEE7isEqualES1_S1_:
  185|   479k|  static bool isEqual(StringRef LHS, StringRef RHS) {
  186|   479k|    if (RHS.data() == getEmptyKey().data())
  ------------------
  |  Branch (186:9): [True: 454k, False: 25.6k]
  ------------------
  187|   454k|      return LHS.data() == getEmptyKey().data();
  188|  25.6k|    if (RHS.data() == getTombstoneKey().data())
  ------------------
  |  Branch (188:9): [True: 25.3k, False: 264]
  ------------------
  189|  25.3k|      return LHS.data() == getTombstoneKey().data();
  190|    264|    return LHS == RHS;
  191|  25.6k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE11getEmptyKeyEv:
   36|   122k|  static inline T* getEmptyKey() {
   37|   122k|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|   122k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|   122k|    return reinterpret_cast<T*>(Val);
   40|   122k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE15getTombstoneKeyEv:
   41|  70.7k|  static inline T* getTombstoneKey() {
   42|  70.7k|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|  70.7k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|  70.7k|    return reinterpret_cast<T*>(Val);
   45|  70.7k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE7isEqualES3_S3_:
   50|  2.66M|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_12MCSectionELFEE12getHashValueES3_:
   46|  31.8k|  static unsigned getHashValue(const T *PtrVal) {
   47|  31.8k|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|  31.8k|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|  31.8k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE11getEmptyKeyEv:
   36|   254k|  static inline T* getEmptyKey() {
   37|   254k|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|   254k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|   254k|    return reinterpret_cast<T*>(Val);
   40|   254k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE15getTombstoneKeyEv:
   41|   240k|  static inline T* getTombstoneKey() {
   42|   240k|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|   240k|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|   240k|    return reinterpret_cast<T*>(Val);
   45|   240k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE7isEqualES3_S3_:
   50|  1.16M|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_9MCSectionEE12getHashValueES3_:
   46|   233k|  static unsigned getHashValue(const T *PtrVal) {
   47|   233k|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|   233k|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|   233k|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE11getEmptyKeyEv:
   36|    964|  static inline T* getEmptyKey() {
   37|    964|    uintptr_t Val = static_cast<uintptr_t>(-1);
   38|    964|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   39|    964|    return reinterpret_cast<T*>(Val);
   40|    964|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE15getTombstoneKeyEv:
   41|    565|  static inline T* getTombstoneKey() {
   42|    565|    uintptr_t Val = static_cast<uintptr_t>(-2);
   43|    565|    Val <<= PointerLikeTypeTraits<T*>::NumLowBitsAvailable;
   44|    565|    return reinterpret_cast<T*>(Val);
   45|    565|  }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE7isEqualES3_S3_:
   50|  7.25k|  static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; }
_ZN7llvm_ks12DenseMapInfoIPKNS_11MCSymbolELFEE12getHashValueES3_:
   46|    492|  static unsigned getHashValue(const T *PtrVal) {
   47|    492|    return (unsigned((uintptr_t)PtrVal) >> 4) ^
   48|    492|           (unsigned((uintptr_t)PtrVal) >> 9);
   49|    492|  }

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

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

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

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

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

_ZN7llvm_ks14array_lengthofIbLm4EEEmRAT0__T_:
  283|   107k|LLVM_CONSTEXPR inline size_t array_lengthof(T (&)[N]) {
  284|   107k|  return N;
  285|   107k|}
SparcAsmParser.cpp:_ZN7llvm_ks11make_uniqueIN12_GLOBAL__N_112SparcOperandEJNS2_6KindTyEEEENSt3__19enable_ifIXntsr3std8is_arrayIT_EE5valueENS4_10unique_ptrIS6_NS4_14default_deleteIS6_EEEEE4typeEDpOT0_:
  405|   207k|make_unique(Args &&... args) {
  406|   207k|  return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
  407|   207k|}
_ZN7llvm_ks14array_lengthofIKNS_15MCFixupKindInfoELm16EEEmRAT0__T_:
  283|  27.0k|LLVM_CONSTEXPR inline size_t array_lengthof(T (&)[N]) {
  284|  27.0k|  return N;
  285|  27.0k|}

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

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

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

_ZN7llvm_ks15SmallVectorImplIcED2Ev:
  368|  1.36M|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  1.36M|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  1.36M|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 2.29k, False: 1.36M]
  ------------------
  374|  2.29k|      free(this->begin());
  375|  1.36M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE13destroy_rangeEPcS2_:
  284|  1.39M|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE5beginEv:
  113|  1.95M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE3endEv:
  117|   649M|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE7isSmallEv:
   86|  1.36M|  bool isSmall() const {
   87|  1.36M|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  1.36M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE4sizeEv:
  132|  59.8M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE3endEv:
  119|  60.0M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE5beginEv:
  115|  60.7M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE4dataEv:
  139|  35.0k|  pointer data() { return pointer(begin()); }
_ZN7llvm_ks11SmallVectorIcLj1024EEC2Ev:
  872|  13.4k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  13.4k|  }
_ZN7llvm_ks15SmallVectorImplIcEC2Ej:
  364|  1.36M|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  1.36M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EEC2Em:
  281|  1.36M|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIcvEC2Em:
   78|  1.36M|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorBaseC2EPvm:
   40|  11.8M|    : BeginX(FirstEl), EndX(FirstEl), CapacityX((char*)FirstEl+Size) {}
_ZNK7llvm_ks15SmallVectorBase13size_in_bytesEv:
   48|  16.4k|  size_t size_in_bytes() const {
   49|  16.4k|    return size_t((char*)EndX - (char*)BeginX);
   50|  16.4k|  }
_ZNK7llvm_ks15SmallVectorBase17capacity_in_bytesEv:
   53|  16.4k|  size_t capacity_in_bytes() const {
   54|  16.4k|    return size_t((char*)CapacityX - (char*)BeginX);
   55|  16.4k|  }
_ZNK7llvm_ks15SmallVectorBase5emptyEv:
   57|   346M|  bool LLVM_ATTRIBUTE_UNUSED_RESULT empty() const { return BeginX == EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE4dataEv:
  141|  17.0k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EE13destroy_rangeEPS1_S3_:
  284|  24.2k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE7isSmallEv:
   86|  17.0k|  bool isSmall() const {
   87|  17.0k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  17.0k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEixEm:
  149|  15.2k|  const_reference operator[](size_type idx) const {
  150|  15.2k|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 15.2k, False: 0]
  ------------------
  151|  15.2k|    return begin()[idx];
  152|  15.2k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEixEm:
  144|  20.8k|  reference operator[](size_type idx) {
  145|  20.8k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 20.8k, False: 0]
  ------------------
  146|  20.8k|    return begin()[idx];
  147|  20.8k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE4sizeEv:
  132|  57.2k|  size_type size() const { return end()-begin(); }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EE9push_backERKS1_:
  337|  15.2k|  void push_back(const T &Elt) {
  338|  15.2k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  15.2k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 15.2k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  15.2k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  15.2k|    this->setEnd(this->end()+1);
  342|  15.2k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE6setEndEPS1_:
   95|  22.2k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEE5clearEv:
  378|  7.18k|  void clear() {
  379|  7.18k|    this->destroy_range(this->begin(), this->end());
  380|  7.18k|    this->EndX = this->BeginX;
  381|  7.18k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE5beginEv:
  113|  59.1k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE5beginEv:
  115|  86.5k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE3endEv:
  117|  54.6k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE3endEv:
  119|  64.3k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE13destroy_rangeEPS1_S3_:
  284|  19.4k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE5beginEv:
  113|  42.7k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE3endEv:
  117|   108k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE7isSmallEv:
   86|  19.4k|  bool isSmall() const {
   87|  19.4k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  19.4k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEEaSERKS2_:
  739|  7.02k|  operator=(const SmallVectorImpl<T> &RHS) {
  740|       |  // Avoid self-assignment.
  741|  7.02k|  if (this == &RHS) return *this;
  ------------------
  |  Branch (741:7): [True: 0, False: 7.02k]
  ------------------
  742|       |
  743|       |  // If we already have sufficient space, assign the common elements, then
  744|       |  // destroy any excess.
  745|  7.02k|  size_t RHSSize = RHS.size();
  746|  7.02k|  size_t CurSize = this->size();
  747|  7.02k|  if (CurSize >= RHSSize) {
  ------------------
  |  Branch (747:7): [True: 0, False: 7.02k]
  ------------------
  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|  7.02k|  if (this->capacity() < RHSSize) {
  ------------------
  |  Branch (766:7): [True: 0, False: 7.02k]
  ------------------
  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|  7.02k|  } else if (CurSize) {
  ------------------
  |  Branch (772:14): [True: 0, False: 7.02k]
  ------------------
  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|  7.02k|  this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
  779|  7.02k|                           this->begin()+CurSize);
  780|       |
  781|       |  // Set end.
  782|  7.02k|  this->setEnd(this->begin()+RHSSize);
  783|  7.02k|  return *this;
  784|  7.02k|}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE8capacityEv:
  136|  7.02k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvE12capacity_ptrEv:
  122|  7.02k|  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|  7.02k|                                           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|  7.02k|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 7.02k, False: 0]
  ------------------
  328|  7.02k|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|  7.02k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE9push_backERKc:
  337|  13.5k|  void push_back(const T &Elt) {
  338|  13.5k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  13.5k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 13.5k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  13.5k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  13.5k|    this->setEnd(this->end()+1);
  342|  13.5k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE4growEm:
  333|  6.47k|  void grow(size_t MinSize = 0) {
  334|  6.47k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  6.47k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE8grow_podEmm:
   80|  6.47k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  6.47k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  6.47k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE6setEndEPc:
   95|   216M|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEELb0EE13destroy_rangeEPS7_S9_:
  180|     76|  static void destroy_range(T *S, T *E) {
  181|     76|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 76]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|     76|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvE5beginEv:
  113|     76|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvE3endEv:
  117|     76|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvE7isSmallEv:
   86|     76|  bool isSmall() const {
   87|     76|    return BeginX == static_cast<const void*>(&FirstEl);
   88|     76|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_11MCDwarfFileELb0EE13destroy_rangeEPS1_S3_:
  180|     76|  static void destroy_range(T *S, T *E) {
  181|     76|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 76]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|     76|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE5beginEv:
  113|     76|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE3endEv:
  117|     76|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE7isSmallEv:
   86|     76|  bool isSmall() const {
   87|     76|    return BeginX == static_cast<const void*>(&FirstEl);
   88|     76|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE3endEv:
  117|   189k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE4growEm:
  333|    849|  void grow(size_t MinSize = 0) {
  334|    849|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|    849|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE8grow_podEmm:
   80|    849|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|    849|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|    849|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE6setEndEPS2_:
   95|  57.9k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE13destroy_rangeEPS2_S4_:
  284|  43.5k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE5beginEv:
  113|  73.9k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvE7isSmallEv:
   86|  13.4k|  bool isSmall() const {
   87|  13.4k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  13.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_14MCLOHDirectiveELb0EE13destroy_rangeEPS1_S3_:
  180|  13.4k|  static void destroy_range(T *S, T *E) {
  181|  13.4k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 13.4k]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|  13.4k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE5beginEv:
  113|  13.4k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE3endEv:
  117|  13.4k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvE7isSmallEv:
   86|  13.4k|  bool isSmall() const {
   87|  13.4k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  13.4k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEE5clearEv:
  378|  30.0k|  void clear() {
  379|  30.0k|    this->destroy_range(this->begin(), this->end());
  380|  30.0k|    this->EndX = this->BeginX;
  381|  30.0k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE4backEv:
  167|   119M|  const_reference back() const {
  168|   119M|    assert(!empty());
  ------------------
  |  Branch (168:5): [True: 119M, False: 0]
  ------------------
  169|   119M|    return end()[-1];
  170|   119M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE3endEv:
  119|   119M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EE9push_backERKS9_:
  337|  13.4k|  void push_back(const T &Elt) {
  338|  13.4k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  13.4k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 13.4k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  13.4k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  13.4k|    this->setEnd(this->end()+1);
  342|  13.4k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE6setEndEPS9_:
   95|  13.4k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE3endEv:
  117|   116k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE4backEv:
  163|  76.3k|  reference back() {
  164|  76.3k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 76.3k, False: 0]
  ------------------
  165|  76.3k|    return end()[-1];
  166|  76.3k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE5beginEv:
  115|   777k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE4sizeEv:
  132|   777k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE3endEv:
  119|   777k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks15SmallVectorImplIcE5clearEv:
  378|  26.9k|  void clear() {
  379|  26.9k|    this->destroy_range(this->begin(), this->end());
  380|  26.9k|    this->EndX = this->BeginX;
  381|  26.9k|  }
_ZN7llvm_ks15SmallVectorImplIcE6appendIPKcEEvT_S5_:
  423|   215M|  void append(in_iter in_start, in_iter in_end) {
  424|   215M|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|   215M|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 5.39k, False: 215M]
  ------------------
  427|  5.39k|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|   215M|    this->uninitialized_copy(in_start, in_end, this->end());
  431|   215M|    this->setEnd(this->end() + NumInputs);
  432|   215M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIcvE12capacity_ptrEv:
  121|   215M|  iterator capacity_ptr() { return (iterator)this->CapacityX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyIKccEEvPT_S5_PT0_PNSt3__19enable_ifIXsr3std7is_sameINS8_12remove_constIS4_E4typeES6_EE5valueEvE4typeE:
  322|   216M|                                           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|   216M|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 216M, False: 114]
  ------------------
  328|   216M|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|   216M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE9push_backERKS4_:
  337|      8|  void push_back(const T &Elt) {
  338|      8|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|      8|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172: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|   511k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE6setEndEPS4_:
   95|      8|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE4sizeEv:
  132|  59.5k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE3endEv:
  119|  59.5k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE5beginEv:
  115|  59.5k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE9push_backERKS1_:
  337|  59.5k|  void push_back(const T &Elt) {
  338|  59.5k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  59.5k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 421, False: 59.1k]
  |  |  ------------------
  ------------------
  339|    421|      this->grow();
  340|  59.5k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  59.5k|    this->setEnd(this->end()+1);
  342|  59.5k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE4growEm:
  333|    421|  void grow(size_t MinSize = 0) {
  334|    421|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|    421|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE8grow_podEmm:
   80|    421|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|    421|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|    421|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE3endEv:
  117|   646k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE6setEndEPS1_:
   95|   100k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5beginEv:
  113|  48.1M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE5eraseEPS1_:
  462|  16.0M|  iterator erase(iterator I) {
  463|  16.0M|    assert(I >= this->begin() && "Iterator to erase is out of bounds.");
  ------------------
  |  Branch (463:5): [True: 16.0M, False: 0]
  |  Branch (463:5): [True: 16.0M, Folded]
  |  Branch (463:5): [True: 16.0M, False: 0]
  ------------------
  464|  16.0M|    assert(I < this->end() && "Erasing at past-the-end iterator.");
  ------------------
  |  Branch (464:5): [True: 16.0M, False: 0]
  |  Branch (464:5): [True: 16.0M, Folded]
  |  Branch (464:5): [True: 16.0M, False: 0]
  ------------------
  465|       |
  466|  16.0M|    iterator N = I;
  467|       |    // Shift all elts down one.
  468|  16.0M|    this->move(I+1, this->end(), I);
  469|       |    // Drop the last elt.
  470|  16.0M|    this->pop_back();
  471|  16.0M|    return(N);
  472|  16.0M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE3endEv:
  117|  96.2M|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE4moveIPS1_S4_EET0_T_S6_S5_:
  191|  16.0M|  static It2 move(It1 I, It1 E, It2 Dest) {
  192|  16.0M|    for (; I != E; ++I, ++Dest)
  ------------------
  |  Branch (192:12): [True: 0, False: 16.0M]
  ------------------
  193|      0|      *Dest = ::std::move(*I);
  194|  16.0M|    return Dest;
  195|  16.0M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE8pop_backEv:
  243|  16.0M|  void pop_back() {
  244|  16.0M|    this->setEnd(this->end()-1);
  245|  16.0M|    this->end()->~T();
  246|  16.0M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE6setEndEPS1_:
   95|  32.0M|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE12emplace_backIJS1_EEEvDpOT_:
  659|  16.0M|  template <typename... ArgTypes> void emplace_back(ArgTypes &&... Args) {
  660|  16.0M|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  16.0M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 16.0M]
  |  |  ------------------
  ------------------
  661|      0|      this->grow();
  662|  16.0M|    ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...);
  663|  16.0M|    this->setEnd(this->end() + 1);
  664|  16.0M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5beginEv:
  115|   139M|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE4sizeEv:
  132|  69.5M|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE3endEv:
  119|  69.5M|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EE13destroy_rangeEPS1_S3_:
  180|  13.4k|  static void destroy_range(T *S, T *E) {
  181|  26.9k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 13.4k, False: 13.4k]
  ------------------
  182|  13.4k|      --E;
  183|  13.4k|      E->~T();
  184|  13.4k|    }
  185|  13.4k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE7isSmallEv:
   86|  13.4k|  bool isSmall() const {
   87|  13.4k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  13.4k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvE5frontEv:
  154|  16.0M|  reference front() {
  155|  16.0M|    assert(!empty());
  ------------------
  |  Branch (155:5): [True: 16.0M, False: 0]
  ------------------
  156|  16.0M|    return begin()[0];
  157|  16.0M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvEixEm:
  149|  69.5M|  const_reference operator[](size_type idx) const {
  150|  69.5M|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 69.5M, False: 0]
  ------------------
  151|  69.5M|    return begin()[idx];
  152|  69.5M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EE13destroy_rangeEPS1_S3_:
  180|  52.5k|  static void destroy_range(T *S, T *E) {
  181|  52.5k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 0, False: 52.5k]
  ------------------
  182|      0|      --E;
  183|      0|      E->~T();
  184|      0|    }
  185|  52.5k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE5beginEv:
  113|   105k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE3endEv:
  117|   262k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE7isSmallEv:
   86|  52.5k|  bool isSmall() const {
   87|  52.5k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  52.5k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE5beginEv:
  115|  86.1k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE4sizeEv:
  132|  43.0k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE3endEv:
  119|  43.0k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE6setEndEPS1_:
   95|  52.5k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE4dataEv:
  141|  43.0k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks11SmallVectorINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEELj3EEC2Ev:
  872|     76|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     76|  }
_ZN7llvm_ks15SmallVectorImplINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEC2Ej:
  364|     76|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|     76|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEELb0EEC2Em:
  178|     76|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEvEC2Em:
   78|     76|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_11MCDwarfFileELj3EEC2Ev:
  872|     76|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     76|  }
_ZN7llvm_ks15SmallVectorImplINS_11MCDwarfFileEEC2Ej:
  364|     76|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|     76|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_11MCDwarfFileELb0EEC2Em:
  178|     76|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvEC2Em:
   78|     76|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_11MCDwarfFileEED2Ev:
  368|     76|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|     76|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|     76|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 76]
  ------------------
  374|      0|      free(this->begin());
  375|     76|  }
_ZN7llvm_ks15SmallVectorImplINSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEED2Ev:
  368|     76|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|     76|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|     76|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 76]
  ------------------
  374|      0|      free(this->begin());
  375|     76|  }
_ZN7llvm_ks11SmallVectorIcLj128EEC2Ev:
  872|   686k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   686k|  }
_ZN7llvm_ks11SmallVectorIPvLj4EEC2Ev:
  872|  80.7k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  80.7k|  }
_ZN7llvm_ks15SmallVectorImplIPvEC2Ej:
  364|  80.7k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  80.7k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EEC2Em:
  281|  80.7k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvEC2Em:
   78|  80.7k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINSt3__14pairIPvmEELj0EEC2Ev:
  872|  80.7k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  80.7k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEEC2Ej:
  364|  80.7k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  80.7k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EEC2Em:
  281|  80.7k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvEC2Em:
   78|  80.7k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIPvED2Ev:
  368|  80.7k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  80.7k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  80.7k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 204, False: 80.5k]
  ------------------
  374|    204|      free(this->begin());
  375|  80.7k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE13destroy_rangeEPS1_S3_:
  284|   121k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE5beginEv:
  113|   546k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPvvE7isSmallEv:
   86|  80.7k|  bool isSmall() const {
   87|  80.7k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  80.7k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE5beginEv:
  113|   511k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEED2Ev:
  368|  80.7k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  80.7k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  80.7k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 5, False: 80.7k]
  ------------------
  374|      5|      free(this->begin());
  375|  80.7k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIPvmEELb1EE13destroy_rangeEPS4_S6_:
  284|   201k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIPvmEEvE7isSmallEv:
   86|  80.7k|  bool isSmall() const {
   87|  80.7k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  80.7k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE4backEv:
  163|  54.2k|  reference back() {
  164|  54.2k|    assert(!empty());
  ------------------
  |  Branch (164:5): [True: 54.2k, False: 0]
  ------------------
  165|  54.2k|    return end()[-1];
  166|  54.2k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIPvmEEE5clearEv:
  378|   121k|  void clear() {
  379|   121k|    this->destroy_range(this->begin(), this->end());
  380|   121k|    this->EndX = this->BeginX;
  381|   121k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPvvE5frontEv:
  154|  40.7k|  reference front() {
  155|  40.7k|    assert(!empty());
  ------------------
  |  Branch (155:5): [True: 40.7k, False: 0]
  ------------------
  156|  40.7k|    return begin()[0];
  157|  40.7k|  }
_ZN7llvm_ks15SmallVectorImplIPvE5eraseEPS1_S3_:
  474|  40.7k|  iterator erase(iterator S, iterator E) {
  475|  40.7k|    assert(S >= this->begin() && "Range to erase is out of bounds.");
  ------------------
  |  Branch (475:5): [True: 40.7k, False: 0]
  |  Branch (475:5): [True: 40.7k, Folded]
  |  Branch (475:5): [True: 40.7k, False: 0]
  ------------------
  476|  40.7k|    assert(S <= E && "Trying to erase invalid range.");
  ------------------
  |  Branch (476:5): [True: 40.7k, False: 0]
  |  Branch (476:5): [True: 40.7k, Folded]
  |  Branch (476:5): [True: 40.7k, False: 0]
  ------------------
  477|  40.7k|    assert(E <= this->end() && "Trying to erase past the end.");
  ------------------
  |  Branch (477:5): [True: 40.7k, False: 0]
  |  Branch (477:5): [True: 40.7k, Folded]
  |  Branch (477:5): [True: 40.7k, False: 0]
  ------------------
  478|       |
  479|  40.7k|    iterator N = S;
  480|       |    // Shift all elts down.
  481|  40.7k|    iterator I = this->move(E, this->end(), S);
  482|       |    // Drop the last elts.
  483|  40.7k|    this->destroy_range(I, this->end());
  484|  40.7k|    this->setEnd(I);
  485|  40.7k|    return(N);
  486|  40.7k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPvLb1EE4moveIPS1_S4_EET0_T_S6_S5_:
  289|  40.7k|  static It2 move(It1 I, It1 E, It2 Dest) {
  290|  40.7k|    return ::std::copy(I, E, Dest);
  291|  40.7k|  }
_ZN7llvm_ks11SmallVectorIcLj128EEC2IPKcEET_S5_:
  881|   225k|  SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
  882|   225k|    this->append(S, E);
  883|   225k|  }
_ZN7llvm_ks15SmallVectorImplIcE6resizeEm:
  383|  80.4k|  void resize(size_type N) {
  384|  80.4k|    if (N < this->size()) {
  ------------------
  |  Branch (384:9): [True: 0, False: 80.4k]
  ------------------
  385|      0|      this->destroy_range(this->begin()+N, this->end());
  386|      0|      this->setEnd(this->begin()+N);
  387|  80.4k|    } else if (N > this->size()) {
  ------------------
  |  Branch (387:16): [True: 0, False: 80.4k]
  ------------------
  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|  80.4k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE8capacityEv:
  136|   258k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIcvE12capacity_ptrEv:
  122|   258k|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZN7llvm_ks11SmallVectorIcLj128EEC2ERKS1_:
  895|   225k|  SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) {
  896|   225k|    if (!RHS.empty())
  ------------------
  |  Branch (896:9): [True: 225k, False: 0]
  ------------------
  897|   225k|      SmallVectorImpl<T>::operator=(RHS);
  898|   225k|  }
_ZN7llvm_ks15SmallVectorImplIcEaSERKS1_:
  739|   225k|  operator=(const SmallVectorImpl<T> &RHS) {
  740|       |  // Avoid self-assignment.
  741|   225k|  if (this == &RHS) return *this;
  ------------------
  |  Branch (741:7): [True: 0, False: 225k]
  ------------------
  742|       |
  743|       |  // If we already have sufficient space, assign the common elements, then
  744|       |  // destroy any excess.
  745|   225k|  size_t RHSSize = RHS.size();
  746|   225k|  size_t CurSize = this->size();
  747|   225k|  if (CurSize >= RHSSize) {
  ------------------
  |  Branch (747:7): [True: 0, False: 225k]
  ------------------
  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|   225k|  if (this->capacity() < RHSSize) {
  ------------------
  |  Branch (766:7): [True: 126, False: 224k]
  ------------------
  767|       |    // Destroy current elements.
  768|    126|    this->destroy_range(this->begin(), this->end());
  769|    126|    this->setEnd(this->begin());
  770|    126|    CurSize = 0;
  771|    126|    this->grow(RHSSize);
  772|   224k|  } else if (CurSize) {
  ------------------
  |  Branch (772:14): [True: 0, False: 224k]
  ------------------
  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|   225k|  this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
  779|   225k|                           this->begin()+CurSize);
  780|       |
  781|       |  // Set end.
  782|   225k|  this->setEnd(this->begin()+RHSSize);
  783|   225k|  return *this;
  784|   225k|}
_ZN7llvm_ks11SmallVectorIcLj64EEC2Ev:
  872|  13.5k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  13.5k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE4sizeEv:
  132|     75|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE3endEv:
  119|     75|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_11MCDwarfFileEvE5beginEv:
  115|     75|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseIcLb1EE18uninitialized_copyIccEEvPT_S4_PT0_PNSt3__19enable_ifIXsr3std7is_sameINS7_12remove_constIS3_E4typeES5_EE5valueEvE4typeE:
  322|  7.18k|                                           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|  7.18k|    if (I != E)
  ------------------
  |  Branch (327:9): [True: 7.18k, False: 0]
  ------------------
  328|  7.18k|      memcpy(Dest, I, (E - I) * sizeof(T));
  329|  7.18k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_14MCDataFragmentEED2Ev:
  368|  13.4k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  13.4k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  13.4k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 13.4k]
  ------------------
  374|      0|      free(this->begin());
  375|  13.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_14MCDataFragmentELb1EE13destroy_rangeEPS2_S4_:
  284|  13.4k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE5beginEv:
  113|  13.4k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE3endEv:
  117|  13.4k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvE7isSmallEv:
   86|  13.4k|  bool isSmall() const {
   87|  13.4k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  13.4k|  }
_ZN7llvm_ks11SmallVectorIcLj32EEC2Ev:
  872|  12.2k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  12.2k|  }
_ZN7llvm_ks15SmallVectorImplINS_7MCFixupEED2Ev:
  368|  19.4k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  19.4k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  19.4k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 796, False: 18.6k]
  ------------------
  374|    796|      free(this->begin());
  375|  19.4k|  }
_ZN7llvm_ks11SmallVectorIPNS_14MCDataFragmentELj4EEC2Ev:
  872|  13.4k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  13.4k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_14MCDataFragmentEEC2Ej:
  364|  13.4k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  13.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_14MCDataFragmentELb1EEC2Em:
  281|  13.4k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_14MCDataFragmentEvEC2Em:
   78|  13.4k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorIcLj256EEC2Ev:
  872|   192k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   192k|  }
_ZN7llvm_ks15SmallVectorImplIcE6appendIPcEEvT_S4_:
  423|  7.18k|  void append(in_iter in_start, in_iter in_end) {
  424|  7.18k|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|  7.18k|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 132, False: 7.05k]
  ------------------
  427|    132|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|  7.18k|    this->uninitialized_copy(in_start, in_end, this->end());
  431|  7.18k|    this->setEnd(this->end() + NumInputs);
  432|  7.18k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE4sizeEv:
  132|  46.1k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE3endEv:
  119|  46.1k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE5beginEv:
  115|  55.5k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvEixEm:
  144|  22.5k|  reference operator[](size_type idx) {
  145|  22.5k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 22.5k, False: 0]
  ------------------
  146|  22.5k|    return begin()[idx];
  147|  22.5k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE9push_backERKS1_:
  337|  44.4k|  void push_back(const T &Elt) {
  338|  44.4k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  44.4k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 1.71k, False: 42.6k]
  |  |  ------------------
  ------------------
  339|  1.71k|      this->grow();
  340|  44.4k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  44.4k|    this->setEnd(this->end()+1);
  342|  44.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EE4growEm:
  333|  1.71k|  void grow(size_t MinSize = 0) {
  334|  1.71k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  1.71k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE8grow_podEmm:
   80|  1.71k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  1.71k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  1.71k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE6setEndEPS1_:
   95|  44.4k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks11SmallVectorINS_7MCFixupELj4EEC2Ev:
  872|  19.4k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  19.4k|  }
_ZN7llvm_ks15SmallVectorImplINS_7MCFixupEEC2Ej:
  364|  19.4k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  19.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7MCFixupELb1EEC2Em:
  281|  19.4k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvEC2Em:
   78|  19.4k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIPNS_9MCSectionEED2Ev:
  368|  6.88k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  6.88k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  6.88k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 6.88k]
  ------------------
  374|      0|      free(this->begin());
  375|  6.88k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EE13destroy_rangeEPS2_S4_:
  284|  6.88k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE5beginEv:
  113|  21.1k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE3endEv:
  117|  21.1k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE7isSmallEv:
   86|  6.88k|  bool isSmall() const {
   87|  6.88k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  6.88k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEED2Ev:
  368|  17.0k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  17.0k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  17.0k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 17.0k]
  ------------------
  374|      0|      free(this->begin());
  375|  17.0k|  }
_ZN7llvm_ks11SmallVectorIPNS_9MCSectionELj16EEC2Ev:
  872|  6.88k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  6.88k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_9MCSectionEEC2Ej:
  364|  6.88k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  6.88k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EEC2Em:
  281|  6.88k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvEC2Em:
   78|  6.88k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_9MCSectionELb1EE9push_backERKS2_:
  337|  7.14k|  void push_back(const T &Elt) {
  338|  7.14k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  7.14k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 7.14k]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|  7.14k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  7.14k|    this->setEnd(this->end()+1);
  342|  7.14k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE6setEndEPS2_:
   95|  7.14k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEED2Ev:
  368|  13.4k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  13.4k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  13.4k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 402, False: 13.0k]
  ------------------
  374|    402|      free(this->begin());
  375|  13.4k|  }
_ZN7llvm_ks11SmallVectorINS_9MCOperandELj8EEC2Ev:
  872|  9.83k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  9.83k|  }
_ZN7llvm_ks15SmallVectorImplINS_9MCOperandEEC2Ej:
  364|  17.0k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  17.0k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9MCOperandELb1EEC2Em:
  281|  17.0k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9MCOperandEvEC2Em:
   78|  17.0k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_9MCOperandELj8EEC2ERKS2_:
  895|  7.18k|  SmallVector(const SmallVector &RHS) : SmallVectorImpl<T>(N) {
  896|  7.18k|    if (!RHS.empty())
  ------------------
  |  Branch (896:9): [True: 7.02k, False: 161]
  ------------------
  897|  7.02k|      SmallVectorImpl<T>::operator=(RHS);
  898|  7.18k|  }
_ZN7llvm_ks11SmallVectorIPNS_8MCSymbolELj2EEC2Ev:
  872|  13.4k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  13.4k|  }
_ZN7llvm_ks15SmallVectorImplIPNS_8MCSymbolEEC2Ej:
  364|  13.4k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  13.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EEC2Em:
  281|  13.4k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_8MCSymbolEvEC2Em:
   78|  13.4k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplIcE6resizeEmRKc:
  396|  33.1k|  void resize(size_type N, const T &NV) {
  397|  33.1k|    if (N < this->size()) {
  ------------------
  |  Branch (397:9): [True: 0, False: 33.1k]
  ------------------
  398|      0|      this->destroy_range(this->begin()+N, this->end());
  399|      0|      this->setEnd(this->begin()+N);
  400|  33.1k|    } else if (N > this->size()) {
  ------------------
  |  Branch (400:16): [True: 33.1k, False: 0]
  ------------------
  401|  33.1k|      if (this->capacity() < N)
  ------------------
  |  Branch (401:11): [True: 821, False: 32.3k]
  ------------------
  402|    821|        this->grow(N);
  403|  33.1k|      std::uninitialized_fill(this->end(), this->begin()+N, NV);
  404|  33.1k|      this->setEnd(this->begin()+N);
  405|  33.1k|    }
  406|  33.1k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseIPNS_8MCSymbolELb1EE9push_backERKS2_:
  337|  57.9k|  void push_back(const T &Elt) {
  338|  57.9k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  57.9k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 849, False: 57.1k]
  |  |  ------------------
  ------------------
  339|    849|      this->grow();
  340|  57.9k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|  57.9k|    this->setEnd(this->end()+1);
  342|  57.9k|  }
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEED2Ev:
  368|  52.5k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  52.5k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  52.5k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 52.5k]
  ------------------
  374|      0|      free(this->begin());
  375|  52.5k|  }
_ZN7llvm_ks11SmallVectorINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELj8EEC2Ev:
  872|  9.30M|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  9.30M|  }
_ZN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEEC2Ej:
  364|  9.30M|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  9.30M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EEC2Em:
  178|  9.30M|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvEC2Em:
   78|  9.30M|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_5SMLocELj4EEC2Ev:
  872|  28.8k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  28.8k|  }
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEEC2Ej:
  364|  28.8k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  28.8k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EEC2Em:
  281|  28.8k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvEC2Em:
   78|  28.8k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEE6resizeEm:
  383|  39.3k|  void resize(size_type N) {
  384|  39.3k|    if (N < this->size()) {
  ------------------
  |  Branch (384:9): [True: 0, False: 39.3k]
  ------------------
  385|      0|      this->destroy_range(this->begin()+N, this->end());
  386|      0|      this->setEnd(this->begin()+N);
  387|  39.3k|    } else if (N > this->size()) {
  ------------------
  |  Branch (387:16): [True: 12.6k, False: 26.7k]
  ------------------
  388|  12.6k|      if (this->capacity() < N)
  ------------------
  |  Branch (388:11): [True: 2.34k, False: 10.3k]
  ------------------
  389|  2.34k|        this->grow(N);
  390|  71.7k|      for (auto I = this->end(), E = this->begin() + N; I != E; ++I)
  ------------------
  |  Branch (390:57): [True: 59.1k, False: 12.6k]
  ------------------
  391|  59.1k|        new (&*I) T();
  392|  12.6k|      this->setEnd(this->begin()+N);
  393|  12.6k|    }
  394|  39.3k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EE13destroy_rangeEPS1_S3_:
  284|  28.8k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE5beginEv:
  113|  68.1k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE3endEv:
  117|  41.5k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE6setEndEPS1_:
   95|  12.6k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE8capacityEv:
  136|  12.6k|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE12capacity_ptrEv:
  122|  12.6k|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE5beginEv:
  115|   115k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_5SMLocELb1EE4growEm:
  333|  2.34k|  void grow(size_t MinSize = 0) {
  334|  2.34k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  2.34k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE8grow_podEmm:
   80|  2.34k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  2.34k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  2.34k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE4sizeEv:
  132|   103k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE3endEv:
  119|   103k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvEixEm:
  144|  12.1k|  reference operator[](size_type idx) {
  145|  12.1k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 12.1k, False: 0]
  ------------------
  146|  12.1k|    return begin()[idx];
  147|  12.1k|  }
_ZN7llvm_ks15SmallVectorImplINS_5SMLocEED2Ev:
  368|  28.8k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  28.8k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  28.8k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 1.73k, False: 27.1k]
  ------------------
  374|  1.73k|      free(this->begin());
  375|  28.8k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_5SMLocEvE7isSmallEv:
   86|  28.8k|  bool isSmall() const {
   87|  28.8k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  28.8k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEED2Ev:
  368|  9.30M|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  9.30M|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  9.30M|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 116, False: 9.30M]
  ------------------
  374|    116|      free(this->begin());
  375|  9.30M|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE13destroy_rangeEPS6_S8_:
  180|  9.30M|  static void destroy_range(T *S, T *E) {
  181|  9.52M|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 218k, False: 9.30M]
  ------------------
  182|   218k|      --E;
  183|   218k|      E->~T();
  184|   218k|    }
  185|  9.30M|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE5beginEv:
  113|  9.30M|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE3endEv:
  117|  9.71M|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE7isSmallEv:
   86|  9.30M|  bool isSmall() const {
   87|  9.30M|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  9.30M|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE4sizeEv:
  132|   224k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE3endEv:
  119|   224k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE5beginEv:
  115|   252k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEED2Ev:
  368|  13.4k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  13.4k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  13.4k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 13.4k]
  ------------------
  374|      0|      free(this->begin());
  375|  13.4k|  }
_ZN7llvm_ks11SmallVectorINS_8AsmTokenELj1EEC2Ev:
  872|  13.4k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  13.4k|  }
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEEC2Ej:
  364|  13.4k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  13.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_8AsmTokenELb0EEC2Em:
  178|  13.4k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_8AsmTokenEvEC2Em:
   78|  13.4k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_8AsmTokenEE12emplace_backIJNS1_9TokenKindENS_9StringRefEEEEvDpOT_:
  659|  13.4k|  template <typename... ArgTypes> void emplace_back(ArgTypes &&... Args) {
  660|  13.4k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  13.4k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 13.4k]
  |  |  ------------------
  ------------------
  661|      0|      this->grow();
  662|  13.4k|    ::new ((void *)this->end()) T(std::forward<ArgTypes>(Args)...);
  663|  13.4k|    this->setEnd(this->end() + 1);
  664|  13.4k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjPNS_10MCFragmentEEEED2Ev:
  368|   585k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|   585k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|   585k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 585k]
  ------------------
  374|      0|      free(this->begin());
  375|   585k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjPNS_10MCFragmentEEELb1EE13destroy_rangeEPS5_S7_:
  284|   585k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE7isSmallEv:
   86|   585k|  bool isSmall() const {
   87|   585k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|   585k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairIjPNS_10MCFragmentEEELj1EEC2Ev:
  872|   585k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   585k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjPNS_10MCFragmentEEEEC2Ej:
  364|   585k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|   585k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjPNS_10MCFragmentEEELb1EEC2Em:
  281|   585k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvEC2Em:
   78|   585k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE5beginEv:
  113|   585k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjPNS_10MCFragmentEEEvE3endEv:
  117|   585k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvEixEm:
  144|   312k|  reference operator[](size_type idx) {
  145|   312k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 312k, False: 0]
  ------------------
  146|   312k|    return begin()[idx];
  147|   312k|  }
_ZN7llvm_ks15SmallVectorImplINS_9StringRefEED2Ev:
  368|   160k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|   160k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|   160k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 3.98k, False: 156k]
  ------------------
  374|  3.98k|      free(this->begin());
  375|   160k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE13destroy_rangeEPS1_S3_:
  284|   160k|  static void destroy_range(T *, T *) {}
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE7isSmallEv:
   86|   160k|  bool isSmall() const {
   87|   160k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|   160k|  }
_ZN7llvm_ks11SmallVectorINS_9StringRefELj5EEC2Ev:
  872|  12.2k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  12.2k|  }
_ZN7llvm_ks15SmallVectorImplINS_9StringRefEEC2Ej:
  364|   160k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|   160k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EEC2Em:
  281|   160k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvEC2Em:
   78|   160k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorINS_9StringRefELj1EEC2Ev:
  872|     24|  SmallVector() : SmallVectorImpl<T>(N) {
  873|     24|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE5beginEv:
  113|   490k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE3endEv:
  117|   561k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEED2Ev:
  368|  13.4k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  13.4k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  13.4k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 13.4k]
  ------------------
  374|      0|      free(this->begin());
  375|  13.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EE13destroy_rangeEPS9_SB_:
  284|  13.4k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE5beginEv:
  113|  13.4k|  iterator begin() { return (iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvE7isSmallEv:
   86|  13.4k|  bool isSmall() const {
   87|  13.4k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  13.4k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELj4EEC2Ev:
  872|  13.4k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  13.4k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEEC2Ej:
  364|  13.4k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  13.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EELb1EEC2Em:
  281|  13.4k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairINS2_IPNS_9MCSectionEPKNS_6MCExprEEES8_EEvEC2Em:
   78|  13.4k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks11SmallVectorIcLj16384EEC2Ev:
  872|      1|  SmallVector() : SmallVectorImpl<T>(N) {
  873|      1|  }
_ZN7llvm_ks15SmallVectorImplIcE7reserveEm:
  408|      1|  void reserve(size_type N) {
  409|      1|    if (this->capacity() < N)
  ------------------
  |  Branch (409:9): [True: 0, False: 1]
  ------------------
  410|      0|      this->grow(N);
  411|      1|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE6setEndEPS1_:
   95|   194k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks11SmallVectorINS_9StringRefELj4EEC2Ev:
  872|   134k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|   134k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE9push_backERKS1_:
  337|   194k|  void push_back(const T &Elt) {
  338|   194k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|   194k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 4.67k, False: 189k]
  |  |  ------------------
  ------------------
  339|  4.67k|      this->grow();
  340|   194k|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|   194k|    this->setEnd(this->end()+1);
  342|   194k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_9StringRefELb1EE4growEm:
  333|  4.67k|  void grow(size_t MinSize = 0) {
  334|  4.67k|    this->grow_pod(MinSize*sizeof(T), sizeof(T));
  335|  4.67k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_9StringRefEvE8grow_podEmm:
   80|  4.67k|  void grow_pod(size_t MinSizeInBytes, size_t TSize) {
   81|  4.67k|    SmallVectorBase::grow_pod(&FirstEl, MinSizeInBytes, TSize);
   82|  4.67k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjjEEED2Ev:
  368|  51.4k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  51.4k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  51.4k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 51.4k]
  ------------------
  374|      0|      free(this->begin());
  375|  51.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EE13destroy_rangeEPS3_S5_:
  284|  51.4k|  static void destroy_range(T *, T *) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE5beginEv:
  113|  51.4k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE3endEv:
  117|  51.5k|  iterator end() { return (iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE7isSmallEv:
   86|  51.4k|  bool isSmall() const {
   87|  51.4k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  51.4k|  }
_ZN7llvm_ks11SmallVectorINSt3__14pairIjjEELj4EEC2Ev:
  872|  51.4k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  51.4k|  }
_ZN7llvm_ks15SmallVectorImplINSt3__14pairIjjEEEC2Ej:
  364|  51.4k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  51.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EEC2Em:
  281|  51.4k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvEC2Em:
   78|  51.4k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__14pairIjjEELb1EE9push_backERKS3_:
  337|     44|  void push_back(const T &Elt) {
  338|     44|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|     44|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 44]
  |  |  ------------------
  ------------------
  339|      0|      this->grow();
  340|     44|    memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
  341|     44|    this->setEnd(this->end()+1);
  342|     44|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE6setEndEPS3_:
   95|     44|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE4dataEv:
  141|  51.4k|  const_pointer data() const { return const_pointer(begin()); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE5beginEv:
  115|   102k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE4sizeEv:
  132|  51.4k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__14pairIjjEEvE3endEv:
  119|  51.4k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZN7llvm_ks11SmallVectorINS_7SMFixItELj4EEC2IPKS1_EET_S6_:
  881|  52.5k|  SmallVector(ItTy S, ItTy E) : SmallVectorImpl<T>(N) {
  882|  52.5k|    this->append(S, E);
  883|  52.5k|  }
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEEC2Ej:
  364|  52.5k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  52.5k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EEC2Em:
  178|  52.5k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvEC2Em:
   78|  52.5k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_7SMFixItEE6appendIPKS1_EEvT_S6_:
  423|  52.5k|  void append(in_iter in_start, in_iter in_end) {
  424|  52.5k|    size_type NumInputs = std::distance(in_start, in_end);
  425|       |    // Grow allocated space if needed.
  426|  52.5k|    if (NumInputs > size_type(this->capacity_ptr()-this->end()))
  ------------------
  |  Branch (426:9): [True: 0, False: 52.5k]
  ------------------
  427|      0|      this->grow(this->size()+NumInputs);
  428|       |
  429|       |    // Copy the new elements over.
  430|  52.5k|    this->uninitialized_copy(in_start, in_end, this->end());
  431|  52.5k|    this->setEnd(this->end() + NumInputs);
  432|  52.5k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_7SMFixItEvE12capacity_ptrEv:
  121|  52.5k|  iterator capacity_ptr() { return (iterator)this->CapacityX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_7SMFixItELb0EE18uninitialized_copyIPKS1_PS1_EEvT_S7_T0_:
  219|  52.5k|  static void uninitialized_copy(It1 I, It1 E, It2 Dest) {
  220|  52.5k|    std::uninitialized_copy(I, E, Dest);
  221|  52.5k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE9push_backEOS6_:
  236|   207k|  void push_back(T &&Elt) {
  237|   207k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|   207k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 255, False: 207k]
  |  |  ------------------
  ------------------
  238|    255|      this->grow();
  239|   207k|    ::new ((void*) this->end()) T(::std::move(Elt));
  240|   207k|    this->setEnd(this->end()+1);
  241|   207k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE4growEm:
  251|    255|void SmallVectorTemplateBase<T, isPodLike>::grow(size_t MinSize) {
  252|    255|  size_t CurCapacity = this->capacity();
  253|    255|  size_t CurSize = this->size();
  254|       |  // Always grow, even from zero.
  255|    255|  size_t NewCapacity = size_t(NextPowerOf2(CurCapacity+2));
  256|    255|  if (NewCapacity < MinSize)
  ------------------
  |  Branch (256:7): [True: 0, False: 255]
  ------------------
  257|      0|    NewCapacity = MinSize;
  258|    255|  T *NewElts = static_cast<T*>(malloc(NewCapacity*sizeof(T)));
  259|       |
  260|       |  // Move the elements over.
  261|    255|  this->uninitialized_move(this->begin(), this->end(), NewElts);
  262|       |
  263|       |  // Destroy the original elements.
  264|    255|  destroy_range(this->begin(), this->end());
  265|       |
  266|       |  // If this wasn't grown from the inline copy, deallocate the old space.
  267|    255|  if (!this->isSmall())
  ------------------
  |  Branch (267:7): [True: 139, False: 116]
  ------------------
  268|    139|    free(this->begin());
  269|       |
  270|    255|  this->setEnd(NewElts+CurSize);
  271|    255|  this->BeginX = NewElts;
  272|    255|  this->CapacityX = this->begin()+NewCapacity;
  273|    255|}
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE8capacityEv:
  136|    255|  size_t capacity() const { return capacity_ptr() - begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE12capacity_ptrEv:
  122|    255|  const_iterator capacity_ptr() const { return (const_iterator)this->CapacityX;}
_ZN7llvm_ks23SmallVectorTemplateBaseINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEELb0EE18uninitialized_moveIPS6_S9_EEvT_SA_T0_:
  211|    255|  static void uninitialized_move(It1 I, It1 E, It2 Dest) {
  212|  11.1k|    for (; I != E; ++I, ++Dest)
  ------------------
  |  Branch (212:12): [True: 10.8k, False: 255]
  ------------------
  213|  10.8k|      ::new ((void*) &*Dest) T(::std::move(*I));
  214|    255|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvE6setEndEPS6_:
   95|   207k|  void setEnd(T *P) { this->EndX = P; }
_ZNK7llvm_ks25SmallVectorTemplateCommonINSt3__110unique_ptrINS_18MCParsedAsmOperandENS1_14default_deleteIS3_EEEEvEixEm:
  149|  28.4k|  const_reference operator[](size_type idx) const {
  150|  28.4k|    assert(idx < size());
  ------------------
  |  Branch (150:5): [True: 28.4k, False: 0]
  ------------------
  151|  28.4k|    return begin()[idx];
  152|  28.4k|  }
_ZN7llvm_ks15SmallVectorImplINS_6MCInstEEC2Ej:
  364|  9.83k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  9.83k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_6MCInstELb0EEC2Em:
  178|  9.83k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvEC2Em:
   78|  9.83k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks23SmallVectorTemplateBaseINS_6MCInstELb0EE9push_backERKS1_:
  229|  7.18k|  void push_back(const T &Elt) {
  230|  7.18k|    if (LLVM_UNLIKELY(this->EndX >= this->CapacityX))
  ------------------
  |  |  172|  7.18k|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 7.18k]
  |  |  ------------------
  ------------------
  231|      0|      this->grow();
  232|  7.18k|    ::new ((void*) this->end()) T(Elt);
  233|  7.18k|    this->setEnd(this->end()+1);
  234|  7.18k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvE5beginEv:
  113|  17.0k|  iterator begin() { return (iterator)this->BeginX; }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_6MCInstELb0EE13destroy_rangeEPS1_S3_:
  180|  9.83k|  static void destroy_range(T *S, T *E) {
  181|  17.0k|    while (S != E) {
  ------------------
  |  Branch (181:12): [True: 7.18k, False: 9.83k]
  ------------------
  182|  7.18k|      --E;
  183|  7.18k|      E->~T();
  184|  7.18k|    }
  185|  9.83k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvE7isSmallEv:
   86|  9.83k|  bool isSmall() const {
   87|  9.83k|    return BeginX == static_cast<const void*>(&FirstEl);
   88|  9.83k|  }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvE3endEv:
  117|  31.4k|  iterator end() { return (iterator)this->EndX; }
_ZN7llvm_ks25SmallVectorTemplateCommonINS_6MCInstEvE6setEndEPS1_:
   95|  7.18k|  void setEnd(T *P) { this->EndX = P; }
_ZN7llvm_ks15SmallVectorImplINS_6MCInstEED2Ev:
  368|  9.83k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  9.83k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  9.83k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 9.83k]
  ------------------
  374|      0|      free(this->begin());
  375|  9.83k|  }
_ZN7llvm_ks11SmallVectorINS_6MCInstELj8EEC2Ev:
  872|  9.83k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  9.83k|  }
_ZN7llvm_ks11SmallVectorINS_14MCLOHDirectiveELj32EEC2Ev:
  872|  13.4k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  13.4k|  }
_ZN7llvm_ks15SmallVectorImplINS_14MCLOHDirectiveEEC2Ej:
  364|  13.4k|    : SmallVectorTemplateBase<T, isPodLike<T>::value>(N*sizeof(T)) {
  365|  13.4k|  }
_ZN7llvm_ks23SmallVectorTemplateBaseINS_14MCLOHDirectiveELb0EEC2Em:
  178|  13.4k|  SmallVectorTemplateBase(size_t Size) : SmallVectorTemplateCommon<T>(Size) {}
_ZN7llvm_ks25SmallVectorTemplateCommonINS_14MCLOHDirectiveEvEC2Em:
   78|  13.4k|  SmallVectorTemplateCommon(size_t Size) : SmallVectorBase(&FirstEl, Size) {}
_ZN7llvm_ks15SmallVectorImplINS_14MCLOHDirectiveEED2Ev:
  368|  13.4k|  ~SmallVectorImpl() {
  369|       |    // Destroy the constructed elements in the vector.
  370|  13.4k|    this->destroy_range(this->begin(), this->end());
  371|       |
  372|       |    // If this wasn't grown from the inline copy, deallocate the old space.
  373|  13.4k|    if (!this->isSmall())
  ------------------
  |  Branch (373:9): [True: 0, False: 13.4k]
  ------------------
  374|      0|      free(this->begin());
  375|  13.4k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE4sizeEv:
  132|  28.0k|  size_type size() const { return end()-begin(); }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE3endEv:
  119|  28.0k|  const_iterator end() const { return (const_iterator)this->EndX; }
_ZNK7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvE5beginEv:
  115|  28.0k|  const_iterator begin() const { return (const_iterator)this->BeginX; }
_ZN7llvm_ks25SmallVectorTemplateCommonIPNS_9MCSectionEvEixEm:
  144|  14.2k|  reference operator[](size_type idx) {
  145|  14.2k|    assert(idx < size());
  ------------------
  |  Branch (145:5): [True: 14.2k, False: 0]
  ------------------
  146|  14.2k|    return begin()[idx];
  147|  14.2k|  }
_ZNK7llvm_ks25SmallVectorTemplateCommonINS_7MCFixupEvE4dataEv:
  141|  9.31k|  const_pointer data() const { return const_pointer(begin()); }
_ZN7llvm_ks11SmallVectorINS_9StringRefELj3EEC2Ev:
  872|  13.4k|  SmallVector() : SmallVectorImpl<T>(N) {
  873|  13.4k|  }

APFloat.cpp:_ZN7llvm_ksL13hexDigitValueEc:
   40|  69.4k|static inline unsigned hexDigitValue(char C) {
   41|  69.4k|  if (C >= '0' && C <= '9') return C-'0';
  ------------------
  |  Branch (41:7): [True: 69.4k, False: 0]
  |  Branch (41:19): [True: 32.8k, False: 36.6k]
  ------------------
   42|  36.6k|  if (C >= 'a' && C <= 'f') return C-'a'+10U;
  ------------------
  |  Branch (42:7): [True: 10.8k, False: 25.7k]
  |  Branch (42:19): [True: 6.09k, False: 4.78k]
  ------------------
   43|  30.5k|  if (C >= 'A' && C <= 'F') return C-'A'+10U;
  ------------------
  |  Branch (43:7): [True: 30.5k, False: 0]
  |  Branch (43:19): [True: 24.9k, False: 5.52k]
  ------------------
   44|  5.52k|  return -1U;
   45|  30.5k|}
StringMap.cpp:_ZN7llvm_ksL10HashStringENS_9StringRefEj:
  112|  6.52M|static inline unsigned HashString(StringRef Str, unsigned Result = 0) {
  113|  88.5M|  for (StringRef::size_type i = 0, e = Str.size(); i != e; ++i)
  ------------------
  |  Branch (113:52): [True: 82.0M, False: 6.52M]
  ------------------
  114|  82.0M|    Result = Result * 33 + (unsigned char)Str[i];
  115|  6.52M|  return Result;
  116|  6.52M|}

_ZN7llvm_ks18StringMapEntryBaseC2Ej:
   35|  2.93M|  explicit StringMapEntryBase(unsigned Len) : StrLen(Len) {}
_ZNK7llvm_ks18StringMapEntryBase12getKeyLengthEv:
   37|  3.81M|  unsigned getKeyLength() const { return StrLen; }
_ZN7llvm_ks13StringMapImplC2Ej:
   55|   107k|      : TheTable(nullptr),
   56|       |        // Initialize the map with zero buckets to allocation.
   57|   107k|        NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {}
_ZN7llvm_ks13StringMapImpl15getTombstoneValEv:
   95|  21.3M|  static StringMapEntryBase *getTombstoneVal() {
   96|  21.3M|    return (StringMapEntryBase*)-1;
   97|  21.3M|  }
_ZNK7llvm_ks13StringMapImpl5emptyEv:
  102|   175k|  bool empty() const { return NumItems == 0; }
_ZN7llvm_ks14StringMapEntryIjE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|   145k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|   145k|    unsigned AllocSize =
  201|   145k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|   145k|    this->~StringMapEntry();
  203|   145k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|   145k|  }
_ZNK7llvm_ks14StringMapEntryIbE5firstEv:
  143|  4.20k|  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
_ZNK7llvm_ks14StringMapEntryIbE10getKeyDataEv:
  141|   243k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEEC2Ev:
  224|  13.5k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEED2Ev:
  385|  13.5k|  ~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|  13.5k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 13.5k]
  ------------------
  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|  13.5k|    free(TheTable);
  398|  13.5k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEC2ES6_:
  229|  13.4k|    : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), Allocator(A) {}
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEC2ES4_:
  229|  13.4k|    : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))), Allocator(A) {}
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEEC2Ev:
  224|  13.4k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEEC2Ev:
  224|  13.4k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEED2Ev:
  385|  13.4k|  ~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|  13.4k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 13.4k]
  ------------------
  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|  13.4k|    free(TheTable);
  398|  13.4k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEE7DestroyINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEEvRT_:
  198|  23.6k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  23.6k|    unsigned AllocSize =
  201|  23.6k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  23.6k|    this->~StringMapEntry();
  203|  23.6k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  23.6k|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEED2Ev:
  385|  13.4k|  ~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|  13.4k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 13.4k]
  ------------------
  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|  13.4k|    free(TheTable);
  398|  13.4k|  }
_ZN7llvm_ks14StringMapEntryIbE7DestroyINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEEvRT_:
  198|   238k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|   238k|    unsigned AllocSize =
  201|   238k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|   238k|    this->~StringMapEntry();
  203|   238k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|   238k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEED2Ev:
  385|  13.4k|  ~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|  13.4k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 0, False: 13.4k]
  ------------------
  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|  13.4k|    free(TheTable);
  398|  13.4k|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|    340|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|    340|    unsigned AllocSize =
  201|    340|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|    340|    this->~StringMapEntry();
  203|    340|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|    340|  }
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEED2Ev:
  385|  13.4k|  ~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|  13.4k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 156, False: 13.3k]
  ------------------
  390|  2.65k|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 2.49k, False: 156]
  ------------------
  391|  2.49k|        StringMapEntryBase *Bucket = TheTable[I];
  392|  2.49k|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 156, False: 2.34k]
  |  Branch (392:23): [True: 156, False: 0]
  ------------------
  393|    156|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|    156|        }
  395|  2.49k|      }
  396|    156|    }
  397|  13.4k|    free(TheTable);
  398|  13.4k|  }
_ZN7llvm_ks14StringMapEntryIbE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|    156|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|    156|    unsigned AllocSize =
  201|    156|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|    156|    this->~StringMapEntry();
  203|    156|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|    156|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE5clearEv:
  349|  13.4k|  void clear() {
  350|  13.4k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 13.4k]
  ------------------
  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|   427k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 414k, False: 13.4k]
  ------------------
  355|   414k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|   414k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 238k, False: 175k]
  |  Branch (356:21): [True: 238k, False: 0]
  ------------------
  357|   238k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|   238k|      }
  359|   414k|      Bucket = nullptr;
  360|   414k|    }
  361|       |
  362|  13.4k|    NumItems = 0;
  363|  13.4k|    NumTombstones = 0;
  364|  13.4k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE5clearEv:
  349|  13.4k|  void clear() {
  350|  13.4k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 13.4k]
  ------------------
  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|   232k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 218k, False: 13.4k]
  ------------------
  355|   218k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|   218k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 23.6k, False: 195k]
  |  Branch (356:21): [True: 23.6k, False: 0]
  ------------------
  357|  23.6k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|  23.6k|      }
  359|   218k|      Bucket = nullptr;
  360|   218k|    }
  361|       |
  362|  13.4k|    NumItems = 0;
  363|  13.4k|    NumTombstones = 0;
  364|  13.4k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEE5clearEv:
  349|  13.4k|  void clear() {
  350|  13.4k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 13.2k, False: 194]
  ------------------
  351|       |
  352|       |    // Zap all values, resetting the keys back to non-present (not tombstone),
  353|       |    // which is safe because we're removing all elements.
  354|  3.31k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 3.12k, False: 194]
  ------------------
  355|  3.12k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|  3.12k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 340, False: 2.78k]
  |  Branch (356:21): [True: 340, False: 0]
  ------------------
  357|    340|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|    340|      }
  359|  3.12k|      Bucket = nullptr;
  360|  3.12k|    }
  361|       |
  362|    194|    NumItems = 0;
  363|    194|    NumTombstones = 0;
  364|    194|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEE5clearEv:
  349|  13.4k|  void clear() {
  350|  13.4k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 0, False: 13.4k]
  ------------------
  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|   250k|    for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (354:42): [True: 237k, False: 13.4k]
  ------------------
  355|   237k|      StringMapEntryBase *&Bucket = TheTable[I];
  356|   237k|      if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (356:11): [True: 145k, False: 91.5k]
  |  Branch (356:21): [True: 145k, False: 0]
  ------------------
  357|   145k|        static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  358|   145k|      }
  359|   237k|      Bucket = nullptr;
  360|   237k|    }
  361|       |
  362|  13.4k|    NumItems = 0;
  363|  13.4k|    NumTombstones = 0;
  364|  13.4k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEEixENS_9StringRefE:
  298|   287k|  ValueTy &operator[](StringRef Key) {
  299|   287k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|   287k|  }
_ZN7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|   287k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   287k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   287k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   287k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 263k, False: 23.6k]
  |  Branch (333:19): [True: 263k, False: 0]
  ------------------
  334|   263k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|   263k|                            false); // Already exists in map.
  336|       |
  337|  23.6k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 23.6k]
  ------------------
  338|      0|      --NumTombstones;
  339|  23.6k|    Bucket =
  340|  23.6k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  23.6k|    ++NumItems;
  342|  23.6k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 23.6k, False: 0]
  ------------------
  343|       |
  344|  23.6k|    BucketNo = RehashTable(BucketNo);
  345|  23.6k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  23.6k|  }
_ZN7llvm_ks17StringMapIteratorIPNS_8MCSymbolEEC2EPPNS_18StringMapEntryBaseEb:
  452|   287k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   287k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEC2EPPNS_18StringMapEntryBaseEb:
  412|   548k|  : Ptr(Bucket) {
  413|   548k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 287k, False: 261k]
  ------------------
  414|   548k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEE23AdvancePastEmptyBucketsEv:
  440|   287k|  void AdvancePastEmptyBuckets() {
  441|   287k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 287k]
  |  Branch (441:31): [True: 0, False: 287k]
  ------------------
  442|      0|      ++Ptr;
  443|   287k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEE6CreateINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEES2_EEPS3_NS_9StringRefERT_OT0_:
  149|  23.6k|                                InitType &&InitVal) {
  150|  23.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|  23.6k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  23.6k|      KeyLength+1;
  156|  23.6k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  23.6k|    StringMapEntry *NewItem =
  159|  23.6k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  23.6k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  23.6k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  23.6k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 23.4k, False: 194]
  ------------------
  167|  23.4k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  23.6k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  23.6k|    return NewItem;
  170|  23.6k|  }
_ZN7llvm_ks14StringMapEntryIPNS_8MCSymbolEEC2IS2_EEjOT_:
  127|  23.6k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIPNS_8MCSymbolEE10getKeyDataEv:
  141|  23.6k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIPNS_8MCSymbolEEptEv:
  457|   287k|  StringMapEntry<ValueTy> *operator->() const {
  458|   287k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|   287k|  }
_ZN7llvm_ks9StringMapIbRNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6insertENSt3__14pairINS_9StringRefEbEE:
  330|   238k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   238k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   238k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   238k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 146, False: 238k]
  |  Branch (333:19): [True: 146, False: 0]
  ------------------
  334|    146|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|    146|                            false); // Already exists in map.
  336|       |
  337|   238k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 238k]
  ------------------
  338|      0|      --NumTombstones;
  339|   238k|    Bucket =
  340|   238k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|   238k|    ++NumItems;
  342|   238k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 238k, False: 0]
  ------------------
  343|       |
  344|   238k|    BucketNo = RehashTable(BucketNo);
  345|   238k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|   238k|  }
_ZN7llvm_ks17StringMapIteratorIbEC2EPPNS_18StringMapEntryBaseEb:
  452|   239k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   239k|  }
_ZN7llvm_ks22StringMapConstIteratorIbEC2EPPNS_18StringMapEntryBaseEb:
  412|   239k|  : Ptr(Bucket) {
  413|   239k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 239k, False: 0]
  ------------------
  414|   239k|  }
_ZN7llvm_ks22StringMapConstIteratorIbE23AdvancePastEmptyBucketsEv:
  440|   239k|  void AdvancePastEmptyBuckets() {
  441|   239k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 239k]
  |  Branch (441:31): [True: 0, False: 239k]
  ------------------
  442|      0|      ++Ptr;
  443|   239k|  }
_ZN7llvm_ks14StringMapEntryIbE6CreateINS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEbEEPS1_NS_9StringRefERT_OT0_:
  149|   238k|                                InitType &&InitVal) {
  150|   238k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|   238k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|   238k|      KeyLength+1;
  156|   238k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|   238k|    StringMapEntry *NewItem =
  159|   238k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|   238k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|   238k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|   238k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 238k, False: 194]
  ------------------
  167|   238k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|   238k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|   238k|    return NewItem;
  170|   238k|  }
_ZN7llvm_ks14StringMapEntryIbEC2IbEEjOT_:
  127|   238k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks17StringMapIteratorIbEdeEv:
  454|   252k|  StringMapEntry<ValueTy> &operator*() const {
  455|   252k|    return *static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  456|   252k|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEEixENS_9StringRefE:
  298|   225k|  ValueTy &operator[](StringRef Key) {
  299|   225k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|   225k|  }
_ZN7llvm_ks9StringMapIjNS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefEjEE:
  330|   225k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   225k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   225k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   225k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 79.1k, False: 145k]
  |  Branch (333:19): [True: 79.1k, False: 0]
  ------------------
  334|  79.1k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|  79.1k|                            false); // Already exists in map.
  336|       |
  337|   145k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 145k]
  ------------------
  338|      0|      --NumTombstones;
  339|   145k|    Bucket =
  340|   145k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|   145k|    ++NumItems;
  342|   145k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 145k, False: 0]
  ------------------
  343|       |
  344|   145k|    BucketNo = RehashTable(BucketNo);
  345|   145k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|   145k|  }
_ZN7llvm_ks17StringMapIteratorIjEC2EPPNS_18StringMapEntryBaseEb:
  452|   225k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   225k|  }
_ZN7llvm_ks22StringMapConstIteratorIjEC2EPPNS_18StringMapEntryBaseEb:
  412|   225k|  : Ptr(Bucket) {
  413|   225k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 225k, False: 0]
  ------------------
  414|   225k|  }
_ZN7llvm_ks22StringMapConstIteratorIjE23AdvancePastEmptyBucketsEv:
  440|   225k|  void AdvancePastEmptyBuckets() {
  441|   225k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 225k]
  |  Branch (441:31): [True: 0, False: 225k]
  ------------------
  442|      0|      ++Ptr;
  443|   225k|  }
_ZN7llvm_ks14StringMapEntryIjE6CreateINS_15MallocAllocatorEjEEPS1_NS_9StringRefERT_OT0_:
  149|   145k|                                InitType &&InitVal) {
  150|   145k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|   145k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|   145k|      KeyLength+1;
  156|   145k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|   145k|    StringMapEntry *NewItem =
  159|   145k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|   145k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|   145k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|   145k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 145k, False: 0]
  ------------------
  167|   145k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|   145k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|   145k|    return NewItem;
  170|   145k|  }
_ZN7llvm_ks14StringMapEntryIjEC2IjEEjOT_:
  127|   145k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIjE10getKeyDataEv:
  141|   145k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIjEptEv:
  457|   225k|  StringMapEntry<ValueTy> *operator->() const {
  458|   225k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|   225k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE6lookupENS_9StringRefE:
  291|   130k|  ValueTy lookup(StringRef Key) const {
  292|   130k|    const_iterator it = find(Key);
  293|   130k|    if (it != end())
  ------------------
  |  Branch (293:9): [True: 97.9k, False: 32.7k]
  ------------------
  294|  97.9k|      return it->second;
  295|  32.7k|    return ValueTy();
  296|   130k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE4findENS_9StringRefE:
  283|   130k|  const_iterator find(StringRef Key) const {
  284|   130k|    int Bucket = FindKey(Key);
  285|   130k|    if (Bucket == -1) return end();
  ------------------
  |  Branch (285:9): [True: 32.7k, False: 97.9k]
  ------------------
  286|  97.9k|    return const_iterator(TheTable+Bucket, true);
  287|   130k|  }
_ZNK7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEneERKS3_:
  426|   130k|  bool operator!=(const StringMapConstIterator &RHS) const {
  427|   130k|    return Ptr != RHS.Ptr;
  428|   130k|  }
_ZNK7llvm_ks9StringMapIPNS_8MCSymbolERNS_20BumpPtrAllocatorImplINS_15MallocAllocatorELm4096ELm4096EEEE3endEv:
  273|   163k|  const_iterator end() const {
  274|   163k|    return const_iterator(TheTable+NumBuckets, true);
  275|   163k|  }
_ZNK7llvm_ks22StringMapConstIteratorIPNS_8MCSymbolEEptEv:
  419|  97.9k|  const value_type *operator->() const {
  420|  97.9k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|  97.9k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEEixENS_9StringRefE:
  298|  13.5k|  ValueTy &operator[](StringRef Key) {
  299|  13.5k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  13.5k|  }
_ZN7llvm_ks9StringMapIPNS_14MCSectionMachOENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|  13.5k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  13.5k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  13.5k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  13.5k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 13.2k, False: 340]
  |  Branch (333:19): [True: 13.2k, False: 0]
  ------------------
  334|  13.2k|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|  13.2k|                            false); // Already exists in map.
  336|       |
  337|    340|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 340]
  ------------------
  338|      0|      --NumTombstones;
  339|    340|    Bucket =
  340|    340|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|    340|    ++NumItems;
  342|    340|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 340, False: 0]
  ------------------
  343|       |
  344|    340|    BucketNo = RehashTable(BucketNo);
  345|    340|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|    340|  }
_ZN7llvm_ks17StringMapIteratorIPNS_14MCSectionMachOEEC2EPPNS_18StringMapEntryBaseEb:
  452|  13.5k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  13.5k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_14MCSectionMachOEEC2EPPNS_18StringMapEntryBaseEb:
  412|  13.5k|  : Ptr(Bucket) {
  413|  13.5k|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 13.5k, False: 0]
  ------------------
  414|  13.5k|  }
_ZN7llvm_ks22StringMapConstIteratorIPNS_14MCSectionMachOEE23AdvancePastEmptyBucketsEv:
  440|  13.5k|  void AdvancePastEmptyBuckets() {
  441|  13.5k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 13.5k]
  |  Branch (441:31): [True: 0, False: 13.5k]
  ------------------
  442|      0|      ++Ptr;
  443|  13.5k|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE6CreateINS_15MallocAllocatorES2_EEPS3_NS_9StringRefERT_OT0_:
  149|    340|                                InitType &&InitVal) {
  150|    340|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|    340|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|    340|      KeyLength+1;
  156|    340|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|    340|    StringMapEntry *NewItem =
  159|    340|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|    340|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|    340|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|    340|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 340, False: 0]
  ------------------
  167|    340|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|    340|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|    340|    return NewItem;
  170|    340|  }
_ZN7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEEC2IS2_EEjOT_:
  127|    340|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryIPNS_14MCSectionMachOEE10getKeyDataEv:
  141|    340|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorIPNS_14MCSectionMachOEEptEv:
  457|  13.5k|  StringMapEntry<ValueTy> *operator->() const {
  458|  13.5k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  13.5k|  }
_ZN7llvm_ks17StringMapIteratorIbEC2Ev:
  449|    156|  StringMapIterator() {}
_ZN7llvm_ks22StringMapConstIteratorIbEC2Ev:
  408|    156|  StringMapConstIterator() : Ptr(nullptr) { }
_ZN7llvm_ks9StringMapIbNS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefEbEE:
  330|    156|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|    156|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|    156|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|    156|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 156]
  |  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|    156|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 156]
  ------------------
  338|      0|      --NumTombstones;
  339|    156|    Bucket =
  340|    156|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|    156|    ++NumItems;
  342|    156|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 156, False: 0]
  ------------------
  343|       |
  344|    156|    BucketNo = RehashTable(BucketNo);
  345|    156|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|    156|  }
_ZN7llvm_ks14StringMapEntryIbE6CreateINS_15MallocAllocatorEbEEPS1_NS_9StringRefERT_OT0_:
  149|    156|                                InitType &&InitVal) {
  150|    156|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|    156|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|    156|      KeyLength+1;
  156|    156|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|    156|    StringMapEntry *NewItem =
  159|    156|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|    156|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|    156|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|    156|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 156, False: 0]
  ------------------
  167|    156|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|    156|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|    156|    return NewItem;
  170|    156|  }
_ZNK7llvm_ks17StringMapIteratorIbEptEv:
  457|    156|  StringMapEntry<ValueTy> *operator->() const {
  458|    156|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|    156|  }
_ZNK7llvm_ks14StringMapEntryIbE6getKeyEv:
  129|    156|  StringRef getKey() const {
  130|    156|    return StringRef(getKeyData(), getKeyLength());
  131|    156|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEEC2Ev:
  224|  13.4k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEEC2Ev:
  224|  13.4k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEEC2Ev:
  224|  13.4k|  StringMap() : StringMapImpl(static_cast<unsigned>(sizeof(MapEntryTy))) {}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEED2Ev:
  385|  13.4k|  ~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|  13.4k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 13.4k, False: 0]
  ------------------
  390|  3.45M|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 3.44M, False: 13.4k]
  ------------------
  391|  3.44M|        StringMapEntryBase *Bucket = TheTable[I];
  392|  3.44M|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 1.64M, False: 1.80M]
  |  Branch (392:23): [True: 1.64M, False: 0]
  ------------------
  393|  1.64M|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|  1.64M|        }
  395|  3.44M|      }
  396|  13.4k|    }
  397|  13.4k|    free(TheTable);
  398|  13.4k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|  1.64M|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|  1.64M|    unsigned AllocSize =
  201|  1.64M|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|  1.64M|    this->~StringMapEntry();
  203|  1.64M|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|  1.64M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEED2Ev:
  385|  13.4k|  ~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|  13.4k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 595, False: 12.8k]
  ------------------
  390|  10.1k|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 9.52k, False: 595]
  ------------------
  391|  9.52k|        StringMapEntryBase *Bucket = TheTable[I];
  392|  9.52k|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 653, False: 8.86k]
  |  Branch (392:23): [True: 653, False: 0]
  ------------------
  393|    653|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|    653|        }
  395|  9.52k|      }
  396|    595|    }
  397|  13.4k|    free(TheTable);
  398|  13.4k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|    653|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|    653|    unsigned AllocSize =
  201|    653|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|    653|    this->~StringMapEntry();
  203|    653|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|    653|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEED2Ev:
  385|  13.4k|  ~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|  13.4k|    if (!empty()) {
  ------------------
  |  Branch (389:9): [True: 13.4k, False: 0]
  ------------------
  390|  1.73M|      for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (390:44): [True: 1.72M, False: 13.4k]
  ------------------
  391|  1.72M|        StringMapEntryBase *Bucket = TheTable[I];
  392|  1.72M|        if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (392:13): [True: 888k, False: 834k]
  |  Branch (392:23): [True: 888k, False: 0]
  ------------------
  393|   888k|          static_cast<MapEntryTy*>(Bucket)->Destroy(Allocator);
  394|   888k|        }
  395|  1.72M|      }
  396|  13.4k|    }
  397|  13.4k|    free(TheTable);
  398|  13.4k|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE7DestroyINS_15MallocAllocatorEEEvRT_:
  198|   888k|  void Destroy(AllocatorTy &Allocator) {
  199|       |    // Free memory referenced by the item.
  200|   888k|    unsigned AllocSize =
  201|   888k|        static_cast<unsigned>(sizeof(StringMapEntry)) + getKeyLength() + 1;
  202|   888k|    this->~StringMapEntry();
  203|   888k|    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
  204|   888k|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEEixES5_:
  298|   888k|  ValueTy &operator[](StringRef Key) {
  299|   888k|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|   888k|  }
_ZN7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE6insertENS2_IS5_S9_EE:
  330|   888k|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|   888k|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|   888k|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|   888k|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 888k]
  |  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|   888k|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 888k]
  ------------------
  338|      0|      --NumTombstones;
  339|   888k|    Bucket =
  340|   888k|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|   888k|    ++NumItems;
  342|   888k|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 888k, False: 0]
  ------------------
  343|       |
  344|   888k|    BucketNo = RehashTable(BucketNo);
  345|   888k|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|   888k|  }
_ZN7llvm_ks17StringMapIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2EPPNS_18StringMapEntryBaseEb:
  452|   888k|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|   888k|  }
_ZN7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2EPPNS_18StringMapEntryBaseEb:
  412|  3.14M|  : Ptr(Bucket) {
  413|  3.14M|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 888k, False: 2.25M]
  ------------------
  414|  3.14M|  }
_ZN7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE23AdvancePastEmptyBucketsEv:
  440|   888k|  void AdvancePastEmptyBuckets() {
  441|   888k|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 888k]
  |  Branch (441:31): [True: 0, False: 888k]
  ------------------
  442|      0|      ++Ptr;
  443|   888k|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE6CreateINS_15MallocAllocatorES9_EEPSA_S5_RT_OT0_:
  149|   888k|                                InitType &&InitVal) {
  150|   888k|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|   888k|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|   888k|      KeyLength+1;
  156|   888k|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|   888k|    StringMapEntry *NewItem =
  159|   888k|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|   888k|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|   888k|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|   888k|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 888k, False: 0]
  ------------------
  167|   888k|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|   888k|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|   888k|    return NewItem;
  170|   888k|  }
_ZN7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEC2IS9_EEjOT_:
  127|   888k|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
_ZNK7llvm_ks14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEE10getKeyDataEv:
  141|   888k|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
_ZNK7llvm_ks17StringMapIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEptEv:
  457|   888k|  StringMapEntry<ValueTy> *operator->() const {
  458|   888k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|   888k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEEixENS_9StringRefE:
  298|  1.64M|  ValueTy &operator[](StringRef Key) {
  299|  1.64M|    return insert(std::make_pair(Key, ValueTy())).first->second;
  300|  1.64M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES3_EE:
  330|  1.64M|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|  1.64M|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|  1.64M|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|  1.64M|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 1.64M]
  |  Branch (333:19): [True: 0, False: 0]
  ------------------
  334|      0|      return std::make_pair(iterator(TheTable + BucketNo, false),
  335|      0|                            false); // Already exists in map.
  336|       |
  337|  1.64M|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 1.64M]
  ------------------
  338|      0|      --NumTombstones;
  339|  1.64M|    Bucket =
  340|  1.64M|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|  1.64M|    ++NumItems;
  342|  1.64M|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 1.64M, False: 0]
  ------------------
  343|       |
  344|  1.64M|    BucketNo = RehashTable(BucketNo);
  345|  1.64M|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|  1.64M|  }
AsmParser.cpp:_ZN7llvm_ks17StringMapIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2EPPNS_18StringMapEntryBaseEb:
  452|  5.42M|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  5.42M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2EPPNS_18StringMapEntryBaseEb:
  412|  5.42M|  : Ptr(Bucket) {
  413|  5.42M|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 1.64M, False: 3.78M]
  ------------------
  414|  5.42M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEE23AdvancePastEmptyBucketsEv:
  440|  1.64M|  void AdvancePastEmptyBuckets() {
  441|  1.64M|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 1.64M]
  |  Branch (441:31): [True: 0, False: 1.64M]
  ------------------
  442|      0|      ++Ptr;
  443|  1.64M|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE6CreateINS_15MallocAllocatorES3_EEPS4_NS_9StringRefERT_OT0_:
  149|  1.64M|                                InitType &&InitVal) {
  150|  1.64M|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|  1.64M|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|  1.64M|      KeyLength+1;
  156|  1.64M|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|  1.64M|    StringMapEntry *NewItem =
  159|  1.64M|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|  1.64M|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|  1.64M|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|  1.64M|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 1.64M, False: 0]
  ------------------
  167|  1.64M|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|  1.64M|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|  1.64M|    return NewItem;
  170|  1.64M|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEEC2IS3_EEjOT_:
  127|  1.64M|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE10getKeyDataEv:
  141|  1.64M|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AsmParser.cpp:_ZNK7llvm_ks17StringMapIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEptEv:
  457|  1.64M|  StringMapEntry<ValueTy> *operator->() const {
  458|  1.64M|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  1.64M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE4findENS_9StringRefE:
  277|  1.89M|  iterator find(StringRef Key) {
  278|  1.89M|    int Bucket = FindKey(Key);
  279|  1.89M|    if (Bucket == -1) return end();
  ------------------
  |  Branch (279:9): [True: 1.51M, False: 370k]
  ------------------
  280|   370k|    return iterator(TheTable+Bucket, true);
  281|  1.89M|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEeqERKS4_:
  423|  1.89M|  bool operator==(const StringMapConstIterator &RHS) const {
  424|  1.89M|    return Ptr == RHS.Ptr;
  425|  1.89M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE3endEv:
  267|  3.41M|  iterator end() {
  268|  3.41M|    return iterator(TheTable+NumBuckets, true);
  269|  3.41M|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_19AsmParser13DirectiveKindEEptEv:
  419|   370k|  const value_type *operator->() const {
  420|   370k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|   370k|  }
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEE8getValueEv:
  133|   370k|  const ValueTy &getValue() const { return second; }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE4findENS_9StringRefE:
  277|  1.32M|  iterator find(StringRef Key) {
  278|  1.32M|    int Bucket = FindKey(Key);
  279|  1.32M|    if (Bucket == -1) return end();
  ------------------
  |  Branch (279:9): [True: 1.29M, False: 28.2k]
  ------------------
  280|  28.2k|    return iterator(TheTable+Bucket, true);
  281|  1.32M|  }
AsmParser.cpp:_ZN7llvm_ks17StringMapIteratorIN12_GLOBAL__N_110MCAsmMacroEEC2EPPNS_18StringMapEntryBaseEb:
  452|  2.65M|    : StringMapConstIterator<ValueTy>(Bucket, NoAdvance) {
  453|  2.65M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEEC2EPPNS_18StringMapEntryBaseEb:
  412|  2.65M|  : Ptr(Bucket) {
  413|  2.65M|    if (!NoAdvance) AdvancePastEmptyBuckets();
  ------------------
  |  Branch (413:9): [True: 653, False: 2.65M]
  ------------------
  414|  2.65M|  }
AsmParser.cpp:_ZN7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEE23AdvancePastEmptyBucketsEv:
  440|    653|  void AdvancePastEmptyBuckets() {
  441|    653|    while (*Ptr == nullptr || *Ptr == StringMapImpl::getTombstoneVal())
  ------------------
  |  Branch (441:12): [True: 0, False: 653]
  |  Branch (441:31): [True: 0, False: 653]
  ------------------
  442|      0|      ++Ptr;
  443|    653|  }
AsmParser.cpp:_ZNK7llvm_ks22StringMapConstIteratorIN12_GLOBAL__N_110MCAsmMacroEEeqERKS3_:
  423|  1.32M|  bool operator==(const StringMapConstIterator &RHS) const {
  424|  1.32M|    return Ptr == RHS.Ptr;
  425|  1.32M|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE3endEv:
  267|  2.62M|  iterator end() {
  268|  2.62M|    return iterator(TheTable+NumBuckets, true);
  269|  2.62M|  }
AsmParser.cpp:_ZNK7llvm_ks17StringMapIteratorIN12_GLOBAL__N_110MCAsmMacroEEptEv:
  457|  28.2k|  StringMapEntry<ValueTy> *operator->() const {
  458|  28.2k|    return static_cast<StringMapEntry<ValueTy>*>(*this->Ptr);
  459|  28.2k|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE8getValueEv:
  134|  28.2k|  ValueTy &getValue() { return second; }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE6lookupES5_:
  291|  1.12M|  ValueTy lookup(StringRef Key) const {
  292|  1.12M|    const_iterator it = find(Key);
  293|  1.12M|    if (it != end())
  ------------------
  |  Branch (293:9): [True: 14.9k, False: 1.11M]
  ------------------
  294|  14.9k|      return it->second;
  295|  1.11M|    return ValueTy();
  296|  1.12M|  }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE4findES5_:
  283|  1.12M|  const_iterator find(StringRef Key) const {
  284|  1.12M|    int Bucket = FindKey(Key);
  285|  1.12M|    if (Bucket == -1) return end();
  ------------------
  |  Branch (285:9): [True: 1.11M, False: 14.9k]
  ------------------
  286|  14.9k|    return const_iterator(TheTable+Bucket, true);
  287|  1.12M|  }
_ZNK7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEneERKSA_:
  426|  1.12M|  bool operator!=(const StringMapConstIterator &RHS) const {
  427|  1.12M|    return Ptr != RHS.Ptr;
  428|  1.12M|  }
_ZNK7llvm_ks9StringMapINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEENS_15MallocAllocatorEE3endEv:
  273|  2.24M|  const_iterator end() const {
  274|  2.24M|    return const_iterator(TheTable+NumBuckets, true);
  275|  2.24M|  }
_ZNK7llvm_ks22StringMapConstIteratorINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS4_NS_9StringRefENS_5SMLocEEEEEptEv:
  419|  14.9k|  const value_type *operator->() const {
  420|  14.9k|    return static_cast<StringMapEntry<ValueTy>*>(*Ptr);
  421|  14.9k|  }
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_110MCAsmMacroENS_15MallocAllocatorEE6insertENSt3__14pairINS_9StringRefES2_EE:
  330|    653|  std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
  331|    653|    unsigned BucketNo = LookupBucketFor(KV.first);
  332|    653|    StringMapEntryBase *&Bucket = TheTable[BucketNo];
  333|    653|    if (Bucket && Bucket != getTombstoneVal())
  ------------------
  |  Branch (333:9): [True: 0, False: 653]
  |  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|    653|    if (Bucket == getTombstoneVal())
  ------------------
  |  Branch (337:9): [True: 0, False: 653]
  ------------------
  338|      0|      --NumTombstones;
  339|    653|    Bucket =
  340|    653|        MapEntryTy::Create(KV.first, Allocator, std::move(KV.second));
  341|    653|    ++NumItems;
  342|    653|    assert(NumItems + NumTombstones <= NumBuckets);
  ------------------
  |  Branch (342:5): [True: 653, False: 0]
  ------------------
  343|       |
  344|    653|    BucketNo = RehashTable(BucketNo);
  345|    653|    return std::make_pair(iterator(TheTable + BucketNo, false), true);
  346|    653|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE6CreateINS_15MallocAllocatorES2_EEPS3_NS_9StringRefERT_OT0_:
  149|    653|                                InitType &&InitVal) {
  150|    653|    unsigned KeyLength = Key.size();
  151|       |
  152|       |    // Allocate a new item with space for the string at the end and a null
  153|       |    // terminator.
  154|    653|    unsigned AllocSize = static_cast<unsigned>(sizeof(StringMapEntry))+
  155|    653|      KeyLength+1;
  156|    653|    unsigned Alignment = alignOf<StringMapEntry>();
  157|       |
  158|    653|    StringMapEntry *NewItem =
  159|    653|      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
  160|       |
  161|       |    // Default construct the value.
  162|    653|    new (NewItem) StringMapEntry(KeyLength, std::forward<InitType>(InitVal));
  163|       |
  164|       |    // Copy the string information.
  165|    653|    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
  166|    653|    if (KeyLength > 0)
  ------------------
  |  Branch (166:9): [True: 627, False: 26]
  ------------------
  167|    627|      memcpy(StrBuffer, Key.data(), KeyLength);
  168|    653|    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
  169|    653|    return NewItem;
  170|    653|  }
AsmParser.cpp:_ZN7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEEC2IS2_EEjOT_:
  127|    653|      : StringMapEntryBase(strLen), second(std::forward<InitTy>(V)) {}
AsmParser.cpp:_ZNK7llvm_ks14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEE10getKeyDataEv:
  141|    653|  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AsmParser.cpp:_ZN7llvm_ks9StringMapIN12_GLOBAL__N_19AsmParser13DirectiveKindENS_15MallocAllocatorEE5clearEv:
  349|  13.4k|  void clear() {
  350|  13.4k|    if (empty()) return;
  ------------------
  |  Branch (350:9): [True: 13.4k, 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|  3.12M|      : Data(Str.data()), Length(Str.length()) {}
_ZN7llvm_ks9StringRefC2EPKc:
   72|  16.9M|      : Data(Str) {
   73|       |        //assert(Str && "StringRef cannot be built from a NULL argument");
   74|  16.9M|        if (!Str)
  ------------------
  |  Branch (74:13): [True: 4, False: 16.9M]
  ------------------
   75|      4|            Length = 0;
   76|  16.9M|        else 
   77|  16.9M|            Length = ::strlen(Str); // invoking strlen(NULL) is undefined behavior
   78|  16.9M|      }
_ZN7llvm_ks9StringRef13compareMemoryEPKcS2_m:
   58|  7.67M|    static int compareMemory(const char *Lhs, const char *Rhs, size_t Length) {
   59|  7.67M|      if (Length == 0) { return 0; }
  ------------------
  |  Branch (59:11): [True: 354k, False: 7.32M]
  ------------------
   60|  7.32M|      return ::memcmp(Lhs,Rhs,Length);
   61|  7.67M|    }
_ZN7llvm_ks9StringRefC2Ev:
   68|  4.09M|    /*implicit*/ StringRef() : Data(nullptr), Length(0) {}
_ZN7llvm_ks9StringRefC2EPKcm:
   83|  92.4M|      : Data(data), Length(length) {
   84|       |        assert((data || length == 0) &&
  ------------------
  |  Branch (84:9): [True: 92.4M, False: 0]
  |  Branch (84:9): [True: 0, False: 0]
  |  Branch (84:9): [True: 92.4M, Folded]
  |  Branch (84:9): [True: 92.4M, False: 0]
  ------------------
   85|  92.4M|        "StringRef cannot be built from a NULL argument with non-null length");
   86|  92.4M|      }
_ZNK7llvm_ks9StringRef5beginEv:
   97|  58.8M|    iterator begin() const { return Data; }
_ZNK7llvm_ks9StringRef3endEv:
   99|  61.2M|    iterator end() const { return Data + Length; }
_ZNK7llvm_ks9StringRef4dataEv:
  115|  29.2M|    const char *data() const { return Data; }
_ZNK7llvm_ks9StringRef5emptyEv:
  119|  17.1M|    bool empty() const { return Length == 0; }
_ZNK7llvm_ks9StringRef4sizeEv:
  123|  44.7M|    size_t size() const { return Length; }
_ZNK7llvm_ks9StringRef5frontEv:
  126|   701k|    char front() const {
  127|   701k|      assert(!empty());
  ------------------
  |  Branch (127:7): [True: 701k, False: 0]
  ------------------
  128|   701k|      return Data[0];
  129|   701k|    }
_ZNK7llvm_ks9StringRef6equalsES0_:
  147|  8.54M|    bool equals(StringRef RHS) const {
  148|  8.54M|      return (Length == RHS.Length &&
  ------------------
  |  Branch (148:15): [True: 2.00M, False: 6.54M]
  ------------------
  149|  2.00M|              compareMemory(Data, RHS.Data, RHS.Length) == 0);
  ------------------
  |  Branch (149:15): [True: 1.03M, False: 965k]
  ------------------
  150|  8.54M|    }
_ZNK7llvm_ks9StringRef12equals_lowerES0_:
  153|  32.3k|    bool equals_lower(StringRef RHS) const {
  154|  32.3k|      return Length == RHS.Length && compare_lower(RHS) == 0;
  ------------------
  |  Branch (154:14): [True: 29.7k, False: 2.53k]
  |  Branch (154:38): [True: 3.42k, False: 26.3k]
  ------------------
  155|  32.3k|    }
_ZNK7llvm_ks9StringRef7compareES0_:
  160|  2.50M|    int compare(StringRef RHS) const {
  161|       |      // Check the prefix for a mismatch.
  162|  2.50M|      if (int Res = compareMemory(Data, RHS.Data, std::min(Length, RHS.Length)))
  ------------------
  |  Branch (162:15): [True: 1.86M, False: 636k]
  ------------------
  163|  1.86M|        return Res < 0 ? -1 : 1;
  ------------------
  |  Branch (163:16): [True: 972k, False: 892k]
  ------------------
  164|       |
  165|       |      // Otherwise the prefixes match, so we only need to check the lengths.
  166|   636k|      if (Length == RHS.Length)
  ------------------
  |  Branch (166:11): [True: 73.2k, False: 563k]
  ------------------
  167|  73.2k|        return 0;
  168|   563k|      return Length < RHS.Length ? -1 : 1;
  ------------------
  |  Branch (168:14): [True: 266k, False: 296k]
  ------------------
  169|   636k|    }
_ZNK7llvm_ks9StringRef3strEv:
  200|   893k|    std::string str() const {
  201|   893k|      if (!Data) return std::string();
  ------------------
  |  Branch (201:11): [True: 0, False: 893k]
  ------------------
  202|   893k|      return std::string(Data, Length);
  203|   893k|    }
_ZNK7llvm_ks9StringRefixEm:
  209|   145M|    char operator[](size_t Index) const {
  210|   145M|      assert(Index < Length && "Invalid index!");
  ------------------
  |  Branch (210:7): [True: 145M, False: 0]
  |  Branch (210:7): [True: 145M, Folded]
  |  Branch (210:7): [True: 145M, False: 0]
  ------------------
  211|   145M|      return Data[Index];
  212|   145M|    }
_ZNK7llvm_ks9StringRefcvNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEEv:
  218|   788k|    operator std::string() const {
  219|   788k|      return str();
  220|   788k|    }
_ZNK7llvm_ks9StringRef10startswithES0_:
  228|   999k|    bool startswith(StringRef Prefix) const {
  229|   999k|      return Length >= Prefix.Length &&
  ------------------
  |  Branch (229:14): [True: 995k, False: 3.47k]
  ------------------
  230|   995k|             compareMemory(Data, Prefix.Data, Prefix.Length) == 0;
  ------------------
  |  Branch (230:14): [True: 4.99k, False: 990k]
  ------------------
  231|   999k|    }
_ZNK7llvm_ks9StringRef8endswithES0_:
  238|  3.75M|    bool endswith(StringRef Suffix) const {
  239|  3.75M|      return Length >= Suffix.Length &&
  ------------------
  |  Branch (239:14): [True: 2.18M, False: 1.57M]
  ------------------
  240|  2.18M|        compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0;
  ------------------
  |  Branch (240:9): [True: 0, False: 2.18M]
  ------------------
  241|  3.75M|    }
_ZNK7llvm_ks9StringRef4findEcm:
  255|   498k|    size_t find(char C, size_t From = 0) const {
  256|   498k|      size_t FindBegin = std::min(From, Length);
  257|   498k|      if (FindBegin < Length) { // Avoid calling memchr with nullptr.
  ------------------
  |  Branch (257:11): [True: 476k, False: 21.2k]
  ------------------
  258|       |        // Just forward to memchr, which is faster than a hand-rolled loop.
  259|   476k|        if (const void *P = ::memchr(Data + FindBegin, C, Length - FindBegin))
  ------------------
  |  Branch (259:25): [True: 76.4k, False: 400k]
  ------------------
  260|  76.4k|          return static_cast<const char *>(P) - Data;
  261|   476k|      }
  262|   421k|      return npos;
  263|   498k|    }
_ZNK7llvm_ks9StringRef6substrEmm:
  421|  2.04M|    StringRef substr(size_t Start, size_t N = npos) const {
  422|  2.04M|      Start = std::min(Start, Length);
  423|  2.04M|      return StringRef(Data + Start, std::min(N, Length - Start));
  424|  2.04M|    }
_ZNK7llvm_ks9StringRef10drop_frontEm:
  429|  83.2k|    StringRef drop_front(size_t N = 1) const {
  430|  83.2k|      assert(size() >= N && "Dropping more elements than exist");
  ------------------
  |  Branch (430:7): [True: 83.2k, False: 0]
  |  Branch (430:7): [True: 83.2k, Folded]
  |  Branch (430:7): [True: 83.2k, False: 0]
  ------------------
  431|  83.2k|      return substr(N);
  432|  83.2k|    }
_ZNK7llvm_ks9StringRef9drop_backEm:
  437|  83.2k|    StringRef drop_back(size_t N = 1) const {
  438|  83.2k|      assert(size() >= N && "Dropping more elements than exist");
  ------------------
  |  Branch (438:7): [True: 83.2k, False: 0]
  |  Branch (438:7): [True: 83.2k, Folded]
  |  Branch (438:7): [True: 83.2k, False: 0]
  ------------------
  439|  83.2k|      return substr(0, size()-N);
  440|  83.2k|    }
_ZNK7llvm_ks9StringRef5sliceEmm:
  453|  6.70M|    StringRef slice(size_t Start, size_t End) const {
  454|  6.70M|      Start = std::min(Start, Length);
  455|  6.70M|      End = std::min(std::max(Start, End), Length);
  456|  6.70M|      return StringRef(Data + Start, End - Start);
  457|  6.70M|    }
_ZNK7llvm_ks9StringRef5splitEc:
  469|   289k|    std::pair<StringRef, StringRef> split(char Separator) const {
  470|   289k|      size_t Idx = find(Separator);
  471|   289k|      if (Idx == npos)
  ------------------
  |  Branch (471:11): [True: 261k, False: 28.5k]
  ------------------
  472|   261k|        return std::make_pair(*this, StringRef());
  473|  28.5k|      return std::make_pair(slice(0, Idx), slice(Idx+1, npos));
  474|   289k|    }
_ZNK7llvm_ks9StringRef5ltrimES0_:
  547|  83.2k|    StringRef ltrim(StringRef Chars = " \t\n\v\f\r") const {
  548|  83.2k|      return drop_front(std::min(Length, find_first_not_of(Chars)));
  549|  83.2k|    }
_ZNK7llvm_ks9StringRef5rtrimES0_:
  553|  83.2k|    StringRef rtrim(StringRef Chars = " \t\n\v\f\r") const {
  554|  83.2k|      return drop_back(Length - std::min(Length, find_last_not_of(Chars) + 1));
  555|  83.2k|    }
_ZNK7llvm_ks9StringRef4trimES0_:
  559|  83.2k|    StringRef trim(StringRef Chars = " \t\n\v\f\r") const {
  560|  83.2k|      return ltrim(Chars).rtrim(Chars);
  561|  83.2k|    }
_ZN7llvm_kseqENS_9StringRefES0_:
  579|  8.16M|  inline bool operator==(StringRef LHS, StringRef RHS) {
  580|  8.16M|    return LHS.equals(RHS);
  581|  8.16M|  }
_ZN7llvm_ksneENS_9StringRefES0_:
  584|  1.18M|  inline bool operator!=(StringRef LHS, StringRef RHS) {
  585|  1.18M|    return !(LHS == RHS);
  586|  1.18M|  }
_ZN7llvm_ksltENS_9StringRefES0_:
  588|  2.50M|  inline bool operator<(StringRef LHS, StringRef RHS) {
  589|  2.50M|    return LHS.compare(RHS) == -1;
  590|  2.50M|  }
_ZN7llvm_kspLERNSt3__112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEENS_9StringRefE:
  604|  13.6k|  inline std::string &operator+=(std::string &buffer, StringRef string) {
  605|  13.6k|    return buffer.append(string.data(), string.size());
  606|  13.6k|  }
_ZNK7llvm_ks9StringRef12getAsIntegerIlEENSt3__19enable_ifIXsr3std14numeric_limitsIT_EE9is_signedEbE4typeEjRS4_:
  362|  3.42k|    getAsInteger(unsigned Radix, T &Result) const {
  363|  3.42k|      long long LLVal;
  364|  3.42k|      if (getAsSignedInteger(*this, Radix, LLVal) ||
  ------------------
  |  Branch (364:11): [True: 2.13k, False: 1.29k]
  ------------------
  365|  1.29k|            static_cast<T>(LLVal) != LLVal)
  ------------------
  |  Branch (365:13): [True: 0, False: 1.29k]
  ------------------
  366|  2.13k|        return true;
  367|  1.29k|      Result = LLVal;
  368|  1.29k|      return false;
  369|  3.42k|    }

_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_EC2ENS_9StringRefE:
   54|  40.6k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|   162k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   162k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 140k, False: 21.8k]
  |  Branch (59:20): [True: 2.33k, False: 138k]
  ------------------
   60|  2.33k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 500, False: 1.83k]
  ------------------
   61|    500|      Result = &Value;
   62|    500|    }
   63|       |
   64|   162k|    return *this;
   65|   162k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|   488k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   488k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 403k, False: 84.3k]
  |  Branch (59:20): [True: 67.5k, False: 336k]
  ------------------
   60|  67.5k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 658, False: 66.8k]
  ------------------
   61|    658|      Result = &Value;
   62|    658|    }
   63|       |
   64|   488k|    return *this;
   65|   488k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj9EEERS3_RAT__KcRKS2_:
   58|   366k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   366k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 304k, False: 61.2k]
  |  Branch (59:20): [True: 4.25k, False: 300k]
  ------------------
   60|  4.25k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 345, False: 3.90k]
  ------------------
   61|    345|      Result = &Value;
   62|    345|    }
   63|       |
   64|   366k|    return *this;
   65|   366k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj10EEERS3_RAT__KcRKS2_:
   58|   244k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   244k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 194k, False: 49.9k]
  |  Branch (59:20): [True: 5.07k, False: 189k]
  ------------------
   60|  5.07k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 650, False: 4.42k]
  ------------------
   61|    650|      Result = &Value;
   62|    650|    }
   63|       |
   64|   244k|    return *this;
   65|   244k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|   651k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   651k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 490k, False: 160k]
  |  Branch (59:20): [True: 26.8k, False: 463k]
  ------------------
   60|  26.8k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 800, False: 26.0k]
  ------------------
   61|    800|      Result = &Value;
   62|    800|    }
   63|       |
   64|   651k|    return *this;
   65|   651k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|   162k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   162k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 146k, False: 16.3k]
  |  Branch (59:20): [True: 17.9k, False: 128k]
  ------------------
   60|  17.9k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 430, False: 17.5k]
  ------------------
   61|    430|      Result = &Value;
   62|    430|    }
   63|       |
   64|   162k|    return *this;
   65|   162k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj12EEERS3_RAT__KcRKS2_:
   58|   284k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   284k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 207k, False: 76.8k]
  |  Branch (59:20): [True: 2.92k, False: 205k]
  ------------------
   60|  2.92k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 257, False: 2.66k]
  ------------------
   61|    257|      Result = &Value;
   62|    257|    }
   63|       |
   64|   284k|    return *this;
   65|   284k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj8EEERS3_RAT__KcRKS2_:
   58|   447k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   447k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 336k, False: 110k]
  |  Branch (59:20): [True: 7.18k, False: 329k]
  ------------------
   60|  7.18k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 437, False: 6.75k]
  ------------------
   61|    437|      Result = &Value;
   62|    437|    }
   63|       |
   64|   447k|    return *this;
   65|   447k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj11EEERS3_RAT__KcRKS2_:
   58|  81.3k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  81.3k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 68.0k, False: 13.3k]
  |  Branch (59:20): [True: 801, False: 67.2k]
  ------------------
   60|    801|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 85, False: 716]
  ------------------
   61|     85|      Result = &Value;
   62|     85|    }
   63|       |
   64|  81.3k|    return *this;
   65|  81.3k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj2EEERS3_RAT__KcRKS2_:
   58|  81.3k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  81.3k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 75.0k, False: 6.28k]
  |  Branch (59:20): [True: 22.5k, False: 52.5k]
  ------------------
   60|  22.5k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 8.67k, False: 13.8k]
  ------------------
   61|  8.67k|      Result = &Value;
   62|  8.67k|    }
   63|       |
   64|  81.3k|    return *this;
   65|  81.3k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj3EEERS3_RAT__KcRKS2_:
   58|  81.3k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  81.3k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 57.8k, False: 23.5k]
  |  Branch (59:20): [True: 4.88k, False: 52.9k]
  ------------------
   60|  4.88k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 137, False: 4.74k]
  ------------------
   61|    137|      Result = &Value;
   62|    137|    }
   63|       |
   64|  81.3k|    return *this;
   65|  81.3k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj13EEERS3_RAT__KcRKS2_:
   58|   244k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   244k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 169k, False: 74.2k]
  |  Branch (59:20): [True: 4.42k, False: 165k]
  ------------------
   60|  4.42k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 577, False: 3.84k]
  ------------------
   61|    577|      Result = &Value;
   62|    577|    }
   63|       |
   64|   244k|    return *this;
   65|   244k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj14EEERS3_RAT__KcRKS2_:
   58|   162k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   162k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 115k, False: 47.3k]
  |  Branch (59:20): [True: 961, False: 114k]
  ------------------
   60|    961|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 203, False: 758]
  ------------------
   61|    203|      Result = &Value;
   62|    203|    }
   63|       |
   64|   162k|    return *this;
   65|   162k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj15EEERS3_RAT__KcRKS2_:
   58|   122k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   122k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 86.5k, False: 35.5k]
  |  Branch (59:20): [True: 14.6k, False: 71.8k]
  ------------------
   60|  14.6k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 42, False: 14.5k]
  ------------------
   61|     42|      Result = &Value;
   62|     42|    }
   63|       |
   64|   122k|    return *this;
   65|   122k|  }
_ZN7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E4CaseILj16EEERS3_RAT__KcRKS2_:
   58|  40.6k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  40.6k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 28.7k, False: 11.9k]
  |  Branch (59:20): [True: 491, False: 28.2k]
  ------------------
   60|    491|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 82, False: 409]
  ------------------
   61|     82|      Result = &Value;
   62|     82|    }
   63|       |
   64|  40.6k|    return *this;
   65|  40.6k|  }
_ZNK7llvm_ks12StringSwitchINS_15MCSymbolRefExpr11VariantKindES2_E7DefaultERKS2_:
  150|  40.6k|  R Default(const T& Value) const {
  151|  40.6k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 13.8k, False: 26.8k]
  ------------------
  152|  13.8k|      return *Result;
  153|       |
  154|  26.8k|    return Value;
  155|  40.6k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_EC2ES1_:
   54|   133k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj14EEERS2_RAT__KcRKS1_:
   58|  24.1k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  24.1k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 24.1k, False: 22]
  |  Branch (59:20): [True: 6.92k, False: 17.2k]
  ------------------
   60|  6.92k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 6.92k]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  24.1k|    return *this;
   65|  24.1k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj13EEERS2_RAT__KcRKS1_:
   58|  12.0k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  12.0k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 12.0k, False: 0]
  |  Branch (59:20): [True: 43, False: 12.0k]
  ------------------
   60|     43|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 22, False: 21]
  ------------------
   61|     22|      Result = &Value;
   62|     22|    }
   63|       |
   64|  12.0k|    return *this;
   65|  12.0k|  }
_ZNK7llvm_ks12StringSwitchINS_9StringRefES1_E7DefaultERKS1_:
  150|   133k|  R Default(const T& Value) const {
  151|   133k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 22, False: 133k]
  ------------------
  152|     22|      return *Result;
  153|       |
  154|   133k|    return Value;
  155|   133k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj5ELj5ELj5EEERS3_RAT__KcRAT0__S6_RAT1__S6_RAT2__S6_RKS2_:
  120|   134k|                      const T& Value) {
  121|   134k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 134k, False: 0]
  ------------------
  122|   134k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 0, False: 134k]
  |  Branch (122:32): [True: 0, False: 0]
  ------------------
  123|   134k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 134k]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|   134k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 0, False: 134k]
  |  Branch (124:32): [True: 0, False: 0]
  ------------------
  125|   134k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 134k]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|      0|      Result = &Value;
  127|      0|    }
  128|       |
  129|   134k|    return *this;
  130|   134k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj5ELj5EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   134k|                      const char (&S2)[N2], const T& Value) {
  106|   134k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 134k, False: 0]
  ------------------
  107|   134k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 134k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|   134k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 134k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|   134k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 134k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   134k|    return *this;
  114|   134k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj6ELj7ELj8EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   134k|                      const char (&S2)[N2], const T& Value) {
  106|   134k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 134k, False: 0]
  ------------------
  107|   134k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 134k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|   134k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 134k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|   134k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 134k, False: 0]
  |  Branch (109:32): [True: 0, False: 134k]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   134k|    return *this;
  114|   134k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj8ELj6EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   134k|                      const T& Value) {
   93|   134k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 134k, False: 0]
  ------------------
   94|   134k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 134k, False: 0]
  |  Branch (94:32): [True: 0, False: 134k]
  ------------------
   95|   134k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 134k]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   134k|    return *this;
  100|   134k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj10ELj4ELj6EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   134k|                      const char (&S2)[N2], const T& Value) {
  106|   134k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 134k, False: 0]
  ------------------
  107|   134k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 134k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|   134k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 134k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|   134k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 134k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   134k|    return *this;
  114|   134k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj12ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   134k|                      const T& Value) {
   93|   134k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 134k, False: 0]
  ------------------
   94|   134k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 134k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|   134k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 134k, False: 0]
  |  Branch (95:32): [True: 0, False: 134k]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   134k|    return *this;
  100|   134k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj5ELj7ELj13EEERS3_RAT__KcRAT0__S6_RAT1__S6_RKS2_:
  105|   134k|                      const char (&S2)[N2], const T& Value) {
  106|   134k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 134k, False: 0]
  ------------------
  107|   134k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 134k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|   134k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 134k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|   134k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 134k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   134k|    return *this;
  114|   134k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj7ELj15EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   134k|                      const T& Value) {
   93|   134k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 134k, False: 0]
  ------------------
   94|   134k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 134k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|   134k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 134k]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   134k|    return *this;
  100|   134k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj7ELj9EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   134k|                      const T& Value) {
   93|   134k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 134k, False: 0]
  ------------------
   94|   134k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 134k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|   134k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 134k]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   134k|    return *this;
  100|   134k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj6ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   134k|                      const T& Value) {
   93|   134k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 134k, False: 0]
  ------------------
   94|   134k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 134k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|   134k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 134k, False: 0]
  |  Branch (95:32): [True: 0, False: 134k]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   134k|    return *this;
  100|   134k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E5CasesILj8ELj8EEERS3_RAT__KcRAT0__S6_RKS2_:
   92|   134k|                      const T& Value) {
   93|   134k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 0, False: 134k]
  ------------------
   94|      0|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 0]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|      0|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 0]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   134k|    return *this;
  100|   134k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E10StartsWithILj8EEERS3_RAT__KcRKS2_:
   80|   134k|  StringSwitch& StartsWith(const char (&S)[N], const T &Value) {
   81|   134k|    if (!Result && Str.size() >= N-1 &&
  ------------------
  |  Branch (81:9): [True: 0, False: 134k]
  |  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|   134k|    return *this;
   87|   134k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_EC2ENS_9StringRefE:
   54|   134k|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj8EEERS3_RAT__KcRKS2_:
   58|  1.21M|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.21M|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 807k, False: 403k]
  |  Branch (59:20): [True: 807k, False: 0]
  ------------------
   60|   807k|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 134k, False: 673k]
  ------------------
   61|   134k|      Result = &Value;
   62|   134k|    }
   63|       |
   64|  1.21M|    return *this;
   65|  1.21M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj11EEERS3_RAT__KcRKS2_:
   58|   134k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   134k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 134k, False: 0]
  |  Branch (59:20): [True: 0, False: 134k]
  ------------------
   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|   134k|    return *this;
   65|   134k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|  1.21M|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.21M|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 538k, False: 673k]
  |  Branch (59:20): [True: 0, False: 538k]
  ------------------
   60|      0|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 0, False: 0]
  ------------------
   61|      0|      Result = &Value;
   62|      0|    }
   63|       |
   64|  1.21M|    return *this;
   65|  1.21M|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|   403k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   403k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 269k, False: 134k]
  |  Branch (59:20): [True: 0, False: 269k]
  ------------------
   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|   403k|    return *this;
   65|   403k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|   538k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   538k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 134k, False: 403k]
  |  Branch (59:20): [True: 0, False: 134k]
  ------------------
   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|   538k|    return *this;
   65|   538k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|   807k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   807k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 403k, False: 403k]
  |  Branch (59:20): [True: 0, False: 403k]
  ------------------
   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|   807k|    return *this;
   65|   807k|  }
_ZN7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E4CaseILj9EEERS3_RAT__KcRKS2_:
   58|   269k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   269k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 269k, False: 0]
  |  Branch (59:20): [True: 0, False: 269k]
  ------------------
   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|   269k|    return *this;
   65|   269k|  }
_ZNK7llvm_ks12StringSwitchINS_6Triple8ArchTypeES2_E7DefaultERKS2_:
  150|   134k|  R Default(const T& Value) const {
  151|   134k|    if (Result)
  ------------------
  |  Branch (151:9): [True: 134k, False: 0]
  ------------------
  152|   134k|      return *Result;
  153|       |
  154|      0|    return Value;
  155|   134k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj4EEERS2_RAT__KcRKS1_:
   58|   484k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   484k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 484k, False: 0]
  |  Branch (59:20): [True: 0, False: 484k]
  ------------------
   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|   484k|    return *this;
   65|   484k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj3EEERS2_RAT__KcRKS1_:
   58|   121k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   121k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 121k, False: 0]
  |  Branch (59:20): [True: 0, False: 121k]
  ------------------
   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|   121k|    return *this;
   65|   121k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj6EEERS2_RAT__KcRKS1_:
   58|   242k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   242k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 242k, False: 0]
  |  Branch (59:20): [True: 0, False: 242k]
  ------------------
   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|   242k|    return *this;
   65|   242k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj9EEERS2_RAT__KcRKS1_:
   58|   242k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   242k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 242k, False: 0]
  |  Branch (59:20): [True: 0, False: 242k]
  ------------------
   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|   242k|    return *this;
   65|   242k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_EC2ENS_9StringRefE:
   54|    843|  : Str(S), Result(nullptr) { }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj3EEERS3_RAT__KcRKS2_:
   58|  3.37k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  3.37k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 3.35k, False: 15]
  |  Branch (59:20): [True: 295, False: 3.06k]
  ------------------
   60|    295|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 19, False: 276]
  ------------------
   61|     19|      Result = &Value;
   62|     19|    }
   63|       |
   64|  3.37k|    return *this;
   65|  3.37k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj4EEERS3_RAT__KcRKS2_:
   58|  2.52k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  2.52k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 2.52k, False: 9]
  |  Branch (59:20): [True: 177, False: 2.34k]
  ------------------
   60|    177|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 3, False: 174]
  ------------------
   61|      3|      Result = &Value;
   62|      3|    }
   63|       |
   64|  2.52k|    return *this;
   65|  2.52k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj5EEERS3_RAT__KcRKS2_:
   58|  1.68k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.68k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.64k, False: 45]
  |  Branch (59:20): [True: 239, False: 1.40k]
  ------------------
   60|    239|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 2, False: 237]
  ------------------
   61|      2|      Result = &Value;
   62|      2|    }
   63|       |
   64|  1.68k|    return *this;
   65|  1.68k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj6EEERS3_RAT__KcRKS2_:
   58|  1.68k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.68k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.63k, False: 48]
  |  Branch (59:20): [True: 48, False: 1.59k]
  ------------------
   60|     48|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1, False: 47]
  ------------------
   61|      1|      Result = &Value;
   62|      1|    }
   63|       |
   64|  1.68k|    return *this;
   65|  1.68k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj9EEERS3_RAT__KcRKS2_:
   58|  6.74k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  6.74k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 6.53k, False: 208]
  |  Branch (59:20): [True: 272, False: 6.26k]
  ------------------
   60|    272|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1, False: 271]
  ------------------
   61|      1|      Result = &Value;
   62|      1|    }
   63|       |
   64|  6.74k|    return *this;
   65|  6.74k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj8EEERS3_RAT__KcRKS2_:
   58|  2.52k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  2.52k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 2.44k, False: 83]
  |  Branch (59:20): [True: 85, False: 2.36k]
  ------------------
   60|     85|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 2, False: 83]
  ------------------
   61|      2|      Result = &Value;
   62|      2|    }
   63|       |
   64|  2.52k|    return *this;
   65|  2.52k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj10EEERS3_RAT__KcRKS2_:
   58|  4.21k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  4.21k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 4.07k, False: 139]
  |  Branch (59:20): [True: 109, False: 3.96k]
  ------------------
   60|    109|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 2, False: 107]
  ------------------
   61|      2|      Result = &Value;
   62|      2|    }
   63|       |
   64|  4.21k|    return *this;
   65|  4.21k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj11EEERS3_RAT__KcRKS2_:
   58|  1.68k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|  1.68k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 1.63k, False: 52]
  |  Branch (59:20): [True: 52, False: 1.58k]
  ------------------
   60|     52|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1, False: 51]
  ------------------
   61|      1|      Result = &Value;
   62|      1|    }
   63|       |
   64|  1.68k|    return *this;
   65|  1.68k|  }
_ZN7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E4CaseILj7EEERS3_RAT__KcRKS2_:
   58|    843|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|    843|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 815, False: 28]
  |  Branch (59:20): [True: 22, False: 793]
  ------------------
   60|     22|        (std::memcmp(S, Str.data(), N-1) == 0)) {
  ------------------
  |  Branch (60:9): [True: 1, False: 21]
  ------------------
   61|      1|      Result = &Value;
   62|      1|    }
   63|       |
   64|    843|    return *this;
   65|    843|  }
_ZNK7llvm_ks12StringSwitchINS_11SparcMCExpr11VariantKindES2_E7DefaultERKS2_:
  150|    843|  R Default(const T& Value) const {
  151|    843|    if (Result)
  ------------------
  |  Branch (151:9): [True: 32, False: 811]
  ------------------
  152|     32|      return *Result;
  153|       |
  154|    811|    return Value;
  155|    843|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E4CaseILj5EEERS2_RAT__KcRKS1_:
   58|   242k|  StringSwitch& Case(const char (&S)[N], const T& Value) {
   59|   242k|    if (!Result && N-1 == Str.size() &&
  ------------------
  |  Branch (59:9): [True: 242k, False: 0]
  |  Branch (59:20): [True: 0, False: 242k]
  ------------------
   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|   242k|    return *this;
   65|   242k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj4ELj5ELj6EEERS2_RAT__KcRAT0__S5_RAT1__S5_RKS1_:
  105|   121k|                      const char (&S2)[N2], const T& Value) {
  106|   121k|    if (!Result && (
  ------------------
  |  Branch (106:9): [True: 121k, False: 0]
  ------------------
  107|   121k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (107:10): [True: 0, False: 121k]
  |  Branch (107:32): [True: 0, False: 0]
  ------------------
  108|   121k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (108:10): [True: 0, False: 121k]
  |  Branch (108:32): [True: 0, False: 0]
  ------------------
  109|   121k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0))) {
  ------------------
  |  Branch (109:10): [True: 0, False: 121k]
  |  Branch (109:32): [True: 0, False: 0]
  ------------------
  110|      0|      Result = &Value;
  111|      0|    }
  112|       |
  113|   121k|    return *this;
  114|   121k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj4ELj5EEERS2_RAT__KcRAT0__S5_RKS1_:
   92|   121k|                      const T& Value) {
   93|   121k|    if (!Result && (
  ------------------
  |  Branch (93:9): [True: 121k, False: 0]
  ------------------
   94|   121k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (94:10): [True: 0, False: 121k]
  |  Branch (94:32): [True: 0, False: 0]
  ------------------
   95|   121k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0))) {
  ------------------
  |  Branch (95:10): [True: 0, False: 121k]
  |  Branch (95:32): [True: 0, False: 0]
  ------------------
   96|      0|      Result = &Value;
   97|      0|    }
   98|       |
   99|   121k|    return *this;
  100|   121k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj3ELj4ELj5ELj4EEERS2_RAT__KcRAT0__S5_RAT1__S5_RAT2__S5_RKS1_:
  120|   121k|                      const T& Value) {
  121|   121k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 121k, False: 0]
  ------------------
  122|   121k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 0, False: 121k]
  |  Branch (122:32): [True: 0, False: 0]
  ------------------
  123|   121k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 121k]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|   121k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 0, False: 121k]
  |  Branch (124:32): [True: 0, False: 0]
  ------------------
  125|   121k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 121k]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|      0|      Result = &Value;
  127|      0|    }
  128|       |
  129|   121k|    return *this;
  130|   121k|  }
_ZN7llvm_ks12StringSwitchINS_9StringRefES1_E5CasesILj3ELj4ELj8ELj6EEERS2_RAT__KcRAT0__S5_RAT1__S5_RAT2__S5_RKS1_:
  120|   121k|                      const T& Value) {
  121|   121k|    if (!Result && (
  ------------------
  |  Branch (121:9): [True: 121k, False: 0]
  ------------------
  122|   121k|        (N0-1 == Str.size() && std::memcmp(S0, Str.data(), N0-1) == 0) ||
  ------------------
  |  Branch (122:10): [True: 0, False: 121k]
  |  Branch (122:32): [True: 0, False: 0]
  ------------------
  123|   121k|        (N1-1 == Str.size() && std::memcmp(S1, Str.data(), N1-1) == 0) ||
  ------------------
  |  Branch (123:10): [True: 0, False: 121k]
  |  Branch (123:32): [True: 0, False: 0]
  ------------------
  124|   121k|        (N2-1 == Str.size() && std::memcmp(S2, Str.data(), N2-1) == 0) ||
  ------------------
  |  Branch (124:10): [True: 121k, False: 0]
  |  Branch (124:32): [True: 0, False: 121k]
  ------------------
  125|   121k|        (N3-1 == Str.size() && std::memcmp(S3, Str.data(), N3-1) == 0))) {
  ------------------
  |  Branch (125:10): [True: 0, False: 121k]
  |  Branch (125:32): [True: 0, False: 0]
  ------------------
  126|      0|      Result = &Value;
  127|      0|    }
  128|       |
  129|   121k|    return *this;
  130|   121k|  }

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

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

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

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

_ZN7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES3_EC2IS6_EEOT_:
  239|  81.4k|      : pointee_iterator::iterator_adaptor_base(std::forward<U &&>(u)) {}
_ZN7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES4_EES7_NS2_26random_access_iterator_tagES4_lS5_RS4_NS2_15iterator_traitsIS7_EEEC2IS7_EEOT_NS2_9enable_ifIXntsr3std10is_base_ofINS2_9remove_cvINS2_16remove_referenceISF_E4typeEE4typeES8_EE5valueEiE4typeE:
  163|  81.4k|      : I(std::forward<U &&>(u)) {}
_ZN7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES4_EC2IS7_EEOT_:
  239|  13.7k|      : pointee_iterator::iterator_adaptor_base(std::forward<U &&>(u)) {}
_ZN7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EES8_NS2_26random_access_iterator_tagES5_lS6_RS5_NS2_15iterator_traitsIS8_EEEC2IS8_EEOT_NS2_9enable_ifIXntsr3std10is_base_ofINS2_9remove_cvINS2_16remove_referenceISG_E4typeEE4typeES9_EE5valueEiE4typeE:
  163|  13.7k|      : I(std::forward<U &&>(u)) {}
_ZNK7llvm_ks20iterator_facade_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES4_EENS2_26random_access_iterator_tagES4_lS5_RS4_EneERKS8_:
   96|  82.0k|  bool operator!=(const DerivedT &RHS) const {
   97|  82.0k|    return !static_cast<const DerivedT *>(this)->operator==(RHS);
   98|  82.0k|  }
_ZNK7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES4_EES7_NS2_26random_access_iterator_tagES4_lS5_RS4_NS2_15iterator_traitsIS7_EEEeqERKS8_:
  208|  82.0k|  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|  41.3k|  DerivedT &operator++() {
  196|  41.3k|    ++I;
  197|  41.3k|    return *static_cast<DerivedT *>(this);
  198|  41.3k|  }
_ZNK7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPNS_9MCSectionEEES3_EdeEv:
  241|  42.2k|  T &operator*() const { return **this->I; }
_ZNK7llvm_ks20iterator_facade_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EENS2_26random_access_iterator_tagES5_lS6_RS5_EneERKS9_:
   96|  86.3k|  bool operator!=(const DerivedT &RHS) const {
   97|  86.3k|    return !static_cast<const DerivedT *>(this)->operator==(RHS);
   98|  86.3k|  }
_ZNK7llvm_ks21iterator_adaptor_baseINS_16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES5_EES8_NS2_26random_access_iterator_tagES5_lS6_RS5_NS2_15iterator_traitsIS8_EEEeqERKS9_:
  208|  86.3k|  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|  79.5k|  DerivedT &operator++() {
  196|  79.5k|    ++I;
  197|  79.5k|    return *static_cast<DerivedT *>(this);
  198|  79.5k|  }
_ZNK7llvm_ks16pointee_iteratorINSt3__111__wrap_iterIPPKNS_8MCSymbolEEES4_EdeEv:
  241|  79.5k|  T &operator*() const { return **this->I; }

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

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

_ZN7llvm_ks9MCAsmInfo8setRadixEj:
  480|  13.4k|  void setRadix(unsigned v) { Radix = v; }
_ZNK7llvm_ks9MCAsmInfo14isLittleEndianEv:
  379|  58.3M|  bool isLittleEndian() const { return IsLittleEndian; }
_ZNK7llvm_ks9MCAsmInfo24hasSubsectionsViaSymbolsEv:
  384|   359k|  bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
_ZNK7llvm_ks9MCAsmInfo13getDollarIsPCEv:
  450|  3.27k|  bool getDollarIsPC() const { return DollarIsPC; }
_ZNK7llvm_ks9MCAsmInfo18getSeparatorStringEv:
  451|  44.8M|  const char *getSeparatorString() const { return SeparatorString; }
_ZNK7llvm_ks9MCAsmInfo16getCommentStringEv:
  457|  16.5M|  const char *getCommentString() const { return CommentString; }
_ZNK7llvm_ks9MCAsmInfo22getPrivateGlobalPrefixEv:
  463|   225k|  const char *getPrivateGlobalPrefix() const { return PrivateGlobalPrefix; }
_ZNK7llvm_ks9MCAsmInfo8getRadixEv:
  481|  13.4k|  unsigned getRadix() const { return Radix; }
_ZNK7llvm_ks9MCAsmInfo17doesAllowAtInNameEv:
  482|  16.5k|  bool doesAllowAtInName() const { return AllowAtInName; }
_ZNK7llvm_ks9MCAsmInfo21getAlignmentIsInBytesEv:
  490|  11.2k|  bool getAlignmentIsInBytes() const { return AlignmentIsInBytes; }
_ZNK7llvm_ks9MCAsmInfo21getTextAlignFillValueEv:
  491|  4.59k|  unsigned getTextAlignFillValue() const { return TextAlignFillValue; }
_ZNK7llvm_ks9MCAsmInfo34getCOMMDirectiveAlignmentIsInBytesEv:
  497|    207|  bool getCOMMDirectiveAlignmentIsInBytes() const {
  498|    207|    return COMMDirectiveAlignmentIsInBytes;
  499|    207|  }
_ZNK7llvm_ks9MCAsmInfo30getLCOMMDirectiveAlignmentTypeEv:
  500|    225|  LCOMM::LCOMMType getLCOMMDirectiveAlignmentType() const {
  501|    225|    return LCOMMDirectiveAlignmentType;
  502|    225|  }
_ZNK7llvm_ks9MCAsmInfo25useParensForSymbolVariantEv:
  548|   633k|  bool useParensForSymbolVariant() const { return UseParensForSymbolVariant; }
_ZN7llvm_ks9MCAsmInfo20addInitialFrameStateERKNS_16MCCFIInstructionE:
  550|  13.4k|  void addInitialFrameState(const MCCFIInstruction &Inst) {
  551|  13.4k|    InitialFrameState.push_back(Inst);
  552|  13.4k|  }
_ZNK7llvm_ks9MCAsmInfo21compressDebugSectionsEv:
  566|  6.56k|  bool compressDebugSections() const { return CompressDebugSections; }
_ZNK7llvm_ks9MCAsmInfo19shouldUseLogicalShrEv:
  572|   967k|  bool shouldUseLogicalShr() const { return UseLogicalShr; }

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

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

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

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

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

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

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

_ZN7llvm_ks6MCExprC2ENS0_8ExprKindE:
   59|  1.19M|  explicit MCExpr(ExprKind Kind) : Kind(Kind) {}
_ZNK7llvm_ks6MCExpr7getKindEv:
   70|  5.41M|  ExprKind getKind() const { return Kind; }
_ZN7llvm_ks14MCConstantExprC2El:
  134|   355k|      : MCExpr(MCExpr::Constant), Value(Value) {}
_ZNK7llvm_ks14MCConstantExpr8getValueEv:
  146|   361k|  int64_t getValue() const { return Value; }
_ZN7llvm_ks14MCConstantExpr7classofEPKNS_6MCExprE:
  150|   747k|  static bool classof(const MCExpr *E) {
  151|   747k|    return E->getKind() == MCExpr::Constant;
  152|   747k|  }
_ZNK7llvm_ks15MCSymbolRefExpr9getSymbolEv:
  333|   890k|  const MCSymbol &getSymbol() const { return *Symbol; }
_ZNK7llvm_ks15MCSymbolRefExpr7getKindEv:
  335|   115k|  VariantKind getKind() const { return Kind; }
_ZNK7llvm_ks15MCSymbolRefExpr24hasSubsectionsViaSymbolsEv:
  339|  1.85k|  bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
_ZN7llvm_ks15MCSymbolRefExpr7classofEPKNS_6MCExprE:
  351|   738k|  static bool classof(const MCExpr *E) {
  352|   738k|    return E->getKind() == MCExpr::SymbolRef;
  353|   738k|  }
_ZN7llvm_ks11MCUnaryExprC2ENS0_6OpcodeEPKNS_6MCExprE:
  371|   157k|      : MCExpr(MCExpr::Unary), Op(Op), Expr(Expr) {}
_ZN7llvm_ks11MCUnaryExpr11createMinusEPKNS_6MCExprERNS_9MCContextE:
  382|   143k|  static const MCUnaryExpr *createMinus(const MCExpr *Expr, MCContext &Ctx) {
  383|   143k|    return create(Minus, Expr, Ctx);
  384|   143k|  }
_ZN7llvm_ks11MCUnaryExpr9createNotEPKNS_6MCExprERNS_9MCContextE:
  385|  1.09k|  static const MCUnaryExpr *createNot(const MCExpr *Expr, MCContext &Ctx) {
  386|  1.09k|    return create(Not, Expr, Ctx);
  387|  1.09k|  }
_ZN7llvm_ks11MCUnaryExpr10createPlusEPKNS_6MCExprERNS_9MCContextE:
  388|  12.7k|  static const MCUnaryExpr *createPlus(const MCExpr *Expr, MCContext &Ctx) {
  389|  12.7k|    return create(Plus, Expr, Ctx);
  390|  12.7k|  }
_ZNK7llvm_ks11MCUnaryExpr9getOpcodeEv:
  397|   133k|  Opcode getOpcode() const { return Op; }
_ZNK7llvm_ks11MCUnaryExpr10getSubExprEv:
  400|   396k|  const MCExpr *getSubExpr() const { return Expr; }
_ZN7llvm_ks11MCUnaryExpr7classofEPKNS_6MCExprE:
  404|   317k|  static bool classof(const MCExpr *E) {
  405|   317k|    return E->getKind() == MCExpr::Unary;
  406|   317k|  }
_ZN7llvm_ks12MCBinaryExprC2ENS0_6OpcodeEPKNS_6MCExprES4_:
  443|   326k|      : MCExpr(MCExpr::Binary), Op(Op), LHS(LHS), RHS(RHS) {}
_ZNK7llvm_ks12MCBinaryExpr9getOpcodeEv:
  533|   310k|  Opcode getOpcode() const { return Op; }
_ZNK7llvm_ks12MCBinaryExpr6getLHSEv:
  536|   901k|  const MCExpr *getLHS() const { return LHS; }
_ZNK7llvm_ks12MCBinaryExpr6getRHSEv:
  539|   836k|  const MCExpr *getRHS() const { return RHS; }
_ZN7llvm_ks12MCBinaryExpr7classofEPKNS_6MCExprE:
  543|   760k|  static bool classof(const MCExpr *E) {
  544|   760k|    return E->getKind() == MCExpr::Binary;
  545|   760k|  }
_ZN7llvm_ks12MCTargetExprC2Ev:
  555|     14|  MCTargetExpr() : MCExpr(Target) {}
_ZN7llvm_ks12MCTargetExpr7classofEPKNS_6MCExprE:
  567|     21|  static bool classof(const MCExpr *E) {
  568|     21|    return E->getKind() == MCExpr::Target;
  569|     21|  }

_ZN7llvm_ks7MCFixup6createEjPKNS_6MCExprENS_11MCFixupKindENS_5SMLocE:
   87|  38.7k|                        MCFixupKind Kind, SMLoc Loc = SMLoc()) {
   88|  38.7k|    assert(unsigned(Kind) < MaxTargetFixupKind && "Kind out of range!");
  ------------------
  |  Branch (88:5): [True: 38.7k, False: 0]
  |  Branch (88:5): [True: 38.7k, Folded]
  |  Branch (88:5): [True: 38.7k, False: 0]
  ------------------
   89|  38.7k|    MCFixup FI;
   90|  38.7k|    FI.Value = Value;
   91|  38.7k|    FI.Offset = Offset;
   92|  38.7k|    FI.Kind = unsigned(Kind);
   93|  38.7k|    FI.Loc = Loc;
   94|  38.7k|    return FI;
   95|  38.7k|  }
_ZNK7llvm_ks7MCFixup7getKindEv:
  119|  73.6k|  MCFixupKind getKind() const { return MCFixupKind(Kind); }
_ZNK7llvm_ks7MCFixup9getOffsetEv:
  121|  32.1k|  uint32_t getOffset() const { return Offset; }
_ZN7llvm_ks7MCFixup9setOffsetEj:
  122|  5.62k|  void setOffset(uint32_t Value) { Offset = Value; }
_ZNK7llvm_ks7MCFixup8getValueEv:
  124|  25.1k|  const MCExpr *getValue() const { return Value; }
_ZN7llvm_ks7MCFixup14getKindForSizeEjb:
  128|  33.1k|  static MCFixupKind getKindForSize(unsigned Size, bool isPCRel) {
  129|  33.1k|    switch (Size) {
  130|      0|    default: llvm_unreachable("Invalid generic fixup size!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (130:5): [True: 0, False: 33.1k]
  ------------------
  131|  1.39k|    case 1: return isPCRel ? FK_PCRel_1 : FK_Data_1;
  ------------------
  |  Branch (131:5): [True: 1.39k, False: 31.7k]
  |  Branch (131:20): [True: 0, False: 1.39k]
  ------------------
  132|     75|    case 2: return isPCRel ? FK_PCRel_2 : FK_Data_2;
  ------------------
  |  Branch (132:5): [True: 75, False: 33.0k]
  |  Branch (132:20): [True: 0, False: 75]
  ------------------
  133|  31.5k|    case 4: return isPCRel ? FK_PCRel_4 : FK_Data_4;
  ------------------
  |  Branch (133:5): [True: 31.5k, False: 1.61k]
  |  Branch (133:20): [True: 0, False: 31.5k]
  ------------------
  134|    141|    case 8: return isPCRel ? FK_PCRel_8 : FK_Data_8;
  ------------------
  |  Branch (134:5): [True: 141, False: 33.0k]
  |  Branch (134:20): [True: 0, False: 141]
  ------------------
  135|  33.1k|    }
  136|  33.1k|  }
_ZNK7llvm_ks7MCFixup6getLocEv:
  162|  3.73k|  SMLoc getLoc() const { return Loc; }

_ZNK7llvm_ks10MCFragment7getKindEv:
   97|   117M|  FragmentType getKind() const { return Kind; }
_ZNK7llvm_ks10MCFragment9getParentEv:
   99|   437k|  MCSection *getParent() const { return Parent; }
_ZN7llvm_ks10MCFragment9setParentEPNS_9MCSectionE:
  100|  77.2k|  void setParent(MCSection *Value) { Parent = Value; }
_ZNK7llvm_ks10MCFragment14getLayoutOrderEv:
  105|   261k|  unsigned getLayoutOrder() const { return LayoutOrder; }
_ZN7llvm_ks10MCFragment14setLayoutOrderEj:
  106|  75.6k|  void setLayoutOrder(unsigned Value) { LayoutOrder = Value; }
_ZNK7llvm_ks10MCFragment16getBundlePaddingEv:
  121|  16.9k|  uint8_t getBundlePadding() const { return BundlePadding; }
_ZNK7llvm_ks10MCFragment7isDummyEv:
  128|   585k|  bool isDummy() const { return Kind == FT_Dummy; }
_ZN7llvm_ks15MCDummyFragmentC2EPNS_9MCSectionE:
  136|   585k|      : MCFragment(FT_Dummy, false, 0, Sec){};
_ZN7llvm_ks17MCEncodedFragmentC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  147|  12.2k|      : MCFragment(FType, HasInstructions, 0, Sec) {}
_ZN7llvm_ks17MCEncodedFragment7classofEPKNS_10MCFragmentE:
  150|  80.4k|  static bool classof(const MCFragment *F) {
  151|  80.4k|    MCFragment::FragmentType Kind = F->getKind();
  152|  80.4k|    switch (Kind) {
  153|  61.7k|    default:
  ------------------
  |  Branch (153:5): [True: 61.7k, False: 18.6k]
  ------------------
  154|  61.7k|      return false;
  155|      0|    case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (155:5): [True: 0, False: 80.4k]
  ------------------
  156|      0|    case MCFragment::FT_CompactEncodedInst:
  ------------------
  |  Branch (156:5): [True: 0, False: 80.4k]
  ------------------
  157|  18.6k|    case MCFragment::FT_Data:
  ------------------
  |  Branch (157:5): [True: 18.6k, False: 61.7k]
  ------------------
  158|  18.6k|      return true;
  159|  80.4k|    }
  160|  80.4k|  }
_ZN7llvm_ks14MCDataFragmentC2EPNS_9MCSectionE:
  222|  12.2k|      : MCEncodedFragmentWithFixups<32, 4>(FT_Data, false, Sec) {}
_ZN7llvm_ks14MCDataFragment18setHasInstructionsEb:
  224|  7.18k|  void setHasInstructions(bool V) { HasInstructions = V; }
_ZN7llvm_ks14MCDataFragment7classofEPKNS_10MCFragmentE:
  226|   117M|  static bool classof(const MCFragment *F) {
  227|   117M|    return F->getKind() == MCFragment::FT_Data;
  228|   117M|  }
_ZN7llvm_ks28MCCompactEncodedInstFragment7classofEPKNS_10MCFragmentE:
  242|  9.31k|  static bool classof(const MCFragment *F) {
  243|  9.31k|    return F->getKind() == MCFragment::FT_CompactEncodedInst;
  244|  9.31k|  }
_ZN7llvm_ks15MCAlignFragmentC2EjljjPNS_9MCSectionE:
  297|  5.96k|      : MCFragment(FT_Align, false, 0, Sec), Alignment(Alignment),
  298|  5.96k|        EmitNops(false), Value(Value),
  299|  5.96k|        ValueSize(ValueSize), MaxBytesToEmit(MaxBytesToEmit) {}
_ZNK7llvm_ks15MCAlignFragment12getAlignmentEv:
  304|  9.74k|  unsigned getAlignment() const { return Alignment; }
_ZNK7llvm_ks15MCAlignFragment8getValueEv:
  306|    653|  int64_t getValue() const { return Value; }
_ZNK7llvm_ks15MCAlignFragment12getValueSizeEv:
  308|  13.1k|  unsigned getValueSize() const { return ValueSize; }
_ZNK7llvm_ks15MCAlignFragment17getMaxBytesToEmitEv:
  310|  9.74k|  unsigned getMaxBytesToEmit() const { return MaxBytesToEmit; }
_ZNK7llvm_ks15MCAlignFragment11hasEmitNopsEv:
  312|  4.41k|  bool hasEmitNops() const { return EmitNops; }
_ZN7llvm_ks15MCAlignFragment11setEmitNopsEb:
  313|  1.88k|  void setEmitNops(bool Value) { EmitNops = Value; }
_ZN7llvm_ks15MCAlignFragment7classofEPKNS_10MCFragmentE:
  317|  21.7k|  static bool classof(const MCFragment *F) {
  318|  21.7k|    return F->getKind() == MCFragment::FT_Align;
  319|  21.7k|  }
_ZN7llvm_ks14MCFillFragmentC2EhmPNS_9MCSectionE:
  332|  1.47k|      : MCFragment(FT_Fill, false, 0, Sec), Value(Value), Size(Size) {}
_ZNK7llvm_ks14MCFillFragment8getValueEv:
  334|  1.33k|  uint8_t getValue() const { return Value; }
_ZNK7llvm_ks14MCFillFragment7getSizeEv:
  335|  3.96k|  uint64_t getSize() const { return Size; }
_ZN7llvm_ks14MCFillFragment7classofEPKNS_10MCFragmentE:
  337|  5.45k|  static bool classof(const MCFragment *F) {
  338|  5.45k|    return F->getKind() == MCFragment::FT_Fill;
  339|  5.45k|  }
_ZN7llvm_ks13MCOrgFragmentC2ERKNS_6MCExprEaPNS_9MCSectionE:
  352|  57.5k|      : MCFragment(FT_Org, false, 0, Sec), Offset(&Offset), Value(Value) {}
_ZNK7llvm_ks13MCOrgFragment9getOffsetEv:
  357|  12.2k|  const MCExpr &getOffset() const { return *Offset; }
_ZNK7llvm_ks13MCOrgFragment8getValueEv:
  359|   148M|  uint8_t getValue() const { return Value; }
_ZN7llvm_ks13MCOrgFragment7classofEPKNS_10MCFragmentE:
  363|  73.4k|  static bool classof(const MCFragment *F) {
  364|  73.4k|    return F->getKind() == MCFragment::FT_Org;
  365|  73.4k|  }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj32ELj4EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  195|  12.2k|      : MCEncodedFragmentWithContents<ContentsSize>(FType, HasInstructions,
  196|  12.2k|                                                    Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj32EEC2ENS_10MCFragment12FragmentTypeEbPNS_9MCSectionE:
  174|  12.2k|      : MCEncodedFragment(FType, HasInstructions, Sec) {}
_ZN7llvm_ks29MCEncodedFragmentWithContentsILj32EE11getContentsEv:
  177|   116M|  SmallVectorImpl<char> &getContents() { return Contents; }
_ZN7llvm_ks27MCEncodedFragmentWithFixupsILj32ELj4EE9getFixupsEv:
  202|  48.0k|  SmallVectorImpl<MCFixup> &getFixups() { return Fixups; }
_ZNK7llvm_ks29MCEncodedFragmentWithContentsILj32EE11getContentsEv:
  178|  19.4k|  const SmallVectorImpl<char> &getContents() const { return Contents; }

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

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

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

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

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

_ZN7llvm_ks14MCObjectWriterC2ERNS_17raw_pwrite_streamEb:
   51|  13.4k|      : OS(&OS), IsLittleEndian(IsLittleEndian) {}
_ZN7llvm_ks14MCObjectWriter9getStreamEv:
   65|  59.7k|  raw_pwrite_stream &getStream() { return *OS; }
_ZN7llvm_ks14MCObjectWriter6write8Eh:
  127|   148M|  void write8(uint8_t Value) { *OS << char(Value); }
_ZN7llvm_ks14MCObjectWriter9writeLE32Ej:
  133|    412|  void writeLE32(uint32_t Value) {
  134|    412|    support::endian::Writer<support::little>(*OS).write(Value);
  135|    412|  }
_ZN7llvm_ks14MCObjectWriter7write32Ej:
  160|    412|  void write32(uint32_t Value) {
  161|    412|    if (IsLittleEndian)
  ------------------
  |  Branch (161:9): [True: 412, False: 0]
  ------------------
  162|    412|      writeLE32(Value);
  163|      0|    else
  164|      0|      writeBE32(Value);
  165|    412|  }
_ZN7llvm_ks14MCObjectWriter10WriteZerosEj:
  174|  6.56k|  void WriteZeros(unsigned N) {
  175|  6.56k|    const char Zeros[16] = {0};
  176|       |
  177|  6.56k|    for (unsigned i = 0, e = N / 16; i != e; ++i)
  ------------------
  |  Branch (177:38): [True: 0, False: 6.56k]
  ------------------
  178|      0|      *OS << StringRef(Zeros, 16);
  179|       |
  180|  6.56k|    *OS << StringRef(Zeros, N % 16);
  181|  6.56k|  }
_ZN7llvm_ks14MCObjectWriter10writeBytesERKNS_15SmallVectorImplIcEEj:
  184|  7.76k|                  unsigned ZeroFillSize = 0) {
  185|  7.76k|    writeBytes(StringRef(ByteVec.data(), ByteVec.size()), ZeroFillSize);
  186|  7.76k|  }
_ZN7llvm_ks14MCObjectWriter10writeBytesENS_9StringRefEj:
  188|  2.22M|  void writeBytes(StringRef Str, unsigned ZeroFillSize = 0) {
  189|       |    // TODO: this version may need to go away once all fragment contents are
  190|       |    // converted to SmallVector<char, N>
  191|  2.22M|    assert(
  ------------------
  |  Branch (191:5): [True: 2.22M, False: 0]
  |  Branch (191:5): [True: 0, False: 0]
  |  Branch (191:5): [True: 2.22M, Folded]
  |  Branch (191:5): [True: 2.22M, False: 0]
  ------------------
  192|  2.22M|        (ZeroFillSize == 0 || Str.size() <= ZeroFillSize) &&
  193|  2.22M|        "data size greater than fill size, unexpected large write will occur");
  194|  2.22M|    *OS << Str;
  195|  2.22M|    if (ZeroFillSize)
  ------------------
  |  Branch (195:9): [True: 0, False: 2.22M]
  ------------------
  196|      0|      WriteZeros(ZeroFillSize - Str.size());
  197|  2.22M|  }

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

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

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

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

_ZN7llvm_ks20MCAsmParserExtension10getContextEv:
   54|  37.4k|  MCContext &getContext() { return getParser().getContext(); }
_ZN7llvm_ks20MCAsmParserExtension8getLexerEv:
   56|   882k|  MCAsmLexer &getLexer() { return getParser().getLexer(); }
_ZN7llvm_ks20MCAsmParserExtension9getParserEv:
   61|  2.11M|  MCAsmParser &getParser() { return *Parser; }
_ZN7llvm_ks20MCAsmParserExtension11getStreamerEv:
   67|  13.5k|  MCStreamer &getStreamer() { return getParser().getStreamer(); }
_ZN7llvm_ks20MCAsmParserExtension7WarningENS_5SMLocERKNS_5TwineE:
   68|    692|  bool Warning(SMLoc L, const Twine &Msg) {
   69|    692|    return getParser().Warning(L, Msg);
   70|    692|  }
_ZN7llvm_ks20MCAsmParserExtension5ErrorENS_5SMLocERKNS_5TwineE:
   71|  4.30k|  bool Error(SMLoc L, const Twine &Msg) {
   72|  4.30k|    return getParser().Error(L, Msg);
   73|  4.30k|  }
_ZN7llvm_ks20MCAsmParserExtension8TokErrorERKNS_5TwineE:
   77|    154|  bool TokError(const Twine &Msg) {
   78|    154|    return getParser().TokError(Msg);
   79|    154|  }
_ZN7llvm_ks20MCAsmParserExtension3LexEv:
   81|  27.6k|  const AsmToken &Lex() { return getParser().Lex(); }
_ZNK7llvm_ks20MCAsmParserExtension21HasBracketExpressionsEv:
   85|  1.02k|  bool HasBracketExpressions() const { return BracketExpressionsSupported; }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_18parseDirectiveDescES5_S6_EEEEbPS0_S5_S6_:
   36|     29|                              SMLoc DirectiveLoc) {
   37|     29|    T *Obj = static_cast<T*>(Target);
   38|     29|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|     29|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_18parseDirectiveLsymES5_S6_EEEEbPS0_S5_S6_:
   36|     31|                              SMLoc DirectiveLoc) {
   37|     31|    T *Obj = static_cast<T*>(Target);
   38|     31|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|     31|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_24parseDirectiveDumpOrLoadES5_S6_EEEEbPS0_S5_S6_:
   36|    699|                              SMLoc DirectiveLoc) {
   37|    699|    T *Obj = static_cast<T*>(Target);
   38|    699|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    699|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_21parseDirectiveSectionES5_S6_EEEEbPS0_S5_S6_:
   36|  12.2k|                              SMLoc DirectiveLoc) {
   37|  12.2k|    T *Obj = static_cast<T*>(Target);
   38|  12.2k|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|  12.2k|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_18parseDirectiveTBSSES5_S6_EEEEbPS0_S5_S6_:
   36|    230|                              SMLoc DirectiveLoc) {
   37|    230|    T *Obj = static_cast<T*>(Target);
   38|    230|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    230|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_24parseSectionDirectiveBssES5_S6_EEEEbPS0_S5_S6_:
   36|    574|                              SMLoc DirectiveLoc) {
   37|    574|    T *Obj = static_cast<T*>(Target);
   38|    574|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    574|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_26parseSectionDirectiveConstES5_S6_EEEEbPS0_S5_S6_:
   36|     73|                              SMLoc DirectiveLoc) {
   37|     73|    T *Obj = static_cast<T*>(Target);
   38|     73|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|     73|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_32parseSectionDirectiveConstructorES5_S6_EEEEbPS0_S5_S6_:
   36|      3|                              SMLoc DirectiveLoc) {
   37|      3|    T *Obj = static_cast<T*>(Target);
   38|      3|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|      3|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_25parseSectionDirectiveDataES5_S6_EEEEbPS0_S5_S6_:
   36|    797|                              SMLoc DirectiveLoc) {
   37|    797|    T *Obj = static_cast<T*>(Target);
   38|    797|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    797|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_25parseSectionDirectiveDyldES5_S6_EEEEbPS0_S5_S6_:
   36|      3|                              SMLoc DirectiveLoc) {
   37|      3|    T *Obj = static_cast<T*>(Target);
   38|      3|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|      3|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_26parseSectionDirectiveTDataES5_S6_EEEEbPS0_S5_S6_:
   36|      1|                              SMLoc DirectiveLoc) {
   37|      1|    T *Obj = static_cast<T*>(Target);
   38|      1|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|      1|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_25parseSectionDirectiveTextES5_S6_EEEEbPS0_S5_S6_:
   36|      1|                              SMLoc DirectiveLoc) {
   37|      1|    T *Obj = static_cast<T*>(Target);
   38|      1|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|      1|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_24parseSectionDirectiveTLVES5_S6_EEEEbPS0_S5_S6_:
   36|      1|                              SMLoc DirectiveLoc) {
   37|      1|    T *Obj = static_cast<T*>(Target);
   38|      1|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|      1|  }
DarwinAsmParser.cpp:_ZN7llvm_ks20MCAsmParserExtension15HandleDirectiveIN12_GLOBAL__N_115DarwinAsmParserETnMT_FbNS_9StringRefENS_5SMLocEEXadL_ZNS3_26parseSectionDirectiveIdentES5_S6_EEEEbPS0_S5_S6_:
   36|    246|                              SMLoc DirectiveLoc) {
   37|    246|    T *Obj = static_cast<T*>(Target);
   38|    246|    return (Obj->*Handler)(Directive, DirectiveLoc);
   39|    246|  }

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

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

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

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

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

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

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

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

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

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

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

_ZNK7llvm_ks7MCValue11getConstantEv:
   46|   955k|  int64_t getConstant() const { return Cst; }
_ZNK7llvm_ks7MCValue7getSymAEv:
   47|   644k|  const MCSymbolRefExpr *getSymA() const { return SymA; }
_ZNK7llvm_ks7MCValue7getSymBEv:
   48|   544k|  const MCSymbolRefExpr *getSymB() const { return SymB; }
_ZNK7llvm_ks7MCValue10isAbsoluteEv:
   52|   652k|  bool isAbsolute() const { return !SymA && !SymB; }
  ------------------
  |  Branch (52:36): [True: 227k, False: 424k]
  |  Branch (52:45): [True: 216k, False: 10.8k]
  ------------------
_ZN7llvm_ks7MCValue3getEPKNS_15MCSymbolRefExprES3_lj:
   64|   614k|                     int64_t Val = 0, uint32_t RefKind = 0) {
   65|   614k|    MCValue R;
   66|   614k|    R.Cst = Val;
   67|   614k|    R.SymA = SymA;
   68|   614k|    R.SymB = SymB;
   69|   614k|    R.RefKind = RefKind;
   70|   614k|    return R;
   71|   614k|  }
_ZN7llvm_ks7MCValue3getEl:
   73|   352k|  static MCValue get(int64_t Val) {
   74|   352k|    MCValue R;
   75|   352k|    R.Cst = Val;
   76|   352k|    R.SymA = nullptr;
   77|   352k|    R.SymB = nullptr;
   78|   352k|    R.RefKind = 0;
   79|   352k|    return R;
   80|   352k|  }

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

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

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

_ZN7llvm_ks7alignOfINS_12MCSectionELFEEEjv:
  106|   107k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14MCSectionMachOEEEjv:
  106|    776|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIPNS_8MCSymbolEEEEEjv:
  106|  23.6k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIbEEEEjv:
  106|   238k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIjEEEEjv:
  106|   145k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryIPNS_14MCSectionMachOEEEEEjv:
  106|    340|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_14StringMapEntryINSt3__14pairIPNS_20MCAsmParserExtensionEPFbS5_NS_9StringRefENS_5SMLocEEEEEEEEjv:
  106|   888k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
AsmParser.cpp:_ZN7llvm_ks7alignOfINS_14StringMapEntryIN12_GLOBAL__N_19AsmParser13DirectiveKindEEEEEjv:
  106|  1.64M|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
AsmParser.cpp:_ZN7llvm_ks7alignOfINS_14StringMapEntryIN12_GLOBAL__N_110MCAsmMacroEEEEEjv:
  106|    653|inline unsigned alignOf() { return AlignOf<T>::Alignment; }
_ZN7llvm_ks7alignOfINS_8MCSymbol18NameEntryStorageTyEEEjv:
  106|   238k|inline unsigned alignOf() { return AlignOf<T>::Alignment; }

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

_ZN7llvm_ks4castINS_11MCSymbolELFENS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|   104k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   104k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 104k, False: 0]
  |  Branch (237:3): [True: 104k, Folded]
  |  Branch (237:3): [True: 104k, False: 0]
  ------------------
  238|   104k|  return cast_convert_val<X, Y*,
  239|   104k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   104k|}
_ZN7llvm_ks3isaINS_11MCSymbolELFEPNS_8MCSymbolEEEbRKT0_:
  132|   112k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   112k|  return isa_impl_wrap<X, const Y,
  134|   112k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   112k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPNS_8MCSymbolEPKS2_E4doitERS4_:
  111|   112k|  static bool doit(const From &Val) {
  112|   112k|    return isa_impl_wrap<To, SimpleFrom,
  113|   112k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   112k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   112k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEPKNS_8MCSymbolES4_E4doitERKS4_:
  121|   131k|  static bool doit(const FromTy &Val) {
  122|   131k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   131k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEPKNS_8MCSymbolEE4doitES4_:
   94|   131k|  static inline bool doit(const From *Val) {
   95|   131k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 131k, False: 0]
  |  Branch (95:5): [True: 131k, Folded]
  |  Branch (95:5): [True: 131k, False: 0]
  ------------------
   96|   131k|    return isa_impl<To, From>::doit(*Val);
   97|   131k|  }
_ZN7llvm_ks8isa_implINS_11MCSymbolELFENS_8MCSymbolEvE4doitERKS2_:
   55|   231k|  static inline bool doit(const From &Val) {
   56|   231k|    return To::classof(&Val);
   57|   231k|  }
_ZN7llvm_ks13simplify_typeIKPNS_8MCSymbolEE18getSimplifiedValueERS3_:
   45|   112k|  static RetType getSimplifiedValue(const From& Val) {
   46|   112k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|   112k|  }
_ZN7llvm_ks13simplify_typeIPNS_8MCSymbolEE18getSimplifiedValueERS2_:
   36|   112k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPNS_8MCSymbolES3_E4doitERKS3_:
  200|   104k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   104k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   104k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   104k|    return Res2;
  204|   104k|  }
_ZN7llvm_ks12cast_or_nullINS_11MCSymbolELFENS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  267|  22.2k|cast_or_null(Y *Val) {
  268|  22.2k|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 13.8k, False: 8.44k]
  ------------------
  269|  22.2k|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 8.44k, False: 0]
  |  Branch (269:3): [True: 8.44k, Folded]
  |  Branch (269:3): [True: 8.44k, False: 0]
  ------------------
  270|  8.44k|  return cast<X>(Val);
  271|  8.44k|}
_ZN7llvm_ks4castINS_11MCSymbolELFES1_EENS_10cast_rettyIT_PT0_E8ret_typeES5_:
  236|  1.03k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  1.03k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 1.03k, False: 0]
  |  Branch (237:3): [True: 1.03k, Folded]
  |  Branch (237:3): [True: 1.03k, False: 0]
  ------------------
  238|  1.03k|  return cast_convert_val<X, Y*,
  239|  1.03k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  1.03k|}
_ZN7llvm_ks3isaINS_11MCSymbolELFEPS1_EEbRKT0_:
  132|  1.03k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  1.03k|  return isa_impl_wrap<X, const Y,
  134|  1.03k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  1.03k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPS1_PKS1_E4doitERS3_:
  111|  1.03k|  static bool doit(const From &Val) {
  112|  1.03k|    return isa_impl_wrap<To, SimpleFrom,
  113|  1.03k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  1.03k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  1.03k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEPKS1_S3_E4doitERKS3_:
  121|  1.03k|  static bool doit(const FromTy &Val) {
  122|  1.03k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  1.03k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEPKS1_E4doitES3_:
   94|  1.03k|  static inline bool doit(const From *Val) {
   95|  1.03k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 1.03k, False: 0]
  |  Branch (95:5): [True: 1.03k, Folded]
  |  Branch (95:5): [True: 1.03k, False: 0]
  ------------------
   96|  1.03k|    return isa_impl<To, From>::doit(*Val);
   97|  1.03k|  }
_ZN7llvm_ks8isa_implINS_11MCSymbolELFES1_vE4doitERKS1_:
   64|  1.03k|  static inline bool doit(const From &) { return true; }
_ZN7llvm_ks13simplify_typeIKPNS_11MCSymbolELFEE18getSimplifiedValueERS3_:
   45|  1.03k|  static RetType getSimplifiedValue(const From& Val) {
   46|  1.03k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  1.03k|  }
_ZN7llvm_ks13simplify_typeIPNS_11MCSymbolELFEE18getSimplifiedValueERS2_:
   36|  1.03k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPS1_S2_E4doitERKS2_:
  200|  1.03k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  1.03k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  1.03k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  1.03k|    return Res2;
  204|  1.03k|  }
_ZN7llvm_ks4castINS_12MCTargetExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|     14|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|     14|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 14, False: 0]
  |  Branch (237:3): [True: 14, Folded]
  |  Branch (237:3): [True: 14, False: 0]
  ------------------
  238|     14|  return cast_convert_val<X, Y*,
  239|     14|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|     14|}
_ZN7llvm_ks3isaINS_12MCTargetExprEPKNS_6MCExprEEEbRKT0_:
  132|     14|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|     14|  return isa_impl_wrap<X, const Y,
  134|     14|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|     14|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCTargetExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|     14|  static bool doit(const From &Val) {
  112|     14|    return isa_impl_wrap<To, SimpleFrom,
  113|     14|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|     14|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|     14|  }
_ZN7llvm_ks13isa_impl_wrapINS_12MCTargetExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|     14|  static bool doit(const FromTy &Val) {
  122|     14|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|     14|  }
_ZN7llvm_ks11isa_impl_clINS_12MCTargetExprEPKNS_6MCExprEE4doitES4_:
   94|     14|  static inline bool doit(const From *Val) {
   95|     14|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 14, False: 0]
  |  Branch (95:5): [True: 14, Folded]
  |  Branch (95:5): [True: 14, False: 0]
  ------------------
   96|     14|    return isa_impl<To, From>::doit(*Val);
   97|     14|  }
_ZN7llvm_ks8isa_implINS_12MCTargetExprENS_6MCExprEvE4doitERKS2_:
   55|     21|  static inline bool doit(const From &Val) {
   56|     21|    return To::classof(&Val);
   57|     21|  }
_ZN7llvm_ks13simplify_typeIKPKNS_6MCExprEE18getSimplifiedValueERS4_:
   45|  2.08M|  static RetType getSimplifiedValue(const From& Val) {
   46|  2.08M|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  2.08M|  }
_ZN7llvm_ks13simplify_typeIPKNS_6MCExprEE18getSimplifiedValueERS3_:
   36|  2.08M|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks16cast_convert_valINS_12MCTargetExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|     14|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|     14|    typename cast_retty<To, FromTy>::ret_type Res2
  202|     14|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|     14|    return Res2;
  204|     14|  }
_ZN7llvm_ks4castINS_12MCBinaryExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   563k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   563k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 563k, False: 0]
  |  Branch (237:3): [True: 563k, Folded]
  |  Branch (237:3): [True: 563k, False: 0]
  ------------------
  238|   563k|  return cast_convert_val<X, Y*,
  239|   563k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   563k|}
_ZN7llvm_ks3isaINS_12MCBinaryExprEPKNS_6MCExprEEEbRKT0_:
  132|   563k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   563k|  return isa_impl_wrap<X, const Y,
  134|   563k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   563k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCBinaryExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   563k|  static bool doit(const From &Val) {
  112|   563k|    return isa_impl_wrap<To, SimpleFrom,
  113|   563k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   563k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   563k|  }
_ZN7llvm_ks13isa_impl_wrapINS_12MCBinaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   563k|  static bool doit(const FromTy &Val) {
  122|   563k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   563k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCBinaryExprEPKNS_6MCExprEE4doitES4_:
   94|   563k|  static inline bool doit(const From *Val) {
   95|   563k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 563k, False: 0]
  |  Branch (95:5): [True: 563k, Folded]
  |  Branch (95:5): [True: 563k, False: 0]
  ------------------
   96|   563k|    return isa_impl<To, From>::doit(*Val);
   97|   563k|  }
_ZN7llvm_ks8isa_implINS_12MCBinaryExprENS_6MCExprEvE4doitERKS2_:
   55|   760k|  static inline bool doit(const From &Val) {
   56|   760k|    return To::classof(&Val);
   57|   760k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCBinaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   563k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   563k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   563k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   563k|    return Res2;
  204|   563k|  }
_ZN7llvm_ks4castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   536k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   536k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 536k, False: 0]
  |  Branch (237:3): [True: 536k, Folded]
  |  Branch (237:3): [True: 536k, False: 0]
  ------------------
  238|   536k|  return cast_convert_val<X, Y*,
  239|   536k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   536k|}
_ZN7llvm_ks3isaINS_15MCSymbolRefExprEPKNS_6MCExprEEEbRKT0_:
  132|   544k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   544k|  return isa_impl_wrap<X, const Y,
  134|   544k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   544k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   544k|  static bool doit(const From &Val) {
  112|   544k|    return isa_impl_wrap<To, SimpleFrom,
  113|   544k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   544k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   544k|  }
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   544k|  static bool doit(const FromTy &Val) {
  122|   544k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   544k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCSymbolRefExprEPKNS_6MCExprEE4doitES4_:
   94|   544k|  static inline bool doit(const From *Val) {
   95|   544k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 544k, False: 0]
  |  Branch (95:5): [True: 544k, Folded]
  |  Branch (95:5): [True: 544k, False: 0]
  ------------------
   96|   544k|    return isa_impl<To, From>::doit(*Val);
   97|   544k|  }
_ZN7llvm_ks8isa_implINS_15MCSymbolRefExprENS_6MCExprEvE4doitERKS2_:
   55|   738k|  static inline bool doit(const From &Val) {
   56|   738k|    return To::classof(&Val);
   57|   738k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCSymbolRefExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   536k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   536k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   536k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   536k|    return Res2;
  204|   536k|  }
_ZN7llvm_ks4castINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|   100k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|   100k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 100k, False: 0]
  |  Branch (230:3): [True: 100k, Folded]
  |  Branch (230:3): [True: 100k, False: 0]
  ------------------
  231|   100k|  return cast_convert_val<X, Y,
  232|   100k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|   100k|}
_ZN7llvm_ks3isaINS_11MCSymbolELFENS_8MCSymbolEEEbRKT0_:
  132|   100k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   100k|  return isa_impl_wrap<X, const Y,
  134|   100k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   100k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKNS_8MCSymbolES3_E4doitERS3_:
  121|   100k|  static bool doit(const FromTy &Val) {
  122|   100k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   100k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCSymbolELFEKNS_8MCSymbolEE4doitERS3_:
   74|   100k|  static inline bool doit(const From &Val) {
   75|   100k|    return isa_impl<To, From>::doit(Val);
   76|   100k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEKNS_8MCSymbolES3_E4doitERS3_:
  200|   100k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   100k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   100k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   100k|    return Res2;
  204|   100k|  }
_ZN7llvm_ks4castINS_11MCUnaryExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   228k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   228k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 228k, False: 0]
  |  Branch (237:3): [True: 228k, Folded]
  |  Branch (237:3): [True: 228k, False: 0]
  ------------------
  238|   228k|  return cast_convert_val<X, Y*,
  239|   228k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   228k|}
_ZN7llvm_ks3isaINS_11MCUnaryExprEPKNS_6MCExprEEEbRKT0_:
  132|   228k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   228k|  return isa_impl_wrap<X, const Y,
  134|   228k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   228k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   228k|  static bool doit(const From &Val) {
  112|   228k|    return isa_impl_wrap<To, SimpleFrom,
  113|   228k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   228k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   228k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   228k|  static bool doit(const FromTy &Val) {
  122|   228k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   228k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCUnaryExprEPKNS_6MCExprEE4doitES4_:
   94|   228k|  static inline bool doit(const From *Val) {
   95|   228k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 228k, False: 0]
  |  Branch (95:5): [True: 228k, Folded]
  |  Branch (95:5): [True: 228k, False: 0]
  ------------------
   96|   228k|    return isa_impl<To, From>::doit(*Val);
   97|   228k|  }
_ZN7llvm_ks8isa_implINS_11MCUnaryExprENS_6MCExprEvE4doitERKS2_:
   55|   317k|  static inline bool doit(const From &Val) {
   56|   317k|    return To::classof(&Val);
   57|   317k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCUnaryExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   228k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   228k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   228k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   228k|    return Res2;
  204|   228k|  }
_ZN7llvm_ks13simplify_typeIKPNS_10MCFragmentEE18getSimplifiedValueERS3_:
   45|   117M|  static RetType getSimplifiedValue(const From& Val) {
   46|   117M|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|   117M|  }
_ZN7llvm_ks13simplify_typeIPNS_10MCFragmentEE18getSimplifiedValueERS2_:
   36|   117M|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks4castINS_14MCDataFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  58.5M|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  58.5M|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 58.5M, False: 0]
  |  Branch (237:3): [True: 58.5M, Folded]
  |  Branch (237:3): [True: 58.5M, False: 0]
  ------------------
  238|  58.5M|  return cast_convert_val<X, Y*,
  239|  58.5M|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  58.5M|}
_ZN7llvm_ks3isaINS_14MCDataFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|   117M|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   117M|  return isa_impl_wrap<X, const Y,
  134|   117M|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   117M|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|   117M|  static bool doit(const From &Val) {
  112|   117M|    return isa_impl_wrap<To, SimpleFrom,
  113|   117M|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   117M|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   117M|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|   117M|  static bool doit(const FromTy &Val) {
  122|   117M|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   117M|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|   117M|  static inline bool doit(const From *Val) {
   95|   117M|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 117M, False: 0]
  |  Branch (95:5): [True: 117M, Folded]
  |  Branch (95:5): [True: 117M, False: 0]
  ------------------
   96|   117M|    return isa_impl<To, From>::doit(*Val);
   97|   117M|  }
_ZN7llvm_ks8isa_implINS_14MCDataFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|   117M|  static inline bool doit(const From &Val) {
   56|   117M|    return To::classof(&Val);
   57|   117M|  }
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  58.5M|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  58.5M|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  58.5M|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  58.5M|    return Res2;
  204|  58.5M|  }
_ZN7llvm_ks8dyn_castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  297|  8.03k|dyn_cast(Y *Val) {
  298|  8.03k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 5.30k, False: 2.73k]
  ------------------
  299|  8.03k|}
_ZN7llvm_ks8isa_implINS_14MCConstantExprENS_6MCExprEvE4doitERKS2_:
   55|   747k|  static inline bool doit(const From &Val) {
   56|   747k|    return To::classof(&Val);
   57|   747k|  }
_ZN7llvm_ks4castINS_15MCSymbolRefExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|   193k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|   193k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 193k, False: 0]
  |  Branch (230:3): [True: 193k, Folded]
  |  Branch (230:3): [True: 193k, False: 0]
  ------------------
  231|   193k|  return cast_convert_val<X, Y,
  232|   193k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|   193k|}
_ZN7llvm_ks3isaINS_15MCSymbolRefExprENS_6MCExprEEEbRKT0_:
  132|   193k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   193k|  return isa_impl_wrap<X, const Y,
  134|   193k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   193k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCSymbolRefExprEKNS_6MCExprES3_E4doitERS3_:
  121|   193k|  static bool doit(const FromTy &Val) {
  122|   193k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   193k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCSymbolRefExprEKNS_6MCExprEE4doitERS3_:
   74|   193k|  static inline bool doit(const From &Val) {
   75|   193k|    return isa_impl<To, From>::doit(Val);
   76|   193k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCSymbolRefExprEKNS_6MCExprES3_E4doitERS3_:
  200|   193k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   193k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   193k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   193k|    return Res2;
  204|   193k|  }
_ZN7llvm_ks4castINS_11MCUnaryExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  88.8k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  88.8k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 88.8k, False: 0]
  |  Branch (230:3): [True: 88.8k, Folded]
  |  Branch (230:3): [True: 88.8k, False: 0]
  ------------------
  231|  88.8k|  return cast_convert_val<X, Y,
  232|  88.8k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  88.8k|}
_ZN7llvm_ks3isaINS_11MCUnaryExprENS_6MCExprEEEbRKT0_:
  132|  88.8k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  88.8k|  return isa_impl_wrap<X, const Y,
  134|  88.8k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  88.8k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCUnaryExprEKNS_6MCExprES3_E4doitERS3_:
  121|  88.8k|  static bool doit(const FromTy &Val) {
  122|  88.8k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  88.8k|  }
_ZN7llvm_ks11isa_impl_clINS_11MCUnaryExprEKNS_6MCExprEE4doitERS3_:
   74|  88.8k|  static inline bool doit(const From &Val) {
   75|  88.8k|    return isa_impl<To, From>::doit(Val);
   76|  88.8k|  }
_ZN7llvm_ks16cast_convert_valINS_11MCUnaryExprEKNS_6MCExprES3_E4doitERS3_:
  200|  88.8k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  88.8k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  88.8k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  88.8k|    return Res2;
  204|  88.8k|  }
_ZN7llvm_ks4castINS_12MCBinaryExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|   196k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|   196k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 196k, False: 0]
  |  Branch (230:3): [True: 196k, Folded]
  |  Branch (230:3): [True: 196k, False: 0]
  ------------------
  231|   196k|  return cast_convert_val<X, Y,
  232|   196k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|   196k|}
_ZN7llvm_ks3isaINS_12MCBinaryExprENS_6MCExprEEEbRKT0_:
  132|   196k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   196k|  return isa_impl_wrap<X, const Y,
  134|   196k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   196k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCBinaryExprEKNS_6MCExprES3_E4doitERS3_:
  121|   196k|  static bool doit(const FromTy &Val) {
  122|   196k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   196k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCBinaryExprEKNS_6MCExprEE4doitERS3_:
   74|   196k|  static inline bool doit(const From &Val) {
   75|   196k|    return isa_impl<To, From>::doit(Val);
   76|   196k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCBinaryExprEKNS_6MCExprES3_E4doitERS3_:
  200|   196k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   196k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   196k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   196k|    return Res2;
  204|   196k|  }
_ZN7llvm_ks3isaINS_14MCConstantExprEPKNS_6MCExprEEEbRKT0_:
  132|   747k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|   747k|  return isa_impl_wrap<X, const Y,
  134|   747k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|   747k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCConstantExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|   747k|  static bool doit(const From &Val) {
  112|   747k|    return isa_impl_wrap<To, SimpleFrom,
  113|   747k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|   747k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|   747k|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCConstantExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|   747k|  static bool doit(const FromTy &Val) {
  122|   747k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|   747k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCConstantExprEPKNS_6MCExprEE4doitES4_:
   94|   747k|  static inline bool doit(const From *Val) {
   95|   747k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 747k, False: 0]
  |  Branch (95:5): [True: 747k, Folded]
  |  Branch (95:5): [True: 747k, False: 0]
  ------------------
   96|   747k|    return isa_impl<To, From>::doit(*Val);
   97|   747k|  }
_ZN7llvm_ks8dyn_castINS_14MCConstantExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  297|   380k|dyn_cast(Y *Val) {
  298|   380k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 80.0k, False: 300k]
  ------------------
  299|   380k|}
_ZN7llvm_ks4castINS_14MCConstantExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|   361k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|   361k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 361k, False: 0]
  |  Branch (237:3): [True: 361k, Folded]
  |  Branch (237:3): [True: 361k, False: 0]
  ------------------
  238|   361k|  return cast_convert_val<X, Y*,
  239|   361k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|   361k|}
_ZN7llvm_ks16cast_convert_valINS_14MCConstantExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|   361k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|   361k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|   361k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|   361k|    return Res2;
  204|   361k|  }
_ZN7llvm_ks4castINS_15MCAlignFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  7.84k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  7.84k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 7.84k, False: 0]
  |  Branch (237:3): [True: 7.84k, Folded]
  |  Branch (237:3): [True: 7.84k, False: 0]
  ------------------
  238|  7.84k|  return cast_convert_val<X, Y*,
  239|  7.84k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  7.84k|}
_ZN7llvm_ks3isaINS_15MCAlignFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  7.84k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  7.84k|  return isa_impl_wrap<X, const Y,
  134|  7.84k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  7.84k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  7.84k|  static bool doit(const From &Val) {
  112|  7.84k|    return isa_impl_wrap<To, SimpleFrom,
  113|  7.84k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  7.84k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  7.84k|  }
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  7.84k|  static bool doit(const FromTy &Val) {
  122|  7.84k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  7.84k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCAlignFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  7.84k|  static inline bool doit(const From *Val) {
   95|  7.84k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 7.84k, False: 0]
  |  Branch (95:5): [True: 7.84k, Folded]
  |  Branch (95:5): [True: 7.84k, False: 0]
  ------------------
   96|  7.84k|    return isa_impl<To, From>::doit(*Val);
   97|  7.84k|  }
_ZN7llvm_ks8isa_implINS_15MCAlignFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  21.7k|  static inline bool doit(const From &Val) {
   56|  21.7k|    return To::classof(&Val);
   57|  21.7k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCAlignFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  7.84k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  7.84k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  7.84k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  7.84k|    return Res2;
  204|  7.84k|  }
_ZN7llvm_ks4castINS_14MCFillFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  1.47k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  1.47k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 1.47k, False: 0]
  |  Branch (237:3): [True: 1.47k, Folded]
  |  Branch (237:3): [True: 1.47k, False: 0]
  ------------------
  238|  1.47k|  return cast_convert_val<X, Y*,
  239|  1.47k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  1.47k|}
_ZN7llvm_ks3isaINS_14MCFillFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  1.47k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  1.47k|  return isa_impl_wrap<X, const Y,
  134|  1.47k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  1.47k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  1.47k|  static bool doit(const From &Val) {
  112|  1.47k|    return isa_impl_wrap<To, SimpleFrom,
  113|  1.47k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  1.47k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  1.47k|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  1.47k|  static bool doit(const FromTy &Val) {
  122|  1.47k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  1.47k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCFillFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  1.47k|  static inline bool doit(const From *Val) {
   95|  1.47k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 1.47k, False: 0]
  |  Branch (95:5): [True: 1.47k, Folded]
  |  Branch (95:5): [True: 1.47k, False: 0]
  ------------------
   96|  1.47k|    return isa_impl<To, From>::doit(*Val);
   97|  1.47k|  }
_ZN7llvm_ks8isa_implINS_14MCFillFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  5.45k|  static inline bool doit(const From &Val) {
   56|  5.45k|    return To::classof(&Val);
   57|  5.45k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCFillFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  1.47k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  1.47k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  1.47k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  1.47k|    return Res2;
  204|  1.47k|  }
_ZN7llvm_ks4castINS_13MCOrgFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  57.5k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  57.5k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 57.5k, False: 0]
  |  Branch (237:3): [True: 57.5k, Folded]
  |  Branch (237:3): [True: 57.5k, False: 0]
  ------------------
  238|  57.5k|  return cast_convert_val<X, Y*,
  239|  57.5k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  57.5k|}
_ZN7llvm_ks3isaINS_13MCOrgFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  57.5k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  57.5k|  return isa_impl_wrap<X, const Y,
  134|  57.5k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  57.5k|}
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  57.5k|  static bool doit(const From &Val) {
  112|  57.5k|    return isa_impl_wrap<To, SimpleFrom,
  113|  57.5k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  57.5k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  57.5k|  }
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  57.5k|  static bool doit(const FromTy &Val) {
  122|  57.5k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  57.5k|  }
_ZN7llvm_ks11isa_impl_clINS_13MCOrgFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  57.5k|  static inline bool doit(const From *Val) {
   95|  57.5k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 57.5k, False: 0]
  |  Branch (95:5): [True: 57.5k, Folded]
  |  Branch (95:5): [True: 57.5k, False: 0]
  ------------------
   96|  57.5k|    return isa_impl<To, From>::doit(*Val);
   97|  57.5k|  }
_ZN7llvm_ks8isa_implINS_13MCOrgFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  73.4k|  static inline bool doit(const From &Val) {
   56|  73.4k|    return To::classof(&Val);
   57|  73.4k|  }
_ZN7llvm_ks16cast_convert_valINS_13MCOrgFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  57.5k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  57.5k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  57.5k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  57.5k|    return Res2;
  204|  57.5k|  }
_ZN7llvm_ks16dyn_cast_or_nullINS_14MCDataFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  320|  59.6M|dyn_cast_or_null(Y *Val) {
  321|  59.6M|  return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (321:11): [True: 58.5M, False: 1.07M]
  |  Branch (321:18): [True: 58.5M, False: 77.8k]
  ------------------
  322|  59.6M|}
_ZN7llvm_ks4castINS_12MCTargetExprEKNS_6MCExprEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|      7|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|      7|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 7, False: 0]
  |  Branch (230:3): [True: 7, Folded]
  |  Branch (230:3): [True: 7, False: 0]
  ------------------
  231|      7|  return cast_convert_val<X, Y,
  232|      7|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|      7|}
_ZN7llvm_ks3isaINS_12MCTargetExprENS_6MCExprEEEbRKT0_:
  132|      7|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|      7|  return isa_impl_wrap<X, const Y,
  134|      7|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|      7|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCTargetExprEKNS_6MCExprES3_E4doitERS3_:
  121|      7|  static bool doit(const FromTy &Val) {
  122|      7|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|      7|  }
_ZN7llvm_ks11isa_impl_clINS_12MCTargetExprEKNS_6MCExprEE4doitERS3_:
   74|      7|  static inline bool doit(const From &Val) {
   75|      7|    return isa_impl<To, From>::doit(Val);
   76|      7|  }
_ZN7llvm_ks16cast_convert_valINS_12MCTargetExprEKNS_6MCExprES3_E4doitERS3_:
  200|      7|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|      7|    typename cast_retty<To, FromTy>::ret_type Res2
  202|      7|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|      7|    return Res2;
  204|      7|  }
_ZN7llvm_ks4castINS_14MCDataFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  19.4k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  19.4k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 19.4k, False: 0]
  |  Branch (230:3): [True: 19.4k, Folded]
  |  Branch (230:3): [True: 19.4k, False: 0]
  ------------------
  231|  19.4k|  return cast_convert_val<X, Y,
  232|  19.4k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  19.4k|}
_ZN7llvm_ks3isaINS_14MCDataFragmentENS_10MCFragmentEEEbRKT0_:
  132|  19.4k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  19.4k|  return isa_impl_wrap<X, const Y,
  134|  19.4k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  19.4k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  19.4k|  static bool doit(const FromTy &Val) {
  122|  19.4k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  19.4k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  19.4k|  static inline bool doit(const From &Val) {
   75|  19.4k|    return isa_impl<To, From>::doit(Val);
   76|  19.4k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  19.4k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  19.4k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  19.4k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  19.4k|    return Res2;
  204|  19.4k|  }
_ZN7llvm_ks4castINS_14MCFillFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  3.97k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  3.97k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 3.97k, False: 0]
  |  Branch (230:3): [True: 3.97k, Folded]
  |  Branch (230:3): [True: 3.97k, False: 0]
  ------------------
  231|  3.97k|  return cast_convert_val<X, Y,
  232|  3.97k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  3.97k|}
_ZN7llvm_ks3isaINS_14MCFillFragmentENS_10MCFragmentEEEbRKT0_:
  132|  3.97k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  3.97k|  return isa_impl_wrap<X, const Y,
  134|  3.97k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  3.97k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCFillFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  3.97k|  static bool doit(const FromTy &Val) {
  122|  3.97k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  3.97k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCFillFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  3.97k|  static inline bool doit(const From &Val) {
   75|  3.97k|    return isa_impl<To, From>::doit(Val);
   76|  3.97k|  }
_ZN7llvm_ks16cast_convert_valINS_14MCFillFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  3.97k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  3.97k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  3.97k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  3.97k|    return Res2;
  204|  3.97k|  }
_ZN7llvm_ks4castINS_15MCAlignFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  13.9k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  13.9k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 13.9k, False: 0]
  |  Branch (230:3): [True: 13.9k, Folded]
  |  Branch (230:3): [True: 13.9k, False: 0]
  ------------------
  231|  13.9k|  return cast_convert_val<X, Y,
  232|  13.9k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  13.9k|}
_ZN7llvm_ks3isaINS_15MCAlignFragmentENS_10MCFragmentEEEbRKT0_:
  132|  13.9k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  13.9k|  return isa_impl_wrap<X, const Y,
  134|  13.9k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  13.9k|}
_ZN7llvm_ks13isa_impl_wrapINS_15MCAlignFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  13.9k|  static bool doit(const FromTy &Val) {
  122|  13.9k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  13.9k|  }
_ZN7llvm_ks11isa_impl_clINS_15MCAlignFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  13.9k|  static inline bool doit(const From &Val) {
   75|  13.9k|    return isa_impl<To, From>::doit(Val);
   76|  13.9k|  }
_ZN7llvm_ks16cast_convert_valINS_15MCAlignFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  13.9k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  13.9k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  13.9k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  13.9k|    return Res2;
  204|  13.9k|  }
_ZN7llvm_ks4castINS_13MCOrgFragmentEKNS_10MCFragmentEEENS_10cast_rettyIT_T0_E8ret_typeERS6_:
  229|  15.9k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  15.9k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 15.9k, False: 0]
  |  Branch (230:3): [True: 15.9k, Folded]
  |  Branch (230:3): [True: 15.9k, False: 0]
  ------------------
  231|  15.9k|  return cast_convert_val<X, Y,
  232|  15.9k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  15.9k|}
_ZN7llvm_ks3isaINS_13MCOrgFragmentENS_10MCFragmentEEEbRKT0_:
  132|  15.9k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  15.9k|  return isa_impl_wrap<X, const Y,
  134|  15.9k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  15.9k|}
_ZN7llvm_ks13isa_impl_wrapINS_13MCOrgFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  121|  15.9k|  static bool doit(const FromTy &Val) {
  122|  15.9k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  15.9k|  }
_ZN7llvm_ks11isa_impl_clINS_13MCOrgFragmentEKNS_10MCFragmentEE4doitERS3_:
   74|  15.9k|  static inline bool doit(const From &Val) {
   75|  15.9k|    return isa_impl<To, From>::doit(Val);
   76|  15.9k|  }
_ZN7llvm_ks16cast_convert_valINS_13MCOrgFragmentEKNS_10MCFragmentES3_E4doitERS3_:
  200|  15.9k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  15.9k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  15.9k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  15.9k|    return Res2;
  204|  15.9k|  }
_ZN7llvm_ks3isaINS_17MCEncodedFragmentEPNS_10MCFragmentEEEbRKT0_:
  132|  80.4k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  80.4k|  return isa_impl_wrap<X, const Y,
  134|  80.4k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  80.4k|}
_ZN7llvm_ks13isa_impl_wrapINS_17MCEncodedFragmentEKPNS_10MCFragmentEPKS2_E4doitERS4_:
  111|  80.4k|  static bool doit(const From &Val) {
  112|  80.4k|    return isa_impl_wrap<To, SimpleFrom,
  113|  80.4k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  80.4k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  80.4k|  }
_ZN7llvm_ks13isa_impl_wrapINS_17MCEncodedFragmentEPKNS_10MCFragmentES4_E4doitERKS4_:
  121|  80.4k|  static bool doit(const FromTy &Val) {
  122|  80.4k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  80.4k|  }
_ZN7llvm_ks11isa_impl_clINS_17MCEncodedFragmentEPKNS_10MCFragmentEE4doitES4_:
   94|  80.4k|  static inline bool doit(const From *Val) {
   95|  80.4k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 80.4k, False: 0]
  |  Branch (95:5): [True: 80.4k, Folded]
  |  Branch (95:5): [True: 80.4k, False: 0]
  ------------------
   96|  80.4k|    return isa_impl<To, From>::doit(*Val);
   97|  80.4k|  }
_ZN7llvm_ks8isa_implINS_17MCEncodedFragmentENS_10MCFragmentEvE4doitERKS2_:
   55|  80.4k|  static inline bool doit(const From &Val) {
   56|  80.4k|    return To::classof(&Val);
   57|  80.4k|  }
_ZN7llvm_ks13simplify_typeIKPKNS_9MCSectionEE18getSimplifiedValueERS4_:
   45|  9.33k|  static RetType getSimplifiedValue(const From& Val) {
   46|  9.33k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  9.33k|  }
_ZN7llvm_ks13simplify_typeIPKNS_9MCSectionEE18getSimplifiedValueERS3_:
   36|  9.33k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks8dyn_castINS_17MCEncodedFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  297|  71.1k|dyn_cast(Y *Val) {
  298|  71.1k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 9.31k, False: 61.7k]
  ------------------
  299|  71.1k|}
_ZN7llvm_ks4castINS_17MCEncodedFragmentENS_10MCFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  9.31k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  9.31k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 9.31k, False: 0]
  |  Branch (237:3): [True: 9.31k, Folded]
  |  Branch (237:3): [True: 9.31k, False: 0]
  ------------------
  238|  9.31k|  return cast_convert_val<X, Y*,
  239|  9.31k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  9.31k|}
_ZN7llvm_ks16cast_convert_valINS_17MCEncodedFragmentEPNS_10MCFragmentES3_E4doitERKS3_:
  200|  9.31k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  9.31k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  9.31k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  9.31k|    return Res2;
  204|  9.31k|  }
_ZN7llvm_ks3isaINS_28MCCompactEncodedInstFragmentEPNS_17MCEncodedFragmentEEEbRKT0_:
  132|  9.31k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  9.31k|  return isa_impl_wrap<X, const Y,
  134|  9.31k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  9.31k|}
_ZN7llvm_ks13isa_impl_wrapINS_28MCCompactEncodedInstFragmentEKPNS_17MCEncodedFragmentEPKS2_E4doitERS4_:
  111|  9.31k|  static bool doit(const From &Val) {
  112|  9.31k|    return isa_impl_wrap<To, SimpleFrom,
  113|  9.31k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  9.31k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  9.31k|  }
_ZN7llvm_ks13isa_impl_wrapINS_28MCCompactEncodedInstFragmentEPKNS_17MCEncodedFragmentES4_E4doitERKS4_:
  121|  9.31k|  static bool doit(const FromTy &Val) {
  122|  9.31k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  9.31k|  }
_ZN7llvm_ks11isa_impl_clINS_28MCCompactEncodedInstFragmentEPKNS_17MCEncodedFragmentEE4doitES4_:
   94|  9.31k|  static inline bool doit(const From *Val) {
   95|  9.31k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 9.31k, False: 0]
  |  Branch (95:5): [True: 9.31k, Folded]
  |  Branch (95:5): [True: 9.31k, False: 0]
  ------------------
   96|  9.31k|    return isa_impl<To, From>::doit(*Val);
   97|  9.31k|  }
_ZN7llvm_ks8isa_implINS_28MCCompactEncodedInstFragmentENS_17MCEncodedFragmentEvE4doitERKS2_:
   55|  9.31k|  static inline bool doit(const From &Val) {
   56|  9.31k|    return To::classof(&Val);
   57|  9.31k|  }
_ZN7llvm_ks13simplify_typeIKPNS_17MCEncodedFragmentEE18getSimplifiedValueERS3_:
   45|  27.9k|  static RetType getSimplifiedValue(const From& Val) {
   46|  27.9k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  27.9k|  }
_ZN7llvm_ks13simplify_typeIPNS_17MCEncodedFragmentEE18getSimplifiedValueERS2_:
   36|  27.9k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks8dyn_castINS_14MCDataFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  297|  9.31k|dyn_cast(Y *Val) {
  298|  9.31k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 9.31k, False: 0]
  ------------------
  299|  9.31k|}
_ZN7llvm_ks3isaINS_14MCDataFragmentEPNS_17MCEncodedFragmentEEEbRKT0_:
  132|  18.6k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  18.6k|  return isa_impl_wrap<X, const Y,
  134|  18.6k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  18.6k|}
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEKPNS_17MCEncodedFragmentEPKS2_E4doitERS4_:
  111|  18.6k|  static bool doit(const From &Val) {
  112|  18.6k|    return isa_impl_wrap<To, SimpleFrom,
  113|  18.6k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  18.6k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  18.6k|  }
_ZN7llvm_ks13isa_impl_wrapINS_14MCDataFragmentEPKNS_17MCEncodedFragmentES4_E4doitERKS4_:
  121|  18.6k|  static bool doit(const FromTy &Val) {
  122|  18.6k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  18.6k|  }
_ZN7llvm_ks11isa_impl_clINS_14MCDataFragmentEPKNS_17MCEncodedFragmentEE4doitES4_:
   94|  18.6k|  static inline bool doit(const From *Val) {
   95|  18.6k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 18.6k, False: 0]
  |  Branch (95:5): [True: 18.6k, Folded]
  |  Branch (95:5): [True: 18.6k, False: 0]
  ------------------
   96|  18.6k|    return isa_impl<To, From>::doit(*Val);
   97|  18.6k|  }
_ZN7llvm_ks8isa_implINS_14MCDataFragmentENS_17MCEncodedFragmentEvE4doitERKS2_:
   55|  18.6k|  static inline bool doit(const From &Val) {
   56|  18.6k|    return To::classof(&Val);
   57|  18.6k|  }
_ZN7llvm_ks4castINS_14MCDataFragmentENS_17MCEncodedFragmentEEENS_10cast_rettyIT_PT0_E8ret_typeES6_:
  236|  9.31k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  9.31k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 9.31k, False: 0]
  |  Branch (237:3): [True: 9.31k, Folded]
  |  Branch (237:3): [True: 9.31k, False: 0]
  ------------------
  238|  9.31k|  return cast_convert_val<X, Y*,
  239|  9.31k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  9.31k|}
_ZN7llvm_ks16cast_convert_valINS_14MCDataFragmentEPNS_17MCEncodedFragmentES3_E4doitERKS3_:
  200|  9.31k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  9.31k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  9.31k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  9.31k|    return Res2;
  204|  9.31k|  }
_ZN7llvm_ks3isaINS_11MCSymbolELFEPKNS_8MCSymbolEEEbRKT0_:
  132|  18.7k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  18.7k|  return isa_impl_wrap<X, const Y,
  134|  18.7k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  18.7k|}
_ZN7llvm_ks13isa_impl_wrapINS_11MCSymbolELFEKPKNS_8MCSymbolES4_E4doitERS5_:
  111|  18.7k|  static bool doit(const From &Val) {
  112|  18.7k|    return isa_impl_wrap<To, SimpleFrom,
  113|  18.7k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  18.7k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  18.7k|  }
_ZN7llvm_ks13simplify_typeIKPKNS_8MCSymbolEE18getSimplifiedValueERS4_:
   45|  18.7k|  static RetType getSimplifiedValue(const From& Val) {
   46|  18.7k|    return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
   47|  18.7k|  }
_ZN7llvm_ks13simplify_typeIPKNS_8MCSymbolEE18getSimplifiedValueERS3_:
   36|  18.7k|  static SimpleType &getSimplifiedValue(From &Val) { return Val; }
_ZN7llvm_ks4castINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|  14.0k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  14.0k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 14.0k, False: 0]
  |  Branch (237:3): [True: 14.0k, Folded]
  |  Branch (237:3): [True: 14.0k, False: 0]
  ------------------
  238|  14.0k|  return cast_convert_val<X, Y*,
  239|  14.0k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  14.0k|}
_ZN7llvm_ks16cast_convert_valINS_11MCSymbolELFEPKNS_8MCSymbolES4_E4doitERKS4_:
  200|  14.0k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  14.0k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  14.0k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  14.0k|    return Res2;
  204|  14.0k|  }
_ZN7llvm_ks8dyn_castINS_11SparcMCExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  297|  5.47k|dyn_cast(Y *Val) {
  298|  5.47k|  return isa<X>(Val) ? cast<X>(Val) : nullptr;
  ------------------
  |  Branch (298:10): [True: 9, False: 5.46k]
  ------------------
  299|  5.47k|}
_ZN7llvm_ks3isaINS_11SparcMCExprEPKNS_6MCExprEEEbRKT0_:
  132|  5.48k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  5.48k|  return isa_impl_wrap<X, const Y,
  134|  5.48k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  5.48k|}
_ZN7llvm_ks13isa_impl_wrapINS_11SparcMCExprEKPKNS_6MCExprES4_E4doitERS5_:
  111|  5.48k|  static bool doit(const From &Val) {
  112|  5.48k|    return isa_impl_wrap<To, SimpleFrom,
  113|  5.48k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  5.48k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  5.48k|  }
_ZN7llvm_ks13isa_impl_wrapINS_11SparcMCExprEPKNS_6MCExprES4_E4doitERKS4_:
  121|  5.48k|  static bool doit(const FromTy &Val) {
  122|  5.48k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  5.48k|  }
_ZN7llvm_ks11isa_impl_clINS_11SparcMCExprEPKNS_6MCExprEE4doitES4_:
   94|  5.48k|  static inline bool doit(const From *Val) {
   95|  5.48k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 5.48k, False: 0]
  |  Branch (95:5): [True: 5.48k, Folded]
  |  Branch (95:5): [True: 5.48k, False: 0]
  ------------------
   96|  5.48k|    return isa_impl<To, From>::doit(*Val);
   97|  5.48k|  }
_ZN7llvm_ks8isa_implINS_11SparcMCExprENS_6MCExprEvE4doitERKS2_:
   55|  5.48k|  static inline bool doit(const From &Val) {
   56|  5.48k|    return To::classof(&Val);
   57|  5.48k|  }
_ZN7llvm_ks4castINS_11SparcMCExprEKNS_6MCExprEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|      9|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|      9|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 9, False: 0]
  |  Branch (237:3): [True: 9, Folded]
  |  Branch (237:3): [True: 9, False: 0]
  ------------------
  238|      9|  return cast_convert_val<X, Y*,
  239|      9|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|      9|}
_ZN7llvm_ks16cast_convert_valINS_11SparcMCExprEPKNS_6MCExprES4_E4doitERKS4_:
  200|      9|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|      9|    typename cast_retty<To, FromTy>::ret_type Res2
  202|      9|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|      9|    return Res2;
  204|      9|  }
_ZN7llvm_ks4castINS_12MCSectionELFENS_9MCSectionEEENS_10cast_rettyIT_T0_E8ret_typeERS5_:
  229|  13.8k|inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
  230|  13.8k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (230:3): [True: 13.8k, False: 0]
  |  Branch (230:3): [True: 13.8k, Folded]
  |  Branch (230:3): [True: 13.8k, False: 0]
  ------------------
  231|  13.8k|  return cast_convert_val<X, Y,
  232|  13.8k|                          typename simplify_type<Y>::SimpleType>::doit(Val);
  233|  13.8k|}
_ZN7llvm_ks3isaINS_12MCSectionELFENS_9MCSectionEEEbRKT0_:
  132|  13.8k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  13.8k|  return isa_impl_wrap<X, const Y,
  134|  13.8k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  13.8k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEKNS_9MCSectionES3_E4doitERS3_:
  121|  13.8k|  static bool doit(const FromTy &Val) {
  122|  13.8k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  13.8k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCSectionELFEKNS_9MCSectionEE4doitERS3_:
   74|  13.8k|  static inline bool doit(const From &Val) {
   75|  13.8k|    return isa_impl<To, From>::doit(Val);
   76|  13.8k|  }
_ZN7llvm_ks8isa_implINS_12MCSectionELFENS_9MCSectionEvE4doitERKS2_:
   55|  23.1k|  static inline bool doit(const From &Val) {
   56|  23.1k|    return To::classof(&Val);
   57|  23.1k|  }
_ZN7llvm_ks16cast_convert_valINS_12MCSectionELFENS_9MCSectionES2_E4doitERKS2_:
  200|  13.8k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  13.8k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  13.8k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  13.8k|    return Res2;
  204|  13.8k|  }
_ZN7llvm_ks12cast_or_nullINS_11MCSymbolELFEKNS_8MCSymbolEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  267|  5.44k|cast_or_null(Y *Val) {
  268|  5.44k|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 741, False: 4.70k]
  ------------------
  269|  5.44k|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 4.70k, False: 0]
  |  Branch (269:3): [True: 4.70k, Folded]
  |  Branch (269:3): [True: 4.70k, False: 0]
  ------------------
  270|  4.70k|  return cast<X>(Val);
  271|  4.70k|}
_ZN7llvm_ks12cast_or_nullINS_12MCSectionELFEKNS_9MCSectionEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  267|  5.41k|cast_or_null(Y *Val) {
  268|  5.41k|  if (!Val) return nullptr;
  ------------------
  |  Branch (268:7): [True: 741, False: 4.66k]
  ------------------
  269|  5.41k|  assert(isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (269:3): [True: 4.66k, False: 0]
  |  Branch (269:3): [True: 4.66k, Folded]
  |  Branch (269:3): [True: 4.66k, False: 0]
  ------------------
  270|  4.66k|  return cast<X>(Val);
  271|  4.66k|}
_ZN7llvm_ks3isaINS_12MCSectionELFEPKNS_9MCSectionEEEbRKT0_:
  132|  9.33k|LLVM_ATTRIBUTE_UNUSED_RESULT inline bool isa(const Y &Val) {
  133|  9.33k|  return isa_impl_wrap<X, const Y,
  134|  9.33k|                       typename simplify_type<const Y>::SimpleType>::doit(Val);
  135|  9.33k|}
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEKPKNS_9MCSectionES4_E4doitERS5_:
  111|  9.33k|  static bool doit(const From &Val) {
  112|  9.33k|    return isa_impl_wrap<To, SimpleFrom,
  113|  9.33k|      typename simplify_type<SimpleFrom>::SimpleType>::doit(
  114|  9.33k|                          simplify_type<const From>::getSimplifiedValue(Val));
  115|  9.33k|  }
_ZN7llvm_ks13isa_impl_wrapINS_12MCSectionELFEPKNS_9MCSectionES4_E4doitERKS4_:
  121|  9.33k|  static bool doit(const FromTy &Val) {
  122|  9.33k|    return isa_impl_cl<To,FromTy>::doit(Val);
  123|  9.33k|  }
_ZN7llvm_ks11isa_impl_clINS_12MCSectionELFEPKNS_9MCSectionEE4doitES4_:
   94|  9.33k|  static inline bool doit(const From *Val) {
   95|  9.33k|    assert(Val && "isa<> used on a null pointer");
  ------------------
  |  Branch (95:5): [True: 9.33k, False: 0]
  |  Branch (95:5): [True: 9.33k, Folded]
  |  Branch (95:5): [True: 9.33k, False: 0]
  ------------------
   96|  9.33k|    return isa_impl<To, From>::doit(*Val);
   97|  9.33k|  }
_ZN7llvm_ks4castINS_12MCSectionELFEKNS_9MCSectionEEENS_10cast_rettyIT_PT0_E8ret_typeES7_:
  236|  4.66k|inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
  237|  4.66k|  assert(isa<X>(Val) && "cast<Ty>() argument of incompatible type!");
  ------------------
  |  Branch (237:3): [True: 4.66k, False: 0]
  |  Branch (237:3): [True: 4.66k, Folded]
  |  Branch (237:3): [True: 4.66k, False: 0]
  ------------------
  238|  4.66k|  return cast_convert_val<X, Y*,
  239|  4.66k|                          typename simplify_type<Y*>::SimpleType>::doit(Val);
  240|  4.66k|}
_ZN7llvm_ks16cast_convert_valINS_12MCSectionELFEPKNS_9MCSectionES4_E4doitERKS4_:
  200|  4.66k|  static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
  201|  4.66k|    typename cast_retty<To, FromTy>::ret_type Res2
  202|  4.66k|     = (typename cast_retty<To, FromTy>::ret_type)const_cast<FromTy&>(Val);
  203|  4.66k|    return Res2;
  204|  4.66k|  }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

_ZN7llvm_ks21createELFObjectWriterEPNS_23MCELFObjectTargetWriterERNS_17raw_pwrite_streamEb:
 1271|  13.4k|                                            bool IsLittleEndian) {
 1272|  13.4k|  return new ELFObjectWriter(MOTW, OS, IsLittleEndian);
 1273|  13.4k|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriterC2EPN7llvm_ks23MCELFObjectTargetWriterERNS1_17raw_pwrite_streamEb:
  142|  13.4k|        : MCObjectWriter(OS, IsLittleEndian), TargetObjectWriter(MOTW) {}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriterD2Ev:
  297|  13.4k|{}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter24executePostLayoutBindingERN7llvm_ks11MCAssemblerERKNS1_11MCAsmLayoutE:
  316|  6.88k|                                               const MCAsmLayout &Layout) {
  317|       |  // The presence of symbol versions causes undefined symbols and
  318|       |  // versions declared with @@@ to be renamed.
  319|       |
  320|  79.5k|  for (const MCSymbol &A : Asm.symbols()) {
  ------------------
  |  Branch (320:26): [True: 79.5k, False: 6.88k]
  ------------------
  321|  79.5k|    const auto &Alias = cast<MCSymbolELF>(A);
  322|       |    // Not an alias.
  323|  79.5k|    if (!Alias.isVariable())
  ------------------
  |  Branch (323:9): [True: 77.9k, False: 1.52k]
  ------------------
  324|  77.9k|      continue;
  325|  1.52k|    auto *Ref = dyn_cast<MCSymbolRefExpr>(Alias.getVariableValue());
  326|  1.52k|    if (!Ref)
  ------------------
  |  Branch (326:9): [True: 678, False: 842]
  ------------------
  327|    678|      continue;
  328|    842|    const auto &Symbol = cast<MCSymbolELF>(Ref->getSymbol());
  329|       |
  330|    842|    StringRef AliasName = Alias.getName();
  331|    842|    size_t Pos = AliasName.find('@');
  332|    842|    if (Pos == StringRef::npos)
  ------------------
  |  Branch (332:9): [True: 269, False: 573]
  ------------------
  333|    269|      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|    573|    Alias.setExternal(Symbol.isExternal());
  338|    573|    Alias.setBinding(Symbol.getBinding());
  339|       |
  340|    573|    StringRef Rest = AliasName.substr(Pos);
  341|    573|    if (!Symbol.isUndefined() && !Rest.startswith("@@@"))
  ------------------
  |  Branch (341:9): [True: 261, False: 312]
  |  Branch (341:9): [True: 81, False: 492]
  |  Branch (341:34): [True: 81, False: 180]
  ------------------
  342|     81|      continue;
  343|       |
  344|       |    // FIXME: produce a better error message.
  345|    492|    if (Symbol.isUndefined() && Rest.startswith("@@") &&
  ------------------
  |  Branch (345:9): [True: 312, False: 180]
  |  Branch (345:9): [True: 0, False: 492]
  |  Branch (345:33): [True: 47, False: 265]
  ------------------
  346|     47|        !Rest.startswith("@@@"))
  ------------------
  |  Branch (346:9): [True: 0, False: 47]
  ------------------
  347|      0|      report_fatal_error("A @@ version cannot be undefined");
  348|       |
  349|    492|    Renames.insert(std::make_pair(&Symbol, &Alias));
  350|    492|  }
  351|  6.88k|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter16recordRelocationERN7llvm_ks11MCAssemblerERKNS1_11MCAsmLayoutEPKNS1_10MCFragmentERKNS1_7MCFixupENS1_7MCValueERbRm:
  557|  9.17k|{
  558|  9.17k|  const MCSectionELF &FixupSection = cast<MCSectionELF>(*Fragment->getParent());
  559|  9.17k|  uint64_t C = Target.getConstant();
  560|  9.17k|  bool valid;
  561|  9.17k|  uint64_t FixupOffset = Layout.getFragmentOffset(Fragment, valid) + Fixup.getOffset();
  562|  9.17k|  MCContext &Ctx = Asm.getContext();
  563|       |
  564|  9.17k|  if (const MCSymbolRefExpr *RefB = Target.getSymB()) {
  ------------------
  |  Branch (564:30): [True: 4.39k, False: 4.77k]
  ------------------
  565|  4.39k|    assert(RefB->getKind() == MCSymbolRefExpr::VK_None &&
  ------------------
  |  Branch (565:5): [True: 4.39k, False: 0]
  |  Branch (565:5): [True: 4.39k, Folded]
  |  Branch (565:5): [True: 4.39k, False: 0]
  ------------------
  566|  4.39k|           "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|  4.39k|    if (IsPCRel) {
  ------------------
  |  Branch (575:9): [True: 370, False: 4.02k]
  ------------------
  576|    370|      Ctx.reportError(
  577|    370|          Fixup.getLoc(),
  578|    370|          "No relocation available to represent this relative expression");
  579|    370|      return;
  580|    370|    }
  581|       |
  582|  4.02k|    const auto &SymB = cast<MCSymbolELF>(RefB->getSymbol());
  583|       |
  584|  4.02k|    if (SymB.isUndefined()) {
  ------------------
  |  Branch (584:9): [True: 3.36k, False: 666]
  ------------------
  585|  3.36k|      Ctx.reportError(Fixup.getLoc(),
  586|  3.36k|                      Twine("symbol '") + SymB.getName() +
  587|  3.36k|                          "' can not be undefined in a subtraction expression");
  588|  3.36k|      return;
  589|  3.36k|    }
  590|       |
  591|  4.02k|    assert(!SymB.isAbsolute() && "Should have been folded");
  ------------------
  |  Branch (591:5): [True: 666, False: 0]
  |  Branch (591:5): [True: 666, Folded]
  |  Branch (591:5): [True: 666, False: 0]
  ------------------
  592|    666|    const MCSection &SecB = SymB.getSection();
  593|    666|    if (&SecB != &FixupSection) {
  ------------------
  |  Branch (593:9): [True: 0, False: 666]
  ------------------
  594|      0|      Ctx.reportError(Fixup.getLoc(),
  595|      0|                      "Cannot represent a difference across sections");
  596|      0|      return;
  597|      0|    }
  598|       |
  599|    666|    bool valid;
  600|    666|    uint64_t SymBOffset = Layout.getSymbolOffset(SymB, valid);
  601|    666|    uint64_t K = SymBOffset - FixupOffset;
  602|    666|    IsPCRel = true;
  603|    666|    C -= K;
  604|    666|  }
  605|       |
  606|       |  // We either rejected the fixup or folded B into C at this point.
  607|  5.44k|  const MCSymbolRefExpr *RefA = Target.getSymA();
  608|  5.44k|  const auto *SymA = RefA ? cast<MCSymbolELF>(&RefA->getSymbol()) : nullptr;
  ------------------
  |  Branch (608:22): [True: 4.70k, False: 741]
  ------------------
  609|       |
  610|  5.44k|  bool ViaWeakRef = false;
  611|  5.44k|  if (SymA && SymA->isVariable()) {
  ------------------
  |  Branch (611:7): [True: 4.70k, False: 741]
  |  Branch (611:15): [True: 167, False: 4.53k]
  ------------------
  612|    167|    const MCExpr *Expr = SymA->getVariableValue();
  613|    167|    if (const auto *Inner = dyn_cast<MCSymbolRefExpr>(Expr)) {
  ------------------
  |  Branch (613:21): [True: 110, False: 57]
  ------------------
  614|    110|      if (Inner->getKind() == MCSymbolRefExpr::VK_WEAKREF) {
  ------------------
  |  Branch (614:11): [True: 0, False: 110]
  ------------------
  615|      0|        SymA = cast<MCSymbolELF>(&Inner->getSymbol());
  616|      0|        ViaWeakRef = true;
  617|      0|      }
  618|    110|    }
  619|    167|  }
  620|       |
  621|  5.44k|  unsigned Type = getRelocType(Ctx, Target, Fixup, IsPCRel);
  622|  5.44k|  bool RelocateWithSymbol = shouldRelocateWithSymbol(Asm, RefA, SymA, C, Type);
  623|  5.44k|  if (!RelocateWithSymbol && SymA && !SymA->isUndefined()) {
  ------------------
  |  Branch (623:7): [True: 5.41k, False: 34]
  |  Branch (623:30): [True: 4.66k, False: 741]
  |  Branch (623:38): [True: 4.66k, False: 0]
  ------------------
  624|  4.66k|    bool valid;
  625|  4.66k|    C += Layout.getSymbolOffset(*SymA, valid);
  626|  4.66k|  }
  627|       |
  628|  5.44k|  uint64_t Addend = 0;
  629|  5.44k|  if (hasRelocationAddend()) {
  ------------------
  |  Branch (629:7): [True: 0, False: 5.44k]
  ------------------
  630|      0|    Addend = C;
  631|      0|    C = 0;
  632|      0|  }
  633|       |
  634|  5.44k|  FixedValue = C;
  635|       |
  636|  5.44k|  if (!RelocateWithSymbol) {
  ------------------
  |  Branch (636:7): [True: 5.41k, False: 34]
  ------------------
  637|  5.41k|    const MCSection *SecA =
  638|  5.41k|        (SymA && !SymA->isUndefined()) ? &SymA->getSection() : nullptr;
  ------------------
  |  Branch (638:10): [True: 4.66k, False: 741]
  |  Branch (638:18): [True: 4.66k, False: 0]
  ------------------
  639|  5.41k|    auto *ELFSec = cast_or_null<MCSectionELF>(SecA);
  640|  5.41k|    const auto *SectionSymbol =
  641|  5.41k|        ELFSec ? cast<MCSymbolELF>(ELFSec->getBeginSymbol()) : nullptr;
  ------------------
  |  Branch (641:9): [True: 4.66k, False: 741]
  ------------------
  642|  5.41k|    if (SectionSymbol)
  ------------------
  |  Branch (642:9): [True: 4.66k, False: 741]
  ------------------
  643|  4.66k|      SectionSymbol->setUsedInReloc();
  644|  5.41k|    ELFRelocationEntry Rec(FixupOffset, SectionSymbol, Type, Addend);
  645|  5.41k|    Relocations[&FixupSection].push_back(Rec);
  646|  5.41k|    return;
  647|  5.41k|  }
  648|       |
  649|     34|  if (SymA) {
  ------------------
  |  Branch (649:7): [True: 34, False: 0]
  ------------------
  650|     34|    if (const MCSymbolELF *R = Renames.lookup(SymA))
  ------------------
  |  Branch (650:28): [True: 0, False: 34]
  ------------------
  651|      0|      SymA = R;
  652|       |
  653|     34|    if (ViaWeakRef)
  ------------------
  |  Branch (653:9): [True: 0, False: 34]
  ------------------
  654|      0|      SymA->setIsWeakrefUsedInReloc();
  655|     34|    else
  656|     34|      SymA->setUsedInReloc();
  657|     34|  }
  658|     34|  ELFRelocationEntry Rec(FixupOffset, SymA, Type, Addend);
  659|     34|  Relocations[&FixupSection].push_back(Rec);
  660|     34|  return;
  661|  5.44k|}
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter12getRelocTypeERN7llvm_ks9MCContextERKNS1_7MCValueERKNS1_7MCFixupEb:
  133|  5.44k|                          const MCFixup &Fixup, bool IsPCRel) const {
  134|  5.44k|      return TargetObjectWriter->getRelocType(Ctx, Target, Fixup, IsPCRel);
  135|  5.44k|    }
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter24shouldRelocateWithSymbolERKN7llvm_ks11MCAssemblerEPKNS1_15MCSymbolRefExprEPKNS1_8MCSymbolEmj:
  437|  5.44k|                                               unsigned Type) const {
  438|  5.44k|  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|  5.44k|  if (!RefA)
  ------------------
  |  Branch (441:7): [True: 741, False: 4.70k]
  ------------------
  442|    741|    return false;
  443|       |
  444|  4.70k|  MCSymbolRefExpr::VariantKind Kind = RefA->getKind();
  445|  4.70k|  switch (Kind) {
  446|  4.66k|  default:
  ------------------
  |  Branch (446:3): [True: 4.66k, False: 34]
  ------------------
  447|  4.66k|    break;
  448|       |  // The .odp creation emits a relocation against the symbol ".TOC." which
  449|       |  // create a R_PPC64_TOC relocation. However the relocation symbol name
  450|       |  // in final object creation should be NULL, since the symbol does not
  451|       |  // really exist, it is just the reference to TOC base for the current
  452|       |  // object file. Since the symbol is undefined, returning false results
  453|       |  // in a relocation with a null section which is the desired result.
  454|  4.66k|  case MCSymbolRefExpr::VK_PPC_TOCBASE:
  ------------------
  |  Branch (454:3): [True: 0, False: 4.70k]
  ------------------
  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|     34|  case MCSymbolRefExpr::VK_GOT:
  ------------------
  |  Branch (461:3): [True: 34, False: 4.66k]
  ------------------
  462|     34|  case MCSymbolRefExpr::VK_PLT:
  ------------------
  |  Branch (462:3): [True: 0, False: 4.70k]
  ------------------
  463|     34|  case MCSymbolRefExpr::VK_GOTPCREL:
  ------------------
  |  Branch (463:3): [True: 0, False: 4.70k]
  ------------------
  464|     34|  case MCSymbolRefExpr::VK_Mips_GOT:
  ------------------
  |  Branch (464:3): [True: 0, False: 4.70k]
  ------------------
  465|     34|  case MCSymbolRefExpr::VK_PPC_GOT_LO:
  ------------------
  |  Branch (465:3): [True: 0, False: 4.70k]
  ------------------
  466|     34|  case MCSymbolRefExpr::VK_PPC_GOT_HI:
  ------------------
  |  Branch (466:3): [True: 0, False: 4.70k]
  ------------------
  467|     34|  case MCSymbolRefExpr::VK_PPC_GOT_HA:
  ------------------
  |  Branch (467:3): [True: 0, False: 4.70k]
  ------------------
  468|     34|    return true;
  469|  4.70k|  }
  470|       |
  471|       |  // An undefined symbol is not in any section, so the relocation has to point
  472|       |  // to the symbol itself.
  473|  4.70k|  assert(Sym && "Expected a symbol");
  ------------------
  |  Branch (473:3): [True: 4.66k, False: 0]
  |  Branch (473:3): [True: 4.66k, Folded]
  |  Branch (473:3): [True: 4.66k, False: 0]
  ------------------
  474|  4.66k|  if (Sym->isUndefined())
  ------------------
  |  Branch (474:7): [True: 0, False: 4.66k]
  ------------------
  475|      0|    return true;
  476|       |
  477|  4.66k|  unsigned Binding = Sym->getBinding();
  478|  4.66k|  switch(Binding) {
  479|      0|  default:
  ------------------
  |  Branch (479:3): [True: 0, False: 4.66k]
  ------------------
  480|      0|    llvm_unreachable("Invalid Binding");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  481|  4.66k|  case ELF::STB_LOCAL:
  ------------------
  |  Branch (481:3): [True: 4.66k, False: 0]
  ------------------
  482|  4.66k|    break;
  483|      0|  case ELF::STB_WEAK:
  ------------------
  |  Branch (483:3): [True: 0, False: 4.66k]
  ------------------
  484|       |    // If the symbol is weak, it might be overridden by a symbol in another
  485|       |    // file. The relocation has to point to the symbol so that the linker
  486|       |    // can update it.
  487|      0|    return true;
  488|      0|  case ELF::STB_GLOBAL:
  ------------------
  |  Branch (488:3): [True: 0, False: 4.66k]
  ------------------
  489|       |    // Global ELF symbols can be preempted by the dynamic linker. The relocation
  490|       |    // has to point to the symbol for a reason analogous to the STB_WEAK case.
  491|      0|    return true;
  492|  4.66k|  }
  493|       |
  494|       |  // If a relocation points to a mergeable section, we have to be careful.
  495|       |  // If the offset is zero, a relocation with the section will encode the
  496|       |  // same information. With a non-zero offset, the situation is different.
  497|       |  // For example, a relocation can point 42 bytes past the end of a string.
  498|       |  // If we change such a relocation to use the section, the linker would think
  499|       |  // that it pointed to another string and subtracting 42 at runtime will
  500|       |  // produce the wrong value.
  501|  4.66k|  auto &Sec = cast<MCSectionELF>(Sym->getSection());
  502|  4.66k|  unsigned Flags = Sec.getFlags();
  503|  4.66k|  if (Flags & ELF::SHF_MERGE) {
  ------------------
  |  Branch (503:7): [True: 0, False: 4.66k]
  ------------------
  504|      0|    if (C != 0)
  ------------------
  |  Branch (504:9): [True: 0, False: 0]
  ------------------
  505|      0|      return true;
  506|       |
  507|       |    // It looks like gold has a bug (http://sourceware.org/PR16794) and can
  508|       |    // only handle section relocations to mergeable sections if using RELA.
  509|      0|    if (!hasRelocationAddend())
  ------------------
  |  Branch (509:9): [True: 0, False: 0]
  ------------------
  510|      0|      return true;
  511|      0|  }
  512|       |
  513|       |  // Most TLS relocations use a got, so they need the symbol. Even those that
  514|       |  // are just an offset (@tpoff), require a symbol in gold versions before
  515|       |  // 5efeedf61e4fe720fd3e9a08e6c91c10abb66d42 (2014-09-26) which fixed
  516|       |  // http://sourceware.org/PR16773.
  517|  4.66k|  if (Flags & ELF::SHF_TLS)
  ------------------
  |  Branch (517:7): [True: 0, False: 4.66k]
  ------------------
  518|      0|    return true;
  519|       |
  520|       |  // If the symbol is a thumb function the final relocation must set the lowest
  521|       |  // bit. With a symbol that is done by just having the symbol have that bit
  522|       |  // set, so we would lose the bit if we relocated with the section.
  523|       |  // FIXME: We could use the section but add the bit to the relocation value.
  524|  4.66k|  if (Asm.isThumbFunc(Sym))
  ------------------
  |  Branch (524:7): [True: 0, False: 4.66k]
  ------------------
  525|      0|    return true;
  526|       |
  527|  4.66k|  if (TargetObjectWriter->needsRelocateWithSymbol(*Sym, Type))
  ------------------
  |  Branch (527:7): [True: 0, False: 4.66k]
  ------------------
  528|      0|    return true;
  529|  4.66k|  return false;
  530|  4.66k|}
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter19hasRelocationAddendEv:
  127|  5.91k|    bool hasRelocationAddend() const {
  128|       |      // Keystone doesn't want relocation addends.
  129|       |      /* return TargetObjectWriter->hasRelocationAddend(); */
  130|  5.91k|      return false;
  131|  5.91k|    }
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter38isSymbolRefDifferenceFullyResolvedImplERKN7llvm_ks11MCAssemblerERKNS1_8MCSymbolERKNS1_10MCFragmentEbb:
 1237|  11.6k|    bool InSet, bool IsPCRel) const {
 1238|  11.6k|  const auto &SymA = cast<MCSymbolELF>(SA);
 1239|  11.6k|  if (IsPCRel) {
  ------------------
  |  Branch (1239:7): [True: 4.16k, False: 7.45k]
  ------------------
 1240|  4.16k|    assert(!InSet);
  ------------------
  |  Branch (1240:5): [True: 4.16k, False: 0]
  ------------------
 1241|  4.16k|    if (::isWeak(SymA))
  ------------------
  |  Branch (1241:9): [True: 0, False: 4.16k]
  ------------------
 1242|      0|      return false;
 1243|  4.16k|  }
 1244|  11.6k|  return MCObjectWriter::isSymbolRefDifferenceFullyResolvedImpl(Asm, SymA, FB,
 1245|  11.6k|                                                                InSet, IsPCRel);
 1246|  11.6k|}
ELFObjectWriter.cpp:_ZL6isWeakRKN7llvm_ks11MCSymbolELFE:
  535|  4.16k|static bool isWeak(const MCSymbolELF &Sym) {
  536|  4.16k|  if (Sym.getType() == ELF::STT_GNU_IFUNC)
  ------------------
  |  Branch (536:7): [True: 0, False: 4.16k]
  ------------------
  537|      0|    return true;
  538|       |
  539|  4.16k|  switch (Sym.getBinding()) {
  540|      0|  default:
  ------------------
  |  Branch (540:3): [True: 0, False: 4.16k]
  ------------------
  541|      0|    llvm_unreachable("Unknown binding");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  542|  4.16k|  case ELF::STB_LOCAL:
  ------------------
  |  Branch (542:3): [True: 4.16k, False: 0]
  ------------------
  543|  4.16k|    return false;
  544|      0|  case ELF::STB_GLOBAL:
  ------------------
  |  Branch (544:3): [True: 0, False: 4.16k]
  ------------------
  545|      0|    return false;
  546|      0|  case ELF::STB_WEAK:
  ------------------
  |  Branch (546:3): [True: 0, False: 4.16k]
  ------------------
  547|      0|  case ELF::STB_GNU_UNIQUE:
  ------------------
  |  Branch (547:3): [True: 0, False: 4.16k]
  ------------------
  548|      0|    return true;
  549|  4.16k|  }
  550|  4.16k|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter11writeObjectERN7llvm_ks11MCAssemblerERKNS1_11MCAsmLayoutE:
 1103|  6.30k|{
 1104|  6.30k|  MCContext &Ctx = Asm.getContext();
 1105|  6.30k|  MCSectionELF *StrtabSection =
 1106|  6.30k|      Ctx.getELFSection(".strtab", ELF::SHT_STRTAB, 0);
 1107|  6.30k|  StringTableIndex = addToSectionTable(StrtabSection);
 1108|       |
 1109|  6.30k|  RevGroupMapTy RevGroupMap;
 1110|  6.30k|  SectionIndexMapTy SectionIndexMap;
 1111|       |
 1112|  6.30k|  std::map<const MCSymbol *, std::vector<const MCSectionELF *>> GroupMembers;
 1113|       |
 1114|       |  // ... then the sections ...
 1115|  6.30k|  SectionOffsetsTy SectionOffsets;
 1116|  6.30k|  std::vector<MCSectionELF *> Groups;
 1117|  6.30k|  std::vector<MCSectionELF *> Relocations;
 1118|  6.56k|  for (MCSection &Sec : Asm) {
  ------------------
  |  Branch (1118:23): [True: 6.56k, False: 5.94k]
  ------------------
 1119|  6.56k|    MCSectionELF &Section = static_cast<MCSectionELF &>(Sec);
 1120|       |
 1121|  6.56k|    align(Section.getAlignment());
 1122|       |
 1123|       |    // Remember the offset into the file for this section.
 1124|  6.56k|    uint64_t SecStart = getStream().tell();
 1125|       |
 1126|  6.56k|    const MCSymbolELF *SignatureSymbol = Section.getGroup();
 1127|  6.56k|    writeSectionData(Asm, Section, Layout);
 1128|  6.56k|    if (Asm.getError())
  ------------------
  |  Branch (1128:9): [True: 362, False: 6.19k]
  ------------------
 1129|    362|        return;
 1130|       |
 1131|  6.19k|    uint64_t SecEnd = getStream().tell();
 1132|  6.19k|    SectionOffsets[&Section] = std::make_pair(SecStart, SecEnd);
 1133|       |
 1134|  6.19k|    MCSectionELF *RelSection = createRelocationSection(Ctx, Section);
 1135|       |
 1136|  6.19k|    if (SignatureSymbol) {
  ------------------
  |  Branch (1136:9): [True: 0, False: 6.19k]
  ------------------
 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|  6.19k|    SectionIndexMap[&Section] = addToSectionTable(&Section);
 1153|  6.19k|    if (RelSection) {
  ------------------
  |  Branch (1153:9): [True: 156, False: 6.04k]
  ------------------
 1154|    156|      SectionIndexMap[RelSection] = addToSectionTable(RelSection);
 1155|    156|      Relocations.push_back(RelSection);
 1156|    156|    }
 1157|  6.19k|  }
 1158|       |
 1159|  5.94k|return;
 1160|       |
 1161|  5.94k|  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|  12.6k|unsigned ELFObjectWriter::addToSectionTable(const MCSectionELF *Sec) {
  241|  12.6k|  SectionTable.push_back(Sec);
  242|  12.6k|  StrTabBuilder.add(Sec->getSectionName());
  243|  12.6k|  return SectionTable.size();
  244|  12.6k|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter5alignEj:
  235|  6.56k|void ELFObjectWriter::align(unsigned Alignment) {
  236|  6.56k|  uint64_t Padding = OffsetToAlignment(getStream().tell(), Alignment);
  237|  6.56k|  WriteZeros(Padding);
  238|  6.56k|}
ELFObjectWriter.cpp:_ZN12_GLOBAL__N_115ELFObjectWriter16writeSectionDataERKN7llvm_ks11MCAssemblerERNS1_9MCSectionERKNS1_11MCAsmLayoutE:
  911|  6.56k|                                       const MCAsmLayout &Layout) {
  912|  6.56k|  MCSectionELF &Section = static_cast<MCSectionELF &>(Sec);
  913|  6.56k|  StringRef SectionName = Section.getSectionName();
  914|       |
  915|       |  // Compressing debug_frame requires handling alignment fragments which is
  916|       |  // more work (possibly generalizing MCAssembler.cpp:writeFragment to allow
  917|       |  // for writing to arbitrary buffers) for little benefit.
  918|  6.56k|  if (!Asm.getContext().getAsmInfo()->compressDebugSections() ||
  ------------------
  |  Branch (918:7): [True: 6.56k, False: 0]
  |  Branch (918:7): [True: 6.56k, False: 0]
  ------------------
  919|  6.56k|      !SectionName.startswith(".debug_") || SectionName == ".debug_frame") {
  ------------------
  |  Branch (919:7): [True: 0, False: 0]
  |  Branch (919:45): [True: 0, False: 0]
  ------------------
  920|  6.56k|    Asm.writeSectionData(&Section, Layout);
  921|  6.56k|    return;
  922|  6.56k|  }
  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|  6.19k|                                         const MCSectionELF &Sec) {
  886|  6.19k|  if (Relocations[&Sec].empty())
  ------------------
  |  Branch (886:7): [True: 6.04k, False: 156]
  ------------------
  887|  6.04k|    return nullptr;
  888|       |
  889|    156|  const StringRef SectionName = Sec.getSectionName();
  890|    156|  std::string RelaSectionName = hasRelocationAddend() ? ".rela" : ".rel";
  ------------------
  |  Branch (890:33): [True: 0, False: 156]
  ------------------
  891|    156|  RelaSectionName += SectionName;
  892|       |
  893|    156|  unsigned EntrySize;
  894|    156|  if (hasRelocationAddend())
  ------------------
  |  Branch (894:7): [True: 0, False: 156]
  ------------------
  895|      0|    EntrySize = is64Bit() ? sizeof(ELF::Elf64_Rela) : sizeof(ELF::Elf32_Rela);
  ------------------
  |  Branch (895:17): [True: 0, False: 0]
  ------------------
  896|    156|  else
  897|    156|    EntrySize = is64Bit() ? sizeof(ELF::Elf64_Rel) : sizeof(ELF::Elf32_Rel);
  ------------------
  |  Branch (897:17): [True: 0, False: 156]
  ------------------
  898|       |
  899|    156|  unsigned Flags = 0;
  900|    156|  if (Sec.getFlags() & ELF::SHF_GROUP)
  ------------------
  |  Branch (900:7): [True: 0, False: 156]
  ------------------
  901|      0|    Flags = ELF::SHF_GROUP;
  902|       |
  903|    156|  MCSectionELF *RelaSection = Ctx.createELFRelSection(
  904|    156|      RelaSectionName, hasRelocationAddend() ? ELF::SHT_RELA : ELF::SHT_REL,
  ------------------
  |  Branch (904:24): [True: 0, False: 156]
  ------------------
  905|    156|      Flags, EntrySize, Sec.getGroup(), &Sec);
  906|    156|  RelaSection->setAlignment(is64Bit() ? 8 : 4);
  ------------------
  |  Branch (906:29): [True: 0, False: 156]
  ------------------
  907|    156|  return RelaSection;
  908|  6.19k|}
ELFObjectWriter.cpp:_ZNK12_GLOBAL__N_115ELFObjectWriter7is64BitEv:
  126|    312|    bool is64Bit() const { return TargetObjectWriter->is64Bit(); }

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

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

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

_ZN7llvm_ks11MCAssemblerC2ERNS_9MCContextERNS_12MCAsmBackendERNS_13MCCodeEmitterERNS_14MCObjectWriterE:
   48|  13.4k|    : Context(Context_), Backend(Backend_), Emitter(Emitter_), Writer(Writer_),
   49|  13.4k|      BundleAlignSize(0), RelaxAll(false), SubsectionsViaSymbols(false),
   50|  13.4k|      IncrementalLinkerCompatible(false), ELFHeaderEFlags(0) {
   51|  13.4k|  VersionMinInfo.Major = 0; // Major version == 0 for "none specified"
   52|  13.4k|}
_ZN7llvm_ks11MCAssemblerD2Ev:
   54|  13.4k|MCAssembler::~MCAssembler() {
   55|  13.4k|}
_ZN7llvm_ks11MCAssembler15registerSectionERNS_9MCSectionE:
   80|  22.2k|bool MCAssembler::registerSection(MCSection &Section) {
   81|  22.2k|  if (Section.isRegistered())
  ------------------
  |  Branch (81:7): [True: 8.44k, False: 13.8k]
  ------------------
   82|  8.44k|    return false;
   83|  13.8k|  Sections.push_back(&Section);
   84|  13.8k|  Section.setIsRegistered(true);
   85|  13.8k|  return true;
   86|  22.2k|}
_ZNK7llvm_ks11MCAssembler11isThumbFuncEPKNS_8MCSymbolE:
   88|  11.6k|bool MCAssembler::isThumbFunc(const MCSymbol *Symbol) const {
   89|  11.6k|  if (ThumbFuncs.count(Symbol))
  ------------------
  |  Branch (89:7): [True: 0, False: 11.6k]
  ------------------
   90|      0|    return true;
   91|       |
   92|  11.6k|  if (!Symbol->isVariable())
  ------------------
  |  Branch (92:7): [True: 11.2k, False: 336]
  ------------------
   93|  11.2k|    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|    336|  const MCExpr *Expr = Symbol->getVariableValue();
   98|    336|  const MCSymbolRefExpr *Ref = dyn_cast<MCSymbolRefExpr>(Expr);
   99|    336|  if (!Ref)
  ------------------
  |  Branch (99:7): [True: 115, False: 221]
  ------------------
  100|    115|    return false;
  101|       |
  102|    221|  if (Ref->getKind() != MCSymbolRefExpr::VK_None)
  ------------------
  |  Branch (102:7): [True: 0, False: 221]
  ------------------
  103|      0|    return false;
  104|       |
  105|    221|  const MCSymbol &Sym = Ref->getSymbol();
  106|    221|  if (!isThumbFunc(&Sym))
  ------------------
  |  Branch (106:7): [True: 221, False: 0]
  ------------------
  107|    221|    return false;
  108|       |
  109|      0|  ThumbFuncs.insert(Symbol); // Cache it.
  110|      0|  return true;
  111|    221|}
_ZNK7llvm_ks11MCAssembler13evaluateFixupERKNS_11MCAsmLayoutERKNS_7MCFixupEPKNS_10MCFragmentERNS_7MCValueERmRj:
  150|  14.0k|{
  151|  14.0k|  KsError = 0;
  152|       |
  153|       |  // FIXME: This code has some duplication with recordRelocation. We should
  154|       |  // probably merge the two into a single callback that tries to evaluate a
  155|       |  // fixup and records a relocation if one is needed.
  156|  14.0k|  const MCExpr *Expr = Fixup.getValue();
  157|  14.0k|  if (!Expr->evaluateAsRelocatable(Target, &Layout, &Fixup)) {
  ------------------
  |  Branch (157:7): [True: 355, False: 13.6k]
  ------------------
  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|    355|    Value = 0;
  163|    355|    KsError = KS_ERR_ASM_INVALIDOPERAND;
  164|    355|    return false;
  165|    355|  }
  166|       |
  167|  13.6k|  bool IsPCRel = Backend.getFixupKindInfo(
  168|  13.6k|    Fixup.getKind()).Flags & MCFixupKindInfo::FKF_IsPCRel;
  169|       |
  170|  13.6k|  bool IsResolved;
  171|  13.6k|  if (IsPCRel) {
  ------------------
  |  Branch (171:7): [True: 4.73k, False: 8.96k]
  ------------------
  172|  4.73k|    if (Target.getSymB()) {
  ------------------
  |  Branch (172:9): [True: 378, False: 4.35k]
  ------------------
  173|    378|      IsResolved = false;
  174|  4.35k|    } else if (!Target.getSymA()) {
  ------------------
  |  Branch (174:16): [True: 75, False: 4.28k]
  ------------------
  175|     75|      if (getBackend().getArch() == KS_ARCH_X86)
  ------------------
  |  Branch (175:11): [True: 0, False: 75]
  ------------------
  176|      0|          IsResolved = true;
  177|     75|      else
  178|     75|          IsResolved = false;
  179|  4.28k|    } else {
  180|  4.28k|      const MCSymbolRefExpr *A = Target.getSymA();
  181|  4.28k|      const MCSymbol &SA = A->getSymbol();
  182|  4.28k|      if (A->getKind() != MCSymbolRefExpr::VK_None || SA.isUndefined()) {
  ------------------
  |  Branch (182:11): [True: 14, False: 4.26k]
  |  Branch (182:55): [True: 100, False: 4.16k]
  ------------------
  183|    114|        IsResolved = false;
  184|  4.16k|      } else {
  185|  4.16k|        IsResolved = getWriter().isSymbolRefDifferenceFullyResolvedImpl(
  186|  4.16k|            *this, SA, *DF, false, true);
  187|  4.16k|      }
  188|  4.28k|    }
  189|  8.96k|  } else {
  190|  8.96k|    IsResolved = Target.isAbsolute();
  191|  8.96k|  }
  192|       |
  193|  13.6k|  Value = Target.getConstant();
  194|       |
  195|  13.6k|  if (const MCSymbolRefExpr *A = Target.getSymA()) {
  ------------------
  |  Branch (195:30): [True: 11.3k, False: 2.37k]
  ------------------
  196|  11.3k|    const MCSymbol &Sym = A->getSymbol();
  197|  11.3k|    bool valid;
  198|  11.3k|    if (Sym.isDefined()) {
  ------------------
  |  Branch (198:9): [True: 11.1k, False: 205]
  ------------------
  199|  11.1k|      Value += Layout.getSymbolOffset(Sym, valid);
  200|  11.1k|      if (!valid) {
  ------------------
  |  Branch (200:11): [True: 3, False: 11.1k]
  ------------------
  201|      3|        KsError = KS_ERR_ASM_FIXUP_INVALID;
  202|      3|        return false;
  203|      3|      }
  204|  11.1k|    } else {
  205|       |        // a missing symbol. is there any resolver registered?
  206|    205|        if (KsSymResolver) {
  ------------------
  |  Branch (206:13): [True: 0, False: 205]
  ------------------
  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|    205|        } else {
  219|       |            // no resolver registered
  220|    205|            KsError = KS_ERR_ASM_SYMBOL_MISSING;
  221|    205|            return false;
  222|    205|        }
  223|    205|    }
  224|  11.3k|  }
  225|       |
  226|  13.4k|  if (const MCSymbolRefExpr *B = Target.getSymB()) {
  ------------------
  |  Branch (226:30): [True: 4.40k, False: 9.08k]
  ------------------
  227|  4.40k|    const MCSymbol &Sym = B->getSymbol();
  228|  4.40k|    bool valid;
  229|  4.40k|    if (Sym.isDefined()) {
  ------------------
  |  Branch (229:9): [True: 677, False: 3.73k]
  ------------------
  230|    677|      Value -= Layout.getSymbolOffset(Sym, valid);
  231|    677|      if (!valid) {
  ------------------
  |  Branch (231:11): [True: 2, False: 675]
  ------------------
  232|      2|        KsError = KS_ERR_ASM_FIXUP_INVALID;
  233|      2|        return false;
  234|      2|      }
  235|    677|    }
  236|  4.40k|  }
  237|       |
  238|  13.4k|  bool ShouldAlignPC = Backend.getFixupKindInfo(Fixup.getKind()).Flags &
  239|  13.4k|                         MCFixupKindInfo::FKF_IsAlignedDownTo32Bits;
  240|  13.4k|  assert((ShouldAlignPC ? IsPCRel : true) &&
  ------------------
  |  Branch (240:3): [True: 0, False: 13.4k]
  |  Branch (240:3): [True: 13.4k, False: 0]
  |  Branch (240:3): [True: 13.4k, Folded]
  |  Branch (240:3): [True: 13.4k, False: 0]
  ------------------
  241|  13.4k|    "FKF_IsAlignedDownTo32Bits is only allowed on PC-relative fixups!");
  242|       |
  243|  13.4k|  if (IsPCRel) {
  ------------------
  |  Branch (243:7): [True: 4.63k, False: 8.85k]
  ------------------
  244|  4.63k|    bool valid;
  245|  4.63k|    uint64_t Offset = Layout.getFragmentOffset(DF, valid) + Fixup.getOffset();
  246|  4.63k|    if (!valid) {
  ------------------
  |  Branch (246:9): [True: 5, False: 4.62k]
  ------------------
  247|      5|        KsError = KS_ERR_ASM_FRAGMENT_INVALID;
  248|      5|        return false;
  249|      5|    }
  250|       |
  251|       |    // A number of ARM fixups in Thumb mode require that the effective PC
  252|       |    // address be determined as the 32-bit aligned version of the actual offset.
  253|  4.62k|    if (ShouldAlignPC) Offset &= ~0x3;
  ------------------
  |  Branch (253:9): [True: 0, False: 4.62k]
  ------------------
  254|  4.62k|    Value -= Offset;
  255|  4.62k|  }
  256|       |
  257|       |  // Let the backend adjust the fixup value if necessary, including whether
  258|       |  // we need a relocation.
  259|  13.4k|  Backend.processFixupValue(*this, Layout, Fixup, DF, Target, Value,
  260|  13.4k|                            IsResolved);
  261|       |
  262|  13.4k|  return IsResolved;
  263|  13.4k|}
_ZNK7llvm_ks11MCAssembler19computeFragmentSizeERKNS_11MCAsmLayoutERKNS_10MCFragmentERb:
  267|  36.2k|{
  268|  36.2k|  valid = true;
  269|  36.2k|  switch (F.getKind()) {
  ------------------
  |  Branch (269:11): [True: 36.2k, False: 0]
  ------------------
  270|  11.6k|  case MCFragment::FT_Data:
  ------------------
  |  Branch (270:3): [True: 11.6k, False: 24.6k]
  ------------------
  271|  11.6k|    return cast<MCDataFragment>(F).getContents().size();
  272|      0|  case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (272:3): [True: 0, False: 36.2k]
  ------------------
  273|      0|    return cast<MCRelaxableFragment>(F).getContents().size();
  274|      0|  case MCFragment::FT_CompactEncodedInst:
  ------------------
  |  Branch (274:3): [True: 0, False: 36.2k]
  ------------------
  275|      0|    return cast<MCCompactEncodedInstFragment>(F).getContents().size();
  276|  2.64k|  case MCFragment::FT_Fill:
  ------------------
  |  Branch (276:3): [True: 2.64k, False: 33.6k]
  ------------------
  277|  2.64k|    return cast<MCFillFragment>(F).getSize();
  278|       |
  279|      0|  case MCFragment::FT_LEB:
  ------------------
  |  Branch (279:3): [True: 0, False: 36.2k]
  ------------------
  280|      0|    return cast<MCLEBFragment>(F).getContents().size();
  281|       |
  282|      0|  case MCFragment::FT_SafeSEH:
  ------------------
  |  Branch (282:3): [True: 0, False: 36.2k]
  ------------------
  283|      0|    return 4;
  284|       |
  285|  9.74k|  case MCFragment::FT_Align: {
  ------------------
  |  Branch (285:3): [True: 9.74k, False: 26.5k]
  ------------------
  286|  9.74k|    const MCAlignFragment &AF = cast<MCAlignFragment>(F);
  287|  9.74k|    unsigned Offset = Layout.getFragmentOffset(&AF, valid);
  288|  9.74k|    if (!valid) {
  ------------------
  |  Branch (288:9): [True: 0, False: 9.74k]
  ------------------
  289|      0|        return 0;
  290|      0|    }
  291|  9.74k|    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|  9.74k|    if (Size > 0 && AF.hasEmitNops()) {
  ------------------
  |  Branch (294:9): [True: 256, False: 9.48k]
  |  Branch (294:21): [True: 85, False: 171]
  ------------------
  295|     85|      while (Size % getBackend().getMinimumNopSize())
  ------------------
  |  Branch (295:14): [True: 0, False: 85]
  ------------------
  296|      0|        Size += AF.getAlignment();
  297|     85|    }
  298|  9.74k|    if (Size > AF.getMaxBytesToEmit())
  ------------------
  |  Branch (298:9): [True: 3, False: 9.74k]
  ------------------
  299|      3|      return 0;
  300|  9.74k|    return Size;
  301|  9.74k|  }
  302|       |
  303|  12.2k|  case MCFragment::FT_Org: {
  ------------------
  |  Branch (303:3): [True: 12.2k, False: 24.0k]
  ------------------
  304|  12.2k|    const MCOrgFragment &OF = cast<MCOrgFragment>(F);
  305|  12.2k|    MCValue Value;
  306|  12.2k|    if (!OF.getOffset().evaluateAsValue(Value, Layout)) {
  ------------------
  |  Branch (306:9): [True: 1.12k, False: 11.0k]
  ------------------
  307|       |      //report_fatal_error("expected assembly-time absolute expression");
  308|  1.12k|      valid = false;
  309|  1.12k|      return 0;
  310|  1.12k|    }
  311|       |
  312|       |    // FIXME: We need a way to communicate this error.
  313|  11.0k|    uint64_t FragmentOffset = Layout.getFragmentOffset(&OF, valid);
  314|  11.0k|    if (!valid) {
  ------------------
  |  Branch (314:9): [True: 0, False: 11.0k]
  ------------------
  315|      0|      return 0;
  316|      0|    }
  317|  11.0k|    int64_t TargetLocation = Value.getConstant();
  318|  11.0k|    if (const MCSymbolRefExpr *A = Value.getSymA()) {
  ------------------
  |  Branch (318:32): [True: 6.87k, False: 4.22k]
  ------------------
  319|  6.87k|      uint64_t Val;
  320|  6.87k|      if (!Layout.getSymbolOffset(A->getSymbol(), Val, valid)) {
  ------------------
  |  Branch (320:11): [True: 477, False: 6.39k]
  ------------------
  321|       |        //report_fatal_error("expected absolute expression");
  322|    477|        valid = false;
  323|    477|        return 0;
  324|    477|      }
  325|  6.39k|      TargetLocation += Val;
  326|  6.39k|    }
  327|  10.6k|    int64_t Size = TargetLocation - FragmentOffset;
  328|  10.6k|    if (Size < 0 || Size >= 0x40000000) {
  ------------------
  |  Branch (328:9): [True: 3.02k, False: 7.59k]
  |  Branch (328:21): [True: 223, False: 7.37k]
  ------------------
  329|       |      //report_fatal_error("invalid .org offset '" + Twine(TargetLocation) +
  330|       |      //                   "' (at offset '" + Twine(FragmentOffset) + "')");
  331|  3.24k|      valid = false;
  332|  3.24k|      return 0;
  333|  3.24k|    }
  334|  7.37k|    return Size;
  335|  10.6k|  }
  336|       |
  337|      0|  case MCFragment::FT_Dwarf:
  ------------------
  |  Branch (337:3): [True: 0, False: 36.2k]
  ------------------
  338|      0|    return cast<MCDwarfLineAddrFragment>(F).getContents().size();
  339|      0|  case MCFragment::FT_DwarfFrame:
  ------------------
  |  Branch (339:3): [True: 0, False: 36.2k]
  ------------------
  340|      0|    return cast<MCDwarfCallFrameFragment>(F).getContents().size();
  341|      0|  case MCFragment::FT_Dummy:
  ------------------
  |  Branch (341:3): [True: 0, False: 36.2k]
  ------------------
  342|      0|    llvm_unreachable("Should not have been added");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  343|  36.2k|  }
  344|       |
  345|      0|  llvm_unreachable("invalid fragment kind");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  346|  36.2k|}
_ZN7llvm_ks11MCAsmLayout14layoutFragmentEPNS_10MCFragmentE:
  349|  29.6k|{
  350|  29.6k|  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|  29.6k|  if (isFragmentValid(F))
  ------------------
  |  Branch (354:7): [True: 0, False: 29.6k]
  ------------------
  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|  29.6k|  if (Prev && !isFragmentValid(Prev))
  ------------------
  |  Branch (361:7): [True: 22.5k, False: 7.14k]
  |  Branch (361:15): [True: 3.51k, False: 18.9k]
  ------------------
  362|  3.51k|      return true;
  363|       |
  364|  26.1k|  bool valid = true;
  365|       |  // Compute fragment offset and size.
  366|  26.1k|  if (Prev)
  ------------------
  |  Branch (366:7): [True: 18.9k, False: 7.14k]
  ------------------
  367|  18.9k|    F->Offset = Prev->Offset + getAssembler().computeFragmentSize(*this, *Prev, valid);
  368|  7.14k|  else
  369|  7.14k|    F->Offset = getAssembler().getContext().getBaseAddress();
  370|  26.1k|  if (!valid) {
  ------------------
  |  Branch (370:7): [True: 4.48k, False: 21.6k]
  ------------------
  371|  4.48k|      return false;
  372|  4.48k|  }
  373|  21.6k|  LastValidFragment[F->getParent()] = F;
  374|       |
  375|       |  // If bundling is enabled and this fragment has instructions in it, it has to
  376|       |  // obey the bundling restrictions. With padding, we'll have:
  377|       |  //
  378|       |  //
  379|       |  //        BundlePadding
  380|       |  //             |||
  381|       |  // -------------------------------------
  382|       |  //   Prev  |##########|       F        |
  383|       |  // -------------------------------------
  384|       |  //                    ^
  385|       |  //                    |
  386|       |  //                    F->Offset
  387|       |  //
  388|       |  // The fragment's offset will point to after the padding, and its computed
  389|       |  // size won't include the padding.
  390|       |  //
  391|       |  // When the -mc-relax-all flag is used, we optimize bundling by writting the
  392|       |  // padding directly into fragments when the instructions are emitted inside
  393|       |  // the streamer. When the fragment is larger than the bundle size, we need to
  394|       |  // ensure that it's bundle aligned. This means that if we end up with
  395|       |  // multiple fragments, we must emit bundle padding between fragments.
  396|       |  //
  397|       |  // ".align N" is an example of a directive that introduces multiple
  398|       |  // fragments. We could add a special case to handle ".align N" by emitting
  399|       |  // within-fragment padding (which would produce less padding when N is less
  400|       |  // than the bundle size), but for now we don't.
  401|       |  //
  402|  21.6k|  if (Assembler.isBundlingEnabled() && F->hasInstructions()) {
  ------------------
  |  Branch (402:7): [True: 0, False: 21.6k]
  |  Branch (402:40): [True: 0, False: 0]
  ------------------
  403|      0|    assert(isa<MCEncodedFragment>(F) &&
  ------------------
  |  Branch (403:5): [True: 0, False: 0]
  |  Branch (403:5): [True: 0, Folded]
  |  Branch (403:5): [True: 0, False: 0]
  ------------------
  404|      0|           "Only MCEncodedFragment implementations have instructions");
  405|      0|    if (!isa<MCEncodedFragment>(F))
  ------------------
  |  Branch (405:9): [True: 0, False: 0]
  ------------------
  406|      0|        return true;
  407|       |
  408|      0|    bool valid;
  409|      0|    uint64_t FSize = Assembler.computeFragmentSize(*this, *F, valid);
  410|      0|    if (!valid)
  ------------------
  |  Branch (410:9): [True: 0, False: 0]
  ------------------
  411|      0|        return true;
  412|       |
  413|      0|    if (!Assembler.getRelaxAll() && FSize > Assembler.getBundleAlignSize())
  ------------------
  |  Branch (413:9): [True: 0, False: 0]
  |  Branch (413:37): [True: 0, False: 0]
  ------------------
  414|       |      //report_fatal_error("Fragment can't be larger than a bundle size");
  415|      0|      return true;
  416|       |
  417|      0|    uint64_t RequiredBundlePadding = computeBundlePadding(Assembler, F,
  418|      0|                                                          F->Offset, FSize);
  419|      0|    if (RequiredBundlePadding > UINT8_MAX)
  ------------------
  |  Branch (419:9): [True: 0, False: 0]
  ------------------
  420|       |      //report_fatal_error("Padding cannot exceed 255 bytes");
  421|      0|      return true;
  422|       |
  423|      0|    F->setBundlePadding(static_cast<uint8_t>(RequiredBundlePadding));
  424|      0|    F->Offset += RequiredBundlePadding;
  425|      0|  }
  426|       |
  427|  21.6k|  return false;
  428|  21.6k|}
_ZN7llvm_ks11MCAssembler14registerSymbolERKNS_8MCSymbolEPb:
  430|   405k|void MCAssembler::registerSymbol(const MCSymbol &Symbol, bool *Created) {
  431|   405k|  bool New = !Symbol.isRegistered();
  432|   405k|  if (Created)
  ------------------
  |  Branch (432:7): [True: 0, False: 405k]
  ------------------
  433|      0|    *Created = New;
  434|   405k|  if (New) {
  ------------------
  |  Branch (434:7): [True: 100k, False: 304k]
  ------------------
  435|   100k|    Symbol.setIsRegistered(true);
  436|   100k|    Symbols.push_back(&Symbol);
  437|   100k|  }
  438|   405k|}
_ZNK7llvm_ks11MCAssembler20writeFragmentPaddingERKNS_10MCFragmentEmPNS_14MCObjectWriterE:
  441|  16.9k|                                       MCObjectWriter *OW) const {
  442|       |  // Should NOP padding be written out before this fragment?
  443|  16.9k|  unsigned BundlePadding = F.getBundlePadding();
  444|  16.9k|  if (BundlePadding > 0) {
  ------------------
  |  Branch (444:7): [True: 0, False: 16.9k]
  ------------------
  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|  16.9k|}
_ZNK7llvm_ks11MCAssembler16writeSectionDataEPKNS_9MCSectionERKNS_11MCAsmLayoutE:
  608|  6.56k|{
  609|       |  // Ignore virtual sections.
  610|  6.56k|  if (Sec->isVirtualSection()) {
  ------------------
  |  Branch (610:7): [True: 14, False: 6.54k]
  ------------------
  611|     14|    assert(Layout.getSectionFileSize(Sec) == 0 && "Invalid size for section!");
  ------------------
  |  Branch (611:5): [True: 14, False: 0]
  |  Branch (611:5): [True: 14, Folded]
  |  Branch (611:5): [True: 14, False: 0]
  ------------------
  612|       |
  613|       |    // Check that contents are only things legal inside a virtual section.
  614|     38|    for (const MCFragment &F : *Sec) {
  ------------------
  |  Branch (614:30): [True: 38, False: 14]
  ------------------
  615|     38|      switch (F.getKind()) {
  616|      0|      default: llvm_unreachable("Invalid fragment in virtual section!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  |  Branch (616:7): [True: 0, False: 38]
  ------------------
  617|      0|      case MCFragment::FT_Data: {
  ------------------
  |  Branch (617:7): [True: 0, False: 38]
  ------------------
  618|       |        // Check that we aren't trying to write a non-zero contents (or fixups)
  619|       |        // into a virtual section. This is to support clients which use standard
  620|       |        // directives to fill the contents of virtual sections.
  621|      0|        const MCDataFragment &DF = cast<MCDataFragment>(F);
  622|      0|        assert(DF.fixup_begin() == DF.fixup_end() &&
  ------------------
  |  Branch (622:9): [True: 0, False: 0]
  |  Branch (622:9): [True: 0, Folded]
  |  Branch (622:9): [True: 0, False: 0]
  ------------------
  623|      0|               "Cannot have fixups in virtual section!");
  624|      0|        for (unsigned i = 0, e = DF.getContents().size(); i != e; ++i)
  ------------------
  |  Branch (624:59): [True: 0, False: 0]
  ------------------
  625|      0|          if (DF.getContents()[i]) {
  ------------------
  |  Branch (625:15): [True: 0, False: 0]
  ------------------
  626|      0|            if (auto *ELFSec = dyn_cast<const MCSectionELF>(Sec))
  ------------------
  |  Branch (626:23): [True: 0, False: 0]
  ------------------
  627|      0|              report_fatal_error("non-zero initializer found in section '" +
  628|      0|                  ELFSec->getSectionName() + "'");
  629|      0|            else
  630|      0|              report_fatal_error("non-zero initializer found in virtual section");
  631|      0|          }
  632|      0|        break;
  633|      0|      }
  634|     19|      case MCFragment::FT_Align:
  ------------------
  |  Branch (634:7): [True: 19, False: 19]
  ------------------
  635|       |        // Check that we aren't trying to write a non-zero value into a virtual
  636|       |        // section.
  637|     19|        assert((cast<MCAlignFragment>(F).getValueSize() == 0 ||
  ------------------
  |  Branch (637:9): [True: 0, False: 19]
  |  Branch (637:9): [True: 19, False: 0]
  |  Branch (637:9): [True: 19, Folded]
  |  Branch (637:9): [True: 19, False: 0]
  ------------------
  638|     19|                cast<MCAlignFragment>(F).getValue() == 0) &&
  639|     19|               "Invalid align in virtual section!");
  640|     19|        break;
  641|     19|      case MCFragment::FT_Fill:
  ------------------
  |  Branch (641:7): [True: 19, False: 19]
  ------------------
  642|     19|        assert((cast<MCFillFragment>(F).getValue() == 0) &&
  ------------------
  |  Branch (642:9): [True: 19, False: 0]
  |  Branch (642:9): [True: 19, Folded]
  |  Branch (642:9): [True: 19, False: 0]
  ------------------
  643|     19|               "Invalid fill in virtual section!");
  644|     19|        break;
  645|     38|      }
  646|     38|    }
  647|       |
  648|     14|    return;
  649|     14|  }
  650|       |
  651|  6.54k|  uint64_t Start = getWriter().getStream().tell();
  652|  6.54k|  (void)Start;
  653|       |
  654|  6.54k|  setError(0);
  655|  6.54k|  for (const MCFragment &F : *Sec)
  ------------------
  |  Branch (655:28): [True: 70.3k, False: 6.54k]
  ------------------
  656|  70.3k|    writeFragment(*this, Layout, F);
  657|       |
  658|       |  //assert(getWriter().getStream().tell() - Start ==
  659|       |  //       Layout.getSectionAddressSize(Sec));
  660|  6.54k|}
_ZN7llvm_ks11MCAssembler11handleFixupERKNS_11MCAsmLayoutERNS_10MCFragmentERKNS_7MCFixupERj:
  664|  14.0k|                                                   const MCFixup &Fixup, unsigned int &KsError) {
  665|       |  // Evaluate the fixup.
  666|  14.0k|  MCValue Target;
  667|  14.0k|  uint64_t FixedValue;
  668|  14.0k|  bool IsPCRel = Backend.getFixupKindInfo(Fixup.getKind()).Flags &
  669|  14.0k|                 MCFixupKindInfo::FKF_IsPCRel;
  670|  14.0k|  if (!evaluateFixup(Layout, Fixup, &F, Target, FixedValue, KsError)) {
  ------------------
  |  Branch (670:7): [True: 9.75k, False: 4.30k]
  ------------------
  671|  9.75k|    if (KsError) {
  ------------------
  |  Branch (671:9): [True: 570, False: 9.18k]
  ------------------
  672|       |        // return a dummy value
  673|    570|        return std::make_pair(0, false);
  674|    570|    }
  675|       |    // The fixup was unresolved, we need a relocation. Inform the object
  676|       |    // writer of the relocation, and give it an opportunity to adjust the
  677|       |    // fixup value if need be.
  678|  9.18k|    if (const MCSymbolRefExpr *RefB = Target.getSymB()) {
  ------------------
  |  Branch (678:32): [True: 4.40k, False: 4.77k]
  ------------------
  679|  4.40k|        if (RefB->getKind() != MCSymbolRefExpr::VK_None) {
  ------------------
  |  Branch (679:13): [True: 6, False: 4.39k]
  ------------------
  680|      6|            KsError = KS_ERR_ASM_FIXUP_INVALID;
  681|       |            // return a dummy value
  682|      6|            return std::make_pair(0, false);
  683|      6|        }
  684|  4.40k|    }
  685|  9.17k|    getWriter().recordRelocation(*this, Layout, &F, Fixup, Target, IsPCRel,
  686|  9.17k|                                 FixedValue);
  687|  9.17k|  }
  688|       |
  689|  13.4k|  return std::make_pair(FixedValue, IsPCRel);
  690|  14.0k|}
_ZN7llvm_ks11MCAssembler6layoutERNS_11MCAsmLayoutERj:
  693|  6.88k|{
  694|  6.88k|  DEBUG_WITH_TYPE("mc-dump", {
  695|  6.88k|      llvm_ks::errs() << "assembler backend - pre-layout\n--\n";
  696|  6.88k|      dump(); });
  697|       |
  698|       |  // Create dummy fragments and assign section ordinals.
  699|  6.88k|  unsigned SectionIndex = 0;
  700|  7.14k|  for (MCSection &Sec : *this) {
  ------------------
  |  Branch (700:23): [True: 7.14k, False: 6.88k]
  ------------------
  701|       |    // Create dummy fragments to eliminate any empty sections, this simplifies
  702|       |    // layout.
  703|  7.14k|    if (Sec.getFragmentList().empty())
  ------------------
  |  Branch (703:9): [True: 0, False: 7.14k]
  ------------------
  704|      0|      new MCDataFragment(&Sec);
  705|       |
  706|  7.14k|    Sec.setOrdinal(SectionIndex++);
  707|  7.14k|  }
  708|       |
  709|       |  // Assign layout order indices to sections and fragments.
  710|  14.0k|  for (unsigned i = 0, e = Layout.getSectionOrder().size(); i != e; ++i) {
  ------------------
  |  Branch (710:61): [True: 7.14k, False: 6.88k]
  ------------------
  711|  7.14k|    MCSection *Sec = Layout.getSectionOrder()[i];
  712|  7.14k|    Sec->setLayoutOrder(i);
  713|       |
  714|  7.14k|    unsigned FragmentIndex = 0;
  715|  7.14k|    for (MCFragment &Frag : *Sec)
  ------------------
  |  Branch (715:27): [True: 75.6k, False: 7.14k]
  ------------------
  716|  75.6k|      Frag.setLayoutOrder(FragmentIndex++);
  717|  7.14k|  }
  718|       |
  719|       |  // Layout until everything fits.
  720|  6.88k|  while (layoutOnce(Layout))
  ------------------
  |  Branch (720:10): [True: 0, False: 6.88k]
  ------------------
  721|      0|    continue;
  722|       |
  723|  6.88k|  DEBUG_WITH_TYPE("mc-dump", {
  724|  6.88k|      llvm_ks::errs() << "assembler backend - post-relaxation\n--\n";
  725|  6.88k|      dump(); });
  726|       |
  727|       |  // Finalize the layout, including fragment lowering.
  728|  6.88k|  finishLayout(Layout);
  729|       |
  730|  6.88k|  DEBUG_WITH_TYPE("mc-dump", {
  731|  6.88k|      llvm_ks::errs() << "assembler backend - final-layout\n--\n";
  732|  6.88k|      dump(); });
  733|       |
  734|       |  // Allow the object writer a chance to perform post-layout binding (for
  735|       |  // example, to set the index fields in the symbol data).
  736|  6.88k|  getWriter().executePostLayoutBinding(*this, Layout);
  737|       |
  738|       |  // Evaluate and apply the fixups, generating relocation entries as necessary.
  739|  7.14k|  for (MCSection &Sec : *this) {
  ------------------
  |  Branch (739:23): [True: 7.14k, False: 6.30k]
  ------------------
  740|  71.1k|    for (MCFragment &Frag : Sec) {
  ------------------
  |  Branch (740:27): [True: 71.1k, False: 6.56k]
  ------------------
  741|  71.1k|      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|  71.1k|      if (!F || isa<MCCompactEncodedInstFragment>(F))
  ------------------
  |  Branch (746:11): [True: 61.7k, False: 9.31k]
  |  Branch (746:17): [True: 0, False: 9.31k]
  ------------------
  747|  61.7k|        continue;
  748|  9.31k|      ArrayRef<MCFixup> Fixups;
  749|  9.31k|      MutableArrayRef<char> Contents;
  750|  9.31k|      if (auto *FragWithFixups = dyn_cast<MCDataFragment>(F)) {
  ------------------
  |  Branch (750:17): [True: 9.31k, False: 0]
  ------------------
  751|  9.31k|        Fixups = FragWithFixups->getFixups();
  752|  9.31k|        Contents = FragWithFixups->getContents();
  753|  9.31k|      } 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|  14.0k|      for (const MCFixup &Fixup : Fixups) {
  ------------------
  |  Branch (758:33): [True: 14.0k, False: 8.73k]
  ------------------
  759|  14.0k|        uint64_t FixedValue;
  760|  14.0k|        bool IsPCRel;
  761|  14.0k|        std::tie(FixedValue, IsPCRel) = handleFixup(Layout, *F, Fixup, KsError);
  762|  14.0k|        if (KsError)
  ------------------
  |  Branch (762:13): [True: 576, False: 13.4k]
  ------------------
  763|    576|            return;
  764|  13.4k|        getBackend().applyFixup(Fixup, Contents.data(),
  765|  13.4k|                                Contents.size(), FixedValue, IsPCRel, KsError);
  766|  13.4k|        if (KsError)
  ------------------
  |  Branch (766:13): [True: 0, False: 13.4k]
  ------------------
  767|      0|            return;
  768|  13.4k|      }
  769|  9.31k|    }
  770|  7.14k|  }
  771|  6.88k|}
_ZN7llvm_ks11MCAssembler6FinishERj:
  773|  6.88k|void MCAssembler::Finish(unsigned int &KsError) {
  774|       |  // Create the layout object.
  775|  6.88k|  MCAsmLayout Layout(*this);
  776|  6.88k|  layout(Layout, KsError);
  777|       |
  778|       |  // Write the object file.
  779|  6.88k|  if (!KsError) {
  ------------------
  |  Branch (779:7): [True: 6.30k, False: 576]
  ------------------
  780|  6.30k|      getWriter().writeObject(*this, Layout);
  781|  6.30k|      KsError = getError();
  782|  6.30k|  }
  783|  6.88k|}
_ZN7llvm_ks11MCAssembler17layoutSectionOnceERNS_11MCAsmLayoutERNS_9MCSectionE:
  876|  7.14k|{
  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|  7.14k|  MCFragment *FirstRelaxedFragment = nullptr;
  882|       |
  883|       |  // Attempt to relax all the fragments in the section.
  884|  82.8k|  for (MCSection::iterator I = Sec.begin(), IE = Sec.end(); I != IE; ++I) {
  ------------------
  |  Branch (884:61): [True: 75.6k, False: 7.14k]
  ------------------
  885|       |    // Check if this is a fragment that needs relaxation.
  886|  75.6k|    bool RelaxedFrag = false;
  887|  75.6k|    switch(I->getKind()) {
  888|  75.6k|    default:
  ------------------
  |  Branch (888:5): [True: 75.6k, False: 0]
  ------------------
  889|  75.6k|      break;
  890|  75.6k|    case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (890:5): [True: 0, False: 75.6k]
  ------------------
  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: 75.6k]
  ------------------
  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: 75.6k]
  ------------------
  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: 75.6k]
  ------------------
  905|      0|      RelaxedFrag = relaxLEB(Layout, *cast<MCLEBFragment>(I));
  906|      0|      break;
  907|  75.6k|    }
  908|  75.6k|    if (RelaxedFrag && !FirstRelaxedFragment)
  ------------------
  |  Branch (908:9): [True: 0, False: 75.6k]
  |  Branch (908:24): [True: 0, False: 0]
  ------------------
  909|      0|      FirstRelaxedFragment = &*I;
  910|  75.6k|  }
  911|  7.14k|  if (FirstRelaxedFragment) {
  ------------------
  |  Branch (911:7): [True: 0, False: 7.14k]
  ------------------
  912|      0|    Layout.invalidateFragmentsFrom(FirstRelaxedFragment);
  913|      0|    return true;
  914|      0|  }
  915|  7.14k|  return false;
  916|  7.14k|}
_ZN7llvm_ks11MCAssembler10layoutOnceERNS_11MCAsmLayoutE:
  919|  6.88k|{
  920|  6.88k|  bool WasRelaxed = false;
  921|  14.0k|  for (iterator it = begin(), ie = end(); it != ie; ++it) {
  ------------------
  |  Branch (921:43): [True: 7.14k, False: 6.88k]
  ------------------
  922|  7.14k|    MCSection &Sec = *it;
  923|  7.14k|    while (layoutSectionOnce(Layout, Sec))
  ------------------
  |  Branch (923:12): [True: 0, False: 7.14k]
  ------------------
  924|      0|      WasRelaxed = true;
  925|  7.14k|  }
  926|       |
  927|  6.88k|  return WasRelaxed;
  928|  6.88k|}
_ZN7llvm_ks11MCAssembler12finishLayoutERNS_11MCAsmLayoutE:
  930|  6.88k|void MCAssembler::finishLayout(MCAsmLayout &Layout) {
  931|       |  // The layout is done. Mark every fragment as valid.
  932|  14.0k|  for (unsigned int i = 0, n = Layout.getSectionOrder().size(); i != n; ++i) {
  ------------------
  |  Branch (932:65): [True: 7.14k, False: 6.88k]
  ------------------
  933|  7.14k|    bool valid;
  934|  7.14k|    Layout.getFragmentOffset(&*Layout.getSectionOrder()[i]->rbegin(), valid);
  935|  7.14k|  }
  936|  6.88k|}
MCAssembler.cpp:_ZL13writeFragmentRKN7llvm_ks11MCAssemblerERKNS_11MCAsmLayoutERKNS_10MCFragmentE:
  475|  70.3k|{
  476|  70.3k|  if (Asm.getError())
  ------------------
  |  Branch (476:7): [True: 53.0k, False: 17.2k]
  ------------------
  477|  53.0k|      return;
  478|       |
  479|  17.2k|  MCObjectWriter *OW = &Asm.getWriter();
  480|       |
  481|  17.2k|  bool valid;
  482|       |  // FIXME: Embed in fragments instead?
  483|  17.2k|  uint64_t FragmentSize = Asm.computeFragmentSize(Layout, F, valid);
  484|  17.2k|  if (!valid) {
  ------------------
  |  Branch (484:7): [True: 362, False: 16.9k]
  ------------------
  485|    362|      Asm.setError(KS_ERR_ASM_FRAGMENT_INVALID);
  486|    362|      return;
  487|    362|  }
  488|       |
  489|  16.9k|  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|  16.9k|  uint64_t Start = OW->getStream().tell();
  494|  16.9k|  (void) Start;
  495|       |
  496|  16.9k|  switch (F.getKind()) {
  ------------------
  |  Branch (496:11): [True: 16.9k, False: 0]
  ------------------
  497|  4.15k|  case MCFragment::FT_Align: {
  ------------------
  |  Branch (497:3): [True: 4.15k, False: 12.7k]
  ------------------
  498|  4.15k|    const MCAlignFragment &AF = cast<MCAlignFragment>(F);
  499|  4.15k|    assert(AF.getValueSize() && "Invalid virtual align in concrete fragment!");
  ------------------
  |  Branch (499:5): [True: 4.15k, False: 0]
  |  Branch (499:5): [True: 4.15k, Folded]
  |  Branch (499:5): [True: 4.15k, False: 0]
  ------------------
  500|       |
  501|  4.15k|    uint64_t Count = FragmentSize / AF.getValueSize();
  502|       |
  503|       |    // FIXME: This error shouldn't actually occur (the front end should emit
  504|       |    // multiple .align directives to enforce the semantics it wants), but is
  505|       |    // severe enough that we want to report it. How to handle this?
  506|  4.15k|    if (Count * AF.getValueSize() != FragmentSize)
  ------------------
  |  Branch (506:9): [True: 0, False: 4.15k]
  ------------------
  507|      0|      report_fatal_error("undefined .align directive, value size '" +
  508|      0|                        Twine(AF.getValueSize()) +
  509|      0|                        "' is not a divisor of padding size '" +
  510|      0|                        Twine(FragmentSize) + "'");
  511|       |
  512|       |    // See if we are aligning with nops, and if so do that first to try to fill
  513|       |    // the Count bytes.  Then if that did not fill any bytes or there are any
  514|       |    // bytes left to fill use the Value and ValueSize to fill the rest.
  515|       |    // If we are aligning with nops, ask that target to emit the right data.
  516|  4.15k|    if (AF.hasEmitNops()) {
  ------------------
  |  Branch (516:9): [True: 1.86k, False: 2.29k]
  ------------------
  517|  1.86k|      if (!Asm.getBackend().writeNopData(Count, OW))
  ------------------
  |  Branch (517:11): [True: 0, False: 1.86k]
  ------------------
  518|      0|        report_fatal_error("unable to write nop sequence of " +
  519|      0|                          Twine(Count) + " bytes");
  520|  1.86k|      break;
  521|  1.86k|    }
  522|       |
  523|       |    // Otherwise, write out in multiples of the value size.
  524|  2.93k|    for (uint64_t i = 0; i != Count; ++i) {
  ------------------
  |  Branch (524:26): [True: 634, False: 2.29k]
  ------------------
  525|    634|      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: 634]
  ------------------
  527|    634|      case 1: OW->write8 (uint8_t (AF.getValue())); break;
  ------------------
  |  Branch (527:7): [True: 634, False: 0]
  ------------------
  528|      0|      case 2: OW->write16(uint16_t(AF.getValue())); break;
  ------------------
  |  Branch (528:7): [True: 0, False: 634]
  ------------------
  529|      0|      case 4: OW->write32(uint32_t(AF.getValue())); break;
  ------------------
  |  Branch (529:7): [True: 0, False: 634]
  ------------------
  530|      0|      case 8: OW->write64(uint64_t(AF.getValue())); break;
  ------------------
  |  Branch (530:7): [True: 0, False: 634]
  ------------------
  531|    634|      }
  532|    634|    }
  533|  2.29k|    break;
  534|  2.29k|  }
  535|       |
  536|  7.76k|  case MCFragment::FT_Data: 
  ------------------
  |  Branch (536:3): [True: 7.76k, False: 9.16k]
  ------------------
  537|  7.76k|    OW->writeBytes(cast<MCDataFragment>(F).getContents());
  538|  7.76k|    break;
  539|       |
  540|      0|  case MCFragment::FT_Relaxable:
  ------------------
  |  Branch (540:3): [True: 0, False: 16.9k]
  ------------------
  541|      0|    OW->writeBytes(cast<MCRelaxableFragment>(F).getContents());
  542|      0|    break;
  543|       |
  544|      0|  case MCFragment::FT_CompactEncodedInst:
  ------------------
  |  Branch (544:3): [True: 0, False: 16.9k]
  ------------------
  545|      0|    OW->writeBytes(cast<MCCompactEncodedInstFragment>(F).getContents());
  546|      0|    break;
  547|       |
  548|  1.31k|  case MCFragment::FT_Fill: {
  ------------------
  |  Branch (548:3): [True: 1.31k, False: 15.6k]
  ------------------
  549|  1.31k|    const MCFillFragment &FF = cast<MCFillFragment>(F);
  550|  1.31k|    uint8_t V = FF.getValue();
  551|  1.31k|    const unsigned MaxChunkSize = 16;
  552|  1.31k|    char Data[MaxChunkSize];
  553|  1.31k|    memcpy(Data, &V, 1);
  554|  21.0k|    for (unsigned I = 1; I < MaxChunkSize; ++I)
  ------------------
  |  Branch (554:26): [True: 19.7k, False: 1.31k]
  ------------------
  555|  19.7k|      Data[I] = Data[0];
  556|       |
  557|  1.31k|    uint64_t Size = FF.getSize();
  558|  7.90k|    for (unsigned ChunkSize = MaxChunkSize; ChunkSize; ChunkSize /= 2) {
  ------------------
  |  Branch (558:45): [True: 6.58k, False: 1.31k]
  ------------------
  559|  6.58k|      StringRef Ref(Data, ChunkSize);
  560|  2.22M|      for (uint64_t I = 0, E = Size / ChunkSize; I != E; ++I)
  ------------------
  |  Branch (560:50): [True: 2.21M, False: 6.58k]
  ------------------
  561|  2.21M|        OW->writeBytes(Ref);
  562|  6.58k|      Size = Size % ChunkSize;
  563|  6.58k|    }
  564|  1.31k|    break;
  565|  2.29k|  }
  566|       |
  567|      0|  case MCFragment::FT_LEB: {
  ------------------
  |  Branch (567:3): [True: 0, False: 16.9k]
  ------------------
  568|      0|    const MCLEBFragment &LF = cast<MCLEBFragment>(F);
  569|      0|    OW->writeBytes(LF.getContents());
  570|      0|    break;
  571|  2.29k|  }
  572|       |
  573|      0|  case MCFragment::FT_SafeSEH: {
  ------------------
  |  Branch (573:3): [True: 0, False: 16.9k]
  ------------------
  574|      0|    const MCSafeSEHFragment &SF = cast<MCSafeSEHFragment>(F);
  575|      0|    OW->write32(SF.getSymbol()->getIndex());
  576|      0|    break;
  577|  2.29k|  }
  578|       |
  579|  3.68k|  case MCFragment::FT_Org: {
  ------------------
  |  Branch (579:3): [True: 3.68k, False: 13.2k]
  ------------------
  580|  3.68k|    const MCOrgFragment &OF = cast<MCOrgFragment>(F);
  581|       |
  582|   148M|    for (uint64_t i = 0, e = FragmentSize; i != e; ++i)
  ------------------
  |  Branch (582:44): [True: 148M, False: 3.68k]
  ------------------
  583|   148M|      OW->write8(uint8_t(OF.getValue()));
  584|       |
  585|  3.68k|    break;
  586|  2.29k|  }
  587|       |
  588|      0|  case MCFragment::FT_Dwarf: {
  ------------------
  |  Branch (588:3): [True: 0, False: 16.9k]
  ------------------
  589|      0|    const MCDwarfLineAddrFragment &OF = cast<MCDwarfLineAddrFragment>(F);
  590|      0|    OW->writeBytes(OF.getContents());
  591|      0|    break;
  592|  2.29k|  }
  593|      0|  case MCFragment::FT_DwarfFrame: {
  ------------------
  |  Branch (593:3): [True: 0, False: 16.9k]
  ------------------
  594|      0|    const MCDwarfCallFrameFragment &CF = cast<MCDwarfCallFrameFragment>(F);
  595|      0|    OW->writeBytes(CF.getContents());
  596|      0|    break;
  597|  2.29k|  }
  598|      0|  case MCFragment::FT_Dummy:
  ------------------
  |  Branch (598:3): [True: 0, False: 16.9k]
  ------------------
  599|      0|    llvm_unreachable("Should not have been added");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  600|  16.9k|  }
  601|       |
  602|  16.9k|  assert(OW->getStream().tell() - Start == FragmentSize &&
  ------------------
  |  Branch (602:3): [True: 16.9k, False: 0]
  |  Branch (602:3): [True: 16.9k, Folded]
  |  Branch (602:3): [True: 16.9k, False: 0]
  ------------------
  603|  16.9k|         "The stream should advance by fragment size");
  604|  16.9k|}

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

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

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

_ZNK7llvm_ks13MCELFStreamer14isBundleLockedEv:
   43|  58.3k|bool MCELFStreamer::isBundleLocked() const {
   44|  58.3k|  return getCurrentSectionOnly()->isBundleLocked();
   45|  58.3k|}
_ZN7llvm_ks13MCELFStreamerD2Ev:
   47|  13.4k|MCELFStreamer::~MCELFStreamer() {
   48|  13.4k|}
_ZN7llvm_ks13MCELFStreamer12InitSectionsEb:
   91|  13.4k|void MCELFStreamer::InitSections(bool NoExecStack) {
   92|  13.4k|  MCContext &Ctx = getContext();
   93|  13.4k|  SwitchSection(Ctx.getObjectFileInfo()->getTextSection());
   94|       |
   95|  13.4k|  if (NoExecStack)
  ------------------
  |  Branch (95:7): [True: 0, False: 13.4k]
  ------------------
   96|      0|    SwitchSection(Ctx.getAsmInfo()->getNonexecutableStackSection(Ctx));
   97|  13.4k|}
_ZN7llvm_ks13MCELFStreamer9EmitLabelEPNS_8MCSymbolE:
   99|  94.4k|void MCELFStreamer::EmitLabel(MCSymbol *S) {
  100|  94.4k|  auto *Symbol = cast<MCSymbolELF>(S);
  101|  94.4k|  assert(Symbol->isUndefined() && "Cannot define a symbol twice!");
  ------------------
  |  Branch (101:3): [True: 94.4k, False: 0]
  |  Branch (101:3): [True: 94.4k, Folded]
  |  Branch (101:3): [True: 94.4k, False: 0]
  ------------------
  102|       |
  103|  94.4k|  MCObjectStreamer::EmitLabel(Symbol);
  104|       |
  105|  94.4k|  const MCSectionELF &Section =
  106|  94.4k|      static_cast<const MCSectionELF &>(*getCurrentSectionOnly());
  107|  94.4k|  if (Section.getFlags() & ELF::SHF_TLS)
  ------------------
  |  Branch (107:7): [True: 372, False: 94.0k]
  ------------------
  108|    372|    Symbol->setType(ELF::STT_TLS);
  109|  94.4k|}
_ZN7llvm_ks13MCELFStreamer13ChangeSectionEPNS_9MCSectionEPKNS_6MCExprE:
  138|  22.2k|                                  const MCExpr *Subsection) {
  139|  22.2k|  MCSection *CurSection = getCurrentSectionOnly();
  140|  22.2k|  if (CurSection && isBundleLocked())
  ------------------
  |  Branch (140:7): [True: 8.81k, False: 13.4k]
  |  Branch (140:21): [True: 0, False: 8.81k]
  ------------------
  141|      0|    report_fatal_error("Unterminated .bundle_lock when changing a section");
  142|       |
  143|  22.2k|  MCAssembler &Asm = getAssembler();
  144|       |  // Ensure the previous section gets aligned if necessary.
  145|  22.2k|  setSectionAlignmentForBundling(Asm, CurSection);
  146|  22.2k|  auto *SectionELF = static_cast<const MCSectionELF *>(Section);
  147|  22.2k|  const MCSymbol *Grp = SectionELF->getGroup();
  148|  22.2k|  if (Grp)
  ------------------
  |  Branch (148:7): [True: 0, False: 22.2k]
  ------------------
  149|      0|    Asm.registerSymbol(*Grp);
  150|       |
  151|  22.2k|  this->MCObjectStreamer::ChangeSection(Section, Subsection);
  152|  22.2k|  MCContext &Ctx = getContext();
  153|  22.2k|  auto *Begin = cast_or_null<MCSymbolELF>(Section->getBeginSymbol());
  154|  22.2k|  if (!Begin) {
  ------------------
  |  Branch (154:7): [True: 13.8k, False: 8.44k]
  ------------------
  155|  13.8k|    Begin = Ctx.getOrCreateSectionSymbol(*SectionELF);
  156|  13.8k|    Section->setBeginSymbol(Begin);
  157|  13.8k|  }
  158|  22.2k|  if (Begin->isUndefined()) {
  ------------------
  |  Branch (158:7): [True: 13.8k, False: 8.44k]
  ------------------
  159|  13.8k|    Asm.registerSymbol(*Begin);
  160|  13.8k|    Begin->setType(ELF::STT_SECTION);
  161|  13.8k|  }
  162|  22.2k|}
_ZN7llvm_ks13MCELFStreamer19EmitSymbolAttributeEPNS_8MCSymbolENS_12MCSymbolAttrE:
  193|    161|bool MCELFStreamer::EmitSymbolAttribute(MCSymbol *S, MCSymbolAttr Attribute) {
  194|    161|  auto *Symbol = cast<MCSymbolELF>(S);
  195|       |  // Indirect symbols are handled differently, to match how 'as' handles
  196|       |  // them. This makes writing matching .o files easier.
  197|    161|  if (Attribute == MCSA_IndirectSymbol) {
  ------------------
  |  Branch (197:7): [True: 0, False: 161]
  ------------------
  198|       |    // Note that we intentionally cannot use the symbol data here; this is
  199|       |    // important for matching the string table that 'as' generates.
  200|      0|    IndirectSymbolData ISD;
  201|      0|    ISD.Symbol = Symbol;
  202|      0|    ISD.Section = getCurrentSectionOnly();
  203|      0|    getAssembler().getIndirectSymbols().push_back(ISD);
  204|      0|    return true;
  205|      0|  }
  206|       |
  207|       |  // Adding a symbol attribute always introduces the symbol, note that an
  208|       |  // important side effect of calling registerSymbol here is to register
  209|       |  // the symbol with the assembler.
  210|    161|  getAssembler().registerSymbol(*Symbol);
  211|       |
  212|       |  // The implementation of symbol attributes is designed to match 'as', but it
  213|       |  // leaves much to desired. It doesn't really make sense to arbitrarily add and
  214|       |  // remove flags, but 'as' allows this (in particular, see .desc).
  215|       |  //
  216|       |  // In the future it might be worth trying to make these operations more well
  217|       |  // defined.
  218|    161|  switch (Attribute) {
  ------------------
  |  Branch (218:11): [True: 161, False: 0]
  ------------------
  219|      0|  case MCSA_LazyReference:
  ------------------
  |  Branch (219:3): [True: 0, False: 161]
  ------------------
  220|      0|  case MCSA_Reference:
  ------------------
  |  Branch (220:3): [True: 0, False: 161]
  ------------------
  221|      0|  case MCSA_SymbolResolver:
  ------------------
  |  Branch (221:3): [True: 0, False: 161]
  ------------------
  222|      0|  case MCSA_PrivateExtern:
  ------------------
  |  Branch (222:3): [True: 0, False: 161]
  ------------------
  223|      0|  case MCSA_WeakDefinition:
  ------------------
  |  Branch (223:3): [True: 0, False: 161]
  ------------------
  224|      0|  case MCSA_WeakDefAutoPrivate:
  ------------------
  |  Branch (224:3): [True: 0, False: 161]
  ------------------
  225|      0|  case MCSA_Invalid:
  ------------------
  |  Branch (225:3): [True: 0, False: 161]
  ------------------
  226|      0|  case MCSA_IndirectSymbol:
  ------------------
  |  Branch (226:3): [True: 0, False: 161]
  ------------------
  227|      0|    return false;
  228|       |
  229|     27|  case MCSA_NoDeadStrip:
  ------------------
  |  Branch (229:3): [True: 27, False: 134]
  ------------------
  230|       |    // Ignore for now.
  231|     27|    break;
  232|       |
  233|      0|  case MCSA_ELF_TypeGnuUniqueObject:
  ------------------
  |  Branch (233:3): [True: 0, False: 161]
  ------------------
  234|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_OBJECT));
  235|      0|    Symbol->setBinding(ELF::STB_GNU_UNIQUE);
  236|      0|    Symbol->setExternal(true);
  237|      0|    break;
  238|       |
  239|    134|  case MCSA_Global:
  ------------------
  |  Branch (239:3): [True: 134, False: 27]
  ------------------
  240|    134|    Symbol->setBinding(ELF::STB_GLOBAL);
  241|    134|    Symbol->setExternal(true);
  242|    134|    break;
  243|       |
  244|      0|  case MCSA_WeakReference:
  ------------------
  |  Branch (244:3): [True: 0, False: 161]
  ------------------
  245|      0|  case MCSA_Weak:
  ------------------
  |  Branch (245:3): [True: 0, False: 161]
  ------------------
  246|      0|    Symbol->setBinding(ELF::STB_WEAK);
  247|      0|    Symbol->setExternal(true);
  248|      0|    break;
  249|       |
  250|      0|  case MCSA_Local:
  ------------------
  |  Branch (250:3): [True: 0, False: 161]
  ------------------
  251|      0|    Symbol->setBinding(ELF::STB_LOCAL);
  252|      0|    Symbol->setExternal(false);
  253|      0|    break;
  254|       |
  255|      0|  case MCSA_ELF_TypeFunction:
  ------------------
  |  Branch (255:3): [True: 0, False: 161]
  ------------------
  256|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_FUNC));
  257|      0|    break;
  258|       |
  259|      0|  case MCSA_ELF_TypeIndFunction:
  ------------------
  |  Branch (259:3): [True: 0, False: 161]
  ------------------
  260|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_GNU_IFUNC));
  261|      0|    break;
  262|       |
  263|      0|  case MCSA_ELF_TypeObject:
  ------------------
  |  Branch (263:3): [True: 0, False: 161]
  ------------------
  264|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_OBJECT));
  265|      0|    break;
  266|       |
  267|      0|  case MCSA_ELF_TypeTLS:
  ------------------
  |  Branch (267:3): [True: 0, False: 161]
  ------------------
  268|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_TLS));
  269|      0|    break;
  270|       |
  271|      0|  case MCSA_ELF_TypeCommon:
  ------------------
  |  Branch (271:3): [True: 0, False: 161]
  ------------------
  272|       |    // TODO: Emit these as a common symbol.
  273|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_OBJECT));
  274|      0|    break;
  275|       |
  276|      0|  case MCSA_ELF_TypeNoType:
  ------------------
  |  Branch (276:3): [True: 0, False: 161]
  ------------------
  277|      0|    Symbol->setType(CombineSymbolTypes(Symbol->getType(), ELF::STT_NOTYPE));
  278|      0|    break;
  279|       |
  280|      0|  case MCSA_Protected:
  ------------------
  |  Branch (280:3): [True: 0, False: 161]
  ------------------
  281|      0|    Symbol->setVisibility(ELF::STV_PROTECTED);
  282|      0|    break;
  283|       |
  284|      0|  case MCSA_Hidden:
  ------------------
  |  Branch (284:3): [True: 0, False: 161]
  ------------------
  285|      0|    Symbol->setVisibility(ELF::STV_HIDDEN);
  286|      0|    break;
  287|       |
  288|      0|  case MCSA_Internal:
  ------------------
  |  Branch (288:3): [True: 0, False: 161]
  ------------------
  289|      0|    Symbol->setVisibility(ELF::STV_INTERNAL);
  290|      0|    break;
  291|    161|  }
  292|       |
  293|    161|  return true;
  294|    161|}
_ZN7llvm_ks13MCELFStreamer16EmitCommonSymbolEPNS_8MCSymbolEmj:
  297|  1.03k|                                     unsigned ByteAlignment) {
  298|  1.03k|  auto *Symbol = cast<MCSymbolELF>(S);
  299|  1.03k|  getAssembler().registerSymbol(*Symbol);
  300|       |
  301|  1.03k|  if (!Symbol->isBindingSet()) {
  ------------------
  |  Branch (301:7): [True: 85, False: 948]
  ------------------
  302|     85|    Symbol->setBinding(ELF::STB_GLOBAL);
  303|     85|    Symbol->setExternal(true);
  304|     85|  }
  305|       |
  306|  1.03k|  Symbol->setType(ELF::STT_OBJECT);
  307|       |
  308|  1.03k|  if (Symbol->getBinding() == ELF::STB_LOCAL) {
  ------------------
  |  Branch (308:7): [True: 31, False: 1.00k]
  ------------------
  309|     31|    MCSection &Section = *getAssembler().getContext().getELFSection(
  310|     31|        ".bss", ELF::SHT_NOBITS, ELF::SHF_WRITE | ELF::SHF_ALLOC);
  311|     31|    MCSectionSubPair P = getCurrentSection();
  312|     31|    SwitchSection(&Section);
  313|       |
  314|     31|    EmitValueToAlignment(ByteAlignment, 0, 1, 0);
  315|     31|    EmitLabel(Symbol);
  316|     31|    EmitZeros(Size);
  317|       |
  318|       |    // Update the maximum alignment of the section if necessary.
  319|     31|    if (ByteAlignment > Section.getAlignment())
  ------------------
  |  Branch (319:9): [True: 0, False: 31]
  ------------------
  320|      0|      Section.setAlignment(ByteAlignment);
  321|       |
  322|     31|    SwitchSection(P.first, P.second);
  323|  1.00k|  } else {
  324|  1.00k|    if(Symbol->declareCommon(Size, ByteAlignment))
  ------------------
  |  Branch (324:8): [True: 0, False: 1.00k]
  ------------------
  325|      0|      report_fatal_error("Symbol: " + Symbol->getName() +
  326|      0|                         " redeclared as different type");
  327|  1.00k|  }
  328|       |
  329|  1.03k|  cast<MCSymbolELF>(Symbol)
  330|  1.03k|      ->setSize(MCConstantExpr::create(Size, getContext()));
  331|  1.03k|}
_ZN7llvm_ks13MCELFStreamer21EmitLocalCommonSymbolEPNS_8MCSymbolEmj:
  338|     31|                                          unsigned ByteAlignment) {
  339|     31|  auto *Symbol = cast<MCSymbolELF>(S);
  340|       |  // FIXME: Should this be caught and done earlier?
  341|     31|  getAssembler().registerSymbol(*Symbol);
  342|     31|  Symbol->setBinding(ELF::STB_LOCAL);
  343|     31|  Symbol->setExternal(false);
  344|     31|  EmitCommonSymbol(Symbol, Size, ByteAlignment);
  345|     31|}
_ZN7llvm_ks13MCELFStreamer13EmitValueImplEPKNS_6MCExprEjNS_5SMLocE:
  348|  43.5k|                                  SMLoc Loc) {
  349|  43.5k|  if (isBundleLocked())
  ------------------
  |  Branch (349:7): [True: 0, False: 43.5k]
  ------------------
  350|      0|    report_fatal_error("Emitting values inside a locked bundle is forbidden");
  351|  43.5k|  fixSymbolsInTLSFixups(Value);
  352|  43.5k|  MCObjectStreamer::EmitValueImpl(Value, Size, Loc);
  353|  43.5k|}
_ZN7llvm_ks13MCELFStreamer20EmitValueToAlignmentEjljj:
  358|  5.96k|                                         unsigned MaxBytesToEmit) {
  359|  5.96k|  if (isBundleLocked())
  ------------------
  |  Branch (359:7): [True: 0, False: 5.96k]
  ------------------
  360|      0|    report_fatal_error("Emitting values inside a locked bundle is forbidden");
  361|  5.96k|  MCObjectStreamer::EmitValueToAlignment(ByteAlignment, Value,
  362|  5.96k|                                         ValueSize, MaxBytesToEmit);
  363|  5.96k|}
_ZN7llvm_ks13MCELFStreamer17EmitFileDirectiveENS_9StringRefE:
  368|  18.1k|void MCELFStreamer::EmitFileDirective(StringRef Filename) {
  369|  18.1k|  getAssembler().addFileName(Filename);
  370|  18.1k|}
_ZN7llvm_ks13MCELFStreamer21fixSymbolsInTLSFixupsEPKNS_6MCExprE:
  387|   172k|void MCELFStreamer::fixSymbolsInTLSFixups(const MCExpr *expr) {
  388|   172k|  switch (expr->getKind()) {
  ------------------
  |  Branch (388:11): [True: 172k, False: 0]
  ------------------
  389|      7|  case MCExpr::Target:
  ------------------
  |  Branch (389:3): [True: 7, False: 172k]
  ------------------
  390|      7|    cast<MCTargetExpr>(expr)->fixELFSymbolsInTLSFixups(getAssembler());
  391|      7|    break;
  392|  36.8k|  case MCExpr::Constant:
  ------------------
  |  Branch (392:3): [True: 36.8k, False: 135k]
  ------------------
  393|  36.8k|    break;
  394|       |
  395|  56.2k|  case MCExpr::Binary: {
  ------------------
  |  Branch (395:3): [True: 56.2k, False: 116k]
  ------------------
  396|  56.2k|    const MCBinaryExpr *be = cast<MCBinaryExpr>(expr);
  397|  56.2k|    fixSymbolsInTLSFixups(be->getLHS());
  398|  56.2k|    fixSymbolsInTLSFixups(be->getRHS());
  399|  56.2k|    break;
  400|      0|  }
  401|       |
  402|  68.5k|  case MCExpr::SymbolRef: {
  ------------------
  |  Branch (402:3): [True: 68.5k, False: 103k]
  ------------------
  403|  68.5k|    const MCSymbolRefExpr &symRef = *cast<MCSymbolRefExpr>(expr);
  404|  68.5k|    switch (symRef.getKind()) {
  405|  64.4k|    default:
  ------------------
  |  Branch (405:5): [True: 64.4k, False: 4.15k]
  ------------------
  406|  64.4k|      return;
  407|  64.4k|    case MCSymbolRefExpr::VK_GOTTPOFF:
  ------------------
  |  Branch (407:5): [True: 74, False: 68.5k]
  ------------------
  408|    145|    case MCSymbolRefExpr::VK_INDNTPOFF:
  ------------------
  |  Branch (408:5): [True: 71, False: 68.5k]
  ------------------
  409|    171|    case MCSymbolRefExpr::VK_NTPOFF:
  ------------------
  |  Branch (409:5): [True: 26, False: 68.5k]
  ------------------
  410|    393|    case MCSymbolRefExpr::VK_GOTNTPOFF:
  ------------------
  |  Branch (410:5): [True: 222, False: 68.3k]
  ------------------
  411|    412|    case MCSymbolRefExpr::VK_TLSGD:
  ------------------
  |  Branch (411:5): [True: 19, False: 68.5k]
  ------------------
  412|    503|    case MCSymbolRefExpr::VK_TLSLD:
  ------------------
  |  Branch (412:5): [True: 91, False: 68.4k]
  ------------------
  413|    580|    case MCSymbolRefExpr::VK_TLSLDM:
  ------------------
  |  Branch (413:5): [True: 77, False: 68.5k]
  ------------------
  414|    603|    case MCSymbolRefExpr::VK_TPOFF:
  ------------------
  |  Branch (414:5): [True: 23, False: 68.5k]
  ------------------
  415|    603|    case MCSymbolRefExpr::VK_TPREL:
  ------------------
  |  Branch (415:5): [True: 0, False: 68.5k]
  ------------------
  416|    697|    case MCSymbolRefExpr::VK_DTPOFF:
  ------------------
  |  Branch (416:5): [True: 94, False: 68.4k]
  ------------------
  417|    697|    case MCSymbolRefExpr::VK_DTPREL:
  ------------------
  |  Branch (417:5): [True: 0, False: 68.5k]
  ------------------
  418|    697|    case MCSymbolRefExpr::VK_Mips_TLSGD:
  ------------------
  |  Branch (418:5): [True: 0, False: 68.5k]
  ------------------
  419|    697|    case MCSymbolRefExpr::VK_Mips_GOTTPREL:
  ------------------
  |  Branch (419:5): [True: 0, False: 68.5k]
  ------------------
  420|    697|    case MCSymbolRefExpr::VK_Mips_TPREL_HI:
  ------------------
  |  Branch (420:5): [True: 0, False: 68.5k]
  ------------------
  421|    697|    case MCSymbolRefExpr::VK_Mips_TPREL_LO:
  ------------------
  |  Branch (421:5): [True: 0, False: 68.5k]
  ------------------
  422|    776|    case MCSymbolRefExpr::VK_PPC_DTPMOD:
  ------------------
  |  Branch (422:5): [True: 79, False: 68.5k]
  ------------------
  423|  1.22k|    case MCSymbolRefExpr::VK_PPC_TPREL_LO:
  ------------------
  |  Branch (423:5): [True: 447, False: 68.1k]
  ------------------
  424|  1.39k|    case MCSymbolRefExpr::VK_PPC_TPREL_HI:
  ------------------
  |  Branch (424:5): [True: 171, False: 68.4k]
  ------------------
  425|  1.41k|    case MCSymbolRefExpr::VK_PPC_TPREL_HA:
  ------------------
  |  Branch (425:5): [True: 18, False: 68.5k]
  ------------------
  426|  1.52k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHER:
  ------------------
  |  Branch (426:5): [True: 117, False: 68.4k]
  ------------------
  427|  1.59k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHERA:
  ------------------
  |  Branch (427:5): [True: 70, False: 68.5k]
  ------------------
  428|  1.66k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHEST:
  ------------------
  |  Branch (428:5): [True: 67, False: 68.5k]
  ------------------
  429|  1.67k|    case MCSymbolRefExpr::VK_PPC_TPREL_HIGHESTA:
  ------------------
  |  Branch (429:5): [True: 10, False: 68.5k]
  ------------------
  430|  2.12k|    case MCSymbolRefExpr::VK_PPC_DTPREL_LO:
  ------------------
  |  Branch (430:5): [True: 449, False: 68.1k]
  ------------------
  431|  2.21k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HI:
  ------------------
  |  Branch (431:5): [True: 92, False: 68.4k]
  ------------------
  432|  2.25k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HA:
  ------------------
  |  Branch (432:5): [True: 41, False: 68.5k]
  ------------------
  433|  2.30k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHER:
  ------------------
  |  Branch (433:5): [True: 51, False: 68.5k]
  ------------------
  434|  2.32k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHERA:
  ------------------
  |  Branch (434:5): [True: 17, False: 68.5k]
  ------------------
  435|  2.34k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHEST:
  ------------------
  |  Branch (435:5): [True: 15, False: 68.5k]
  ------------------
  436|  2.41k|    case MCSymbolRefExpr::VK_PPC_DTPREL_HIGHESTA:
  ------------------
  |  Branch (436:5): [True: 74, False: 68.5k]
  ------------------
  437|  2.49k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL:
  ------------------
  |  Branch (437:5): [True: 83, False: 68.5k]
  ------------------
  438|  2.58k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_LO:
  ------------------
  |  Branch (438:5): [True: 89, False: 68.4k]
  ------------------
  439|  2.62k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_HI:
  ------------------
  |  Branch (439:5): [True: 41, False: 68.5k]
  ------------------
  440|  2.71k|    case MCSymbolRefExpr::VK_PPC_GOT_TPREL_HA:
  ------------------
  |  Branch (440:5): [True: 82, False: 68.5k]
  ------------------
  441|  2.77k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL:
  ------------------
  |  Branch (441:5): [True: 67, False: 68.5k]
  ------------------
  442|  2.78k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_LO:
  ------------------
  |  Branch (442:5): [True: 12, False: 68.5k]
  ------------------
  443|  2.87k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_HI:
  ------------------
  |  Branch (443:5): [True: 84, False: 68.5k]
  ------------------
  444|  2.94k|    case MCSymbolRefExpr::VK_PPC_GOT_DTPREL_HA:
  ------------------
  |  Branch (444:5): [True: 72, False: 68.5k]
  ------------------
  445|  3.05k|    case MCSymbolRefExpr::VK_PPC_TLS:
  ------------------
  |  Branch (445:5): [True: 107, False: 68.4k]
  ------------------
  446|  3.27k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD:
  ------------------
  |  Branch (446:5): [True: 224, False: 68.3k]
  ------------------
  447|  3.31k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_LO:
  ------------------
  |  Branch (447:5): [True: 40, False: 68.5k]
  ------------------
  448|  3.40k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_HI:
  ------------------
  |  Branch (448:5): [True: 91, False: 68.4k]
  ------------------
  449|  3.82k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSGD_HA:
  ------------------
  |  Branch (449:5): [True: 413, False: 68.1k]
  ------------------
  450|  3.82k|    case MCSymbolRefExpr::VK_PPC_TLSGD:
  ------------------
  |  Branch (450:5): [True: 0, False: 68.5k]
  ------------------
  451|  3.90k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD:
  ------------------
  |  Branch (451:5): [True: 82, False: 68.5k]
  ------------------
  452|  3.97k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_LO:
  ------------------
  |  Branch (452:5): [True: 72, False: 68.5k]
  ------------------
  453|  4.10k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_HI:
  ------------------
  |  Branch (453:5): [True: 135, False: 68.4k]
  ------------------
  454|  4.15k|    case MCSymbolRefExpr::VK_PPC_GOT_TLSLD_HA:
  ------------------
  |  Branch (454:5): [True: 45, False: 68.5k]
  ------------------
  455|  4.15k|    case MCSymbolRefExpr::VK_PPC_TLSLD:
  ------------------
  |  Branch (455:5): [True: 0, False: 68.5k]
  ------------------
  456|  4.15k|      break;
  457|  68.5k|    }
  458|  4.15k|    getAssembler().registerSymbol(symRef.getSymbol());
  459|  4.15k|    cast<MCSymbolELF>(symRef.getSymbol()).setType(ELF::STT_TLS);
  460|  4.15k|    break;
  461|  68.5k|  }
  462|       |
  463|  10.7k|  case MCExpr::Unary:
  ------------------
  |  Branch (463:3): [True: 10.7k, False: 161k]
  ------------------
  464|  10.7k|    fixSymbolsInTLSFixups(cast<MCUnaryExpr>(expr)->getSubExpr());
  465|  10.7k|    break;
  466|   172k|  }
  467|   172k|}
_ZN7llvm_ks13MCELFStreamer14EmitInstToDataERNS_6MCInstERKNS_15MCSubtargetInfoERj:
  481|  7.18k|{
  482|  7.18k|  MCAssembler &Assembler = getAssembler();
  483|  7.18k|  SmallVector<MCFixup, 4> Fixups;
  484|  7.18k|  SmallString<256> Code;
  485|  7.18k|  raw_svector_ostream VecOS(Code);
  486|  7.18k|  Assembler.getEmitter().encodeInstruction(Inst, VecOS, Fixups, STI, KsError);
  487|  7.18k|  if (KsError)
  ------------------
  |  Branch (487:7): [True: 0, False: 7.18k]
  ------------------
  488|      0|      return;
  489|       |
  490|  12.8k|  for (unsigned i = 0, e = Fixups.size(); i != e; ++i)
  ------------------
  |  Branch (490:43): [True: 5.62k, False: 7.18k]
  ------------------
  491|  5.62k|    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|  7.18k|  MCDataFragment *DF;
  509|       |
  510|  7.18k|  if (Assembler.isBundlingEnabled()) {
  ------------------
  |  Branch (510:7): [True: 0, False: 7.18k]
  ------------------
  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|  7.18k|  } else {
  549|  7.18k|    DF = getOrCreateDataFragment();
  550|  7.18k|  }
  551|       |
  552|       |  // Add the fixups and data.
  553|  12.8k|  for (unsigned i = 0, e = Fixups.size(); i != e; ++i) {
  ------------------
  |  Branch (553:43): [True: 5.62k, False: 7.18k]
  ------------------
  554|  5.62k|    Fixups[i].setOffset(Fixups[i].getOffset() + DF->getContents().size());
  555|  5.62k|    DF->getFixups().push_back(Fixups[i]);
  556|  5.62k|  }
  557|  7.18k|  DF->setHasInstructions(true);
  558|  7.18k|  DF->getContents().append(Code.begin(), Code.end());
  559|       |
  560|  7.18k|  if (Assembler.isBundlingEnabled() && Assembler.getRelaxAll()) {
  ------------------
  |  Branch (560:7): [True: 0, False: 7.18k]
  |  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|  7.18k|}
_ZN7llvm_ks13MCELFStreamer10FinishImplEv:
  634|  6.88k|{
  635|       |  // Ensure the last section gets aligned if necessary.
  636|  6.88k|  MCSection *CurSection = getCurrentSectionOnly();
  637|  6.88k|  setSectionAlignmentForBundling(getAssembler(), CurSection);
  638|       |
  639|  6.88k|  EmitFrames(nullptr);
  640|  6.88k|  return this->MCObjectStreamer::FinishImpl();
  641|  6.88k|}
_ZN7llvm_ks17createELFStreamerERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterEb:
  645|  13.4k|                                    bool RelaxAll) {
  646|  13.4k|  MCELFStreamer *S = new MCELFStreamer(Context, MAB, OS, CE);
  647|  13.4k|  if (RelaxAll)
  ------------------
  |  Branch (647:7): [True: 0, False: 13.4k]
  ------------------
  648|      0|    S->getAssembler().setRelaxAll(true);
  649|  13.4k|  return S;
  650|  13.4k|}
MCELFStreamer.cpp:_ZL30setSectionAlignmentForBundlingRKN7llvm_ks11MCAssemblerEPNS_9MCSectionE:
  131|  29.1k|                                           MCSection *Section) {
  132|  29.1k|  if (Section && Assembler.isBundlingEnabled() && Section->hasInstructions() &&
  ------------------
  |  Branch (132:7): [True: 15.6k, False: 13.4k]
  |  Branch (132:18): [True: 0, False: 15.6k]
  |  Branch (132:51): [True: 0, False: 0]
  ------------------
  133|      0|      Section->getAlignment() < Assembler.getBundleAlignSize())
  ------------------
  |  Branch (133:7): [True: 0, False: 0]
  ------------------
  134|      0|    Section->setAlignment(Assembler.getBundleAlignSize());
  135|  29.1k|}

_ZN7llvm_ks12MCBinaryExpr6createENS0_6OpcodeEPKNS_6MCExprES4_RNS_9MCContextE:
  133|   326k|                                         const MCExpr *RHS, MCContext &Ctx) {
  134|   326k|  return new (Ctx) MCBinaryExpr(Opc, LHS, RHS);
  135|   326k|}
_ZN7llvm_ks11MCUnaryExpr6createENS0_6OpcodeEPKNS_6MCExprERNS_9MCContextE:
  138|   157k|                                       MCContext &Ctx) {
  139|   157k|  return new (Ctx) MCUnaryExpr(Opc, Expr);
  140|   157k|}
_ZN7llvm_ks14MCConstantExpr6createElRNS_9MCContextE:
  142|   355k|const MCConstantExpr *MCConstantExpr::create(int64_t Value, MCContext &Ctx) {
  143|   355k|  return new (Ctx) MCConstantExpr(Value);
  144|   355k|}
_ZN7llvm_ks15MCSymbolRefExprC2EPKNS_8MCSymbolENS0_11VariantKindEPKNS_9MCAsmInfoE:
  150|   352k|    : MCExpr(MCExpr::SymbolRef), Kind(Kind),
  151|   352k|      UseParensForSymbolVariant(MAI->useParensForSymbolVariant()),
  152|   352k|      HasSubsectionsViaSymbols(MAI->hasSubsectionsViaSymbols()),
  153|   352k|      Symbol(Symbol) {
  154|       |  assert(Symbol);
  ------------------
  |  Branch (154:3): [True: 352k, False: 0]
  ------------------
  155|   352k|}
_ZN7llvm_ks15MCSymbolRefExpr6createEPKNS_8MCSymbolENS0_11VariantKindERNS_9MCContextE:
  159|   352k|                                               MCContext &Ctx) {
  160|   352k|  return new (Ctx) MCSymbolRefExpr(Sym, Kind, Ctx.getAsmInfo());
  161|   352k|}
_ZN7llvm_ks15MCSymbolRefExpr21getVariantKindForNameENS_9StringRefE:
  303|  40.6k|MCSymbolRefExpr::getVariantKindForName(StringRef Name) {
  304|  40.6k|  return StringSwitch<VariantKind>(Name.lower())
  305|  40.6k|    .Case("got", VK_GOT)
  306|  40.6k|    .Case("gotoff", VK_GOTOFF)
  307|  40.6k|    .Case("gotpcrel", VK_GOTPCREL)
  308|  40.6k|    .Case("gottpoff", VK_GOTTPOFF)
  309|  40.6k|    .Case("indntpoff", VK_INDNTPOFF)
  310|  40.6k|    .Case("ntpoff", VK_NTPOFF)
  311|  40.6k|    .Case("gotntpoff", VK_GOTNTPOFF)
  312|  40.6k|    .Case("plt", VK_PLT)
  313|  40.6k|    .Case("tlsgd", VK_TLSGD)
  314|  40.6k|    .Case("tlsld", VK_TLSLD)
  315|  40.6k|    .Case("tlsldm", VK_TLSLDM)
  316|  40.6k|    .Case("tpoff", VK_TPOFF)
  317|  40.6k|    .Case("dtpoff", VK_DTPOFF)
  318|  40.6k|    .Case("tlvp", VK_TLVP)
  319|  40.6k|    .Case("tlvppage", VK_TLVPPAGE)
  320|  40.6k|    .Case("tlvppageoff", VK_TLVPPAGEOFF)
  321|  40.6k|    .Case("page", VK_PAGE)
  322|  40.6k|    .Case("pageoff", VK_PAGEOFF)
  323|  40.6k|    .Case("gotpage", VK_GOTPAGE)
  324|  40.6k|    .Case("gotpageoff", VK_GOTPAGEOFF)
  325|  40.6k|    .Case("imgrel", VK_COFF_IMGREL32)
  326|  40.6k|    .Case("secrel32", VK_SECREL)
  327|  40.6k|    .Case("size", VK_SIZE)
  328|  40.6k|    .Case("l", VK_PPC_LO)
  329|  40.6k|    .Case("h", VK_PPC_HI)
  330|  40.6k|    .Case("ha", VK_PPC_HA)
  331|  40.6k|    .Case("higher", VK_PPC_HIGHER)
  332|  40.6k|    .Case("highera", VK_PPC_HIGHERA)
  333|  40.6k|    .Case("highest", VK_PPC_HIGHEST)
  334|  40.6k|    .Case("highesta", VK_PPC_HIGHESTA)
  335|  40.6k|    .Case("got@l", VK_PPC_GOT_LO)
  336|  40.6k|    .Case("got@h", VK_PPC_GOT_HI)
  337|  40.6k|    .Case("got@ha", VK_PPC_GOT_HA)
  338|  40.6k|    .Case("local", VK_PPC_LOCAL)
  339|  40.6k|    .Case("tocbase", VK_PPC_TOCBASE)
  340|  40.6k|    .Case("toc", VK_PPC_TOC)
  341|  40.6k|    .Case("toc@l", VK_PPC_TOC_LO)
  342|  40.6k|    .Case("toc@h", VK_PPC_TOC_HI)
  343|  40.6k|    .Case("toc@ha", VK_PPC_TOC_HA)
  344|  40.6k|    .Case("tls", VK_PPC_TLS)
  345|  40.6k|    .Case("dtpmod", VK_PPC_DTPMOD)
  346|  40.6k|    .Case("tprel", VK_PPC_TPREL)
  347|  40.6k|    .Case("tprel@l", VK_PPC_TPREL_LO)
  348|  40.6k|    .Case("tprel@h", VK_PPC_TPREL_HI)
  349|  40.6k|    .Case("tprel@ha", VK_PPC_TPREL_HA)
  350|  40.6k|    .Case("tprel@higher", VK_PPC_TPREL_HIGHER)
  351|  40.6k|    .Case("tprel@highera", VK_PPC_TPREL_HIGHERA)
  352|  40.6k|    .Case("tprel@highest", VK_PPC_TPREL_HIGHEST)
  353|  40.6k|    .Case("tprel@highesta", VK_PPC_TPREL_HIGHESTA)
  354|  40.6k|    .Case("dtprel", VK_PPC_DTPREL)
  355|  40.6k|    .Case("dtprel@l", VK_PPC_DTPREL_LO)
  356|  40.6k|    .Case("dtprel@h", VK_PPC_DTPREL_HI)
  357|  40.6k|    .Case("dtprel@ha", VK_PPC_DTPREL_HA)
  358|  40.6k|    .Case("dtprel@higher", VK_PPC_DTPREL_HIGHER)
  359|  40.6k|    .Case("dtprel@highera", VK_PPC_DTPREL_HIGHERA)
  360|  40.6k|    .Case("dtprel@highest", VK_PPC_DTPREL_HIGHEST)
  361|  40.6k|    .Case("dtprel@highesta", VK_PPC_DTPREL_HIGHESTA)
  362|  40.6k|    .Case("got@tprel", VK_PPC_GOT_TPREL)
  363|  40.6k|    .Case("got@tprel@l", VK_PPC_GOT_TPREL_LO)
  364|  40.6k|    .Case("got@tprel@h", VK_PPC_GOT_TPREL_HI)
  365|  40.6k|    .Case("got@tprel@ha", VK_PPC_GOT_TPREL_HA)
  366|  40.6k|    .Case("got@dtprel", VK_PPC_GOT_DTPREL)
  367|  40.6k|    .Case("got@dtprel@l", VK_PPC_GOT_DTPREL_LO)
  368|  40.6k|    .Case("got@dtprel@h", VK_PPC_GOT_DTPREL_HI)
  369|  40.6k|    .Case("got@dtprel@ha", VK_PPC_GOT_DTPREL_HA)
  370|  40.6k|    .Case("got@tlsgd", VK_PPC_GOT_TLSGD)
  371|  40.6k|    .Case("got@tlsgd@l", VK_PPC_GOT_TLSGD_LO)
  372|  40.6k|    .Case("got@tlsgd@h", VK_PPC_GOT_TLSGD_HI)
  373|  40.6k|    .Case("got@tlsgd@ha", VK_PPC_GOT_TLSGD_HA)
  374|  40.6k|    .Case("got@tlsld", VK_PPC_GOT_TLSLD)
  375|  40.6k|    .Case("got@tlsld@l", VK_PPC_GOT_TLSLD_LO)
  376|  40.6k|    .Case("got@tlsld@h", VK_PPC_GOT_TLSLD_HI)
  377|  40.6k|    .Case("got@tlsld@ha", VK_PPC_GOT_TLSLD_HA)
  378|  40.6k|    .Case("gdgot", VK_Hexagon_GD_GOT)
  379|  40.6k|    .Case("gdplt", VK_Hexagon_GD_PLT)
  380|  40.6k|    .Case("iegot", VK_Hexagon_IE_GOT)
  381|  40.6k|    .Case("ie", VK_Hexagon_IE)
  382|  40.6k|    .Case("ldgot", VK_Hexagon_LD_GOT)
  383|  40.6k|    .Case("ldplt", VK_Hexagon_LD_PLT)
  384|  40.6k|    .Case("pcrel", VK_Hexagon_PCREL)
  385|  40.6k|    .Case("none", VK_ARM_NONE)
  386|  40.6k|    .Case("got_prel", VK_ARM_GOT_PREL)
  387|  40.6k|    .Case("target1", VK_ARM_TARGET1)
  388|  40.6k|    .Case("target2", VK_ARM_TARGET2)
  389|  40.6k|    .Case("prel31", VK_ARM_PREL31)
  390|  40.6k|    .Case("sbrel", VK_ARM_SBREL)
  391|  40.6k|    .Case("tlsldo", VK_ARM_TLSLDO)
  392|  40.6k|    .Case("tlscall", VK_ARM_TLSCALL)
  393|  40.6k|    .Case("tlsdesc", VK_ARM_TLSDESC)
  394|  40.6k|    .Default(VK_Invalid);
  395|  40.6k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERl:
  406|   323k|bool MCExpr::evaluateAsAbsolute(int64_t &Res) const {
  407|   323k|  return evaluateAsAbsolute(Res, nullptr, nullptr, nullptr);
  408|   323k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlRKNS_11MCAssemblerE:
  421|  43.5k|bool MCExpr::evaluateAsAbsolute(int64_t &Res, const MCAssembler &Asm) const {
  422|  43.5k|  return evaluateAsAbsolute(Res, &Asm, nullptr, nullptr);
  423|  43.5k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISB_EENS_6detail12DenseMapPairISB_mEEEE:
  433|   367k|                                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|   367k|  return evaluateAsAbsolute(Res, Asm, Layout, Addrs, Addrs);
  438|   367k|}
_ZNK7llvm_ks6MCExpr18evaluateAsAbsoluteERlPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISB_EENS_6detail12DenseMapPairISB_mEEEEb:
  443|   367k|{
  444|   367k|  MCValue Value;
  445|       |
  446|       |  // Fast path constants.
  447|   367k|  if (const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(this)) {
  ------------------
  |  Branch (447:29): [True: 79.2k, False: 287k]
  ------------------
  448|  79.2k|    Res = CE->getValue();
  449|  79.2k|    return true;
  450|  79.2k|  }
  451|       |
  452|   287k|  bool valid;
  453|   287k|  bool IsRelocatable =
  454|   287k|      evaluateAsRelocatableImpl(Value, Asm, Layout, nullptr, Addrs, InSet, valid);
  455|       |
  456|       |  // Record the current value.
  457|   287k|  Res = Value.getConstant();
  458|       |
  459|   287k|  return IsRelocatable && Value.isAbsolute();
  ------------------
  |  Branch (459:10): [True: 249k, False: 38.3k]
  |  Branch (459:27): [True: 36.8k, False: 212k]
  ------------------
  460|   367k|}
_ZNK7llvm_ks6MCExpr21evaluateAsRelocatableERNS_7MCValueEPKNS_11MCAsmLayoutEPKNS_7MCFixupE:
  606|  14.1k|{
  607|  14.1k|  MCAssembler *Assembler = Layout ? &Layout->getAssembler() : nullptr;
  ------------------
  |  Branch (607:28): [True: 14.0k, False: 111]
  ------------------
  608|  14.1k|  bool valid;
  609|  14.1k|  return evaluateAsRelocatableImpl(Res, Assembler, Layout, Fixup, nullptr,
  610|  14.1k|                                   false, valid);
  611|  14.1k|}
_ZNK7llvm_ks6MCExpr15evaluateAsValueERNS_7MCValueERKNS_11MCAsmLayoutE:
  614|  13.6k|{
  615|  13.6k|  MCAssembler *Assembler = &Layout.getAssembler();
  616|  13.6k|  bool valid;
  617|  13.6k|  return evaluateAsRelocatableImpl(Res, Assembler, &Layout, nullptr, nullptr,
  618|  13.6k|                                   true, valid);
  619|  13.6k|}
_ZNK7llvm_ks6MCExpr25evaluateAsRelocatableImplERNS_7MCValueEPKNS_11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_7MCFixupEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoISF_EENS_6detail12DenseMapPairISF_mEEEEbRb:
  639|  1.10M|{
  640|  1.10M|  switch (getKind()) {
  ------------------
  |  Branch (640:11): [True: 1.10M, False: 0]
  ------------------
  641|      7|  case Target:
  ------------------
  |  Branch (641:3): [True: 7, False: 1.10M]
  ------------------
  642|      7|    return cast<MCTargetExpr>(this)->evaluateAsRelocatableImpl(Res, Layout,
  643|      7|                                                               Fixup);
  644|       |
  645|   281k|  case Constant:
  ------------------
  |  Branch (645:3): [True: 281k, False: 819k]
  ------------------
  646|   281k|    Res = MCValue::get(cast<MCConstantExpr>(this)->getValue());
  647|   281k|    return true;
  648|       |
  649|   327k|  case SymbolRef: {
  ------------------
  |  Branch (649:3): [True: 327k, False: 773k]
  ------------------
  650|   327k|    const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
  651|   327k|    const MCSymbol &Sym = SRE->getSymbol();
  652|       |
  653|       |    // Evaluate recursively if this is a variable.
  654|   327k|    if (Sym.isVariable() && SRE->getKind() == MCSymbolRefExpr::VK_None &&
  ------------------
  |  Branch (654:9): [True: 6.03k, False: 321k]
  |  Branch (654:29): [True: 6.01k, False: 18]
  ------------------
  655|  6.01k|        canExpand(Sym, InSet)) {
  ------------------
  |  Branch (655:9): [True: 1.85k, False: 4.16k]
  ------------------
  656|  1.85k|      bool IsMachO = SRE->hasSubsectionsViaSymbols();
  657|  1.85k|      bool valid;
  658|  1.85k|      if (Sym.getVariableValue()->evaluateAsRelocatableImpl(
  ------------------
  |  Branch (658:11): [True: 1.00k, False: 848]
  ------------------
  659|  1.85k|              Res, Asm, Layout, Fixup, Addrs, InSet || IsMachO, valid)) {
  ------------------
  |  Branch (659:47): [True: 680, False: 1.17k]
  |  Branch (659:56): [True: 0, False: 1.17k]
  ------------------
  660|  1.00k|        if (!IsMachO)
  ------------------
  |  Branch (660:13): [True: 1.00k, False: 0]
  ------------------
  661|  1.00k|          return true;
  662|       |
  663|      0|        const MCSymbolRefExpr *A = Res.getSymA();
  664|      0|        const MCSymbolRefExpr *B = Res.getSymB();
  665|       |        // FIXME: This is small hack. Given
  666|       |        // a = b + 4
  667|       |        // .long a
  668|       |        // the OS X assembler will completely drop the 4. We should probably
  669|       |        // include it in the relocation or produce an error if that is not
  670|       |        // possible.
  671|      0|        if (!A && !B)
  ------------------
  |  Branch (671:13): [True: 0, False: 0]
  |  Branch (671:19): [True: 0, False: 0]
  ------------------
  672|      0|          return true;
  673|      0|      }
  674|  1.85k|    }
  675|       |
  676|   326k|    Res = MCValue::get(SRE, nullptr, 0);
  677|   326k|    return true;
  678|   327k|  }
  679|       |
  680|   133k|  case Unary: {
  ------------------
  |  Branch (680:3): [True: 133k, False: 967k]
  ------------------
  681|   133k|    const MCUnaryExpr *AUE = cast<MCUnaryExpr>(this);
  682|   133k|    MCValue Value;
  683|       |
  684|   133k|    bool valid;
  685|   133k|    if (!AUE->getSubExpr()->evaluateAsRelocatableImpl(Value, Asm, Layout, Fixup,
  ------------------
  |  Branch (685:9): [True: 1.19k, False: 132k]
  ------------------
  686|   133k|                                                      Addrs, InSet, valid))
  687|  1.19k|      return false;
  688|       |
  689|   132k|    switch (AUE->getOpcode()) {
  ------------------
  |  Branch (689:13): [True: 132k, False: 0]
  ------------------
  690|      0|    case MCUnaryExpr::LNot:
  ------------------
  |  Branch (690:5): [True: 0, False: 132k]
  ------------------
  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|   113k|    case MCUnaryExpr::Minus:
  ------------------
  |  Branch (695:5): [True: 113k, False: 19.3k]
  ------------------
  696|       |      /// -(a - b + const) ==> (b - a - const)
  697|   113k|      if (Value.getSymA() && !Value.getSymB())
  ------------------
  |  Branch (697:11): [True: 15.8k, False: 97.3k]
  |  Branch (697:30): [True: 15.6k, False: 196]
  ------------------
  698|  15.6k|        return false;
  699|  97.5k|      Res = MCValue::get(Value.getSymB(), Value.getSymA(),
  700|  97.5k|                         -Value.getConstant());
  701|  97.5k|      break;
  702|    956|    case MCUnaryExpr::Not:
  ------------------
  |  Branch (702:5): [True: 956, False: 131k]
  ------------------
  703|    956|      if (!Value.isAbsolute())
  ------------------
  |  Branch (703:11): [True: 198, False: 758]
  ------------------
  704|    198|        return false;
  705|    758|      Res = MCValue::get(~Value.getConstant());
  706|    758|      break;
  707|  18.4k|    case MCUnaryExpr::Plus:
  ------------------
  |  Branch (707:5): [True: 18.4k, False: 114k]
  ------------------
  708|  18.4k|      Res = Value;
  709|  18.4k|      break;
  710|   132k|    }
  711|       |
  712|   116k|    return true;
  713|   132k|  }
  714|       |
  715|   358k|  case Binary: {
  ------------------
  |  Branch (715:3): [True: 358k, False: 743k]
  ------------------
  716|   358k|    const MCBinaryExpr *ABE = cast<MCBinaryExpr>(this);
  717|   358k|    MCValue LHSValue, RHSValue;
  718|   358k|    bool valid;
  719|       |
  720|   358k|    if (!ABE->getLHS()->evaluateAsRelocatableImpl(LHSValue, Asm, Layout, Fixup,
  ------------------
  |  Branch (720:9): [True: 65.8k, False: 292k]
  ------------------
  721|   358k|                                                  Addrs, InSet, valid) ||
  722|   292k|        !ABE->getRHS()->evaluateAsRelocatableImpl(RHSValue, Asm, Layout, Fixup,
  ------------------
  |  Branch (722:9): [True: 8.24k, False: 284k]
  ------------------
  723|   292k|                                                  Addrs, InSet, valid))
  724|  74.1k|      return false;
  725|       |
  726|       |    // We only support a few operations on non-constant expressions, handle
  727|       |    // those first.
  728|   284k|    if (!LHSValue.isAbsolute() || !RHSValue.isAbsolute()) {
  ------------------
  |  Branch (728:9): [True: 174k, False: 109k]
  |  Branch (728:35): [True: 38.9k, False: 70.1k]
  ------------------
  729|   213k|      switch (ABE->getOpcode()) {
  730|  17.0k|      default:
  ------------------
  |  Branch (730:7): [True: 17.0k, False: 196k]
  ------------------
  731|  17.0k|        return false;
  732|   175k|      case MCBinaryExpr::Sub:
  ------------------
  |  Branch (732:7): [True: 175k, False: 38.8k]
  ------------------
  733|       |        // Negate RHS and add.
  734|   175k|        return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue,
  735|   175k|                                   RHSValue.getSymB(), RHSValue.getSymA(),
  736|   175k|                                   -RHSValue.getConstant(), Res, valid);
  737|       |
  738|  21.7k|      case MCBinaryExpr::Add:
  ------------------
  |  Branch (738:7): [True: 21.7k, False: 192k]
  ------------------
  739|  21.7k|        return EvaluateSymbolicAdd(Asm, Layout, Addrs, InSet, LHSValue,
  740|  21.7k|                                   RHSValue.getSymA(), RHSValue.getSymB(),
  741|  21.7k|                                   RHSValue.getConstant(), Res, valid);
  742|   213k|      }
  743|   213k|    }
  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|  70.1k|    int64_t LHS = LHSValue.getConstant(), RHS = RHSValue.getConstant();
  749|  70.1k|    int64_t Result = 0;
  750|  70.1k|    switch (ABE->getOpcode()) {
  ------------------
  |  Branch (750:13): [True: 70.1k, False: 0]
  ------------------
  751|      0|    case MCBinaryExpr::AShr: Result = LHS >> RHS; break;
  ------------------
  |  Branch (751:5): [True: 0, False: 70.1k]
  ------------------
  752|  6.87k|    case MCBinaryExpr::Add:  Result = LHS + RHS; break;
  ------------------
  |  Branch (752:5): [True: 6.87k, False: 63.2k]
  ------------------
  753|    941|    case MCBinaryExpr::And:  Result = LHS & RHS; break;
  ------------------
  |  Branch (753:5): [True: 941, False: 69.1k]
  ------------------
  754|  8.49k|    case MCBinaryExpr::Div:
  ------------------
  |  Branch (754:5): [True: 8.49k, False: 61.6k]
  ------------------
  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|  8.49k|      if (RHS == 0)
  ------------------
  |  Branch (761:11): [True: 260, False: 8.23k]
  ------------------
  762|    260|        return false;
  763|  8.23k|      Result = LHS / RHS;
  764|  8.23k|      break;
  765|    346|    case MCBinaryExpr::EQ:   Result = LHS == RHS; break;
  ------------------
  |  Branch (765:5): [True: 346, False: 69.7k]
  ------------------
  766|  4.29k|    case MCBinaryExpr::GT:   Result = LHS > RHS; break;
  ------------------
  |  Branch (766:5): [True: 4.29k, False: 65.8k]
  ------------------
  767|  1.35k|    case MCBinaryExpr::GTE:  Result = LHS >= RHS; break;
  ------------------
  |  Branch (767:5): [True: 1.35k, False: 68.7k]
  ------------------
  768|    669|    case MCBinaryExpr::LAnd: Result = LHS && RHS; break;
  ------------------
  |  Branch (768:5): [True: 669, False: 69.4k]
  |  Branch (768:39): [True: 450, False: 219]
  |  Branch (768:46): [True: 441, False: 9]
  ------------------
  769|    400|    case MCBinaryExpr::LOr:  Result = LHS || RHS; break;
  ------------------
  |  Branch (769:5): [True: 400, False: 69.7k]
  |  Branch (769:39): [True: 327, False: 73]
  |  Branch (769:46): [True: 4, False: 69]
  ------------------
  770|    247|    case MCBinaryExpr::LShr: Result = uint64_t(LHS) >> uint64_t(RHS); break;
  ------------------
  |  Branch (770:5): [True: 247, False: 69.8k]
  ------------------
  771|  1.61k|    case MCBinaryExpr::LT:   Result = LHS < RHS; break;
  ------------------
  |  Branch (771:5): [True: 1.61k, False: 68.5k]
  ------------------
  772|    787|    case MCBinaryExpr::LTE:  Result = LHS <= RHS; break;
  ------------------
  |  Branch (772:5): [True: 787, False: 69.3k]
  ------------------
  773|  1.25k|    case MCBinaryExpr::Mod:
  ------------------
  |  Branch (773:5): [True: 1.25k, False: 68.8k]
  ------------------
  774|       |      // Handle division by zero. gas just emits a warning and keeps going,
  775|       |      // we try to be stricter.
  776|       |      // FIXME: Currently the caller of this function has no way to understand
  777|       |      // we're bailing out because of 'division by zero'. Therefore, it will
  778|       |      // emit a 'expected relocatable expression' error. It would be nice to
  779|       |      // change this code to emit a better diagnostic.
  780|  1.25k|      if (RHS == 0)
  ------------------
  |  Branch (780:11): [True: 396, False: 857]
  ------------------
  781|    396|        return false;
  782|    857|      Result = LHS % RHS;
  783|    857|      break;
  784|  31.5k|    case MCBinaryExpr::Mul:  Result = LHS * RHS; break;
  ------------------
  |  Branch (784:5): [True: 31.5k, False: 38.5k]
  ------------------
  785|    369|    case MCBinaryExpr::NE:   Result = LHS != RHS; break;
  ------------------
  |  Branch (785:5): [True: 369, False: 69.7k]
  ------------------
  786|    161|    case MCBinaryExpr::Or:   Result = LHS | RHS; break;
  ------------------
  |  Branch (786:5): [True: 161, False: 69.9k]
  ------------------
  787|    124|    case MCBinaryExpr::Shl:  Result = uint64_t(LHS) << uint64_t(RHS); break;
  ------------------
  |  Branch (787:5): [True: 124, False: 70.0k]
  ------------------
  788|  9.88k|    case MCBinaryExpr::Sub:  Result = LHS - RHS; break;
  ------------------
  |  Branch (788:5): [True: 9.88k, False: 60.2k]
  ------------------
  789|    749|    case MCBinaryExpr::Xor:  Result = LHS ^ RHS; break;
  ------------------
  |  Branch (789:5): [True: 749, False: 69.3k]
  ------------------
  790|  70.1k|    }
  791|       |
  792|  69.4k|    Res = MCValue::get(Result);
  793|  69.4k|    return true;
  794|  70.1k|  }
  795|  1.10M|  }
  796|       |
  797|      0|  llvm_unreachable("Invalid assembly expression kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  798|  1.10M|}
_ZNK7llvm_ks6MCExpr22findAssociatedFragmentEv:
  800|   470k|MCFragment *MCExpr::findAssociatedFragment() const {
  801|   470k|  switch (getKind()) {
  ------------------
  |  Branch (801:11): [True: 470k, False: 0]
  ------------------
  802|      0|  case Target:
  ------------------
  |  Branch (802:3): [True: 0, False: 470k]
  ------------------
  803|       |    // We never look through target specific expressions.
  804|      0|    return cast<MCTargetExpr>(this)->findAssociatedFragment();
  805|       |
  806|   112k|  case Constant:
  ------------------
  |  Branch (806:3): [True: 112k, False: 357k]
  ------------------
  807|   112k|    return MCSymbol::AbsolutePseudoFragment;
  808|       |
  809|   131k|  case SymbolRef: {
  ------------------
  |  Branch (809:3): [True: 131k, False: 338k]
  ------------------
  810|   131k|    const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
  811|   131k|    const MCSymbol &Sym = SRE->getSymbol();
  812|   131k|    return Sym.getFragment();
  813|      0|  }
  814|       |
  815|  79.9k|  case Unary:
  ------------------
  |  Branch (815:3): [True: 79.9k, False: 390k]
  ------------------
  816|  79.9k|    return cast<MCUnaryExpr>(this)->getSubExpr()->findAssociatedFragment();
  817|       |
  818|   146k|  case Binary: {
  ------------------
  |  Branch (818:3): [True: 146k, False: 324k]
  ------------------
  819|   146k|    const MCBinaryExpr *BE = cast<MCBinaryExpr>(this);
  820|   146k|    MCFragment *LHS_F = BE->getLHS()->findAssociatedFragment();
  821|   146k|    MCFragment *RHS_F = BE->getRHS()->findAssociatedFragment();
  822|       |
  823|       |    // If either is absolute, return the other.
  824|   146k|    if (LHS_F == MCSymbol::AbsolutePseudoFragment)
  ------------------
  |  Branch (824:9): [True: 23.0k, False: 123k]
  ------------------
  825|  23.0k|      return RHS_F;
  826|   123k|    if (RHS_F == MCSymbol::AbsolutePseudoFragment)
  ------------------
  |  Branch (826:9): [True: 100k, False: 22.9k]
  ------------------
  827|   100k|      return LHS_F;
  828|       |
  829|       |    // Not always correct, but probably the best we can do without more context.
  830|  22.9k|    if (BE->getOpcode() == MCBinaryExpr::Sub)
  ------------------
  |  Branch (830:9): [True: 16.2k, False: 6.67k]
  ------------------
  831|  16.2k|      return MCSymbol::AbsolutePseudoFragment;
  832|       |
  833|       |    // Otherwise, return the first non-null fragment.
  834|  6.67k|    return LHS_F ? LHS_F : RHS_F;
  ------------------
  |  Branch (834:12): [True: 106, False: 6.56k]
  ------------------
  835|  22.9k|  }
  836|   470k|  }
  837|       |
  838|      0|  llvm_unreachable("Invalid assembly expression kind!");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  839|   470k|}
MCExpr.cpp:_ZL9canExpandRKN7llvm_ks8MCSymbolEb:
  621|  6.01k|static bool canExpand(const MCSymbol &Sym, bool InSet) {
  622|  6.01k|  const MCExpr *Expr = Sym.getVariableValue();
  623|  6.01k|  const auto *Inner = dyn_cast<MCSymbolRefExpr>(Expr);
  624|  6.01k|  if (Inner) {
  ------------------
  |  Branch (624:7): [True: 4.13k, False: 1.88k]
  ------------------
  625|  4.13k|    if (Inner->getKind() == MCSymbolRefExpr::VK_WEAKREF)
  ------------------
  |  Branch (625:9): [True: 0, False: 4.13k]
  ------------------
  626|      0|      return false;
  627|  4.13k|  }
  628|       |
  629|  6.01k|  if (InSet)
  ------------------
  |  Branch (629:7): [True: 680, False: 5.33k]
  ------------------
  630|    680|    return true;
  631|  5.33k|  return !Sym.isInSection();
  632|  6.01k|}
MCExpr.cpp:_ZL19EvaluateSymbolicAddPKN7llvm_ks11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoIS9_EENS_6detail12DenseMapPairIS9_mEEEEbRKNS_7MCValueEPKNS_15MCSymbolRefExprESN_lRSI_Rb:
  547|   196k|{
  548|       |  // FIXME: This routine (and other evaluation parts) are *incredibly* sloppy
  549|       |  // about dealing with modifiers. This will ultimately bite us, one day.
  550|   196k|  const MCSymbolRefExpr *LHS_A = LHS.getSymA();
  551|   196k|  const MCSymbolRefExpr *LHS_B = LHS.getSymB();
  552|   196k|  int64_t LHS_Cst = LHS.getConstant();
  553|       |
  554|       |  // Fold the result constant immediately.
  555|   196k|  int64_t Result_Cst = LHS_Cst + RHS_Cst;
  556|       |
  557|   196k|  assert((!Layout || Asm) &&
  ------------------
  |  Branch (557:3): [True: 177k, False: 19.0k]
  |  Branch (557:3): [True: 19.0k, False: 0]
  |  Branch (557:3): [True: 196k, Folded]
  |  Branch (557:3): [True: 196k, False: 0]
  ------------------
  558|   196k|         "Must have an assembler object if layout is given!");
  559|       |
  560|       |  // If we have a layout, we can fold resolved differences.
  561|   196k|  if (Asm) {
  ------------------
  |  Branch (561:7): [True: 55.7k, False: 141k]
  ------------------
  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|  55.7k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, LHS_B,
  573|  55.7k|                                        Result_Cst, valid);
  574|  55.7k|    if (!valid)
  ------------------
  |  Branch (574:9): [True: 0, False: 55.7k]
  ------------------
  575|      0|        return false;
  576|  55.7k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, LHS_A, RHS_B,
  577|  55.7k|                                        Result_Cst, valid);
  578|  55.7k|    if (!valid)
  ------------------
  |  Branch (578:9): [True: 38, False: 55.6k]
  ------------------
  579|     38|        return false;
  580|  55.6k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, LHS_B,
  581|  55.6k|                                        Result_Cst, valid);
  582|  55.6k|    if (!valid)
  ------------------
  |  Branch (582:9): [True: 87, False: 55.6k]
  ------------------
  583|     87|        return false;
  584|  55.6k|    AttemptToFoldSymbolOffsetDifference(Asm, Layout, Addrs, InSet, RHS_A, RHS_B,
  585|  55.6k|                                        Result_Cst, valid);
  586|  55.6k|    if (!valid)
  ------------------
  |  Branch (586:9): [True: 0, False: 55.6k]
  ------------------
  587|      0|        return false;
  588|  55.6k|  }
  589|       |
  590|       |  // We can't represent the addition or subtraction of two symbols.
  591|   196k|  if ((LHS_A && RHS_A) || (LHS_B && RHS_B))
  ------------------
  |  Branch (591:8): [True: 159k, False: 37.4k]
  |  Branch (591:17): [True: 4.28k, False: 154k]
  |  Branch (591:28): [True: 5.57k, False: 186k]
  |  Branch (591:37): [True: 2.76k, False: 2.81k]
  ------------------
  592|  7.05k|    return false;
  593|       |
  594|       |  // At this point, we have at most one additive symbol and one subtractive
  595|       |  // symbol -- find them.
  596|   189k|  const MCSymbolRefExpr *A = LHS_A ? LHS_A : RHS_A;
  ------------------
  |  Branch (596:30): [True: 152k, False: 37.0k]
  ------------------
  597|   189k|  const MCSymbolRefExpr *B = LHS_B ? LHS_B : RHS_B;
  ------------------
  |  Branch (597:30): [True: 2.81k, False: 186k]
  ------------------
  598|       |
  599|   189k|  Res = MCValue::get(A, B, Result_Cst);
  600|   189k|  return true;
  601|   196k|}
MCExpr.cpp:_ZL35AttemptToFoldSymbolOffsetDifferencePKN7llvm_ks11MCAssemblerEPKNS_11MCAsmLayoutEPKNS_8DenseMapIPKNS_9MCSectionEmNS_12DenseMapInfoIS9_EENS_6detail12DenseMapPairIS9_mEEEEbRPKNS_15MCSymbolRefExprESL_RlRb:
  466|   222k|    const MCSymbolRefExpr *&B, int64_t &Addend, bool &valid) {
  467|   222k|  valid = true;
  468|   222k|  if (!A || !B)
  ------------------
  |  Branch (468:7): [True: 124k, False: 97.8k]
  |  Branch (468:13): [True: 75.9k, False: 21.8k]
  ------------------
  469|   200k|    return;
  470|       |
  471|  21.8k|  const MCSymbol &SA = A->getSymbol();
  472|  21.8k|  const MCSymbol &SB = B->getSymbol();
  473|       |
  474|  21.8k|  if (SA.isUndefined() || SB.isUndefined())
  ------------------
  |  Branch (474:7): [True: 6.70k, False: 15.1k]
  |  Branch (474:27): [True: 7.48k, False: 7.63k]
  ------------------
  475|  14.1k|    return;
  476|       |
  477|  7.63k|  if (!Asm->getWriter().isSymbolRefDifferenceFullyResolved(*Asm, A, B, InSet, valid))
  ------------------
  |  Branch (477:7): [True: 209, False: 7.42k]
  ------------------
  478|    209|    return;
  479|  7.42k|  if (!valid)
  ------------------
  |  Branch (479:7): [True: 0, False: 7.42k]
  ------------------
  480|      0|      return;
  481|       |
  482|  7.42k|  if (SA.getFragment() == SB.getFragment() && !SA.isVariable() &&
  ------------------
  |  Branch (482:7): [True: 6.77k, False: 652]
  |  Branch (482:47): [True: 6.31k, False: 452]
  ------------------
  483|  6.31k|      !SB.isVariable()) {
  ------------------
  |  Branch (483:7): [True: 5.99k, False: 327]
  ------------------
  484|  5.99k|    Addend += (SA.getOffset() - SB.getOffset());
  485|       |
  486|       |    // Pointers to Thumb symbols need to have their low-bit set to allow
  487|       |    // for interworking.
  488|  5.99k|    if (Asm->isThumbFunc(&SA))
  ------------------
  |  Branch (488:9): [True: 0, False: 5.99k]
  ------------------
  489|      0|      Addend |= 1;
  490|       |
  491|       |    // Clear the symbol expr pointers to indicate we have folded these
  492|       |    // operands.
  493|  5.99k|    A = B = nullptr;
  494|  5.99k|    return;
  495|  5.99k|  }
  496|       |
  497|  1.43k|  if (!Layout)
  ------------------
  |  Branch (497:7): [True: 702, False: 729]
  ------------------
  498|    702|    return;
  499|       |
  500|    729|  const MCSection &SecA = *SA.getFragment()->getParent();
  501|    729|  const MCSection &SecB = *SB.getFragment()->getParent();
  502|       |
  503|    729|  if ((&SecA != &SecB) && !Addrs)
  ------------------
  |  Branch (503:7): [True: 0, False: 729]
  |  Branch (503:27): [True: 0, False: 0]
  ------------------
  504|      0|    return;
  505|       |
  506|       |  // Eagerly evaluate.
  507|    729|  bool valid1, valid2;
  508|    729|  Addend += Layout->getSymbolOffset(A->getSymbol(), valid1) -
  509|    729|            Layout->getSymbolOffset(B->getSymbol(), valid2);
  510|    729|  if (Addrs && (&SecA != &SecB))
  ------------------
  |  Branch (510:7): [True: 0, False: 729]
  |  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|    729|  if (Asm->isThumbFunc(&SA))
  ------------------
  |  Branch (515:7): [True: 0, False: 729]
  ------------------
  516|      0|    Addend |= 1;
  517|       |
  518|       |  // Clear the symbol expr pointers to indicate we have folded these
  519|       |  // operands.
  520|    729|  A = B = nullptr;
  521|    729|}

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

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

_ZN7llvm_ks16MCObjectStreamerC2ERNS_9MCContextERNS_12MCAsmBackendERNS_17raw_pwrite_streamEPNS_13MCCodeEmitterE:
   32|  13.4k|    : MCStreamer(Context),
   33|  13.4k|      Assembler(new MCAssembler(Context, TAB, *Emitter_,
   34|  13.4k|                                *TAB.createObjectWriter(OS))),
   35|  13.4k|      EmitEHFrame(true), EmitDebugFrame(false) {}
_ZN7llvm_ks16MCObjectStreamerD2Ev:
   37|  13.4k|MCObjectStreamer::~MCObjectStreamer() {
   38|  13.4k|  delete &Assembler->getWriter();
   39|  13.4k|  delete Assembler;
   40|  13.4k|}
_ZN7llvm_ks16MCObjectStreamer18flushPendingLabelsEPNS_10MCFragmentEm:
   42|  58.5M|void MCObjectStreamer::flushPendingLabels(MCFragment *F, uint64_t FOffset) {
   43|  58.5M|  if (PendingLabels.empty())
  ------------------
  |  Branch (43:7): [True: 58.4M, False: 30.0k]
  ------------------
   44|  58.4M|    return;
   45|  30.0k|  if (!F) {
  ------------------
  |  Branch (45:7): [True: 4.98k, False: 25.0k]
  ------------------
   46|  4.98k|    F = new MCDataFragment();
   47|  4.98k|    MCSection *CurSection = getCurrentSectionOnly();
   48|  4.98k|    CurSection->getFragmentList().insert(CurInsertionPoint, F);
   49|  4.98k|    F->setParent(CurSection);
   50|  4.98k|  }
   51|  46.7k|  for (MCSymbol *Sym : PendingLabels) {
  ------------------
  |  Branch (51:22): [True: 46.7k, False: 30.0k]
  ------------------
   52|  46.7k|    Sym->setFragment(F);
   53|  46.7k|    Sym->setOffset(FOffset);
   54|  46.7k|  }
   55|  30.0k|  PendingLabels.clear();
   56|  30.0k|}
_ZN7llvm_ks16MCObjectStreamer10EmitFramesEPNS_12MCAsmBackendE:
   83|  6.88k|void MCObjectStreamer::EmitFrames(MCAsmBackend *MAB) {
   84|       |#if 0
   85|       |  if (!getNumFrameInfos())
   86|       |    return;
   87|       |
   88|       |  if (EmitEHFrame)
   89|       |    MCDwarfFrameEmitter::Emit(*this, MAB, true);
   90|       |
   91|       |  if (EmitDebugFrame)
   92|       |    MCDwarfFrameEmitter::Emit(*this, MAB, false);
   93|       |#endif
   94|  6.88k|}
_ZNK7llvm_ks16MCObjectStreamer18getCurrentFragmentEv:
   96|  59.6M|MCFragment *MCObjectStreamer::getCurrentFragment() const {
   97|  59.6M|  assert(getCurrentSectionOnly() && "No current section!");
  ------------------
  |  Branch (97:3): [True: 59.6M, False: 0]
  |  Branch (97:3): [True: 59.6M, Folded]
  |  Branch (97:3): [True: 59.6M, False: 0]
  ------------------
   98|       |
   99|  59.6M|  if (CurInsertionPoint != getCurrentSectionOnly()->getFragmentList().begin())
  ------------------
  |  Branch (99:7): [True: 58.5M, False: 1.07M]
  ------------------
  100|  58.5M|    return &*std::prev(CurInsertionPoint);
  101|       |
  102|  1.07M|  return nullptr;
  103|  59.6M|}
_ZN7llvm_ks16MCObjectStreamer23getOrCreateDataFragmentEv:
  105|  58.4M|MCDataFragment *MCObjectStreamer::getOrCreateDataFragment() {
  106|  58.4M|  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|  58.4M|  if (!F || (Assembler->isBundlingEnabled() && !Assembler->getRelaxAll() &&
  ------------------
  |  Branch (109:7): [True: 7.28k, False: 58.4M]
  |  Branch (109:14): [True: 0, False: 58.4M]
  |  Branch (109:48): [True: 0, False: 0]
  ------------------
  110|  7.28k|             F->hasInstructions())) {
  ------------------
  |  Branch (110:14): [True: 0, False: 0]
  ------------------
  111|  7.28k|    F = new MCDataFragment();
  112|  7.28k|    insert(F);
  113|  7.28k|  }
  114|  58.4M|  return F;
  115|  58.4M|}
_ZN7llvm_ks16MCObjectStreamer15visitUsedSymbolERKNS_8MCSymbolE:
  117|   193k|void MCObjectStreamer::visitUsedSymbol(const MCSymbol &Sym) {
  118|   193k|  Assembler->registerSymbol(Sym);
  119|   193k|}
_ZN7llvm_ks16MCObjectStreamer13EmitValueImplEPKNS_6MCExprEjNS_5SMLocE:
  129|  43.5k|{
  130|  43.5k|  MCStreamer::EmitValueImpl(Value, Size, Loc);
  131|  43.5k|  MCDataFragment *DF = getOrCreateDataFragment();
  132|  43.5k|  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|  43.5k|  int64_t AbsValue;
  149|  43.5k|  bool Error;
  150|  43.5k|  if (Value->evaluateAsAbsolute(AbsValue, getAssembler())) {
  ------------------
  |  Branch (150:7): [True: 10.3k, False: 33.1k]
  ------------------
  151|       |    // TODO: hande Error?
  152|  10.3k|    EmitIntValue(AbsValue, Size, Error);
  153|  10.3k|    return;
  154|  10.3k|  }
  155|  33.1k|  DF->getFixups().push_back(
  156|  33.1k|      MCFixup::create(DF->getContents().size(), Value,
  157|  33.1k|                      MCFixup::getKindForSize(Size, false), Loc));
  158|  33.1k|  DF->getContents().resize(DF->getContents().size() + Size, 0);
  159|  33.1k|}
_ZN7llvm_ks16MCObjectStreamer9EmitLabelEPNS_8MCSymbolE:
  172|  94.4k|void MCObjectStreamer::EmitLabel(MCSymbol *Symbol) {
  173|  94.4k|  MCStreamer::EmitLabel(Symbol);
  174|       |
  175|  94.4k|  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|  94.4k|  auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  181|  94.4k|  if (F && !(getAssembler().isBundlingEnabled() &&
  ------------------
  |  Branch (181:7): [True: 36.5k, False: 57.9k]
  |  Branch (181:14): [True: 0, False: 36.5k]
  ------------------
  182|  36.5k|             getAssembler().getRelaxAll())) {
  ------------------
  |  Branch (182:14): [True: 0, False: 0]
  ------------------
  183|  36.5k|    Symbol->setFragment(F);
  184|  36.5k|    Symbol->setOffset(F->getContents().size());
  185|  57.9k|  } else {
  186|  57.9k|    PendingLabels.push_back(Symbol);
  187|  57.9k|  }
  188|  94.4k|}
_ZN7llvm_ks16MCObjectStreamer13ChangeSectionEPNS_9MCSectionEPKNS_6MCExprE:
  214|  22.2k|                                     const MCExpr *Subsection) {
  215|  22.2k|  changeSectionImpl(Section, Subsection);
  216|  22.2k|}
_ZN7llvm_ks16MCObjectStreamer17changeSectionImplEPNS_9MCSectionEPKNS_6MCExprE:
  219|  22.2k|                                         const MCExpr *Subsection) {
  220|  22.2k|  assert(Section && "Cannot switch to a null section!");
  ------------------
  |  Branch (220:3): [True: 22.2k, False: 0]
  |  Branch (220:3): [True: 22.2k, Folded]
  |  Branch (220:3): [True: 22.2k, False: 0]
  ------------------
  221|  22.2k|  flushPendingLabels(nullptr);
  222|       |
  223|  22.2k|  bool Created = getAssembler().registerSection(*Section);
  224|       |
  225|  22.2k|  int64_t IntSubsection = 0;
  226|  22.2k|  if (Subsection &&
  ------------------
  |  Branch (226:7): [True: 0, False: 22.2k]
  ------------------
  227|      0|      !Subsection->evaluateAsAbsolute(IntSubsection, getAssembler()))
  ------------------
  |  Branch (227:7): [True: 0, False: 0]
  ------------------
  228|      0|    report_fatal_error("Cannot evaluate subsection number");
  229|  22.2k|  if (IntSubsection < 0 || IntSubsection > 8192)
  ------------------
  |  Branch (229:7): [True: 0, False: 22.2k]
  |  Branch (229:28): [True: 0, False: 22.2k]
  ------------------
  230|      0|    report_fatal_error("Subsection number out of range");
  231|  22.2k|  CurInsertionPoint =
  232|  22.2k|      Section->getSubsectionInsertionPoint(unsigned(IntSubsection));
  233|  22.2k|  return Created;
  234|  22.2k|}
_ZN7llvm_ks16MCObjectStreamer14EmitAssignmentEPNS_8MCSymbolEPKNS_6MCExprE:
  236|  97.6k|bool MCObjectStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) {
  237|  97.6k|  getAssembler().registerSymbol(*Symbol);
  238|  97.6k|  return MCStreamer::EmitAssignment(Symbol, Value);
  239|  97.6k|}
_ZN7llvm_ks16MCObjectStreamer15EmitInstructionERNS_6MCInstERKNS_15MCSubtargetInfoERj:
  248|  7.18k|{
  249|  7.18k|  MCStreamer::EmitInstruction(Inst, STI, KsError);
  250|       |
  251|  7.18k|  MCSection *Sec = getCurrentSectionOnly();
  252|  7.18k|  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|  7.18k|  MCAssembler &Assembler = getAssembler();
  261|  7.18k|  if (!Assembler.getBackend().mayNeedRelaxation(Inst)) {
  ------------------
  |  Branch (261:7): [True: 7.18k, False: 0]
  ------------------
  262|  7.18k|    EmitInstToData(Inst, STI, KsError);
  263|  7.18k|    return;
  264|  7.18k|  }
  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|  58.3M|void MCObjectStreamer::EmitBytes(StringRef Data) {
  429|       |  //MCCVLineEntry::Make(this);
  430|       |  //MCDwarfLineEntry::Make(this, getCurrentSection().first);
  431|  58.3M|  MCDataFragment *DF = getOrCreateDataFragment();
  432|  58.3M|  flushPendingLabels(DF, DF->getContents().size());
  433|  58.3M|  DF->getContents().append(Data.begin(), Data.end());
  434|  58.3M|}
_ZN7llvm_ks16MCObjectStreamer20EmitValueToAlignmentEjljj:
  439|  5.96k|                                            unsigned MaxBytesToEmit) {
  440|  5.96k|  if (MaxBytesToEmit == 0)
  ------------------
  |  Branch (440:7): [True: 4.89k, False: 1.06k]
  ------------------
  441|  4.89k|    MaxBytesToEmit = ByteAlignment;
  442|  5.96k|  insert(new MCAlignFragment(ByteAlignment, Value, ValueSize, MaxBytesToEmit));
  443|       |
  444|       |  // Update the maximum alignment on the current section if necessary.
  445|  5.96k|  MCSection *CurSec = getCurrentSection().first;
  446|  5.96k|  if (ByteAlignment > CurSec->getAlignment())
  ------------------
  |  Branch (446:7): [True: 180, False: 5.78k]
  ------------------
  447|    180|    CurSec->setAlignment(ByteAlignment);
  448|  5.96k|}
_ZN7llvm_ks16MCObjectStreamer17EmitCodeAlignmentEjj:
  451|  1.88k|                                         unsigned MaxBytesToEmit) {
  452|  1.88k|  EmitValueToAlignment(ByteAlignment, 0, 1, MaxBytesToEmit);
  453|  1.88k|  cast<MCAlignFragment>(getCurrentFragment())->setEmitNops(true);
  454|  1.88k|}
_ZN7llvm_ks16MCObjectStreamer17emitValueToOffsetEPKNS_6MCExprEh:
  457|  57.5k|                                         unsigned char Value) {
  458|  57.5k|  insert(new MCOrgFragment(*Offset, Value));
  459|  57.5k|}
_ZN7llvm_ks16MCObjectStreamer18EmitRelocDirectiveERKNS_6MCExprENS_9StringRefEPS2_NS_5SMLocE:
  482|    277|                                          const MCExpr *Expr, SMLoc Loc) {
  483|    277|  int64_t OffsetValue;
  484|    277|  if (!Offset.evaluateAsAbsolute(OffsetValue))
  ------------------
  |  Branch (484:7): [True: 0, False: 277]
  ------------------
  485|      0|    llvm_unreachable("Offset is not absolute");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  486|       |
  487|    277|  if (OffsetValue < 0)
  ------------------
  |  Branch (487:7): [True: 0, False: 277]
  ------------------
  488|      0|    llvm_unreachable("Offset is negative");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
  489|       |
  490|    277|  MCDataFragment *DF = getOrCreateDataFragment();
  491|    277|  flushPendingLabels(DF, DF->getContents().size());
  492|       |
  493|    277|  Optional<MCFixupKind> MaybeKind = Assembler->getBackend().getFixupKind(Name);
  494|    277|  if (!MaybeKind.hasValue())
  ------------------
  |  Branch (494:7): [True: 277, False: 0]
  ------------------
  495|    277|    return true;
  496|       |
  497|      0|  MCFixupKind Kind = *MaybeKind;
  498|       |
  499|      0|  if (Expr == nullptr)
  ------------------
  |  Branch (499:7): [True: 0, False: 0]
  ------------------
  500|      0|    Expr =
  501|      0|        MCSymbolRefExpr::create(getContext().createTempSymbol(), getContext());
  502|      0|  DF->getFixups().push_back(MCFixup::create(OffsetValue, Expr, Kind, Loc));
  503|      0|  return false;
  504|    277|}
_ZN7llvm_ks16MCObjectStreamer8EmitFillEmh:
  506|  1.47k|void MCObjectStreamer::EmitFill(uint64_t NumBytes, uint8_t FillValue) {
  507|  1.47k|  const MCSection *Sec = getCurrentSection().first;
  508|  1.47k|  (void)Sec;
  509|  1.47k|  assert(Sec && "need a section");
  ------------------
  |  Branch (509:3): [True: 1.47k, False: 0]
  |  Branch (509:3): [True: 1.47k, Folded]
  |  Branch (509:3): [True: 1.47k, False: 0]
  ------------------
  510|  1.47k|  insert(new MCFillFragment(FillValue, NumBytes));
  511|  1.47k|}
_ZN7llvm_ks16MCObjectStreamer10FinishImplEv:
  514|  6.88k|{
  515|  6.88k|  unsigned int KsError = 0;
  516|       |  // If we are generating dwarf for assembly source files dump out the sections.
  517|       |  //if (getContext().getGenDwarfForAssembly())
  518|       |  //  MCGenDwarfInfo::Emit(this);
  519|       |
  520|       |  // Dump out the dwarf file & directory tables and line tables.
  521|       |  //MCDwarfLineTable::Emit(this, getAssembler().getDWARFLinetableParams());
  522|       |
  523|  6.88k|  flushPendingLabels(nullptr);
  524|  6.88k|  getAssembler().setSymResolver(getSymResolver());
  525|  6.88k|  getAssembler().Finish(KsError);
  526|       |
  527|  6.88k|  return KsError;
  528|  6.88k|}
_ZN7llvm_ks16MCObjectStreamer22getCurrentFragmentSizeEv:
  530|  1.15M|uint64_t MCObjectStreamer::getCurrentFragmentSize() {
  531|  1.15M|  auto *F = dyn_cast_or_null<MCDataFragment>(getCurrentFragment());
  532|  1.15M|  if (nullptr != F)
  ------------------
  |  Branch (532:7): [True: 63.0k, False: 1.09M]
  ------------------
  533|  63.0k|      return F->getContents().size();
  534|  1.09M|  return 0;
  535|  1.15M|}

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

_ZN7llvm_ks8AsmLexerC2ERKNS_9MCAsmInfoE:
   24|  13.4k|AsmLexer::AsmLexer(const MCAsmInfo &MAI) : MAI(MAI) {
   25|  13.4k|  CurPtr = nullptr;
   26|  13.4k|  isAtStartOfLine = true;
   27|  13.4k|  AllowAtInIdentifier = !StringRef(MAI.getCommentString()).startswith("@");
   28|  13.4k|  defaultRadix = MAI.getRadix();
   29|  13.4k|}
_ZN7llvm_ks8AsmLexerD2Ev:
   31|  13.4k|AsmLexer::~AsmLexer() {
   32|  13.4k|}
_ZN7llvm_ks8AsmLexer9setBufferENS_9StringRefEPKc:
   34|  66.7k|void AsmLexer::setBuffer(StringRef Buf, const char *ptr) {
   35|  66.7k|  CurBuf = Buf;
   36|       |
   37|  66.7k|  if (ptr)
  ------------------
  |  Branch (37:7): [True: 26.6k, False: 40.1k]
  ------------------
   38|  26.6k|    CurPtr = ptr;
   39|  40.1k|  else
   40|  40.1k|    CurPtr = CurBuf.begin();
   41|       |
   42|  66.7k|  TokStart = nullptr;
   43|  66.7k|}
_ZN7llvm_ks8AsmLexer11ReturnErrorEPKcRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE:
   48|  1.72M|{
   49|       |  //SetError(SMLoc::getFromPointer(Loc), Msg);
   50|       |
   51|  1.72M|  return AsmToken(AsmToken::Error, StringRef(Loc, 0));
   52|  1.72M|}
_ZN7llvm_ks8AsmLexer11getNextCharEv:
   54|  17.1M|int AsmLexer::getNextChar() {
   55|  17.1M|  char CurChar = *CurPtr++;
   56|  17.1M|  switch (CurChar) {
   57|  17.1M|  default:
  ------------------
  |  Branch (57:3): [True: 17.1M, False: 24.3k]
  ------------------
   58|  17.1M|    return (unsigned char)CurChar;
   59|  24.3k|  case 0:
  ------------------
  |  Branch (59:3): [True: 24.3k, False: 17.1M]
  ------------------
   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|  24.3k|    if (CurPtr - 1 != CurBuf.end())
  ------------------
  |  Branch (62:9): [True: 0, False: 24.3k]
  ------------------
   63|      0|      return 0;  // Just whitespace.
   64|       |
   65|       |    // Otherwise, return end of file.
   66|  24.3k|    --CurPtr;  // Another call to lex will return EOF again.
   67|       |    return EOF;
   68|  17.1M|  }
   69|  17.1M|}
_ZN7llvm_ks8AsmLexer15LexFloatLiteralEv:
   76|  33.1k|AsmToken AsmLexer::LexFloatLiteral() {
   77|       |  // Skip the fractional digit sequence.
   78|  33.1k|  while (isdigit(*CurPtr))
  ------------------
  |  Branch (78:10): [True: 0, False: 33.1k]
  ------------------
   79|      0|    ++CurPtr;
   80|       |
   81|       |  // Check for exponent; we intentionally accept a slighlty wider set of
   82|       |  // literals here and rely on the upstream client to reject invalid ones (e.g.,
   83|       |  // "1e+").
   84|  33.1k|  if (*CurPtr == 'e' || *CurPtr == 'E') {
  ------------------
  |  Branch (84:7): [True: 4.93k, False: 28.2k]
  |  Branch (84:25): [True: 6.46k, False: 21.7k]
  ------------------
   85|  11.3k|    ++CurPtr;
   86|  11.3k|    if (*CurPtr == '-' || *CurPtr == '+')
  ------------------
  |  Branch (86:9): [True: 4.54k, False: 6.84k]
  |  Branch (86:27): [True: 275, False: 6.56k]
  ------------------
   87|  4.82k|      ++CurPtr;
   88|  31.3k|    while (isdigit(*CurPtr))
  ------------------
  |  Branch (88:12): [True: 19.9k, False: 11.3k]
  ------------------
   89|  19.9k|      ++CurPtr;
   90|  11.3k|  }
   91|       |
   92|  33.1k|  return AsmToken(AsmToken::Real,
   93|  33.1k|                  StringRef(TokStart, CurPtr - TokStart));
   94|  33.1k|}
_ZN7llvm_ks8AsmLexer18LexHexFloatLiteralEb:
  103|  7.76k|{
  104|  7.76k|  assert((*CurPtr == 'p' || *CurPtr == 'P' || *CurPtr == '.') &&
  ------------------
  |  Branch (104:3): [True: 5.25k, False: 2.50k]
  |  Branch (104:3): [True: 1.03k, False: 1.47k]
  |  Branch (104:3): [True: 1.47k, False: 0]
  |  Branch (104:3): [True: 7.76k, Folded]
  |  Branch (104:3): [True: 7.76k, False: 0]
  ------------------
  105|  7.76k|         "unexpected parse state in floating hex");
  106|  7.76k|  bool NoFracDigits = true;
  107|       |
  108|       |  // Skip the fractional part if there is one
  109|  7.76k|  if (*CurPtr == '.') {
  ------------------
  |  Branch (109:7): [True: 1.47k, False: 6.28k]
  ------------------
  110|  1.47k|    ++CurPtr;
  111|       |
  112|  1.47k|    const char *FracStart = CurPtr;
  113|  13.0k|    while (isxdigit(*CurPtr))
  ------------------
  |  Branch (113:12): [True: 11.5k, False: 1.47k]
  ------------------
  114|  11.5k|      ++CurPtr;
  115|       |
  116|  1.47k|    NoFracDigits = CurPtr == FracStart;
  117|  1.47k|  }
  118|       |
  119|  7.76k|  if (NoIntDigits && NoFracDigits)
  ------------------
  |  Branch (119:7): [True: 1.10k, False: 6.66k]
  |  Branch (119:22): [True: 581, False: 519]
  ------------------
  120|    581|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  121|    581|                                 "expected at least one significand digit");
  122|       |
  123|       |  // Make sure we do have some kind of proper exponent part
  124|  7.18k|  if (*CurPtr != 'p' && *CurPtr != 'P')
  ------------------
  |  Branch (124:7): [True: 1.65k, False: 5.52k]
  |  Branch (124:25): [True: 462, False: 1.19k]
  ------------------
  125|    462|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  126|    462|                                 "expected exponent part 'p'");
  127|  6.71k|  ++CurPtr;
  128|       |
  129|  6.71k|  if (*CurPtr == '+' || *CurPtr == '-')
  ------------------
  |  Branch (129:7): [True: 713, False: 6.00k]
  |  Branch (129:25): [True: 3.06k, False: 2.94k]
  ------------------
  130|  3.77k|    ++CurPtr;
  131|       |
  132|       |  // N.b. exponent digits are *not* hex
  133|  6.71k|  const char *ExpStart = CurPtr;
  134|  36.0k|  while (isdigit(*CurPtr))
  ------------------
  |  Branch (134:10): [True: 29.3k, False: 6.71k]
  ------------------
  135|  29.3k|    ++CurPtr;
  136|       |
  137|  6.71k|  if (CurPtr == ExpStart)
  ------------------
  |  Branch (137:7): [True: 131, False: 6.58k]
  ------------------
  138|    131|    return ReturnError(TokStart, "invalid hexadecimal floating-point constant: "
  139|    131|                                 "expected at least one exponent digit");
  140|       |
  141|  6.58k|  return AsmToken(AsmToken::Real, StringRef(TokStart, CurPtr - TokStart));
  142|  6.71k|}
_ZN7llvm_ks8AsmLexer13LexIdentifierEv:
  149|  3.35M|AsmToken AsmLexer::LexIdentifier() {
  150|       |  // Check for floating point literals.
  151|  3.35M|  if (CurPtr[-1] == '.' && isdigit(*CurPtr)) {
  ------------------
  |  Branch (151:7): [True: 1.82M, False: 1.52M]
  |  Branch (151:28): [True: 46.0k, False: 1.77M]
  ------------------
  152|       |    // Disambiguate a .1243foo identifier from a floating literal.
  153|   245k|    while (isdigit(*CurPtr))
  ------------------
  |  Branch (153:12): [True: 199k, False: 46.0k]
  ------------------
  154|   199k|      ++CurPtr;
  155|  46.0k|    if (*CurPtr == 'e' || *CurPtr == 'E' ||
  ------------------
  |  Branch (155:9): [True: 4.93k, False: 41.0k]
  |  Branch (155:27): [True: 6.46k, False: 34.6k]
  ------------------
  156|  34.6k|        !IsIdentifierChar(*CurPtr, AllowAtInIdentifier))
  ------------------
  |  Branch (156:9): [True: 21.7k, False: 12.8k]
  ------------------
  157|  33.1k|      return LexFloatLiteral();
  158|  46.0k|  }
  159|       |
  160|  29.3M|  while (IsIdentifierChar(*CurPtr, AllowAtInIdentifier))
  ------------------
  |  Branch (160:10): [True: 26.0M, False: 3.31M]
  ------------------
  161|  26.0M|    ++CurPtr;
  162|       |
  163|       |  // Handle . as a special case.
  164|  3.31M|  if (CurPtr == TokStart+1 && TokStart[0] == '.')
  ------------------
  |  Branch (164:7): [True: 1.43M, False: 1.87M]
  |  Branch (164:31): [True: 202k, False: 1.23M]
  ------------------
  165|   202k|    return AsmToken(AsmToken::Dot, StringRef(TokStart, 1));
  166|       |
  167|  3.11M|  return AsmToken(AsmToken::Identifier, StringRef(TokStart, CurPtr - TokStart));
  168|  3.31M|}
_ZN7llvm_ks8AsmLexer8LexSlashEv:
  173|  30.0k|{
  174|  30.0k|  switch (*CurPtr) {
  175|    304|  case '*': break; // C style comment.
  ------------------
  |  Branch (175:3): [True: 304, False: 29.7k]
  ------------------
  176|  4.93k|  case '/': return ++CurPtr, LexLineComment();
  ------------------
  |  Branch (176:3): [True: 4.93k, False: 25.0k]
  ------------------
  177|  24.7k|  default:  return AsmToken(AsmToken::Slash, StringRef(CurPtr-1, 1));
  ------------------
  |  Branch (177:3): [True: 24.7k, False: 5.24k]
  ------------------
  178|  30.0k|  }
  179|       |
  180|       |  // C Style comment.
  181|    304|  ++CurPtr;  // skip the star.
  182|    881|  while (1) {
  ------------------
  |  Branch (182:10): [True: 881, Folded]
  ------------------
  183|    881|    int CurChar = getNextChar();
  184|    881|    switch (CurChar) {
  ------------------
  |  Branch (184:13): [True: 562, False: 319]
  ------------------
  185|     36|    case EOF:
  ------------------
  |  Branch (185:5): [True: 36, False: 845]
  ------------------
  186|     36|      return ReturnError(TokStart, "unterminated comment");
  187|    526|    case '*':
  ------------------
  |  Branch (187:5): [True: 526, False: 355]
  ------------------
  188|       |      // End of the comment?
  189|    526|      if (CurPtr[0] != '/') break;
  ------------------
  |  Branch (189:11): [True: 258, False: 268]
  ------------------
  190|       |
  191|    268|      ++CurPtr;   // End the */.
  192|    268|      return LexToken();
  193|    881|    }
  194|    881|  }
  195|    304|}
_ZN7llvm_ks8AsmLexer14LexLineCommentEv:
  199|  10.5k|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|  10.5k|  int CurChar = getNextChar();
  203|   118k|  while (CurChar != '\n' && CurChar != '\r' && CurChar != EOF)
  ------------------
  |  Branch (203:10): [True: 116k, False: 2.21k]
  |  Branch (203:29): [True: 107k, False: 8.23k]
  |  Branch (203:48): [True: 107k, False: 137]
  ------------------
  204|   107k|    CurChar = getNextChar();
  205|       |
  206|  10.5k|  if (CurChar == EOF)
  ------------------
  |  Branch (206:7): [True: 137, False: 10.4k]
  ------------------
  207|    137|    return AsmToken(AsmToken::Eof, StringRef(TokStart, 0));
  208|  10.4k|  return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 0));
  209|  10.5k|}
_ZN7llvm_ks8AsmLexer8LexDigitEv:
  259|   663k|{
  260|       |  // Decimal integer: [1-9][0-9]*
  261|   663k|  if (CurPtr[-1] != '0' || CurPtr[0] == '.') {
  ------------------
  |  Branch (261:7): [True: 594k, False: 69.1k]
  |  Branch (261:28): [True: 16.5k, False: 52.6k]
  ------------------
  262|   611k|    unsigned Radix = doLookAhead(CurPtr, 10);
  263|       |
  264|   611k|    if (defaultRadix == 16)
  ------------------
  |  Branch (264:9): [True: 611k, False: 0]
  ------------------
  265|   611k|      Radix = 16;
  266|       |
  267|   611k|    bool isHex = Radix == 16;
  268|       |    // Check for floating point literals.
  269|   611k|    if (!isHex && (*CurPtr == '.' || *CurPtr == 'e')) {
  ------------------
  |  Branch (269:9): [True: 0, False: 611k]
  |  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|   611k|    StringRef Result(TokStart, CurPtr - TokStart);
  275|       |
  276|   611k|    APInt Value(128, 0, true);
  277|   611k|    if (Result.getAsInteger(Radix, Value))
  ------------------
  |  Branch (277:9): [True: 0, False: 611k]
  ------------------
  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|   611k|    if (defaultRadix != 16) {
  ------------------
  |  Branch (282:9): [True: 0, False: 611k]
  ------------------
  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|   611k|    SkipIgnoredIntegerSuffix(CurPtr);
  290|       |
  291|   611k|    return intToken(Result, Value);
  292|   611k|  }
  293|       |
  294|  52.6k|  if (*CurPtr == 'b') {
  ------------------
  |  Branch (294:7): [True: 1.62k, False: 50.9k]
  ------------------
  295|  1.62k|    ++CurPtr;
  296|       |    // See if we actually have "0b" as part of something like "jmp 0b\n"
  297|  1.62k|    if (!isdigit(CurPtr[0])) {
  ------------------
  |  Branch (297:9): [True: 305, False: 1.31k]
  ------------------
  298|    305|      --CurPtr;
  299|    305|      StringRef Result(TokStart, CurPtr - TokStart);
  300|    305|      return AsmToken(AsmToken::Integer, Result, 0);
  301|    305|    }
  302|  1.31k|    const char *NumStart = CurPtr;
  303|  18.5k|    while (CurPtr[0] == '0' || CurPtr[0] == '1')
  ------------------
  |  Branch (303:12): [True: 16.4k, False: 2.16k]
  |  Branch (303:32): [True: 852, False: 1.31k]
  ------------------
  304|  17.2k|      ++CurPtr;
  305|       |
  306|       |    // Requires at least one binary digit.
  307|  1.31k|    if (CurPtr == NumStart)
  ------------------
  |  Branch (307:9): [True: 274, False: 1.04k]
  ------------------
  308|    274|      return ReturnError(TokStart, "invalid binary number");
  309|       |
  310|  1.04k|    StringRef Result(TokStart, CurPtr - TokStart);
  311|       |
  312|  1.04k|    APInt Value(128, 0, true);
  313|  1.04k|    if (Result.substr(2).getAsInteger(2, Value))
  ------------------
  |  Branch (313:9): [True: 0, False: 1.04k]
  ------------------
  314|      0|      return ReturnError(TokStart, "invalid binary number");
  315|       |
  316|       |    // The darwin/x86 (and x86-64) assembler accepts and ignores ULL and LL
  317|       |    // suffixes on integer literals.
  318|  1.04k|    SkipIgnoredIntegerSuffix(CurPtr);
  319|       |
  320|  1.04k|    return intToken(Result, Value);
  321|  1.04k|  }
  322|       |
  323|  50.9k|  if (*CurPtr == 'x' || *CurPtr == 'X') {
  ------------------
  |  Branch (323:7): [True: 10.7k, False: 40.2k]
  |  Branch (323:25): [True: 3.28k, False: 36.9k]
  ------------------
  324|  14.0k|    ++CurPtr;
  325|  14.0k|    const char *NumStart = CurPtr;
  326|   144k|    while (isxdigit(CurPtr[0]))
  ------------------
  |  Branch (326:12): [True: 130k, False: 14.0k]
  ------------------
  327|   130k|      ++CurPtr;
  328|       |
  329|       |    // "0x.0p0" is valid, and "0x0p0" (but not "0xp0" for example, which will be
  330|       |    // diagnosed by LexHexFloatLiteral).
  331|  14.0k|    if (CurPtr[0] == '.' || CurPtr[0] == 'p' || CurPtr[0] == 'P')
  ------------------
  |  Branch (331:9): [True: 1.47k, False: 12.5k]
  |  Branch (331:29): [True: 5.25k, False: 7.26k]
  |  Branch (331:49): [True: 1.03k, False: 6.23k]
  ------------------
  332|  7.76k|      return LexHexFloatLiteral(NumStart == CurPtr);
  333|       |
  334|       |    // Otherwise requires at least one hex digit.
  335|  6.23k|    if (CurPtr == NumStart)
  ------------------
  |  Branch (335:9): [True: 2.38k, False: 3.85k]
  ------------------
  336|  2.38k|      return ReturnError(CurPtr-2, "invalid hexadecimal number");
  337|       |
  338|  3.85k|    APInt Result(128, 0);
  339|  3.85k|    if (StringRef(TokStart, CurPtr - TokStart).getAsInteger(0, Result))
  ------------------
  |  Branch (339:9): [True: 0, False: 3.85k]
  ------------------
  340|      0|      return ReturnError(TokStart, "invalid hexadecimal number");
  341|       |
  342|       |    // Consume the optional [hH].
  343|  3.85k|    if (*CurPtr == 'h' || *CurPtr == 'H')
  ------------------
  |  Branch (343:9): [True: 149, False: 3.70k]
  |  Branch (343:27): [True: 71, False: 3.63k]
  ------------------
  344|    220|      ++CurPtr;
  345|       |
  346|       |    // The darwin/x86 (and x86-64) assembler accepts and ignores ULL and LL
  347|       |    // suffixes on integer literals.
  348|  3.85k|    SkipIgnoredIntegerSuffix(CurPtr);
  349|       |
  350|  3.85k|    return intToken(StringRef(TokStart, CurPtr - TokStart), Result);
  351|  3.85k|  }
  352|       |
  353|       |  // Either octal or hexadecimal.
  354|  36.9k|  APInt Value(128, 0, true);
  355|  36.9k|  unsigned Radix = doLookAhead(CurPtr, 8);
  356|  36.9k|  bool isHex = Radix == 16;
  357|  36.9k|  StringRef Result(TokStart, CurPtr - TokStart);
  358|  36.9k|  if (Result.getAsInteger(Radix, Value))
  ------------------
  |  Branch (358:7): [True: 1.93k, False: 35.0k]
  ------------------
  359|  1.93k|    return ReturnError(TokStart, !isHex ? "invalid octal number" :
  ------------------
  |  Branch (359:34): [True: 1.93k, False: 0]
  ------------------
  360|  1.93k|                       "invalid hexdecimal number");
  361|       |
  362|       |  // Consume the [hH].
  363|  35.0k|  if (Radix == 16)
  ------------------
  |  Branch (363:7): [True: 798, False: 34.2k]
  ------------------
  364|    798|    ++CurPtr;
  365|       |
  366|       |  // The darwin/x86 (and x86-64) assembler accepts and ignores ULL and LL
  367|       |  // suffixes on integer literals.
  368|  35.0k|  SkipIgnoredIntegerSuffix(CurPtr);
  369|       |
  370|  35.0k|  return intToken(Result, Value);
  371|  36.9k|}
_ZN7llvm_ks8AsmLexer14LexSingleQuoteEv:
  375|  3.83k|{
  376|  3.83k|  int CurChar = getNextChar();
  377|       |
  378|  3.83k|  if (CurChar == '\\')
  ------------------
  |  Branch (378:7): [True: 964, False: 2.87k]
  ------------------
  379|    964|    CurChar = getNextChar();
  380|       |
  381|  3.83k|  if (CurChar == EOF)
  ------------------
  |  Branch (381:7): [True: 33, False: 3.80k]
  ------------------
  382|     33|    return ReturnError(TokStart, "unterminated single quote");
  383|       |
  384|  3.80k|  CurChar = getNextChar();
  385|       |
  386|  3.80k|  if (CurChar != '\'')
  ------------------
  |  Branch (386:7): [True: 2.04k, False: 1.75k]
  ------------------
  387|  2.04k|    return ReturnError(TokStart, "single quote way too long");
  388|       |
  389|       |  // The idea here being that 'c' is basically just an integral
  390|       |  // constant.
  391|  1.75k|  StringRef Res = StringRef(TokStart,CurPtr - TokStart);
  392|  1.75k|  long long Value;
  393|       |
  394|  1.75k|  if (Res.startswith("\'\\")) {
  ------------------
  |  Branch (394:7): [True: 834, False: 921]
  ------------------
  395|    834|    char theChar = Res[2];
  396|    834|    switch (theChar) {
  397|    396|      default: Value = theChar; break;
  ------------------
  |  Branch (397:7): [True: 396, False: 438]
  ------------------
  398|     73|      case '\'': Value = '\''; break;
  ------------------
  |  Branch (398:7): [True: 73, False: 761]
  ------------------
  399|     67|      case 't': Value = '\t'; break;
  ------------------
  |  Branch (399:7): [True: 67, False: 767]
  ------------------
  400|    215|      case 'n': Value = '\n'; break;
  ------------------
  |  Branch (400:7): [True: 215, False: 619]
  ------------------
  401|     83|      case 'b': Value = '\b'; break;
  ------------------
  |  Branch (401:7): [True: 83, False: 751]
  ------------------
  402|    834|    }
  403|    834|  } else
  404|    921|    Value = TokStart[1];
  405|       |
  406|  1.75k|  return AsmToken(AsmToken::Integer, Res, Value);
  407|  1.75k|}
_ZN7llvm_ks8AsmLexer8LexQuoteEv:
  412|  52.2k|{
  413|  52.2k|  int CurChar = getNextChar();
  414|       |  // TODO: does gas allow multiline string constants?
  415|   691k|  while (CurChar != '"') {
  ------------------
  |  Branch (415:10): [True: 639k, False: 52.0k]
  ------------------
  416|   639k|    if (CurChar == '\\') {
  ------------------
  |  Branch (416:9): [True: 25.3k, False: 613k]
  ------------------
  417|       |      // Allow \", etc.
  418|  25.3k|      CurChar = getNextChar();
  419|  25.3k|    }
  420|       |
  421|   639k|    if (CurChar == EOF)
  ------------------
  |  Branch (421:9): [True: 182, False: 638k]
  ------------------
  422|    182|      return ReturnError(TokStart, "unterminated string constant");
  423|       |
  424|   638k|    CurChar = getNextChar();
  425|   638k|  }
  426|       |
  427|  52.0k|  return AsmToken(AsmToken::String, StringRef(TokStart, CurPtr - TokStart));
  428|  52.2k|}
_ZN7llvm_ks8AsmLexer22LexUntilEndOfStatementEv:
  430|  12.2k|StringRef AsmLexer::LexUntilEndOfStatement() {
  431|  12.2k|  TokStart = CurPtr;
  432|       |
  433|   247k|  while (!isAtStartOfComment(CurPtr) &&     // Start of line comment.
  ------------------
  |  Branch (433:10): [True: 246k, False: 34]
  ------------------
  434|   246k|         !isAtStatementSeparator(CurPtr) && // End of statement marker.
  ------------------
  |  Branch (434:10): [True: 243k, False: 3.76k]
  ------------------
  435|   243k|         *CurPtr != '\n' && *CurPtr != '\r' &&
  ------------------
  |  Branch (435:10): [True: 242k, False: 471]
  |  Branch (435:29): [True: 234k, False: 7.78k]
  ------------------
  436|   234k|         (*CurPtr != 0 || CurPtr != CurBuf.end())) {
  ------------------
  |  Branch (436:11): [True: 234k, False: 169]
  |  Branch (436:27): [True: 0, False: 169]
  ------------------
  437|   234k|    ++CurPtr;
  438|   234k|  }
  439|  12.2k|  return StringRef(TokStart, CurPtr-TokStart);
  440|  12.2k|}
_ZN7llvm_ks8AsmLexer17LexUntilEndOfLineEv:
  442|   649k|StringRef AsmLexer::LexUntilEndOfLine() {
  443|   649k|  TokStart = CurPtr;
  444|       |
  445|  2.03M|  while (*CurPtr != '\n' && *CurPtr != '\r' &&
  ------------------
  |  Branch (445:10): [True: 1.48M, False: 556k]
  |  Branch (445:29): [True: 1.38M, False: 93.4k]
  ------------------
  446|  1.38M|         (*CurPtr != 0 || CurPtr != CurBuf.end())) {
  ------------------
  |  Branch (446:11): [True: 1.38M, False: 69]
  |  Branch (446:27): [True: 0, False: 69]
  ------------------
  447|  1.38M|    ++CurPtr;
  448|  1.38M|  }
  449|   649k|  return StringRef(TokStart, CurPtr-TokStart);
  450|   649k|}
_ZN7llvm_ks8AsmLexer10peekTokensENS_15MutableArrayRefINS_8AsmTokenEEEb:
  454|  7.88k|{
  455|  7.88k|  const char *SavedTokStart = TokStart;
  456|  7.88k|  const char *SavedCurPtr = CurPtr;
  457|  7.88k|  bool SavedAtStartOfLine = isAtStartOfLine;
  458|  7.88k|  bool SavedSkipSpace = SkipSpace;
  459|       |
  460|  7.88k|  std::string SavedErr = getErr();
  461|  7.88k|  SMLoc SavedErrLoc = getErrLoc();
  462|       |
  463|  7.88k|  SkipSpace = ShouldSkipSpace;
  464|       |
  465|  7.88k|  size_t ReadCount;
  466|  15.7k|  for (ReadCount = 0; ReadCount < Buf.size(); ++ReadCount) {
  ------------------
  |  Branch (466:23): [True: 7.88k, False: 7.88k]
  ------------------
  467|  7.88k|    AsmToken Token = LexToken();
  468|       |
  469|  7.88k|    Buf[ReadCount] = Token;
  470|       |
  471|  7.88k|    if (Token.is(AsmToken::Eof))
  ------------------
  |  Branch (471:9): [True: 4, False: 7.88k]
  ------------------
  472|      4|      break;
  473|  7.88k|  }
  474|       |
  475|  7.88k|  SetError(SavedErrLoc, SavedErr);
  476|       |
  477|  7.88k|  SkipSpace = SavedSkipSpace;
  478|  7.88k|  isAtStartOfLine = SavedAtStartOfLine;
  479|  7.88k|  CurPtr = SavedCurPtr;
  480|  7.88k|  TokStart = SavedTokStart;
  481|       |
  482|  7.88k|  return ReadCount;
  483|  7.88k|}
_ZN7llvm_ks8AsmLexer18isAtStartOfCommentEPKc:
  485|  16.5M|bool AsmLexer::isAtStartOfComment(const char *Ptr) {
  486|  16.5M|  const char *CommentString = MAI.getCommentString();
  487|       |
  488|  16.5M|  if (CommentString[1] == '\0')
  ------------------
  |  Branch (488:7): [True: 16.5M, False: 0]
  ------------------
  489|  16.5M|    return CommentString[0] == Ptr[0];
  490|       |
  491|       |  // FIXME: special case for the bogus "##" comment string in X86MCAsmInfoDarwin
  492|      0|  if (CommentString[1] == '#')
  ------------------
  |  Branch (492:7): [True: 0, False: 0]
  ------------------
  493|      0|    return CommentString[0] == Ptr[0];
  494|       |
  495|      0|  return strncmp(Ptr, CommentString, strlen(CommentString)) == 0;
  496|      0|}
_ZN7llvm_ks8AsmLexer22isAtStatementSeparatorEPKc:
  498|  16.5M|bool AsmLexer::isAtStatementSeparator(const char *Ptr) {
  499|  16.5M|  return strncmp(Ptr, MAI.getSeparatorString(),
  500|  16.5M|                 strlen(MAI.getSeparatorString())) == 0;
  501|  16.5M|}
_ZN7llvm_ks8AsmLexer8LexTokenEv:
  504|  16.3M|{
  505|  16.3M|  TokStart = CurPtr;
  506|       |  // This always consumes at least one character.
  507|  16.3M|  int CurChar = getNextChar();
  508|       |
  509|  16.3M|  if (isAtStartOfComment(TokStart)) {
  ------------------
  |  Branch (509:7): [True: 5.64k, False: 16.3M]
  ------------------
  510|       |    // If this comment starts with a '#', then return the Hash token and let
  511|       |    // the assembler parser see if it can be parsed as a cpp line filename
  512|       |    // comment. We do this only if we are at the start of a line.
  513|  5.64k|    if (CurChar == '#' && isAtStartOfLine)
  ------------------
  |  Branch (513:9): [True: 0, False: 5.64k]
  |  Branch (513:27): [True: 0, False: 0]
  ------------------
  514|      0|      return AsmToken(AsmToken::Hash, StringRef(TokStart, 1));
  515|  5.64k|    isAtStartOfLine = true;
  516|  5.64k|    return LexLineComment();
  517|  5.64k|  }
  518|  16.3M|  if (isAtStatementSeparator(TokStart)) {
  ------------------
  |  Branch (518:7): [True: 5.87M, False: 10.4M]
  ------------------
  519|  5.87M|    CurPtr += strlen(MAI.getSeparatorString()) - 1;
  520|  5.87M|    return AsmToken(AsmToken::EndOfStatement,
  521|  5.87M|                    StringRef(TokStart, strlen(MAI.getSeparatorString())));
  522|  5.87M|  }
  523|       |
  524|       |  // If we're missing a newline at EOF, make sure we still get an
  525|       |  // EndOfStatement token before the Eof token.
  526|  10.4M|  if (CurChar == EOF && !isAtStartOfLine) {
  ------------------
  |  Branch (526:7): [True: 23.9k, False: 10.4M]
  |  Branch (526:25): [True: 12.0k, False: 11.8k]
  ------------------
  527|  12.0k|    isAtStartOfLine = true;
  528|  12.0k|    return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 1));
  529|  12.0k|  }
  530|       |
  531|  10.4M|  isAtStartOfLine = false;
  532|  10.4M|  switch (CurChar) {
  533|  5.06M|  default:
  ------------------
  |  Branch (533:3): [True: 5.06M, False: 5.37M]
  ------------------
  534|       |    // Handle identifier: [a-zA-Z_.][a-zA-Z0-9_$.@]*
  535|  5.06M|    if (isalpha(CurChar) || CurChar == '_' || CurChar == '.')
  ------------------
  |  Branch (535:9): [True: 1.00M, False: 4.05M]
  |  Branch (535:29): [True: 522k, False: 3.53M]
  |  Branch (535:47): [True: 1.82M, False: 1.71M]
  ------------------
  536|  3.35M|      return LexIdentifier();
  537|       |
  538|       |    // Unknown character, emit an error.
  539|  1.71M|    return ReturnError(TokStart, "invalid character in input");
  540|  11.8k|  case EOF: return AsmToken(AsmToken::Eof, StringRef(TokStart, 0));
  ------------------
  |  Branch (540:3): [True: 11.8k, False: 10.4M]
  ------------------
  541|      0|  case 0:
  ------------------
  |  Branch (541:3): [True: 0, False: 10.4M]
  ------------------
  542|   116k|  case ' ':
  ------------------
  |  Branch (542:3): [True: 116k, False: 10.3M]
  ------------------
  543|   283k|  case '\t':
  ------------------
  |  Branch (543:3): [True: 167k, False: 10.2M]
  ------------------
  544|   283k|    if (SkipSpace) {
  ------------------
  |  Branch (544:9): [True: 283k, False: 0]
  ------------------
  545|       |      // Ignore whitespace.
  546|   283k|      return LexToken();
  547|   283k|    } 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|  1.00M|  case '\n': // FALL THROUGH.
  ------------------
  |  Branch (555:3): [True: 1.00M, False: 9.42M]
  ------------------
  556|  1.47M|  case '\r':
  ------------------
  |  Branch (556:3): [True: 463k, False: 9.97M]
  ------------------
  557|  1.47M|    isAtStartOfLine = true;
  558|  1.47M|    return AsmToken(AsmToken::EndOfStatement, StringRef(TokStart, 1));
  559|  26.8k|  case ':': return AsmToken(AsmToken::Colon, StringRef(TokStart, 1));
  ------------------
  |  Branch (559:3): [True: 26.8k, False: 10.4M]
  ------------------
  560|  85.8k|  case '+': return AsmToken(AsmToken::Plus, StringRef(TokStart, 1));
  ------------------
  |  Branch (560:3): [True: 85.8k, False: 10.3M]
  ------------------
  561|   725k|  case '-': return AsmToken(AsmToken::Minus, StringRef(TokStart, 1));
  ------------------
  |  Branch (561:3): [True: 725k, False: 9.71M]
  ------------------
  562|  6.94k|  case '~': return AsmToken(AsmToken::Tilde, StringRef(TokStart, 1));
  ------------------
  |  Branch (562:3): [True: 6.94k, False: 10.4M]
  ------------------
  563|   118k|  case '(': return AsmToken(AsmToken::LParen, StringRef(TokStart, 1));
  ------------------
  |  Branch (563:3): [True: 118k, False: 10.3M]
  ------------------
  564|  6.01k|  case ')': return AsmToken(AsmToken::RParen, StringRef(TokStart, 1));
  ------------------
  |  Branch (564:3): [True: 6.01k, False: 10.4M]
  ------------------
  565|   104k|  case '[': return AsmToken(AsmToken::LBrac, StringRef(TokStart, 1));
  ------------------
  |  Branch (565:3): [True: 104k, False: 10.3M]
  ------------------
  566|  3.27k|  case ']': return AsmToken(AsmToken::RBrac, StringRef(TokStart, 1));
  ------------------
  |  Branch (566:3): [True: 3.27k, False: 10.4M]
  ------------------
  567|  5.43k|  case '{': return AsmToken(AsmToken::LCurly, StringRef(TokStart, 1));
  ------------------
  |  Branch (567:3): [True: 5.43k, False: 10.4M]
  ------------------
  568|  2.36k|  case '}': return AsmToken(AsmToken::RCurly, StringRef(TokStart, 1));
  ------------------
  |  Branch (568:3): [True: 2.36k, False: 10.4M]
  ------------------
  569|  41.6k|  case '*': return AsmToken(AsmToken::Star, StringRef(TokStart, 1));
  ------------------
  |  Branch (569:3): [True: 41.6k, False: 10.3M]
  ------------------
  570|   199k|  case ',': return AsmToken(AsmToken::Comma, StringRef(TokStart, 1));
  ------------------
  |  Branch (570:3): [True: 199k, False: 10.2M]
  ------------------
  571|  68.5k|  case '$': return AsmToken(AsmToken::Dollar, StringRef(TokStart, 1));
  ------------------
  |  Branch (571:3): [True: 68.5k, False: 10.3M]
  ------------------
  572|   115k|  case '@': return AsmToken(AsmToken::At, StringRef(TokStart, 1));
  ------------------
  |  Branch (572:3): [True: 115k, False: 10.3M]
  ------------------
  573|  11.9k|  case '\\': return AsmToken(AsmToken::BackSlash, StringRef(TokStart, 1));
  ------------------
  |  Branch (573:3): [True: 11.9k, False: 10.4M]
  ------------------
  574|   378k|  case '=':
  ------------------
  |  Branch (574:3): [True: 378k, False: 10.0M]
  ------------------
  575|   378k|    if (*CurPtr == '=')
  ------------------
  |  Branch (575:9): [True: 604, False: 378k]
  ------------------
  576|    604|      return ++CurPtr, AsmToken(AsmToken::EqualEqual, StringRef(TokStart, 2));
  577|   378k|    return AsmToken(AsmToken::Equal, StringRef(TokStart, 1));
  578|   110k|  case '|':
  ------------------
  |  Branch (578:3): [True: 110k, False: 10.3M]
  ------------------
  579|   110k|    if (*CurPtr == '|')
  ------------------
  |  Branch (579:9): [True: 33.4k, False: 77.0k]
  ------------------
  580|  33.4k|      return ++CurPtr, AsmToken(AsmToken::PipePipe, StringRef(TokStart, 2));
  581|  77.0k|    return AsmToken(AsmToken::Pipe, StringRef(TokStart, 1));
  582|  4.56k|  case '^': return AsmToken(AsmToken::Caret, StringRef(TokStart, 1));
  ------------------
  |  Branch (582:3): [True: 4.56k, False: 10.4M]
  ------------------
  583|  32.0k|  case '&':
  ------------------
  |  Branch (583:3): [True: 32.0k, False: 10.4M]
  ------------------
  584|  32.0k|    if (*CurPtr == '&')
  ------------------
  |  Branch (584:9): [True: 5.14k, False: 26.9k]
  ------------------
  585|  5.14k|      return ++CurPtr, AsmToken(AsmToken::AmpAmp, StringRef(TokStart, 2));
  586|  26.9k|    return AsmToken(AsmToken::Amp, StringRef(TokStart, 1));
  587|      0|  case '!':
  ------------------
  |  Branch (587:3): [True: 0, False: 10.4M]
  ------------------
  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|  43.9k|  case '%': return AsmToken(AsmToken::Percent, StringRef(TokStart, 1));
  ------------------
  |  Branch (591:3): [True: 43.9k, False: 10.3M]
  ------------------
  592|  30.0k|  case '/': return LexSlash();
  ------------------
  |  Branch (592:3): [True: 30.0k, False: 10.4M]
  ------------------
  593|   700k|  case '#': return AsmToken(AsmToken::Hash, StringRef(TokStart, 1));
  ------------------
  |  Branch (593:3): [True: 700k, False: 9.73M]
  ------------------
  594|  3.83k|  case '\'': return LexSingleQuote();
  ------------------
  |  Branch (594:3): [True: 3.83k, False: 10.4M]
  ------------------
  595|  52.2k|  case '"': return LexQuote();
  ------------------
  |  Branch (595:3): [True: 52.2k, False: 10.3M]
  ------------------
  596|   361k|  case '0': case '1': case '2': case '3': case '4':
  ------------------
  |  Branch (596:3): [True: 69.1k, False: 10.3M]
  |  Branch (596:13): [True: 198k, False: 10.2M]
  |  Branch (596:23): [True: 62.2k, False: 10.3M]
  |  Branch (596:33): [True: 12.9k, False: 10.4M]
  |  Branch (596:43): [True: 18.4k, False: 10.4M]
  ------------------
  597|   663k|  case '5': case '6': case '7': case '8': case '9':
  ------------------
  |  Branch (597:3): [True: 18.0k, False: 10.4M]
  |  Branch (597:13): [True: 200k, False: 10.2M]
  |  Branch (597:23): [True: 30.6k, False: 10.4M]
  |  Branch (597:33): [True: 36.1k, False: 10.4M]
  |  Branch (597:43): [True: 17.3k, False: 10.4M]
  ------------------
  598|   663k|    return LexDigit();
  599|  31.6k|  case '<':
  ------------------
  |  Branch (599:3): [True: 31.6k, False: 10.4M]
  ------------------
  600|  31.6k|    switch (*CurPtr) {
  601|  1.09k|    case '<': return ++CurPtr, AsmToken(AsmToken::LessLess,
  ------------------
  |  Branch (601:5): [True: 1.09k, False: 30.5k]
  ------------------
  602|  1.09k|                                        StringRef(TokStart, 2));
  603|    813|    case '=': return ++CurPtr, AsmToken(AsmToken::LessEqual,
  ------------------
  |  Branch (603:5): [True: 813, False: 30.8k]
  ------------------
  604|    813|                                        StringRef(TokStart, 2));
  605|    582|    case '>': return ++CurPtr, AsmToken(AsmToken::LessGreater,
  ------------------
  |  Branch (605:5): [True: 582, False: 31.1k]
  ------------------
  606|    582|                                        StringRef(TokStart, 2));
  607|  29.1k|    default: return AsmToken(AsmToken::Less, StringRef(TokStart, 1));
  ------------------
  |  Branch (607:5): [True: 29.1k, False: 2.49k]
  ------------------
  608|  31.6k|    }
  609|  30.9k|  case '>':
  ------------------
  |  Branch (609:3): [True: 30.9k, False: 10.4M]
  ------------------
  610|  30.9k|    switch (*CurPtr) {
  611|  1.06k|    case '>': return ++CurPtr, AsmToken(AsmToken::GreaterGreater,
  ------------------
  |  Branch (611:5): [True: 1.06k, False: 29.9k]
  ------------------
  612|  1.06k|                                        StringRef(TokStart, 2));
  613|  2.20k|    case '=': return ++CurPtr, AsmToken(AsmToken::GreaterEqual,
  ------------------
  |  Branch (613:5): [True: 2.20k, False: 28.7k]
  ------------------
  614|  2.20k|                                        StringRef(TokStart, 2));
  615|  27.7k|    default: return AsmToken(AsmToken::Greater, StringRef(TokStart, 1));
  ------------------
  |  Branch (615:5): [True: 27.7k, False: 3.26k]
  ------------------
  616|  30.9k|    }
  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|  10.4M|  }
  623|  10.4M|}
AsmLexer.cpp:_ZL16IsIdentifierCharcb:
  145|  29.4M|static bool IsIdentifierChar(char c, bool AllowAt) {
  146|  29.4M|  return isalnum(c) || c == '_' || c == '$' || c == '.' ||
  ------------------
  |  Branch (146:10): [True: 24.4M, False: 4.93M]
  |  Branch (146:24): [True: 451k, False: 4.48M]
  |  Branch (146:36): [True: 605k, False: 3.87M]
  |  Branch (146:48): [True: 473k, False: 3.40M]
  ------------------
  147|  3.40M|         (c == '@' && AllowAt) || c == '?';
  ------------------
  |  Branch (147:11): [True: 59.4k, False: 3.34M]
  |  Branch (147:23): [True: 59.4k, False: 0]
  |  Branch (147:35): [True: 3.30k, False: 3.33M]
  ------------------
  148|  29.4M|}
AsmLexer.cpp:_ZL11doLookAheadRPKcj:
  223|   648k|static unsigned doLookAhead(const char *&CurPtr, unsigned DefaultRadix) {
  224|   648k|  const char *FirstHex = nullptr;
  225|   648k|  const char *LookAhead = CurPtr;
  226|  1.76M|  while (1) {
  ------------------
  |  Branch (226:10): [True: 1.76M, Folded]
  ------------------
  227|  1.76M|    if (isdigit(*LookAhead)) {
  ------------------
  |  Branch (227:9): [True: 1.08M, False: 680k]
  ------------------
  228|  1.08M|      ++LookAhead;
  229|  1.08M|    } else if (isxdigit(*LookAhead)) {
  ------------------
  |  Branch (229:16): [True: 31.8k, False: 648k]
  ------------------
  230|  31.8k|      if (!FirstHex)
  ------------------
  |  Branch (230:11): [True: 23.7k, False: 8.10k]
  ------------------
  231|  23.7k|        FirstHex = LookAhead;
  232|  31.8k|      ++LookAhead;
  233|   648k|    } else {
  234|   648k|      break;
  235|   648k|    }
  236|  1.76M|  }
  237|   648k|  bool isHex = *LookAhead == 'h' || *LookAhead == 'H';
  ------------------
  |  Branch (237:16): [True: 872, False: 647k]
  |  Branch (237:37): [True: 2.23k, False: 645k]
  ------------------
  238|   648k|  CurPtr = isHex || !FirstHex ? LookAhead : FirstHex;
  ------------------
  |  Branch (238:12): [True: 3.10k, False: 645k]
  |  Branch (238:21): [True: 621k, False: 23.7k]
  ------------------
  239|   648k|  if (isHex)
  ------------------
  |  Branch (239:7): [True: 3.10k, False: 645k]
  ------------------
  240|  3.10k|    return 16;
  241|   645k|  return DefaultRadix;
  242|   648k|}
AsmLexer.cpp:_ZL24SkipIgnoredIntegerSuffixRPKc:
  211|   651k|static void SkipIgnoredIntegerSuffix(const char *&CurPtr) {
  212|       |  // Skip ULL, UL, U, L and LL suffices.
  213|   651k|  if (CurPtr[0] == 'U')
  ------------------
  |  Branch (213:7): [True: 316, False: 650k]
  ------------------
  214|    316|    ++CurPtr;
  215|   651k|  if (CurPtr[0] == 'L')
  ------------------
  |  Branch (215:7): [True: 875, False: 650k]
  ------------------
  216|    875|    ++CurPtr;
  217|   651k|  if (CurPtr[0] == 'L')
  ------------------
  |  Branch (217:7): [True: 652, False: 650k]
  ------------------
  218|    652|    ++CurPtr;
  219|   651k|}
AsmLexer.cpp:_ZL8intTokenN7llvm_ks9StringRefERNS_5APIntE:
  245|   651k|{
  246|   651k|  if (Value.isIntN(64))
  ------------------
  |  Branch (246:7): [True: 646k, False: 5.05k]
  ------------------
  247|   646k|    return AsmToken(AsmToken::Integer, Ref, Value);
  248|  5.05k|  return AsmToken(AsmToken::BigNum, Ref, Value);
  249|   651k|}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

_Z16interpretDecimalPKcS0_P11decimalInfo:
  277|  29.9k|{
  278|  29.9k|  StringRef::iterator dot = end;
  279|  29.9k|  StringRef::iterator p = skipLeadingZeroesAndAnyDot (begin, end, &dot);
  280|  29.9k|  APFloat::opStatus fp;
  281|       |
  282|  29.9k|  D->firstSigDigit = p;
  283|  29.9k|  D->exponent = 0;
  284|  29.9k|  D->normalizedExponent = 0;
  285|       |
  286|   183k|  for (; p != end; ++p) {
  ------------------
  |  Branch (286:10): [True: 160k, False: 22.7k]
  ------------------
  287|   160k|    if (*p == '.') {
  ------------------
  |  Branch (287:9): [True: 0, False: 160k]
  ------------------
  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|   160k|    if (decDigitValue(*p) >= 10U)
  ------------------
  |  Branch (295:9): [True: 7.19k, False: 153k]
  ------------------
  296|  7.19k|      break;
  297|   160k|  }
  298|       |
  299|  29.9k|  if (p != end) {
  ------------------
  |  Branch (299:7): [True: 7.19k, False: 22.7k]
  ------------------
  300|       |    //assert((*p == 'e' || *p == 'E') && "Invalid character in significand");
  301|  7.19k|    if (*p != 'e' && *p != 'E')
  ------------------
  |  Branch (301:9): [True: 5.98k, False: 1.21k]
  |  Branch (301:22): [True: 3, False: 5.97k]
  ------------------
  302|      3|        return APFloat::opInvalidOp;
  303|       |    //assert(p != begin && "Significand has no digits");
  304|  7.18k|    if (p == begin)
  ------------------
  |  Branch (304:9): [True: 0, False: 7.18k]
  ------------------
  305|      0|        return APFloat::opInvalidOp;
  306|       |    //assert((dot == end || p - begin != 1) && "Significand has no digits");
  307|  7.18k|    if (dot != end && p - begin == 1)
  ------------------
  |  Branch (307:9): [True: 7.17k, False: 16]
  |  Branch (307:23): [True: 0, False: 7.17k]
  ------------------
  308|      0|        return APFloat::opInvalidOp;
  309|       |
  310|       |    /* p points to the first non-digit in the string */
  311|  7.18k|    D->exponent = readExponent(p + 1, end, fp); // qq
  312|  7.18k|    if (fp)
  ------------------
  |  Branch (312:9): [True: 453, False: 6.73k]
  ------------------
  313|    453|        return fp;
  314|       |
  315|       |    /* Implied decimal point?  */
  316|  6.73k|    if (dot == end)
  ------------------
  |  Branch (316:9): [True: 10, False: 6.72k]
  ------------------
  317|     10|      dot = p;
  318|  6.73k|  }
  319|       |
  320|       |  /* If number is all zeroes accept any exponent.  */
  321|  29.5k|  if (p != D->firstSigDigit) {
  ------------------
  |  Branch (321:7): [True: 27.9k, False: 1.61k]
  ------------------
  322|       |    /* Drop insignificant trailing zeroes.  */
  323|  27.9k|    if (p != begin) {
  ------------------
  |  Branch (323:9): [True: 27.9k, False: 0]
  ------------------
  324|  27.9k|      do
  325|  27.9k|        do
  326|  34.6k|          p--;
  327|  34.6k|        while (p != begin && *p == '0');
  ------------------
  |  Branch (327:16): [True: 33.3k, False: 1.32k]
  |  Branch (327:30): [True: 6.77k, False: 26.5k]
  ------------------
  328|  27.9k|      while (p != begin && *p == '.');
  ------------------
  |  Branch (328:14): [True: 26.5k, False: 1.32k]
  |  Branch (328:28): [True: 0, False: 26.5k]
  ------------------
  329|  27.9k|    }
  330|       |
  331|       |    /* Adjust the exponents for any decimal point.  */
  332|  27.9k|    D->exponent += static_cast<APFloat::ExponentType>((dot - p) - (dot > p));
  333|  27.9k|    D->normalizedExponent = (D->exponent +
  334|  27.9k|              static_cast<APFloat::ExponentType>((p - D->firstSigDigit)
  335|  27.9k|                                      - (dot > D->firstSigDigit && dot < p)));
  ------------------
  |  Branch (335:42): [True: 2.20k, False: 25.7k]
  |  Branch (335:68): [True: 0, False: 2.20k]
  ------------------
  336|  27.9k|  }
  337|       |
  338|  29.5k|  D->lastSigDigit = p;
  339|       |
  340|  29.5k|  return APFloat::opOK;
  341|  29.9k|}
_ZN7llvm_ks7APFloat10initializeEPKNS_12fltSemanticsE:
  614|  92.9k|{
  615|  92.9k|  unsigned int count;
  616|       |
  617|  92.9k|  semantics = ourSemantics;
  618|  92.9k|  count = partCount();
  619|  92.9k|  if (count > 1)
  ------------------
  |  Branch (619:7): [True: 2.00k, False: 90.9k]
  ------------------
  620|  2.00k|    significand.parts = new integerPart[count];
  621|  92.9k|}
_ZN7llvm_ks7APFloat15freeSignificandEv:
  625|  93.7k|{
  626|  93.7k|  if (needsCleanup())
  ------------------
  |  Branch (626:7): [True: 2.00k, False: 91.7k]
  ------------------
  627|  2.00k|    delete [] significand.parts;
  628|  93.7k|}
_ZN7llvm_ks7APFloat7makeNaNEbbPKNS_5APIntE:
  656|    385|{
  657|    385|  category = fcNaN;
  658|    385|  sign = Negative;
  659|       |
  660|    385|  integerPart *significand = significandParts();
  661|    385|  unsigned numParts = partCount();
  662|       |
  663|       |  // Set the significand bits to the fill.
  664|    385|  if (!fill || fill->getNumWords() < numParts)
  ------------------
  |  Branch (664:7): [True: 0, False: 385]
  |  Branch (664:16): [True: 0, False: 385]
  ------------------
  665|      0|    APInt::tcSet(significand, 0, numParts);
  666|    385|  if (fill) {
  ------------------
  |  Branch (666:7): [True: 385, False: 0]
  ------------------
  667|    385|    APInt::tcAssign(significand, fill->getRawData(),
  668|    385|                    std::min(fill->getNumWords(), numParts));
  669|       |
  670|       |    // Zero out the excess bits of the significand.
  671|    385|    unsigned bitsToPreserve = semantics->precision - 1;
  672|    385|    unsigned part = bitsToPreserve / 64;
  673|    385|    bitsToPreserve %= 64;
  674|    385|    significand[part] &= ((1ULL << bitsToPreserve) - 1);
  675|    385|    for (part++; part != numParts; ++part)
  ------------------
  |  Branch (675:18): [True: 0, False: 385]
  ------------------
  676|      0|      significand[part] = 0;
  677|    385|  }
  678|       |
  679|    385|  unsigned QNaNBit = semantics->precision - 2;
  680|       |
  681|    385|  if (SNaN) {
  ------------------
  |  Branch (681:7): [True: 0, False: 385]
  ------------------
  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|    385|  } else {
  691|       |    // We always have to set the QNaN bit to make it a QNaN.
  692|    385|    APInt::tcSetBit(significand, QNaNBit);
  693|    385|  }
  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|    385|  if (semantics == &APFloat::x87DoubleExtended)
  ------------------
  |  Branch (698:7): [True: 0, False: 385]
  ------------------
  699|      0|    APInt::tcSetBit(significand, QNaNBit + 1);
  700|    385|}
_ZN7llvm_ks7APFloat7makeNaNERKNS_12fltSemanticsEbbPKNS_5APIntE:
  703|    385|                         const APInt *fill) {
  704|    385|  APFloat value(Sem, uninitialized);
  705|    385|  value.makeNaN(SNaN, Negative, fill);
  706|    385|  return value;
  707|    385|}
_ZN7llvm_ks7APFloataSEOS0_:
  724|    787|APFloat::operator=(APFloat &&rhs) {
  725|    787|  freeSignificand();
  726|       |
  727|    787|  semantics = rhs.semantics;
  728|    787|  significand = rhs.significand;
  729|    787|  exponent = rhs.exponent;
  730|    787|  category = rhs.category;
  731|    787|  sign = rhs.sign;
  732|       |
  733|    787|  rhs.semantics = &Bogus;
  734|    787|  return *this;
  735|    787|}
_ZN7llvm_ks7APFloatC2ERKNS_12fltSemanticsE:
  842|  32.3k|APFloat::APFloat(const fltSemantics &ourSemantics) {
  843|  32.3k|  initialize(&ourSemantics);
  844|  32.3k|  category = fcZero;
  845|  32.3k|  sign = false;
  846|  32.3k|}
_ZN7llvm_ks7APFloatC2ERKNS_12fltSemanticsENS0_16uninitializedTagE:
  848|  28.5k|APFloat::APFloat(const fltSemantics &ourSemantics, uninitializedTag tag) {
  849|       |  // Allocates storage if necessary but does not initialize it.
  850|  28.5k|  initialize(&ourSemantics);
  851|  28.5k|}
_ZN7llvm_ks7APFloatC2ERKNS_12fltSemanticsENS_9StringRefE:
  853|  32.0k|APFloat::APFloat(const fltSemantics &ourSemantics, StringRef text) {
  854|  32.0k|  initialize(&ourSemantics);
  855|  32.0k|  convertFromString(text, rmNearestTiesToEven);
  856|  32.0k|}
_ZN7llvm_ks7APFloatD2Ev:
  868|  92.9k|{
  869|  92.9k|  freeSignificand();
  870|  92.9k|}
_ZNK7llvm_ks7APFloat9partCountEv:
  879|  1.12M|{
  880|  1.12M|  return partCountForBits(semantics->precision + 1);
  881|  1.12M|}
_ZNK7llvm_ks7APFloat16significandPartsEv:
  906|   165k|{
  907|   165k|  return const_cast<APFloat *>(this)->significandParts();
  908|   165k|}
_ZN7llvm_ks7APFloat16significandPartsEv:
  912|   547k|{
  913|   547k|  if (partCount() > 1)
  ------------------
  |  Branch (913:7): [True: 13.3k, False: 534k]
  ------------------
  914|  13.3k|    return significand.parts;
  915|   534k|  else
  916|   534k|    return &significand.part;
  917|   547k|}
_ZN7llvm_ks7APFloat15zeroSignificandEv:
  921|  5.67k|{
  922|  5.67k|  APInt::tcSet(significandParts(), 0, partCount());
  923|  5.67k|}
_ZN7llvm_ks7APFloat20incrementSignificandEv:
  928|  19.8k|{
  929|  19.8k|  integerPart carry;
  930|       |
  931|  19.8k|  carry = APInt::tcIncrement(significandParts(), partCount());
  932|       |
  933|       |  /* Our callers should never cause us to overflow.  */
  934|  19.8k|  assert(carry == 0);
  ------------------
  |  Branch (934:3): [True: 19.8k, False: 0]
  ------------------
  935|  19.8k|  (void)carry;
  936|  19.8k|}
_ZN7llvm_ks7APFloat19multiplySignificandERKS0_PS1_:
  973|  6.98k|{
  974|  6.98k|  unsigned int omsb;        // One, not zero, based MSB.
  975|  6.98k|  unsigned int partsCount, newPartsCount, precision;
  976|  6.98k|  integerPart *lhsSignificand;
  977|  6.98k|  integerPart scratch[4];
  978|  6.98k|  integerPart *fullSignificand;
  979|  6.98k|  lostFraction lost_fraction;
  980|  6.98k|  bool ignored;
  981|       |
  982|  6.98k|  assert(semantics == rhs.semantics);
  ------------------
  |  Branch (982:3): [True: 6.98k, False: 0]
  ------------------
  983|       |
  984|  6.98k|  precision = semantics->precision;
  985|       |
  986|       |  // Allocate space for twice as many bits as the original significand, plus one
  987|       |  // extra bit for the addition to overflow into.
  988|  6.98k|  newPartsCount = partCountForBits(precision * 2 + 1);
  989|       |
  990|  6.98k|  if (newPartsCount > 4)
  ------------------
  |  Branch (990:7): [True: 0, False: 6.98k]
  ------------------
  991|      0|    fullSignificand = new integerPart[newPartsCount];
  992|  6.98k|  else
  993|  6.98k|    fullSignificand = scratch;
  994|       |
  995|  6.98k|  lhsSignificand = significandParts();
  996|  6.98k|  partsCount = partCount();
  997|       |
  998|  6.98k|  APInt::tcFullMultiply(fullSignificand, lhsSignificand,
  999|  6.98k|                        rhs.significandParts(), partsCount, partsCount);
 1000|       |
 1001|  6.98k|  lost_fraction = lfExactlyZero;
 1002|  6.98k|  omsb = APInt::tcMSB(fullSignificand, newPartsCount) + 1;
 1003|  6.98k|  exponent += rhs.exponent;
 1004|       |
 1005|       |  // Assume the operands involved in the multiplication are single-precision
 1006|       |  // FP, and the two multiplicants are:
 1007|       |  //   *this = a23 . a22 ... a0 * 2^e1
 1008|       |  //     rhs = b23 . b22 ... b0 * 2^e2
 1009|       |  // the result of multiplication is:
 1010|       |  //   *this = c48 c47 c46 . c45 ... c0 * 2^(e1+e2)
 1011|       |  // Note that there are three significant bits at the left-hand side of the 
 1012|       |  // radix point: two for the multiplication, and an overflow bit for the
 1013|       |  // addition (that will always be zero at this point). Move the radix point
 1014|       |  // toward left by two bits, and adjust exponent accordingly.
 1015|  6.98k|  exponent += 2;
 1016|       |
 1017|  6.98k|  if (addend && addend->isNonZero()) {
  ------------------
  |  Branch (1017:7): [True: 0, False: 6.98k]
  |  Branch (1017:17): [True: 0, False: 0]
  ------------------
 1018|       |    // The intermediate result of the multiplication has "2 * precision" 
 1019|       |    // signicant bit; adjust the addend to be consistent with mul result.
 1020|       |    //
 1021|      0|    Significand savedSignificand = significand;
 1022|      0|    const fltSemantics *savedSemantics = semantics;
 1023|      0|    fltSemantics extendedSemantics;
 1024|      0|    opStatus status;
 1025|      0|    unsigned int extendedPrecision;
 1026|       |
 1027|       |    // Normalize our MSB to one below the top bit to allow for overflow.
 1028|      0|    extendedPrecision = 2 * precision + 1;
 1029|      0|    if (omsb != extendedPrecision - 1) {
  ------------------
  |  Branch (1029:9): [True: 0, False: 0]
  ------------------
 1030|      0|      assert(extendedPrecision > omsb);
  ------------------
  |  Branch (1030:7): [True: 0, False: 0]
  ------------------
 1031|      0|      APInt::tcShiftLeft(fullSignificand, newPartsCount,
 1032|      0|                         (extendedPrecision - 1) - omsb);
 1033|      0|      exponent -= (extendedPrecision - 1) - omsb;
 1034|      0|    }
 1035|       |
 1036|       |    /* Create new semantics.  */
 1037|      0|    extendedSemantics = *semantics;
 1038|      0|    extendedSemantics.precision = extendedPrecision;
 1039|       |
 1040|      0|    if (newPartsCount == 1)
  ------------------
  |  Branch (1040:9): [True: 0, False: 0]
  ------------------
 1041|      0|      significand.part = fullSignificand[0];
 1042|      0|    else
 1043|      0|      significand.parts = fullSignificand;
 1044|      0|    semantics = &extendedSemantics;
 1045|       |
 1046|      0|    APFloat extendedAddend(*addend);
 1047|      0|    status = extendedAddend.convert(extendedSemantics, rmTowardZero, &ignored);
 1048|      0|    assert(status == opOK);
  ------------------
  |  Branch (1048:5): [True: 0, False: 0]
  ------------------
 1049|      0|    (void)status;
 1050|       |
 1051|       |    // Shift the significand of the addend right by one bit. This guarantees
 1052|       |    // that the high bit of the significand is zero (same as fullSignificand),
 1053|       |    // so the addition will overflow (if it does overflow at all) into the top bit.
 1054|      0|    lost_fraction = extendedAddend.shiftSignificandRight(1);
 1055|      0|    assert(lost_fraction == lfExactlyZero &&
  ------------------
  |  Branch (1055:5): [True: 0, False: 0]
  |  Branch (1055:5): [True: 0, Folded]
  |  Branch (1055:5): [True: 0, False: 0]
  ------------------
 1056|      0|           "Lost precision while shifting addend for fused-multiply-add.");
 1057|       |
 1058|      0|    lost_fraction = addOrSubtractSignificand(extendedAddend, false);
 1059|       |
 1060|       |    /* Restore our state.  */
 1061|      0|    if (newPartsCount == 1)
  ------------------
  |  Branch (1061:9): [True: 0, False: 0]
  ------------------
 1062|      0|      fullSignificand[0] = significand.part;
 1063|      0|    significand = savedSignificand;
 1064|      0|    semantics = savedSemantics;
 1065|       |
 1066|      0|    omsb = APInt::tcMSB(fullSignificand, newPartsCount) + 1;
 1067|      0|  }
 1068|       |
 1069|       |  // Convert the result having "2 * precision" significant-bits back to the one
 1070|       |  // having "precision" significant-bits. First, move the radix point from 
 1071|       |  // poision "2*precision - 1" to "precision - 1". The exponent need to be
 1072|       |  // adjusted by "2*precision - 1" - "precision - 1" = "precision".
 1073|  6.98k|  exponent -= precision + 1;
 1074|       |
 1075|       |  // In case MSB resides at the left-hand side of radix point, shift the
 1076|       |  // mantissa right by some amount to make sure the MSB reside right before
 1077|       |  // the radix point (i.e. "MSB . rest-significant-bits").
 1078|       |  //
 1079|       |  // Note that the result is not normalized when "omsb < precision". So, the
 1080|       |  // caller needs to call APFloat::normalize() if normalized value is expected.
 1081|  6.98k|  if (omsb > precision) {
  ------------------
  |  Branch (1081:7): [True: 6.98k, False: 0]
  ------------------
 1082|  6.98k|    unsigned int bits, significantParts;
 1083|  6.98k|    lostFraction lf;
 1084|       |
 1085|  6.98k|    bits = omsb - precision;
 1086|  6.98k|    significantParts = partCountForBits(omsb);
 1087|  6.98k|    lf = shiftRight(fullSignificand, significantParts, bits);
 1088|  6.98k|    lost_fraction = combineLostFractions(lf, lost_fraction);
 1089|  6.98k|    exponent += bits;
 1090|  6.98k|  }
 1091|       |
 1092|  6.98k|  APInt::tcAssign(lhsSignificand, fullSignificand, partsCount);
 1093|       |
 1094|  6.98k|  if (newPartsCount > 4)
  ------------------
  |  Branch (1094:7): [True: 0, False: 6.98k]
  ------------------
 1095|      0|    delete [] fullSignificand;
 1096|       |
 1097|  6.98k|  return lost_fraction;
 1098|  6.98k|}
_ZN7llvm_ks7APFloat17divideSignificandERKS0_:
 1103|  20.7k|{
 1104|  20.7k|  unsigned int bit, i, partsCount;
 1105|  20.7k|  const integerPart *rhsSignificand;
 1106|  20.7k|  integerPart *lhsSignificand, *dividend, *divisor;
 1107|  20.7k|  integerPart scratch[4];
 1108|  20.7k|  lostFraction lost_fraction;
 1109|       |
 1110|  20.7k|  assert(semantics == rhs.semantics);
  ------------------
  |  Branch (1110:3): [True: 20.7k, False: 0]
  ------------------
 1111|       |
 1112|  20.7k|  lhsSignificand = significandParts();
 1113|  20.7k|  rhsSignificand = rhs.significandParts();
 1114|  20.7k|  partsCount = partCount();
 1115|       |
 1116|  20.7k|  if (partsCount > 2)
  ------------------
  |  Branch (1116:7): [True: 418, False: 20.3k]
  ------------------
 1117|    418|    dividend = new integerPart[partsCount * 2];
 1118|  20.3k|  else
 1119|  20.3k|    dividend = scratch;
 1120|       |
 1121|  20.7k|  divisor = dividend + partsCount;
 1122|       |
 1123|       |  /* Copy the dividend and divisor as they will be modified in-place.  */
 1124|  49.0k|  for (i = 0; i < partsCount; i++) {
  ------------------
  |  Branch (1124:15): [True: 28.2k, False: 20.7k]
  ------------------
 1125|  28.2k|    dividend[i] = lhsSignificand[i];
 1126|  28.2k|    divisor[i] = rhsSignificand[i];
 1127|  28.2k|    lhsSignificand[i] = 0;
 1128|  28.2k|  }
 1129|       |
 1130|  20.7k|  exponent -= rhs.exponent;
 1131|       |
 1132|  20.7k|  unsigned int precision = semantics->precision;
 1133|       |
 1134|       |  /* Normalize the divisor.  */
 1135|  20.7k|  bit = precision - APInt::tcMSB(divisor, partsCount) - 1;
 1136|  20.7k|  if (bit) {
  ------------------
  |  Branch (1136:7): [True: 0, False: 20.7k]
  ------------------
 1137|      0|    exponent += bit;
 1138|      0|    APInt::tcShiftLeft(divisor, partsCount, bit);
 1139|      0|  }
 1140|       |
 1141|       |  /* Normalize the dividend.  */
 1142|  20.7k|  bit = precision - APInt::tcMSB(dividend, partsCount) - 1;
 1143|  20.7k|  if (bit) {
  ------------------
  |  Branch (1143:7): [True: 0, False: 20.7k]
  ------------------
 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|  20.7k|  if (APInt::tcCompare(dividend, divisor, partsCount) < 0) {
  ------------------
  |  Branch (1151:7): [True: 14.5k, False: 6.25k]
  ------------------
 1152|  14.5k|    exponent--;
 1153|  14.5k|    APInt::tcShiftLeft(dividend, partsCount, 1);
 1154|  14.5k|    assert(APInt::tcCompare(dividend, divisor, partsCount) >= 0);
  ------------------
  |  Branch (1154:5): [True: 14.5k, False: 0]
  ------------------
 1155|  14.5k|  }
 1156|       |
 1157|       |  /* Long division.  */
 1158|  1.80M|  for (bit = precision; bit; bit -= 1) {
  ------------------
  |  Branch (1158:25): [True: 1.78M, False: 20.7k]
  ------------------
 1159|  1.78M|    if (APInt::tcCompare(dividend, divisor, partsCount) >= 0) {
  ------------------
  |  Branch (1159:9): [True: 855k, False: 933k]
  ------------------
 1160|   855k|      APInt::tcSubtract(dividend, divisor, 0, partsCount);
 1161|   855k|      APInt::tcSetBit(lhsSignificand, bit - 1);
 1162|   855k|    }
 1163|       |
 1164|  1.78M|    APInt::tcShiftLeft(dividend, partsCount, 1);
 1165|  1.78M|  }
 1166|       |
 1167|       |  /* Figure out the lost fraction.  */
 1168|  20.7k|  int cmp = APInt::tcCompare(dividend, divisor, partsCount);
 1169|       |
 1170|  20.7k|  if (cmp > 0)
  ------------------
  |  Branch (1170:7): [True: 5.62k, False: 15.1k]
  ------------------
 1171|  5.62k|    lost_fraction = lfMoreThanHalf;
 1172|  15.1k|  else if (cmp == 0)
  ------------------
  |  Branch (1172:12): [True: 0, False: 15.1k]
  ------------------
 1173|      0|    lost_fraction = lfExactlyHalf;
 1174|  15.1k|  else if (APInt::tcIsZero(dividend, partsCount))
  ------------------
  |  Branch (1174:12): [True: 1.48k, False: 13.6k]
  ------------------
 1175|  1.48k|    lost_fraction = lfExactlyZero;
 1176|  13.6k|  else
 1177|  13.6k|    lost_fraction = lfLessThanHalf;
 1178|       |
 1179|  20.7k|  if (partsCount > 2)
  ------------------
  |  Branch (1179:7): [True: 418, False: 20.3k]
  ------------------
 1180|    418|    delete [] dividend;
 1181|       |
 1182|  20.7k|  return lost_fraction;
 1183|  20.7k|}
_ZNK7llvm_ks7APFloat14significandMSBEv:
 1187|   107k|{
 1188|   107k|  return APInt::tcMSB(significandParts(), partCount());
 1189|   107k|}
_ZN7llvm_ks7APFloat21shiftSignificandRightEj:
 1200|  4.65k|{
 1201|       |  /* Our exponent should not overflow.  */
 1202|  4.65k|  assert((ExponentType) (exponent + bits) >= exponent);
  ------------------
  |  Branch (1202:3): [True: 4.65k, False: 0]
  ------------------
 1203|       |
 1204|  4.65k|  exponent += bits;
 1205|       |
 1206|  4.65k|  return shiftRight(significandParts(), partCount(), bits);
 1207|  4.65k|}
_ZN7llvm_ks7APFloat20shiftSignificandLeftEj:
 1212|  49.1k|{
 1213|  49.1k|  assert(bits < semantics->precision);
  ------------------
  |  Branch (1213:3): [True: 49.1k, False: 0]
  ------------------
 1214|       |
 1215|  49.1k|  if (bits) {
  ------------------
  |  Branch (1215:7): [True: 49.1k, False: 0]
  ------------------
 1216|  49.1k|    unsigned int partsCount = partCount();
 1217|       |
 1218|  49.1k|    APInt::tcShiftLeft(significandParts(), partsCount, bits);
 1219|  49.1k|    exponent -= bits;
 1220|       |
 1221|       |    assert(!APInt::tcIsZero(significandParts(), partsCount));
  ------------------
  |  Branch (1221:5): [True: 49.1k, False: 0]
  ------------------
 1222|  49.1k|  }
 1223|  49.1k|}
_ZN7llvm_ks7APFloat14handleOverflowENS0_12roundingModeE:
 1254|  1.32k|{
 1255|       |  /* Infinity?  */
 1256|  1.32k|  if (rounding_mode == rmNearestTiesToEven ||
  ------------------
  |  Branch (1256:7): [True: 1.32k, False: 0]
  ------------------
 1257|      0|      rounding_mode == rmNearestTiesToAway ||
  ------------------
  |  Branch (1257:7): [True: 0, False: 0]
  ------------------
 1258|      0|      (rounding_mode == rmTowardPositive && !sign) ||
  ------------------
  |  Branch (1258:8): [True: 0, False: 0]
  |  Branch (1258:45): [True: 0, False: 0]
  ------------------
 1259|  1.32k|      (rounding_mode == rmTowardNegative && sign)) {
  ------------------
  |  Branch (1259:8): [True: 0, False: 0]
  |  Branch (1259:45): [True: 0, False: 0]
  ------------------
 1260|  1.32k|    category = fcInfinity;
 1261|  1.32k|    return (opStatus) (opOverflow | opInexact);
 1262|  1.32k|  }
 1263|       |
 1264|       |  /* Otherwise we become the largest finite number.  */
 1265|      0|  category = fcNormal;
 1266|      0|  exponent = semantics->maxExponent;
 1267|      0|  APInt::tcSetLeastSignificantBits(significandParts(), partCount(),
 1268|      0|                                   semantics->precision);
 1269|       |
 1270|      0|  return opInexact;
 1271|  1.32k|}
_ZNK7llvm_ks7APFloat17roundAwayFromZeroENS0_12roundingModeENS_12lostFractionEj:
 1282|  31.1k|{
 1283|       |  /* NaNs and infinities should not have lost fractions.  */
 1284|  31.1k|  assert(isFiniteNonZero() || category == fcZero);
  ------------------
  |  Branch (1284:3): [True: 31.1k, False: 0]
  |  Branch (1284:3): [True: 0, False: 0]
  |  Branch (1284:3): [True: 31.1k, False: 0]
  ------------------
 1285|       |
 1286|       |  /* Current callers never pass this so we don't handle it.  */
 1287|  31.1k|  assert(lost_fraction != lfExactlyZero);
  ------------------
  |  Branch (1287:3): [True: 31.1k, False: 0]
  ------------------
 1288|       |
 1289|  31.1k|  switch (rounding_mode) {
  ------------------
  |  Branch (1289:11): [True: 31.1k, False: 0]
  ------------------
 1290|      0|  case rmNearestTiesToAway:
  ------------------
  |  Branch (1290:3): [True: 0, False: 31.1k]
  ------------------
 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|  31.1k|  case rmNearestTiesToEven:
  ------------------
  |  Branch (1293:3): [True: 31.1k, False: 0]
  ------------------
 1294|  31.1k|    if (lost_fraction == lfMoreThanHalf)
  ------------------
  |  Branch (1294:9): [True: 19.7k, False: 11.3k]
  ------------------
 1295|  19.7k|      return true;
 1296|       |
 1297|       |    /* Our zeroes don't have a significand to test.  */
 1298|  11.3k|    if (lost_fraction == lfExactlyHalf && category != fcZero)
  ------------------
  |  Branch (1298:9): [True: 242, False: 11.1k]
  |  Branch (1298:43): [True: 242, False: 0]
  ------------------
 1299|    242|      return APInt::tcExtractBit(significandParts(), bit);
 1300|       |
 1301|  11.1k|    return false;
 1302|       |
 1303|      0|  case rmTowardZero:
  ------------------
  |  Branch (1303:3): [True: 0, False: 31.1k]
  ------------------
 1304|      0|    return false;
 1305|       |
 1306|      0|  case rmTowardPositive:
  ------------------
  |  Branch (1306:3): [True: 0, False: 31.1k]
  ------------------
 1307|      0|    return !sign;
 1308|       |
 1309|      0|  case rmTowardNegative:
  ------------------
  |  Branch (1309:3): [True: 0, False: 31.1k]
  ------------------
 1310|      0|    return sign;
 1311|  31.1k|  }
 1312|      0|  llvm_unreachable("Invalid rounding mode found");
  ------------------
  |  |   99|      0|  ::llvm_ks::llvm_unreachable_internal(msg, __FILE__, __LINE__)
  ------------------
 1313|  31.1k|}
_ZN7llvm_ks7APFloat9normalizeENS0_12roundingModeENS_12lostFractionE:
 1318|  87.9k|{
 1319|  87.9k|  unsigned int omsb;                /* One, not zero, based MSB.  */
 1320|  87.9k|  int exponentChange;
 1321|       |
 1322|  87.9k|  if (!isFiniteNonZero())
  ------------------
  |  Branch (1322:7): [True: 0, False: 87.9k]
  ------------------
 1323|      0|    return opOK;
 1324|       |
 1325|       |  /* Before rounding normalize the exponent of fcNormal numbers.  */
 1326|  87.9k|  omsb = significandMSB() + 1;
 1327|       |
 1328|  87.9k|  if (omsb) {
  ------------------
  |  Branch (1328:7): [True: 86.9k, False: 951]
  ------------------
 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|  86.9k|    exponentChange = omsb - semantics->precision;
 1333|       |
 1334|       |    /* If the resulting exponent is too high, overflow according to
 1335|       |       the rounding mode.  */
 1336|  86.9k|    if (exponent + exponentChange > semantics->maxExponent)
  ------------------
  |  Branch (1336:9): [True: 482, False: 86.4k]
  ------------------
 1337|    482|      return handleOverflow(rounding_mode);
 1338|       |
 1339|       |    /* Subnormal numbers have exponent minExponent, and their MSB
 1340|       |       is forced based on that.  */
 1341|  86.4k|    if (exponent + exponentChange < semantics->minExponent)
  ------------------
  |  Branch (1341:9): [True: 1.80k, False: 84.6k]
  ------------------
 1342|  1.80k|      exponentChange = semantics->minExponent - exponent;
 1343|       |
 1344|       |    /* Shifting left is easy as we don't lose precision.  */
 1345|  86.4k|    if (exponentChange < 0) {
  ------------------
  |  Branch (1345:9): [True: 49.1k, False: 37.3k]
  ------------------
 1346|  49.1k|      assert(lost_fraction == lfExactlyZero);
  ------------------
  |  Branch (1346:7): [True: 49.1k, False: 0]
  ------------------
 1347|       |
 1348|  49.1k|      shiftSignificandLeft(-exponentChange);
 1349|       |
 1350|  49.1k|      return opOK;
 1351|  49.1k|    }
 1352|       |
 1353|  37.3k|    if (exponentChange > 0) {
  ------------------
  |  Branch (1353:9): [True: 4.38k, False: 32.9k]
  ------------------
 1354|  4.38k|      lostFraction lf;
 1355|       |
 1356|       |      /* Shift right and capture any new lost fraction.  */
 1357|  4.38k|      lf = shiftSignificandRight(exponentChange);
 1358|       |
 1359|  4.38k|      lost_fraction = combineLostFractions(lf, lost_fraction);
 1360|       |
 1361|       |      /* Keep OMSB up-to-date.  */
 1362|  4.38k|      if (omsb > (unsigned) exponentChange)
  ------------------
  |  Branch (1362:11): [True: 2.71k, False: 1.67k]
  ------------------
 1363|  2.71k|        omsb -= exponentChange;
 1364|  1.67k|      else
 1365|  1.67k|        omsb = 0;
 1366|  4.38k|    }
 1367|  37.3k|  }
 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|  38.2k|  if (lost_fraction == lfExactlyZero) {
  ------------------
  |  Branch (1374:7): [True: 7.16k, False: 31.1k]
  ------------------
 1375|       |    /* Canonicalize zeroes.  */
 1376|  7.16k|    if (omsb == 0)
  ------------------
  |  Branch (1376:9): [True: 494, False: 6.67k]
  ------------------
 1377|    494|      category = fcZero;
 1378|       |
 1379|  7.16k|    return opOK;
 1380|  7.16k|  }
 1381|       |
 1382|       |  /* Increment the significand if we're rounding away from zero.  */
 1383|  31.1k|  if (roundAwayFromZero(rounding_mode, lost_fraction, 0)) {
  ------------------
  |  Branch (1383:7): [True: 19.8k, False: 11.2k]
  ------------------
 1384|  19.8k|    if (omsb == 0)
  ------------------
  |  Branch (1384:9): [True: 76, False: 19.7k]
  ------------------
 1385|     76|      exponent = semantics->minExponent;
 1386|       |
 1387|  19.8k|    incrementSignificand();
 1388|  19.8k|    omsb = significandMSB() + 1;
 1389|       |
 1390|       |    /* Did the significand increment overflow?  */
 1391|  19.8k|    if (omsb == (unsigned) semantics->precision + 1) {
  ------------------
  |  Branch (1391:9): [True: 271, False: 19.5k]
  ------------------
 1392|       |      /* Renormalize by incrementing the exponent and shifting our
 1393|       |         significand right one.  However if we already have the
 1394|       |         maximum exponent we overflow to infinity.  */
 1395|    271|      if (exponent == semantics->maxExponent) {
  ------------------
  |  Branch (1395:11): [True: 1, False: 270]
  ------------------
 1396|      1|        category = fcInfinity;
 1397|       |
 1398|      1|        return (opStatus) (opOverflow | opInexact);
 1399|      1|      }
 1400|       |
 1401|    270|      shiftSignificandRight(1);
 1402|       |
 1403|    270|      return opInexact;
 1404|    271|    }
 1405|  19.8k|  }
 1406|       |
 1407|       |  /* The normal case - we were and are not denormal, and any
 1408|       |     significand increment above didn't overflow.  */
 1409|  30.8k|  if (omsb == semantics->precision)
  ------------------
  |  Branch (1409:7): [True: 28.5k, False: 2.25k]
  ------------------
 1410|  28.5k|    return opInexact;
 1411|       |
 1412|       |  /* We have a non-zero denormal.  */
 1413|  30.8k|  assert(omsb < semantics->precision);
  ------------------
  |  Branch (1413:3): [True: 2.25k, False: 0]
  ------------------
 1414|       |
 1415|       |  /* Canonicalize zeroes.  */
 1416|  2.25k|  if (omsb == 0)
  ------------------
  |  Branch (1416:7): [True: 2.05k, False: 200]
  ------------------
 1417|  2.05k|    category = fcZero;
 1418|       |
 1419|       |  /* The fcZero case is a denormal that underflowed to zero.  */
 1420|  2.25k|  return (opStatus) (opUnderflow | opInexact);
 1421|  2.25k|}
_ZN7llvm_ks7APFloat10changeSignEv:
 1677|    858|{
 1678|       |  /* Look mummy, this one's easy.  */
 1679|    858|  sign = !sign;
 1680|    858|}
_ZN7llvm_ks7APFloat24convertFromUnsignedPartsEPKmjNS0_12roundingModeE:
 2297|  55.5k|{
 2298|  55.5k|  unsigned int omsb, precision, dstCount;
 2299|  55.5k|  integerPart *dst;
 2300|  55.5k|  lostFraction lost_fraction;
 2301|       |
 2302|  55.5k|  category = fcNormal;
 2303|  55.5k|  omsb = APInt::tcMSB(src, srcCount) + 1;
 2304|  55.5k|  dst = significandParts();
 2305|  55.5k|  dstCount = partCount();
 2306|  55.5k|  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|  55.5k|  if (precision <= omsb) {
  ------------------
  |  Branch (2310:7): [True: 6.33k, False: 49.1k]
  ------------------
 2311|  6.33k|    exponent = omsb - 1;
 2312|  6.33k|    lost_fraction = lostFractionThroughTruncation(src, srcCount,
 2313|  6.33k|                                                  omsb - precision);
 2314|  6.33k|    APInt::tcExtract(dst, dstCount, src, precision, omsb - precision);
 2315|  49.1k|  } else {
 2316|  49.1k|    exponent = precision - 1;
 2317|  49.1k|    lost_fraction = lfExactlyZero;
 2318|  49.1k|    APInt::tcExtract(dst, dstCount, src, omsb, 0);
 2319|  49.1k|  }
 2320|       |
 2321|  55.5k|  return normalize(rounding_mode, lost_fraction);
 2322|  55.5k|}
_ZN7llvm_ks7APFloat28convertFromHexadecimalStringENS_9StringRefENS0_12roundingModeE:
 2391|  5.36k|{
 2392|  5.36k|  lostFraction lost_fraction = lfExactlyZero;
 2393|       |
 2394|  5.36k|  category = fcNormal;
 2395|  5.36k|  zeroSignificand();
 2396|  5.36k|  exponent = 0;
 2397|       |
 2398|  5.36k|  integerPart *significand = significandParts();
 2399|  5.36k|  unsigned partsCount = partCount();
 2400|  5.36k|  unsigned bitPos = partsCount * integerPartWidth;
 2401|  5.36k|  bool computedTrailingFraction = false;
 2402|       |
 2403|       |  // Skip leading zeroes and any (hexa)decimal point.
 2404|  5.36k|  StringRef::iterator begin = s.begin();
 2405|  5.36k|  StringRef::iterator end = s.end();
 2406|  5.36k|  StringRef::iterator dot;
 2407|  5.36k|  StringRef::iterator p = skipLeadingZeroesAndAnyDot(begin, end, &dot);
 2408|  5.36k|  StringRef::iterator firstSignificantDigit = p;
 2409|       |
 2410|  68.9k|  while (p != end) {
  ------------------
  |  Branch (2410:10): [True: 68.9k, False: 0]
  ------------------
 2411|  68.9k|    integerPart hex_value;
 2412|       |
 2413|  68.9k|    if (*p == '.') {
  ------------------
  |  Branch (2413:9): [True: 302, False: 68.6k]
  ------------------
 2414|    302|      assert(dot == end && "String contains multiple dots");
  ------------------
  |  Branch (2414:7): [True: 302, False: 0]
  |  Branch (2414:7): [True: 302, Folded]
  |  Branch (2414:7): [True: 302, False: 0]
  ------------------
 2415|    302|      dot = p++;
 2416|    302|      continue;
 2417|    302|    }
 2418|       |
 2419|  68.6k|    hex_value = hexDigitValue(*p);
 2420|  68.6k|    if (hex_value == -1U)
  ------------------
  |  Branch (2420:9): [True: 5.36k, False: 63.2k]
  ------------------
 2421|  5.36k|      break;
 2422|       |
 2423|  63.2k|    p++;
 2424|       |
 2425|       |    // Store the number while we have space.
 2426|  63.2k|    if (bitPos) {
  ------------------
  |  Branch (2426:9): [True: 32.8k, False: 30.4k]
  ------------------
 2427|  32.8k|      bitPos -= 4;
 2428|  32.8k|      hex_value <<= bitPos % integerPartWidth;
 2429|  32.8k|      significand[bitPos / integerPartWidth] |= hex_value;
 2430|  32.8k|    } else if (!computedTrailingFraction) {
  ------------------
  |  Branch (2430:16): [True: 1.47k, False: 28.9k]
  ------------------
 2431|  1.47k|      lost_fraction = trailingHexadecimalFraction(p, end, hex_value);
 2432|  1.47k|      computedTrailingFraction = true;
 2433|  1.47k|    }
 2434|  63.2k|  }
 2435|       |
 2436|       |  /* Hex floats require an exponent but not a hexadecimal point.  */
 2437|  5.36k|  assert(p != end && "Hex strings require an exponent");
  ------------------
  |  Branch (2437:3): [True: 5.36k, False: 0]
  |  Branch (2437:3): [True: 5.36k, Folded]
  |  Branch (2437:3): [True: 5.36k, False: 0]
  ------------------
 2438|  5.36k|  assert((*p == 'p' || *p == 'P') && "Invalid character in significand");
  ------------------
  |  Branch (2438:3): [True: 4.62k, False: 735]
  |  Branch (2438:3): [True: 735, False: 0]
  |  Branch (2438:3): [True: 5.36k, Folded]
  |  Branch (2438:3): [True: 5.36k, False: 0]
  ------------------
 2439|  5.36k|  assert(p != begin && "Significand has no digits");
  ------------------
  |  Branch (2439:3): [True: 5.36k, False: 0]
  |  Branch (2439:3): [True: 5.36k, Folded]
  |  Branch (2439:3): [True: 5.36k, False: 0]
  ------------------
 2440|  5.36k|  assert((dot == end || p - begin != 1) && "Significand has no digits");
  ------------------
  |  Branch (2440:3): [True: 4.84k, False: 515]
  |  Branch (2440:3): [True: 515, False: 0]
  |  Branch (2440:3): [True: 5.36k, Folded]
  |  Branch (2440:3): [True: 5.36k, False: 0]
  ------------------
 2441|       |
 2442|       |  /* Ignore the exponent if we are zero.  */
 2443|  5.36k|  if (p != firstSignificantDigit) {
  ------------------
  |  Branch (2443:7): [True: 4.86k, False: 494]
  ------------------
 2444|  4.86k|    int expAdjustment;
 2445|       |
 2446|       |    /* Implicit hexadecimal point?  */
 2447|  4.86k|    if (dot == end)
  ------------------
  |  Branch (2447:9): [True: 4.40k, False: 467]
  ------------------
 2448|  4.40k|      dot = p;
 2449|       |
 2450|       |    /* Calculate the exponent adjustment implicit in the number of
 2451|       |       significant digits.  */
 2452|  4.86k|    expAdjustment = static_cast<int>(dot - firstSignificantDigit);
 2453|  4.86k|    if (expAdjustment < 0)
  ------------------
  |  Branch (2453:9): [True: 165, False: 4.70k]
  ------------------
 2454|    165|      expAdjustment++;
 2455|  4.86k|    expAdjustment = expAdjustment * 4 - 1;
 2456|       |
 2457|       |    /* Adjust for writing the significand starting at the most
 2458|       |       significant nibble.  */
 2459|  4.86k|    expAdjustment += semantics->precision;
 2460|  4.86k|    expAdjustment -= partsCount * integerPartWidth;
 2461|       |
 2462|       |    /* Adjust for the given exponent.  */
 2463|  4.86k|    exponent = totalExponent(p + 1, end, expAdjustment);
 2464|  4.86k|  }
 2465|       |
 2466|  5.36k|  return normalize(rounding_mode, lost_fraction);
 2467|  5.36k|}
_ZN7llvm_ks7APFloat28roundSignificandWithExponentEPKmjiNS0_12roundingModeE:
 2473|  26.7k|{
 2474|  26.7k|  unsigned int parts, pow5PartCount;
 2475|  26.7k|  fltSemantics calcSemantics = { 32767, -32767, 0, 0 };
 2476|  26.7k|  integerPart pow5Parts[maxPowerOfFiveParts];
 2477|  26.7k|  bool isNearest;
 2478|       |
 2479|  26.7k|  isNearest = (rounding_mode == rmNearestTiesToEven ||
  ------------------
  |  Branch (2479:16): [True: 26.7k, False: 0]
  ------------------
 2480|      0|               rounding_mode == rmNearestTiesToAway);
  ------------------
  |  Branch (2480:16): [True: 0, False: 0]
  ------------------
 2481|       |
 2482|  26.7k|  parts = partCountForBits(semantics->precision + 11);
 2483|       |
 2484|       |  /* Calculate pow(5, abs(exp)).  */
 2485|  26.7k|  pow5PartCount = powerOf5(pow5Parts, exp >= 0 ? exp: -exp);
  ------------------
  |  Branch (2485:39): [True: 6.95k, False: 19.7k]
  ------------------
 2486|       |
 2487|  27.7k|  for (;; parts *= 2) {
 2488|  27.7k|    opStatus sigStatus, powStatus;
 2489|  27.7k|    unsigned int excessPrecision, truncatedBits;
 2490|       |
 2491|  27.7k|    calcSemantics.precision = parts * integerPartWidth - 1;
 2492|  27.7k|    excessPrecision = calcSemantics.precision - semantics->precision;
 2493|  27.7k|    truncatedBits = excessPrecision;
 2494|       |
 2495|  27.7k|    APFloat decSig = APFloat::getZero(calcSemantics, sign);
 2496|  27.7k|    APFloat pow5(calcSemantics);
 2497|       |
 2498|  27.7k|    sigStatus = decSig.convertFromUnsignedParts(decSigParts, sigPartCount,
 2499|  27.7k|                                                rmNearestTiesToEven);
 2500|  27.7k|    powStatus = pow5.convertFromUnsignedParts(pow5Parts, pow5PartCount,
 2501|  27.7k|                                              rmNearestTiesToEven);
 2502|       |    /* Add exp, as 10^n = 5^n * 2^n.  */
 2503|  27.7k|    decSig.exponent += exp;
 2504|       |
 2505|  27.7k|    lostFraction calcLostFraction;
 2506|  27.7k|    integerPart HUerr, HUdistance;
 2507|  27.7k|    unsigned int powHUerr;
 2508|       |
 2509|  27.7k|    if (exp >= 0) {
  ------------------
  |  Branch (2509:9): [True: 6.98k, False: 20.7k]
  ------------------
 2510|       |      /* multiplySignificand leaves the precision-th bit set to 1.  */
 2511|  6.98k|      calcLostFraction = decSig.multiplySignificand(pow5, nullptr);
 2512|  6.98k|      powHUerr = powStatus != opOK;
 2513|  20.7k|    } else {
 2514|  20.7k|      calcLostFraction = decSig.divideSignificand(pow5);
 2515|       |      /* Denormal numbers have less precision.  */
 2516|  20.7k|      if (decSig.exponent < semantics->minExponent) {
  ------------------
  |  Branch (2516:11): [True: 268, False: 20.4k]
  ------------------
 2517|    268|        excessPrecision += (semantics->minExponent - decSig.exponent);
 2518|    268|        truncatedBits = excessPrecision;
 2519|    268|        if (excessPrecision > calcSemantics.precision)
  ------------------
  |  Branch (2519:13): [True: 68, False: 200]
  ------------------
 2520|     68|          excessPrecision = calcSemantics.precision;
 2521|    268|      }
 2522|       |      /* Extra half-ulp lost in reciprocal of exponent.  */
 2523|  20.7k|      powHUerr = (powStatus == opOK && calcLostFraction == lfExactlyZero) ? 0:2;
  ------------------
  |  Branch (2523:19): [True: 19.4k, False: 1.28k]
  |  Branch (2523:40): [True: 1.44k, False: 18.0k]
  ------------------
 2524|  20.7k|    }
 2525|       |
 2526|       |    /* Both multiplySignificand and divideSignificand return the
 2527|       |       result with the integer bit set.  */
 2528|  27.7k|    assert(APInt::tcExtractBit
  ------------------
  |  Branch (2528:5): [True: 27.7k, False: 0]
  ------------------
 2529|  27.7k|           (decSig.significandParts(), calcSemantics.precision - 1) == 1);
 2530|       |
 2531|  27.7k|    HUerr = HUerrBound(calcLostFraction != lfExactlyZero, sigStatus != opOK,
 2532|  27.7k|                       powHUerr);
 2533|  27.7k|    HUdistance = 2 * ulpsFromBoundary(decSig.significandParts(),
 2534|  27.7k|                                      excessPrecision, isNearest);
 2535|       |
 2536|       |    /* Are we guaranteed to round correctly if we truncate?  */
 2537|  27.7k|    if (HUdistance >= HUerr) {
  ------------------
  |  Branch (2537:9): [True: 26.7k, False: 1.00k]
  ------------------
 2538|  26.7k|      APInt::tcExtract(significandParts(), partCount(), decSig.significandParts(),
 2539|  26.7k|                       calcSemantics.precision - excessPrecision,
 2540|  26.7k|                       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|  26.7k|      exponent = (decSig.exponent + semantics->precision
 2545|  26.7k|                  - (calcSemantics.precision - excessPrecision));
 2546|  26.7k|      calcLostFraction = lostFractionThroughTruncation(decSig.significandParts(),
 2547|  26.7k|                                                       decSig.partCount(),
 2548|  26.7k|                                                       truncatedBits);
 2549|  26.7k|      return normalize(rounding_mode, calcLostFraction);
 2550|  26.7k|    }
 2551|  27.7k|  }
 2552|  26.7k|}
_ZN7llvm_ks7APFloat24convertFromDecimalStringENS_9StringRefENS0_12roundingModeE:
 2556|  29.9k|{
 2557|  29.9k|  decimalInfo D;
 2558|  29.9k|  opStatus fs;
 2559|       |
 2560|       |  /* Scan the text.  */
 2561|  29.9k|  StringRef::iterator p = str.begin();
 2562|  29.9k|  fs = interpretDecimal(p, str.end(), &D);
 2563|  29.9k|  if (fs != opOK)
  ------------------
  |  Branch (2563:7): [True: 456, False: 29.5k]
  ------------------
 2564|    456|      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|  29.5k|  if (D.firstSigDigit == str.end() || decDigitValue(*D.firstSigDigit) >= 10U) {
  ------------------
  |  Branch (2590:7): [True: 1.52k, False: 28.0k]
  |  Branch (2590:39): [True: 92, False: 27.9k]
  ------------------
 2591|  1.61k|    category = fcZero;
 2592|  1.61k|    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|  27.9k|  } else if (D.normalizedExponent - 1 > INT_MAX / 42039) {
  ------------------
  |  Branch (2596:14): [True: 348, False: 27.5k]
  ------------------
 2597|    348|    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|  27.5k|  } else if (D.normalizedExponent - 1 < INT_MIN / 42039 ||
  ------------------
  |  Branch (2603:14): [True: 40, False: 27.5k]
  ------------------
 2604|  27.5k|             (D.normalizedExponent + 1) * 28738 <=
  ------------------
  |  Branch (2604:14): [True: 273, False: 27.2k]
  ------------------
 2605|  27.5k|               8651 * (semantics->minExponent - (int) semantics->precision)) {
 2606|       |    /* Underflow to zero and round.  */
 2607|    313|    category = fcNormal;
 2608|    313|    zeroSignificand();
 2609|    313|    fs = normalize(rounding_mode, lfLessThanHalf);
 2610|       |
 2611|       |  /* We can finally safely perform the max-exponent check. */
 2612|  27.2k|  } else if ((D.normalizedExponent - 1) * 42039
  ------------------
  |  Branch (2612:14): [True: 498, False: 26.7k]
  ------------------
 2613|  27.2k|             >= 12655 * semantics->maxExponent) {
 2614|       |    /* Overflow and round.  */
 2615|    498|    fs = handleOverflow(rounding_mode);
 2616|  26.7k|  } else {
 2617|  26.7k|    integerPart *decSignificand;
 2618|  26.7k|    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|  26.7k|    partCount = static_cast<unsigned int>(D.lastSigDigit - D.firstSigDigit) + 1;
 2625|  26.7k|    partCount = partCountForBits(1 + 196 * partCount / 59);
 2626|  26.7k|    decSignificand = new integerPart[partCount + 1];
 2627|  26.7k|    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|  32.0k|    do {
 2634|  32.0k|      integerPart decValue, val, multiplier;
 2635|       |
 2636|  32.0k|      val = 0;
 2637|  32.0k|      multiplier = 1;
 2638|       |
 2639|   150k|      do {
 2640|   150k|        if (*p == '.') {
  ------------------
  |  Branch (2640:13): [True: 24.5k, False: 125k]
  ------------------
 2641|  24.5k|          p++;
 2642|  24.5k|          if (p == str.end()) {
  ------------------
  |  Branch (2642:15): [True: 0, False: 24.5k]
  ------------------
 2643|      0|            break;
 2644|      0|          }
 2645|  24.5k|        }
 2646|   150k|        decValue = decDigitValue(*p++);
 2647|   150k|        assert(decValue < 10U && "Invalid character in significand");
  ------------------
  |  Branch (2647:9): [True: 150k, False: 0]
  |  Branch (2647:9): [True: 150k, Folded]
  |  Branch (2647:9): [True: 150k, False: 0]
  ------------------
 2648|   150k|        multiplier *= 10;
 2649|   150k|        val = val * 10 + decValue;
 2650|       |        /* The maximum number that can be multiplied by ten with any
 2651|       |           digit added without overflowing an integerPart.  */
 2652|   150k|      } while (p <= D.lastSigDigit && multiplier <= (~ (integerPart) 0 - 9) / 10);
  ------------------
  |  Branch (2652:16): [True: 123k, False: 26.7k]
  |  Branch (2652:39): [True: 118k, False: 5.27k]
  ------------------
 2653|       |
 2654|       |      /* Multiply out the current part.  */
 2655|  32.0k|      APInt::tcMultiplyPart(decSignificand, decSignificand, multiplier, val,
 2656|  32.0k|                            partCount, partCount + 1, false);
 2657|       |
 2658|       |      /* If we used another part (likely but not guaranteed), increase
 2659|       |         the count.  */
 2660|  32.0k|      if (decSignificand[partCount])
  ------------------
  |  Branch (2660:11): [True: 31.4k, False: 537]
  ------------------
 2661|  31.4k|        partCount++;
 2662|  32.0k|    } while (p <= D.lastSigDigit);
  ------------------
  |  Branch (2662:14): [True: 5.27k, False: 26.7k]
  ------------------
 2663|       |
 2664|  26.7k|    category = fcNormal;
 2665|  26.7k|    fs = roundSignificandWithExponent(decSignificand, partCount,
 2666|  26.7k|                                      D.exponent, rounding_mode);
 2667|       |
 2668|  26.7k|    delete [] decSignificand;
 2669|  26.7k|  }
 2670|       |
 2671|  29.5k|  return fs;
 2672|  29.5k|}
_ZN7llvm_ks7APFloat25convertFromStringSpecialsENS_9StringRefE:
 2675|  35.3k|APFloat::convertFromStringSpecials(StringRef str) {
 2676|  35.3k|  if (str.equals("inf") || str.equals("INFINITY")) {
  ------------------
  |  Branch (2676:7): [True: 0, False: 35.3k]
  |  Branch (2676:7): [True: 0, False: 35.3k]
  |  Branch (2676:28): [True: 0, False: 35.3k]
  ------------------
 2677|      0|    makeInf(false);
 2678|      0|    return true;
 2679|      0|  }
 2680|       |
 2681|  35.3k|  if (str.equals("-inf") || str.equals("-INFINITY")) {
  ------------------
  |  Branch (2681:7): [True: 0, False: 35.3k]
  |  Branch (2681:7): [True: 0, False: 35.3k]
  |  Branch (2681:29): [True: 0, False: 35.3k]
  ------------------
 2682|      0|    makeInf(true);
 2683|      0|    return true;
 2684|      0|  }
 2685|       |
 2686|  35.3k|  if (str.equals("nan") || str.equals("NaN")) {
  ------------------
  |  Branch (2686:7): [True: 0, False: 35.3k]
  |  Branch (2686:7): [True: 0, False: 35.3k]
  |  Branch (2686:28): [True: 0, False: 35.3k]
  ------------------
 2687|      0|    makeNaN(false, false);
 2688|      0|    return true;
 2689|      0|  }
 2690|       |
 2691|  35.3k|  if (str.equals("-nan") || str.equals("-NaN")) {
  ------------------
  |  Branch (2691:7): [True: 0, False: 35.3k]
  |  Branch (2691:7): [True: 0, False: 35.3k]
  |  Branch (2691:29): [True: 0, False: 35.3k]
  ------------------
 2692|      0|    makeNaN(false, true);
 2693|      0|    return true;
 2694|      0|  }
 2695|       |
 2696|  35.3k|  return false;
 2697|  35.3k|}
_ZN7llvm_ks7APFloat17convertFromStringENS_9StringRefENS0_12roundingModeE:
 2701|  35.3k|{
 2702|  35.3k|  assert(!str.empty() && "Invalid string length");
  ------------------
  |  Branch (2702:3): [True: 35.3k, False: 0]
  |  Branch (2702:3): [True: 35.3k, Folded]
  |  Branch (2702:3): [True: 35.3k, False: 0]
  ------------------
 2703|       |
 2704|       |  // Handle special cases.
 2705|  35.3k|  if (convertFromStringSpecials(str))
  ------------------
  |  Branch (2705:7): [True: 0, False: 35.3k]
  ------------------
 2706|      0|    return opOK;
 2707|       |
 2708|       |  /* Handle a leading minus sign.  */
 2709|  35.3k|  StringRef::iterator p = str.begin();
 2710|  35.3k|  size_t slen = str.size();
 2711|  35.3k|  sign = *p == '-' ? 1 : 0;
  ------------------
  |  Branch (2711:10): [True: 0, False: 35.3k]
  ------------------
 2712|  35.3k|  if (*p == '-' || *p == '+') {
  ------------------
  |  Branch (2712:7): [True: 0, False: 35.3k]
  |  Branch (2712:20): [True: 0, False: 35.3k]
  ------------------
 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|  35.3k|  if (slen >= 2 && p[0] == '0' && (p[1] == 'x' || p[1] == 'X')) {
  ------------------
  |  Branch (2718:7): [True: 33.5k, False: 1.76k]
  |  Branch (2718:20): [True: 6.05k, False: 27.5k]
  |  Branch (2718:36): [True: 4.77k, False: 1.27k]
  |  Branch (2718:51): [True: 587, False: 690]
  ------------------
 2719|  5.36k|    assert(slen - 2 && "Invalid string");
  ------------------
  |  Branch (2719:5): [True: 5.36k, False: 0]
  |  Branch (2719:5): [True: 5.36k, Folded]
  |  Branch (2719:5): [True: 5.36k, False: 0]
  ------------------
 2720|  5.36k|    return convertFromHexadecimalString(StringRef(p + 2, slen - 2),
 2721|  5.36k|                                        rounding_mode);
 2722|  5.36k|  }
 2723|       |
 2724|  29.9k|  return convertFromDecimalString(StringRef(p, slen), rounding_mode);
 2725|  35.3k|}
_ZNK7llvm_ks7APFloat27convertDoubleAPFloatToAPIntEv:
 3048|  32.0k|{
 3049|  32.0k|  assert(semantics == (const llvm_ks::fltSemantics*)&IEEEdouble);
  ------------------
  |  Branch (3049:3): [True: 32.0k, False: 0]
  ------------------
 3050|  32.0k|  assert(partCount()==1);
  ------------------
  |  Branch (3050:3): [True: 32.0k, False: 0]
  ------------------
 3051|       |
 3052|  32.0k|  uint64_t myexponent, mysignificand;
 3053|       |
 3054|  32.0k|  if (isFiniteNonZero()) {
  ------------------
  |  Branch (3054:7): [True: 27.3k, False: 4.73k]
  ------------------
 3055|  27.3k|    myexponent = exponent+1023; //bias
 3056|  27.3k|    mysignificand = *significandParts();
 3057|  27.3k|    if (myexponent==1 && !(mysignificand & 0x10000000000000LL))
  ------------------
  |  Branch (3057:9): [True: 252, False: 27.0k]
  |  Branch (3057:26): [True: 174, False: 78]
  ------------------
 3058|    174|      myexponent = 0;   // denormal
 3059|  27.3k|  } else if (category==fcZero) {
  ------------------
  |  Branch (3059:14): [True: 3.33k, False: 1.40k]
  ------------------
 3060|  3.33k|    myexponent = 0;
 3061|  3.33k|    mysignificand = 0;
 3062|  3.33k|  } else if (category==fcInfinity) {
  ------------------
  |  Branch (3062:14): [True: 1.34k, False: 53]
  ------------------
 3063|  1.34k|    myexponent = 0x7ff;
 3064|  1.34k|    mysignificand = 0;
 3065|  1.34k|  } else {
 3066|     53|    assert(category == fcNaN && "Unknown category!");
  ------------------
  |  Branch (3066:5): [True: 53, False: 0]
  |  Branch (3066:5): [True: 53, Folded]
  |  Branch (3066:5): [True: 53, False: 0]
  ------------------
 3067|     53|    myexponent = 0x7ff;
 3068|     53|    mysignificand = *significandParts();
 3069|     53|  }
 3070|       |
 3071|  32.0k|  return APInt(64, ((((uint64_t)(sign & 1) << 63) |
 3072|  32.0k|                     ((myexponent & 0x7ff) <<  52) |
 3073|  32.0k|                     (mysignificand & 0xfffffffffffffLL))));
 3074|  32.0k|}
_ZNK7llvm_ks7APFloat26convertFloatAPFloatToAPIntEv:
 3078|  4.07k|{
 3079|  4.07k|  assert(semantics == (const llvm_ks::fltSemantics*)&IEEEsingle);
  ------------------
  |  Branch (3079:3): [True: 4.07k, False: 0]
  ------------------
 3080|  4.07k|  assert(partCount()==1);
  ------------------
  |  Branch (3080:3): [True: 4.07k, False: 0]
  ------------------
 3081|       |
 3082|  4.07k|  uint32_t myexponent, mysignificand;
 3083|       |
 3084|  4.07k|  if (isFiniteNonZero()) {
  ------------------
  |  Branch (3084:7): [True: 2.41k, False: 1.66k]
  ------------------
 3085|  2.41k|    myexponent = exponent+127; //bias
 3086|  2.41k|    mysignificand = (uint32_t)*significandParts();
 3087|  2.41k|    if (myexponent == 1 && !(mysignificand & 0x800000))
  ------------------
  |  Branch (3087:9): [True: 50, False: 2.36k]
  |  Branch (3087:28): [True: 26, False: 24]
  ------------------
 3088|     26|      myexponent = 0;   // denormal
 3089|  2.41k|  } else if (category==fcZero) {
  ------------------
  |  Branch (3089:14): [True: 875, False: 791]
  ------------------
 3090|    875|    myexponent = 0;
 3091|    875|    mysignificand = 0;
 3092|    875|  } else if (category==fcInfinity) {
  ------------------
  |  Branch (3092:14): [True: 406, False: 385]
  ------------------
 3093|    406|    myexponent = 0xff;
 3094|    406|    mysignificand = 0;
 3095|    406|  } else {
 3096|    385|    assert(category == fcNaN && "Unknown category!");
  ------------------
  |  Branch (3096:5): [True: 385, False: 0]
  |  Branch (3096:5): [True: 385, Folded]
  |  Branch (3096:5): [True: 385, False: 0]
  ------------------
 3097|    385|    myexponent = 0xff;
 3098|    385|    mysignificand = (uint32_t)*significandParts();
 3099|    385|  }
 3100|       |
 3101|  4.07k|  return APInt(32, (((sign&1) << 31) | ((myexponent&0xff) << 23) |
 3102|  4.07k|                    (mysignificand & 0x7fffff)));
 3103|  4.07k|}
_ZNK7llvm_ks7APFloat14bitcastToAPIntEv:
 3140|  36.1k|{
 3141|  36.1k|  if (semantics == (const llvm_ks::fltSemantics*)&IEEEhalf)
  ------------------
  |  Branch (3141:7): [True: 0, False: 36.1k]
  ------------------
 3142|      0|    return convertHalfAPFloatToAPInt();
 3143|       |
 3144|  36.1k|  if (semantics == (const llvm_ks::fltSemantics*)&IEEEsingle)
  ------------------
  |  Branch (3144:7): [True: 4.07k, False: 32.0k]
  ------------------
 3145|  4.07k|    return convertFloatAPFloatToAPInt();
 3146|       |
 3147|  32.0k|  if (semantics == (const llvm_ks::fltSemantics*)&IEEEdouble)
  ------------------
  |  Branch (3147:7): [True: 32.0k, False: 0]
  ------------------
 3148|  32.0k|    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|    402|APFloat::makeInf(bool Negative) {
 3969|    402|  category = fcInfinity;
 3970|    402|  sign = Negative;
 3971|    402|  exponent = semantics->maxExponent + 1;
 3972|    402|  APInt::tcSet(significandParts(), 0, partCount());
 3973|    402|}
_ZN7llvm_ks7APFloat8makeZeroEb:
 3976|  27.7k|APFloat::makeZero(bool Negative) {
 3977|  27.7k|  category = fcZero;
 3978|  27.7k|  sign = Negative;
 3979|  27.7k|  exponent = semantics->minExponent-1;
 3980|  27.7k|  APInt::tcSet(significandParts(), 0, partCount());  
 3981|  27.7k|}
APFloat.cpp:_ZL26skipLeadingZeroesAndAnyDotPKcS0_PS0_:
  236|  35.3k|{
  237|  35.3k|  StringRef::iterator p = begin;
  238|  35.3k|  *dot = end;
  239|  41.2k|  while (p != end && *p == '0')
  ------------------
  |  Branch (239:10): [True: 40.4k, False: 764]
  |  Branch (239:22): [True: 5.89k, False: 34.5k]
  ------------------
  240|  5.89k|    p++;
  241|       |
  242|  35.3k|  if (p != end && *p == '.') {
  ------------------
  |  Branch (242:7): [True: 34.5k, False: 764]
  |  Branch (242:19): [True: 27.2k, False: 7.36k]
  ------------------
  243|  27.2k|    *dot = p++;
  244|       |
  245|  27.2k|    assert(end - begin != 1 && "Significand has no digits");
  ------------------
  |  Branch (245:5): [True: 27.2k, False: 0]
  |  Branch (245:5): [True: 27.2k, Folded]
  |  Branch (245:5): [True: 27.2k, False: 0]
  ------------------
  246|       |
  247|  35.7k|    while (p != end && *p == '0')
  ------------------
  |  Branch (247:12): [True: 34.9k, False: 762]
  |  Branch (247:24): [True: 8.54k, False: 26.4k]
  ------------------
  248|  8.54k|      p++;
  249|  27.2k|  }
  250|       |
  251|  35.3k|  return p;
  252|  35.3k|}
APFloat.cpp:_ZL13decDigitValuej:
  109|   376k|{
  110|   376k|  return c - '0';
  111|   376k|}
APFloat.cpp:_ZL12readExponentPKcS0_RN7llvm_ks7APFloat8opStatusE:
  120|  7.18k|{
  121|  7.18k|  bool isNegative;
  122|  7.18k|  unsigned int absExponent;
  123|  7.18k|  const unsigned int overlargeExponent = 24000;  /* FIXME.  */
  124|  7.18k|  StringRef::iterator p = begin;
  125|       |
  126|  7.18k|  fp = APFloat::opOK;
  127|       |
  128|       |  //assert(p != end && "Exponent has no digits"); // qq
  129|  7.18k|  if (p == end) {
  ------------------
  |  Branch (129:7): [True: 273, False: 6.91k]
  ------------------
  130|    273|      fp = APFloat::opInvalidOp;
  131|    273|      return 0;
  132|    273|  }
  133|       |
  134|  6.91k|  isNegative = (*p == '-');
  135|  6.91k|  if (*p == '-' || *p == '+') {
  ------------------
  |  Branch (135:7): [True: 892, False: 6.02k]
  |  Branch (135:20): [True: 60, False: 5.96k]
  ------------------
  136|    952|    p++;
  137|       |    //assert(p != end && "Exponent has no digits");
  138|    952|    if (p == end) {
  ------------------
  |  Branch (138:9): [True: 174, False: 778]
  ------------------
  139|    174|      fp = APFloat::opInvalidOp;
  140|    174|      return 0;
  141|    174|    }
  142|    952|  }
  143|       |
  144|  6.74k|  absExponent = decDigitValue(*p++);
  145|       |  //assert(absExponent < 10U && "Invalid character in exponent");
  146|  6.74k|  if (absExponent >= 10U) {
  ------------------
  |  Branch (146:7): [True: 5, False: 6.73k]
  ------------------
  147|      5|      fp = APFloat::opInvalidOp;
  148|      5|      return 0;
  149|      5|  }
  150|       |
  151|  18.2k|  for (; p != end; ++p) {
  ------------------
  |  Branch (151:10): [True: 11.8k, False: 6.41k]
  ------------------
  152|  11.8k|    unsigned int value;
  153|       |
  154|  11.8k|    value = decDigitValue(*p);
  155|       |    //assert(value < 10U && "Invalid character in exponent");
  156|  11.8k|    if (value >= 10U) {
  ------------------
  |  Branch (156:9): [True: 1, False: 11.8k]
  ------------------
  157|      1|        fp = APFloat::opInvalidOp;
  158|      1|        return 0;
  159|      1|    }
  160|       |
  161|  11.8k|    value += absExponent * 10;
  162|  11.8k|    if (absExponent >= overlargeExponent) {
  ------------------
  |  Branch (162:9): [True: 324, False: 11.5k]
  ------------------
  163|    324|      absExponent = overlargeExponent;
  164|    324|      p = end;  /* outwit assert below */
  165|    324|      break;
  166|    324|    }
  167|  11.5k|    absExponent = value;
  168|  11.5k|  }
  169|       |
  170|       |  //assert(p == end && "Invalid exponent in exponent");
  171|  6.73k|  if (p != end) {
  ------------------
  |  Branch (171:7): [True: 0, False: 6.73k]
  ------------------
  172|      0|      fp = APFloat::opInvalidOp;
  173|      0|      return 0;
  174|      0|  }
  175|       |
  176|  6.73k|  if (isNegative)
  ------------------
  |  Branch (176:7): [True: 762, False: 5.97k]
  ------------------
  177|    762|    return -(int) absExponent;
  178|  5.97k|  else
  179|  5.97k|    return (int) absExponent;
  180|  6.73k|}
APFloat.cpp:_ZL16partCountForBitsj:
  102|  1.19M|{
  103|  1.19M|  return ((bits) + integerPartWidth - 1) / integerPartWidth;
  104|  1.19M|}
APFloat.cpp:_ZL10shiftRightPmjj:
  401|  11.6k|{
  402|  11.6k|  lostFraction lost_fraction;
  403|       |
  404|  11.6k|  lost_fraction = lostFractionThroughTruncation(dst, parts, bits);
  405|       |
  406|  11.6k|  APInt::tcShiftRight(dst, parts, bits);
  407|       |
  408|  11.6k|  return lost_fraction;
  409|  11.6k|}
APFloat.cpp:_ZL20combineLostFractionsN7llvm_ks12lostFractionES0_:
  415|  11.3k|{
  416|  11.3k|  if (lessSignificant != lfExactlyZero) {
  ------------------
  |  Branch (416:7): [True: 1.29k, False: 10.0k]
  ------------------
  417|  1.29k|    if (moreSignificant == lfExactlyZero)
  ------------------
  |  Branch (417:9): [True: 540, False: 754]
  ------------------
  418|    540|      moreSignificant = lfLessThanHalf;
  419|    754|    else if (moreSignificant == lfExactlyHalf)
  ------------------
  |  Branch (419:14): [True: 38, False: 716]
  ------------------
  420|     38|      moreSignificant = lfMoreThanHalf;
  421|  1.29k|  }
  422|       |
  423|  11.3k|  return moreSignificant;
  424|  11.3k|}
APFloat.cpp:_ZL29lostFractionThroughTruncationPKmjj:
  381|  44.7k|{
  382|  44.7k|  unsigned int lsb;
  383|       |
  384|  44.7k|  lsb = APInt::tcLSB(parts, partCount);
  385|       |
  386|       |  /* Note this is guaranteed true if bits == 0, or LSB == -1U.  */
  387|  44.7k|  if (bits <= lsb)
  ------------------
  |  Branch (387:7): [True: 12.7k, False: 31.9k]
  ------------------
  388|  12.7k|    return lfExactlyZero;
  389|  31.9k|  if (bits == lsb + 1)
  ------------------
  |  Branch (389:7): [True: 395, False: 31.5k]
  ------------------
  390|    395|    return lfExactlyHalf;
  391|  31.5k|  if (bits <= partCount * integerPartWidth &&
  ------------------
  |  Branch (391:7): [True: 29.8k, False: 1.71k]
  ------------------
  392|  29.8k|      APInt::tcExtractBit(parts, bits - 1))
  ------------------
  |  Branch (392:7): [True: 20.2k, False: 9.55k]
  ------------------
  393|  20.2k|    return lfMoreThanHalf;
  394|       |
  395|  11.2k|  return lfLessThanHalf;
  396|  31.5k|}
APFloat.cpp:_ZL27trailingHexadecimalFractionPKcS0_j:
  349|  1.47k|{
  350|  1.47k|  unsigned int hexDigit;
  351|       |
  352|       |  /* If the first trailing digit isn't 0 or 8 we can work out the
  353|       |     fraction immediately.  */
  354|  1.47k|  if (digitValue > 8)
  ------------------
  |  Branch (354:7): [True: 556, False: 920]
  ------------------
  355|    556|    return lfMoreThanHalf;
  356|    920|  else if (digitValue < 8 && digitValue > 0)
  ------------------
  |  Branch (356:12): [True: 792, False: 128]
  |  Branch (356:30): [True: 95, False: 697]
  ------------------
  357|     95|    return lfLessThanHalf;
  358|       |
  359|       |  // Otherwise we need to find the first non-zero digit.
  360|  4.82k|  while (p != end && (*p == '0' || *p == '.'))
  ------------------
  |  Branch (360:10): [True: 4.82k, False: 0]
  |  Branch (360:23): [True: 3.98k, False: 841]
  |  Branch (360:36): [True: 16, False: 825]
  ------------------
  361|  3.99k|    p++;
  362|       |
  363|    825|  assert(p != end && "Invalid trailing hexadecimal fraction!");
  ------------------
  |  Branch (363:3): [True: 825, False: 0]
  |  Branch (363:3): [True: 825, Folded]
  |  Branch (363:3): [True: 825, False: 0]
  ------------------
  364|       |
  365|    825|  hexDigit = hexDigitValue(*p);
  366|       |
  367|       |  /* If we ran off the end it is exactly zero or one-half, otherwise
  368|       |     a little more.  */
  369|    825|  if (hexDigit == -1U)
  ------------------
  |  Branch (369:7): [True: 163, False: 662]
  ------------------
  370|    163|    return digitValue == 0 ? lfExactlyZero: lfExactlyHalf;
  ------------------
  |  Branch (370:12): [True: 140, False: 23]
  ------------------
  371|    662|  else
  372|    662|    return digitValue == 0 ? lfLessThanHalf: lfMoreThanHalf;
  ------------------
  |  Branch (372:12): [True: 557, False: 105]
  ------------------
  373|    825|}
APFloat.cpp:_ZL13totalExponentPKcS0_i:
  187|  4.86k|{
  188|  4.86k|  int unsignedExponent;
  189|  4.86k|  bool negative, overflow;
  190|  4.86k|  int exponent = 0;
  191|       |
  192|  4.86k|  assert(p != end && "Exponent has no digits");
  ------------------
  |  Branch (192:3): [True: 4.86k, False: 0]
  |  Branch (192:3): [True: 4.86k, Folded]
  |  Branch (192:3): [True: 4.86k, False: 0]
  ------------------
  193|       |
  194|  4.86k|  negative = *p == '-';
  195|  4.86k|  if (*p == '-' || *p == '+') {
  ------------------
  |  Branch (195:7): [True: 2.37k, False: 2.49k]
  |  Branch (195:20): [True: 379, False: 2.11k]
  ------------------
  196|  2.75k|    p++;
  197|  2.75k|    assert(p != end && "Exponent has no digits");
  ------------------
  |  Branch (197:5): [True: 2.75k, False: 0]
  |  Branch (197:5): [True: 2.75k, Folded]
  |  Branch (197:5): [True: 2.75k, False: 0]
  ------------------
  198|  2.75k|  }
  199|       |
  200|  4.86k|  unsignedExponent = 0;
  201|  4.86k|  overflow = false;
  202|  23.4k|  for (; p != end; ++p) {
  ------------------
  |  Branch (202:10): [True: 19.4k, False: 3.96k]
  ------------------
  203|  19.4k|    unsigned int value;
  204|       |
  205|  19.4k|    value = decDigitValue(*p);
  206|  19.4k|    assert(value < 10U && "Invalid character in exponent");
  ------------------
  |  Branch (206:5): [True: 19.4k, False: 0]
  |  Branch (206:5): [True: 19.4k, Folded]
  |  Branch (206:5): [True: 19.4k, False: 0]
  ------------------
  207|       |
  208|  19.4k|    unsignedExponent = unsignedExponent * 10 + value;
  209|  19.4k|    if (unsignedExponent > 32767) {
  ------------------
  |  Branch (209:9): [True: 901, False: 18.5k]
  ------------------
  210|    901|      overflow = true;
  211|    901|      break;
  212|    901|    }
  213|  19.4k|  }
  214|       |
  215|  4.86k|  if (exponentAdjustment > 32767 || exponentAdjustment < -32768)
  ------------------
  |  Branch (215:7): [True: 0, False: 4.86k]
  |  Branch (215:37): [True: 0, False: 4.86k]
  ------------------
  216|      0|    overflow = true;
  217|       |
  218|  4.86k|  if (!overflow) {
  ------------------
  |  Branch (218:7): [True: 3.96k, False: 901]
  ------------------
  219|  3.96k|    exponent = unsignedExponent;
  220|  3.96k|    if (negative)
  ------------------
  |  Branch (220:9): [True: 1.63k, False: 2.32k]
  ------------------
  221|  1.63k|      exponent = -exponent;
  222|  3.96k|    exponent += exponentAdjustment;
  223|  3.96k|    if (exponent > 32767 || exponent < -32768)
  ------------------
  |  Branch (223:9): [True: 12, False: 3.95k]
  |  Branch (223:29): [True: 399, False: 3.55k]
  ------------------
  224|    411|      overflow = true;
  225|  3.96k|  }
  226|       |
  227|  4.86k|  if (overflow)
  ------------------
  |  Branch (227:7): [True: 1.31k, False: 3.55k]
  ------------------
  228|  1.31k|    exponent = negative ? -32768: 32767;
  ------------------
  |  Branch (228:16): [True: 1.13k, False: 179]
  ------------------
  229|       |
  230|  4.86k|  return exponent;
  231|  4.86k|}
APFloat.cpp:_ZL8powerOf5Pmj:
  494|  26.7k|{
  495|  26.7k|  static const integerPart firstEightPowers[] = { 1, 5, 25, 125, 625, 3125,
  496|  26.7k|                                                  15625, 78125 };
  497|  26.7k|  integerPart pow5s[maxPowerOfFiveParts * 2 + 5];
  498|  26.7k|  pow5s[0] = 78125 * 5;
  499|       |
  500|  26.7k|  unsigned int partsCount[16] = { 1 };
  501|  26.7k|  integerPart scratch[maxPowerOfFiveParts], *p1, *p2, *pow5;
  502|  26.7k|  unsigned int result;
  503|  26.7k|  assert(power <= maxExponent);
  ------------------
  |  Branch (503:3): [True: 26.7k, False: 0]
  ------------------
  504|       |
  505|  26.7k|  p1 = dst;
  506|  26.7k|  p2 = scratch;
  507|       |
  508|  26.7k|  *p1 = firstEightPowers[power & 7];
  509|  26.7k|  power >>= 3;
  510|       |
  511|  26.7k|  result = 1;
  512|  26.7k|  pow5 = pow5s;
  513|       |
  514|  50.2k|  for (unsigned int n = 0; power; power >>= 1, n++) {
  ------------------
  |  Branch (514:28): [True: 23.5k, False: 26.7k]
  ------------------
  515|  23.5k|    unsigned int pc;
  516|       |
  517|  23.5k|    pc = partsCount[n];
  518|       |
  519|       |    /* Calculate pow(5,pow(2,n+3)) if we haven't yet.  */
  520|  23.5k|    if (pc == 0) {
  ------------------
  |  Branch (520:9): [True: 18.1k, False: 5.42k]
  ------------------
  521|  18.1k|      pc = partsCount[n - 1];
  522|  18.1k|      APInt::tcFullMultiply(pow5, pow5 - pc, pow5 - pc, pc, pc);
  523|  18.1k|      pc *= 2;
  524|  18.1k|      if (pow5[pc - 1] == 0)
  ------------------
  |  Branch (524:11): [True: 12.1k, False: 5.98k]
  ------------------
  525|  12.1k|        pc--;
  526|  18.1k|      partsCount[n] = pc;
  527|  18.1k|    }
  528|       |
  529|  23.5k|    if (power & 1) {
  ------------------
  |  Branch (529:9): [True: 11.9k, False: 11.6k]
  ------------------
  530|  11.9k|      integerPart *tmp;
  531|       |
  532|  11.9k|      APInt::tcFullMultiply(p2, p1, pow5, result, pc);
  533|  11.9k|      result += pc;
  534|  11.9k|      if (p2[result - 1] == 0)
  ------------------
  |  Branch (534:11): [True: 9.21k, False: 2.69k]
  ------------------
  535|  9.21k|        result--;
  536|       |
  537|       |      /* Now result is in p1 with partsCount parts and p2 is scratch
  538|       |         space.  */
  539|  11.9k|      tmp = p1, p1 = p2, p2 = tmp;
  540|  11.9k|    }
  541|       |
  542|  23.5k|    pow5 += pc;
  543|  23.5k|  }
  544|       |
  545|  26.7k|  if (p1 != dst)
  ------------------
  |  Branch (545:7): [True: 3.17k, False: 23.5k]
  ------------------
  546|  3.17k|    APInt::tcAssign(dst, p1, result);
  547|       |
  548|  26.7k|  return result;
  549|  26.7k|}
APFloat.cpp:_ZL10HUerrBoundbjj:
  435|  27.7k|{
  436|  27.7k|  assert(HUerr1 < 2 || HUerr2 < 2 || (HUerr1 + HUerr2 < 8));
  ------------------
  |  Branch (436:3): [True: 27.7k, False: 0]
  |  Branch (436:3): [True: 0, False: 0]
  |  Branch (436:3): [True: 0, False: 0]
  |  Branch (436:3): [True: 27.7k, False: 0]
  ------------------
  437|       |
  438|  27.7k|  if (HUerr1 + HUerr2 == 0)
  ------------------
  |  Branch (438:7): [True: 5.04k, False: 22.7k]
  ------------------
  439|  5.04k|    return inexactMultiply * 2;  /* <= inexactMultiply half-ulps.  */
  440|  22.7k|  else
  441|  22.7k|    return inexactMultiply + 2 * (HUerr1 + HUerr2);
  442|  27.7k|}
APFloat.cpp:_ZL16ulpsFromBoundaryPKmjb:
  449|  27.7k|{
  450|  27.7k|  unsigned int count, partBits;
  451|  27.7k|  integerPart part, boundary;
  452|       |
  453|  27.7k|  assert(bits != 0);
  ------------------
  |  Branch (453:3): [True: 27.7k, False: 0]
  ------------------
  454|       |
  455|  27.7k|  bits--;
  456|  27.7k|  count = bits / integerPartWidth;
  457|  27.7k|  partBits = bits % integerPartWidth + 1;
  458|       |
  459|  27.7k|  part = parts[count] & (~(integerPart) 0 >> (integerPartWidth - partBits));
  460|       |
  461|  27.7k|  if (isNearest)
  ------------------
  |  Branch (461:7): [True: 27.7k, False: 0]
  ------------------
  462|  27.7k|    boundary = (integerPart) 1 << (partBits - 1);
  463|      0|  else
  464|      0|    boundary = 0;
  465|       |
  466|  27.7k|  if (count == 0) {
  ------------------
  |  Branch (466:7): [True: 26.7k, False: 1.00k]
  ------------------
  467|  26.7k|    if (part - boundary <= boundary - part)
  ------------------
  |  Branch (467:9): [True: 16.2k, False: 10.5k]
  ------------------
  468|  16.2k|      return part - boundary;
  469|  10.5k|    else
  470|  10.5k|      return boundary - part;
  471|  26.7k|  }
  472|       |
  473|  1.00k|  if (part == boundary) {
  ------------------
  |  Branch (473:7): [True: 454, False: 548]
  ------------------
  474|  3.16k|    while (--count)
  ------------------
  |  Branch (474:12): [True: 2.74k, False: 420]
  ------------------
  475|  2.74k|      if (parts[count])
  ------------------
  |  Branch (475:11): [True: 34, False: 2.70k]
  ------------------
  476|     34|        return ~(integerPart) 0; /* A lot.  */
  477|       |
  478|    420|    return parts[0];
  479|    548|  } else if (part == boundary - 1) {
  ------------------
  |  Branch (479:14): [True: 464, False: 84]
  ------------------
  480|  2.93k|    while (--count)
  ------------------
  |  Branch (480:12): [True: 2.56k, False: 373]
  ------------------
  481|  2.56k|      if (~parts[count])
  ------------------
  |  Branch (481:11): [True: 91, False: 2.47k]
  ------------------
  482|     91|        return ~(integerPart) 0; /* A lot.  */
  483|       |
  484|    373|    return -parts[0];
  485|    464|  }
  486|       |
  487|     84|  return ~(integerPart) 0; /* A lot.  */
  488|  1.00k|}

_ZN7llvm_ks5APInt12initSlowCaseEjmb:
   77|   653k|void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) {
   78|   653k|  pVal = getClearedMemory(getNumWords());
   79|   653k|  pVal[0] = val;
   80|   653k|  if (isSigned && int64_t(val) < 0)
  ------------------
  |  Branch (80:7): [True: 649k, False: 3.85k]
  |  Branch (80:19): [True: 0, False: 649k]
  ------------------
   81|      0|    for (unsigned i = 1; i < getNumWords(); ++i)
  ------------------
  |  Branch (81:26): [True: 0, False: 0]
  ------------------
   82|      0|      pVal[i] = -1ULL;
   83|   653k|}
_ZN7llvm_ks5APInt12initSlowCaseERKS0_:
   85|  1.22M|void APInt::initSlowCase(const APInt& that) {
   86|  1.22M|  pVal = getMemory(getNumWords());
   87|  1.22M|  memcpy(pVal, that.pVal, getNumWords() * APINT_WORD_SIZE);
   88|  1.22M|}
_ZN7llvm_ks5APInt14AssignSlowCaseERKS0_:
  123|  1.95k|APInt& APInt::AssignSlowCase(const APInt& RHS) {
  124|       |  // Don't do anything for X = X
  125|  1.95k|  if (this == &RHS)
  ------------------
  |  Branch (125:7): [True: 0, False: 1.95k]
  ------------------
  126|      0|    return *this;
  127|       |
  128|  1.95k|  if (BitWidth == RHS.getBitWidth()) {
  ------------------
  |  Branch (128:7): [True: 214, False: 1.74k]
  ------------------
  129|       |    // assume same bit-width single-word case is already handled
  130|    214|    assert(!isSingleWord());
  ------------------
  |  Branch (130:5): [True: 214, False: 0]
  ------------------
  131|    214|    memcpy(pVal, RHS.pVal, getNumWords() * APINT_WORD_SIZE);
  132|    214|    return *this;
  133|    214|  }
  134|       |
  135|  1.74k|  if (isSingleWord()) {
  ------------------
  |  Branch (135:7): [True: 1.27k, False: 471]
  ------------------
  136|       |    // assume case where both are single words is already handled
  137|  1.27k|    assert(!RHS.isSingleWord());
  ------------------
  |  Branch (137:5): [True: 1.27k, False: 0]
  ------------------
  138|  1.27k|    VAL = 0;
  139|  1.27k|    pVal = getMemory(RHS.getNumWords());
  140|  1.27k|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  141|  1.27k|  } else if (getNumWords() == RHS.getNumWords())
  ------------------
  |  Branch (141:14): [True: 11, False: 460]
  ------------------
  142|     11|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  143|    460|  else if (RHS.isSingleWord()) {
  ------------------
  |  Branch (143:12): [True: 425, False: 35]
  ------------------
  144|    425|    delete [] pVal;
  145|    425|    VAL = RHS.VAL;
  146|    425|  } else {
  147|     35|    delete [] pVal;
  148|     35|    pVal = getMemory(RHS.getNumWords());
  149|     35|    memcpy(pVal, RHS.pVal, RHS.getNumWords() * APINT_WORD_SIZE);
  150|     35|  }
  151|  1.74k|  BitWidth = RHS.BitWidth;
  152|  1.74k|  return clearUnusedBits();
  153|  1.74k|}
_ZN7llvm_ks5APIntaSEm:
  155|   609k|APInt& APInt::operator=(uint64_t RHS) {
  156|   609k|  if (isSingleWord())
  ------------------
  |  Branch (156:7): [True: 0, False: 609k]
  ------------------
  157|      0|    VAL = RHS;
  158|   609k|  else {
  159|   609k|    pVal[0] = RHS;
  160|   609k|    memset(pVal+1, 0, (getNumWords() - 1) * APINT_WORD_SIZE);
  161|   609k|  }
  162|   609k|  return clearUnusedBits();
  163|   609k|}
_ZNK7llvm_ks5APInt9getHiBitsEj:
  686|    290|APInt APInt::getHiBits(unsigned numBits) const {
  687|    290|  return APIntOps::lshr(*this, BitWidth - numBits);
  688|    290|}
_ZNK7llvm_ks5APInt9getLoBitsEj:
  691|    290|APInt APInt::getLoBits(unsigned numBits) const {
  692|    290|  return APIntOps::lshr(APIntOps::shl(*this, BitWidth - numBits),
  693|    290|                        BitWidth - numBits);
  694|    290|}
_ZNK7llvm_ks5APInt25countLeadingZerosSlowCaseEv:
  696|   856k|unsigned APInt::countLeadingZerosSlowCase() const {
  697|       |  // Treat the most significand word differently because it might have
  698|       |  // meaningless bits set beyond the precision.
  699|   856k|  unsigned BitsInMSW = BitWidth % APINT_BITS_PER_WORD;
  700|   856k|  integerPart MSWMask;
  701|   856k|  if (BitsInMSW) MSWMask = (integerPart(1) << BitsInMSW) - 1;
  ------------------
  |  Branch (701:7): [True: 3.15k, False: 853k]
  ------------------
  702|   853k|  else {
  703|   853k|    MSWMask = ~integerPart(0);
  704|   853k|    BitsInMSW = APINT_BITS_PER_WORD;
  705|   853k|  }
  706|       |
  707|   856k|  unsigned i = getNumWords();
  708|   856k|  integerPart MSW = pVal[i-1] & MSWMask;
  709|   856k|  if (MSW)
  ------------------
  |  Branch (709:7): [True: 5.63k, False: 850k]
  ------------------
  710|  5.63k|    return llvm_ks::countLeadingZeros(MSW) - (APINT_BITS_PER_WORD - BitsInMSW);
  711|       |
  712|   850k|  unsigned Count = BitsInMSW;
  713|   850k|  for (--i; i > 0u; --i) {
  ------------------
  |  Branch (713:13): [True: 850k, False: 225]
  ------------------
  714|   850k|    if (pVal[i-1] == 0)
  ------------------
  |  Branch (714:9): [True: 233, False: 850k]
  ------------------
  715|    233|      Count += APINT_BITS_PER_WORD;
  716|   850k|    else {
  717|   850k|      Count += llvm_ks::countLeadingZeros(pVal[i-1]);
  718|   850k|      break;
  719|   850k|    }
  720|   850k|  }
  721|   850k|  return Count;
  722|   856k|}
_ZNK7llvm_ks5APInt4zextEj:
  998|  3.16k|APInt APInt::zext(unsigned width) const {
  999|  3.16k|  assert(width > BitWidth && "Invalid APInt ZeroExtend request");
  ------------------
  |  Branch (999:3): [True: 3.16k, False: 0]
  |  Branch (999:3): [True: 3.16k, Folded]
  |  Branch (999:3): [True: 3.16k, False: 0]
  ------------------
 1000|       |
 1001|  3.16k|  if (width <= APINT_BITS_PER_WORD)
  ------------------
  |  Branch (1001:7): [True: 0, False: 3.16k]
  ------------------
 1002|      0|    return APInt(width, VAL);
 1003|       |
 1004|  3.16k|  APInt Result(getMemory(getNumWords(width)), width);
 1005|       |
 1006|       |  // Copy words.
 1007|  3.16k|  unsigned i;
 1008|  9.48k|  for (i = 0; i != getNumWords(); i++)
  ------------------
  |  Branch (1008:15): [True: 6.32k, False: 3.16k]
  ------------------
 1009|  6.32k|    Result.pVal[i] = getRawData()[i];
 1010|       |
 1011|       |  // Zero remaining words.
 1012|  3.16k|  memset(&Result.pVal[i], 0, (Result.getNumWords() - i) * APINT_WORD_SIZE);
 1013|       |
 1014|  3.16k|  return Result;
 1015|  3.16k|}
_ZNK7llvm_ks5APInt4lshrEj:
 1144|    580|APInt APInt::lshr(unsigned shiftAmt) const {
 1145|    580|  if (isSingleWord()) {
  ------------------
  |  Branch (1145:7): [True: 0, False: 580]
  ------------------
 1146|      0|    if (shiftAmt >= BitWidth)
  ------------------
  |  Branch (1146:9): [True: 0, False: 0]
  ------------------
 1147|      0|      return APInt(BitWidth, 0);
 1148|      0|    else
 1149|      0|      return APInt(BitWidth, this->VAL >> shiftAmt);
 1150|      0|  }
 1151|       |
 1152|       |  // If all the bits were shifted out, the result is 0. This avoids issues
 1153|       |  // with shifting by the size of the integer type, which produces undefined
 1154|       |  // results. We define these "undefined results" to always be 0.
 1155|    580|  if (shiftAmt >= BitWidth)
  ------------------
  |  Branch (1155:7): [True: 0, False: 580]
  ------------------
 1156|      0|    return APInt(BitWidth, 0);
 1157|       |
 1158|       |  // If none of the bits are shifted out, the result is *this. This avoids
 1159|       |  // issues with shifting by the size of the integer type, which produces
 1160|       |  // undefined results in the code below. This is also an optimization.
 1161|    580|  if (shiftAmt == 0)
  ------------------
  |  Branch (1161:7): [True: 0, False: 580]
  ------------------
 1162|      0|    return *this;
 1163|       |
 1164|       |  // Create some space for the result.
 1165|    580|  uint64_t * val = new uint64_t[getNumWords()];
 1166|       |
 1167|       |  // If we are shifting less than a word, compute the shift with a simple carry
 1168|    580|  if (shiftAmt < APINT_BITS_PER_WORD) {
  ------------------
  |  Branch (1168:7): [True: 0, False: 580]
  ------------------
 1169|      0|    lshrNear(val, pVal, getNumWords(), shiftAmt);
 1170|      0|    APInt Result(val, BitWidth);
 1171|      0|    Result.clearUnusedBits();
 1172|      0|    return Result;
 1173|      0|  }
 1174|       |
 1175|       |  // Compute some values needed by the remaining shift algorithms
 1176|    580|  unsigned wordShift = shiftAmt % APINT_BITS_PER_WORD;
 1177|    580|  unsigned offset = shiftAmt / APINT_BITS_PER_WORD;
 1178|       |
 1179|       |  // If we are shifting whole words, just move whole words
 1180|    580|  if (wordShift == 0) {
  ------------------
  |  Branch (1180:7): [True: 576, False: 4]
  ------------------
 1181|  1.15k|    for (unsigned i = 0; i < getNumWords() - offset; ++i)
  ------------------
  |  Branch (1181:26): [True: 580, False: 576]
  ------------------
 1182|    580|      val[i] = pVal[i+offset];
 1183|  1.15k|    for (unsigned i = getNumWords()-offset; i < getNumWords(); i++)
  ------------------
  |  Branch (1183:45): [True: 576, False: 576]
  ------------------
 1184|    576|      val[i] = 0;
 1185|    576|    APInt Result(val, BitWidth);
 1186|    576|    Result.clearUnusedBits();
 1187|    576|    return Result;
 1188|    576|  }
 1189|       |
 1190|       |  // Shift the low order words
 1191|      4|  unsigned breakWord = getNumWords() - offset -1;
 1192|      8|  for (unsigned i = 0; i < breakWord; ++i)
  ------------------
  |  Branch (1192:24): [True: 4, False: 4]
  ------------------
 1193|      4|    val[i] = (pVal[i+offset] >> wordShift) |
 1194|      4|             (pVal[i+offset+1] << (APINT_BITS_PER_WORD - wordShift));
 1195|       |  // Shift the break word.
 1196|      4|  val[breakWord] = pVal[breakWord+offset] >> wordShift;
 1197|       |
 1198|       |  // Remaining words are 0
 1199|      8|  for (unsigned i = breakWord+1; i < getNumWords(); ++i)
  ------------------
  |  Branch (1199:34): [True: 4, False: 4]
  ------------------
 1200|      4|    val[i] = 0;
 1201|      4|  APInt Result(val, BitWidth);
 1202|      4|  Result.clearUnusedBits();
 1203|      4|  return Result;
 1204|    580|}
_ZNK7llvm_ks5APInt11shlSlowCaseEj:
 1213|  1.68M|APInt APInt::shlSlowCase(unsigned shiftAmt) const {
 1214|       |  // If all the bits were shifted out, the result is 0. This avoids issues
 1215|       |  // with shifting by the size of the integer type, which produces undefined
 1216|       |  // results. We define these "undefined results" to always be 0.
 1217|  1.68M|  if (shiftAmt == BitWidth)
  ------------------
  |  Branch (1217:7): [True: 0, False: 1.68M]
  ------------------
 1218|      0|    return APInt(BitWidth, 0);
 1219|       |
 1220|       |  // If none of the bits are shifted out, the result is *this. This avoids a
 1221|       |  // lshr by the words size in the loop below which can produce incorrect
 1222|       |  // results. It also avoids the expensive computation below for a common case.
 1223|  1.68M|  if (shiftAmt == 0)
  ------------------
  |  Branch (1223:7): [True: 0, False: 1.68M]
  ------------------
 1224|      0|    return *this;
 1225|       |
 1226|       |  // Create some space for the result.
 1227|  1.68M|  uint64_t * val = new uint64_t[getNumWords()];
 1228|       |
 1229|       |  // If we are shifting less than a word, do it the easy way
 1230|  1.68M|  if (shiftAmt < APINT_BITS_PER_WORD) {
  ------------------
  |  Branch (1230:7): [True: 1.68M, False: 290]
  ------------------
 1231|  1.68M|    uint64_t carry = 0;
 1232|  11.3M|    for (unsigned i = 0; i < getNumWords(); i++) {
  ------------------
  |  Branch (1232:26): [True: 9.63M, False: 1.68M]
  ------------------
 1233|  9.63M|      val[i] = pVal[i] << shiftAmt | carry;
 1234|  9.63M|      carry = pVal[i] >> (APINT_BITS_PER_WORD - shiftAmt);
 1235|  9.63M|    }
 1236|  1.68M|    APInt Result(val, BitWidth);
 1237|  1.68M|    Result.clearUnusedBits();
 1238|  1.68M|    return Result;
 1239|  1.68M|  }
 1240|       |
 1241|       |  // Compute some values needed by the remaining shift algorithms
 1242|    290|  unsigned wordShift = shiftAmt % APINT_BITS_PER_WORD;
 1243|    290|  unsigned offset = shiftAmt / APINT_BITS_PER_WORD;
 1244|       |
 1245|       |  // If we are shifting whole words, just move whole words
 1246|    290|  if (wordShift == 0) {
  ------------------
  |  Branch (1246:7): [True: 286, False: 4]
  ------------------
 1247|    572|    for (unsigned i = 0; i < offset; i++)
  ------------------
  |  Branch (1247:26): [True: 286, False: 286]
  ------------------
 1248|    286|      val[i] = 0;
 1249|    572|    for (unsigned i = offset; i < getNumWords(); i++)
  ------------------
  |  Branch (1249:31): [True: 286, False: 286]
  ------------------
 1250|    286|      val[i] = pVal[i-offset];
 1251|    286|    APInt Result(val, BitWidth);
 1252|    286|    Result.clearUnusedBits();
 1253|    286|    return Result;
 1254|    286|  }
 1255|       |
 1256|       |  // Copy whole words from this to Result.
 1257|      4|  unsigned i = getNumWords() - 1;
 1258|      8|  for (; i > offset; --i)
  ------------------
  |  Branch (1258:10): [True: 4, False: 4]
  ------------------
 1259|      4|    val[i] = pVal[i-offset] << wordShift |
 1260|      4|             pVal[i-offset-1] >> (APINT_BITS_PER_WORD - wordShift);
 1261|      4|  val[offset] = pVal[0] << wordShift;
 1262|      8|  for (i = 0; i < offset; ++i)
  ------------------
  |  Branch (1262:15): [True: 4, False: 4]
  ------------------
 1263|      4|    val[i] = 0;
 1264|      4|  APInt Result(val, BitWidth);
 1265|      4|  Result.clearUnusedBits();
 1266|      4|  return Result;
 1267|    290|}
_ZN7llvm_ks5APInt5tcSetEPmmj:
 2307|  70.8k|{
 2308|  70.8k|  unsigned int i;
 2309|       |
 2310|  70.8k|  assert(parts > 0);
  ------------------
  |  Branch (2310:3): [True: 70.8k, False: 0]
  ------------------
 2311|       |
 2312|  70.8k|  dst[0] = part;
 2313|   126k|  for (i = 1; i < parts; i++)
  ------------------
  |  Branch (2313:15): [True: 55.1k, False: 70.8k]
  ------------------
 2314|  55.1k|    dst[i] = 0;
 2315|  70.8k|}
_ZN7llvm_ks5APInt8tcAssignEPmPKmj:
 2320|  92.8k|{
 2321|  92.8k|  unsigned int i;
 2322|       |
 2323|   212k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2323:15): [True: 119k, False: 92.8k]
  ------------------
 2324|   119k|    dst[i] = src[i];
 2325|  92.8k|}
_ZN7llvm_ks5APInt8tcIsZeroEPKmj:
 2330|  64.3k|{
 2331|  64.3k|  unsigned int i;
 2332|       |
 2333|  72.7k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2333:15): [True: 71.2k, False: 1.48k]
  ------------------
 2334|  71.2k|    if (src[i])
  ------------------
  |  Branch (2334:9): [True: 62.8k, False: 8.47k]
  ------------------
 2335|  62.8k|      return false;
 2336|       |
 2337|  1.48k|  return true;
 2338|  64.3k|}
_ZN7llvm_ks5APInt12tcExtractBitEPKmj:
 2343|  57.8k|{
 2344|  57.8k|  return (parts[bit / integerPartWidth] &
 2345|  57.8k|          ((integerPart) 1 << bit % integerPartWidth)) != 0;
 2346|  57.8k|}
_ZN7llvm_ks5APInt8tcSetBitEPmj:
 2351|   855k|{
 2352|   855k|  parts[bit / integerPartWidth] |= (integerPart) 1 << (bit % integerPartWidth);
 2353|   855k|}
_ZN7llvm_ks5APInt5tcLSBEPKmj:
 2367|  44.7k|{
 2368|  44.7k|  unsigned int i, lsb;
 2369|       |
 2370|  48.8k|  for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2370:15): [True: 48.8k, False: 0]
  ------------------
 2371|  48.8k|      if (parts[i] != 0) {
  ------------------
  |  Branch (2371:11): [True: 44.7k, False: 4.17k]
  ------------------
 2372|  44.7k|          lsb = partLSB(parts[i]);
 2373|       |
 2374|  44.7k|          return lsb + i * integerPartWidth;
 2375|  44.7k|      }
 2376|  48.8k|  }
 2377|       |
 2378|      0|  return -1U;
 2379|  44.7k|}
_ZN7llvm_ks5APInt5tcMSBEPKmj:
 2385|   211k|{
 2386|   211k|  unsigned int msb;
 2387|       |
 2388|   215k|  do {
 2389|   215k|    --n;
 2390|       |
 2391|   215k|    if (parts[n] != 0) {
  ------------------
  |  Branch (2391:9): [True: 210k, False: 4.88k]
  ------------------
 2392|   210k|      msb = partMSB(parts[n]);
 2393|       |
 2394|   210k|      return msb + n * integerPartWidth;
 2395|   210k|    }
 2396|   215k|  } while (n);
  ------------------
  |  Branch (2396:12): [True: 3.93k, False: 951]
  ------------------
 2397|       |
 2398|    951|  return -1U;
 2399|   211k|}
_ZN7llvm_ks5APInt9tcExtractEPmjPKmjj:
 2408|  82.2k|{
 2409|  82.2k|  unsigned int firstSrcPart, dstParts, shift, n;
 2410|       |
 2411|  82.2k|  dstParts = (srcBits + integerPartWidth - 1) / integerPartWidth;
 2412|  82.2k|  assert(dstParts <= dstCount);
  ------------------
  |  Branch (2412:3): [True: 82.2k, False: 0]
  ------------------
 2413|       |
 2414|  82.2k|  firstSrcPart = srcLSB / integerPartWidth;
 2415|  82.2k|  tcAssign (dst, src + firstSrcPart, dstParts);
 2416|       |
 2417|  82.2k|  shift = srcLSB % integerPartWidth;
 2418|  82.2k|  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|  82.2k|  n = dstParts * integerPartWidth - shift;
 2424|  82.2k|  if (n < srcBits) {
  ------------------
  |  Branch (2424:7): [True: 5.29k, False: 76.9k]
  ------------------
 2425|  5.29k|    integerPart mask = lowBitMask (srcBits - n);
 2426|  5.29k|    dst[dstParts - 1] |= ((src[firstSrcPart + dstParts] & mask)
 2427|  5.29k|                          << n % integerPartWidth);
 2428|  76.9k|  } else if (n > srcBits) {
  ------------------
  |  Branch (2428:14): [True: 76.5k, False: 382]
  ------------------
 2429|  76.5k|    if (srcBits % integerPartWidth)
  ------------------
  |  Branch (2429:9): [True: 76.4k, False: 144]
  ------------------
 2430|  76.4k|      dst[dstParts - 1] &= lowBitMask (srcBits % integerPartWidth);
 2431|  76.5k|  }
 2432|       |
 2433|       |  /* Clear high parts.  */
 2434|  86.3k|  while (dstParts < dstCount)
  ------------------
  |  Branch (2434:10): [True: 4.07k, False: 82.2k]
  ------------------
 2435|  4.07k|    dst[dstParts++] = 0;
 2436|  82.2k|}
_ZN7llvm_ks5APInt10tcSubtractEPmPKmmj:
 2467|   855k|{
 2468|   855k|  unsigned int i;
 2469|       |
 2470|   855k|  assert(c <= 1);
  ------------------
  |  Branch (2470:3): [True: 855k, False: 0]
  ------------------
 2471|       |
 2472|  18.3M|  for (i = 0; i < parts; i++) {
  ------------------
  |  Branch (2472:15): [True: 17.4M, False: 855k]
  ------------------
 2473|  17.4M|    integerPart l;
 2474|       |
 2475|  17.4M|    l = dst[i];
 2476|  17.4M|    if (c) {
  ------------------
  |  Branch (2476:9): [True: 3.92M, False: 13.5M]
  ------------------
 2477|  3.92M|      dst[i] -= rhs[i] + 1;
 2478|  3.92M|      c = (dst[i] >= l);
 2479|  13.5M|    } else {
 2480|  13.5M|      dst[i] -= rhs[i];
 2481|  13.5M|      c = (dst[i] > l);
 2482|  13.5M|    }
 2483|  17.4M|  }
 2484|       |
 2485|   855k|  return c;
 2486|   855k|}
_ZN7llvm_ks5APInt14tcMultiplyPartEPmPKmmmjjb:
 2512|  94.4k|{
 2513|  94.4k|  unsigned int i, n;
 2514|       |
 2515|       |  /* Otherwise our writes of DST kill our later reads of SRC.  */
 2516|  94.4k|  assert(dst <= src || dst >= src + srcParts);
  ------------------
  |  Branch (2516:3): [True: 47.2k, False: 47.2k]
  |  Branch (2516:3): [True: 47.2k, False: 0]
  |  Branch (2516:3): [True: 94.4k, False: 0]
  ------------------
 2517|  94.4k|  assert(dstParts <= srcParts + 1);
  ------------------
  |  Branch (2517:3): [True: 94.4k, False: 0]
  ------------------
 2518|       |
 2519|       |  /* N loops; minimum of dstParts and srcParts.  */
 2520|  94.4k|  n = dstParts < srcParts ? dstParts: srcParts;
  ------------------
  |  Branch (2520:7): [True: 0, False: 94.4k]
  ------------------
 2521|       |
 2522|   449k|  for (i = 0; i < n; i++) {
  ------------------
  |  Branch (2522:15): [True: 354k, False: 94.4k]
  ------------------
 2523|   354k|    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|   354k|    srcPart = src[i];
 2534|       |
 2535|   354k|    if (multiplier == 0 || srcPart == 0)        {
  ------------------
  |  Branch (2535:9): [True: 42, False: 354k]
  |  Branch (2535:28): [True: 18.4k, False: 336k]
  ------------------
 2536|  18.5k|      low = carry;
 2537|  18.5k|      high = 0;
 2538|   336k|    } else {
 2539|   336k|      low = lowHalf(srcPart) * lowHalf(multiplier);
 2540|   336k|      high = highHalf(srcPart) * highHalf(multiplier);
 2541|       |
 2542|   336k|      mid = lowHalf(srcPart) * highHalf(multiplier);
 2543|   336k|      high += highHalf(mid);
 2544|   336k|      mid <<= integerPartWidth / 2;
 2545|   336k|      if (low + mid < low)
  ------------------
  |  Branch (2545:11): [True: 61.8k, False: 274k]
  ------------------
 2546|  61.8k|        high++;
 2547|   336k|      low += mid;
 2548|       |
 2549|   336k|      mid = highHalf(srcPart) * lowHalf(multiplier);
 2550|   336k|      high += highHalf(mid);
 2551|   336k|      mid <<= integerPartWidth / 2;
 2552|   336k|      if (low + mid < low)
  ------------------
  |  Branch (2552:11): [True: 138k, False: 197k]
  ------------------
 2553|   138k|        high++;
 2554|   336k|      low += mid;
 2555|       |
 2556|       |      /* Now add carry.  */
 2557|   336k|      if (low + carry < low)
  ------------------
  |  Branch (2557:11): [True: 55.1k, False: 280k]
  ------------------
 2558|  55.1k|        high++;
 2559|   336k|      low += carry;
 2560|   336k|    }
 2561|       |
 2562|   354k|    if (add) {
  ------------------
  |  Branch (2562:9): [True: 222k, False: 132k]
  ------------------
 2563|       |      /* And now DST[i], and store the new low part there.  */
 2564|   222k|      if (low + dst[i] < low)
  ------------------
  |  Branch (2564:11): [True: 60.0k, False: 162k]
  ------------------
 2565|  60.0k|        high++;
 2566|   222k|      dst[i] += low;
 2567|   222k|    } else
 2568|   132k|      dst[i] = low;
 2569|       |
 2570|   354k|    carry = high;
 2571|   354k|  }
 2572|       |
 2573|  94.4k|  if (i < dstParts) {
  ------------------
  |  Branch (2573:7): [True: 94.4k, False: 0]
  ------------------
 2574|       |    /* Full multiplication, there is no overflow.  */
 2575|  94.4k|    assert(i + 1 == dstParts);
  ------------------
  |  Branch (2575:5): [True: 94.4k, False: 0]
  ------------------
 2576|  94.4k|    dst[i] = carry;
 2577|  94.4k|    return 0;
 2578|  94.4k|  } 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|  94.4k|}
_ZN7llvm_ks5APInt14tcFullMultiplyEPmPKmS3_jj:
 2627|  37.0k|{
 2628|       |  /* Put the narrower number on the LHS for less loops below.  */
 2629|  37.0k|  if (lhsParts > rhsParts) {
  ------------------
  |  Branch (2629:7): [True: 0, False: 37.0k]
  ------------------
 2630|      0|    return tcFullMultiply (dst, rhs, lhs, rhsParts, lhsParts);
 2631|  37.0k|  } else {
 2632|  37.0k|    unsigned int n;
 2633|       |
 2634|  37.0k|    assert(dst != lhs && dst != rhs);
  ------------------
  |  Branch (2634:5): [True: 37.0k, False: 0]
  |  Branch (2634:5): [True: 37.0k, False: 0]
  |  Branch (2634:5): [True: 37.0k, False: 0]
  ------------------
 2635|       |
 2636|  37.0k|    tcSet(dst, 0, rhsParts);
 2637|       |
 2638|  99.4k|    for (n = 0; n < lhsParts; n++)
  ------------------
  |  Branch (2638:17): [True: 62.4k, False: 37.0k]
  ------------------
 2639|  62.4k|      tcMultiplyPart(&dst[n], rhs, lhs[n], 0, rhsParts, rhsParts + 1, true);
 2640|       |
 2641|  37.0k|    n = lhsParts + rhsParts;
 2642|       |
 2643|  37.0k|    return n - (dst[n - 1] == 0);
 2644|  37.0k|  }
 2645|  37.0k|}
_ZN7llvm_ks5APInt11tcShiftLeftEPmjj:
 2706|  1.85M|{
 2707|  1.85M|  if (count) {
  ------------------
  |  Branch (2707:7): [True: 1.85M, False: 0]
  ------------------
 2708|  1.85M|    unsigned int jump, shift;
 2709|       |
 2710|       |    /* Jump is the inter-part jump; shift is is intra-part shift.  */
 2711|  1.85M|    jump = count / integerPartWidth;
 2712|  1.85M|    shift = count % integerPartWidth;
 2713|       |
 2714|  38.0M|    while (parts > jump) {
  ------------------
  |  Branch (2714:12): [True: 36.1M, False: 1.85M]
  ------------------
 2715|  36.1M|      integerPart part;
 2716|       |
 2717|  36.1M|      parts--;
 2718|       |
 2719|       |      /* dst[i] comes from the two parts src[i - jump] and, if we have
 2720|       |         an intra-part shift, src[i - jump - 1].  */
 2721|  36.1M|      part = dst[parts - jump];
 2722|  36.1M|      if (shift) {
  ------------------
  |  Branch (2722:11): [True: 36.1M, False: 556]
  ------------------
 2723|  36.1M|        part <<= shift;
 2724|  36.1M|        if (parts >= jump + 1)
  ------------------
  |  Branch (2724:13): [True: 34.3M, False: 1.85M]
  ------------------
 2725|  34.3M|          part |= dst[parts - jump - 1] >> (integerPartWidth - shift);
 2726|  36.1M|      }
 2727|       |
 2728|  36.1M|      dst[parts] = part;
 2729|  36.1M|    }
 2730|       |
 2731|  1.85M|    while (parts > 0)
  ------------------
  |  Branch (2731:12): [True: 3.92k, False: 1.85M]
  ------------------
 2732|  3.92k|      dst[--parts] = 0;
 2733|  1.85M|  }
 2734|  1.85M|}
_ZN7llvm_ks5APInt12tcShiftRightEPmjj:
 2740|  93.8k|{
 2741|  93.8k|  if (count) {
  ------------------
  |  Branch (2741:7): [True: 44.0k, False: 49.8k]
  ------------------
 2742|  44.0k|    unsigned int i, jump, shift;
 2743|       |
 2744|       |    /* Jump is the inter-part jump; shift is is intra-part shift.  */
 2745|  44.0k|    jump = count / integerPartWidth;
 2746|  44.0k|    shift = count % integerPartWidth;
 2747|       |
 2748|       |    /* Perform the shift.  This leaves the most significant COUNT bits
 2749|       |       of the result at zero.  */
 2750|   100k|    for (i = 0; i < parts; i++) {
  ------------------
  |  Branch (2750:17): [True: 56.5k, False: 44.0k]
  ------------------
 2751|  56.5k|      integerPart part;
 2752|       |
 2753|  56.5k|      if (i + jump >= parts) {
  ------------------
  |  Branch (2753:11): [True: 1.70k, False: 54.8k]
  ------------------
 2754|  1.70k|        part = 0;
 2755|  54.8k|      } else {
 2756|  54.8k|        part = dst[i + jump];
 2757|  54.8k|        if (shift) {
  ------------------
  |  Branch (2757:13): [True: 54.8k, False: 0]
  ------------------
 2758|  54.8k|          part >>= shift;
 2759|  54.8k|          if (i + jump + 1 < parts)
  ------------------
  |  Branch (2759:15): [True: 12.6k, False: 42.2k]
  ------------------
 2760|  12.6k|            part |= dst[i + jump + 1] << (integerPartWidth - shift);
 2761|  54.8k|        }
 2762|  54.8k|      }
 2763|       |
 2764|  56.5k|      dst[i] = part;
 2765|  56.5k|    }
 2766|  44.0k|  }
 2767|  93.8k|}
_ZN7llvm_ks5APInt9tcCompareEPKmS2_j:
 2813|  1.84M|{
 2814|  1.85M|  while (parts) {
  ------------------
  |  Branch (2814:10): [True: 1.85M, False: 2.88k]
  ------------------
 2815|  1.85M|      parts--;
 2816|  1.85M|      if (lhs[parts] == rhs[parts])
  ------------------
  |  Branch (2816:11): [True: 8.14k, False: 1.84M]
  ------------------
 2817|  8.14k|        continue;
 2818|       |
 2819|  1.84M|      if (lhs[parts] > rhs[parts])
  ------------------
  |  Branch (2819:11): [True: 879k, False: 963k]
  ------------------
 2820|   879k|        return 1;
 2821|   963k|      else
 2822|   963k|        return -1;
 2823|  1.84M|    }
 2824|       |
 2825|  2.88k|  return 0;
 2826|  1.84M|}
_ZN7llvm_ks5APInt11tcIncrementEPmj:
 2831|  19.8k|{
 2832|  19.8k|  unsigned int i;
 2833|       |
 2834|  19.9k|  for (i = 0; i < parts; i++)
  ------------------
  |  Branch (2834:15): [True: 19.9k, False: 0]
  ------------------
 2835|  19.9k|    if (++dst[i] != 0)
  ------------------
  |  Branch (2835:9): [True: 19.8k, False: 136]
  ------------------
 2836|  19.8k|      break;
 2837|       |
 2838|  19.8k|  return i == parts;
 2839|  19.8k|}
APInt.cpp:_ZL16getClearedMemoryj:
   34|   653k|inline static uint64_t* getClearedMemory(unsigned numWords) {
   35|   653k|  uint64_t * result = new uint64_t[numWords];
   36|   653k|  assert(result && "APInt memory allocation fails!");
  ------------------
  |  Branch (36:3): [True: 653k, False: 0]
  |  Branch (36:3): [True: 653k, Folded]
  |  Branch (36:3): [True: 653k, False: 0]
  ------------------
   37|   653k|  memset(result, 0, numWords * sizeof(uint64_t));
   38|   653k|  return result;
   39|   653k|}
APInt.cpp:_ZL9getMemoryj:
   43|  1.23M|inline static uint64_t* getMemory(unsigned numWords) {
   44|  1.23M|  uint64_t * result = new uint64_t[numWords];
   45|  1.23M|  assert(result && "APInt memory allocation fails!");
  ------------------
  |  Branch (45:3): [True: 1.23M, False: 0]
  |  Branch (45:3): [True: 1.23M, Folded]
  |  Branch (45:3): [True: 1.23M, False: 0]
  ------------------
   46|  1.23M|  return result;
   47|  1.23M|}
APInt.cpp:_ZN12_GLOBAL__N_17partLSBEm:
 2298|  44.7k|  {
 2299|  44.7k|    return findFirstSet(value, ZB_Max);
 2300|  44.7k|  }
APInt.cpp:_ZN12_GLOBAL__N_17partMSBEm:
 2290|   210k|  {
 2291|   210k|    return findLastSet(value, ZB_Max);
 2292|   210k|  }
APInt.cpp:_ZN12_GLOBAL__N_110lowBitMaskEj:
 2266|  1.42M|  {
 2267|  1.42M|    assert(bits != 0 && bits <= integerPartWidth);
  ------------------
  |  Branch (2267:5): [True: 1.42M, False: 0]
  |  Branch (2267:5): [True: 1.42M, False: 0]
  |  Branch (2267:5): [True: 1.42M, False: 0]
  ------------------
 2268|       |
 2269|  1.42M|    return ~(integerPart) 0 >> (integerPartWidth - bits);
 2270|  1.42M|  }
APInt.cpp:_ZN12_GLOBAL__N_17lowHalfEm:
 2275|  1.34M|  {
 2276|  1.34M|    return part & lowBitMask(integerPartWidth / 2);
 2277|  1.34M|  }
APInt.cpp:_ZN12_GLOBAL__N_18highHalfEm:
 2282|  2.01M|  {
 2283|  2.01M|    return part >> (integerPartWidth / 2);
 2284|  2.01M|  }

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

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

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

_ZN7llvm_ks9SourceMgrD2Ev:
   38|  13.4k|SourceMgr::~SourceMgr() {
   39|       |  // Delete the line # cache if allocated.
   40|  13.4k|  if (LineNoCacheTy *Cache = getCache(LineNoCache))
  ------------------
  |  Branch (40:22): [True: 1.39k, False: 12.0k]
  ------------------
   41|  1.39k|    delete Cache;
   42|  13.4k|}
_ZN7llvm_ks9SourceMgr14AddIncludeFileERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_5SMLocERS7_:
   46|      6|                                   std::string &IncludedFile) {
   47|      6|  IncludedFile = Filename;
   48|      6|  ErrorOr<std::unique_ptr<MemoryBuffer>> NewBufOrErr =
   49|      6|    MemoryBuffer::getFile(IncludedFile);
   50|       |
   51|       |  // If the file didn't exist directly, see if it's in an include path.
   52|      6|  for (unsigned i = 0, e = IncludeDirectories.size(); i != e && !NewBufOrErr;
  ------------------
  |  Branch (52:55): [True: 0, False: 6]
  |  Branch (52:65): [True: 0, False: 0]
  ------------------
   53|      6|       ++i) {
   54|      0|    IncludedFile =
   55|      0|        IncludeDirectories[i] + sys::path::get_separator().data() + Filename;
   56|      0|    NewBufOrErr = MemoryBuffer::getFile(IncludedFile);
   57|      0|  }
   58|       |
   59|      6|  if (!NewBufOrErr)
  ------------------
  |  Branch (59:7): [True: 6, False: 0]
  ------------------
   60|      6|    return 0;
   61|       |
   62|      0|  return AddNewSourceBuffer(std::move(*NewBufOrErr), IncludeLoc);
   63|      6|}
_ZNK7llvm_ks9SourceMgr23FindBufferContainingLocENS_5SMLocE:
   65|   202k|unsigned SourceMgr::FindBufferContainingLoc(SMLoc Loc) const {
   66|  21.9M|  for (unsigned i = 0, e = Buffers.size(); i != e; ++i)
  ------------------
  |  Branch (66:44): [True: 21.9M, False: 56.3k]
  ------------------
   67|  21.9M|    if (Loc.getPointer() >= Buffers[i].Buffer->getBufferStart() &&
  ------------------
  |  Branch (67:9): [True: 12.7M, False: 9.18M]
  ------------------
   68|       |        // Use <= here so that a pointer to the null at the end of the buffer
   69|       |        // is included as part of the buffer.
   70|  12.7M|        Loc.getPointer() <= Buffers[i].Buffer->getBufferEnd())
  ------------------
  |  Branch (70:9): [True: 146k, False: 12.5M]
  ------------------
   71|   146k|      return i + 1;
   72|  56.3k|  return 0;
   73|   202k|}
_ZNK7llvm_ks9SourceMgr16getLineAndColumnENS_5SMLocEj:
   76|  49.9k|SourceMgr::getLineAndColumn(SMLoc Loc, unsigned BufferID) const {
   77|  49.9k|  if (!BufferID)
  ------------------
  |  Branch (77:7): [True: 0, False: 49.9k]
  ------------------
   78|      0|    BufferID = FindBufferContainingLoc(Loc);
   79|  49.9k|  assert(BufferID && "Invalid Location!");
  ------------------
  |  Branch (79:3): [True: 49.9k, False: 0]
  |  Branch (79:3): [True: 49.9k, Folded]
  |  Branch (79:3): [True: 49.9k, False: 0]
  ------------------
   80|       |
   81|  49.9k|  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|  49.9k|  unsigned LineNo = 1;
   86|       |
   87|  49.9k|  const char *BufStart = Buff->getBufferStart();
   88|  49.9k|  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|  49.9k|  if (LineNoCacheTy *Cache = getCache(LineNoCache))
  ------------------
  |  Branch (93:22): [True: 48.5k, False: 1.39k]
  ------------------
   94|  48.5k|    if (Cache->LastQueryBufferID == BufferID &&
  ------------------
  |  Branch (94:9): [True: 7.05k, False: 41.5k]
  ------------------
   95|  7.05k|        Cache->LastQuery <= Loc.getPointer()) {
  ------------------
  |  Branch (95:9): [True: 6.04k, False: 1.01k]
  ------------------
   96|  6.04k|      Ptr = Cache->LastQuery;
   97|  6.04k|      LineNo = Cache->LineNoOfQuery;
   98|  6.04k|    }
   99|       |
  100|       |  // Scan for the location being queried, keeping track of the number of lines
  101|       |  // we see.
  102|  14.0M|  for (; SMLoc::getFromPointer(Ptr) != Loc; ++Ptr)
  ------------------
  |  Branch (102:10): [True: 13.9M, False: 49.9k]
  ------------------
  103|  13.9M|    if (*Ptr == '\n') ++LineNo;
  ------------------
  |  Branch (103:9): [True: 209k, False: 13.7M]
  ------------------
  104|       |
  105|       |  // Allocate the line number cache if it doesn't exist.
  106|  49.9k|  if (!LineNoCache)
  ------------------
  |  Branch (106:7): [True: 1.39k, False: 48.5k]
  ------------------
  107|  1.39k|    LineNoCache = new LineNoCacheTy();
  108|       |
  109|       |  // Update the line # cache.
  110|  49.9k|  LineNoCacheTy &Cache = *getCache(LineNoCache);
  111|  49.9k|  Cache.LastQueryBufferID = BufferID;
  112|  49.9k|  Cache.LastQuery = Ptr;
  113|  49.9k|  Cache.LineNoOfQuery = LineNo;
  114|       |  
  115|  49.9k|  size_t NewlineOffs = StringRef(BufStart, Ptr-BufStart).find_last_of("\n\r");
  116|  49.9k|  if (NewlineOffs == StringRef::npos) NewlineOffs = ~(size_t)0;
  ------------------
  |  Branch (116:7): [True: 37.1k, False: 12.7k]
  ------------------
  117|  49.9k|  return std::make_pair(LineNo, Ptr-BufStart-NewlineOffs);
  118|  49.9k|}
_ZNK7llvm_ks9SourceMgr17PrintIncludeStackENS_5SMLocERNS_11raw_ostreamE:
  120|  34.8k|void SourceMgr::PrintIncludeStack(SMLoc IncludeLoc, raw_ostream &OS) const {
  121|  34.8k|  if (IncludeLoc == SMLoc()) return;  // Top of stack.
  ------------------
  |  Branch (121:7): [True: 34.8k, 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|  51.4k|                                   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|  51.4k|  SmallVector<std::pair<unsigned, unsigned>, 4> ColRanges;
  142|  51.4k|  std::pair<unsigned, unsigned> LineAndCol;
  143|  51.4k|  const char *BufferID = "<unknown>";
  144|  51.4k|  std::string LineStr;
  145|       |  
  146|  51.4k|  if (Loc.isValid()) {
  ------------------
  |  Branch (146:7): [True: 47.9k, False: 3.57k]
  ------------------
  147|  47.9k|    unsigned CurBuf = FindBufferContainingLoc(Loc);
  148|  47.9k|    assert(CurBuf && "Invalid or unspecified location!");
  ------------------
  |  Branch (148:5): [True: 47.9k, False: 0]
  |  Branch (148:5): [True: 47.9k, Folded]
  |  Branch (148:5): [True: 47.9k, False: 0]
  ------------------
  149|       |
  150|  47.9k|    const MemoryBuffer *CurMB = getMemoryBuffer(CurBuf);
  151|  47.9k|    BufferID = CurMB->getBufferIdentifier();
  152|       |    
  153|       |    // Scan backward to find the start of the line.
  154|  47.9k|    const char *LineStart = Loc.getPointer();
  155|  47.9k|    const char *BufStart = CurMB->getBufferStart();
  156|  1.15M|    while (LineStart != BufStart && LineStart[-1] != '\n' &&
  ------------------
  |  Branch (156:12): [True: 1.11M, False: 36.3k]
  |  Branch (156:37): [True: 1.10M, False: 5.06k]
  ------------------
  157|  1.10M|           LineStart[-1] != '\r')
  ------------------
  |  Branch (157:12): [True: 1.10M, False: 6.51k]
  ------------------
  158|  1.10M|      --LineStart;
  159|       |
  160|       |    // Get the end of the line.
  161|  47.9k|    const char *LineEnd = Loc.getPointer();
  162|  47.9k|    const char *BufEnd = CurMB->getBufferEnd();
  163|  1.22M|    while (LineEnd != BufEnd && LineEnd[0] != '\n' && LineEnd[0] != '\r')
  ------------------
  |  Branch (163:12): [True: 1.22M, False: 2.42k]
  |  Branch (163:33): [True: 1.18M, False: 37.2k]
  |  Branch (163:55): [True: 1.17M, False: 8.23k]
  ------------------
  164|  1.17M|      ++LineEnd;
  165|  47.9k|    LineStr = std::string(LineStart, LineEnd);
  166|       |
  167|       |    // Convert any ranges to column ranges that only intersect the line of the
  168|       |    // location.
  169|  47.9k|    for (unsigned i = 0, e = Ranges.size(); i != e; ++i) {
  ------------------
  |  Branch (169:45): [True: 44, False: 47.9k]
  ------------------
  170|     44|      SMRange R = Ranges[i];
  171|     44|      if (!R.isValid()) continue;
  ------------------
  |  Branch (171:11): [True: 0, False: 44]
  ------------------
  172|       |      
  173|       |      // If the line doesn't contain any part of the range, then ignore it.
  174|     44|      if (R.Start.getPointer() > LineEnd || R.End.getPointer() < LineStart)
  ------------------
  |  Branch (174:11): [True: 0, False: 44]
  |  Branch (174:45): [True: 0, False: 44]
  ------------------
  175|      0|        continue;
  176|       |     
  177|       |      // Ignore pieces of the range that go onto other lines.
  178|     44|      if (R.Start.getPointer() < LineStart)
  ------------------
  |  Branch (178:11): [True: 0, False: 44]
  ------------------
  179|      0|        R.Start = SMLoc::getFromPointer(LineStart);
  180|     44|      if (R.End.getPointer() > LineEnd)
  ------------------
  |  Branch (180:11): [True: 4, False: 40]
  ------------------
  181|      4|        R.End = SMLoc::getFromPointer(LineEnd);
  182|       |      
  183|       |      // Translate from SMLoc ranges to column ranges.
  184|       |      // FIXME: Handle multibyte characters.
  185|     44|      ColRanges.push_back(std::make_pair(R.Start.getPointer()-LineStart,
  186|     44|                                         R.End.getPointer()-LineStart));
  187|     44|    }
  188|       |
  189|  47.9k|    LineAndCol = getLineAndColumn(Loc, CurBuf);
  190|  47.9k|  }
  191|       |    
  192|  51.4k|  return SMDiagnostic(*this, Loc, BufferID, LineAndCol.first,
  193|  51.4k|                      LineAndCol.second-1, Kind, Msg.str(),
  194|  51.4k|                      LineStr, ColRanges, FixIts);
  195|  51.4k|}
_ZNK7llvm_ks9SourceMgr12PrintMessageERNS_11raw_ostreamERKNS_12SMDiagnosticEb:
  198|  51.4k|                             bool ShowColors) const {
  199|       |  // Report the message with the diagnostic handler if present.
  200|  51.4k|  if (DiagHandler) {
  ------------------
  |  Branch (200:7): [True: 51.4k, False: 0]
  ------------------
  201|  51.4k|    DiagHandler(Diagnostic, DiagContext);
  202|  51.4k|    return;
  203|  51.4k|  }
  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|  51.4k|                             ArrayRef<SMFixIt> FixIts, bool ShowColors) const {
  218|  51.4k|  PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors);
  219|  51.4k|}
_ZNK7llvm_ks9SourceMgr12PrintMessageENS_5SMLocENS0_8DiagKindERKNS_5TwineENS_8ArrayRefINS_7SMRangeEEENS6_INS_7SMFixItEEEb:
  223|  51.4k|                             ArrayRef<SMFixIt> FixIts, bool ShowColors) const {
  224|  51.4k|  PrintMessage(llvm_ks::errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors);
  225|  51.4k|}
_ZN7llvm_ks12SMDiagnosticC2ERKNS_9SourceMgrENS_5SMLocENS_9StringRefEiiNS1_8DiagKindES5_S5_NS_8ArrayRefINSt3__14pairIjjEEEENS7_INS_7SMFixItEEE:
  236|  52.5k|  : SM(&sm), Loc(L), Filename(FN), LineNo(Line), ColumnNo(Col), Kind(Kind),
  237|  52.5k|    Message(Msg), LineContents(LineStr), Ranges(Ranges.vec()),
  238|  52.5k|    FixIts(Hints.begin(), Hints.end()) {
  239|  52.5k|  std::sort(FixIts.begin(), FixIts.end());
  240|  52.5k|}
_ZNK7llvm_ks12SMDiagnostic5printEPKcRNS_11raw_ostreamEbb:
  329|  51.4k|                         bool ShowKindLabel) const {
  330|       |  // Display colors only if OS supports colors.
  331|  51.4k|  ShowColors &= S.has_colors();
  332|       |
  333|  51.4k|  if (ShowColors)
  ------------------
  |  Branch (333:7): [True: 51.4k, False: 0]
  ------------------
  334|  51.4k|    S.changeColor(raw_ostream::SAVEDCOLOR, true);
  335|       |
  336|  51.4k|  if (ProgName && ProgName[0])
  ------------------
  |  Branch (336:7): [True: 0, False: 51.4k]
  |  Branch (336:19): [True: 0, False: 0]
  ------------------
  337|      0|    S << ProgName << ": ";
  338|       |
  339|  51.4k|  if (!Filename.empty()) {
  ------------------
  |  Branch (339:7): [True: 39.0k, False: 12.4k]
  ------------------
  340|  39.0k|    if (Filename == "-")
  ------------------
  |  Branch (340:9): [True: 18, False: 39.0k]
  ------------------
  341|     18|      S << "<stdin>";
  342|  39.0k|    else
  343|  39.0k|      S << Filename;
  344|       |
  345|  39.0k|    if (LineNo != -1) {
  ------------------
  |  Branch (345:9): [True: 39.0k, False: 19]
  ------------------
  346|  39.0k|      S << ':' << LineNo;
  347|  39.0k|      if (ColumnNo != -1)
  ------------------
  |  Branch (347:11): [True: 35.4k, False: 3.57k]
  ------------------
  348|  35.4k|        S << ':' << (ColumnNo+1);
  349|  39.0k|    }
  350|  39.0k|    S << ": ";
  351|  39.0k|  }
  352|       |
  353|  51.4k|  if (ShowKindLabel) {
  ------------------
  |  Branch (353:7): [True: 51.4k, False: 0]
  ------------------
  354|  51.4k|    switch (Kind) {
  ------------------
  |  Branch (354:13): [True: 51.4k, False: 0]
  ------------------
  355|  8.19k|    case SourceMgr::DK_Error:
  ------------------
  |  Branch (355:5): [True: 8.19k, False: 43.3k]
  ------------------
  356|  8.19k|      if (ShowColors)
  ------------------
  |  Branch (356:11): [True: 8.19k, False: 0]
  ------------------
  357|  8.19k|        S.changeColor(raw_ostream::RED, true);
  358|  8.19k|      S << "error: ";
  359|  8.19k|      break;
  360|  8.48k|    case SourceMgr::DK_Warning:
  ------------------
  |  Branch (360:5): [True: 8.48k, False: 43.0k]
  ------------------
  361|  8.48k|      if (ShowColors)
  ------------------
  |  Branch (361:11): [True: 8.48k, False: 0]
  ------------------
  362|  8.48k|        S.changeColor(raw_ostream::MAGENTA, true);
  363|  8.48k|      S << "warning: ";
  364|  8.48k|      break;
  365|  34.8k|    case SourceMgr::DK_Note:
  ------------------
  |  Branch (365:5): [True: 34.8k, False: 16.6k]
  ------------------
  366|  34.8k|      if (ShowColors)
  ------------------
  |  Branch (366:11): [True: 34.8k, False: 0]
  ------------------
  367|  34.8k|        S.changeColor(raw_ostream::BLACK, true);
  368|  34.8k|      S << "note: ";
  369|  34.8k|      break;
  370|  51.4k|    }
  371|       |
  372|  51.4k|    if (ShowColors) {
  ------------------
  |  Branch (372:9): [True: 51.4k, False: 0]
  ------------------
  373|  51.4k|      S.resetColor();
  374|  51.4k|      S.changeColor(raw_ostream::SAVEDCOLOR, true);
  375|  51.4k|    }
  376|  51.4k|  }
  377|       |
  378|  51.4k|  S << Message << '\n';
  379|       |
  380|  51.4k|  if (ShowColors)
  ------------------
  |  Branch (380:7): [True: 51.4k, False: 0]
  ------------------
  381|  51.4k|    S.resetColor();
  382|       |
  383|  51.4k|  if (LineNo == -1 || ColumnNo == -1)
  ------------------
  |  Branch (383:7): [True: 19, False: 51.4k]
  |  Branch (383:23): [True: 3.57k, False: 47.9k]
  ------------------
  384|  3.59k|    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|  47.9k|  if (std::find_if(LineContents.begin(), LineContents.end(), isNonASCII) !=
  ------------------
  |  Branch (391:7): [True: 4.82k, False: 43.0k]
  ------------------
  392|  47.9k|      LineContents.end()) {
  393|  4.82k|    printSourceLine(S, LineContents);
  394|  4.82k|    return;
  395|  4.82k|  }
  396|  43.0k|  size_t NumColumns = LineContents.size();
  397|       |
  398|       |  // Build the line with the caret and ranges.
  399|  43.0k|  std::string CaretLine(NumColumns+1, ' ');
  400|       |  
  401|       |  // Expand any ranges.
  402|  43.1k|  for (unsigned r = 0, e = Ranges.size(); r != e; ++r) {
  ------------------
  |  Branch (402:43): [True: 42, False: 43.0k]
  ------------------
  403|     42|    std::pair<unsigned, unsigned> R = Ranges[r];
  404|     42|    std::fill(&CaretLine[R.first],
  405|     42|              &CaretLine[std::min((size_t)R.second, CaretLine.size())],
  406|     42|              '~');
  407|     42|  }
  408|       |
  409|       |  // Add any fix-its.
  410|       |  // FIXME: Find the beginning of the line properly for multibyte characters.
  411|  43.0k|  std::string FixItInsertionLine;
  412|  43.0k|  buildFixItLine(CaretLine, FixItInsertionLine, FixIts,
  413|  43.0k|                 makeArrayRef(Loc.getPointer() - ColumnNo,
  414|  43.0k|                              LineContents.size()));
  415|       |
  416|       |  // Finally, plop on the caret.
  417|  43.0k|  if (unsigned(ColumnNo) <= NumColumns)
  ------------------
  |  Branch (417:7): [True: 43.0k, False: 0]
  ------------------
  418|  43.0k|    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|  43.0k|  CaretLine.erase(CaretLine.find_last_not_of(' ')+1);
  426|       |  
  427|  43.0k|  printSourceLine(S, LineContents);
  428|       |
  429|  43.0k|  if (ShowColors)
  ------------------
  |  Branch (429:7): [True: 43.0k, False: 0]
  ------------------
  430|  43.0k|    S.changeColor(raw_ostream::GREEN, true);
  431|       |
  432|       |  // Print out the caret line, matching tabs in the source line.
  433|  1.00M|  for (unsigned i = 0, e = CaretLine.size(), OutCol = 0; i != e; ++i) {
  ------------------
  |  Branch (433:58): [True: 960k, False: 43.0k]
  ------------------
  434|   960k|    if (i >= LineContents.size() || LineContents[i] != '\t') {
  ------------------
  |  Branch (434:9): [True: 105, False: 960k]
  |  Branch (434:37): [True: 958k, False: 1.92k]
  ------------------
  435|   958k|      S << CaretLine[i];
  436|   958k|      ++OutCol;
  437|   958k|      continue;
  438|   958k|    }
  439|       |    
  440|       |    // Okay, we have a tab.  Insert the appropriate number of characters.
  441|  12.5k|    do {
  442|  12.5k|      S << CaretLine[i];
  443|  12.5k|      ++OutCol;
  444|  12.5k|    } while ((OutCol % TabStop) != 0);
  ------------------
  |  Branch (444:14): [True: 10.6k, False: 1.92k]
  ------------------
  445|  1.92k|  }
  446|  43.0k|  S << '\n';
  447|       |
  448|  43.0k|  if (ShowColors)
  ------------------
  |  Branch (448:7): [True: 43.0k, False: 0]
  ------------------
  449|  43.0k|    S.resetColor();
  450|       |
  451|       |  // Print out the replacement line, matching tabs in the source line.
  452|  43.0k|  if (FixItInsertionLine.empty())
  ------------------
  |  Branch (452:7): [True: 43.0k, False: 0]
  ------------------
  453|  43.0k|    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|   113k|static LineNoCacheTy *getCache(void *Ptr) {
   34|   113k|  return (LineNoCacheTy*)Ptr;
   35|   113k|}
SourceMgr.cpp:_ZL10isNonASCIIc:
  324|  1.81M|static bool isNonASCII(char c) {
  325|  1.81M|  return c & 0x80;
  326|  1.81M|}
SourceMgr.cpp:_ZL15printSourceLineRN7llvm_ks11raw_ostreamENS_9StringRefE:
  306|  47.9k|static void printSourceLine(raw_ostream &S, StringRef LineContents) {
  307|       |  // Print out the source line one character at a time, so we can expand tabs.
  308|  2.32M|  for (unsigned i = 0, e = LineContents.size(), OutCol = 0; i != e; ++i) {
  ------------------
  |  Branch (308:61): [True: 2.28M, False: 47.9k]
  ------------------
  309|  2.28M|    if (LineContents[i] != '\t') {
  ------------------
  |  Branch (309:9): [True: 2.27M, False: 5.81k]
  ------------------
  310|  2.27M|      S << LineContents[i];
  311|  2.27M|      ++OutCol;
  312|  2.27M|      continue;
  313|  2.27M|    }
  314|       |
  315|       |    // If we have a tab, emit at least one space, then round up to 8 columns.
  316|  29.4k|    do {
  317|  29.4k|      S << ' ';
  318|  29.4k|      ++OutCol;
  319|  29.4k|    } while ((OutCol % TabStop) != 0);
  ------------------
  |  Branch (319:14): [True: 23.6k, False: 5.81k]
  ------------------
  320|  5.81k|  }
  321|  47.9k|  S << '\n';
  322|  47.9k|}
SourceMgr.cpp:_ZL14buildFixItLineRNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEES6_N7llvm_ks8ArrayRefINS7_7SMFixItEEENS8_IcEE:
  243|  43.0k|                           ArrayRef<SMFixIt> FixIts, ArrayRef<char> SourceLine){
  244|  43.0k|  if (FixIts.empty())
  ------------------
  |  Branch (244:7): [True: 43.0k, False: 0]
  ------------------
  245|  43.0k|    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|  68.2k|void StringMapImpl::init(unsigned InitSize) {
   37|  68.2k|  assert((InitSize & (InitSize-1)) == 0 &&
  ------------------
  |  Branch (37:3): [True: 68.2k, False: 0]
  |  Branch (37:3): [True: 68.2k, Folded]
  |  Branch (37:3): [True: 68.2k, False: 0]
  ------------------
   38|  68.2k|         "Init Size must be a power of 2 or zero!");
   39|  68.2k|  NumBuckets = InitSize ? InitSize : 16;
  ------------------
  |  Branch (39:16): [True: 68.2k, False: 0]
  ------------------
   40|  68.2k|  NumItems = 0;
   41|  68.2k|  NumTombstones = 0;
   42|       |  
   43|  68.2k|  TheTable = (StringMapEntryBase **)calloc(NumBuckets+1,
   44|  68.2k|                                           sizeof(StringMapEntryBase **) +
   45|  68.2k|                                           sizeof(unsigned));
   46|       |
   47|       |  // Allocate one extra bucket, set it to look filled so the iterators stop at
   48|       |  // end.
   49|  68.2k|  TheTable[NumBuckets] = (StringMapEntryBase*)2;
   50|  68.2k|}
_ZN7llvm_ks13StringMapImpl15LookupBucketForENS_9StringRefE:
   58|  3.29M|unsigned StringMapImpl::LookupBucketFor(StringRef Name) {
   59|  3.29M|  unsigned HTSize = NumBuckets;
   60|  3.29M|  if (HTSize == 0) {  // Hash table unallocated so far?
  ------------------
  |  Branch (60:7): [True: 68.2k, False: 3.22M]
  ------------------
   61|  68.2k|    init(16);
   62|  68.2k|    HTSize = NumBuckets;
   63|  68.2k|  }
   64|  3.29M|  unsigned FullHashValue = HashString(Name);
   65|  3.29M|  unsigned BucketNo = FullHashValue & (HTSize-1);
   66|  3.29M|  unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1);
   67|       |
   68|  3.29M|  unsigned ProbeAmt = 1;
   69|  3.29M|  int FirstTombstone = -1;
   70|  7.75M|  while (1) {
  ------------------
  |  Branch (70:10): [True: 7.75M, Folded]
  ------------------
   71|  7.75M|    StringMapEntryBase *BucketItem = TheTable[BucketNo];
   72|       |    // If we found an empty bucket, this key isn't in the table yet, return it.
   73|  7.75M|    if (LLVM_LIKELY(!BucketItem)) {
  ------------------
  |  |  171|  7.75M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 2.93M, False: 4.81M]
  |  |  ------------------
  ------------------
   74|       |      // If we found a tombstone, we want to reuse the tombstone instead of an
   75|       |      // empty bucket.  This reduces probing.
   76|  2.93M|      if (FirstTombstone != -1) {
  ------------------
  |  Branch (76:11): [True: 0, False: 2.93M]
  ------------------
   77|      0|        HashTable[FirstTombstone] = FullHashValue;
   78|      0|        return FirstTombstone;
   79|      0|      }
   80|       |      
   81|  2.93M|      HashTable[BucketNo] = FullHashValue;
   82|  2.93M|      return BucketNo;
   83|  2.93M|    }
   84|       |    
   85|  4.81M|    if (BucketItem == getTombstoneVal()) {
  ------------------
  |  Branch (85:9): [True: 0, False: 4.81M]
  ------------------
   86|       |      // Skip over tombstones.  However, remember the first one we see.
   87|      0|      if (FirstTombstone == -1) FirstTombstone = BucketNo;
  ------------------
  |  Branch (87:11): [True: 0, False: 0]
  ------------------
   88|  4.81M|    } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) {
  ------------------
  |  |  171|  4.81M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 356k, False: 4.46M]
  |  |  ------------------
  ------------------
   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|   356k|      char *ItemStr = (char*)BucketItem+ItemSize;
   97|   356k|      if (Name == StringRef(ItemStr, BucketItem->getKeyLength())) {
  ------------------
  |  Branch (97:11): [True: 356k, False: 229]
  ------------------
   98|       |        // We found a match!
   99|   356k|        return BucketNo;
  100|   356k|      }
  101|   356k|    }
  102|       |    
  103|       |    // Okay, we didn't find the item.  Probe to the next bucket.
  104|  4.46M|    BucketNo = (BucketNo+ProbeAmt) & (HTSize-1);
  105|       |    
  106|       |    // Use quadratic probing, it has fewer clumping artifacts than linear
  107|       |    // probing and has good cache behavior in the common case.
  108|  4.46M|    ++ProbeAmt;
  109|  4.46M|  }
  110|  3.29M|}
_ZNK7llvm_ks13StringMapImpl7FindKeyENS_9StringRefE:
  116|  4.47M|int StringMapImpl::FindKey(StringRef Key) const {
  117|  4.47M|  unsigned HTSize = NumBuckets;
  118|  4.47M|  if (HTSize == 0) return -1;  // Really empty table?
  ------------------
  |  Branch (118:7): [True: 1.24M, False: 3.22M]
  ------------------
  119|  3.22M|  unsigned FullHashValue = HashString(Key);
  120|  3.22M|  unsigned BucketNo = FullHashValue & (HTSize-1);
  121|  3.22M|  unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1);
  122|       |
  123|  3.22M|  unsigned ProbeAmt = 1;
  124|  5.93M|  while (1) {
  ------------------
  |  Branch (124:10): [True: 5.93M, Folded]
  ------------------
  125|  5.93M|    StringMapEntryBase *BucketItem = TheTable[BucketNo];
  126|       |    // If we found an empty bucket, this key isn't in the table yet, return.
  127|  5.93M|    if (LLVM_LIKELY(!BucketItem))
  ------------------
  |  |  171|  5.93M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 2.71M, False: 3.21M]
  |  |  ------------------
  ------------------
  128|  2.71M|      return -1;
  129|       |    
  130|  3.21M|    if (BucketItem == getTombstoneVal()) {
  ------------------
  |  Branch (130:9): [True: 0, False: 3.21M]
  ------------------
  131|       |      // Ignore tombstones.
  132|  3.21M|    } else if (LLVM_LIKELY(HashTable[BucketNo] == FullHashValue)) {
  ------------------
  |  |  171|  3.21M|#define LLVM_LIKELY(EXPR) __builtin_expect((bool)(EXPR), true)
  |  |  ------------------
  |  |  |  Branch (171:27): [True: 512k, False: 2.70M]
  |  |  ------------------
  ------------------
  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|   512k|      char *ItemStr = (char*)BucketItem+ItemSize;
  141|   512k|      if (Key == StringRef(ItemStr, BucketItem->getKeyLength())) {
  ------------------
  |  Branch (141:11): [True: 511k, False: 257]
  ------------------
  142|       |        // We found a match!
  143|   511k|        return BucketNo;
  144|   511k|      }
  145|   512k|    }
  146|       |    
  147|       |    // Okay, we didn't find the item.  Probe to the next bucket.
  148|  2.70M|    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|  2.70M|    ++ProbeAmt;
  153|  2.70M|  }
  154|  3.22M|}
_ZN7llvm_ks13StringMapImpl11RehashTableEj:
  184|  2.93M|unsigned StringMapImpl::RehashTable(unsigned BucketNo) {
  185|  2.93M|  unsigned NewSize;
  186|  2.93M|  unsigned *HashTable = (unsigned *)(TheTable + NumBuckets + 1);
  187|       |
  188|       |  // If the hash table is now more than 3/4 full, or if fewer than 1/8 of
  189|       |  // the buckets are empty (meaning that many are filled with tombstones),
  190|       |  // grow/rehash the table.
  191|  2.93M|  if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) {
  ------------------
  |  |  172|  2.93M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 98.6k, False: 2.84M]
  |  |  ------------------
  ------------------
  192|  98.6k|    NewSize = NumBuckets*2;
  193|  2.84M|  } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <=
  ------------------
  |  |  172|  2.84M|#define LLVM_UNLIKELY(EXPR) __builtin_expect((bool)(EXPR), false)
  |  |  ------------------
  |  |  |  Branch (172:29): [True: 0, False: 2.84M]
  |  |  ------------------
  ------------------
  194|  2.84M|                           NumBuckets / 8)) {
  195|      0|    NewSize = NumBuckets;
  196|  2.84M|  } else {
  197|  2.84M|    return BucketNo;
  198|  2.84M|  }
  199|       |
  200|  98.6k|  unsigned NewBucketNo = BucketNo;
  201|       |  // Allocate one extra bucket which will always be non-empty.  This allows the
  202|       |  // iterators to stop at end.
  203|  98.6k|  StringMapEntryBase **NewTableArray =
  204|  98.6k|    (StringMapEntryBase **)calloc(NewSize+1, sizeof(StringMapEntryBase *) +
  205|  98.6k|                                             sizeof(unsigned));
  206|  98.6k|  unsigned *NewHashArray = (unsigned *)(NewTableArray + NewSize + 1);
  207|  98.6k|  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|  5.06M|  for (unsigned I = 0, E = NumBuckets; I != E; ++I) {
  ------------------
  |  Branch (211:40): [True: 4.96M, False: 98.6k]
  ------------------
  212|  4.96M|    StringMapEntryBase *Bucket = TheTable[I];
  213|  4.96M|    if (Bucket && Bucket != getTombstoneVal()) {
  ------------------
  |  Branch (213:9): [True: 3.82M, False: 1.14M]
  |  Branch (213:19): [True: 3.82M, False: 0]
  ------------------
  214|       |      // Fast case, bucket available.
  215|  3.82M|      unsigned FullHash = HashTable[I];
  216|  3.82M|      unsigned NewBucket = FullHash & (NewSize-1);
  217|  3.82M|      if (!NewTableArray[NewBucket]) {
  ------------------
  |  Branch (217:11): [True: 2.98M, False: 835k]
  ------------------
  218|  2.98M|        NewTableArray[FullHash & (NewSize-1)] = Bucket;
  219|  2.98M|        NewHashArray[FullHash & (NewSize-1)] = FullHash;
  220|  2.98M|        if (I == BucketNo)
  ------------------
  |  Branch (220:13): [True: 84.3k, False: 2.90M]
  ------------------
  221|  84.3k|          NewBucketNo = NewBucket;
  222|  2.98M|        continue;
  223|  2.98M|      }
  224|       |      
  225|       |      // Otherwise probe for a spot.
  226|   835k|      unsigned ProbeSize = 1;
  227|  1.21M|      do {
  228|  1.21M|        NewBucket = (NewBucket + ProbeSize++) & (NewSize-1);
  229|  1.21M|      } while (NewTableArray[NewBucket]);
  ------------------
  |  Branch (229:16): [True: 384k, False: 835k]
  ------------------
  230|       |      
  231|       |      // Finally found a slot.  Fill it in.
  232|   835k|      NewTableArray[NewBucket] = Bucket;
  233|   835k|      NewHashArray[NewBucket] = FullHash;
  234|   835k|      if (I == BucketNo)
  ------------------
  |  Branch (234:11): [True: 14.3k, False: 820k]
  ------------------
  235|  14.3k|        NewBucketNo = NewBucket;
  236|   835k|    }
  237|  4.96M|  }
  238|       |  
  239|  98.6k|  free(TheTable);
  240|       |  
  241|  98.6k|  TheTable = NewTableArray;
  242|  98.6k|  NumBuckets = NewSize;
  243|  98.6k|  NumTombstones = 0;
  244|  98.6k|  return NewBucketNo;
  245|  2.93M|}

_ZNK7llvm_ks9StringRef13compare_lowerES0_:
   52|  33.3k|int StringRef::compare_lower(StringRef RHS) const {
   53|  33.3k|  if (int Res = ascii_strncasecmp(Data, RHS.Data, std::min(Length, RHS.Length)))
  ------------------
  |  Branch (53:11): [True: 28.7k, False: 4.62k]
  ------------------
   54|  28.7k|    return Res;
   55|  4.62k|  if (Length == RHS.Length)
  ------------------
  |  Branch (55:7): [True: 4.21k, False: 410]
  ------------------
   56|  4.21k|    return 0;
   57|    410|  return Length < RHS.Length ? -1 : 1;
  ------------------
  |  Branch (57:10): [True: 395, False: 15]
  ------------------
   58|  4.62k|}
_ZNK7llvm_ks9StringRef5lowerEv:
  117|  2.08M|std::string StringRef::lower() const {
  118|  2.08M|  std::string Result(size(), char());
  119|  28.9M|  for (size_type i = 0, e = size(); i != e; ++i) {
  ------------------
  |  Branch (119:37): [True: 26.9M, False: 2.08M]
  ------------------
  120|  26.9M|    Result[i] = ascii_tolower(Data[i]);
  121|  26.9M|  }
  122|  2.08M|  return Result;
  123|  2.08M|}
_ZNK7llvm_ks9StringRef17find_first_not_ofES0_m:
  231|  83.2k|                                                  size_t From) const {
  232|  83.2k|  std::bitset<1 << CHAR_BIT> CharBits;
  233|   582k|  for (size_type i = 0; i != Chars.size(); ++i)
  ------------------
  |  Branch (233:25): [True: 499k, False: 83.2k]
  ------------------
  234|   499k|    CharBits.set((unsigned char)Chars[i]);
  235|       |
  236|  84.2k|  for (size_type i = std::min(From, Length), e = Length; i != e; ++i)
  ------------------
  |  Branch (236:58): [True: 67.2k, False: 16.9k]
  ------------------
  237|  67.2k|    if (!CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (237:9): [True: 66.2k, False: 985]
  ------------------
  238|  66.2k|      return i;
  239|  16.9k|  return npos;
  240|  83.2k|}
_ZNK7llvm_ks9StringRef12find_last_ofES0_m:
  247|  49.9k|                                             size_t From) const {
  248|  49.9k|  std::bitset<1 << CHAR_BIT> CharBits;
  249|   149k|  for (size_type i = 0; i != Chars.size(); ++i)
  ------------------
  |  Branch (249:25): [True: 99.9k, False: 49.9k]
  ------------------
  250|  99.9k|    CharBits.set((unsigned char)Chars[i]);
  251|       |
  252|  1.16M|  for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
  ------------------
  |  Branch (252:58): [True: 1.12M, False: 37.1k]
  ------------------
  253|  1.12M|    if (CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (253:9): [True: 12.7k, False: 1.11M]
  ------------------
  254|  12.7k|      return i;
  255|  37.1k|  return npos;
  256|  49.9k|}
_ZNK7llvm_ks9StringRef16find_last_not_ofES0_m:
  272|  83.2k|                                                 size_t From) const {
  273|  83.2k|  std::bitset<1 << CHAR_BIT> CharBits;
  274|   582k|  for (size_type i = 0, e = Chars.size(); i != e; ++i)
  ------------------
  |  Branch (274:43): [True: 499k, False: 83.2k]
  ------------------
  275|   499k|    CharBits.set((unsigned char)Chars[i]);
  276|       |
  277|  83.5k|  for (size_type i = std::min(From, Length) - 1, e = -1; i != e; --i)
  ------------------
  |  Branch (277:58): [True: 66.5k, False: 16.9k]
  ------------------
  278|  66.5k|    if (!CharBits.test((unsigned char)Data[i]))
  ------------------
  |  Branch (278:9): [True: 66.2k, False: 280]
  ------------------
  279|  66.2k|      return i;
  280|  16.9k|  return npos;
  281|  83.2k|}
_ZNK7llvm_ks9StringRef5splitERNS_15SmallVectorImplIS0_EEcib:
  311|   160k|                      int MaxSplit, bool KeepEmpty) const {
  312|   160k|  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|   207k|  while (MaxSplit-- != 0) {
  ------------------
  |  Branch (318:10): [True: 207k, False: 0]
  ------------------
  319|   207k|    size_t Idx = S.find(Separator);
  320|   207k|    if (Idx == npos)
  ------------------
  |  Branch (320:9): [True: 160k, False: 47.3k]
  ------------------
  321|   160k|      break;
  322|       |
  323|       |    // Push this split.
  324|  47.3k|    if (KeepEmpty || Idx > 0)
  ------------------
  |  Branch (324:9): [True: 46.9k, False: 346]
  |  Branch (324:22): [True: 245, False: 101]
  ------------------
  325|  47.2k|      A.push_back(S.slice(0, Idx));
  326|       |
  327|       |    // Jump forward.
  328|  47.3k|    S = S.slice(Idx + 1, npos);
  329|  47.3k|  }
  330|       |
  331|       |  // Push the tail.
  332|   160k|  if (KeepEmpty || !S.empty())
  ------------------
  |  Branch (332:7): [True: 146k, False: 13.4k]
  |  Branch (332:20): [True: 13, False: 13.4k]
  ------------------
  333|   146k|    A.push_back(S);
  334|   160k|}
_ZN7llvm_ks20getAsUnsignedIntegerENS_9StringRefEjRy:
  379|  3.42k|                                unsigned long long &Result) {
  380|       |  // Autosense radix if not specified.
  381|  3.42k|  if (Radix == 0)
  ------------------
  |  Branch (381:7): [True: 0, False: 3.42k]
  ------------------
  382|      0|    Radix = GetAutoSenseRadix(Str);
  383|       |
  384|       |  // Empty strings (after the radix autosense) are invalid.
  385|  3.42k|  if (Str.empty()) return true;
  ------------------
  |  Branch (385:7): [True: 155, False: 3.27k]
  ------------------
  386|       |
  387|       |  // Parse all the bytes of the string given this radix.  Watch for overflow.
  388|  3.27k|  Result = 0;
  389|  15.3k|  while (!Str.empty()) {
  ------------------
  |  Branch (389:10): [True: 14.0k, False: 1.30k]
  ------------------
  390|  14.0k|    unsigned CharVal;
  391|  14.0k|    if (Str[0] >= '0' && Str[0] <= '9')
  ------------------
  |  Branch (391:9): [True: 13.7k, False: 284]
  |  Branch (391:26): [True: 12.1k, False: 1.58k]
  ------------------
  392|  12.1k|      CharVal = Str[0]-'0';
  393|  1.86k|    else if (Str[0] >= 'a' && Str[0] <= 'z')
  ------------------
  |  Branch (393:14): [True: 682, False: 1.18k]
  |  Branch (393:31): [True: 682, False: 0]
  ------------------
  394|    682|      CharVal = Str[0]-'a'+10;
  395|  1.18k|    else if (Str[0] >= 'A' && Str[0] <= 'Z')
  ------------------
  |  Branch (395:14): [True: 890, False: 297]
  |  Branch (395:31): [True: 887, False: 3]
  ------------------
  396|    887|      CharVal = Str[0]-'A'+10;
  397|    300|    else
  398|    300|      return true;
  399|       |
  400|       |    // If the parsed value is larger than the integer radix, the string is
  401|       |    // invalid.
  402|  13.7k|    if (CharVal >= Radix)
  ------------------
  |  Branch (402:9): [True: 1.56k, False: 12.1k]
  ------------------
  403|  1.56k|      return true;
  404|       |
  405|       |    // Add in this character.
  406|  12.1k|    unsigned long long PrevResult = Result;
  407|  12.1k|    Result = Result*Radix+CharVal;
  408|       |
  409|       |    // Check for overflow by shifting back and seeing if bits were lost.
  410|  12.1k|    if (Result/Radix < PrevResult)
  ------------------
  |  Branch (410:9): [True: 103, False: 12.0k]
  ------------------
  411|    103|      return true;
  412|       |
  413|  12.0k|    Str = Str.substr(1);
  414|  12.0k|  }
  415|       |
  416|  1.30k|  return false;
  417|  3.27k|}
_ZN7llvm_ks18getAsSignedIntegerENS_9StringRefEjRx:
  420|  3.42k|                              long long &Result) {
  421|  3.42k|  unsigned long long ULLVal;
  422|       |
  423|       |  // Handle positive strings first.
  424|  3.42k|  if (Str.empty() || Str.front() != '-') {
  ------------------
  |  Branch (424:7): [True: 155, False: 3.27k]
  |  Branch (424:22): [True: 3.27k, False: 0]
  ------------------
  425|  3.42k|    if (getAsUnsignedInteger(Str, Radix, ULLVal) ||
  ------------------
  |  Branch (425:9): [True: 2.12k, False: 1.30k]
  ------------------
  426|       |        // Check for value so large it overflows a signed value.
  427|  1.30k|        (long long)ULLVal < 0)
  ------------------
  |  Branch (427:9): [True: 3, False: 1.29k]
  ------------------
  428|  2.13k|      return true;
  429|  1.29k|    Result = ULLVal;
  430|  1.29k|    return false;
  431|  3.42k|  }
  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|   653k|bool StringRef::getAsInteger(unsigned Radix, APInt &Result) const {
  446|   653k|  StringRef Str = *this;
  447|       |
  448|       |  // Autosense radix if not specified.
  449|   653k|  if (Radix == 0)
  ------------------
  |  Branch (449:7): [True: 3.85k, False: 649k]
  ------------------
  450|  3.85k|    Radix = GetAutoSenseRadix(Str);
  451|       |
  452|   653k|  assert(Radix > 1 && Radix <= 36);
  ------------------
  |  Branch (452:3): [True: 653k, False: 0]
  |  Branch (452:3): [True: 653k, False: 0]
  |  Branch (452:3): [True: 653k, False: 0]
  ------------------
  453|       |
  454|       |  // Empty strings (after the radix autosense) are invalid.
  455|   653k|  if (Str.empty()) return true;
  ------------------
  |  Branch (455:7): [True: 0, False: 653k]
  ------------------
  456|       |
  457|       |  // Skip leading zeroes.  This can be a significant improvement if
  458|       |  // it means we don't need > 64 bits.
  459|   741k|  while (!Str.empty() && Str.front() == '0')
  ------------------
  |  Branch (459:10): [True: 697k, False: 43.6k]
  |  Branch (459:26): [True: 88.4k, False: 609k]
  ------------------
  460|  88.4k|    Str = Str.substr(1);
  461|       |
  462|       |  // If it was nothing but zeroes....
  463|   653k|  if (Str.empty()) {
  ------------------
  |  Branch (463:7): [True: 43.6k, False: 609k]
  ------------------
  464|  43.6k|    Result = APInt(64, 0);
  465|  43.6k|    return false;
  466|  43.6k|  }
  467|       |
  468|       |  // (Over-)estimate the required number of bits.
  469|   609k|  unsigned Log2Radix = 0;
  470|  3.03M|  while ((1U << Log2Radix) < Radix) Log2Radix++;
  ------------------
  |  Branch (470:10): [True: 2.42M, False: 609k]
  ------------------
  471|   609k|  bool IsPowerOf2Radix = ((1U << Log2Radix) == Radix);
  472|       |
  473|   609k|  unsigned BitWidth = Log2Radix * Str.size();
  474|   609k|  if (BitWidth < Result.getBitWidth())
  ------------------
  |  Branch (474:7): [True: 605k, False: 3.43k]
  ------------------
  475|   605k|    BitWidth = Result.getBitWidth(); // don't shrink the result
  476|  3.43k|  else if (BitWidth > Result.getBitWidth())
  ------------------
  |  Branch (476:12): [True: 3.16k, False: 276]
  ------------------
  477|  3.16k|    Result = Result.zext(BitWidth);
  478|       |
  479|   609k|  APInt RadixAP, CharAP; // unused unless !IsPowerOf2Radix
  480|   609k|  if (!IsPowerOf2Radix) {
  ------------------
  |  Branch (480:7): [True: 0, False: 609k]
  ------------------
  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|   609k|  Result = 0;
  488|  2.29M|  while (!Str.empty()) {
  ------------------
  |  Branch (488:10): [True: 1.69M, False: 607k]
  ------------------
  489|  1.69M|    unsigned CharVal;
  490|  1.69M|    if (Str[0] >= '0' && Str[0] <= '9')
  ------------------
  |  Branch (490:9): [True: 1.69M, False: 0]
  |  Branch (490:26): [True: 1.65M, False: 33.6k]
  ------------------
  491|  1.65M|      CharVal = Str[0]-'0';
  492|  33.6k|    else if (Str[0] >= 'a' && Str[0] <= 'z')
  ------------------
  |  Branch (492:14): [True: 25.4k, False: 8.20k]
  |  Branch (492:31): [True: 25.4k, False: 0]
  ------------------
  493|  25.4k|      CharVal = Str[0]-'a'+10;
  494|  8.20k|    else if (Str[0] >= 'A' && Str[0] <= 'Z')
  ------------------
  |  Branch (494:14): [True: 8.20k, False: 0]
  |  Branch (494:31): [True: 8.20k, False: 0]
  ------------------
  495|  8.20k|      CharVal = Str[0]-'A'+10;
  496|      0|    else
  497|      0|      return true;
  498|       |
  499|       |    // If the parsed value is larger than the integer radix, the string is
  500|       |    // invalid.
  501|  1.69M|    if (CharVal >= Radix)
  ------------------
  |  Branch (501:9): [True: 1.93k, False: 1.68M]
  ------------------
  502|  1.93k|      return true;
  503|       |
  504|       |    // Add in this character.
  505|  1.68M|    if (IsPowerOf2Radix) {
  ------------------
  |  Branch (505:9): [True: 1.68M, False: 0]
  ------------------
  506|  1.68M|      Result <<= Log2Radix;
  507|  1.68M|      Result |= CharVal;
  508|  1.68M|    } else {
  509|      0|      Result *= RadixAP;
  510|      0|      CharAP = CharVal;
  511|      0|      Result += CharAP;
  512|      0|    }
  513|       |
  514|  1.68M|    Str = Str.substr(1);
  515|  1.68M|  }
  516|       |
  517|   607k|  return false;
  518|   609k|}
_ZN7llvm_ks10hash_valueENS_9StringRefE:
  522|  12.6k|hash_code llvm_ks::hash_value(StringRef S) {
  523|  12.6k|  return hash_combine_range(S.begin(), S.end());
  524|  12.6k|}
StringRef.cpp:_ZL17ascii_strncasecmpPKcS0_m:
   41|  33.3k|static int ascii_strncasecmp(const char *LHS, const char *RHS, size_t Length) {
   42|  41.1k|  for (size_t I = 0; I < Length; ++I) {
  ------------------
  |  Branch (42:22): [True: 36.5k, False: 4.62k]
  ------------------
   43|  36.5k|    unsigned char LHC = ascii_tolower(LHS[I]);
   44|  36.5k|    unsigned char RHC = ascii_tolower(RHS[I]);
   45|  36.5k|    if (LHC != RHC)
  ------------------
  |  Branch (45:9): [True: 28.7k, False: 7.83k]
  ------------------
   46|  28.7k|      return LHC < RHC ? -1 : 1;
  ------------------
  |  Branch (46:14): [True: 11.3k, False: 17.3k]
  ------------------
   47|  36.5k|  }
   48|  4.62k|  return 0;
   49|  33.3k|}
StringRef.cpp:_ZL13ascii_tolowerc:
   23|  26.9M|static char ascii_tolower(char x) {
   24|  26.9M|  if (x >= 'A' && x <= 'Z')
  ------------------
  |  Branch (24:7): [True: 24.0M, False: 2.97M]
  |  Branch (24:19): [True: 9.38M, False: 14.6M]
  ------------------
   25|  9.38M|    return x - 'A' + 'a';
   26|  17.5M|  return x;
   27|  26.9M|}
StringRef.cpp:_ZL17GetAutoSenseRadixRN7llvm_ks9StringRefE:
  353|  3.85k|static unsigned GetAutoSenseRadix(StringRef &Str) {
  354|  3.85k|  if (Str.startswith("0x") || Str.startswith("0X")) {
  ------------------
  |  Branch (354:7): [True: 3.22k, False: 630]
  |  Branch (354:7): [True: 3.85k, False: 0]
  |  Branch (354:31): [True: 630, False: 0]
  ------------------
  355|  3.85k|    Str = Str.substr(2);
  356|  3.85k|    return 16;
  357|  3.85k|  }
  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|   242k|StringRef llvm_ks::ARM::getCanonicalArchName(StringRef Arch) {
  424|   242k|  size_t offset = StringRef::npos;
  425|   242k|  StringRef A = Arch;
  426|   242k|  StringRef Error = "";
  427|       |
  428|       |  // Begins with "arm" / "thumb", move past it.
  429|   242k|  if (A.startswith("arm64"))
  ------------------
  |  Branch (429:7): [True: 0, False: 242k]
  ------------------
  430|      0|    offset = 5;
  431|   242k|  else if (A.startswith("arm"))
  ------------------
  |  Branch (431:12): [True: 0, False: 242k]
  ------------------
  432|      0|    offset = 3;
  433|   242k|  else if (A.startswith("thumb"))
  ------------------
  |  Branch (433:12): [True: 0, False: 242k]
  ------------------
  434|      0|    offset = 5;
  435|   242k|  else if (A.startswith("aarch64")) {
  ------------------
  |  Branch (435:12): [True: 0, False: 242k]
  ------------------
  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|   242k|  if (offset != StringRef::npos && A.substr(offset, 2) == "eb")
  ------------------
  |  Branch (445:7): [True: 0, False: 242k]
  |  Branch (445:7): [True: 0, False: 242k]
  |  Branch (445:36): [True: 0, False: 0]
  ------------------
  446|      0|    offset += 2;
  447|       |  // Or, if it ends with eb ("armv7eb"), chop it off.
  448|   242k|  else if (A.endswith("eb"))
  ------------------
  |  Branch (448:12): [True: 0, False: 242k]
  ------------------
  449|      0|    A = A.substr(0, A.size() - 2);
  450|       |  // Trim the head
  451|   242k|  if (offset != StringRef::npos)
  ------------------
  |  Branch (451:7): [True: 0, False: 242k]
  ------------------
  452|      0|    A = A.substr(offset);
  453|       |
  454|       |  // Empty string means offset reached the end, which means it's valid.
  455|   242k|  if (A.empty())
  ------------------
  |  Branch (455:7): [True: 0, False: 242k]
  ------------------
  456|      0|    return Arch;
  457|       |
  458|       |  // Only match non-marketing names
  459|   242k|  if (offset != StringRef::npos) {
  ------------------
  |  Branch (459:7): [True: 0, False: 242k]
  ------------------
  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|   242k|  return A;
  470|   242k|}
_ZN7llvm_ks3ARM9parseArchENS_9StringRefE:
  491|   121k|unsigned llvm_ks::ARM::parseArch(StringRef Arch) {
  492|   121k|  Arch = getCanonicalArchName(Arch);
  493|   121k|  StringRef Syn = getArchSynonym(Arch);
  494|  3.51M|  for (const auto A : ARCHNames) {
  ------------------
  |  Branch (494:21): [True: 3.51M, False: 121k]
  ------------------
  495|  3.51M|    if (A.getName().endswith(Syn))
  ------------------
  |  Branch (495:9): [True: 0, False: 3.51M]
  ------------------
  496|      0|      return A.ID;
  497|  3.51M|  }
  498|   121k|  return ARM::AK_INVALID;
  499|   121k|}
TargetParser.cpp:_ZNK12_GLOBAL__N_13$_17getNameEv:
   66|  3.51M|  StringRef getName() const { return StringRef(NameCStr, NameLength); }
TargetParser.cpp:_ZL14getArchSynonymN7llvm_ks9StringRefE:
  399|   121k|static StringRef getArchSynonym(StringRef Arch) {
  400|   121k|  return StringSwitch<StringRef>(Arch)
  401|   121k|      .Case("v5", "v5t")
  402|   121k|      .Case("v5e", "v5te")
  403|   121k|      .Case("v6j", "v6")
  404|   121k|      .Case("v6hl", "v6k")
  405|   121k|      .Cases("v6m", "v6sm", "v6s-m", "v6-m")
  406|   121k|      .Cases("v6z", "v6zk", "v6kz")
  407|   121k|      .Cases("v7", "v7a", "v7hl", "v7l", "v7-a")
  408|   121k|      .Case("v7r", "v7-r")
  409|   121k|      .Case("v7m", "v7-m")
  410|   121k|      .Case("v7em", "v7e-m")
  411|   121k|      .Cases("v8", "v8a", "aarch64", "arm64", "v8-a")
  412|   121k|      .Case("v8.1a", "v8.1-a")
  413|   121k|      .Case("v8.2a", "v8.2-a")
  414|   121k|      .Case("v8m.base", "v8-m.base")
  415|   121k|      .Case("v8m.main", "v8-m.main")
  416|   121k|      .Default(Arch);
  417|   121k|}

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

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

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

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

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

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

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

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

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

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

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

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

LLVMInitializeSparcTargetMC:
   83|      1|extern "C" void LLVMInitializeSparcTargetMC() {
   84|       |  // Register the MC asm info.
   85|      1|  RegisterMCAsmInfoFn X(TheSparcTarget, createSparcMCAsmInfo);
   86|      1|  RegisterMCAsmInfoFn Y(TheSparcV9Target, createSparcV9MCAsmInfo);
   87|      1|  RegisterMCAsmInfoFn Z(TheSparcelTarget, createSparcMCAsmInfo);
   88|       |
   89|      3|  for (Target *T : {&TheSparcTarget, &TheSparcV9Target, &TheSparcelTarget}) {
  ------------------
  |  Branch (89:18): [True: 3, False: 1]
  ------------------
   90|       |    // Register the MC instruction info.
   91|      3|    TargetRegistry::RegisterMCInstrInfo(*T, createSparcMCInstrInfo);
   92|       |
   93|       |    // Register the MC register info.
   94|      3|    TargetRegistry::RegisterMCRegInfo(*T, createSparcMCRegisterInfo);
   95|       |
   96|       |    // Register the MC subtarget info.
   97|      3|    TargetRegistry::RegisterMCSubtargetInfo(*T, createSparcMCSubtargetInfo);
   98|       |
   99|       |    // Register the MC Code Emitter.
  100|      3|    TargetRegistry::RegisterMCCodeEmitter(*T, createSparcMCCodeEmitter);
  101|       |
  102|       |    // Register the asm backend.
  103|      3|    TargetRegistry::RegisterMCAsmBackend(*T, createSparcAsmBackend);
  104|      3|  }
  105|      1|}
SparcMCTargetDesc.cpp:_ZL20createSparcMCAsmInfoRKN7llvm_ks14MCRegisterInfoERKNS_6TripleE:
   36|  13.4k|                                       const Triple &TT) {
   37|  13.4k|  MCAsmInfo *MAI = new SparcELFMCAsmInfo(TT);
   38|  13.4k|  unsigned Reg = MRI.getDwarfRegNum(SP::O6, true);
   39|  13.4k|  MCCFIInstruction Inst = MCCFIInstruction::createDefCfa(nullptr, Reg, 0);
   40|  13.4k|  MAI->addInitialFrameState(Inst);
   41|  13.4k|  return MAI;
   42|  13.4k|}
SparcMCTargetDesc.cpp:_ZL22createSparcMCInstrInfov:
   53|  13.4k|static MCInstrInfo *createSparcMCInstrInfo() {
   54|  13.4k|  MCInstrInfo *X = new MCInstrInfo();
   55|  13.4k|  InitSparcMCInstrInfo(X);
   56|  13.4k|  return X;
   57|  13.4k|}
SparcMCTargetDesc.cpp:_ZL25createSparcMCRegisterInfoRKN7llvm_ks6TripleE:
   59|  13.4k|static MCRegisterInfo *createSparcMCRegisterInfo(const Triple &TT) {
   60|  13.4k|  MCRegisterInfo *X = new MCRegisterInfo();
   61|  13.4k|  InitSparcMCRegisterInfo(X, SP::O7);
   62|  13.4k|  return X;
   63|  13.4k|}
SparcMCTargetDesc.cpp:_ZL26createSparcMCSubtargetInfoRKN7llvm_ks6TripleENS_9StringRefES3_:
   66|  13.4k|createSparcMCSubtargetInfo(const Triple &TT, StringRef CPU, StringRef FS) {
   67|  13.4k|  if (CPU.empty())
  ------------------
  |  Branch (67:7): [True: 13.4k, False: 0]
  ------------------
   68|  13.4k|    CPU = (TT.getArch() == Triple::sparcv9) ? "v9" : "v8";
  ------------------
  |  Branch (68:11): [True: 0, False: 13.4k]
  ------------------
   69|  13.4k|  return createSparcMCSubtargetInfoImpl(TT, CPU, FS);
   70|  13.4k|}

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

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

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

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

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

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

